© Oxford University Press 2007. All rights reserved. 1 Mobile Operating Systems Lesson 05 Windows CE─ Part 1
© Oxford University Press 2007. All rights reserved. 1
Mobile Operating Systems
Lesson 05Windows CE─ Part 1
© Oxford University Press 2007. All rights reserved. 2
Windows CE
• A 32 bit OS from Microsoft • Customized for each specific hardware
and processor in order to fine-tune the performance
• Compatible with a variety of processor architectures
• Compiled for a specific set of hardware, its performance is very finely tuned
© Oxford University Press 2007. All rights reserved. 3
Windows CE
• User─ personal-computer-like feel and Windows-like GUIs
• Large number of Windows-based applications available at the device
© Oxford University Press 2007. All rights reserved. 4
Windows CE 4.x
• Adds improved security, GUIs, VUIs, telephony libraries, and standard interfaces for access to the external SD cards for the files
© Oxford University Press 2007. All rights reserved. 5
Windows CE 5.x
• Supports a non-volatile file system using flash memory
• Flash nowadays used instead of persistent battery-backed RAM
© Oxford University Press 2007. All rights reserved. 6
Windows CE 5.x
• Windows CE supports a new file system that supports larger file sizes, removable media encryption, and larger storage media
• The flash file system saves the files and data in case the battery charge is draining out
© Oxford University Press 2007. All rights reserved. 7
Windows Embedded CE 6.0
• Open, scalable, 32-bit operating system (OS) with small-footprint and advanced Windows technologies
• Provides hard real-time capabilities, with a redesigned kernel and embedded-specific development tools
© Oxford University Press 2007. All rights reserved. 8
Windows Embedded CE 6.0 devices
• For home as well as work places• Provisions for media and shared
presentations• Connectivity to cellular networks
© Oxford University Press 2007. All rights reserved. 9
Windows Mobile 6 platform
• For mobile devices such as PocketPC• for managing Visual C# and Visual Basic
.NET codes• Based on Windows CE and hardware
such as personal digital assistants (PDAs) and smartphones
© Oxford University Press 2007. All rights reserved. 10
Windows Mobile 6 platform
• Microsoft Visual Studio 2005 • Windows Mobile SDK for creating
software for the platform• The code developed in Visual C++
© Oxford University Press 2007. All rights reserved. 11
Windows Mobile
• Windows CE 5.0 with a set of specific applications
• GUIs/VUIs and for a specific set of processors
• Windows Mobile 5.x all user data in persistent (flash) memory and RAM to be used only for running applications
• External memory stick (strip) (e.g., 2 GB)
© Oxford University Press 2007. All rights reserved. 12
Windows CE Memory
• Memory requirement large • Minimum footprint of Windows CE is 350
kB• Windows Mobile 5.x all user data in
persistent (flash) memory and RAM to be used only for running applications
• Scales to the requirement of the device peripherals
• Memory space partitioned
© Oxford University Press 2007. All rights reserved. 13
Processes in Windows CE
• Device based on CE 6.0 can run a larger number of complex applications and can run as many as 32,000 simultaneous processes
• Windows CE 6.0 provisions for each simultaneously running process─2 GB of virtual memory space
• Minimum footprint of Windows CE 350 kB
© Oxford University Press 2007. All rights reserved. 14
Thread
• Basic unit of computation• A process─ any number of threads• Threads run concurrently
© Oxford University Press 2007. All rights reserved. 15
Windows Mobile
• Deployed in (i) Smart phone, (ii) handheld PocketPC which features the digitizer in the human computer interface (HCI), and (iii) portable media player
• PDA with Microsoft Smartphone phone device, touch screen, touchpad, or directional pad
© Oxford University Press 2007. All rights reserved. 16
PocketPC
• Has digitization software which converts(i) analog signals to digital ones to enable
scanning of photos and video recordings for storage or transmission
(ii) audio analog sources into digital form to enable speech processing, voice, or music for creatring records and files which are stored or transmitted
© Oxford University Press 2007. All rights reserved. 17
Windows CE
• Kernel divided into two sublayers• One sublayer consists of large part of the
OS • Then the OS is adjusted according to the
device hardware by adding the remaining part of the OS
• Second sublayer called hardware abstraction layer
© Oxford University Press 2007. All rights reserved. 18
Windows CE
• Shared source licensed with controlled access to full or limited parts of the source code for a product
• Windows CE 5.x developers have the freedom to modify down to the kernel level without the need to share their changes with Microsoft or competitors
© Oxford University Press 2007. All rights reserved. 19
Windows CE
• A component-based, embedded, real-time operating system with deterministic interrupt latency
• Can be configured as a real-time operating system for handheld Smart phone, PocketPC, computers, and embedded systems
© Oxford University Press 2007. All rights reserved. 20
Windows CE
• Modular/componentized to provide the foundation of several classes of devices and supports addition of features of other components for Windows, DCOM, and COM
© Oxford University Press 2007. All rights reserved. 21
Windows CE
• Data format─ database or object file• File automatically compresses when
stored and decompresses when loaded• Visual C/C++ platform integrates use of
web• .NET XML parsing (trimmed version)
© Oxford University Press 2007. All rights reserved. 22
GUIs development support
• Using markup language as well as C/C++ language
• Embedded complex APIs • Gives the user a PC-like feel and
Windows-like GUIs (window resizing not provided)
© Oxford University Press 2007. All rights reserved. 23
VUIs development support
• Built-in microphone for voice recording• VUIs (in PocketPC and automotive PC),
buttons, shortcut icons, menus, scroll bar, dialogs, forms, and tables
© Oxford University Press 2007. All rights reserved. 24
Display
• High resolution colour/ display• Touch screen• Stylus keypad with Windows layout of
desktop programs displayed on coloured touch screen
© Oxford University Press 2007. All rights reserved. 25
Software
• Desktop for Windows• Other essential software• PIM• Contacts• Task-to-do• Smart phone• Multimedia applications such as playing
music
© Oxford University Press 2007. All rights reserved. 26
Desktop Programs
• Owner• Number of messages not read• Tasks• Present hour subject
© Oxford University Press 2007. All rights reserved. 27
Desktop Programs
• Button and tool bar for task start menu• Today calendar, contacts, Internet
explorer, messages, phone, pocket MSN, album, MSN messenger, camera, programs, settings, and help], phone mode indicator (on/off), signal strength status, speaker status (on/off), and time
© Oxford University Press 2007. All rights reserved. 28
Soft buttons
• Two context-sensitive soft buttons at the bottom of the screen
• Can be mapped to hardware buttons on any specific device
© Oxford University Press 2007. All rights reserved. 29
Ports
• USB and infrared port support for communication of a device with mobile phones and for synchronizing a PC using ActiveSync after resolving the conflicts due to different versions of object files during data exchange.
• Bluetooth • TCP/IP• WiFi or Ethernet LAN interface
© Oxford University Press 2007. All rights reserved. 30
ActiveSync
• Synchronization of mobile device data with PC using a USB, Bluetooth, and PC infrared port
© Oxford University Press 2007. All rights reserved. 31
Connectivity to other devices
• A cradle connects to PC• USB 2.0 in Windows CE 5.0 PocketPC
conform as the USB mass storage class, the storage on device can be accessed, and drag and drop menu can be used from any USB port of PC, which considers the handheld device just another flash drive
© Oxford University Press 2007. All rights reserved. 32
Third party support
• Very large support (about 20000) for games, applications, mobile e-commerce, and stock-trading
© Oxford University Press 2007. All rights reserved. 33
Window CE device three states
(i) ON with clock frequency lowered in idle state
(ii) suspend with power to unused system units and port peripherals disconnected, memory data persistent, CPU idle till next interrupt, and clock running
(iii) dead with power disconnected
© Oxford University Press 2007. All rights reserved. 34
Windows CE deficiencies
• Cooperative running of multi-threading does not support simultaneous multi-modal user interfaces (data by multiple modes, for example, text as well as speech)
© Oxford University Press 2007. All rights reserved. 35
Poor Adaptability
• Adapts to different sorts of hardware limits mainly because of two reasons (i) compiled for a specific set of hardware for very fine-tuned Windows CE performance,(ii) large parts of OS offered in the form of source code first and then adjusted to the hardware by the manufacturer
© Oxford University Press 2007. All rights reserved. 36
Summary
• A 32 bit real time OS from Microsoft• Customized for each specific hardware
and processor in order to fine-tune the performance
• Compatible with a variety of processor architectures
• User─ personal-computer-like feel and Windows-like GUIs …
© Oxford University Press 2007. All rights reserved. 37
… Summary
• Large number of Windows-based applications available at the device
• Kernel consisting of source code and hardware abstraction sublayer
• Shared source and source code access• Memory requirement large but scales to
the requirement of the device peripherals…
© Oxford University Press 2007. All rights reserved. 38
… Summary
• Memory space partitioned• Data formats database and object file• File automatically compresses when
stored and decompresses when loaded• Visual C/C++ platform integrates use of
web• .NET XML parsing (trimmed version)
© Oxford University Press 2007. All rights reserved. 39
End of Lesson 05Windows CE─ Part 1