push notification

20
1 Push Notification Vinoth Kannan Conception, Architecture and Technology

Upload: vinoth-kumar-kannan

Post on 06-May-2015

4.281 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Push Notification

1

Push Notification

Vinoth Kannan

Conception, Architecture and Technology

Page 2: Push Notification

2

Need for PUSH Technology

Page 3: Push Notification

3

With growing number of Apps per User how do we make the User return to our Apps?

Need for PUSH Technology

Page 4: Push Notification

4

Need for PUSH Technology

Page 5: Push Notification

5

Challenges in Mobility

• Increase the usabilty of installed App ?• Increase revenue through mobile ads?• To communicate with users even when

the app is off.• Develop next generation SMART apps :

• More Context Aware • Near Field Communication

HOW

Page 6: Push Notification

6

PUSH Technology

Answer to all our Challenges

Page 7: Push Notification

7

IntroductionWhat is Push Notification ?

• Push Notification allows an app to notify the user of new messages or events without the need to actually open the application

• Request for a given transaction is initated by the publisher or central server

• Constantly open IP connection to forward notification from the servers of third party applications to the mobile devices.

• Contrast to the PULL : where the request for the transmission of information is iniated by the receiver or client.

• Gets the message to the customer in the most direct and targeted way possible.

Page 8: Push Notification

8

TriggerBehavior-BasedPre-definedRule-driven

Content TypeUniversal vs PersonalizedOpen vs ProtectedLean vs DetailedTime sensitive vs Anytime

User BehaviorRead OnlyRead/WriteAct-outside-the-App

IntellegenceBI-AnalyticsConext Aware DataFeedbacks

Key Elements of Push Notification

Page 9: Push Notification

9

Use Cases for PUSH Notifications

Engagement Content, Social, Product fulfillment

Content, Social, Product fulfillment

Content, Social,

Self service/Productivity

Financial, Scheduling, Customer Service

Delivery, Billing CRM, BPM, CRP

Revenue Product Price, Availablity, alerts, special offers

Special offers, Inventory alerts

Cost Savings Cost Management Apps

Delivery, billings CRP, BPM

Business-to-Consumer Business-to-Business Business-to-Employee

Page 10: Push Notification

10

Apple iOS Google AndroidRIM BlackberryMicrosoft Windows Phone Third Party API (Ex:PushWoosh)

Mobile Push Notification Service Providers

Page 11: Push Notification

11

Subscribing to NotificationComparsion of Settings between Android and iPhone device

Page 12: Push Notification

12

How does it Work?High-level Architectural Overview

Device

Application Server

DB

Notification ServerApple / Google/ Microsoft/

PushWoosh

Not

ifica

tion

Notification

Page 13: Push Notification

13

How does it Work?High-level Architectural Overview

Device

Application Server

DB

Notification ServerApple / Google/ Microsoft/

PushWoosh

Req

uest

Tok

en

Token

Res

pons

e To

ken

Store Token

Notification Message + Token

1

2

3

4

Page 14: Push Notification

14

Benefits Of Push Notifications

• User needs to subscribe to receive notificationUser Control

• User receives the notification even when the app is not activeEase of Use

• No need for constant queries to Server

• Saves battery UsageEfficiency

Page 15: Push Notification

15

Delivery of Notifications

Only Unicast:No Batch, multicast or broadcast

Quality of ServiceQueue Size: One message waiting per app per deviceNo guarentee deliveryNo delivery Notification to the serverDelivery experies (for iOS)

QuotaiOS: UnspecifiedAndroid: 200K (can ask for more)

Page 16: Push Notification

16

Communication ProtocolComparison between Apple and Android

Connection Streaming TCP/IP Socket HTTP Post

Security SSL SSL

Content Binary JSON

Trust Certificiation provided by Apple

Gmail account authentification

“Device not found“ errors Servers must query Asynchronous feedback service and remove obsolete device tokens

Response to POST request contains indications whether device is obsolete or not

Page 17: Push Notification

17

LimitationsShort Coming in PUSH Notification Technology

Short message SizeNo guarentee that delivery is securedDelivery

No guarenteeUsers can sign out of the AppUsers can disable push to save battery

Page 18: Push Notification

Mobile Client

PUSH notification Server

Apple / Google/ Microsoft/ PushWoosh

Lo

catio

n M

an

ag

er

Se

rvic

es

STORM based Notification Manager

1

4

5

Most Current Location

Context Provider

NotoContext Manager

Server-Side

2

Notificatoin DBBackend

DB

3

Context Information

Notification Polling

Weather

3rd Party Context Provider

Stock

NEWS

Widas PUSH Notification Framework

Page 19: Push Notification

Notification DB

User Token DB

Notification Context

Manager

Apple PUSHServer

GooglePUSHServer

MicroSoftPUSHServer

3rd Party Services

Backend Services

Context Provider

iOSPush API

GooglePush API

MicrosoftPush API

Widas PUSH Notification Framework

Page 20: Push Notification

20

Thank You