0% found this document useful (0 votes)
85 views18 pages

Seminar On Google Cloud Messaging: By:Apeksha C.Horambe

This document provides an overview of Google Cloud Messaging (GCM), a free service that allows application developers to send notification and data messages from servers to user devices. Key points covered include that GCM allows third-party servers to send messages to Android apps, makes no guarantees about delivery or order, and does not require apps to be running to receive messages. The document also discusses characteristics, architecture, how GCM works, advantages like increased battery efficiency, disadvantages like requiring internet connectivity, applications, and the future scope of GCM.

Uploaded by

Aniket Nikam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views18 pages

Seminar On Google Cloud Messaging: By:Apeksha C.Horambe

This document provides an overview of Google Cloud Messaging (GCM), a free service that allows application developers to send notification and data messages from servers to user devices. Key points covered include that GCM allows third-party servers to send messages to Android apps, makes no guarantees about delivery or order, and does not require apps to be running to receive messages. The document also discusses characteristics, architecture, how GCM works, advantages like increased battery efficiency, disadvantages like requiring internet connectivity, applications, and the future scope of GCM.

Uploaded by

Aniket Nikam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

SEMINAR ON GOOGLE CLOUD MESSAGING

• By:Apeksha C.Horambe
INTRODUCTION

• Google introduced GCM (Google Cloud Messaging) in 2013.


• It is a free of charge service that enables application developer to send notification data between
servers and client apps.
• It is used to send message from cloud to device or application.
• By using GCM We can implement Push Notification service for Android Application.
• This notification service can be used in multiple applications at the same time by making little
modifications.
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.
• It requires devices running Android 2.2 or higher (with Google Play Store application
installed), or an emulator running Android 2.2 with Google APIs.
LITERATURE SURVEY

• To the best of our knowledge, it provide the first comprehensive GCM evaluation for a
variety of real world experiment scenarios, namely offline and online experiments which
are elaborated based on the connection type (i.e. WiFi or cellular data) and data service
providers.
• In this experiments involve thousands of real users, and the results let developers and
researchers make a supervised decision on whether GCM is suitable for their intended use
cases.

• In the offline experiment, we calculate the GCM message arrival latency at a random time.
Therefore, in this scenario, the server has no knowledge of whether the devices are
powered on, are in use, or have network connection.
In the online experiment, we calculate the GCM message arrival time using the online
participants while the TV show is live on the TV and when the participants are playing
the game. Therefore, in the online experiment, we know that the devices are powered
on, actively in use and have network connection.
.
Year Invented By Technology Description

2010 Google C2DM Cloud To Device Messaging.


Required richer set of new API’s and sign
up forms
2012 Google GCM Google Cloud Messaging
Ease of use no sign up forms.
Battery efficiency
PROPOSED METHODOLOGY

• In this approach we are implementing notification service which not only notifies result but
also notifies errors , warnings & also available services.
• We also implement service using GCM server , in case device just needs to maintain
connection with google cloud messaging and thus saves the battery life and increases
throughput.

• We can enhance our cloud storage application by providing security and backup.
• We are aiming to provide notification for adding/deleting a file.
GCM: ARCHITECTURAL OVERVIEW

• Key Terms : key terms and concepts involved in GCM are divided into these categories.
• Components -The physical entities that play a role in GCM.

• Credentials -The IDs and tokens that are used in different stages of GCM to ensure that
all parties have been authenticated, and that the message is going to the correct place.

App server GCM server

App/device
GCM ARCHITECTURE: COMPONENTS

Components:-
• Mobile Device - The device that is running an Android application that uses GCM. This
must be a 2.2 Android device that has Google Play Store installed, and it must have at least
one logged in Google account if the device is running a version lower than Android 4.0.4.
• Alternatively, for testing you can use an emulator running Android 2.2 with Google APIs.

• 3rd-party Application Server - An application server that developers set up as part


of implementing GCM in their applications.
• The 3rd-party application server sends data to an Android application on the device via
the GCM server.

• GCM Servers - The Google servers involved in taking messages from the 3rd-party
application server and sending them to the device..
HOW GCM WORKS...

1) Your application attempts to register with the Google Cloud messaging (GCM) servers.

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.

4) You compose a message on the AirBop website.

5) The AirBop servers send the message to GCM using the registration Id to target the app
and device AirBop delivers the message to the GCM servers along with the registration Ids of
registered clients.

6) GCM sends the message to the apps and devices that match the registration Id(s).

7) Your app opens the message and handles the data appropriately.
8) The message can be sent to as many devices that have installed your app and
registered with the server.

Of course in a real situation your message will probably be delivered 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
ADVANTAGES

• Developers can develop more productive Apps with the help of GCM.
• GCM is connected with Cloud so that Developer can get benefits of cloud computing in
their Apps.

• GCM is also connected with GAE (Google App Engine).


• GCM for Android increases battery efficiency.
• Also can send a message of up to 4Kb to an application on an Android device.
DISADVANTAGES

• For cloud storage security is a major issue.


• We need more work on improving security of personal cloud storage.

• GCM is not suitable for short-lived application scenarios. Internet connectivity is required.
APPLICATION

• Widely used in mobile device for notification.


• Important part for developing Android application.

• GCM also have application in GPS for location tracking .


• It may be good for application scenarios where random multicasting is sufficient.
• GCM allows Android to Android instant messaging.

• It enables the audience to watching a Show on the TV to play along on their Android smart
phones in real-time.
FUTURE SCOPE

• In Future, if the GCM increases its properties also give the guarantee that timely arrival
message, then its scope will be too high.
• It also has an ability to work with GPS system to Track any Vehicles by using Google Map.

• In future the system will be developed that will show the current location of the vehicles to
the user on the basis of the location information sent by the GPS device through GCM.
CONCLUSION

• We analyses the timing performance of Google Cloud Messaging (GCM). Our results
indicate that GCM is not suitable for short-lived application scenarios.
• While GCM performs relatively well in our online experiment scenario, not all the devices
receive the GCM messages in a timely fashion. Hence, GCM may be a good for the
application scenarios where random multicasting is necessary, However, GCM is not a
good fit for the applications where the broadcasting is mission critical.

• The message arrival to all client devices is essential, such as emergency alert system, fire
alert systems, instant messaging apps, disaster alert system etc.
REFERENCES

• Ghosh, Angana (2012-06-27). "Android Developers Blog". Introducing Android 4.1 (Jelly
Bean) preview platform, and more. Retrieved 2016-09-09.
• “Google Cloud Messaging for Android— Android Developers.”[Online].

• Available: http://developer.android.com/google/gcm/index.html.
• J.F. Hernandez, V.M. Larios. "Cloud Computing Architecture for Digital Service into Smart
Cities." IEEE (2013): 1-4.
• Miss. Sana Ismail Khan, Prof. Y. S. Patil. "Google Cloud Messaging (GCM)." International
Journal of Innovative and Emerging Research in Engineering(IJIERE) (2016): 64-67
Thank you .

You might also like