SlideShare a Scribd company logo
1 of 19
SEMINAR
ON
GOOGLE CLOUD MESSAGING
Submitted By:
Shubham Shukla
B.Tech(CSE),CS-33
1120432147
Babu Banarasi Das University
1
Submitted To-
Vivek Sir
CONTENTS
• Introduction
• C2DM Technology
• GCM Definition
• GCM characteristics
• GCM Working
• Summary
• References
INTRODUCTION
POLL AND PUSH NOTIFICATIONS
• Poll :- Application contact cloud to check new message
• Simple to implement
• Device periodically ask server for new data
• Used widely where the content changes continuously
Disadvantage :-
• Extra Network Usages
• Reduced Battery life
Server/Cloud App / Device
Poll And Push Notifications (Cont…)
• Push :-It defines type of internet based communication in
which Server contact Application or device whenever
new message is available
Advantages :-
• Reduce extra network uses
• Consumes less battery
• Harder to implement
Server/Cloud App / Device
C2DM
• Stands for Cloud to Device Messaging
• Used to send message from cloud to device or
application
• Support Push Notification
• C2DM retired and It’s time to GCM (Google
Cloud Messaging)
• Part of Google API
How C2DM Works
App Server C2DM Server
App / Device
C2DM : Advantages & Disadvantages
Advantages :
• Using C2DM Developers can develop more
productive apps
• C2DM is connected to cloud so developers can
get benefits of cloud computing in their apps
Disadvantage :
• Internet connectivity is required
• Limited message size
Google cloud messaging
GCM Introduction
• GCM (Google Cloud Messaging) is a free service
that helps developers send data from servers to
their Android applications on Android devices.
• Lightweight message to applications telling that
there is new data to be fetched from the server or
a message containing up to 4kb of payload data
(e.g: instant messaging apps).
GCM Characteristics
● Allows 3rd-party application servers to send messages to their
Android applications.
● GCM makes no guarantees about delivery or the order of
messages.
● Application on an Android device doesn't need to be running to
receive messages.
● Uses an existing connection for Google services. For pre-4.0
devices, this requires users to set up their Google account on
their mobile devices.
Minimum requirements ( device side )
• Android 2.2 +
• Android market place should be
installed
• Emulator with Google APIs
• Internet connection
• Google account
( device version < 4.0.4 )
Why GCM ?
• Application does not need to be running in
background to receive messages
• Background processes polling server at regular
intervals for information is a bad design
• Overcome disadvantages of C2DM
• Battery efficiency
• Ease of use
• Reduced network usage
How GCM Works
App Server GCM Server
App / Device
HOW GCM WORKS (contd.)
The Three Components of GCM
1)Mobile Device: The device that is running an Android application th
at uses GCM.
2) 3rd-party Application Server
3) GCM Servers
1) Your application attempts to register with the Google Cloud messa
ging (GCM) servers..
5) The AirBop servers send the message to GCM using the re
gistration Id to target the app and device AirBop delivers the
message to the GCM servers along with the registration Ids o
f registered clients.
6) GCM sends the message to the apps and devices that mat
ch the registration Id(s).
4) You compose a message on the AirBop website
2) GCM registers your device and generates a registration Id
for your application.
3) Your app sends the registration Id (plus optional additional
information) to the AirBop servers.
7) Your app opens the message and handles the data appropriat
ely.
8) The message can be sent to as many devices that have install
ed your app and registered with the server.
Of course in a real situation your message will probably be deliv
ered to tens of thousands of devices not just one or two.
Working Example of GCM
Google Play :
• Google play uses GCM to
install requested android
apps from Google play
official site.
(http://play.google.com)
• Google play android app
uses GCM to receive
requested apps from google
play
Summary
• Message Multicasting for News
• Multiple Senders for Social Updates
• Time to Live for Events and Promos
• Messages with Payload for IM
Thank you for your time.

More Related Content

What's hot

image compression ppt
image compression pptimage compression ppt
image compression ppt
Shivangi Saxena
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
Gichelle Amon
 

What's hot (20)

image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
Histogram Specification or Matching Problem
Histogram Specification or Matching ProblemHistogram Specification or Matching Problem
Histogram Specification or Matching Problem
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Chapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woodsChapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woods
 
Chapter 9 morphological image processing
Chapter 9 morphological image processingChapter 9 morphological image processing
Chapter 9 morphological image processing
 
Morphological image processing
Morphological image processingMorphological image processing
Morphological image processing
 
Presentation of Lossy compression
Presentation of Lossy compressionPresentation of Lossy compression
Presentation of Lossy compression
 
Fundamental steps in image processing
Fundamental steps in image processingFundamental steps in image processing
Fundamental steps in image processing
 
Morphological operations
Morphological operationsMorphological operations
Morphological operations
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
COM2304: Intensity Transformation and Spatial Filtering – II Spatial Filterin...
COM2304: Intensity Transformation and Spatial Filtering – II Spatial Filterin...COM2304: Intensity Transformation and Spatial Filtering – II Spatial Filterin...
COM2304: Intensity Transformation and Spatial Filtering – II Spatial Filterin...
 
Morphological image processing
Morphological image processingMorphological image processing
Morphological image processing
 
Digital Image Fundamentals - II
Digital Image Fundamentals - IIDigital Image Fundamentals - II
Digital Image Fundamentals - II
 
An Introduction to Image Processing and Artificial Intelligence
An Introduction to Image Processing and Artificial IntelligenceAn Introduction to Image Processing and Artificial Intelligence
An Introduction to Image Processing and Artificial Intelligence
 
Chapter 8 image compression
Chapter 8 image compressionChapter 8 image compression
Chapter 8 image compression
 
Image sampling and quantization
Image sampling and quantizationImage sampling and quantization
Image sampling and quantization
 
HIGH SPEED NETWORKS
HIGH SPEED NETWORKSHIGH SPEED NETWORKS
HIGH SPEED NETWORKS
 

Viewers also liked

Google cloud messaging
Google cloud messagingGoogle cloud messaging
Google cloud messaging
Amardeep Vijay
 
Introduction to google cloud messaging in android
Introduction to google cloud messaging in androidIntroduction to google cloud messaging in android
Introduction to google cloud messaging in android
RIA RUI Society
 
Investigating the Barriers of Application of Cloud Computing in the Smart Sch...
Investigating the Barriers of Application of Cloud Computing in the Smart Sch...Investigating the Barriers of Application of Cloud Computing in the Smart Sch...
Investigating the Barriers of Application of Cloud Computing in the Smart Sch...
Eswar Publications
 

Viewers also liked (20)

Google Cloud Messaging
Google Cloud Messaging Google Cloud Messaging
Google Cloud Messaging
 
Google cloud messaging
Google cloud messagingGoogle cloud messaging
Google cloud messaging
 
Gcm presentation
Gcm presentationGcm presentation
Gcm presentation
 
Google Cloud Messaging
Google Cloud MessagingGoogle Cloud Messaging
Google Cloud Messaging
 
GCM for Android
GCM for AndroidGCM for Android
GCM for Android
 
Introduction to google cloud messaging in android
Introduction to google cloud messaging in androidIntroduction to google cloud messaging in android
Introduction to google cloud messaging in android
 
Google Cloud Messaging
Google Cloud Messaging Google Cloud Messaging
Google Cloud Messaging
 
Ankara Cloud Meetup 6. Etkinlik Scaling Real-Time Messaging on Cloud Sunumu
Ankara Cloud Meetup 6. Etkinlik Scaling Real-Time Messaging on Cloud SunumuAnkara Cloud Meetup 6. Etkinlik Scaling Real-Time Messaging on Cloud Sunumu
Ankara Cloud Meetup 6. Etkinlik Scaling Real-Time Messaging on Cloud Sunumu
 
A PARADIGM FOR THE APPLICATION OF CLOUD COMPUTING IN MOBILE INTELLIGENT TUTOR...
A PARADIGM FOR THE APPLICATION OF CLOUD COMPUTING IN MOBILE INTELLIGENT TUTOR...A PARADIGM FOR THE APPLICATION OF CLOUD COMPUTING IN MOBILE INTELLIGENT TUTOR...
A PARADIGM FOR THE APPLICATION OF CLOUD COMPUTING IN MOBILE INTELLIGENT TUTOR...
 
Cloudcpmuting journal
Cloudcpmuting journalCloudcpmuting journal
Cloudcpmuting journal
 
Investigating the Barriers of Application of Cloud Computing in the Smart Sch...
Investigating the Barriers of Application of Cloud Computing in the Smart Sch...Investigating the Barriers of Application of Cloud Computing in the Smart Sch...
Investigating the Barriers of Application of Cloud Computing in the Smart Sch...
 
Google cloud messaging
Google cloud messagingGoogle cloud messaging
Google cloud messaging
 
google cloud messaging
google cloud messaginggoogle cloud messaging
google cloud messaging
 
Pitch that matters
Pitch that mattersPitch that matters
Pitch that matters
 
PROJECT PLANNINGMEASURES IN CMMI
PROJECT PLANNINGMEASURES IN CMMIPROJECT PLANNINGMEASURES IN CMMI
PROJECT PLANNINGMEASURES IN CMMI
 
Cloud Computing Basics by Ravi Namboori Cisco Evangelist
Cloud Computing Basics by Ravi Namboori Cisco EvangelistCloud Computing Basics by Ravi Namboori Cisco Evangelist
Cloud Computing Basics by Ravi Namboori Cisco Evangelist
 
secure data retrieval for decentralized disruption-tolerant military networks
secure data retrieval for decentralized disruption-tolerant military networkssecure data retrieval for decentralized disruption-tolerant military networks
secure data retrieval for decentralized disruption-tolerant military networks
 
Cloud computing and its application in the world of net
Cloud computing and its application in the world of netCloud computing and its application in the world of net
Cloud computing and its application in the world of net
 
FCM & GCM
FCM & GCMFCM & GCM
FCM & GCM
 
Eucalyptus: Open Source for Cloud Computing
Eucalyptus: Open Source for Cloud ComputingEucalyptus: Open Source for Cloud Computing
Eucalyptus: Open Source for Cloud Computing
 

Similar to google cloud messaging

GCM Android
GCM AndroidGCM Android
GCM Android
aswapnal
 
Push-Notification
Push-NotificationPush-Notification
Push-Notification
Amey Ruikar
 
Real Time Tracking of Complete Transport System Using GPS
Real Time Tracking of Complete Transport System Using GPSReal Time Tracking of Complete Transport System Using GPS
Real Time Tracking of Complete Transport System Using GPS
Mit mysore
 

Similar to google cloud messaging (20)

GCM Technology for Android
GCM Technology for AndroidGCM Technology for Android
GCM Technology for Android
 
GCM Android
GCM AndroidGCM Android
GCM Android
 
GCM with Pushbots
GCM with PushbotsGCM with Pushbots
GCM with Pushbots
 
Magda badita gcm
Magda badita  gcmMagda badita  gcm
Magda badita gcm
 
GOOGLE CLOUD MESSAGING (GCM): A LIGHT WEIGHT COMMUNICATION MECHANISM BETWEEN ...
GOOGLE CLOUD MESSAGING (GCM): A LIGHT WEIGHT COMMUNICATION MECHANISM BETWEEN ...GOOGLE CLOUD MESSAGING (GCM): A LIGHT WEIGHT COMMUNICATION MECHANISM BETWEEN ...
GOOGLE CLOUD MESSAGING (GCM): A LIGHT WEIGHT COMMUNICATION MECHANISM BETWEEN ...
 
GOOGLE CLOUD MESSAGING PPT 2017
GOOGLE CLOUD MESSAGING PPT 2017GOOGLE CLOUD MESSAGING PPT 2017
GOOGLE CLOUD MESSAGING PPT 2017
 
Push to Me: Mobile Push Notifications (Zend Framework)
Push to Me: Mobile Push Notifications (Zend Framework)Push to Me: Mobile Push Notifications (Zend Framework)
Push to Me: Mobile Push Notifications (Zend Framework)
 
AutoMate+
AutoMate+AutoMate+
AutoMate+
 
Push-Notification
Push-NotificationPush-Notification
Push-Notification
 
GCM aperitivo Android
GCM aperitivo AndroidGCM aperitivo Android
GCM aperitivo Android
 
Android Cloud to Device Messaging with the Google App Engine
Android Cloud to Device Messaging with the Google App EngineAndroid Cloud to Device Messaging with the Google App Engine
Android Cloud to Device Messaging with the Google App Engine
 
A Google Cloud Solution Minus Dedicated Server - App Only (Server and Client)
A Google Cloud Solution Minus Dedicated Server - App Only (Server and Client)A Google Cloud Solution Minus Dedicated Server - App Only (Server and Client)
A Google Cloud Solution Minus Dedicated Server - App Only (Server and Client)
 
Android C2DM Presentation at O'Reilly AndroidOpen Conference
Android C2DM Presentation at O'Reilly AndroidOpen ConferenceAndroid C2DM Presentation at O'Reilly AndroidOpen Conference
Android C2DM Presentation at O'Reilly AndroidOpen Conference
 
Android push-applications-android
Android push-applications-androidAndroid push-applications-android
Android push-applications-android
 
GCCP Session 3
GCCP Session 3GCCP Session 3
GCCP Session 3
 
Mobile Push Notifications
Mobile Push NotificationsMobile Push Notifications
Mobile Push Notifications
 
Automate+ Final Presentation
Automate+ Final PresentationAutomate+ Final Presentation
Automate+ Final Presentation
 
A Journey into Google Cloud Messaging
A Journey into Google Cloud MessagingA Journey into Google Cloud Messaging
A Journey into Google Cloud Messaging
 
Real Time Tracking of Complete Transport System Using GPS
Real Time Tracking of Complete Transport System Using GPSReal Time Tracking of Complete Transport System Using GPS
Real Time Tracking of Complete Transport System Using GPS
 
Gcm tutorial
Gcm tutorialGcm tutorial
Gcm tutorial
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

google cloud messaging

  • 1. SEMINAR ON GOOGLE CLOUD MESSAGING Submitted By: Shubham Shukla B.Tech(CSE),CS-33 1120432147 Babu Banarasi Das University 1 Submitted To- Vivek Sir
  • 2. CONTENTS • Introduction • C2DM Technology • GCM Definition • GCM characteristics • GCM Working • Summary • References
  • 3. INTRODUCTION POLL AND PUSH NOTIFICATIONS • Poll :- Application contact cloud to check new message • Simple to implement • Device periodically ask server for new data • Used widely where the content changes continuously Disadvantage :- • Extra Network Usages • Reduced Battery life Server/Cloud App / Device
  • 4. Poll And Push Notifications (Cont…) • Push :-It defines type of internet based communication in which Server contact Application or device whenever new message is available Advantages :- • Reduce extra network uses • Consumes less battery • Harder to implement Server/Cloud App / Device
  • 5. C2DM • Stands for Cloud to Device Messaging • Used to send message from cloud to device or application • Support Push Notification • C2DM retired and It’s time to GCM (Google Cloud Messaging) • Part of Google API
  • 6. How C2DM Works App Server C2DM Server App / Device
  • 7. C2DM : Advantages & Disadvantages Advantages : • Using C2DM Developers can develop more productive apps • C2DM is connected to cloud so developers can get benefits of cloud computing in their apps Disadvantage : • Internet connectivity is required • Limited message size
  • 9. GCM Introduction • GCM (Google Cloud Messaging) is a free service that helps developers send data from servers to their Android applications on Android devices. • Lightweight message to applications telling that there is new data to be fetched from the server or a message containing up to 4kb of payload data (e.g: instant messaging apps).
  • 10. GCM Characteristics ● Allows 3rd-party application servers to send messages to their Android applications. ● GCM makes no guarantees about delivery or the order of messages. ● Application on an Android device doesn't need to be running to receive messages. ● Uses an existing connection for Google services. For pre-4.0 devices, this requires users to set up their Google account on their mobile devices.
  • 11. Minimum requirements ( device side ) • Android 2.2 + • Android market place should be installed • Emulator with Google APIs • Internet connection • Google account ( device version < 4.0.4 )
  • 12. Why GCM ? • Application does not need to be running in background to receive messages • Background processes polling server at regular intervals for information is a bad design • Overcome disadvantages of C2DM • Battery efficiency • Ease of use • Reduced network usage
  • 13. How GCM Works App Server GCM Server App / Device
  • 14. HOW GCM WORKS (contd.) The Three Components of GCM 1)Mobile Device: The device that is running an Android application th at uses GCM. 2) 3rd-party Application Server 3) GCM Servers 1) Your application attempts to register with the Google Cloud messa ging (GCM) servers..
  • 15. 5) The AirBop servers send the message to GCM using the re gistration Id to target the app and device AirBop delivers the message to the GCM servers along with the registration Ids o f registered clients. 6) GCM sends the message to the apps and devices that mat ch the registration Id(s). 4) You compose a message on the AirBop website 2) GCM registers your device and generates a registration Id for your application. 3) Your app sends the registration Id (plus optional additional information) to the AirBop servers.
  • 16. 7) Your app opens the message and handles the data appropriat ely. 8) The message can be sent to as many devices that have install ed your app and registered with the server. Of course in a real situation your message will probably be deliv ered to tens of thousands of devices not just one or two.
  • 17. Working Example of GCM Google Play : • Google play uses GCM to install requested android apps from Google play official site. (http://play.google.com) • Google play android app uses GCM to receive requested apps from google play
  • 18. Summary • Message Multicasting for News • Multiple Senders for Social Updates • Time to Live for Events and Promos • Messages with Payload for IM
  • 19. Thank you for your time.

Editor's Notes

  1. Up to 1000 devices simultaneously. Up to 100 project IDs Default ttl time is 4 week
  2. I hope you enjoyed it. HAVE A GREAT DAY…