6
GCM Work Flow Application Flow 1. First Server initiate with Project Number to GCM Server. 2. GCM Server provide Server Key Goo!"e #pi Key to imp"ement to Server #pp"ication. $. C"ient #pp"ication sends Sender %& and #pp"ication %& to GCM Server 'or re!istration. (. )ppon success'u" re!istration GCM Server issues *e!istration %& to #ndroid device. +. C"ient #pp"ication send *e!istration %& to server. ,. Server store *e!istration %& in the database 'or "ater usa!e. Push Notifcation Flow

GCM&APNS Architechture

  • Upload
    deen-na

  • View
    10

  • Download
    0

Embed Size (px)

DESCRIPTION

gcm & apns architechture

Citation preview

GCM Work Flow

Application Flow1. First Server initiate with Project Number to GCM Server. 2. GCM Server provide Server Key / Google Api Key to implement to Server Application.3. Client Application sends Sender ID and Application ID to GCM Server for registration.4. Uppon successful registration GCM Server issues Registration ID to Android device.5. Client Application send Registration ID to server.6. Server store Registration ID in the database for later usage.Push Notification Flowa. Whenever push notification is needed, our server sends a message to GCM server along with device registration id (which is stored earlier in the database)b. GCM Server will delivers that message to respected mobile device using device registration id.

APNS Work flow

To enable communication between a provider and a device, Apple Push Notification Service must expose certain entry points to them. But then to ensure security, it must also regulate access to these entry points. For this purpose, APNs requires two different levels of trust for providers, devices, and their communications. These are known as connection trust and token trust.

- Connection Trust

1. Service-to-Device Connection Trust

2. Provider-to-Device Connection Trust

3. Token Generation and Dispersal

- Token Trust (Notification)