blackberry os version2

28
Guided By : Prof. Mr s. P.R.Re ge Tarun Kulchandra TE-A (Roll No : 3353) 1 Vishwakarma Institute of Information T echnology 2011-12

Upload: kulchandra

Post on 05-Apr-2018

233 views

Category:

Documents


0 download

TRANSCRIPT

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 1/28

Guided By :

Prof . Mrs. P.R.Rege

Tarun K ulchandra

TE-A

(Ro l l No : 3353 )

1Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 2/28

2Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 3/28

Low-Level Hardware, Manufacturer Device Drivers

Device Operating System Base, Kernel

OS Libraries

Applications

3Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 4/28

Smartphones are small & handy 

Multiple, Frequent and continuous connectivity

Products diversity

Open platform

Limited Memory

4Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 5/28

5Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 6/28

Allows the delivery of content to a device without thedevice having to request it

The data is sent asynchronously

Server based/mediated (server typically is the PushInitiator)

The Push Initiator submits a request to the Hosted DataPush Service which contains delivery instructions andthe payload 

6Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 7/28

 

7Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 8/288Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 9/28

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

9Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 10/28

Java based kernel

Utilizes an ARM architecture with an Intel XScale

processor

16 x 32-bit registers, 1 processor status register and aload/store architecture

ARM does not manufacture its own CPU chips, butlicenses it to other manufacturers to integrate them intotheir own system

10Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 11/28

Employs co-operative multitasking.

All applications run simultaneously and are managed by

an application server.

Each application at startup, receives an executionthread.

At no time preemption can occur between applications

However, the task will take several seconds.

11Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 12/28

Communication between OS and threads is done by amessaging system.

Like event-driven systems, applications receivemessages describing system events and associateparameters. Then, they post them to threads to process.

12Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 13/28

BlackBerry is an event-driven Operating System.

Applications process the events. Since the process iscompleted, they call the RIMGETMESSAGE function to

receive the next event.

If there is no event, the application blocks the sendprocess, allowing other applications to run.

If also other applications do not have any event toprocess, the application puts the CPU in a standby stateuntil the next event.

There are two ways of sending messages between twotasks: synchronous and asynchronous.

13Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 14/28

applications send message to another applicationmessages’ queue by calling RimPostMessage.

The destination receives messages.

The sending process continues execution immediatelyafter the call to RimPostMessage.

14Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 15/28

Applications send messages to other application’s message queue by calling RimSendMessage and blocksthe sending process until it receives responses from the

destination.

The destination application receives the messages bycalling RimGetMessage, put it in the queue andprocesses all earlier events in its message queue.

Then, it processes the message, and any result of theprocessed message is sent to the location specified bythe sending process (if applicable).

15Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 16/28

  The sending application is unblocked and it

returns form RimSendMessage.

Thus, in order to avoid deadlock fromoccurring, when you write an application,you should run the synchronous sends inbackground threads.

16Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 17/28

Memory usage managed by : BlackBerry Java VirtualMachine

JVM allocates memory, performs garbage collection, andautomatically swaps data between SRAM and flash memory.

JVM must also share available memory between theBlackBerry device applications and the BlackBerry JavaApplication.

17Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 18/28

Vs.

18Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 19/28

•Research InMotion (RIM)

•Apple Inc. Developed By:

•Open HandsetAlliance

Led By

•Google

•Developed By

•Software Platform

•Programmed in

•Kernel

•Memory Management

•Multitasking

•Security

19Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 20/28

 •Developed By

•Source Model

•Programmed in

•Kernel

•Memory Management

•Multitasking

•Security

•Closed •Closed •Open

20Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 21/28

 •Developed By

•Source Model

•Programmed in

•Kernel

•Memory Management

•Multitasking

•Security

•C++ •C•C++•Objective-C

•C

21Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 22/28

 •Developed By

•Source Model

•Programmed in

•Kernel

Memory Management

•Multitasking

•Security

•Java BasedKernel

(Written in

C++)

•Hybrid Kernel(XNU)

•Monolithic

(ModifiedLinux Kernel)

22Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 23/28

 •Developed By

•Source Model

•Programmed in

•Kernel

•Memory

Management

•Multitasking

•Security

•Done byBlackBerryJVM

•Memory forobjects arefreed based onreference

counting.

•done by Linux.

23Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 24/28

 •Developed By

•Source Model

•Programmed in

•Kernel

•Memory Management

•Multitasking

•Security

•Supported •Supported •Supported

24Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 25/28

 •Developed By

•Source Model

•Programmed in

•Kernel

•Memory Management

•Multitasking

•Security

•Best

•Authentication

•Use of SSL

•Secured APPworld

•End to End

Encryption

•Government of US uses it.

•Good

•Uses Encryption

•SSL

•Very secured APPworld – iTunes

•But not as good

as BlackBerry

•Can be hackedwith some efforts

•Bad

•Openarchitecture

•More prone tohacking

•Non-secured appworld

25Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 26/28

 

Vishwakarma Institute of Information Technology 2011-12 26

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 27/28

27Vishwakarma Institute of Information Technology 2011-12

8/2/2019 Blackberry OS Version2

http://slidepdf.com/reader/full/blackberry-os-version2 28/28

 THANK YOU

8Vi h k I i f I f i T h l