Академический Документы
Профессиональный Документы
Культура Документы
ABSTRACT
Google Allo is a proprietary, cross-platform instant messaging application for smart phones.
Moreover, to smart messaging Allo users can send each other images, sticker, and video as well
as audio media messages. The client software is available for Google Android, Apple iOS.
Allo is mobile app developed by Google that includes a virtual assistant and provides a "smart
reply" function that allows users to reply without typing.
It was announced at Google I/O on May 18, 2016 and launched on September 21, 2016.Allo is
not compatible with only Android but it is available for iOS. Allo synchronizes with the phones
contacts book, so users do not need to add contacts in a separate book.
Alls Smart reply function uses Google's machine learning technology to suggest a reply to the
last message, which can be selected from a few options. The feature also analyses images sent to
the user in order to suggest responses. Similar to the smart reply feature seen in
Googles Inbox app, it learns from the users behaviour to adapt its suggestions over time. Allo is
one of the apps that support Google Assistant, a conversational virtual assistant.
Whisper Shout allows the user to increase or decrease the size of a message to represent
volume. Allo also lets users draw on photos before sending them.
Page 1
Google Allo
CHAPTER 1
INTRODUCTION
1.1 Background
Google Allo, a smart messaging app that helps you say more and do more. Express yourself
better with stickers, doodles, and HUGE emojis & text. Allo brings you the Google Assistant,
preview edition.
It is application for messaging developed by Google X labs slated to run on the Android and iOS.
Allo was announced at Google I/O on May 18, 2016. At the time, Google said that it would release
Allo in summer 2016. Google launched the app on September 21, 2016. It was mentioned during the
#MadeByGoogle event on October 4th, 2016.
Allos Smart reply function uses Googles machine learning technology to suggest a reply to the
last message, which can be selected from a few options. The feature also analyses images sent to the
user in order to suggest responses. Similar to the smart reply feature seen in Google's Inbox app, it
Department of Computer Engineering,
BVPCOE, Pune
Page 2
Google Allo
learns from the user's behaviour to adapt its suggestions over time. Allo is one of the apps that
support Google Assistant, a conversational virtual assistant.
Page 3
Google Allo
Developer(s) : Google
Stable release: Android and iOS
Development status : Active
Available in : English
Type : Instant Messaging
Website : allo.google.com
1.3 Achievements
Page 4
Google Allo
CHAPTER 2
FEATURES
2.1 Smart Reply
Respond to messages without typing a single word. Smart Reply learns over time and suggests
responses to text and photos, in your style
Page 5
Google Allo
2.2 Ink
Get creative with the photos you send by doodling on them or adding text. You can draw on
photos in messages with Ink. Add text with your keyboard or write a message on your Note: This
feature is currently only available on Android devices.
Steps for Ink:
Open Allo.
Tap the chat where you want to send the photo.
Tap Add
Tap Insert photo : Choose a photo from your device's library or take a photo.
Tap Edit .
Marker : To write a message with your finger, tap the marker icon and choose a color.
Text : To type with the keyboard, tap the text icon and type your message. Then tap
done .
Undo : If you make a mistake that you want to erase, tap Undo
Then tap Send
2.3 Stickers
Say it all with the perfect sticker. Stickers in Google Allo are designed by independent artists and
studios from around the world.
Steps:
Department of Computer Engineering,
BVPCOE, Pune
Page 6
Google Allo
. Under "Add Stickers," you can also see if any new sticker sets are available.
Page 7
Google Allo
Page 8
Google Allo
Steps
Page 9
Google Allo
Open Allo.
Tap New Chat and Start group chat.
From the Contacts list, tap the names of the people you want to chat with. You can also
You can see, delete or clear your chat history with your contacts in Allo.
Your Allo conversations are stored on your device and Google's servers. You can delete
conversations or clear your message history within conversations in Allo only on your
own device. The messages won't be deleted or cleared on the devices of the people you
chatted with.
To delete your chats with your Google Assistant, youll need to delete the activity in your
Page 10
Google Allo
When you delete a conversation, the entire conversation will be deleted and removed
from your conversation list. Keep in mind that this is for your chats with contacts only,
But the conversation will stay in your conversation list without any messages.
Open Allo.
Tap the conversation you want to change settings for.
In the upper right, tap the profile icon and clear history
You can search for keywords from past messages in Google Allo. This is currently only
highlighted.
Search within one conversation
Open Allo.
Tap the conversation you want to search in.
In the upper right, tap the profile icon and search.
You can find the status of a message you sent on Allo on the right side of the message.
Page 11
Google Allo
This will only work if you sent the message to Allo users. If you've invited non-Allo
users and are messaging them outside of the app, you may not see the message delivery
indicators.
Sending : The message is still being sent.
Sent : The message was sent to Google servers.
Delivered : : The recipient received the message.
Read : The recipient has read your message. Tap the message to find out what time it
was read.
Note: In group messages, the status will update when all contacts receive or read your
message.
Message isn't sending
If you're having problems sending a message, check to make sure you have a strong data
or Wi-Fi connection.
Page 12
Google Allo
Steps:
Page 13
Google Allo
When you receive a sticker from a sticker pack that you dont have, Allo will download it
day, or 1 week.
For the sender: The timer starts when the message is sent.
For the receiver: The timer starts when the message is read.
Within the same chat, you and the recipient share the same timer setting. But you can set
Page 14
Google Allo
Insert photo
: Choose a photo or video from your device's library. If you want to draw
. Under "Add Stickers," you can also see if any new sticker sets are available.
shared media.
CHAPTER 3
GOOGLE ASSISTANCE
Google Assistant is an intelligent personal assistant developed by Google and announced
at Google I/O May 2016. It is considered an extension of Google Now. Unlike Google Now,
Google Assistant can engage in two-way conversations. The assistant is currently integrated in
the Allo app. It will also be included in Google Home, a smart voice-enabled wireless speaker,
and proposed versions of Android Wear.
Specification
Original author(s): Google
Developer(s): Google
Initial release : 2016
Development status : Active
Available in: English
Type : Intelligent personal assistants
Page 15
Google Allo
CHAPTER 4
HOW DOES IT WORK
At Google, we are continuously building products powered by Machine Learning to delight our
users and simplify their lives. Today, we are excited to talk about the technology behind Allo, a
new smart messaging app that uses the power of neural networks and Google Search to make
your text conversations easier and more productive.
Just like Smart Reply for Inbox, Allo understands the conversation history to generate a set of
suggestions that the user will likely want to respond with. In addition to understanding the
context of your conversation, Allo learns your individual style, so the responses are personalized
for you.
3.1Howdoesitwork?
About a year ago, we started exploring how we can make communication easier and more fun.
Department of Computer Engineering,
BVPCOE, Pune
Page 16
Google Allo
The idea of Smart Reply for Allo came up in a brainstorming session with my teammates
Sushant Prakash and Ori Gershony who then helped me lead our team to build this technology.
We began by experimenting with neural network based model architectures which had proven to
be successful for sequence prediction, including the encoder-decoder model used in Smart Reply
for Inbox.
One challenge we faced was that response generation in online conversations have very strict
latency requirements. To address this, Pavel Sountsov and Sushant came up with an innovative
two-stage model that works as follows. First, a recurrent neural network looks at the
conversation context one word at a time and encodes it in the hidden state of a long short term
memory (LSTM). Below, we show an example with a context Where are you?. The context has
three tokens, each of which is embedded into a continuous space and input to the LSTM. The
LSTM state now encodes the context as a continuous vector. This vector is used to generate the
response as a discretized semantic class.
Each semantic class is associated with a set of possible messages that belong to it. We use a
second recurrent network to generate a specific message from that set. This network also
converts the context into a hidden LSTM state but this time the hidden state is used to generate
Department of Computer Engineering,
BVPCOE, Pune
Page 17
Google Allo
the full message of the reply one token at a time. For example, now the LSTM after seeing the
context Where are you? generates the tokens in the response: Im at work.
A beam search is used to efficiently select the top-N highest scoring responses from among
the very large set of possible messages that a LSTM can generate. A snippet of the search
space explored by such a beam-search technique is shown below.
Department of Computer Engineering,
BVPCOE, Pune
Page 18
Google Allo
Page 19
Google Allo
As with any large-scale product, there were several engineering challenges we had to solve in
generating a set of high-quality responses efficiently. For example, in spite of the two staged
architecture, our first few networks were very slow and required about half a second to generate
a response. This was obviously a deal breaker when we are talking about real time
communication apps! So we had to evolve our neural network architecture further to reduce the
latency to less than 200ms. We moved from using a softmax layer to a hierarchical softmax layer
which traverses a tree of words instead of traversing a list of words thus making it more
efficient.
Another interesting challenge we had to solve when generating predictions is controlling for
message length. Sometimes none of the most probable responses are appropriate - if the model
predicts too short a message, it might not be useful to the user, and if we predict something too
long, it might not fit on the phone screen. We solved this by biasing the beam search to follow
paths that lead to higher utility responses instead of favoring just the responses that are most
probable. That way, we can efficiently generate appropriate length response predictions that are
useful to our users.
Page 20
Google Allo
Page 21
Google Allo
Heres an example of how the graph might look for a set of messages related to greetings:
Page 22
Google Allo
CHAPTER 5
DOWNLOADING AND INSTALLING
4.1 Downloading and installing
One can simply download Allo by visiting http://www. allo.google.com /download/ To
verify Allo using your own mobile number First you need to have Application installed
in your mobile and needs to have minimum balance.
Suppose if the application was uninstalled, you can again install and register with the
previous number. The process will be same as the above.
4.2 Verification
To verify Allo by entering a invalid mobile number Allo not only test the mobile IMEI
numbers but also test the valid or wrong numbers. Suppose if you have entered an
invalid/wrong number. For to test this, you need to have a mobile with SIM inserted and
Allo installed and with minimum balance.
Then the procedure will be as follows:
Launch the application.
Enter any number other than your mobile number and tap on "OK" button.
Verification process continues and after 10 minutes of total time.
Your mobile gets "connection failed, reverify" popup.
This will happen because Allo will work for one number and one device. If anyone tries
to register with a invalid/wrong number, a highly secured procedure is implemented.
To verify Allo by Interchanging the SIM cards here we are going to see how Allo works
when two registered mobile numbers (SIMS) are interchanged. For this you need to have
two mobiles registered with their own mobile numbers. Now to verify the above scenario,
follow the procedure: But you need to connect to a Wi-Fi/mobile data.
Switch OFF both the mobiles A & B.
Department of Computer Engineering,
BVPCOE, Pune
Page 23
Google Allo
Page 24
Google Allo
CHAPTER 6
PROTOCOL USED
Allo uses a customized version of the open standard Extensible Messaging and Presence
Protocol (XMPP) Upon installation, it creates a user account using one's phone number
as the username (Jabber ID: [phone number]@s.allo.com). Allo software automatically
compares all the phone numbers from the device's address book with its central database
of Allo users to automatically add contacts to the user's Allo contact list. Previously the
Android and S40 versions used an MD5-hashed, reversed-version of the phone's IMEI as
password,[15] while the iOS version used the phone's Wi-Fi MAC address instead of
IMEI. A 2012 update now generates a random password on the server side.
5.1 XMPP:
Extensible Messaging and Presence Protocol (XMPP) is a communications protocol for
message-oriented middleware based on XML(Extensible Markup Language).[1] The
protocol was originally named Jabber,[2] and was developed by the Jabber open-source
community in 1999 for near real-time, instant messaging (IM), presence information, and
contact list maintenance. Designed to be extensible, the protocol has also been used for
publish subscribe systems, signaling for VoIP, video, file transfer, gaming, Internet of
Things applications such as the smart grid, and social networking services.
Unlike most instant messaging protocols, XMPP is defined in an open standard and uses
an open systems approach of development and application, by which anyone may
implement an XMPP service and interoperate with other organizations' implementations.
Because XMPP is an open protocol, implementations can be developed using any
software license; although many server, client, and library implementations are
distributed as free and open-source software, numerous freeware and commercial
software implementations also exist.
5.2 Characteristics:
Open: It's free. There are multiple implementations for open source XMPP
servers, as many customers and development libraries.
Page 25
Google Allo
Free: you can see how it works, and the user has the freedom to implement
himself the freedom to suit their needs, without needing anyone's approval.
Extensible: using the potential of XML, anyone can extend the XMPP protocol
5.3 Architecture:
Generally, XMPP is implemented and used as a client-server distributed architecture.
When we send an XMPP message to a contact, the XMPP client connects to our XMPP
server, and it connects directly to our contact XMPP server, without performing multiple jumps.
Page 26
Google Allo
Page 27
Google Allo
5.4 XML:
XMPP is essentially a technology for transmitting XML. Once the connection is established, we
can exchange messages asynchronously with the server. Types of XML tags to transmit different
type of messages:
Stream: Container unit is a sequence of messages XMPP.
Message: Used to send messages between users.
Presence: To report the presence of the user. This includes when they connect, disconnect, and
change state or name.
Iq : It is used for the transmission of internal commands. A new connection, report bugs &
things that have nothing to do with users.
XEP: are the set of applications that extends the different labels that supports the protocol.
Page 28
Google Allo
with a network analysis tools & protocols such as Wireshark & specific application called
Allo Xtract. XMPP SASL provides a generalized method for authentication.
5.7 MD5:
The MD5 message-digest algorithm is a widely used cryptographic hash function
producing a 128-bit (16-byte) hash value, typically expressed in text format as a 32 digit
hexadecimal number. MD5 has been utilized in a wide variety of cryptographic
applications, and is also commonly used to verify data integrity. MD5 was designed by
Ron Rivest in 1991 to replace an earlier hash function, MD4. The source code in RFC
1321 contains a "by attribution" RSA license.
Page 29
Google Allo
Page 30
Google Allo
CHAPTER 7
COMPARISION
Google Allo: The USP for Google Allo is that it can do a lot more than regular messaging apps.
Google Assistant combines the power of search, machine learning to pitch results that are
accurate, and scarily so. You can pull the Google Assistant in the middle of a chat, ask it to look
up restaurants close by, or movie timings for later in the evening, or just play a game with the
Assistant. The app also gives auto-suggestions for replies.
Its also ahead of Whatsapp in offering support for Stickers and the ability to draw on photos and
videos (Android only). Along with Gboard on iOS, a user can also send GIFs on Allo. Theres
also an Incognito chat mode for end-to-end encryption and the chats disappear after sometime. A
user can tweak the expiration time for each message in this Incognito mode. Groups chats are
also supported on the app and a user can send an SMS for free to those who dont have the Allo
app. These replies from an SMS also come inside Allo.
The drawback: There are privacy concerns since this is not an end-to-end encrypted app and
Google is storing all your chats with Google Assistant on their servers. From a privacy
perspective the app is not so perfect. Also Google Allo doesnt support file-sharing like
Whatsapp or Telegram yet.
Page 31
Google Allo
Whatsapp: Whatsapp Messengers biggest plus is that its end-to-end encrypted by default. So
on Whatsapp your messages cant be read by a third-party by Whatsapp or even Facebook. Once
you delete the message it is truly gone forever. Whatsapp also support voice-calling on the app
itself. It also has support for sharing from third-party apps like Google Drive, One Drive, iCloud
and
you
can
upload
files
from
here
into
your
messages.
Whatsapp plans to get stickers, scribbling on photos, etc pretty soon as well, according to the
latest Android Beta files. In iOS, Whatsapp is integrated with Siri, and the voice-assistant can
send messages or make voice-calls directly on the app. Whatsapp is also planning to launch
services on the app and youll soon have your bank or airline messaging you on it.
The drawback: Whatsapp has recently announced a big policy change where it will start sharing
information with Facebook which is its parent company. A user can opt out of this feature, and
while no information will be posted on Facebook, other information like phone number, device
used, etc will be shared with the social media giant in order to improve ads on the website.
Page 32
Google Allo
Page 33
Google Allo
Snapchat: The app once known for sexting between teens has come a long way, and is now the
one that everyone is copying. From drawing on photos to face filters to Stories and Messages
that disappear after 24 hours, Snapchat has everyones interest.
Snapchat lets users share stories with a bunch of followers, and videos (up to 10 seconds)
instantly. The videos can be edited as you shoot them to add annotations, text, emojis, even a
face filter as youre recording it live. A user can also follow other important Snap chatters and
see their stories as they post them. Discover tab has content created especially for Snapchat,
which are usually videos or image-based articles.
On the messaging side, Snapchat lets you make video calls, send stickers, pictures, photos, to
your friends on the app.
The drawback: Snapchats complicated design means not everyone can figure out the app, and
it takes a while finding all the new features. Snapchat is also not end-to-end encrypted and
messages are stored on the companys servers for 30 days before they are deleted.
Page 34
Google Allo
CHAPTER 7
CONCLUSION
Application testing requires a detailed overview of the System requirements and Functional
requirements
Testing application and making it to sustain in harsh environment makes the application more
flexible and quality wise very rich.
Based on products review up gradation is done this makes application to stay alive and popular
in market.
Various robust testing makes the application capable to satisfy every requirements and needs of
the customer.
Allo on the other hand has been around for quite some time now and is being used by most and
offers functionality like text based messaging and files transfers.
Page 35
Google Allo
CHAPTER 8
FUTURE SCOPE
Allo has amazing features but still needs some improvement. The messaging features are great,
But the integration with SMS is non-existent. There is no quick reply from the notification as
there are most messaging apps, Such as Google messenger or hangouts. There is not good
support for android, which should allow users to read through there chats and reply message.
REFRENCES
1. https://en.wikipedia.org/wiki/Google_Allo
Department of Computer Engineering,
BVPCOE, Pune
Page 36
Google Allo
2. https://allo.google.com/
3. http://research.google.com/pubs/papers.html
4. http://indianexpress.com/article/technology
5. http://www.forbes.com
Page 37