Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

39
© Oxford University Press 2007. All rights reserved. 1 Mobile Operating Systems Lesson 05 Windows CEPart 1

Transcript of Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

Page 1: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© Oxford University Press 2007. All rights reserved. 1

Mobile Operating Systems

Lesson 05Windows CE─ Part 1

Page 2: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 3: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 4: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 5: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 6: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 7: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 8: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 9: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 10: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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++

Page 11: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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)

Page 12: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 13: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 14: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© Oxford University Press 2007. All rights reserved. 14

Thread

• Basic unit of computation• A process─ any number of threads• Threads run concurrently

Page 15: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 16: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 17: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 18: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 19: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 20: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 21: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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)

Page 22: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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)

Page 23: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 24: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 25: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 26: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© Oxford University Press 2007. All rights reserved. 26

Desktop Programs

• Owner• Number of messages not read• Tasks• Present hour subject

Page 27: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 28: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 29: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 30: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© Oxford University Press 2007. All rights reserved. 30

ActiveSync

• Synchronization of mobile device data with PC using a USB, Bluetooth, and PC infrared port

Page 31: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 32: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 33: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 34: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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)

Page 35: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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

Page 36: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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 …

Page 37: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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…

Page 38: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© 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)

Page 39: Windows CE Lesson 05 Part 1 - Devi Ahilya Vishwavidyalaya

© Oxford University Press 2007. All rights reserved. 39

End of Lesson 05Windows CE─ Part 1