Chapter 4
Chapter 4
Making Connections
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Interfacing a Computer to
Peripheral Devices
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Characteristics of Interface Standards
• There are essentially two types of standards
– Official standards
• Created by standards-making organizations such as ITU
(International Telecommunications Union), IEEE (Institute for
Electrical and Electronics Engineers), (now defunct) EIA
(Electronic Industries Association), ISO (International
Organization for Standardization), and ANSI (American National
Standards Institute)
– De facto standards
• Created by other groups that are not official standards but
because of their widespread use, become “almost” standards
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Characteristics of Interface
Standards (continued)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Two Important Interface Standards
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
An Early Standard: EIA-232F
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
An Early Standard: EIA-232F
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
What is meant by duplexity?
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Universal Serial Bus (USB)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Universal Serial Bus (USB) (continued)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Universal Serial Bus (USB) (continued)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Universal Serial Bus (USB) (continued)
• The functional and procedural components are
fairly complex but are based on the polled bus
• The computer takes turns asking each
peripheral if it has anything to send
• More on polling near the end of this chapter
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
FireWire
• Low-cost digital interface
• Capable of supporting transfer speeds of up to
800 Mbps
• Hot pluggable
• Supports two types of data connections:
– Asynchronous connection
– Isochronous connection
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Thunderbolt
• Digital interface currently found on Apple products
• Capable of supporting transfer speeds of up to 10
Gbps
• Uses same connector as existing Mini DisplayPort
and similar protocol as PCI Express
• Can daisy-chain devices and may get even faster
with later versions
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
SCSI and iSCSI
• SCSI (Small Computer System Interface)
– A technique for interfacing a computer to high-speed
devices such as hard disk drives, tape drives, CDs, and
DVDs
– Designed to support devices of a more permanent nature
• SCSI is a systems interface
– Need SCSI adapter
• iSCSI (Internet SCSI)
– A technique for interfacing disk storage to a computer via
the Internet
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
InfiniBand and Fibre Channel
• InfiniBand – a serial connection or bus that can carry
multiple channels of data at the same time
– Can support data transfer speeds of 2.5 billion bits (2.5
gigabits) per second and address thousands of devices,
using both copper wire and fiber-optic cables
– A network of high-speed links and switches
• Fibre Channel – also a serial, high-speed network that
connects a computer to multiple input/output devices
– Supports data transfer rates up to billions of bits per second,
but can support the interconnection of up to 126 devices only
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Asynchronous Connections
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Asynchronous Connections (continued)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Asynchronous Connections (continued)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Asynchronous Connections (continued)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Synchronous Connections
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Synchronous Connections (continued)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Isochronous Connections
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Terminal-to-Mainframe
Computer Connections
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Terminal-to-Mainframe
Computer Connections (continued)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Terminal-to-Mainframe
Computer Connections (continued)
• To allow a terminal to transmit data to a mainframe,
the mainframe must poll the terminal
• Two basic forms of polling: roll-call polling and hub
polling
– In roll-call polling, the mainframe polls each terminal in a
round-robin fashion
– In hub polling, the mainframe polls the first terminal, and
this terminal passes the poll onto the next terminal
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Terminal-to-Mainframe
Computer Connections (continued)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Making Computer Connections In Action
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Making Computer Connections
In Action (continued)
• Power cord connection (why does the power cord have a
big “brick” on it?)
• USB connectors (one or more)
• RJ-11 (telephone jack)
• RJ-45 (LAN jack)
• PC Card / SmartCard
• DisplayPort (to connect your laptop to a video device)
• Media card slot (SD, SDHC, xD, etc)
• DB-15 (to connect to an external monitor or video projector)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Making Computer Connections
In Action (continued)
• A company wants to transfer files that are
typically 700K chars in size
• If an asynchronous connection is used, each
character will have a start bit, a stop bit, and
maybe a parity bit
• 700,000 chars * 11 bits/char (8 bits data + start
+ stop + parity) = 7,700,000 bits
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Making Computer Connections
In Action (continued)
• If a synchronous connection is used, assume
maximum payload size – 1500 bytes
• To transfer a 700K char file requires 467 1500-
character (byte) frames
• Each frame will also contain 1-byte header, 1-
byte address, 1-byte control, and 2-byte
checksum, thus 5 bytes overhead
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Making Computer Connections
In Action (continued)
• 1500 bytes payload + 5 byte overhead = 1505
byte frames
• 467 frames * 1505 bytes/frame = 716,380 bytes,
or 5,731,040 bits
• Significantly less data using synchronous
connection
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Summary
• Connection between a computer and a peripheral is often
called the interface
• Process of providing all the proper interconnections between
a computer and a peripheral is called interfacing
• The interface between computer and peripheral is composed
of one to four components: electrical, mechanical, functional,
and procedural
• A DTE is a data terminating device
– Computer
• A DCE is a data circuit-terminating device
– Modem
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Summary (continued)
• Two interface standards worthy of additional study: Universal
Serial Bus, and EIA-232F
– EIA-232F was one of the first highly popular standards
– Universal Serial Bus is currently the most popular interface
standard
• Half-duplex systems can transmit data in both directions, but
in only one direction at a time
• Full-duplex systems can transmit data in both directions at the
same time
• Other peripheral interfacing standards that provide power,
flexibility, and ease-of-installation include FireWire, SCSI,
iSCSI, InfiniBand, and Fibre Channel
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Summary (continued)
• While much of an interface standard resides at the physical
layer, a data link connection is also required when data is
transmitted between two points on a network
– Three common data link connections include asynchronous
connections, synchronous connections, and isochronous
connections
• Asynchronous connections use single-character frames and
start and stop bits to establish the beginning and ending points
of the frame
• Synchronous connections use multiple-character frames,
sometimes consisting of thousands of characters
• Isochronous connections provide real-time connections
between computers and peripherals and require a fairly involved
dialog to support the connection
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.
Summary (continued)
Curt M. White. Data Communications & Computer Networks: A Business User’s Approach.
8th Edition, CENGAGE Learning, 2014.