You are on page 1of 28

Guided By : Prof. Mrs. P.R.

Rege

Ta r u n K u l c h a n d r a TE-A (Roll No : 3353)

Vishwakarma Institute of Information Technology 2011-12

Vishwakarma Institute of Information Technology 2011-12

Applications OS Libraries Device Operating System Base, Kernel Low-Level Hardware, Manufacturer Device Drivers

Vishwakarma Institute of Information Technology 2011-12

Smartphones are small & handy


Multiple, Frequent and continuous connectivity Products diversity Open platform Limited Memory

Vishwakarma Institute of Information Technology 2011-12

Vishwakarma Institute of Information Technology 2011-12

Allows the delivery of content to a device without the device having to request it
The data is sent asynchronously Server based/mediated (server typically is the Push Initiator) The Push Initiator submits a request to the Hosted Data Push Service which contains delivery instructions and the payload
Vishwakarma Institute of Information Technology 2011-12 6

Vishwakarma Institute of Information Technology 2011-12

Vishwakarma Institute of Information Technology 2011-12

Proprietary multitasking environment developed by RIM


Programmed in C++ Provides support for Java MIDP 2.0. MIDP 2.0 provides the following : Enhanced User Interface Media Support Game Support Expanded Connectivity Push Architecture Over-the-air (OTA) Provisioning End-to-end Security
Vishwakarma Institute of Information Technology 2011-12 9

Java based kernel


Utilizes an ARM architecture with an Intel XScale processor 16 x 32-bit registers, 1 processor status register and a load/store architecture ARM does not manufacture its own CPU chips, but licenses it to other manufacturers to integrate them into their own system
Vishwakarma Institute of Information Technology 2011-12 10

Employs co-operative multitasking.


All applications run simultaneously and are managed by an application server. Each application at startup, receives an execution thread. At no time preemption can occur between applications However, the task will take several seconds.
Vishwakarma Institute of Information Technology 2011-12 11

Communication between OS and threads is done by a messaging system.

Like event-driven systems, applications receive messages describing system events and associate parameters. Then, they post them to threads to process.

Vishwakarma Institute of Information Technology 2011-12

12

BlackBerry is an event-driven Operating System.


Applications process the events. Since the process is completed, they call the RIMGETMESSAGE function to receive the next event. If there is no event, the application blocks the send process, allowing other applications to run.

If also other applications do not have any event to process, the application puts the CPU in a standby state until the next event.
There are two ways of sending messages between two tasks: synchronous and asynchronous.
Vishwakarma Institute of Information Technology 2011-12 13

applications send message to another application messages queue by calling RimPostMessage.


The destination receives messages. The sending process continues execution immediately after the call to RimPostMessage.

Vishwakarma Institute of Information Technology 2011-12

14

Applications send messages to other applications message queue by calling RimSendMessage and blocks the sending process until it receives responses from the destination.
The destination application receives the messages by calling RimGetMessage, put it in the queue and processes all earlier events in its message queue. Then, it processes the message, and any result of the processed message is sent to the location specified by the sending process (if applicable).
Vishwakarma Institute of Information Technology 2011-12 15

The sending application is unblocked and it returns form RimSendMessage. Thus, in order to avoid deadlock from occurring, when you write an application, you should run the synchronous sends in background threads.
Vishwakarma Institute of Information Technology 2011-12 16

Memory usage managed by : BlackBerry Java Virtual Machine


JVM allocates memory, performs garbage collection, and automatically swaps data between SRAM and flash memory. JVM must also share available memory between the BlackBerry device applications and the BlackBerry Java Application.

Vishwakarma Institute of Information Technology 2011-12

17

Vs.

Vishwakarma Institute of Information Technology 2011-12

18

Developed By
Software Platform Programmed in Kernel Memory Management Multitasking Security

Research In Motion (RIM)

Apple Inc.

Developed By: Open Handset Alliance

Led By

Google

Vishwakarma Institute of Information Technology 2011-12

19

Closed
Developed By

Closed

Open

Source Model
Programmed in Kernel Memory Management

Multitasking
Security

Vishwakarma Institute of Information Technology 2011-12

20

C++
Developed By Source Model

C C C++ Objective-C

Programmed in
Kernel Memory Management

Multitasking
Security

Vishwakarma Institute of Information Technology 2011-12

21

Developed By Source Model Programmed in

Java Based Kernel (Written in C++)

Hybrid Kernel (XNU)

Monolithic (Modified Linux Kernel)

Kernel
Memory Management

Multitasking
Security

Vishwakarma Institute of Information Technology 2011-12

22

Developed By Source Model Programmed in Kernel

Done by BlackBerry JVM

Memory for done by Linux. objects are freed based on reference counting.

Memory

Management
Multitasking Security

Vishwakarma Institute of Information Technology 2011-12

23

Supported
Developed By Source Model Programmed in

Supported

Supported

Kernel
Memory Management

Multitasking
Security

Vishwakarma Institute of Information Technology 2011-12

24

Best
Developed By Source Model Programmed in

Good
Uses Encryption SSL

Bad
Open architecture

Authentication Use of SSL

Kernel
Memory Management Multitasking

Secured APP world


End to End Encryption Government of US uses it.

More prone to Very secured APP hacking world iTunes Non-secured app But not as good world as BlackBerry Can be hacked with some efforts

Security

Vishwakarma Institute of Information Technology 2011-12

25

Vishwakarma Institute of Information Technology 2011-12

26

Vishwakarma Institute of Information Technology 2011-12

27

THANK YOU

Vishwakarma Institute of Information Technology 2011-12

28

You might also like