Академический Документы
Профессиональный Документы
Культура Документы
Computing
COMS 6998-10, Spring 2013
Instructor: Li Erran Li
(lierranli@cs.columbia.edu)
http://www.cs.columbia.edu/~lierra
nli/coms6998-10Spring2013/
2/26/2013: Introduction to Cellular
Networks
Announcements
Programming assignment 2 will be
due tomorrow
Programming assignment 3 will be
due March 13. Please start early!
Two lab sessions will be scheduled
Bare-Metal Hypervisor
poor device support / sharing
OS
Kernel
OS
Kernel
OS
Kernel
Hypervisor / VMM
Hardware
Courtesy: Jason Nieh et al.
Hosted Hypervisor
poor device
performance
OS
OS
OS
Hypervisor / VMM
Host OS Kernel
kernel
module
emulated
devices
Hardware
Courtesy: Jason Nieh et al.
Device Namespaces
safely, correctly
multiplex
access to
devices
VP 1
VP 2
VP 3
Android...
RTC / Alarms
Audio/Video
Sensors
Input
Power
Framebufer
Cell Radio
WiFi
GPU
device namespaces
Linux
Kernel
Performance for
random I/O significantly
worse than seq;
inherent with flash
storage
Mobile flash storage
classified into speed
classes based on
sequential throughput
Random write performance is
orders of magnitude worse
Vendor
(16GB)
Spe Cos
ed
t
Clas US
s
$
Seq
Writ
e
Ran
d
Writ
e
Transce
nd
26
4.2
1.18
RiData
27
7.9
0.02
Sandisk
23
5.5
0.70
Kingsto
n
25
4.9
0.01
Wintec
25
15.0
0.01
Consumer-grade
A-Data
6
30 SD
10.8
0.01
10.5
0.01
Patriotperformance
10
29
10
29
15.3
0.01
For several popularPNY
apps, substantial
fraction of I/O is random writes (including
web browsing!)
Courtesy: Nitin Agrawal et al.
Performance MB/s
Logical Location
Motion State
Interruptibl
home, office,
sitting,
mall walking, running
yes, no
CondOS Design
app A
app G
app Z
User space
Kernel space
other OS services
CDU1
CDU2
CDU3
Interruptible
yes, no
Logical Location
Motion State
Energy
Security
Management home, office, mall
sitting, walking, running
Audio Features
context
dataflow
example
Context Data
Generators
Motion Features
Location DB
Silence Filter
Geolocation
IMU
Audio
14
Syllabus
Mobile App Development (lecture 1,2,3)
Mobile operating systems: iOS and Android
Development environments: Xcode, Eclipse with Android SDK
Programming: Objective-C and android programming
Mobile cloud computing platform services: push notification, iCloud and Google
Cloud Messaging
Mobile cloud computing architecture and programming models
15
Outline
Goal of this lecture: understand the basics of
current networks and future directions
Current Cellular Networks
Introduction
Radio Aspects
Architecture
Power Management
Security
QoS
What Is Next?
A Clean-Slate Design: Software-Defined
Cellular Networks
Conclusion and Future Work
More Infrastructure
Deployment
1010100100001011001
0101010101001010100
1010101010101011010
1010010101010101010
0101010101001010101
More Mobile
Information
Sharing
16
Existing cellular
technologies are
inadequate
Fundamental redesign of
cellular networks is
needed
17
Global Convergence
LTE is the major technology for future
mobile broadband
Convergence of 3GPP and 3GPP2 technology tracks
Convergence of FDD and TDD into a single technology
track
D-AMPS
3GPP
PDC
GSM
IS-95
WCDMA
HSPA
TD-SCDMA
HSPA/TDD
cdma2000
EV-DO
LTE
FDD and TDD
3GPP2
WiMAX
IEEE
LTE deployments
89 commercial networks launched
Mobile subscriptions by
technology
2008-2017 (estimate)
3GPP introduction
3rd Generation Partnership Program
Established in 1998 to define UMTS
Today also works on LTE and accessindependent IMS
Still maintains GSM
Works in releases
All specifications are consistent within a
release
Stage 2
Architecture
Stage 3
Protocols
Nodes, functions
Reference points
Procedures (no errors)
E.g., 23-series
specs
Message formats
Error cases
E.g., 29-series
specs
3G/LTE
System
Protocols
Example
A base station
with 3 sectors
(3 cells)
Courtesy: Zoltn Turnyi
Key challenges
Large distances
Terminals do not see each other
Tight control of power and timing needed
Highly variable radio channel quick adaptation needed
Radio basics
28
Simultaneous
meetings in the
same room at
diferent times
(TDMA)
Multiple meetings in the
same room at the same time
(CDMA)
Courtesy: Harish Vishwanath
29
RNC
RNC
Resource control
HSPA
DCH
DCH
Cost:
RNC processing
power when
switching between
states
FACH
HSPA channel
Dedicated channels
Common channel
URA
Battery saving
IDLE
Battery saving
Cost:
More radio
resources
More battery need
(connected)
(disconnected)
HSPA
High Speed Packet Access
Packet oriented extension to WCDMA
Time Division Multiplexing within a common channel
Opportunistic scheduling
Users with currently good reception receive more
resources
Higher overall capacity than equal share
nc
ue
q
fre
12 subcarriers
One OFDM
symbol
One slot
time
Subframe (1 ms)
34
T large compared to
channel delay
spread
35
User 2
users
Frequency
Time
36
37
LTE Scheduling
Assign each Resource Block to one of the
terminals
LTE channel-dependent scheduling in time and
frequency domain
HSPA scheduling in time-domain only
data1
data2
data3
data4
User #1 scheduled
User #2 scheduled
1m
s
Tim
e
ncy
Freque
z
180 kH
Packet oriented
Supports bursty traffic and statistical
multiplexing by default
No specific support for circuit switched traffic
3 MHz
5 MHz
RB (1.4 MHz)
10 6
MHz
15 MHz
20 MHz
Architecture
Pre-rel.8 Architecture
PS Core Network
CS
CN
MSC
Gi
GGSN
Gn/Gp
SGSN
IuCS
First-hop router
GW towards external PDNs
VPN support over Gi
IP address management
Policy Control
Manage CN procedures
HSS connection (authenticator)
Idle mode state
Lawful Intercept
Bearer management
IuPS
RNC
Iub
NodeB
L1
HSPA scheduling
MSC
Overhead of
PS Coreseparate
Network CS core
when bulk of
Gi
First-hop router
GW towards
external PDNs
traffic
is PS
GGSN
Gn/Gp
SGSN
IuCS
Manage CN procedures
HSS connection (authenticator)
Idle mode state
Lawful Intercept
Bearer management
Too many
specialized user
plane nodes
IuPS
RNC
Iub
NodeB
L1
HSPA scheduling
Vendor lock-in
due to
3G Radio Access Network
proprietary Iub
features
MSC
SGi
GGSN
PDN GW
SGW
Gn/Gp
SGSN
IuCS
IuPS
RNC
user
e
plan
Serving GW
S11
control plane
User plane/control
plane split for
better scalability.
MME
S1-UP
S1-CP
Mobility
Management
Entity
PS only
RAN and CN
Iub
NodeB
3G Radio
Access Network
LTE Radio
Access Network
Courtesy: Zoltn Turnyi
SGi
PDN GW
S5/S8
SGW
Serving GW
S11
MME
S1-UP
Mobility
Management
Entity
S1-CP
Debate of 2005:
B1 vs B2
B1*: All accesses connected to EPC
GERAN
SGSN
GPRS Core
SGSN
UTRAN
GGSN
UTRAN
Evolved Access
LTE
Non-3GPP
access
Evolved
Packet Core
Internet/
Op.nw.
LTE
Evolved
Packet Core
Inter-AS
MM
Internet/
Op.nw.
Non-3GPP
access
Conclusion: B1.
Interworking with 3G
SGi
HSS
PDN GW
S5
Gn
SGW
S11
MME
SGSN
MSC
IuCS
IuPS
S1-U
S1-CP
RNC
Iub
eNodeB
UE
NodeB
MSC Mobile Switching Center
Courtesy: Zoltn Turnyi
Interworking with
non-3GPP accesses
SGi
HSS
PDN GW
S5
S2
Gn
SGW
S11
MME
SGSN
MSC
IuCS
IuPS
Non-3GPP
Access
(cdma2000, WiMax,
WiFi)
S1-U
S1-CP
RNC
Iub
eNodeB
UE
NodeB
PMIP Proxy Mobile IP
Courtesy: Zoltn Turnyi
Debate of 2006:
GTP vs. PMIP
SGi
HSS
PDN GW
GTP
GTP?
GTP
S5
S2
PMIP
PMIP
PMIP?
SGW
S11
Gn
MME
SGSN
MSC
IuCS
IuPS
Non-3GPP
Access
(cdma2000, WiMax,
WiFi)
S1-U
S1-CP
RNC
GTP
Iub
eNodeB
UE
NodeB
Conclusion: Specify both
Courtesy: Zoltn Turnyi
HSS
PDN GW
GTP
S5
Gn
GTP
SGW
S11
MME
SGSN
MSC
IuCS
IuPS
S1-U
S1-CP
RNC
GTP
Iub
eNodeB
NodeB
UE
Courtesy: Zoltn Turnyi
HSS
PDN GW
S5
S2
PMIP
Non-3GPP
Access
(cdma2000, WiMax,
WiFi)
PMIP
SGW
S1-U
S11
MME
S1-CP
GTP
eNodeB
UE
51
Access Procedure
Cell Search
Base station
Random access to
establish a radio link
UE 1
UE 2
52
Random Access
Client
Base station
Core network
53
Base station
UE 1
UE 2
Modes of operation
Connected mode
Used during communication
Signaling connection exists between
network and UE
Both CN and RAN keeps state about the UE
UE location is tracked on a cell granularity
Needed to deliver the data
SGW
MME
Network controlled
mobility
SGW
MME
Procedure
1.
2.
3.
4.
5.
5
4.
3.
1.
2.
1. 5
1.
Handover Procedure
LTE
UE
source eNB
target eNB
Fast PMIPv6
MME
SGW PDN GW
User Data
1: Measurement
report
2: Handover decision
3: Handover
Request
4: Allocate TEID
6: handover
command
5: Handover
Request Ack
7: SN Status
Transfer
User Data
buffer DL data
8: Sync+RRC complete
User Data
9: Path Switch
Request
10: Modify Bearer
Request
User Data
end marker
stop fw
stop fw
http://msc-generator.sourceforge.net v3.4.18
Idle Mode
Used when the UE is not communicating
UE location is tracked on a Tracking Area (TA)
granularity
eNodeBs advertise their TA
UE periodically listens to advertisements (every few
seconds)
UE sends Tracking Area Update to MME, when TA
changes
TAU also sent periodically (e.g., once every 2 hours)
PAGING
UE periodically checks if data is available for it
Wakes up, (re)selects cell, reads broadcast and the
paging channel
Exact timing is pseudo-random per UE
PDN GW
SGW
MME
UE
61
Courtesy:Morley Mao
62
Delay: 2s
Tail Time
Courtesy: Feng Qian
Channel
Radio
Power
IDLE
Not
allocated
Almost
zero
CELL_FA
CH
Shared,
Low
Speed
Low
CELL_DC
Dedicate
High
63
64
65
Security
KEY hierarchy
AuC
SGi
HSS
PDN GW
S5
AKA procedure
SGW
MME
S11
S1-U
S1-CP
eNodeB
UE
USIM
Source: 33.401
Security architecture
AuC Authentication Centre
AKA Authentication and Key Agreement
NH Next Hop
Courtesy: Zoltn Turnyi
Authentication at initial
attach
UE
eNodeB
1: Attach Request
(GUTI or IMSI)
MME
PDN GW
HSS
old MME
2: Identity Request
(GUTI)
3: Identity Response
(IMSI)
4: Identity Request
(GUTI)
5: Identity Response
(IMSI)
7: KASME
computed
SGW
17: KeNB
received
18: Attach Accept
19: KeNB
computed
GGSN
First-hop router
GW towards external PDNs
VPN support over Gi
IP address management
Policy Control
SGSN
IuPS
RNC
Iub
NodeB
UE
HSS
PDN GW
S5
Gn/Gp
Manage CN procedures
HSS connection (authenticator)
Idle mode state
Lawful Intercept
Bearer management
AuC
SGi
SGW
No UP ciphering!
MME
S11
S1-U
S1-CP
UP Ciphering
eNodeB
Header Compression
L1
HSPA scheduling
RAN
UP ciphering
UE
USIM
S1 UP security
AuC
SGi
HSS
PDN GW
S5
SGW
IPsec tunnel
MME
S11
S1-U
S1-CP
eNodeB
UP ciphering
UE
USIM
handover
UE
source eNB
target eNB
MME
SGW PDN GW
User Data
1: Measurement
report
2: Handover decision
3: Handover
Request
{NH, NCC}
4: Allocate TEID
6: handover
command
5: Handover
Request Ack
7: SN Status
Transfer
User Data
buffer DL data
8: Sync+RRC complete
User Data
9: Path Switch
Request
User Data
end marker
stop fw
stop fw
QoS architecture
Money
People are (somewhat more) willing to pay
There is an infrastructure to charge
Service and price differentiation happens
Bearers
A bearer is a L2 packet transmission
channel
SGi
PDN-GW
HSS
S5
UE
Bearers
IP microflows
A set of
IP microflows
External networks
PDN 1
PDN
connection
APN
traffic
Terminal
traffic
PDN 2
APN1 SGi
default
bearer
All traffic of a UE
SGi APN2
PDN GW PDN GW
SGW
MME
eNodeB
UE
Conceptual difficulties
QoS must be authorized and charged
QoS can only be effectively decided in the face of its price
Source: 24.008
Core network protocols; Stage 3
1. Session setup
App
LTE
UE
3. Bearer
setup
App
LTE + EPC
2. Request QoS
Network
Makes no resource
decisions
App
Rx
SGi
PCRF
PDN GW
Gx
S5
SGW
MME
S11
S1-U
S1-MME
eNodeB
UE
Courtesy: Zoltn Turnyi
23.401
PCRF
vPCRF
Filters
Serving
GW
GTP signalling
S8-GTP
S1-GTP
PDN
GW
Filters
Filters
GTP signalling
Serving
GW
Filters
hPCRF
Gx
Gxc
Gx
S1-GTP
S9
S8-PMIP
PDN
GW
Filters
What Is Next?
LTE Evolution
LTE-A meeting and exceeding IMTAdvanced requirements
Carrier aggregation
Enhanced multi-antenna support
LTE-C
Relaying
Rel-13
Enhancements for heterogeneous
LTE-B
deployments
Rel-12
Rel-14
LTE-A
Rel-11
LTE
Rel-10
Rel-9
Rel-8
LTE Evolution
LTE-B
Work starting fall 2012
Topics (speculative)
Device-to-device communication
LTE-C
Enhancements for machine-to-machine
Rel-13
communication
LTE-B
Green networking: reduce energy useRel-12
LTE-A
And more
Rel-11
Rel-14
LTE
Rel-10
Rel-9
Rel-8
A Clean-Slate Design:
Software-Defined Cellular
Networks
87
UE 1
UE: user
equipment
eNodeB 1
eNodeB: base
station
Cellular Core Network
S-GW: serving
gateway
P-GW: packet
Scalability challenges data
at P-network
eNodeB 2
gateway
GW on charging and policy
S-GW 1 enforcement!
eNodeB 3
UE 2
S-GW 2
GTP Tunnels
P-GW
Internet and
Other IP Networks
88
User
Equipme
nt (UE)
Home
Subscriber
Server
(HSS)
Policy
Control and
Charging
Rules
Function
(PCRF)
Base
Serving
Station
(eNodeB)
Gateway
(S-GW)
Problem with
Intertechnology
(e.g. 3G to LTE)
handof
Problem of
inefficient radio
resource
allocation
Packet Data
Network
Gateway
(P-GW)
89
90
eNodeB 1
eNodeB 2
UE 1
SDN Switch
eNodeB 3
UE 2
Path setup for UE
by SDN controller
Internet and
Other IP Networks
91
eNodeB 2
UE 1
eNodeB 3
UE 2
Path setup for UE
by SDN controller
Internet and
Other IP Networks
92
Rule
Action
Stats
Packet + byte counters
MAC
dst
Eth
type
VLAN
ID
IP
Src
IP
Dst
IP
Prot
TCP
sport
TCP
dport
93
Seamless Subscriber
Mobility
UE 1
UE 2
SDN provides
a common
eNodeB 1
control
protocol
works across
different
X+1-Gen Cellular Network
cellular
eNodeB 2
technologies
Forwarding
X-Gen Cellular Network
rules can be
pushed to
switches in
Internet
and
parallel
eNodeB 3
SDN Switch
SDN
Control
Plane
Other IP Networks
94
eNodeB 2
LTEs PCEF is
centralized at
P-GW which is
Access policy checked inflexible
In SDN switches distributedly
UE 1
SDN Switch
eNodeB 3
UE 2
Internet and
Other IP Networks
95
Virtual Operators
Flexible network virtualization by slicing flow space
eNodeB 1
Virtual
Operator(V
O)
(Slice 1)
VO1
eNodeB 2
Virtual
Operator
(Slice N)
UE 1
VO2
SDN Switch
eNodeB 3
UE 2
Virtual
operators may
want to
innovate in
mobility,
billing,
charging, radio
access
Internet and
Other IP Networks
96
Inter-Cell Interference
Management
Central base station control: better interference management
eNodeB 1
eNodeB 2
Radio
Resour
ce
Manag
er
Network Operating
System: CellOS
LTE distributed
interference
management i
suboptimal
UE 1
SDN Switch
eNodeB 3
UE 2
Internet and
Other IP Networks
97
CellSDN Architecture
CellSDN provides scalable, fine-grain
real time control with extensions:
Controller: fine-grain policies on
subscriber attributes
Switch software: local control agents to
improve control plane scalability
Switch hardware: fine-grain packet
processing to support DPI
Base stations: remote control and
virtualization to enable flexible real time
radio resource management
CellSDN Architecture
(Contd)
98
Radio
Resour
ce
Manag
er
Mobilit
y
Manag
er
Subscrib
er
Informat
ion Base
Policy
and
Charging
Rule
Function
Infrastruct
ure
Routin
g
Translates policies on
subscriber attributes to
rules on packet header
SCTP instead of TCP to
avoid head of line blocking
Cell
Agent
Radio
Hardw
are
Cell
Agent
Packet
Forwardi
ng
Hardwar
e
Cell
Agent
Packet
Forwardi
ng
Hardwar
e
Offloading controller
actions, e.g. change priority
if counter exceed threshold
DPI to packet classification
based on application
99
CellSDN Virtualization
Network
OS
(Slice 1)
Network
OS
(Slice 2)
Network
OS
(Slice N)
Cell
Agent
Packet
Forwardi
ng
Hardwar
e
Cell
Agent
Packet
Forwardi
ng
Hardwar
e
100