SlideShare a Scribd company logo
1 of 64
motorola confidential
Analytics at Motorola
Motorola journey to enable self-serve
analytics that leverage Google tools
and API
http://www.gatewayanalyticsnetwork.com/b125-home
Dr Patrick Deglon
Director of Engineering,
Analytics Area Tech Lead
Motorola Mobility
pdeglon@motorola.com
pdeglon
motorola confidential
What my friends think
I do
What my mum thinks
I do
What the Execs
think I do
What I think I do What the Execs
wants me to do
What I really do
About Patrick
motorola confidential
...
Overview of Motorola Business
About Us
Motorola exists to invent, build and deliver
the best mobile devices on the planet,
improving the lives of millions of people.
motorola confidential
1928 1936 1943 1955 1969
World’s first
portable
FM two-way
radio
Motorola
introduced
Police Cruiser
Radio Receiver
World’s first
high-power
transistor
in commercial
production
First words
from moon
relayed via
Motorola
radio
Motorola: 80+ YEARS OF INNOVATION
1947 1963
World’s first
truly
rectangular
color TV
tube
1983 19961991
World’s first
commercial
handheld
cellular phone
DynaTAC 8000X
weighed 28-ounces
(794 grams)
World’s first
GSM cellular
system
World’s first
dual-mode
cellular phone
The 3.1 ounce
(88 grams)
StarTac©
wearable cellular
phone is the
world’s smallest
and lightest
1990
World’s first
HDTV technical
standard
1973
Demonstrated
prototype of
the DynaTAC
portable
cellular
system
World's first handset
, iDEN i1000plus, to
combine a digital
phone, two-way
radio, Internet
microbrowser,
e-mail, fax and two-
way messaging
1999 2000
World’s first
general packet
radio service
(GPRS)
wireless phone
for always on
Internet access
2004 2006 2009
Iconic RAZR
V3 wireless
phone
introduced
MING smart
phone recognizes
10,000+
handwritten
characters
from Chinese
alphabet
20122002
World’s first
wireless cable
modem gateway
introduced
Motorola
DROID #1 on
Time’s Top
Ten of 2009
2013 2014
Launch
MotoX,
Moto G
Fast
upgrades
Galvin
Manufacturing Corp
Moto E
Moto 360
motorola confidential
• Overview of Analytics at Motorola
• Daily Email: Reporting with Google Spreadsheet + BigQuery
• Moto Insights: Reporting with App Engine + BigQuery
• Drive Insights: Reporting with App Engine + BigQuery + Google
Analytics + Google Drive
• Big Feed: ETL with App Engine & Big Query
Agenda
motorola confidential
How do we see Analytics at Motorola?
Provide easy access to data &
insights to drive the business
towards our goal*:
Raw Data
Business Datasets
Visualization
Driving Insights &
Recommendation
* Motorola exists to invent, build and deliver the
best mobile devices on the planet, improving the
lives of millions of people.
Enablers:
● Self-serve with low barrier to
data and know-how
● High data quality & trust
● Deep understanding of
customer & device behavior
● Feedback loop to improve user
experience & device
performance
● Strong data stewardship
motorola confidential
Our Big Data Environment
Instrumentation
with user consent
Android Settings
Motorola Privacy
☐ Help Improve Motorola Products (On/Off)
Moto Care (On/Off)
Motorola
Cloud
Insights
Google Platforms
App Engine (large scale web servers)
Cloud Storage (large file storage)
Data Store (large real-time storage)
Big Query (public implementation of Dremel)
Compute Engine (virtual Linux servers)
…
motorola confidential
Google: A galaxy of open APIs and Tools…
App EngineBig Query
Compute Engine
Users Cloud Messaging
Analytics
Maps
Charts
Data Store
Cloud Storage
Cloud SQL
Drive
Docs
Translate
Predict
Mail
Data Store
Task Queue
Memcache
URL Fetch
Cloud End Point
Channel
Java
Python
Go
Mail
and many more ...
motorola confidential
• Big Query: Instrumentation
• Big Query: Server logs
• Big Query: SalesForce
• Big Query: External data
• Google Analytics
• Google Spreadsheets & CSV
Raw Data Business Datasets Visualization
• BigFeed (internal tool build
on App Engine to manage
BigQuery ETL)
• Compute Engine (ETL CRON
jobs)
• Google Spreadsheets &
Docs
• Tableau widget through a
Java web server
• Moto Insights (internal
tool bridging BigQuery
with Google Charts)
• Drive Insights (next
generation of Moto
Insights with Google Drive)
Data flows for Analytics
motorola confidential
• Overview of Analytics at Motorola
• Daily Email: Reporting with Google Spreadsheet + BigQuery
• Moto Insights: Reporting with App Engine + BigQuery
• Drive Insights: Reporting with App Engine + BigQuery + Google
Analytics + Google Drive
• Big Feed: ETL with App Engine & Big Query
Agenda
motorola confidential
Daily Activations Report
How to provide a global
source of truth and
provide insights from
data points?
Existing Situation
- Numerous (conflicting) sources of truth
- Too many variations of same data cube
- “Table in your face” approach
- No global business definition
- No curation of manually entered data
- Report accessible on an internal portal
(through VPN)
- No mobile form factor
motorola confidential
Simplified Business Flow
Data Flow
Motorola Factory
# Shipments
Distribution Channels
# Sales
First Usage
# Activations
InsightsGoogle BigQuery
Motorola
Cloud
motorola confidential
Final deliverable
Illustrative
Simulation
motorola confidential
• Assume sales follow a diffusion S-shape, i.e.
Description of the illustrative simulation
Marketing Word of mouth
ΔN
Nmax
N
• Add random noise to theoretical daily activations (Poisson)
• Simulated daily activations (sales) for United States, Canada,
Brazil, India, Russia, China, Germany and United Kingdom
with various launch date per region
ΔN = a (Nmax - N) + b N (Nmax - N)
motorola confidential
Step 1: Create a backbone table
SELECT
CAL_DT,
Country
FROM
ON A.Dummy=B.Dummy
WHERE
B.CAL_DT>=A.Launch_Date
motorola.com:sandbox:demo.backbone:
INNER JOIN
(
SELECT
Country,
CASE
WHEN Country IN ('United States','Canada') THEN '2013-08-01'
WHEN Country IN ('Brazil','Russia','India','China') THEN '2013-10-01'
ELSE '2013-12-01'
END AS Launch_Date,
GDP_USD/1e7 AS Scale,
1 AS Dummy
FROM
[motorola.com:sandbox:pdeglon.countries]
WHERE
Country IN ('United States','Canada','Brazil','Russia','India',
'China','Germany','United Kingdom')
) AS B
(
SELECT
CAL_DT,
1 AS Dummy
FROM
[motorola.com:sandbox:pdeglon.calendar]
) AS A
X
BACKUP
motorola confidential
Step 2: Calculate KPI value over time
SELECT
CAL_DT,
Country,
‘Phone 123’ AS Model,
INTEGER(Scale*
EXP(-POW( -150,2)/2/POW(75,2))
/(75*SQRT(2*PI()))
) AS Daily_Activations
FROM
[motorola.com:sandbox:demo.backbone]
motorola.com:sandbox:demo.baseline:
DATEDIFF(TIMESTAMP(CAL_DT),TIMESTAMP(Launch_Date))
...
Normal Distribution:
BACKUP
motorola confidential
Step 3: Add Random Noise
SELECT
CAL_DT,
Model,
Country,
INTEGER(
Daily_Activations + SQRT(Daily_Activations) *
SQRT(-2*LN(RAND()))*COS(2*PI()*RAND())
) AS Daily_Activations
FROM
[motorola.com:sandbox:demo.baseline]
motorola.com:sandbox:demo.simulation:
Normal (Gaussian) Random Number
(mu=0, sigma=1)
(pseudo) Poisson distribution for
N=Daily_activation
BACKUP
motorola confidential
Step 4: Final Pivot for report
SELECT
CAL_DT,
SUM(Daily_Activations) AS Total,
SUM(CASE WHEN Country IN ('United States','Canada') THEN Daily_Activations ELSE 0 END) AS NA,
SUM(CASE WHEN Country IN ('Brazil','Russia','India','China') THEN Daily_Activations ELSE 0 END) AS BRIC,
SUM(CASE WHEN Country IN ('Germany','United Kingdom') THEN Daily_Activations ELSE 0 END) AS EU,
SUM(CASE WHEN Country='United States' THEN Daily_Activations ELSE 0 END) AS UnitedStates,
SUM(CASE WHEN Country='Canada' THEN Daily_Activations ELSE 0 END) AS Canada,
SUM(CASE WHEN Country='Brazil' THEN Daily_Activations ELSE 0 END) AS Brazil,
SUM(CASE WHEN Country='Russia' THEN Daily_Activations ELSE 0 END) AS Russia,
SUM(CASE WHEN Country='India' THEN Daily_Activations ELSE 0 END) AS India,
SUM(CASE WHEN Country='China' THEN Daily_Activations ELSE 0 END) AS China,
SUM(CASE WHEN Country='Germany' THEN Daily_Activations ELSE 0 END) AS Germany,
SUM(CASE WHEN Country='United Kingdom' THEN Daily_Activations ELSE 0 END) AS UnitedKingdom
FROM
[motorola.com:sandbox:demo.simulation]
WHERE
CAL_DT<CURRENT_DATE()
GROUP BY 1
ORDER BY 1 DESC
BACKUP
motorola confidential
Google Spreadsheet personalization
motorola confidential
Script Editor: App Script language (JS style)
motorola confidential
Example for adding a new menu item
motorola confidential
Query the data: SQL pivot
motorola confidential
Running the query on BigQuery
motorola confidential
Parsing the results
motorola confidential
Pivot data sheet
motorola confidential
Aggregate into a Summary sheet
motorola confidential
Email template sheet
(HTML + spreadsheet formula)
motorola confidential
Preparing email: concatenate all cells
motorola confidential
Adding a chart to the email
motorola confidential
Sending the email through Gmail
motorola confidential
Helping user understand Signal vs Noise and Main Drivers
motorola confidential
Celebrating with Key Milestones
motorola confidential
Final output
motorola confidential
Automating the process with Triggers
motorola confidential
Schedule process & QA
Refresh Data (H-3)
Automated QA Checks
Area Leads check the numbers
Alert Email to Operation Center
Errors
Preliminary Email (H-2)
No Errors
Final Emails (H)
No Complains
Revisit QA rules
Complains
Correct Data & RerunCorrect Data & Rerun
motorola confidential
• Overview of Analytics at Motorola
• Daily Email: Reporting with Google Spreadsheet + BigQuery
• Moto Insights: Reporting with App Engine + BigQuery
• Drive Insights: Reporting with App Engine + BigQuery + Google
Analytics + Google Drive
• Big Feed: ETL with App Engine & Big Query
Agenda
motorola confidential
Moto Insights
How to provide insights to
executive-on-the-go with a
robust system where new report
take seconds to create?
Existing Situation
- Require VPN
- New Report take weeks
to create
- New features take
months to develop
- Team spend more time
resolving defects than
developing new features &
reports
motorola confidential
Demo Moto Insights
Moto Insights
App Engine
Data Source:
Big Query
Report
Meta Data:
Datastore
Tracking:
Datastore
Users Access:
Google Users
(email) +
Datastore (role)
Moto Insights
Web portal
Moto Insights
Android App
motorola confidential
Responsive Design
responsive
design
Front-end based on Bootstrap CSS
and AngularJS
motorola confidential
Report meta-data
motorola confidential
Chart meta-data
motorola confidential
All Google chart types
motorola confidential
Example with the Illustrative Simulation
motorola confidential
• Overview of Analytics at Motorola
• Daily Email: Reporting with Google Spreadsheet + BigQuery
• Moto Insights: Reporting with App Engine + BigQuery
• Drive Insights: Reporting with App Engine + BigQuery + Google
Analytics + Google Drive
• Big Feed: ETL with App Engine & Big Query
Agenda
motorola confidential
Drive Insights
How to promote self serve and
democratize Analytics within the
company while maintaining
quality (data & insights) as well
as managing Big Data access?
Existing Situation
- Reports are produce by a
centralized team
- Insight needs are rapidly changing
- In the eyes of our internal
customers, long lead time on report
evolution
Key assumption: Business community can become
SQL literate with the help of trainings, tutorials and
documentation on a Data Wiki (Confluence)
motorola confidential
Demo Drive Insights (Moto Insights V2)
Drive Insights
App Engine
Data Source:
Big Query
Data Source:
Google Analytics
iFrame Source:
Tableau Server
iFrame Source:
Google Documents
Report
Meta Data:
Google Drive
(Text file with
JSON)
Report
Meta Data:
Datastore
(Report copy &
usage tracking)
Users Access
Control:
Google Users +
Drive Sharing
Google Drive
Moto Insights
Android App
Drive Insights
Web portal
motorola confidential
New document type in your Google Drive
motorola confidential
Report meta-data
motorola confidential
Chart meta-data
motorola confidential
Google Chart Types
motorola confidential
SQL Editor (CodeMirror)
motorola confidential
Report document in your Google Drive
motorola confidential
Example of the Illustrative Simulation
motorola confidential
Sharing through Google Drive
42
…so what?
Answer to the Ultimate Question of Life,
The Universe, and Everything
Example: Campaign Measurement
Campaigns
•Campaign Id
•Campaign Name
•Time range
•Set of Countries
•Set of Products
KPI
•Date
•Country
•Product
•KPI[]
X
Trend
•Campaign Id
•Date
•Total of KPI[]
Summary
• Campaign Id
•Campaign Name
• Impact Measurement[]
• Statistical Error[]
Time
Series
Analysis
Extract of a Drive Insights report
Campaign
Window Real data on
truncated axis
Campaign Cycle
Define
Campaign
Run
Campaign
Measure
Impacts
Drive
Insights
motorola confidential
• Overview of Analytics at Motorola
• Daily Email: Reporting with Google Spreadsheet + BigQuery
• Moto Insights: Reporting with App Engine + BigQuery
• Drive Insights: Reporting with App Engine + BigQuery + Google
Analytics + Google Drive
• Big Feed: ETL with App Engine & Big Query
Agenda
motorola confidential
BigFeed: in-house App Engine ETL tool
How to address complexity,
transformation and partitioning?
Existing Situation
- Queries across the entire dataset
- Required more complicated queries
which limited self serve…
- Became inefficient as the volume
grew….
- Lacked comprehensive partitioning
scheme
motorola confidential
“BigFeed is an internal application that provides API and services to
build, run and monitor execution of BigQuery queries”
• Provides a generic framework to develop specific datasets quickly
• Focus is on Query
• Provides URL based access to run BQ to BQ ETL
• Platform agnostic
• Can run feeds on demand
What is BigFeed?
motorola confidential
Why Do a BigFeed?
1. Simplicity - enable simpler queries for the user community. Foster self serve
2. Performance
3. Cost → Scanning less data
4. Need to run a query repetitively → Ongoing analysis
5. Single point of optimization
motorola confidential
• Overview of Analytics at Motorola
• Daily Email: Reporting with Google Spreadsheet + BigQuery
• Moto Insights: Reporting with App Engine + BigQuery
• Drive Insights: Reporting with App Engine + BigQuery + Google
Analytics + Google Drive
• Big Feed: ETL with App Engine & Big Query
Agenda
motorola confidential
Q&A
?
Dr Patrick Deglon
Director of Engineering,
Analytics Area Tech Lead
Motorola Mobility
pdeglon@motorola.com
pdeglon

More Related Content

Viewers also liked

Motorola University
Motorola UniversityMotorola University
Motorola UniversityGanesh Ram B
 
Motorolas Global Strategy
Motorolas Global StrategyMotorolas Global Strategy
Motorolas Global StrategySally Dhina
 
Employee training and development at motorola
Employee training and development at motorolaEmployee training and development at motorola
Employee training and development at motorolaLavanya Sona
 
The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017LinkedIn
 

Viewers also liked (6)

Motorola University
Motorola UniversityMotorola University
Motorola University
 
Motorolas Global Strategy
Motorolas Global StrategyMotorolas Global Strategy
Motorolas Global Strategy
 
Employee training and development at motorola
Employee training and development at motorolaEmployee training and development at motorola
Employee training and development at motorola
 
Motorola
MotorolaMotorola
Motorola
 
Hero Moto Corp
Hero Moto CorpHero Moto Corp
Hero Moto Corp
 
The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017
 

Similar to Analytics at Motorola: Motorola journey to enable self-serve analytics that leverage Google tools and API

Critical Breakthroughs and Challenges in Big Data and Analytics
Critical Breakthroughs and Challenges in Big Data and AnalyticsCritical Breakthroughs and Challenges in Big Data and Analytics
Critical Breakthroughs and Challenges in Big Data and AnalyticsData Driven Innovation
 
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016Chris Jang
 
Google not all clouds are created equal - sap sapphire 2014 (1)
Google not all clouds are created equal - sap sapphire 2014 (1)Google not all clouds are created equal - sap sapphire 2014 (1)
Google not all clouds are created equal - sap sapphire 2014 (1)David Torres
 
Visual, Interactive, Predictive Analytics for Big Data
Visual, Interactive, Predictive Analytics for Big DataVisual, Interactive, Predictive Analytics for Big Data
Visual, Interactive, Predictive Analytics for Big DataArimo, Inc.
 
Eric Andersen Keynote
Eric Andersen KeynoteEric Andersen Keynote
Eric Andersen KeynoteData Con LA
 
Google's Infrastructure and Specific IoT Services
Google's Infrastructure and Specific IoT ServicesGoogle's Infrastructure and Specific IoT Services
Google's Infrastructure and Specific IoT ServicesIntel® Software
 
Building what's next with google cloud's powerful infrastructure
Building what's next with google cloud's powerful infrastructureBuilding what's next with google cloud's powerful infrastructure
Building what's next with google cloud's powerful infrastructureMediaAgility
 
Google cloud big data summit master gcp big data summit la - 10-20-2015
Google cloud big data summit   master gcp big data summit la - 10-20-2015Google cloud big data summit   master gcp big data summit la - 10-20-2015
Google cloud big data summit master gcp big data summit la - 10-20-2015Raj Babu
 
BigData @ comScore
BigData @ comScoreBigData @ comScore
BigData @ comScoreeaiti
 
Container world 2019 Canary Release
Container world 2019 Canary ReleaseContainer world 2019 Canary Release
Container world 2019 Canary ReleaseBilly Yuen
 
[WSO2Con EU 2017] Deriving Insights for Your Digital Business with Analytics
[WSO2Con EU 2017] Deriving Insights for Your Digital Business with Analytics[WSO2Con EU 2017] Deriving Insights for Your Digital Business with Analytics
[WSO2Con EU 2017] Deriving Insights for Your Digital Business with AnalyticsWSO2
 
AzureML Welcome to the future of Predictive Analytics
AzureML Welcome to the future of Predictive Analytics AzureML Welcome to the future of Predictive Analytics
AzureML Welcome to the future of Predictive Analytics Ruben Pertusa Lopez
 
Workshop on Google Cloud Data Platform
Workshop on Google Cloud Data PlatformWorkshop on Google Cloud Data Platform
Workshop on Google Cloud Data PlatformGoDataDriven
 
Big Data Pipeline for Analytics at Scale @ FIT CVUT 2014
Big Data Pipeline for Analytics at Scale @ FIT CVUT 2014Big Data Pipeline for Analytics at Scale @ FIT CVUT 2014
Big Data Pipeline for Analytics at Scale @ FIT CVUT 2014Jaroslav Gergic
 
MongoDB World 2016: Lunch & Learn: Google Cloud for the Enterprise
MongoDB World 2016: Lunch & Learn: Google Cloud for the EnterpriseMongoDB World 2016: Lunch & Learn: Google Cloud for the Enterprise
MongoDB World 2016: Lunch & Learn: Google Cloud for the EnterpriseMongoDB
 
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...Codemotion
 
Azure and Predix
Azure and PredixAzure and Predix
Azure and PredixAltoros
 
GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...
GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...
GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...James Anderson
 
Supercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuerySupercharge your data analytics with BigQuery
Supercharge your data analytics with BigQueryMárton Kodok
 

Similar to Analytics at Motorola: Motorola journey to enable self-serve analytics that leverage Google tools and API (20)

Critical Breakthroughs and Challenges in Big Data and Analytics
Critical Breakthroughs and Challenges in Big Data and AnalyticsCritical Breakthroughs and Challenges in Big Data and Analytics
Critical Breakthroughs and Challenges in Big Data and Analytics
 
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
Google Cloud Platform & rockPlace Big Data Event-Mar.31.2016
 
Google not all clouds are created equal - sap sapphire 2014 (1)
Google not all clouds are created equal - sap sapphire 2014 (1)Google not all clouds are created equal - sap sapphire 2014 (1)
Google not all clouds are created equal - sap sapphire 2014 (1)
 
Visual, Interactive, Predictive Analytics for Big Data
Visual, Interactive, Predictive Analytics for Big DataVisual, Interactive, Predictive Analytics for Big Data
Visual, Interactive, Predictive Analytics for Big Data
 
Eric Andersen Keynote
Eric Andersen KeynoteEric Andersen Keynote
Eric Andersen Keynote
 
Google's Infrastructure and Specific IoT Services
Google's Infrastructure and Specific IoT ServicesGoogle's Infrastructure and Specific IoT Services
Google's Infrastructure and Specific IoT Services
 
Building what's next with google cloud's powerful infrastructure
Building what's next with google cloud's powerful infrastructureBuilding what's next with google cloud's powerful infrastructure
Building what's next with google cloud's powerful infrastructure
 
Google cloud big data summit master gcp big data summit la - 10-20-2015
Google cloud big data summit   master gcp big data summit la - 10-20-2015Google cloud big data summit   master gcp big data summit la - 10-20-2015
Google cloud big data summit master gcp big data summit la - 10-20-2015
 
BigData @ comScore
BigData @ comScoreBigData @ comScore
BigData @ comScore
 
Container world 2019 Canary Release
Container world 2019 Canary ReleaseContainer world 2019 Canary Release
Container world 2019 Canary Release
 
[WSO2Con EU 2017] Deriving Insights for Your Digital Business with Analytics
[WSO2Con EU 2017] Deriving Insights for Your Digital Business with Analytics[WSO2Con EU 2017] Deriving Insights for Your Digital Business with Analytics
[WSO2Con EU 2017] Deriving Insights for Your Digital Business with Analytics
 
AzureML Welcome to the future of Predictive Analytics
AzureML Welcome to the future of Predictive Analytics AzureML Welcome to the future of Predictive Analytics
AzureML Welcome to the future of Predictive Analytics
 
Workshop on Google Cloud Data Platform
Workshop on Google Cloud Data PlatformWorkshop on Google Cloud Data Platform
Workshop on Google Cloud Data Platform
 
Big Data Pipeline for Analytics at Scale @ FIT CVUT 2014
Big Data Pipeline for Analytics at Scale @ FIT CVUT 2014Big Data Pipeline for Analytics at Scale @ FIT CVUT 2014
Big Data Pipeline for Analytics at Scale @ FIT CVUT 2014
 
MongoDB World 2016: Lunch & Learn: Google Cloud for the Enterprise
MongoDB World 2016: Lunch & Learn: Google Cloud for the EnterpriseMongoDB World 2016: Lunch & Learn: Google Cloud for the Enterprise
MongoDB World 2016: Lunch & Learn: Google Cloud for the Enterprise
 
Corporate Preso
Corporate PresoCorporate Preso
Corporate Preso
 
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
 
Azure and Predix
Azure and PredixAzure and Predix
Azure and Predix
 
GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...
GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...
GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...
 
Supercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuerySupercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuery
 

More from Patrick Deglon

A Journey towards Self-Service Analytics
A Journey towards Self-Service AnalyticsA Journey towards Self-Service Analytics
A Journey towards Self-Service AnalyticsPatrick Deglon
 
A Journey into bringing (Artificial) Intelligence to the Enterprise
A Journey into bringing (Artificial) Intelligence to the EnterpriseA Journey into bringing (Artificial) Intelligence to the Enterprise
A Journey into bringing (Artificial) Intelligence to the EnterprisePatrick Deglon
 
Intelligence Data Day 2020
Intelligence Data Day 2020Intelligence Data Day 2020
Intelligence Data Day 2020Patrick Deglon
 
a journey in making sense of big data (part 4: Partnership and Trust)
a journey in making sense of big data (part 4: Partnership and Trust)a journey in making sense of big data (part 4: Partnership and Trust)
a journey in making sense of big data (part 4: Partnership and Trust)Patrick Deglon
 
a journey in making sense of big data (part 3: Internet Marketing)
a journey in making sense of big data (part 3: Internet Marketing)a journey in making sense of big data (part 3: Internet Marketing)
a journey in making sense of big data (part 3: Internet Marketing)Patrick Deglon
 
a journey in making sense of big data (part 2: KPI)
a journey in making sense of big data (part 2: KPI)a journey in making sense of big data (part 2: KPI)
a journey in making sense of big data (part 2: KPI)Patrick Deglon
 
a journey in making sense of big data (part 1: Big Bang)
a journey in making sense of big data (part 1: Big Bang)a journey in making sense of big data (part 1: Big Bang)
a journey in making sense of big data (part 1: Big Bang)Patrick Deglon
 
From the Big Bang to the New Economy, a journey in making sense of Big Data
From the Big Bang to the New Economy, a journey in making sense of Big DataFrom the Big Bang to the New Economy, a journey in making sense of Big Data
From the Big Bang to the New Economy, a journey in making sense of Big DataPatrick Deglon
 
Patrick Deglon PhD Thesis - Bhabha Scattering at L3 experiment at CERN
Patrick Deglon PhD Thesis - Bhabha Scattering at L3 experiment at CERNPatrick Deglon PhD Thesis - Bhabha Scattering at L3 experiment at CERN
Patrick Deglon PhD Thesis - Bhabha Scattering at L3 experiment at CERNPatrick Deglon
 
Patrick Deglon Master Diploma Work - Neural Network Identification of pions, ...
Patrick Deglon Master Diploma Work - Neural Network Identification of pions, ...Patrick Deglon Master Diploma Work - Neural Network Identification of pions, ...
Patrick Deglon Master Diploma Work - Neural Network Identification of pions, ...Patrick Deglon
 
Customer Anaytics at Swiss TUG 2009
Customer Anaytics at Swiss TUG 2009Customer Anaytics at Swiss TUG 2009
Customer Anaytics at Swiss TUG 2009Patrick Deglon
 
From the Big Bang to Ecommerce, a journey in making sense of Big Data
From the Big Bang to Ecommerce, a journey in making sense of Big DataFrom the Big Bang to Ecommerce, a journey in making sense of Big Data
From the Big Bang to Ecommerce, a journey in making sense of Big DataPatrick Deglon
 

More from Patrick Deglon (13)

A Journey towards Self-Service Analytics
A Journey towards Self-Service AnalyticsA Journey towards Self-Service Analytics
A Journey towards Self-Service Analytics
 
A Journey into bringing (Artificial) Intelligence to the Enterprise
A Journey into bringing (Artificial) Intelligence to the EnterpriseA Journey into bringing (Artificial) Intelligence to the Enterprise
A Journey into bringing (Artificial) Intelligence to the Enterprise
 
Intelligence Data Day 2020
Intelligence Data Day 2020Intelligence Data Day 2020
Intelligence Data Day 2020
 
Patrick Deglon Bio
Patrick Deglon BioPatrick Deglon Bio
Patrick Deglon Bio
 
a journey in making sense of big data (part 4: Partnership and Trust)
a journey in making sense of big data (part 4: Partnership and Trust)a journey in making sense of big data (part 4: Partnership and Trust)
a journey in making sense of big data (part 4: Partnership and Trust)
 
a journey in making sense of big data (part 3: Internet Marketing)
a journey in making sense of big data (part 3: Internet Marketing)a journey in making sense of big data (part 3: Internet Marketing)
a journey in making sense of big data (part 3: Internet Marketing)
 
a journey in making sense of big data (part 2: KPI)
a journey in making sense of big data (part 2: KPI)a journey in making sense of big data (part 2: KPI)
a journey in making sense of big data (part 2: KPI)
 
a journey in making sense of big data (part 1: Big Bang)
a journey in making sense of big data (part 1: Big Bang)a journey in making sense of big data (part 1: Big Bang)
a journey in making sense of big data (part 1: Big Bang)
 
From the Big Bang to the New Economy, a journey in making sense of Big Data
From the Big Bang to the New Economy, a journey in making sense of Big DataFrom the Big Bang to the New Economy, a journey in making sense of Big Data
From the Big Bang to the New Economy, a journey in making sense of Big Data
 
Patrick Deglon PhD Thesis - Bhabha Scattering at L3 experiment at CERN
Patrick Deglon PhD Thesis - Bhabha Scattering at L3 experiment at CERNPatrick Deglon PhD Thesis - Bhabha Scattering at L3 experiment at CERN
Patrick Deglon PhD Thesis - Bhabha Scattering at L3 experiment at CERN
 
Patrick Deglon Master Diploma Work - Neural Network Identification of pions, ...
Patrick Deglon Master Diploma Work - Neural Network Identification of pions, ...Patrick Deglon Master Diploma Work - Neural Network Identification of pions, ...
Patrick Deglon Master Diploma Work - Neural Network Identification of pions, ...
 
Customer Anaytics at Swiss TUG 2009
Customer Anaytics at Swiss TUG 2009Customer Anaytics at Swiss TUG 2009
Customer Anaytics at Swiss TUG 2009
 
From the Big Bang to Ecommerce, a journey in making sense of Big Data
From the Big Bang to Ecommerce, a journey in making sense of Big DataFrom the Big Bang to Ecommerce, a journey in making sense of Big Data
From the Big Bang to Ecommerce, a journey in making sense of Big Data
 

Recently uploaded

Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...ThinkInnovation
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFAAndrei Kaleshka
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxFurkanTasci3
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一fhwihughh
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 

Recently uploaded (20)

Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFA
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptx
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 

Analytics at Motorola: Motorola journey to enable self-serve analytics that leverage Google tools and API

  • 1. motorola confidential Analytics at Motorola Motorola journey to enable self-serve analytics that leverage Google tools and API http://www.gatewayanalyticsnetwork.com/b125-home Dr Patrick Deglon Director of Engineering, Analytics Area Tech Lead Motorola Mobility pdeglon@motorola.com pdeglon
  • 2. motorola confidential What my friends think I do What my mum thinks I do What the Execs think I do What I think I do What the Execs wants me to do What I really do About Patrick
  • 3. motorola confidential ... Overview of Motorola Business About Us Motorola exists to invent, build and deliver the best mobile devices on the planet, improving the lives of millions of people.
  • 4. motorola confidential 1928 1936 1943 1955 1969 World’s first portable FM two-way radio Motorola introduced Police Cruiser Radio Receiver World’s first high-power transistor in commercial production First words from moon relayed via Motorola radio Motorola: 80+ YEARS OF INNOVATION 1947 1963 World’s first truly rectangular color TV tube 1983 19961991 World’s first commercial handheld cellular phone DynaTAC 8000X weighed 28-ounces (794 grams) World’s first GSM cellular system World’s first dual-mode cellular phone The 3.1 ounce (88 grams) StarTac© wearable cellular phone is the world’s smallest and lightest 1990 World’s first HDTV technical standard 1973 Demonstrated prototype of the DynaTAC portable cellular system World's first handset , iDEN i1000plus, to combine a digital phone, two-way radio, Internet microbrowser, e-mail, fax and two- way messaging 1999 2000 World’s first general packet radio service (GPRS) wireless phone for always on Internet access 2004 2006 2009 Iconic RAZR V3 wireless phone introduced MING smart phone recognizes 10,000+ handwritten characters from Chinese alphabet 20122002 World’s first wireless cable modem gateway introduced Motorola DROID #1 on Time’s Top Ten of 2009 2013 2014 Launch MotoX, Moto G Fast upgrades Galvin Manufacturing Corp Moto E Moto 360
  • 5. motorola confidential • Overview of Analytics at Motorola • Daily Email: Reporting with Google Spreadsheet + BigQuery • Moto Insights: Reporting with App Engine + BigQuery • Drive Insights: Reporting with App Engine + BigQuery + Google Analytics + Google Drive • Big Feed: ETL with App Engine & Big Query Agenda
  • 6. motorola confidential How do we see Analytics at Motorola? Provide easy access to data & insights to drive the business towards our goal*: Raw Data Business Datasets Visualization Driving Insights & Recommendation * Motorola exists to invent, build and deliver the best mobile devices on the planet, improving the lives of millions of people. Enablers: ● Self-serve with low barrier to data and know-how ● High data quality & trust ● Deep understanding of customer & device behavior ● Feedback loop to improve user experience & device performance ● Strong data stewardship
  • 7. motorola confidential Our Big Data Environment Instrumentation with user consent Android Settings Motorola Privacy ☐ Help Improve Motorola Products (On/Off) Moto Care (On/Off) Motorola Cloud Insights Google Platforms App Engine (large scale web servers) Cloud Storage (large file storage) Data Store (large real-time storage) Big Query (public implementation of Dremel) Compute Engine (virtual Linux servers) …
  • 8. motorola confidential Google: A galaxy of open APIs and Tools… App EngineBig Query Compute Engine Users Cloud Messaging Analytics Maps Charts Data Store Cloud Storage Cloud SQL Drive Docs Translate Predict Mail Data Store Task Queue Memcache URL Fetch Cloud End Point Channel Java Python Go Mail and many more ...
  • 9. motorola confidential • Big Query: Instrumentation • Big Query: Server logs • Big Query: SalesForce • Big Query: External data • Google Analytics • Google Spreadsheets & CSV Raw Data Business Datasets Visualization • BigFeed (internal tool build on App Engine to manage BigQuery ETL) • Compute Engine (ETL CRON jobs) • Google Spreadsheets & Docs • Tableau widget through a Java web server • Moto Insights (internal tool bridging BigQuery with Google Charts) • Drive Insights (next generation of Moto Insights with Google Drive) Data flows for Analytics
  • 10. motorola confidential • Overview of Analytics at Motorola • Daily Email: Reporting with Google Spreadsheet + BigQuery • Moto Insights: Reporting with App Engine + BigQuery • Drive Insights: Reporting with App Engine + BigQuery + Google Analytics + Google Drive • Big Feed: ETL with App Engine & Big Query Agenda
  • 11. motorola confidential Daily Activations Report How to provide a global source of truth and provide insights from data points? Existing Situation - Numerous (conflicting) sources of truth - Too many variations of same data cube - “Table in your face” approach - No global business definition - No curation of manually entered data - Report accessible on an internal portal (through VPN) - No mobile form factor
  • 12. motorola confidential Simplified Business Flow Data Flow Motorola Factory # Shipments Distribution Channels # Sales First Usage # Activations InsightsGoogle BigQuery Motorola Cloud
  • 14. motorola confidential • Assume sales follow a diffusion S-shape, i.e. Description of the illustrative simulation Marketing Word of mouth ΔN Nmax N • Add random noise to theoretical daily activations (Poisson) • Simulated daily activations (sales) for United States, Canada, Brazil, India, Russia, China, Germany and United Kingdom with various launch date per region ΔN = a (Nmax - N) + b N (Nmax - N)
  • 15. motorola confidential Step 1: Create a backbone table SELECT CAL_DT, Country FROM ON A.Dummy=B.Dummy WHERE B.CAL_DT>=A.Launch_Date motorola.com:sandbox:demo.backbone: INNER JOIN ( SELECT Country, CASE WHEN Country IN ('United States','Canada') THEN '2013-08-01' WHEN Country IN ('Brazil','Russia','India','China') THEN '2013-10-01' ELSE '2013-12-01' END AS Launch_Date, GDP_USD/1e7 AS Scale, 1 AS Dummy FROM [motorola.com:sandbox:pdeglon.countries] WHERE Country IN ('United States','Canada','Brazil','Russia','India', 'China','Germany','United Kingdom') ) AS B ( SELECT CAL_DT, 1 AS Dummy FROM [motorola.com:sandbox:pdeglon.calendar] ) AS A X BACKUP
  • 16. motorola confidential Step 2: Calculate KPI value over time SELECT CAL_DT, Country, ‘Phone 123’ AS Model, INTEGER(Scale* EXP(-POW( -150,2)/2/POW(75,2)) /(75*SQRT(2*PI())) ) AS Daily_Activations FROM [motorola.com:sandbox:demo.backbone] motorola.com:sandbox:demo.baseline: DATEDIFF(TIMESTAMP(CAL_DT),TIMESTAMP(Launch_Date)) ... Normal Distribution: BACKUP
  • 17. motorola confidential Step 3: Add Random Noise SELECT CAL_DT, Model, Country, INTEGER( Daily_Activations + SQRT(Daily_Activations) * SQRT(-2*LN(RAND()))*COS(2*PI()*RAND()) ) AS Daily_Activations FROM [motorola.com:sandbox:demo.baseline] motorola.com:sandbox:demo.simulation: Normal (Gaussian) Random Number (mu=0, sigma=1) (pseudo) Poisson distribution for N=Daily_activation BACKUP
  • 18. motorola confidential Step 4: Final Pivot for report SELECT CAL_DT, SUM(Daily_Activations) AS Total, SUM(CASE WHEN Country IN ('United States','Canada') THEN Daily_Activations ELSE 0 END) AS NA, SUM(CASE WHEN Country IN ('Brazil','Russia','India','China') THEN Daily_Activations ELSE 0 END) AS BRIC, SUM(CASE WHEN Country IN ('Germany','United Kingdom') THEN Daily_Activations ELSE 0 END) AS EU, SUM(CASE WHEN Country='United States' THEN Daily_Activations ELSE 0 END) AS UnitedStates, SUM(CASE WHEN Country='Canada' THEN Daily_Activations ELSE 0 END) AS Canada, SUM(CASE WHEN Country='Brazil' THEN Daily_Activations ELSE 0 END) AS Brazil, SUM(CASE WHEN Country='Russia' THEN Daily_Activations ELSE 0 END) AS Russia, SUM(CASE WHEN Country='India' THEN Daily_Activations ELSE 0 END) AS India, SUM(CASE WHEN Country='China' THEN Daily_Activations ELSE 0 END) AS China, SUM(CASE WHEN Country='Germany' THEN Daily_Activations ELSE 0 END) AS Germany, SUM(CASE WHEN Country='United Kingdom' THEN Daily_Activations ELSE 0 END) AS UnitedKingdom FROM [motorola.com:sandbox:demo.simulation] WHERE CAL_DT<CURRENT_DATE() GROUP BY 1 ORDER BY 1 DESC BACKUP
  • 20. motorola confidential Script Editor: App Script language (JS style)
  • 21. motorola confidential Example for adding a new menu item
  • 27. motorola confidential Email template sheet (HTML + spreadsheet formula)
  • 28. motorola confidential Preparing email: concatenate all cells
  • 29. motorola confidential Adding a chart to the email
  • 30. motorola confidential Sending the email through Gmail
  • 31. motorola confidential Helping user understand Signal vs Noise and Main Drivers
  • 34. motorola confidential Automating the process with Triggers
  • 35. motorola confidential Schedule process & QA Refresh Data (H-3) Automated QA Checks Area Leads check the numbers Alert Email to Operation Center Errors Preliminary Email (H-2) No Errors Final Emails (H) No Complains Revisit QA rules Complains Correct Data & RerunCorrect Data & Rerun
  • 36. motorola confidential • Overview of Analytics at Motorola • Daily Email: Reporting with Google Spreadsheet + BigQuery • Moto Insights: Reporting with App Engine + BigQuery • Drive Insights: Reporting with App Engine + BigQuery + Google Analytics + Google Drive • Big Feed: ETL with App Engine & Big Query Agenda
  • 37. motorola confidential Moto Insights How to provide insights to executive-on-the-go with a robust system where new report take seconds to create? Existing Situation - Require VPN - New Report take weeks to create - New features take months to develop - Team spend more time resolving defects than developing new features & reports
  • 38. motorola confidential Demo Moto Insights Moto Insights App Engine Data Source: Big Query Report Meta Data: Datastore Tracking: Datastore Users Access: Google Users (email) + Datastore (role) Moto Insights Web portal Moto Insights Android App
  • 43. motorola confidential Example with the Illustrative Simulation
  • 44. motorola confidential • Overview of Analytics at Motorola • Daily Email: Reporting with Google Spreadsheet + BigQuery • Moto Insights: Reporting with App Engine + BigQuery • Drive Insights: Reporting with App Engine + BigQuery + Google Analytics + Google Drive • Big Feed: ETL with App Engine & Big Query Agenda
  • 45. motorola confidential Drive Insights How to promote self serve and democratize Analytics within the company while maintaining quality (data & insights) as well as managing Big Data access? Existing Situation - Reports are produce by a centralized team - Insight needs are rapidly changing - In the eyes of our internal customers, long lead time on report evolution Key assumption: Business community can become SQL literate with the help of trainings, tutorials and documentation on a Data Wiki (Confluence)
  • 46. motorola confidential Demo Drive Insights (Moto Insights V2) Drive Insights App Engine Data Source: Big Query Data Source: Google Analytics iFrame Source: Tableau Server iFrame Source: Google Documents Report Meta Data: Google Drive (Text file with JSON) Report Meta Data: Datastore (Report copy & usage tracking) Users Access Control: Google Users + Drive Sharing Google Drive Moto Insights Android App Drive Insights Web portal
  • 47. motorola confidential New document type in your Google Drive
  • 53. motorola confidential Example of the Illustrative Simulation
  • 55. 42 …so what? Answer to the Ultimate Question of Life, The Universe, and Everything
  • 56. Example: Campaign Measurement Campaigns •Campaign Id •Campaign Name •Time range •Set of Countries •Set of Products KPI •Date •Country •Product •KPI[] X Trend •Campaign Id •Date •Total of KPI[] Summary • Campaign Id •Campaign Name • Impact Measurement[] • Statistical Error[] Time Series Analysis
  • 57. Extract of a Drive Insights report Campaign Window Real data on truncated axis
  • 59. motorola confidential • Overview of Analytics at Motorola • Daily Email: Reporting with Google Spreadsheet + BigQuery • Moto Insights: Reporting with App Engine + BigQuery • Drive Insights: Reporting with App Engine + BigQuery + Google Analytics + Google Drive • Big Feed: ETL with App Engine & Big Query Agenda
  • 60. motorola confidential BigFeed: in-house App Engine ETL tool How to address complexity, transformation and partitioning? Existing Situation - Queries across the entire dataset - Required more complicated queries which limited self serve… - Became inefficient as the volume grew…. - Lacked comprehensive partitioning scheme
  • 61. motorola confidential “BigFeed is an internal application that provides API and services to build, run and monitor execution of BigQuery queries” • Provides a generic framework to develop specific datasets quickly • Focus is on Query • Provides URL based access to run BQ to BQ ETL • Platform agnostic • Can run feeds on demand What is BigFeed?
  • 62. motorola confidential Why Do a BigFeed? 1. Simplicity - enable simpler queries for the user community. Foster self serve 2. Performance 3. Cost → Scanning less data 4. Need to run a query repetitively → Ongoing analysis 5. Single point of optimization
  • 63. motorola confidential • Overview of Analytics at Motorola • Daily Email: Reporting with Google Spreadsheet + BigQuery • Moto Insights: Reporting with App Engine + BigQuery • Drive Insights: Reporting with App Engine + BigQuery + Google Analytics + Google Drive • Big Feed: ETL with App Engine & Big Query Agenda
  • 64. motorola confidential Q&A ? Dr Patrick Deglon Director of Engineering, Analytics Area Tech Lead Motorola Mobility pdeglon@motorola.com pdeglon