30
Ref. CN5E, NT@UW CS5530 CS5530 Mobile/Wireless Systems Introduction Yanyan Zhuang Department of Computer Science http://www.cs.uccs.edu/~yzhuang UC. Colorado Springs

CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Ref.CN5E,NT@UWCS5530

CS5530Mobile/WirelessSystems

Introduction

YanyanZhuangDepartmentofComputerSciencehttp://www.cs.uccs.edu/~yzhuang

UC.ColoradoSprings

Page 2: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

IntroofIntro

Ref.CN5E,NT@UW2CS5530

• YanyanZhuango PhDinnetworksystems

o [email protected]

• Officehourso M/W:anhourafterclass

o F:11am– 12pm

• Blackboard:announcement,schedules

Page 3: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Outline

Ref.CN5E,NT@UW3CS5530

• Whystudymobile/wirelesssystems?

• Whatwillyoulearn?

• Lectures,Assignments,Projects,Exams

• Coursepolicy• Overview

Page 4: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Whystudymobile/wirelesssystems?

Ref.CN5E,NT@UW4CS5530

• WheredoesInternetcomefrom?o Computercenterà Computernetworksà Internet

• Wirelesso Mobility,flexibility

Page 5: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Whatwillyoulearn?

Ref.CN5E,NT@UW5CS5530

• Howdowirelessnetworkswork?o WiFi,cellular,Bluetooth,etc.

o Noheavymath!

• Howtoprogramonend-userdevices?o iOS

o Android

Page 6: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Lectures,Assignments,Project,Exams

Ref.CN5E,NT@UW6CS5530

• Lectureso MondayandWednesday4:45PM– 6:00PMo ENGR138

• Assignments(individual)o iOS/Androidprogrammingassignments

• Researchproject(individualoringroups)o Chooseatopicthatinterestsyou,talktomebeforeyoustart

• MidtermandFinal(online,open-book,limitedtime)o MidtermTBD,mid/lateMarch(takehome)o Final:5:20– 7:20pm,May10(inclass)

http://www.uccs.edu/Documents/cic/spring%202017/Final%20Exam%20Schedule.pdf

Page 7: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

CoursePolicy

Ref.CN5E,NT@UW7CS5530

• Gradingscale

Percentage Grade

90- 100 A

87- 89 A-

84- 86 B+

80- 83 B

75 - 79 C+

70- 74 C

65- 69 D+

60- 64 D

Below60 F

Page 8: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

CoursePolicy(cont.)

Ref.CN5E,NT@UW8CS5530

• Gradingpercentageo Assignments:40%

o Researchproject:20%

o Midterm:20%

o Finalexam:20%

Page 9: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Wheretogethelp?

Ref.CN5E,NT@UW9CS5530

• Q&Ainclass• Officehours

o M/Wonehourafterclass6-7pm

o F:11:00am-- 12:00pm

o Byappointment

o ENGR184

Page 10: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Ref.CN5E,NT@UW10CS5530

Overview

Page 11: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

WhatisaWirelessNetwork

Ref.CN5E,NT@UW11CS5530

• First,whatisanetwork?o Computernetworks

} A largenumberofseparatebutinterconnectedcomputers

} Theconnection:viaacopperwire,fiberoptics,microwaves,infrared,satellites,andsoon

o Internet} Themostwell-knownnetworkofnetworks

Page 12: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

WheredidInternetcomefrom?

Ref.CN5E,NT@UW12CS5530

• ARPANET(1966-1967):AdvancedResearchProjectsAgencyNetworko FundedbyAdvancedResearchProjectsAgency(ARPA)ofUnitedStatesDepartmentofDefense

• Goal:networkacademiccomputers(UCLA,SRI,UCSB,Utah-- firstnodesin1969)

• 1971:~20ARPANETnodes

Page 13: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

WheredidInternetcomefrom?

Ref.CN5E,NT@UW13CS5530

Roughsketch:late1960s

Page 14: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Ref.MOS4E,OS@Austin,Columbia,UWiscUC.ColoradoSpringsCS4500/55001970sto1980s:ARPANETtransitionedtoTCP/IP

Page 15: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

GrowthofInternetHosts

Ref.CN5E,NT@UW15CS5530

Page 16: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

WhatisaWirelessNetwork(cont.)

Ref.CN5E,NT@UW16CS5530

• Useofnetworkso Business,homeuse

o Mobileusers} Peopleonthegowanttodoallthingstheydoathomeandinoffice

} Mobileconnectivity¨ Cellular,WiFi (IEEE802.11)

} Differentmobilesystems¨ Smartphones/tablets/smartwatch

¨ GPS

¨ RFID(Radio-FrequencyIDentification)

Page 17: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

WhatisaWirelessNetwork(cont.)

Ref.CN5E,NT@UW17CS5530

• Someotherwirelessnetworkso Sensornetworks

} Madeupofnodesthatgatherandwirelesslyrelayinformationtheysenseaboutthestateofthephysicalworld

} Thenodesmaybecarsorphones,ormaybeseparatedevices¨ Car’sOBDsensors

¨ Separatedevices¨ accelerometers,barometers,oceanbottomseismometers,pressurerecorders

andhydrophone

Page 18: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

NetworkReferenceModel

Ref.CN5E,NT@UW18CS5530

• Afourlayermodelbasedonexperience

4Application – Programsthatusenetworkservice

3Transport – Providesend-to-enddatadelivery

2Internet – Sendpacketsovermultiplenetworks

1Link – Sendframesoveralink

3Transport – Providesend-to-enddatadelivery

Page 19: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

NetworkReferenceModel(cont.)

Ref.CN5E,NT@UW19CS5530

• Afourlayermodelbasedonexperience

4Application3Transport

2Internet

1Link Ethernet802.11

IP

TCP UDP

HTTPSMTP RTP DNS

3GDSLCable

networklayerEveryInternetdevicemustspeak!

Page 20: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

LANandWLAN

Ref.CN5E,NT@UW20CS5530

The standard for wireless LANs is called IEEE 802.11, popularly known as WiFi

Wirelessrouter/Basestation

Page 21: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Wirelessvs.Wired

Ref.CN5E,NT@UW21CS5530

• Linklayer

• Medium:openair• Nowiringrequired• Lesssecurethanwirednetworks

o It’salotmoredifficultforunauthorizedeavesdroppersandothersnoopstomonitordatainawirednetwork

4Application3Transport

2Internet

1Link Ethernet802.11

IP

TCP UDP

HTTPSMTP RTP DNS

3GDSLCable

Page 22: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Wirelessvs.Wired

Ref.CN5E,NT@UW22CS5530

• Advantageo Allowsmobility

o Muchcheaperandeasiertodeploy,change,andupgrade

• Disadvantageo Exposed(unshielded)medium

} Susceptibletophysicalphenomena(interference)

} Moreerrors

o Slowerdataratesforlongerdistances

o Security:anyoneinrangehearstransmission

Page 23: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

WirelessStandards

Ref.CN5E,NT@UW23CS5530

• Cellularo 2G:GSM,CDMAo 3G:CDMA2000,WCDMA,TD-SCDMAo 4G/5G/LTE

• IEEE802.11o a:5.0Ghzband,54Mbps(25Mbpsoperatingrate)o b:2.4Ghzband,11Mbps(4.5Mbpsoperatingrate)o g:2.4Ghz,54Mbps(19Mbpsoperatingrate)o Otherversions(802.11n,p,etc.)

• IEEE802.15:lowpoweredwirelesso 802.15.1:2.4Ghz,2.1Mbps(Bluetooth)o 802.15.4:2.4Ghz,250Kbps(SensorNetworks)

Page 24: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

WirelessLinkCharacteristics

Ref.CN5E,NT@UW24CS5530

Page 25: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

WirelessTransmissionRange

Ref.CN5E,NT@UW25CS5530

1. Transmissionpower2. Signal-to-noiseratio

Therangethatthereceiverisjustabletoreceive/decodethesignal

Page 26: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

AWirelessLink?

Ref.CN5E,NT@UW26CS5530

Page 27: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

AWirelessLink!

Ref.CN5E,NT@UW27CS5530

Page 28: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Someotherissues

Ref.CN5E,NT@UW28CS5530

• Hiddenterminals

• AandCcanbothsendtoBbutcan’theareachothero AisahiddenterminalforCandviceversa

A B C

Page 29: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Someotherissues(cont.)

Ref.CN5E,NT@UW29CS5530

• Exposedterminals

• Exposednode:BsendsapackettoA;ChearsthisanddecidesnottosendapackettoD(despitethatthiswillnotcauseinterference)

A B C D

Page 30: CS5530 Mobile/Wireless Systemsyzhuang/CS5530/spring2017/slides/LEC1... · 2017-01-19 · What is a Wireless Network (cont.) CS5530 17 Ref. CN5E, NT@UW •Some other wireless networks

Summary

Ref.CN5E,NT@UW30CS5530

• Whatisanetwork

• Differentkindsofwirelessnetworks• Wirelessstandards

• Issueswithwirelessnetworks