Mobile Operating Systems

Slides:



Advertisements
Similar presentations
MHK200 Module 1: Introduction to Windows CE. MHK200 Overivew Windows CE Design Goals Windows CE Architecture Supported Technologies, Libraries, and Tools.
Advertisements

Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
Mobile Computing Advantages and limitations of mobile computing
Mobil game : A mobile game is a video game played on a mobile phone, smartphone, PDA, handheld computer or portable media player Type of language writing.
What is Android?.
Introduction to Android Mohammad A. Gowayyed CS334-Spring 2014.
Android Platform Overview (1)
Objectives Overview Define an operating system
J2ME 25 July Overview  What is J2ME?  The CLDC and CDC configurations  MIDP and MIDlets  Development Tools  Demonstrations.
UNDERSTANDING JAVA APIS FOR MOBILE DEVICES v0.01.
Student Name: Group.  Developed by Microsoft  Alliance with Nokia in 2011  4 main functions:  Outlook Mobile  Windows Media Player for Windows Mobile.
Mobile Mobile OS and Application Team: Kwok Tak Chi Law Tsz Hin So Ting Wai.
DEPARTMENT OF COMPUTER ENGINEERING
ANDROID OPERATING SYSTEM Guided By,Presented By, Ajay B.N Somashekar B.T Asst Professor MTech 2 nd Sem (CE)Dept of CS & E.
Mobile Application Development
V0.01 © 2009 Research In Motion Limited Understanding Java APIs for Mobile Devices Trainer name Date.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department.
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
Introduction to Android Platform Overview
Symbian os with smart phones Guided by: Hetal A Josiyara
Computer for Health Sciences
Android Introduction Platform Overview.
Programming mobile devices Part II Programming Symbian devices with Symbian C++
Operating Systems Operating System
Your Interactive Guide to the Digital World Discovering Computers 2012.
Android Introduction Based on slides made by
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
Framework and application bytecode size CLDC MIDP kXML parser Utility classes Graphics Logic (MIDlet) Application Data (XML file)
Computer Science Wi-Fi App using J2ME and MVC Architecture Advisor : Dr. Chung-E Wang Department of Computer Science Sacramento State University Date:
CHAPTER FOUR COMPUTER SOFTWARE.
Introduction to Interactive Media Interactive Media Tools: Software.
J2ME Presented by May Sayed & Menna Hawash. Outline Introduction “Java Technology” Introduction “What is J2ME?” J2ME Architecture J2ME Core Concepts 
Java 2 Micro Edition (J2ME) and the world of java
ANDROID 응용 프로그래밍 과정 – 목차 - 안드로이드란 - 안드로이드가 만들어지게 된배경 - 안드로이드의 철학 - 안드로이드 환경설정 ( SDK download, eclipse plug-in 설정, 간단한 프로그램 실행 ) - 안드로이드 동작원리 - 안드로이드 핵심.
1Basics of J2ME. 2 Objectives –Understand the different java API’s and how the mobile edition API’s fit in –Understand what a mobile configuration and.
Introduction to Windows XP Professional
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Foundation year Lec.3: Computer SoftwareLec.3: Computer Software Lecturer: Dalia Mirghani Year: 2014/2015.
Created By. Jainik B Patel Prashant A Goswami Gujarat Vidyapith Computer Department Ahmedabad.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
System Programming Basics Cha#2 H.M.Bilal. Operating Systems An operating system is the software on a computer that manages the way different programs.
The Whole new Experience - By Mahesh Chauhan. Its sounds strange but the fact is that :-  More than 90% of the CPUs in the world are not in desktops.
1 Android Workshop Platform Overview. 2 What is Android?  Android is a software stack for mobile devices that includes an operating system, middleware.
Analysis And Research Of System Security Based On.
Android operating system N. Sravani M. Tech(CSE) (09251D5804)
By : Abhishek Verma Main Topics : 1. Introduction 2. Platform 3. Software Development 4. Overall Evaluation.
By Adam Reimel. Outline Introduction Platform Architecture Future Conclusion.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
 This work confers an application which makes possible to use a Bluetooth enabled mobile phone to remote control home appliances such electric fan, LEDs.
1 Mobile Operating Systems BY:- Aashish Uppal CSE-1/7 th Sem (63/ )
Google. Android What is Android ? -Android is Linux Based OS -Designed for use on cell phones, e-readers, tablet PCs. -Android provides easy access to.
The Java Platform Micro Edition Java ME
Introduction to Operating Systems Concepts
Computer System Structures
Android Mobile Application Development
Visit for more Learning Resources
MOBILE DEVICE OPERATING SYSTEM
Wireless Instant Messaging Using J2ME
Contents: Introduction Different Mobile Operating Systems
Instructor: Zhe He Department of Computer Science
Symbian Operating System
Chapter 2: The Linux System Part 1
Chapter 3 Hardware and software 1.
Chapter 3 Hardware and software 1.
Java Programming Introduction
Android Introduction Platform Mihail L. Sichitiu.
Outline Operating System Organization Operating System Examples
Presentation transcript:

Mobile Operating Systems Week I

Overview Introduction Mobile Operating System Structure Mobile Operating System Platforms Java ME Platform Palm OS Symbian OS Linux OS Windows Mobile OS BlackBerry OS iPhone OS Google Android Platform http://cmer.cis.uoguelph.ca 2 2

OS Features Features Multitasking Scheduling Memory Allocation File System Interface Keypad Interface I/O Interface Protection and Security Multimedia features http://cmer.cis.uoguelph.ca 3 3

Introduction Design and capabilities of a Mobile OS (Operating System) is very different than a general purpose OS running on desktop machines: mobile devices have constraints and restrictions on their physical characteristic such as screen size, memory, processing power and etc. Scarce availability of battery power Limited amount of computing and communication capabilities http://cmer.cis.uoguelph.ca 4 4

Introduction (Cont.) Thus, they need different types of operating systems depending on the capabilities they support. e.g. a PDA OS is different from a Smartphone OS. Operating System is a piece of software responsible for management of operations, control, coordinate the use of the hardware among the various application programs, and sharing the resources of a device. http://cmer.cis.uoguelph.ca 5 5

Operating System Structure A mobile OS is a software platform on top of which other programs called application programs, can run on mobile devices such as PDA, cellular phones, smartphone and etc. Applications OS Libraries Device Operating System Base, Kernel Low-Level Hardware, Manufacturer Device Drivers http://cmer.cis.uoguelph.ca 6 6

Mobile Operating System Platforms There are many mobile operating systems. The followings demonstrate the most important ones: Java ME Platform Palm OS Symbian OS Linux OS Windows Mobile OS BlackBerry OS iPhone OS Google Android Platform http://cmer.cis.uoguelph.ca 7 7

Java ME Platform J2ME platform is a set of technologies, specifications and libraries developed for small devices like mobile phones, pagers, and personal organizers. Java ME was designed by Sun Microsystems. It is licensed under GNU General Public License http://cmer.cis.uoguelph.ca 8 8

Java ME Architecture Java ME platforms are composed of the following elements: Application Profile Optional Packages Vendor specific classes - OEM Configuration Native Operating System Device/ Hardware http://cmer.cis.uoguelph.ca 9 9

Java ME Main Components Configuration: it defines a minimum platform including the java language, virtual machine features and minimum class libraries for a grouping of devices. E.g. CLDC Profile: it supports higher-level services common to a more specific class of devices. A profile builds on a configuration but adds more specific APIs to make a complete environment for building applications. E.g. MIDP http://cmer.cis.uoguelph.ca 10 10

Java ME Optional Package: it provides specialized service or functionality that may not be associated with a specific configuration or profile. The following table lists some of the available packages: Packages Description JSR 75 - PIM PDA Package JSR 82 - BTAPI Java APIs for Bluetooth JSR 120 - WMA Wireless Messaging API JSR 172 J2ME Web Service JSR 179 Location API for J2ME http://cmer.cis.uoguelph.ca 11 11

Device Characteristics Java ME Platforms It includes two kinds of platforms: High-end platform for high-end consumer devices. E.g. TV set-top boxes, Internet TVs, auto-mobile navigation systems Low-end platform for low-end consumer devices. E.g. cell phones, and pagers Platforms Device Characteristics “High-End” consumer devices a large range of user interface capabilities • total memory budgets starting from about two to four megabytes • persistent, high-bandwidth network connections, often using TCP/IP “Low-end” consumer devices simple user interfaces minimum memory budgets starting from about 128–256 kilobytes low bandwidth, intermittent network connections that is often not based on the TCP/IP protocol suite. • most of these devices are battery-operated http://cmer.cis.uoguelph.ca 12 12

Java ME Platforms (Cont.) The following figures demonstrate the elements of these two types of platforms: Personal Profile MIDP Foundation Profile CLDC CDC KVM JVM Fig.1- Low-end consumer device platform architecture Fig.2- High-end consumer device platform architecture http://cmer.cis.uoguelph.ca 13 13

Java ME CLDC We focus on “Low-end” consumer devices: CLDC configuration address the following areas: Java language and virtual machine features Core Java libraries CLDC Specific Libraries (Input/output & Networking) Internationalization: There is a limited support for converting Unicode characters to and from a sequence of bytes. Security: CLDC addresses the following topics to security At the low-level the virtual machine security is achieved by requiring downloaded Java classes to pass a class file verification step. Applications are protected from each other by being run in a closed “sandbox” environment. Classes in protected system packages cannot be overridden by applications. http://cmer.cis.uoguelph.ca 14 14

Java ME CLDC (Cont.) The entire CLDC implementation (static size of the K virtual machine + class libraries) should fit in less than 128 kilobytes. It guarantee portability and interoperability of profile-level code between the various kinds of mobile (CLDC) devices http://cmer.cis.uoguelph.ca 15 15

Palm OS Palm OS[1] is an embedded operating system designed for ease of use with a touchscreen-based graphical user interface. It has been implemented on a wide variety of mobile devices such as smart phones, barcode readers, and GPS devices. It is run on Arm architecture-based processors. It is designed as a 32-bit architecture. http://cmer.cis.uoguelph.ca 16 16

Palm OS Features The key features of Palm OS [1,2,3] are: A single-tasking OS: Palm OS Garnet (5.x) uses a kernel developed at Palm, but it does not expose tasks or threads to user applications. In fact, it is built with a set of threads that can not be changed at runtime. Palm OS Cobalt (6.0 or higher) does support multiple threads but does not support creating additional processes by user applications. Palm OS has a preemptive multitasking kernel that provides basic tasks but it does not expose this feature to user applications . http://cmer.cis.uoguelph.ca 17 17

Palm OS Features (Cont.) Memory Management: The Memory, RAM and ROM, for each Palm resides on a memory module known as card. In other words, each memory card contains RAM, ROM or both. Palms can have no card, one card or multiple cards. Expansion support[3]: This capability not only augments the memory and I/O , but also it facilitates data interchanges with other Palm devices and with other non-Palm devices such as digital cameras, and digital audio players. Handwriting recognition input called Graffiti 2 http://cmer.cis.uoguelph.ca 18 18

Palm OS Features (Cont.) HotSync technology for synchronization with PC computers Sound playback and record capabilities TCP/IP network access Support of serial port, USB, Infrared, Bluetooth and Wi-Fi connections Defined standard data format for PIM (Personal Information Management) applications to store calendar, address, task and note entries, accessible by third-party applications http://cmer.cis.uoguelph.ca 19 19

Palm OS Features (Cont.) Security model: Device can be locked by password, arbitrary application records can be made private [2] Palm OS Cobalt include a certificate manager. The Certificate Manager handles X.509 certificates[3]. http://cmer.cis.uoguelph.ca 20 20

Symbian OS Symbian OS is 32 bit, little-endian operating system, running on different flavors of ARM architecture[4]. It is a multitasking operating system and very less dependence on peripherals. Kernel runs in the privileged mode and exports its service to user applications via user libraries. http://cmer.cis.uoguelph.ca 21 21

Symbian OS Structure User libraries include networking, communication, I/O interfaces and etc. Access to these services and resources is coordinated through a client-server framework. Clients use the service APIs exposed by the server to communicate with the server. The client-server communication is conducted by the kernel. http://cmer.cis.uoguelph.ca 22 22

Symbian OS Structure (Cont.) The following demonstrates the Symbian OS architecture[5]: Symbian OS Libraries KVM Application Engines Servers Symbian OS Base- Kernel Hardware http://cmer.cis.uoguelph.ca 23 23

Symbian OS Features Real-time: it has a real-time, multithreaded kernel. Data Caging [6]: it allows applications to have their own private data partition. This feature allows for applications to guarantee a secure data store. It can be used for e-commerce applications, location aware applications and etc. Multimedia: it supports audio, video recording, playback and streaming, and Image conversion. http://cmer.cis.uoguelph.ca 24 24

Symbian OS Features (Cont.) Platform Security [6]: Symbian provides a security mechanism against malware. It allows sensitive operations can be accessed by applications which have been certified by a signing authority. In addition, it supports full encryption and certificate management, secure protocols ( HTTPS, TLS and SSL) and WIM framework. http://cmer.cis.uoguelph.ca 25 25

Symbian OS Features (Cont.) Internationalization support: it supports Unicode standard. Fully object-oriented and component- based Optimized memory management Client- server architecture [6]: described in previous slides, it provides simple and high-efficient inter-process communication. This feature also eases porting of code written for other platforms to Symbian OS. http://cmer.cis.uoguelph.ca 26 26

Symbian OS Features (Cont.) A Hardware Abstraction Layer (HAL): This layer provides a consistent interface to hardware and supports device-independency Kernel offers hard real-time guarantees to kernel and user mode threads. http://cmer.cis.uoguelph.ca 27 27

Embedded Linux OS It is known as Embedded Linux which is used in embedded computer systems such as mobile phones, Personal Digital Assistants, media players and other consumer devices. In spite of Linux operating system designed for Servers and desktops, the Embedded Linux is designed for devices which have relatively limited resources such as small size of RAM, storage, screen, limited power and etc. Then, they should have an optimized kernel. http://cmer.cis.uoguelph.ca 28 28

Embedded Linux OS It is a Real-Time Operating System (RTOS). It meets deadlines and switch context It has relatively a small footprint. Today, mobile phones can ship with a small memory. Thus, OS must not seek to occupy a large amount of available storage. It should have a small foot print. Theoretically, they deploy in a footprint of 1MB or less. It is open source. It has no cost for licensing. Examples: Motorola Mobile phones such as RAZR V8, RAZR V9, A1200 are based on MontaVista Linux. http://cmer.cis.uoguelph.ca 29 29

Embedded Linux OS ARM and MIPS structures [7]: Embedded CPU architectures like ARM and MIPS offer small instruction sets and special execution modes that shrinks application size and consequently generates smaller code. http://cmer.cis.uoguelph.ca 30 30

Windows Mobile OS Windows Mobile is a compact operating system designed for mobile devices and based on Microsoft Win32. It is run on Pocket PCs, Smartphones and Portable media centers. It provides ultimate interoperability. Users with various requirements are able to manipulate their data. http://cmer.cis.uoguelph.ca 31 31

Google Android Platform It is a platform and an operating system for mobile devices based on the Linux operating system. It allows developers design applications in a java-like language using Google-developed java libraries. It supports a wide variety of connectivity such as GSM, WiFi, 3G, … The Operating system has not been implemented yet (Feb, 2008). Several prototypes have been proposed. http://cmer.cis.uoguelph.ca 32 32

Google Android Platform Android architecture: http://code.google.com/android/what-is-android.html http://cmer.cis.uoguelph.ca 33 33

Google Android Platform As demonstrated in the previous slide, the Android platform contains the following layers: Linux Kernel: Android relies on Linux for core system services such as security, memory management, process management and etc. Android [7] Runtime: it provides a set of core libraries which supports most of the functionality in the core libraries of Java. The Android Virtual Machine known as Dalvik VM relies on the linux kernel for some underlying functionality such as threading,… http://cmer.cis.uoguelph.ca 34 34

Google Android Platform Libraries: Android 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. For more details, please visit the following link: http://code.google.com/android/what-is-android.html Application Framework: it provides an access layer to the framework APIs used by the core applications. It allows components to be used by the developers. http://cmer.cis.uoguelph.ca 35 35

iPhone OS iPhone OS is an operating system run on iPhone and iPod. It is based on Mach Kernel and Drawin core as Mac OS X. The Mac OS X kernel includes the following component: Mach Kernel BSD I/O component File Systems Networking components http://cmer.cis.uoguelph.ca 36 36

iPhone OS The following is Mac OS X Architecture [8]: Classic Carbon Cocoa JDK BSD QuickTime Application Services Core Services Kernel Environment http://cmer.cis.uoguelph.ca 37 37

iPhone OS Mac OS X has a preemptive multitasking environment. Preempting is the act of taking the control of operating system from one task and giving it to another task. It supports real-time behavior. In Mac OS X, each application has access to its own 4 GB address space. http://cmer.cis.uoguelph.ca 38 38

iPhone OS Not any application can directly modify the memory of the kernel. It has a strong mechanism for memory protection. For more details about kernel architecture, please visit the following link: http://developer.apple.com/documentation/Darwin/Conceptual/KernelProgramming/Architecture/Architecture.html http://cmer.cis.uoguelph.ca 39 39

BlackBerry OS BlackBerry OS will be discussed in Week II slides. http://cmer.cis.uoguelph.ca 40 40

References [1] Palm OS, http://en.wikipedia.org/wiki/Palm_OS [2] Palm OS is a multitasking operating system. How can I create a task?, http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=72 [3] Palm OS Programmer’s companion- Volume I, http://www.access-company.com/developers/documents/docs/palmos/PalmOSCompanion/CompanionTOC.html [4] Mobile Operating Systems, http://dsonline.computer.org/portal/site/dsonline/menuitem.9ed3d9924aeb0dcd82ccc6716bbe36ec/index.jsp?&pName=dso_level1&path=dsonline/topics/os&file=MobileOS.xml&xsl=article.xsl&##archives [5] Symbian OS, http://images.google.ca/imgres?imgurl=http://wiki.forum.nokia.com/images/7/77/Symbian_OS_Structure.png&imgrefurl=http://wiki.forum.nokia.com/index.php/Symbian_OS&h=260&w=467&sz=10&hl=en&start=45&sig2=Hx5G5bWIQo_Hc3_kni4lgw&um=1&tbnid=PeArbbX9LhuMaM:&tbnh=71&tbnw=128&ei=ZStJSIKCNaLGgwKe09nXAw&prev=/images%3Fq%3Dmobile%2Boperating%2Bsystem%2Bstructure%26start%3D36%26ndsp%3D18%26um%3D1%26hl%3Den%26sa%3DN [6] Symbian OS, http://www.symbian.com/files/rx/file6965.pdf [7] Mobile Phones, the Embeded Linux Challenge, http://www.linuxjournal.com/article/8762 [8] iPhone SDK, http://cssinnovations.blogspot.com/2008/05/iphone-sdk-iphone-sdk-was-officially.html http://cmer.cis.uoguelph.ca 41 41