Switching, Mobile Phones, Cable, Beginning Data Link Layer. CS158a Chris Pollett Feb 21, 2007.

Similar documents
CABLE NETWORKS INTRODUCTION TO CABLE NETWORK TECHNOLOGIES AND PROTOCOLS

Chapter 8: Multiplexing

Modems, DSL, and Multiplexing. CS158a Chris Pollett Feb 19, 2007.

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 3

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 3

Cover Page. Performance Evaluation of the DOCSIS 1.1 MAC Protocol According to the Structure of a MAP Message

Distributed Queue Dual Bus

Lecture 2 Physical Layer - Multiplexing

Telephone. Basic Telephone. A telephone is an electronic device used for two- way talking with other people. EE1D01 Electrical Science for Everyone

Physical Layer: Multiplexing, Spectrum Spreading and Switching. Covers Chapters# 06 & 08 from Text Book

Networks 15.2 Multiplexing Technologies Access Networks 15.5 Common Peripheral Interfaces

Wireless# Guide to Wireless Communications. Objectives

end systems, access networks, links 1.3 network core

4G Mobile Communications

end systems, access networks, links circuit switching, packet switching, network structure

end systems, access networks, links circuit switching, packet switching, network structure

ITP 140 Mobile Applications Technologies. Networks

INTRODUCTION TO WIRELESS COMMUNICATION

Chapter 1: introduction

Chapter 5. Voice Network Concepts. Voice Network Concepts. Voice Communication Concepts and Technology

LIGHTS! Broadband Basics

Area Covered is small Area covered is large. Data transfer rate is high Data transfer rate is low

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

Wireless systems overview

CSIS Frequency Division Multiplexing. Basic Types of Multiplexing. Frequency Division Multiplexing. Frequency Division Multiplexing.

Communication Networks

Lecture #6 Multiplexing and Switching

Chapter 9 Using Telephone and Cable Networks. 9.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Lecture 4. Data Transmission Modes and Switching. Data Transmission & Switching 1-1

INTRODUCTION DATA COMMUNICATION TELECOMMUNICATIONS SYSTEM COMPONENTS 1/28/2015. Satish Chandra satish0402.weebly.com

GLOSSARY OF CELLUAR TERMS

What s a protocol? What s a protocol? A closer look at network structure: What s the Internet? Hardware view: What s the Internet?

Data Link Layer. Indian Institute of Technology Madras

EL Wireless and Mobile Networking Spring 2002 Mid-Term Exam Solution - March 6, 2002

Cellular Communication

Chapter 1: Introduction

Broadband and Last Mile Networks

Objectives. Learn how computers are connected. Become familiar with different types of transmission media

Bikash Sadhukhan. M.Tech(CSE) Lecturer. Dept of CSE/IT Techno India College of Technology

Principles behind data link layer services

Example Networks and the Physical Layer. CS158a Chris Pollett Feb 5, 2007.

Chapter 3. The Data Link Layer

Computer Networking Introduction

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

Evolving Telecommunications to Triple Play:

TELECOMMUNICATIONS NETWORKS. University Pierre and Marie Curie (Paris 6) Master Informatique Spécialité Réseaux

Networking Link Layer

Lecture 22 Overview. Last Lecture. This Lecture. Next Lecture. Internet Applications. ADSL, ATM Source: chapter 14

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

A+ Guide to Managing & Maintaining Your PC, 8th Edition. Chapter 16 Networking Types, Devices, and Cabling

Chapter 1. Introduction. Uses of Computer Networks. Business Applications Home Applications Mobile Users Social Issues

Announcements. TAs office hours: Mohamed Grissa: Mohamed Alkalbani:

Computer Networks and the internet. Daniel Graham Ph.D

Overview of Networks

Since enrollment is very small this semester, we have flexibilty. Traditional lecture Assigned reading, and then student(s) present during class time

Residential Broadband (RBB)

Lecture 6. Reminder: Homework 2, Programming Project 2 due on Thursday. Questions? Tuesday, September 13 CS 475 Networks - Lecture 6 1

DOCSIS FOR LTE SMALL CELL BACKHAUL ADDRESSING PERFORMANCE AND THROUGHPUT REQUIREMENTS FOR MOBILE BACKHAUL

CSC 4900 Computer Networks: Wireless Networks

Internet Access Technologies

Chapter 9 Introduction to Networks

ET4254 Communications and Networking 1

UNIT-5. GSM System Operations (Traffic Cases) Registration, call setup, and location updating. Call setup. Interrogation phase

Introduction to Network Technologies & Layered Architecture BUPT/QMUL

The Data Link Layer Chapter 3

Medium Access Control

Link Layer: Retransmissions

Mobile and Sensor Systems

UNIT-II OVERVIEW OF PHYSICAL LAYER SWITCHING & MULTIPLEXING

Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

Chapter 9. High Speed Digital Access

Principles behind data link layer services:

Principles behind data link layer services:

C08a: Data Link Protocols

CSCI Computer Networks

Computer Networks

ISSN: International Journal of Innovative Research in Technology & Science (IJIRTS) Abstract. Cellular Networks.

The Data Link Layer Chapter 3

Announcements. CS 5565 Network Architecture and Protocols. Outline for today. The Internet: nuts and bolts view. The Internet: nuts and bolts view

Direct Link Networks: Building Blocks (2.1), Encoding (2.2), Framing (2.3)

Multiplexing From one channel to multiple channels

Introduction to Networks and the Internet

DATA COMMUNICATION AND NETWORKS

Wireless Communication

Networks 15.2 Multiplexing Technologies Access Networks 15.5 Common Peripheral Interfaces

ITP 140 Mobile Applications Technologies. Networks

Integrated t Services Digital it Network (ISDN) Digital Subscriber Line (DSL) Cable modems Hybrid Fiber Coax (HFC)

Ethernet. Lecture 6. Outline. Ethernet - Physical Properties. Ethernet - Physical Properties. Ethernet

WIRELESS TRANSMISSION

The data link layer has a number of specific functions it can carry out. These functions include. Figure 2-1. Relationship between packets and frames.

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

Communications in ITS. Houston CDPD Experiences What s next for Cellular

2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS Collision Free Protocols 2.3 FDDI 2.4 DATA LINK LAYER DESIGN ISSUES 2.5 FRAMING & STUFFING

Wireless Communication

2 Network Basics. types of communication service. how communication services are implemented. network performance measures. switching.

(a) Client server model (b) MAN (c) Interfaces and services. [4+6+6] FirstRanker

Cable Technologies DOCSIS, PacketCable, CableHome. Craig Owens

Subject Data Communication. Subject Code 15CS46. Module 2 (Part 2) Multiplexing and Switching

Introduction to Mobile Broadband (imb)

Part I: Introduction. 1: Introduction 1

Transcription:

Switching, Mobile Phones, Cable, Beginning Data Link Layer CS158a Chris Pollett Feb 21, 2007.

Outline Switching Mobile Phones Cable Start of Data Link Layer

Switching We will now examine how the switching part of the phone system works. When you make a phone call, the phone systems seeks out a physical path from your phone to the receiver s phone. This is called circuit switching. When a call passes through a switching office, a physical connection is established between the line on which the call came in and one of the output lines. This making of a connection was originally done by a phone operator, but was soon automated. The alternative to circuit switching is packet switching. In this set up the call of data is split into packets and no dedicated connection needs to be set up. So there is no set up time in packet switching is faster, but there might be delays on packets after communication starts, which doesn t happen with circuit switching. Another switching strategy is to send whole messages to a switch which then stores and forwards them to the next switch. i.e., a store and forward network. This is called message switching and was used by telegraph.

Mobile Phones First-Generation Mobile Phones: Analog Voice. Second-Generation Mobile Phones: Digital Voice Third-Generation Mobile Phones: Digital Voice and Data

AMPS The first real first generation mobile system was called AMPS (Advanced Mobile Phone System) introduced by Bell labs in 1982. Its digital successor was called D-AMPS. Geographic regions were split into cells typically 10-20km across. Each cell has a tower (Mobile Telephone Switching Office)which uses some frequencies not used by its neighbors. Could support.6 W handsets or 3 W car sets. Cells are grouped into units of seven adjacent cells in a hexagonal pattern. When a phone signals transmission become weaker the tower notices and asks if anyone of its neighbors can receive it better. In which case, a hand-off is done. (This take about 300msec) A soft hand-off, the new station is acquired before the old station signs off. In a hard hand-off the old station sign off first.

Channels in AMPS The 832 channels are used by AMPS and are divided into four categories: Control (base to mobile) to manage the system Paging (base to mobile) to alert users to calls for them Access (bidirectional) for call setup and channel assignment Data (bidirectional) for voice, fax, or data Each phone has a 32 bit serial number and a 10 digit phone number in its PROM.

D-AMPS Digital Advanced Mobile Phone System In D-Amps, the voice data is sample and compressed to an 8kbs stream (PCM in comparison needs 56kbps) by a circuit called a vocoder. Users can share a frequency using TDM. Each frame is split into 6 slots. Idle slots are used to measure line quality and assist in handoff. (mobile assisted handoff. (a) A D-AMPS channel with three users. (b) A D-AMPS channel with six users.

GSM Global System for Mobile Communications GSM uses 124 frequency simplex channels, each of which uses an eight-slot TDM system It achieves higher data rates than D-AMPS

GSM (2) A portion of the GSM framing structure.

CDMA Code Division Multiple Access (a) Binary chip sequences for four stations (b) Bipolar chip sequences (c) Six examples of transmissions (d) Recovery of station C s signal (1 indicates 1 sent, -1 a 0, and 0 indicates nothing sent)

2.5 and 3rd-Generation Mobile Phones: Digital Voice and Data Basic services an IMT-2000 network should provide: High-quality voice transmission Messaging (replace e-mail, fax, SMS, chat, etc.) Multimedia (music, videos, films, TV, etc.) Internet access (web surfing, w/multimedia.) Some proposed 3rd generation systems are W-CDMA and CDMA- 2000. Some 2.5 generation systems with higher data rates such as EDGE (enhanced data rates for GSM evolution) and GPRS (general packet radio service) are now being used. GPRS is an overlay to D-AMPS and GSM that allows on to send and receive IP packets.

Cable Cable was developed in the 1940s. Initially, systems consisted of a big antenna on top of a hill, an amplifier, called the head end, and a coaxial cable to deliver it to people s houses in the valley below. In the early days this was sometimes called Community Antenna Television (CAT). With time, cable only channels such as HBO (the first in 1974) were also fed into the coax. Cable was also laid between cities and eventually, the initially one way communication from the head end was converted into a two way channel by replacing amplifiers with two way amplifiers.

Internet Over Cable Cables between cities were eventually replaced by the cable companies by fiber for long hauls. The new systems were called Hybrid Fiber Coax. The interface between the fiber and electrical parts are called fiber nodes. The system now looks somewhat similar to the phone system, except that rather than every house having its own local loop, there is one cable which is tapped by many houses. Older systems with long cables only for broadcast to up to 10,000 home have been split in recent times to handle 500-2000 homes to make upstream traffic manageable.

Spectrum Allocation The downstream bandwidth is typically split into 6MHz or 8MHz channels which use QAM-64 or QAM-256. This gives a net data rates of either 27Mbps or 39Mbps. QPSK is used for upstream traffic because of noise issues.

Cable Modems These were standardized in DOCSIS (Data Over Cable Service Interface Specification). So one should be able to buy a cable modem from a third party and have it work with your system. The modem-computer interface is not too complicated. It normally 10Mbps ethernet which is output. How the input from cable end of the modem is handled is more complicated. The modem scans the downstream channel looking for a special packet periodically sent out from the head end. Upon seeing this packet the modem announces itself on one of the upstream channels. The headend then assigns the modem a specific upstream and downstream channel. The modem then does ranging to determine how far it is from the headend. This is so it can do the timing right for the upstream traffic which is divided into so-called minislots. Each modem is assigned by the headend a minislot it can use for upstream traffic, and the headend periodically sends out a signal to indicated a round of minislots is going to begin. An exponential backup is used to handle contention. All traffic over modems is also encrypted.

Introduction to the Data Link Layer The data link layer has the following functions: (1) Provides a well-defined service interface to the network layer (2) Deals with transmission errors (3) Regulates the flow of data, so that slow receivers are not swamped by fast senders. To do this the data link layer takes the packets it gets from the network layer, breaks these up into smaller units as needed, and adds a header and a trailer to these units to produce frames which can be transmitted to the physical layer.

Services Provided to the Network Layer Depending on the actual system, the data link layer may provide the following services to the network layer: Unacknowledged connectionless service Acknowledged connectionless service Acknowledged connection oriented service

Framing The physical layer provides to the data link layer the ability to deliver or accept a raw bit stream. When the data link layer creates a frame it computes a checksum of its data contents and send this as part of the frame. At the other the data link layer must be able to break the raw bit stream into frames. For each frame, it must compute a checksum, and then check it against the checksum that was sent to see if the frame contains errors. To deal with the error this layer discards the frame and may send an error report back to the sender.

More on Framing To break the bit stream into frames is actually fairly challenging. Inserting time gaps between frames gaps is unreliable because networks rarely guarantee timing. Typical techniques include: Character count (first char says how many characters in the frame, use this to figure out where frame ends). Flag byte with byte stuffing (Use a special character to indicate a state of frame. Say @. If @ appears in the data then add the escape char \ before it. i.e., \@) Starting and ending flags with bit stuffing. For example, one starts and ends a frame with 01111110. If 11111 appears in the data instead output 111110. Physical layer coding violations. If the physical layer sends 01 for a 0 and 10 for a 1, then if you see 00 or 11 you assume it is the start or end of a frame.