ABSTRACT:-
Today Android is widely used operating system for smart phones, it is used as personal computer also. It contains a touch screen user interface, camera and network monitoring. The main purpose of this paper is to proposed a methodology to provide instant messaging over Google Cloud Messaging (GCM) and also we presents a survey on timing performance of GCM, our findings that the message delivery is uncertain , it does not guarantee to timely message arrival. Therefore is not applicable for time sensitive, but it may be good for application scenarios where random multicasting is sufficient.
This paper will help to learn Android device to device messaging (Instant Messaging) using Google Cloud Messaging (GCM). Communication flow arises from an Android device and the message to be communicated will be sent to GCM application server. From that server the message will be transfer to the Google Cloud Messaging server with the Reg Id of the device to send the notification. Then this message will be sent to another Android device by the Google Cloud Messaging server as a notification. It allows developers to send push messages to android device from the server. Google Cloud Messaging is a popular service as a client/server communication solution for android platform .
Keywords : Instant messaging, GCM, Timing performance of GCM.
3. 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.
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.
3
DEPARTMENT OF COMPUTER & IT 2017-18
4. GCM: Characteristics
4
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.
Requires devices running Android 2.2 or higher (with Google
Play Store application installed), or an emulator running
Android 2.2 with Google APIs.
DEPARTMENT OF COMPUTER & IT 2017-18
5. LITERATURE SURVEY
In it describes the technology of GCM (Google Cloud Message) as it is
used for instant messaging & it uses client-server architecture.
It uses My sql database to store the user information. For using this
service user has to be registered .
In GMC for security of cloud computing a semi anonymous privilege
control scheme is proposed namely Anony Control & Anony Control-F.
Anony Control is responsible for to privilege all operations on cloud
data in well manner.
Anony Control-F it provides right to central authority to limit the
identity leakage & thus achieves semi anonymity.
5
DEPARTMENT OF COMPUTER & IT 2017-18
6. 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.
6
DEPARTMENT OF COMPUTER & IT
2014-15
7. GCM: Architectural Overview
DEPARTMENT OF COMPUTER & IT
2014-15
7
Key Terms : key terms and concepts involved in GCM are divided
into these categories.
Components -The physical entities that playa 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
8. GCM Architecture: Components
8
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.
DEPARTMENT OF COMPUTER & IT 2017-18
10. WORKING
GCM Messages in Crowd Replay.
In TV game show, the questions appear on the TV in random moments. Because of this,
Crowd Reply uses push messages to send the questions, alternatively the client device
polling the questions from the server.
Crowd Reply consists of two important components, a mobile side for presenting the
questions to the users and letting them answer the questions which is ask in a TV show.
Fig. Crowd Replay System Architecture
.
11. HOW GCM WORKS .
DEPARTMENT OF COMPUTER & IT
2014-15
11
GCM registers your device and generates a registration Id for your application.
Your app sends the registration Id (plus optional additional information) to the
airbop servers.
GCM sends the message to the apps and devices that match the registratio
n Id.
Mobile application opens the message and handles the data appropriately.
12. ADVANTAGES
12
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.
DEPARTMENT OF COMPUTER & IT 2017-18
13. DISADVANTAGES
13
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.
DEPARTMENT OF COMPUTER & IT 2017-18
14. Application
14
Widely used in mobile device for notification.
Important part for developing Android application.
GMC also have application in GPS for location tracking .
It may be good for application scenarios where random multicasting is
sufficient.
GMC 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.
DEPARTMENT OF COMPUTER & IT 2017-18
15. Future Scope
15
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.
DEPARTMENT OF COMPUTER & IT 2017-18
16. Conclusion
16
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.
DEPARTMENT OF COMPUTER & IT 2017-18
17. REFERENCES
17
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.
DEPARTMENT OF COMPUTER & IT 2017-18