25
Operating Systems for Wireless Mobile Devices Dr. Tal Lavian http://cs.berkeley.edu/~tlavian [email protected] UC Berkeley Engineering, CET Week #5 Why the OS matter?

Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian [email protected] UC Berkeley Engineering, CET Week

Embed Size (px)

Citation preview

Page 1: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

Operating Systems for Wireless Mobile Devices

D r. Ta l L a v i a nh t t p : / / c s . b e r k e l e y. e d u / ~ t l a v i a n

t l a v i a n @ c s . b e r k e l e y. e d uU C B e r k e l e y E n g i n e e r i n g , C E T

We e k # 5

Why the OS matter?

Page 2: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

2

Focus of the class today!

Operating System

Semiconductor and

Electronics

Display (Touchscreen

)

Qwerty keyboard

Materials science

Page 3: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

3

Why is Mobile OS Different?(from a desktop operating system)

Constraint and

Restrictions on Physical

size*

Scarce availability of

battery power

Limited computing

and communicati

on capabilities

*Screen size Processing power Memory

Page 4: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

4

What does Mobile OS do?

•Provides management of operations and control•Coordinates the use of hardware for application programs•Shares the resources of a device

http://cmer.cis.uoguelph.ca

Mobile OS Structure

Page 5: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

5

Mobile OS Features

Multitasking

Scheduling

Memory Allocation

File System

Interface

Keypad Interface

I/O Interface

Protection and

Security

Multimedia Features

http://cmer.cis.uoguelph.ca

Page 6: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

6

Mobile OS for Smartphones – Market share

46%

31%

17%

5%1%

AndroidiOSBlackberryWindows PhoneSymbian

(Source: Market Research 2011)

Page 7: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

7

Market share – most recent data

(Credit: comScore)http://www.zdnet.com/smartphone-operating-systems-the-rise-of-android-the-fall-of-windows-7000011004/

Page 8: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

8

Market share – most recent data

(source: Wikipedia Feb 2013)

Page 9: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

9

Mobile OS – Who is Number 3?

http://www.zdnet.com/smartphone-operating-systems-the-rise-of-android-the-fall-of-windows-7000011004/

The new and coming contenders for third place in 2013 will be Firefox OS, Sailfish OS, Tizen, and Ubuntu. 

Page 10: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

10

Android Mobile OS

http://cmer.cis.uoguelph.ca

Distributed under Apache License

Created by Android Inc., as part of Google in 2005

Development is Open Source; source code is

publicly available

Programmers are welcome to

contribute via Software

Development Kit (SDK)

Linux Kernel

Java-based application framework

Page 11: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

11

Android Mobile OS - Architecture

http://code.google.com/android/what-is-android.html

Page 12: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

12

Android Mobile OS – Architecture (Contd.)

• For core system services such as security, memory management, and process management.

Linux kernel

• Set of core libraries which supports Java functionality

• The Android Virtual Machine known as Dalvik VM

• Relies on the Linux kernel for underlying functionality such as threading,…

Runtime

Page 13: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

13

Android Mobile OS – Architecture (Contd.)

• Includes a set of C/C++ libraries. These libraries are exposed to developers through the Android application framework. They include media libraries, system C libraries, surface manager, 3D libraries, SQLite and etc.

Libraries

• An access layer to the framework APIs used by the core applications.

• It allows components to be used by the developers.

Application

Framework

Source: http://code.google.com/android/what-is-android.html

Page 14: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

14

iPhone OS

BSD File Systems

I/O systems Networking components

Based on Mach kernel and Drawin Core as Mac

OS X

http://developer.apple.com/documentation/Darwin/Conceptual/KernelProgramming/Architecture/Architecture.html

Page 15: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

15

Mac OS X Architecture

Multitasking

Pre-emptive, i.e. act of taking the control of operating system from one task and giving it to another

task.

Real-time Strong memory protection

Each application has

4GB space

http://developer.apple.com/documentation/Darwin/Conceptual/KernelProgramming/Architecture/Architecture.html

Page 16: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

16

Windows Mobile OS

Today’s screen shows the

current date, owner info and

upcoming appointments

Task bar shows current time and

volume

Office Mobile – a suite of office applications

(mobile version)

Outlook Mobile

Internet Explorer Mobile

Windows media player

Page 17: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

17

Types of Windows Mobile OS

•Windows Mobile Classic Devices (Pocket PC)•Windows Mobile Smartphones•Windows Mobile 2003•Windows Mobile 2003 SE•Windows Mobile 5•Windows Mobile 6•Windows Mobile 6.5.1•Windows Mobile 6.5.3•Windows Mobile 6.5.5 •Windows Phone 7

Windows Mobile 6.5 is based on Windows CE 5.2 kernel

Even screen hardware is different for different OS

Mobile professional runs with touchscreen Mobile Standard runs with regular screensMobile Classic runs with Windows Mobile Classic devices (Pocket PCs)

http://www.authorstream.com/Presentation/aSGuest89856-889448-mobile-operating-system/

Page 18: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

18

BlackBerry Z10

Proprietary mobile OS based on

QNX

Page 19: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

19

BlackBerry Z10 and Q10

http://ca.blackberry.com/smartphones/blackberry-z10.html?LID=ca:bb:devices:blackberryz10:getdetails&LPOS=ca:bb:devices

Page 20: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

20

BlackBerry OS

Multi-tasking

Specialized input devices

including touchscreen

Wireless activation and

synchronization

Enterprise email and

contact with enterprise

servers

http://www.qnx.com/products/neutrino-rtos/neutrino-rtos.html

Page 21: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

21

Microsoft’s Approach to Smartphone Patent

Microsoft has approached smartphone patents from a different angle than many others

Things to keep in mind: Microsoft has many software patents that courts

could potentially deem read upon by the Android OS

Suing for patent infringement is A) costly B) no way to make friends

Page 22: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

22

Microsoft’s Approach (Contd.)

Microsoft has chosen to pursue de facto licensing arrangements in lieu of litigation

Instead of suing manufacturers of Android devices for software infringement, has agreed to not sue OEM so long as they pay royalties to Microsoft

Such deals exemplify yet another means companies have for making money from their IP

Page 23: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

23

Microsoft’s Approach (Contd.)

Page 24: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

24

Microsoft’s Approach (Contd.)

Microsoft has litigated: Motorola

Software patents for email Barnes & Noble

Android OS on Nook ebook reader Foxconn

Android OS Inventec

Android OS

Microsoft hasn’t litigated nearly as

much as some other companies.Why might that

be?

Page 25: Operating Systems for Wireless Mobile Devices Dr. Tal Lavian tlavian tlavian@cs.berkeley.edu UC Berkeley Engineering, CET Week

25

Homework for next week

By Friday Midnight: Two blog posts on Operating Systems for Wireless Mobile

devices (3-unit students – additional two YouTube clips)

By Sunday Midnight: Two comments on this week blog posts, AND two

comments on the YouTube video clips. (3-units students, additional four comments on

YouTube video clips)