Smartphone Mobile Compu9ng CSEP590B/F Winter 2011 (first offering) 4 th Lecture, 31 January 2011

Similar documents
Electromagnetic Spectrum (3kHz 300GHz)

Introduction to Wireless Networking ECE 401WN Spring 2009

ENRNG3076 : Oral presentation BEng Computer and Communications Engineering

ALL SAINTS COLLEGE OF TECHNOLOGY, BHOPAL

CS263: Wireless Communications and Sensor Networks

Wireless and WiFi. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Wireless LAN. Access Point. Provides network connectivity over wireless media

MOBILE COMPUTING. Jan-May,2012. ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala.

Local Area Networks NETW 901

CS4/MSc Computer Networking. Lecture 13: Personal Area Networks Bluetooth

Mobile and Sensor Systems

SE 4C03 Winter 2005 Bluetooth Wireless Network Technology

Wireless Personal Area Networks & Wide Area Networks

Inside Bluetooth. Host. Bluetooth. Module. Application RFCOMM SDP. Transport Interface. Transport Bus. Host Controller Interface

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

Wireless Local Area Networks. Networks: Wireless LANs 1

6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

Bluetooth: Short-range Wireless Communication

WPAN-like Systems. UWB Ultra Wide Band. IrDA Infrared Data Association. Bluetooth. Z-Wave. WPAN Wireless Personal Area Network

MSIT 413: Wireless Technologies Week 8

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

Wireless Local Area Networks (WLANs) and Wireless Sensor Networks (WSNs) Primer. Computer Networks: Wireless LANs

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

[A SHORT REPORT ON BLUETOOTH TECHNOLOGY]

Ethernet and WiFi. h-p://xkcd.com/466/

CSC 4900 Computer Networks: Wireless Networks

Bluetooth. 3.3 Latest Technology in Wireless Network. What is BLUETOOTH: Bluetooth 2/17/2016

Introduction to Wireless Networks

Wireless and Mobile Networks 7-2

Unit title: Mobile Technology: Device Connectivity (SCQF level 5) Outcome 1

Embedded Systems. 8. Communication

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

Wireless Security Background

Wireless Communication

Bluetooth. Bluetooth Radio

Chapter 6 Wireless and Mobile Networks

e-pg Pathshala Quadrant 1 e-text

Lecture 23 Overview. Last Lecture. This Lecture. Next Lecture ADSL, ATM. Wireless Technologies (1) Source: chapters 6.2, 15

CHAPTER 3 BLUETOOTH AND IEEE

Last Lecture: Data Link Layer

Overview : Computer Networking. Spectrum Use Comments. Spectrum Allocation in US Link layer challenges and WiFi WiFi

WiFi Networks: IEEE b Wireless LANs. Carey Williamson Department of Computer Science University of Calgary Winter 2018

04/11/2011. Wireless LANs. CSE 3213 Fall November Overview

Wireless networks: from cellular to ad hoc

Attack & Defense in Wireless Networks

LTE : The Future of Mobile Broadband Technology

UNIT 5 P.M.Arun Kumar, Assistant Professor, Department of IT, Sri Krishna College of Engineering and Technology, Coimbatore.

Medium Access Control. MAC protocols: design goals, challenges, contention-based and contention-free protocols

Amarjeet Singh. February 7, 2012

EE 597: Wireless Networks (Spring 12)

Mohammad Hossein Manshaei 1393

Public Wireless LAN Service.

Wireless Communications

Lecture Objectives. Lecture 1 Wireless Environment and Wireless LANs. Agenda (1) Agenda (2) Wireless Spectrum (1)

Special Course in Computer Science: Local Networks. Lecture

Overview of Bluetooth

Guide to Wireless Communications, 3 rd Edition. Objectives

Bluetooth Tutorial. Bluetooth Introduction. Bluetooth Technology

WIRELESS-NETWORK TECHNOLOGIES/PROTOCOLS

Topic 2b Wireless MAC. Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross ( 6th ed.); , Kurose and Ross (7th ed.

4G Mobile Communications

Chapter 7. Basic Wireless Concepts and Configuration. Part I

12/2/09. Mobile and Ubiquitous Computing. Bluetooth Networking" George Roussos! Bluetooth Overview"

Naveen Kumar. 1 Wi-Fi Technology

GLOSSARY OF CELLUAR TERMS

Wireless Local Area Networks (WLAN)

By FaaDoOEngineers.com

CS 332 Computer Networks Wireless Networks

Wireless Networking: An Introduction. Hongwei Zhang

ECE 4450:427/527 - Computer Networks Spring 2017

Wireless (NFC, RFID, Bluetooth LE, ZigBee IP, RF) protocols for the Physical- Data Link layer communication technologies

Advanced Mobile Computing and Networking - CS 560. Wireless Technologies. Bluetooth. Bluetooth. Bluetooth. Bluetooth 7/3/2014.

Bluetooth. Renato Lo Cigno

EC Wireless Networks VIII - Semester Questions Bank

Local Area Networks NETW 901

Computer Networks II Advanced Features (T )

Architectures of Next Generation Wireless Networks. Pascal LORENZ.

Data and Computer Communications. Chapter 13 Wireless LANs

WIRELESS TECHNOLOGIES

Long Distance Wireless Communication. Principally satellite communication:

Introducing Bluetooth

02/21/08 TDC Branch Offices. Headquarters SOHO. Hot Spots. Home. Wireless LAN. Customer Sites. Convention Centers. Hotel

Introduction to Bluetooth Wireless Technology

M06:Wireless and Mobile Networks. Corinna Schmitt

Introduc)on to Wireless Networks. Dino Lopez

Wireless LANs: outline. wireless and WiFi security: WEP, i, WPA, WPA2. networking security wireless ad-hoc and mesh networks

Wireless networks. Wireless Network Taxonomy

Wireless technology Principles of Security

Current Trends in Wireless Networking. G Santhosh Kumar Cochin University of Science and Technology

Module 6: Wireless Mobile Networks

Wireless# Guide to Wireless Communications. Objectives

Wireless Networks. Wireless Links. Mike Freedman hap:// Interference / bit errors

Wireless Protocols Overview

Wireless Sensor Networks

COMP 3331/9331: Computer Networks and Applications

Shared Access Networks Wireless. 1/27/14 CS mywireless 1

IT220 Network Standards & Protocols. Unit 6: Chapter 6 Wireless LANs

Govt. of Karnataka, Department of Technical Education Diploma in Computer Science Sixth Semester. Contact Hrs / week: 4 Total hrs: 64

Wireless LANs. The Protocol Stack The Physical Layer The MAC Sublayer Protocol The Frame Structure Services 802.

Transcription:

Smartphone Mobile Compu9ng CSEP590B/F Winter 2011 (first offering) 4 th Lecture, 31 January 2011 Instructor: Gaetano Borriello Teaching Assistants: Temitope Oluwafemi and Cary Anderson CSEP590B/F Winter 2011 31 January 2011 1

Overview for Today Finish up on sensing from last week ML applied to sensor data for determining user context Q/A on sensing Group projects: ques9ons on mid term project report Communica9on methods Smartphone and SMS, Bluetooth, WiFi, GPRS Future direc9ons CSEP590B/F Winter 2011 31 January 2011 2

Wireless Communica9on Serial communica9on Allocated a frequency of opera9on Could be a range of frequencies Regulated by FCC (Federal CommunicaRons Commission) in US Unfortunately, allocarons are not world wide CSEP590B/F Winter 2011 31 January 2011 3

Electromagne9c Spectrum (3kHz 300GHz) CSEP590B/F Winter 2011 31 January 2011 4

How wireless frequencies are allocated Garage door openers, alarm systems, etc. 40MHz Cordless phones: 40 50MHz, 900MHz, 2.4GHz, 5.8GHz Baby monitors: 49MHz Radio controlled toys: 27 75MHz Wildlife tracking collars: 215 220MHz MIR space sta9on: 145 437MHz Cell phones: 824 849MHz, 869 894MHz, 1850 1990MHz (850/1900 in US, 900/1800 in EU) Public safety (fire, police, ambulance): 849 869MHz Air traffic control radar: 960MHz 1.215GHz Global Posi9oning System: 1.227 1.575MHz Satellite radio: 2.3GHz WiFi/802.11b/g and Bluetooth: 2.4GHz Zigbee/802.15.4: 868MHz, 915MHz, 2.4GHz Microwave ovens: 2.4Ghz TV: 54 216 (VHF 2 13), 470 806MHz (UHF 14 69) Ultra wide band: 3.1 10.6GHz ISM (industrial, scien9fic, medical): 900MHz, 1.8GHz, 2.4GHz, 5.8GHz CSEP590B/F Winter 2011 31 January 2011 5

Considera9ons in choosing a frequency Carrier frequency Signal that is modulated to carry data Frequency is not equal to bandwidth Ability to carry data (modula9on rate) Availability of devices to transmit and receive signals Interference from other devices in same band ISM bands limit power output Interac9ons of radia9on with environment absorpron by water, metal, building materials, foliage Reflec9on and mul9 path proper9es construcrve/destrucrve interference paxerns (e.g., nulls) CSEP590B/F Winter 2011 31 January 2011 6

Radio Protocols for Wireless Networks Cellular (850 2100MHz) Voice, SMS, MMS, GPRS WiFi (2.4GHz, 5GHz) Wireless LAN Bluetooth (2.4GHz) Common in many consumer devices (headsets, cars, phones, etc.) Zigbee (850 930MHz) Next generaron radio for sensor networks and consumer devices CSEP590B/F Winter 2011 31 January 2011 7

Communica9on methods Modula9on Modulation Technique Waveform No encoding (Baseband) On-Off Keying (OOK) Frequency Shift Keying (FSK) Binary Phase Shift Keying (BPSK) Complementary Code Keying (CCK) Mul9plexing TDMA Rme division take turns talking FDMA frequency division talk at different pitches CDMA code division use different languages CSEP590B/F Winter 2011 31 January 2011 8

Short Messaging Service (SMS) First data service for mobile phones Allows users to exchange brief text strings Addressing uses standard phone numbers easy setup, supported by all Rers of phones, no separate accounts 160 characters: 1120 bits at 7bits/character extensions for unicode halve this number concatenated SMS for longer data 6 trillion SMS sent in 2010 35% in US and Philippines Cost is rela9vely high more than data from Hubble telescope 0.20USD/message leads to 1500USD per MB (US carriers) 0.01USD/message is srll 75USD per MB (India) India: 3USD for 15000 SMS, US: 20USD for unlimited incoming vs. outgoing message charges CSEP590B/F Winter 2011 31 January 2011 9

SMS history Uses the control system of the GSM standard In 1993, Nokia realized they could sell unused bandwidth for an instant messaging service USSD is the s9ll free variant of SMS carriers allocate USSD short codes for subsidized service Input formats focus on standard 12 key keyboard mulr tap is most popular (tap 3 Rmes for v on 8 tuv) T9 gained momentum unrl full keyboard phones (predicrve text) auto compleron Output formats single message queue conversarons CSEP590B/F Winter 2011 31 January 2011 10

SMS services Short codes easier to remember shorter phone numbers for popular services Payment transfer of payments associated with certain numbers (per msg) Internet gateways allow arbitrary services grab data from web and package it into SMS (e.g., OneBusAway) require appropriate message formats (usability issue) CSEP590B/F Winter 2011 31 January 2011 11

SMS growth over last 3 years CSEP590B/F Winter 2011 31 January 2011 12

Grouptext, Twiler CSEP590B/F Winter 2011 31 January 2011 13

Geochat CSEP590B/F Winter 2011 31 January 2011 14

Mul9 media Messaging Service (MMS) Similar to SMS, but no size limit began in 2002 really only pracrcal on 3G networks (but works with some 2G as well) 50 billion messages per year generarng USD26B (2008) Scandinavia is most advanced market Mostly used by feature phones with cameras axach mulr media files to text message if receiver isn t capable, then collected at web site, SMS with link sent Pricing similar to SMS by the message much cheaper by the bit major issues are in encoding of data (currently, MIME types) and codecs no bulk messaging CSEP590B/F Winter 2011 31 January 2011 15

MMS interface CSEP590B/F Winter 2011 31 January 2011 16

MMS services expand connec9on to web Keyword to image based search (possibly 9ed to loca9on) Naviga9on instruc9ons for non smartphones Automa9c transla9on services (e.g., Google Goggles) CSEP590B/F Winter 2011 31 January 2011 17

Smartphones and SMS/MMS Legacy support for migra9on from feature phones Interplay with direct Internet access over GPRS Services/apps governed by pricing structure familiar usage models and interfaces Provide richer text entry and more media types Swype video CSEP590B/F Winter 2011 31 January 2011 18

Bluetooth Short range radio at 2.4GHz Available globally for unlicensed users Low power Low cost Cable replacement Devices within 10m can share up to 1Mb/sec 700Kb/sec effecrve Universal short range wireless capability Harald Blatand II unified Norway and Denmark in 10 th century CSEP590B/F Winter 2011 31 January 2011 19

Bluetooth applica9on areas Data and voice access points Real Rme voice and data transmissions Cordless headsets Three in one phones: cell, cordless, walkie talkie Cable replacement Eliminates need for numerous cable axachments for connecron AutomaRc synchronizaron when devices within range Ad hoc networking Can establish connecrons between devices in range Devices can imprint on each other so that authenrcaron is not required for each instance of communicaron Support for object exchange (files, calendar entries, business cards) CSEP590B/F Winter 2011 31 January 2011 20

Protocol architecture Bluetooth is a layered protocol architecture Core protocols Cable replacement and telephony control protocols Specialized protocols (profiles) Core protocols Radio and baseband Link manager protocol (LMP) Logical link control and adaptaron protocol (L2CAP) Service discovery protocol (SDP) IP SDP PAN L2CAP LMP RFComm Radio CSEP590B/F Winter 2011 31 January 2011 21

Protocol architecture Cable replacement protocol RFCOMM Telephony control protocol Telephony control specificaron binary (TCS BIN) Adopted protocols TCP/UDP/IP OBEX WAP Profiles ver9cal slide through the protocol stack Basis of interoperability Each device supports at least one profile Defined based on usage models e.g., headset and phone, camera and TV, mp3player and car, etc. CSEP590B/F Winter 2011 31 January 2011 22

Piconets and scalernets Piconet Basic unit of Bluetooth networking Master and up to 7 slave devices Master determines channel and phase Scalernet Device in one piconet may exist as master or slave in another piconet Allows many devices to share same area Makes efficient use of bandwidth CSEP590B/F Winter 2011 31 January 2011 23

Frequency hopping Provides resistance to interference and mul9path effects Total bandwidth divided into 1MHz physical channels Frequency hopping occurs by moving transmiler/receiver from one channel to another in a pseudo random sequence Hopping sequence shared with all devices in the same piconet so that they can hop together and stay in communica9on CSEP590B/F Winter 2011 31 January 2011 24

Links between master and slave Synchronous connec9on oriented (SCO) Allocates fixed bandwidth between point to point connecron of master and slave Master maintains link using reserved slots Master can support three simultaneous links Asynchronous connec9on less (ACL) Point to mulrpoint link between master and all slaves Only single ACL link can exist CSEP590B/F Winter 2011 31 January 2011 25

Pairing Linking two devices via a shared PIN (old method) One device provides a pass key to be entered on the other limited by I/O on some devices (e.g., head set) Once paired, devices can re discover each other and connect automa9cally De pairing? CSEP590B/F Winter 2011 31 January 2011 26

Bluetooth packet format CSEP590B/F Winter 2011 31 January 2011 27

Scenario steps Master device (e.g., PDA) pages for nearby devices Receives response from 0, 1, or more devices Slave device (e.g., headphone) responds to page Determines which it knows established connec9ons L2CAP establishes Bluetooth connec9on assigning paging device to be master Devices exchange profiles they both support Agree upon profile (e.g., audio streaming) Master sends audio data Two devices synchronize their frequency hopping Keep alive packets used to maintain connec9ons Connec9ons dropped if keep alive packets are not ack ed CSEP590B/F Winter 2011 31 January 2011 28

Limita9ons/Issues Discovery 9me on the order of 10sec for unknown devices Interac9on with user required to connect to unknown devices or if mul9ple masters Can connect 8 devices at a 9me, more need to be mul9plexed radically lowering throughput Doesn t support simple broadcast need to be on same frequency hopping schedule Effec9ve bandwidth closer to 500Kbps (within one scalernet, order of magnitude lower if between two) CSEP590B/F Winter 2011 31 January 2011 29

WiFi Infrastructure based most popular access points (APs) act as wireless to wired Ethernet gateways Ad hoc network not very popular so far security models and incenrves not in place CSEP590B/F Winter 2011 31 January 2011 30

Types of WiFi (IEEE 802.11) 802.11b spread spectrum 1999 11 Mbps but also supports 5.5, 2, and 1 (2.4GHz) 802.11a orthogonal frequency division mul9plexing (OFDM) 54 Mbps (5GHz) 802.11g OFDM with 802.11b compa9bility 2003 6 to 54 Mbps (2.4 GHz) shorter range than 802.11b 802.11n mul9ple antenna OFDM (MIMO/OFDM) 2009 100 600 Mbps (2.4 GHz but wider band) Most common today is b/g combina9on CSEP590B/F Winter 2011 31 January 2011 31

Major issues with WiFi Can t transmit and receive simultaneously outgoing signal swamps any incoming signals Difficult to detect collisions DCF (distributed coord. func9on) collision at receiver may not be seen by sender collision avoidance instead of collision detecron use of acks to determine if collision occurred CSEP590B/F Winter 2011 31 January 2011 32

Hidden and exposed devices CSEP590B/F Winter 2011 31 January 2011 33

Access points Gateways between wireless and wired networks Devices associate with an access point security managed at associaron with passcode or registraron (WPA2) Orchestrate their associated clients beacon frames (provide way to fingerprint WiFi environment and used for indoor locaron) reservarons and buffer status fairness among clients CSEP590B/F Winter 2011 31 January 2011 34

WiFi packet format CSEP590B/F Winter 2011 31 January 2011 35

Hotspot and peer to peer WiFi devices can act as hotspots (APs) for others must allocate IP addresses just like an AP tethering of laptop through smartphone via WiFi to access web Ad hoc networks of peers must decide on scope of network (temporary SSID) allocate IP addresses to parrcipants (distributed/centralized) CSEP590B/F Winter 2011 31 January 2011 36

GPRS 2G/3G data connec9on standard 200 Kbits/sec High speed download packet access (HSDPA/3.5G) can go up 14.4Mbps HSPA+ w/ MIMO at 42Mbps (2010) and can go up to 84Mbps Similar architecture to infrastructure based WiFi cell towers as access points more emphasis on billing and roaming CSEP590B/F Winter 2011 31 January 2011 37

CSEP590B/F Winter 2011 31 January 2011 38

CSEP590B/F Winter 2011 31 January 2011 39

CSEP590B/F Winter 2011 31 January 2011 40

CSEP590B/F Winter 2011 31 January 2011 41

4G WiMax and LTE (steps toward 4G) now at 50Mbps 4G will be 100Mbps (high mobility) to 1Gbps (low mobility) data is primary target (voice as another type of data) will all use OFDM and MIMO CSEP590B/F Winter 2011 31 January 2011 42

WiMax Worldwide Interoperability for Microwave Access first developed in 2001 as IEEE 802.16 10x range of 802.11b at 2.5GHz (licensed spectrum) careful control by base staron of all traffic security built in from start CSEP590B/F Winter 2011 31 January 2011 43

NFC/RFID RFID read/write 100Kbps CSEP590B/F Winter 2011 31 January 2011 44