Академический Документы
Профессиональный Документы
Культура Документы
Location Area 3
(locating & Paging
area)
Review 1G and 2G Mobile Station
What are the important characteristics of 1G & 2G MS?
Size/weight
Material cost
Talk-time/standby-time
Component count
What is a SIM card?
Subscriber Identity Module
In general terms, a SIM card is a smart card-like device that identifies
a user (account)
In Cellular Mobile Systems (started in GSM system first) and may be
transferred between devices.
SIM card often refers to both SIM hardware and software.
Before GSM, the subscriber identity was built-in to the mobile
phone.
Review SIM
Subscriber Identity Module
In general terms, a SIM card is a smart card-like device that identifies a user
(account) in a GSM system and may be transferred between devices.
SIM card often refers to both hardware and software.
In 3G UMTS system, the functionality of SIM has been enhanced and the
name has been changed to Universal Integrated Circuit Card (UICC).
In CDMA system, it is called R-UIM (Removable User Identity Module)
Camera Apps
Bluetooth Middleware Modem
AT cmds
GPS
Baseband Rx/Tx
RIL serial,
Display OS Kernel UART, radio stack
shared
SIM
Keyboard App Processor memory Baseband processor Card
Display
Processor
s
Size/Weight Battery
Power
Consumption
Expansion Material Cost/
Slot Flash
Total Cost Storage
Usability
Camera
Quality/ Memory
Quantity
Review Mobile Device Constraints
Processor Constraints
Faster frequency processors are not power efficient
CPU needs to be power efficient, even in standby
Integrated GPU preferred to minimize the die space
Mobile market largely (>90%) dominated by ARM
o Apple, Qualcomm, NVIDIA, Samsung all license ARM
Storage Constraints
Mobile devices use flash, rather than hard disks
Draw back of flash: write is slower and erodes the device
Memory Constraints
Devices do not have swap
Sum of all virtual memory cannot exceed physical RAM
No Expansion slots: sold as-is
Mobile OS
Smartphone OS Competitive Landscape
iPhone OS (Apple) Window Phone (Microsoft) Android (Google)
44%
2014 Q4 Market 17% 20%
Share
Powerful Free OS
distribution channel
A p p l i c a t i o n Framework
Window View Notification
Activity Manager Manager Content Providers System Manager
Telephony Location
Package Manager Manager Resource Manager Manager
Li braries A n d r o i d Runtime
Surface Manager Media Framework SQLite Core Libraries
Linux K e r n e l
Shared Memory
Display Driver Camera Driver Bluetooth Driver Driver Binder (IPC) Driver
Audio Power
USB Driver Keypad Driver WiFi Driver Drivers Management
Linux Kernel Enhancement for Android
Binder (IPC)
o IPC can introduce significant processing overhead and security holes
o Binder has additional features that sockets don't have: passing file
descriptors across processes
o Pipes cannot perform RPC (Remote Procedure Call)
o Object reference counting, Object mapping
o Binder has elaborate data referencing policies, it is not a simplistic
kernel driver
Power management
o Built on top of standard Linux PM
o Enhancement added to save the battery power more aggressively; CPU
(Application Processor) shouldn't consume power if no applications or
services require power
o Applications and services request CPU resources with "wake locks" through the
Android application framework and native Linux libraries.
o If there are no active wake locks, Android will shut down the CPU
Native Library and VM
libc
o C/C++ libraries; Low level computation intensive library
o Custom and optimized for embedded mobile device
o Keep GPL out of user code (Copy-Left clause in GPL)
o Will be loaded in each process; need to be small in footprint and fast
o Based on Bionic libc; BSD License
o All native code must be compiled against libc
Dalvik Virtual Machine
o The Dalvik Virtual Machine (DVM) is an android virtual machine optimized for mobile
devices. It optimizes the virtual machine for memory, battery life and performance.
o The DVM provides application portability and runtime consistency throughout
various hardware platforms
o Optimization of memory use; Runs optimized file format (.dex) and Dalvik byte
code
Compact and efficient than java .class files
Java .class/.jar files coverted to .dex at build time
o Supports multiple VM processes per device
Class file to Dex file Conversion
Android Application Components
An Android APK is a collection of components
Every Android component has a managed lifecycle
Components share a set of resources: linux process, databases,
preferences, file space, etc.
Android Application Components
The following are the main Android application components:
o Process: Android process is the same as Linux process
o Activities: An Activity provides a screen with which users can interact in order to do
something, such as dial the phone, or take a photo. Each activity is given a window in
which to draw its user interface. Typically, one activity in an application is specified as
the "main" activity, which is presented to the user when launching the application for
the first time. Each time a new activity starts, the previous activity is stopped, but the
system preserves the activity in a stack (the "back stack").
o Services: A service is started by some other Component. A Service is an application
component that can perform long-running operations in the background and does not
provide a user interface. An Android component can bind to a service to interact with
it and even perform IPC
o Content Providers: Content providers manage access to a structured set of
data. Content providers are the standard interface that connects data in one
process with code running in another process.
o Intents: An Intent is a messaging object you can use to request an action
from another app component. Although intents facilitate communication
between components in several ways, there are three fundamental use-
cases: to start an activity, to start a service, and to deliver a broadcast.
Android
Activity Life
Cycle
http://developer.android.com/reference/
android/app/Activity.html#
Android Application Framework
Activity Manager: Manages the activity life cycle of applications
Content Providers: Manage the data sharing between applications
Telephony Manager: Manages all voice calls. We use telephony
manager if we want to access voice calls in our application.
Resource Manager: Manage the various types of resources such as
strings, color settings and user interface layouts which are used in
application
Location Manager: Location management, using GPS or cell tower
Application Framework (Contd)
View System: An extensible set of views used to create application user
interfaces.
Notification Manager: Allows applications to display alerts and
notifications to the user.
Package Manager: The system by which applications are able to find
out information about other applications currently installed on the device.
Window Manager: The Android WindowManager is a system service,
which is responsible for managing the z-ordered list of windows, which
windows are visible, and how they are laid out on screen. Among other
things, it automatically performs window transitions and animations when
opening or closing an app or rotating the screen
Review 3G UMTS
Goals set in early 1990s for 3G:
Internet in every pocket
Up to 2Mbps data rate
Peak data rate improvement
384 Kbps initially; 1.8~3.6 Mbps; later to 14.4 Mbps
Latency decreased from 200 ms to below 100ms
Services
Voice, Video telephony, SMS, MMS, Instant messaging,
Multimedia streaming, Mobile email, Browsing, App/Content
downloading, Gaming, Mobile broadband connectivity for
laptop, VPN, Social networking apps, Mobile TV, Location
based services, M2M, Voice mail/Audio messaging,
Review 3G Radio Access Technology
WCDMA: Wideband direct-sequence Code Division Multiple
Access
5MHz Channels
WCDMA Chip rate: 3.84 Mcps
Two modes: FDD and TDD
Processing gain is what gives CDMA systems the robustness
against self-interference (co-channel interference)
In CDMA system, reuse the available 5MHz carrier
frequencies over geographically close distances is possible.
Review 3G Radio Access Technology
WCDMA features
WCDMA is interoperable with GSM systems; handovers
between GSM and WCDMA supported
Service Multiplexing: Multiple services with different QoS
multiplexed on one connection
WCDMA supports highly variable user data rate; Bandwidth
on Demand
Soft handovers
Supports the operation of asynchronous base stations
No need to synchronize all base stations
Power control: tight and fast power control
o Downlink power control: 1500 times per second
Review 3G WCDMA
Standardization
Done by 3rd Generation Partnership Project (3GPP)
Website address: www.3gpp.org
3G UMTS Architecture
Base Station
Network Subsystem
Mobile Station Subsystem
Iu CS Other Networks
GSM
Legacy
MSC/ GMSC
TDMA BSC VLR PSTN
BTS
Radio ME
SIM
Network
UE RNS
New GGSN
SGSN
WCDMA Node RNC Internet
ME B
Radio USIM
Network
UTRAN
Iub CN
+
SD
Iu PS
Uu