SlideShare a Scribd company logo
1 of 40
Copyright © 2015 Accenture All rights reserved.
Smart Open Spaces Powered by Java ME, Java SE and Single Board Computers
Jorge Hidalgo & Julio Palma
JavaOne Conference – CON6489 – October 2015
Copyright © 2015 Accenture All rights reserved. 2
Presenter Introductions
Jorge Hidalgo @_deors http://deors.wordpress.com
Senior Technology Architect – Accenture Delivery Center in Spain
Capability Lead – Custom Distributed & Architecture domain
Father of two kids, husband, whistle player, video gamer, sci-fi junkie, Raspberry Pi fan, gadgets
maniac... My other car is a Millenium Falcon.
Julio Palma @restalion
Technology Architect – Accenture Delivery Center in Spain
Team Lead – Custom Distributed & Architecture domain
Mountain biker, SW & LOTR fan, gamer, Nyarlathotep enemy, father of two kids who show me
something new every day, husband. In my spare time I work at Accenture.
Copyright © 2015 Accenture All rights reserved. 3
Objectives for the Session
• Describe Open Spaces and common use cases
• Introduce the proposed Architecture
• Highlights of how the solution works
• Examples
• Live Demo
4Copyright © 2015 Accenture All rights reserved.
What are Open Spaces and common use cases
Copyright © 2015 Accenture All rights reserved. 5
Smart Open Spaces
Copyright © 2015 Accenture All rights reserved. 6
Smart Open Spaces
Copyright © 2015 Accenture All rights reserved. 7
Smart Open Spaces
Copyright © 2015 Accenture All rights reserved. 8
Smart Open Spaces
Copyright © 2015 Accenture All rights reserved. 9
Smart Open Spaces
Copyright © 2015 Accenture All rights reserved. 10
Smart Open Spaces
Department stores,
smaller stores,
hypermarkets
Copyright © 2015 Accenture All rights reserved. 11
Smart Open Spaces
Department stores,
smaller stores,
hypermarkets
Museums,
airports,
train/bus
stations
Copyright © 2015 Accenture All rights reserved. 12
Smart Open Spaces
Department stores,
smaller stores,
hypermarkets
Museums,
airports,
train/bus
stations
Hospitals
Copyright © 2015 Accenture All rights reserved. 13
Smart Open Spaces
Department stores,
smaller stores,
hypermarkets
Museums,
airports,
train/bus
stations
Manufacturing
plants, oil rigs
Hospitals
Copyright © 2015 Accenture All rights reserved. 14
Smart Open Spaces
Department stores,
smaller stores,
hypermarkets
Museums,
airports,
train/bus
stations
Manufacturing
plants, oil rigs
Offices
Hospitals
Copyright © 2015 Accenture All rights reserved. 15
Smart Open Spaces
Department stores,
smaller stores,
hypermarkets
Museums,
airports,
train/bus
stations
Manufacturing
plants, oil rigs
Offices
City Downtowns
Hospitals
Copyright © 2015 Accenture All rights reserved. 17
Smart Open Spaces
I wish I could know what is
exactly happening,
real-time and historic info
Copyright © 2015 Accenture All rights reserved. 18
Smart Open Spaces
Smart in this context
mean
• Presence Zones
platform to enable
intelligent decision
making
• Real-time
decisions
• Strategy
decisions
Copyright © 2015 Accenture All rights reserved. 19
Smart Open Spaces
Smart in this context
mean
• Track people
activity through the
radio signals of
their personal
devices
• Smartphones
• Wearables
• Laptops
• Tablets
Copyright © 2015 Accenture All rights reserved. 20
Smart Open Spaces
Smart in this context
mean
• Track people
activity through the
radio signals of
their personal
devices
• Smartphones
• Wearables
• Laptops
• Tablets
Copyright © 2015 Accenture All rights reserved. 21
Smart Open Spaces
Smart in this context
mean
• Track people
activity through the
radio signals of
their personal
devices
• Smartphones
• Wearables
• Laptops
• Tablets
Copyright © 2015 Accenture All rights reserved. 22
Smart Open Spaces
Smart in this context
mean
• Track people
activity through the
radio signals of
their personal
devices
• Smartphones
• Wearables
• Laptops
• Tablets
Copyright © 2015 Accenture All rights reserved. 23
Smart Open Spaces
• Now we can use collected information in real time:
• Where are the customers located at this exact moment in time?
• Which places are capturing the customer attention?
Copyright © 2015 Accenture All rights reserved. 24
Smart Open Spaces
• Now we can use collected information in real time:
• Where are the customers located at this exact moment in time?
• Which places are capturing the customer attention?
• Or analyse aggregated data for insights on people habits
• Which are the paths that customers follow more frequently inside the
store?
• A sale on selected items started yesterday at noon
How was the activity in the surrounding area compared to normal days?
• What is the activity pattern along the day in the electronics department?
That information would be helpful to plan working shifts better
27Copyright © 2015 Accenture All rights reserved.
Proposed Architecture
Copyright © 2015 Accenture All rights reserved. 28
Smart Open Spaces
Why develop a new solution for Presence Zones?
“Vendor X already has a product named Y that does exactly this.”
Our approach was born with one main objective
TCO should be as low as possible
To enable that objective
- Leverage open standards, minimise cost of software licenses
- Leverage low-cost, easy to obtain devices
- Simple & lightweight, but easy to scale
Copyright © 2015 Accenture All rights reserved. 29
Architectural Approach
o Java and Python as programming languages/runtimes
• Device sniffing through Java ME 8 midlet or Python script (for devices that cannot run ME... yet)
• Data collector through Java SE 8 server
o Bluetooth LE
• More precise than WiFi
• Not as frequently used compared with WiFi, but usage is growing fast thanks to wearables
o Single Board Computers
• Raspberry Pi A+, B+, 2 B
• Beaglebone Black
• Arduino
Copyright © 2015 Accenture All rights reserved. 30
Architectural Approach


 
 Sniff devices on spot
 Send data to collector
 Correlate and store
 Generate reports
(daily, on demand, real-time)
Copyright © 2015 Accenture All rights reserved. 31
Architectural Approach
Device  (Nexus 5) detected by RPis  & 
Device  (Pebble) detected by RPi 
Device  (iPhone 6) detected by RPi 
Four packets sent to collector
Matched by MAC address and timeframe
Only three events are generated






Copyright © 2015 Accenture All rights reserved. 32
Architectural Approach
Device  (Nexus 5) detected by RPis  & 
After some time, detected only by RPi 
After some time, detected only by RPi 
Events are timestamped
Easy to obtain time series for a given device




Copyright © 2015 Accenture All rights reserved. 33
Architectural Approach – Scaling Out
Data Collector
Edge
Devices
Data Centre /
Cloud
Analytics
Historic Info
Real-Time Info
Sockets
Sockets
Sockets
MQTT
Internet DomainIntranet Domain
Copyright © 2015 Accenture All rights reserved. 34
Architectural Approach – Scaling Out
Copyright © 2015 Accenture All rights reserved. 35
Architectural Approach – Scaling Out
acme/activity/europe/uk/edinburgh/electronics
36Copyright © 2015 Accenture All rights reserved.
Examples and Demo
Copyright © 2015 Accenture All rights reserved. 37
Examples and Demo – Reports
Distribution of time at beacon per device
Average time per beacon
Copyright © 2015 Accenture All rights reserved. 38
Examples and Demo – Reports
Frequent Paths
Copyright © 2015 Accenture All rights reserved. 39
Examples and Demo – 3D Real-Time
Copyright © 2015 Accenture All rights reserved. 40
Examples and Demo – Hot Zones
41Copyright © 2015 Accenture All rights reserved.
Summary
Copyright © 2015 Accenture All rights reserved. 42
Conclusion – Lessons Learned
 Raspberry Pis are cheap but powerful enough to take multiple roles
simultaneously:
 Bluetooth device detection
 Collector device correlating data and producing reports
 When multiple languages can do the job, leverage the skills of your team
 More complex platforms like OEP are very useful...
...but can be overkill – mind the KISS principle
 Open standards facilitate integration and addition of new features in the
future
Copyright © 2015 Accenture All rights reserved. 43
If you want to get in touch
Public Accenture Portal Sub-site for Application Services for Java:
https://www.accenture.com/us-en/service-enterprise-systems-java.aspx
Follow (and interact with) us on Twitter:
https://twitter.com/AccentureTech
https://twitter.com/_deors
https://twitter.com/restalion

More Related Content

Similar to JavaOne 2015 - CON6489 - Smart Open Spaces Powered by Low Cost Computers

What Open Compute Project has in store for us all in 2020! webinar
What Open Compute Project has in store for us all in 2020! webinarWhat Open Compute Project has in store for us all in 2020! webinar
What Open Compute Project has in store for us all in 2020! webinar
Submer Immersion Cooling
 

Similar to JavaOne 2015 - CON6489 - Smart Open Spaces Powered by Low Cost Computers (20)

The impact of IOT - exchange cala - 2015
The impact of IOT - exchange cala - 2015The impact of IOT - exchange cala - 2015
The impact of IOT - exchange cala - 2015
 
Ibm iot overview
Ibm   iot overviewIbm   iot overview
Ibm iot overview
 
Ahead of the Stream: How to Future-Proof Real-Time Analytics
Ahead of the Stream: How to Future-Proof Real-Time AnalyticsAhead of the Stream: How to Future-Proof Real-Time Analytics
Ahead of the Stream: How to Future-Proof Real-Time Analytics
 
IOvents project overview
IOvents project overviewIOvents project overview
IOvents project overview
 
How the Internet of Things (IoT) will impact customer experience, operational...
How the Internet of Things (IoT) will impact customer experience, operational...How the Internet of Things (IoT) will impact customer experience, operational...
How the Internet of Things (IoT) will impact customer experience, operational...
 
Engineering Systems For The Cloud
Engineering Systems For The CloudEngineering Systems For The Cloud
Engineering Systems For The Cloud
 
What Open Compute Project has in store for us all in 2020! webinar
What Open Compute Project has in store for us all in 2020! webinarWhat Open Compute Project has in store for us all in 2020! webinar
What Open Compute Project has in store for us all in 2020! webinar
 
#FiaComit - The Mobicloud Showcase
#FiaComit - The Mobicloud Showcase#FiaComit - The Mobicloud Showcase
#FiaComit - The Mobicloud Showcase
 
Oracle Cloud Café IOT 12 avril 2016
Oracle Cloud Café IOT 12 avril 2016Oracle Cloud Café IOT 12 avril 2016
Oracle Cloud Café IOT 12 avril 2016
 
Oracle Cloud Café IoT 12-APR-2016
Oracle Cloud Café IoT 12-APR-2016Oracle Cloud Café IoT 12-APR-2016
Oracle Cloud Café IoT 12-APR-2016
 
Neudesic IoT HIMSS Healthcare
Neudesic IoT HIMSS HealthcareNeudesic IoT HIMSS Healthcare
Neudesic IoT HIMSS Healthcare
 
Future Role of the Architect
Future Role of the ArchitectFuture Role of the Architect
Future Role of the Architect
 
UC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdf
UC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdfUC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdf
UC18NA-D3D202-Dianomic-IZoratti-Introduction-To-FogLAMP.pdf
 
Does Big Data Spell Big Costs- Impetus Webinar
Does Big Data Spell Big Costs- Impetus WebinarDoes Big Data Spell Big Costs- Impetus Webinar
Does Big Data Spell Big Costs- Impetus Webinar
 
SensorThings API Webinar - #1 of 4 - Introduction
SensorThings API Webinar - #1 of 4 - IntroductionSensorThings API Webinar - #1 of 4 - Introduction
SensorThings API Webinar - #1 of 4 - Introduction
 
[HACKATHON CISCO PARIS] Slideshow du workshop Smart City
[HACKATHON CISCO PARIS] Slideshow du workshop Smart City[HACKATHON CISCO PARIS] Slideshow du workshop Smart City
[HACKATHON CISCO PARIS] Slideshow du workshop Smart City
 
What is the Internet of Things and How it Impacts You
What is the Internet of Things and How it Impacts YouWhat is the Internet of Things and How it Impacts You
What is the Internet of Things and How it Impacts You
 
Cubitic: Predictive Analytics
Cubitic: Predictive AnalyticsCubitic: Predictive Analytics
Cubitic: Predictive Analytics
 
DDAY2014 - Ecologia del valore e DRUPAL@Engineering: l’esperienza di un grand...
DDAY2014 - Ecologia del valore e DRUPAL@Engineering: l’esperienza di un grand...DDAY2014 - Ecologia del valore e DRUPAL@Engineering: l’esperienza di un grand...
DDAY2014 - Ecologia del valore e DRUPAL@Engineering: l’esperienza di un grand...
 
Qualcomm @ Scilab Conference 2018
Qualcomm @ Scilab Conference 2018Qualcomm @ Scilab Conference 2018
Qualcomm @ Scilab Conference 2018
 

More from Jorge Hidalgo

More from Jorge Hidalgo (20)

GraalVM - MadridJUG 2019-10-22
GraalVM - MadridJUG 2019-10-22GraalVM - MadridJUG 2019-10-22
GraalVM - MadridJUG 2019-10-22
 
GraalVM - OpenSlava 2019-10-18
GraalVM - OpenSlava 2019-10-18GraalVM - OpenSlava 2019-10-18
GraalVM - OpenSlava 2019-10-18
 
Architecture 2020 - eComputing 2019-07-01
Architecture 2020 - eComputing 2019-07-01Architecture 2020 - eComputing 2019-07-01
Architecture 2020 - eComputing 2019-07-01
 
GraalVM - JBCNConf 2019-05-28
GraalVM - JBCNConf 2019-05-28GraalVM - JBCNConf 2019-05-28
GraalVM - JBCNConf 2019-05-28
 
GraalVM - MálagaJUG 2018-11-29
GraalVM - MálagaJUG 2018-11-29GraalVM - MálagaJUG 2018-11-29
GraalVM - MálagaJUG 2018-11-29
 
Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Commit Conf 2018)
Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Commit Conf 2018)Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Commit Conf 2018)
Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Commit Conf 2018)
 
Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Oracle Code One ...
Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Oracle Code One ...Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Oracle Code One ...
Multilanguage Pipelines with Jenkins, Docker and Kubernetes (Oracle Code One ...
 
Multilanguage pipelines with Jenkins, Docker and Kubernetes (DevOpsDays Riga ...
Multilanguage pipelines with Jenkins, Docker and Kubernetes (DevOpsDays Riga ...Multilanguage pipelines with Jenkins, Docker and Kubernetes (DevOpsDays Riga ...
Multilanguage pipelines with Jenkins, Docker and Kubernetes (DevOpsDays Riga ...
 
DevOps Te Cambia la Vida - eComputing 2018-07-03
DevOps Te Cambia la Vida - eComputing 2018-07-03DevOps Te Cambia la Vida - eComputing 2018-07-03
DevOps Te Cambia la Vida - eComputing 2018-07-03
 
Open Source Power Tools - Opensouthcode 2018-06-02
Open Source Power Tools - Opensouthcode 2018-06-02Open Source Power Tools - Opensouthcode 2018-06-02
Open Source Power Tools - Opensouthcode 2018-06-02
 
JavaOne 2017 CON3282 - Code Generation with Annotation Processors: State of t...
JavaOne 2017 CON3282 - Code Generation with Annotation Processors: State of t...JavaOne 2017 CON3282 - Code Generation with Annotation Processors: State of t...
JavaOne 2017 CON3282 - Code Generation with Annotation Processors: State of t...
 
JavaOne 2017 CON3276 - Selenium Testing Patterns Reloaded
JavaOne 2017 CON3276 - Selenium Testing Patterns ReloadedJavaOne 2017 CON3276 - Selenium Testing Patterns Reloaded
JavaOne 2017 CON3276 - Selenium Testing Patterns Reloaded
 
JavaOne 2017 CON2902 - Java Code Inspection and Testing Power Tools
JavaOne 2017 CON2902 - Java Code Inspection and Testing Power ToolsJavaOne 2017 CON2902 - Java Code Inspection and Testing Power Tools
JavaOne 2017 CON2902 - Java Code Inspection and Testing Power Tools
 
All Your Faces Belong to Us - Opensouthcode 2017-05-06
All Your Faces Belong to Us - Opensouthcode 2017-05-06All Your Faces Belong to Us - Opensouthcode 2017-05-06
All Your Faces Belong to Us - Opensouthcode 2017-05-06
 
Por qué DevOps, por qué ahora @ CHAPI 2017
Por qué DevOps, por qué ahora @ CHAPI 2017Por qué DevOps, por qué ahora @ CHAPI 2017
Por qué DevOps, por qué ahora @ CHAPI 2017
 
Accenture Liquid Architectures (for Master EMSE UPM-FI - April 2017)
Accenture Liquid Architectures (for Master EMSE UPM-FI - April 2017)Accenture Liquid Architectures (for Master EMSE UPM-FI - April 2017)
Accenture Liquid Architectures (for Master EMSE UPM-FI - April 2017)
 
La JVM y el Internet de las Cosas @ MálagaJUG 2016-11-17
La JVM y el Internet de las Cosas @ MálagaJUG 2016-11-17La JVM y el Internet de las Cosas @ MálagaJUG 2016-11-17
La JVM y el Internet de las Cosas @ MálagaJUG 2016-11-17
 
OpenSlava 2016 - Lightweight Java Architectures
OpenSlava 2016 - Lightweight Java ArchitecturesOpenSlava 2016 - Lightweight Java Architectures
OpenSlava 2016 - Lightweight Java Architectures
 
JavaOne 2016 - CON3080 - Testing Java Web Applications with Selenium: A Cookbook
JavaOne 2016 - CON3080 - Testing Java Web Applications with Selenium: A CookbookJavaOne 2016 - CON3080 - Testing Java Web Applications with Selenium: A Cookbook
JavaOne 2016 - CON3080 - Testing Java Web Applications with Selenium: A Cookbook
 
OpenSouthCode 2016 - Accenture DevOps Platform 2016-05-07
OpenSouthCode 2016  - Accenture DevOps Platform 2016-05-07OpenSouthCode 2016  - Accenture DevOps Platform 2016-05-07
OpenSouthCode 2016 - Accenture DevOps Platform 2016-05-07
 

Recently uploaded

Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
drm1699
 

Recently uploaded (20)

Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024
 
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
Abortion Pill Prices Jane Furse ](+27832195400*)[ 🏥 Women's Abortion Clinic i...
 
Test Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdfTest Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdf
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
 
Your Ultimate Web Studio for Streaming Anywhere | Evmux
Your Ultimate Web Studio for Streaming Anywhere | EvmuxYour Ultimate Web Studio for Streaming Anywhere | Evmux
Your Ultimate Web Studio for Streaming Anywhere | Evmux
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
 
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
 
Software Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements EngineeringSoftware Engineering - Introduction + Process Models + Requirements Engineering
Software Engineering - Introduction + Process Models + Requirements Engineering
 
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
Abortion Pills For Sale WhatsApp[[+27737758557]] In Birch Acres, Abortion Pil...
 
Microsoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdfMicrosoft365_Dev_Security_2024_05_16.pdf
Microsoft365_Dev_Security_2024_05_16.pdf
 
Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
 
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
[GeeCON2024] How I learned to stop worrying and love the dark silicon apocalypse
 
Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...
Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...
Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...
 
Workshop - Architecting Innovative Graph Applications- GraphSummit Milan
Workshop -  Architecting Innovative Graph Applications- GraphSummit MilanWorkshop -  Architecting Innovative Graph Applications- GraphSummit Milan
Workshop - Architecting Innovative Graph Applications- GraphSummit Milan
 
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
 
Encryption Recap: A Refresher on Key Concepts
Encryption Recap: A Refresher on Key ConceptsEncryption Recap: A Refresher on Key Concepts
Encryption Recap: A Refresher on Key Concepts
 
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
Anypoint Code Builder - Munich MuleSoft Meetup - 16th May 2024
 
architecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdfarchitecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdf
 
The Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test AutomationThe Strategic Impact of Buying vs Building in Test Automation
The Strategic Impact of Buying vs Building in Test Automation
 

JavaOne 2015 - CON6489 - Smart Open Spaces Powered by Low Cost Computers

  • 1. Copyright © 2015 Accenture All rights reserved. Smart Open Spaces Powered by Java ME, Java SE and Single Board Computers Jorge Hidalgo & Julio Palma JavaOne Conference – CON6489 – October 2015
  • 2. Copyright © 2015 Accenture All rights reserved. 2 Presenter Introductions Jorge Hidalgo @_deors http://deors.wordpress.com Senior Technology Architect – Accenture Delivery Center in Spain Capability Lead – Custom Distributed & Architecture domain Father of two kids, husband, whistle player, video gamer, sci-fi junkie, Raspberry Pi fan, gadgets maniac... My other car is a Millenium Falcon. Julio Palma @restalion Technology Architect – Accenture Delivery Center in Spain Team Lead – Custom Distributed & Architecture domain Mountain biker, SW & LOTR fan, gamer, Nyarlathotep enemy, father of two kids who show me something new every day, husband. In my spare time I work at Accenture.
  • 3. Copyright © 2015 Accenture All rights reserved. 3 Objectives for the Session • Describe Open Spaces and common use cases • Introduce the proposed Architecture • Highlights of how the solution works • Examples • Live Demo
  • 4. 4Copyright © 2015 Accenture All rights reserved. What are Open Spaces and common use cases
  • 5. Copyright © 2015 Accenture All rights reserved. 5 Smart Open Spaces
  • 6. Copyright © 2015 Accenture All rights reserved. 6 Smart Open Spaces
  • 7. Copyright © 2015 Accenture All rights reserved. 7 Smart Open Spaces
  • 8. Copyright © 2015 Accenture All rights reserved. 8 Smart Open Spaces
  • 9. Copyright © 2015 Accenture All rights reserved. 9 Smart Open Spaces
  • 10. Copyright © 2015 Accenture All rights reserved. 10 Smart Open Spaces Department stores, smaller stores, hypermarkets
  • 11. Copyright © 2015 Accenture All rights reserved. 11 Smart Open Spaces Department stores, smaller stores, hypermarkets Museums, airports, train/bus stations
  • 12. Copyright © 2015 Accenture All rights reserved. 12 Smart Open Spaces Department stores, smaller stores, hypermarkets Museums, airports, train/bus stations Hospitals
  • 13. Copyright © 2015 Accenture All rights reserved. 13 Smart Open Spaces Department stores, smaller stores, hypermarkets Museums, airports, train/bus stations Manufacturing plants, oil rigs Hospitals
  • 14. Copyright © 2015 Accenture All rights reserved. 14 Smart Open Spaces Department stores, smaller stores, hypermarkets Museums, airports, train/bus stations Manufacturing plants, oil rigs Offices Hospitals
  • 15. Copyright © 2015 Accenture All rights reserved. 15 Smart Open Spaces Department stores, smaller stores, hypermarkets Museums, airports, train/bus stations Manufacturing plants, oil rigs Offices City Downtowns Hospitals
  • 16. Copyright © 2015 Accenture All rights reserved. 17 Smart Open Spaces I wish I could know what is exactly happening, real-time and historic info
  • 17. Copyright © 2015 Accenture All rights reserved. 18 Smart Open Spaces Smart in this context mean • Presence Zones platform to enable intelligent decision making • Real-time decisions • Strategy decisions
  • 18. Copyright © 2015 Accenture All rights reserved. 19 Smart Open Spaces Smart in this context mean • Track people activity through the radio signals of their personal devices • Smartphones • Wearables • Laptops • Tablets
  • 19. Copyright © 2015 Accenture All rights reserved. 20 Smart Open Spaces Smart in this context mean • Track people activity through the radio signals of their personal devices • Smartphones • Wearables • Laptops • Tablets
  • 20. Copyright © 2015 Accenture All rights reserved. 21 Smart Open Spaces Smart in this context mean • Track people activity through the radio signals of their personal devices • Smartphones • Wearables • Laptops • Tablets
  • 21. Copyright © 2015 Accenture All rights reserved. 22 Smart Open Spaces Smart in this context mean • Track people activity through the radio signals of their personal devices • Smartphones • Wearables • Laptops • Tablets
  • 22. Copyright © 2015 Accenture All rights reserved. 23 Smart Open Spaces • Now we can use collected information in real time: • Where are the customers located at this exact moment in time? • Which places are capturing the customer attention?
  • 23. Copyright © 2015 Accenture All rights reserved. 24 Smart Open Spaces • Now we can use collected information in real time: • Where are the customers located at this exact moment in time? • Which places are capturing the customer attention? • Or analyse aggregated data for insights on people habits • Which are the paths that customers follow more frequently inside the store? • A sale on selected items started yesterday at noon How was the activity in the surrounding area compared to normal days? • What is the activity pattern along the day in the electronics department? That information would be helpful to plan working shifts better
  • 24. 27Copyright © 2015 Accenture All rights reserved. Proposed Architecture
  • 25. Copyright © 2015 Accenture All rights reserved. 28 Smart Open Spaces Why develop a new solution for Presence Zones? “Vendor X already has a product named Y that does exactly this.” Our approach was born with one main objective TCO should be as low as possible To enable that objective - Leverage open standards, minimise cost of software licenses - Leverage low-cost, easy to obtain devices - Simple & lightweight, but easy to scale
  • 26. Copyright © 2015 Accenture All rights reserved. 29 Architectural Approach o Java and Python as programming languages/runtimes • Device sniffing through Java ME 8 midlet or Python script (for devices that cannot run ME... yet) • Data collector through Java SE 8 server o Bluetooth LE • More precise than WiFi • Not as frequently used compared with WiFi, but usage is growing fast thanks to wearables o Single Board Computers • Raspberry Pi A+, B+, 2 B • Beaglebone Black • Arduino
  • 27. Copyright © 2015 Accenture All rights reserved. 30 Architectural Approach      Sniff devices on spot  Send data to collector  Correlate and store  Generate reports (daily, on demand, real-time)
  • 28. Copyright © 2015 Accenture All rights reserved. 31 Architectural Approach Device  (Nexus 5) detected by RPis  &  Device  (Pebble) detected by RPi  Device  (iPhone 6) detected by RPi  Four packets sent to collector Matched by MAC address and timeframe Only three events are generated      
  • 29. Copyright © 2015 Accenture All rights reserved. 32 Architectural Approach Device  (Nexus 5) detected by RPis  &  After some time, detected only by RPi  After some time, detected only by RPi  Events are timestamped Easy to obtain time series for a given device    
  • 30. Copyright © 2015 Accenture All rights reserved. 33 Architectural Approach – Scaling Out Data Collector Edge Devices Data Centre / Cloud Analytics Historic Info Real-Time Info Sockets Sockets Sockets MQTT Internet DomainIntranet Domain
  • 31. Copyright © 2015 Accenture All rights reserved. 34 Architectural Approach – Scaling Out
  • 32. Copyright © 2015 Accenture All rights reserved. 35 Architectural Approach – Scaling Out acme/activity/europe/uk/edinburgh/electronics
  • 33. 36Copyright © 2015 Accenture All rights reserved. Examples and Demo
  • 34. Copyright © 2015 Accenture All rights reserved. 37 Examples and Demo – Reports Distribution of time at beacon per device Average time per beacon
  • 35. Copyright © 2015 Accenture All rights reserved. 38 Examples and Demo – Reports Frequent Paths
  • 36. Copyright © 2015 Accenture All rights reserved. 39 Examples and Demo – 3D Real-Time
  • 37. Copyright © 2015 Accenture All rights reserved. 40 Examples and Demo – Hot Zones
  • 38. 41Copyright © 2015 Accenture All rights reserved. Summary
  • 39. Copyright © 2015 Accenture All rights reserved. 42 Conclusion – Lessons Learned  Raspberry Pis are cheap but powerful enough to take multiple roles simultaneously:  Bluetooth device detection  Collector device correlating data and producing reports  When multiple languages can do the job, leverage the skills of your team  More complex platforms like OEP are very useful... ...but can be overkill – mind the KISS principle  Open standards facilitate integration and addition of new features in the future
  • 40. Copyright © 2015 Accenture All rights reserved. 43 If you want to get in touch Public Accenture Portal Sub-site for Application Services for Java: https://www.accenture.com/us-en/service-enterprise-systems-java.aspx Follow (and interact with) us on Twitter: https://twitter.com/AccentureTech https://twitter.com/_deors https://twitter.com/restalion

Editor's Notes

  1. Hello, Wellcome everybody to our conference sesión six thousand four hundred eighty nine, Smart Open Spaces.
  2. My name is Julio Palma, I’m Technology Architect from Accenture based in Málaga, in Spain.
  3. To help us to visualize this problem I need help from a friend of mine. Let me introduce you Mark. He's very excited in his new role as an open space manager.
  4. As an Open Space Manager he needs to manage spaces with a little number of customers …
  5. ... and others with a huge amount of them.
  6. Customers can be indoors ...
  7. ... or outdoors
  8. He is not restricted to one specific industry, he can manage Department stores, smaller stores, hypermarkets
  9. Museums, airports, train/bus stations
  10. City downtowns, hospitals
  11. Manufacturing plants, oil rigs
  12. and, of course, offices
  13. and, of course, offices
  14. Mark wants to implement a “Smart” aproach to his new role. We can imagine a scenario where our common friend is facing a simple (aparentely) problem. How can he make this space Smart?
  15. One of the first things we can imagine is to create some “Presence Zones” within we are going to monitor people activity.
  16. In order to be as unintrusive as possible we use signals of their personal devices: Smart phones, weareables, laptops, tablets…
  17. When customers are into the “presence zones” this information is captured and retrieved in different times
  18. , we are taking “shots” of where each device is at this exact moment in time.
  19. In order to have a look that let us know, let us… understand, how customers are ‘moving’ into our “Open Space”
  20. We can use collected information in multiple ways: We can use it in “real time” trying to answer questions: Where are the customers located at this exact moment in time? Or … Which places are capturing the customer attention? Which places has a high density of customer.
  21. We also can use this information to analyse aggregated data, in this case we use this tool as a way to understand customer habits: which path customers follow inside the store, where they spent more time (special offers?, at electronic or music department?), which places in the store, hospital, airport… are capturing people’s attention. All this information helps us to plan, for example, working shifts of attendants or space distribution, better.
  22. Why do we develop a new solution for presence zones? We know that there is previous products that does exactly what we wont. This aproach has one main objective: TCO should be as low as possible. - we’re going to use open standards, minimise the cost of software licenses. we’re basing the solution on low-cost devices, and we want to use easy to obtain devices We want a simple and lightweight solution, and of course, easy to scale. -
  23. For the technology selection we indentify Python and Java as the programming languages and runtimes that we wanted to use for the platform. Basically we’ll have a device sniffing tool that uses a Java ME midlet or Python script to sniff all the devices arround the area (know about their ssignal strength, mac adress,…), sending all this information to a data collector. The data collector, also can run on a python script or a Java SE server application, we are going to integrate all the different sniffers, and all this collected information in just one collector platform. To listen to he devices we’re using Bluetooth Low Energy technology because is more precise than WiFi, is nor as frequently use as WiFi but its usage is growing fast, mostly thanks to wearables. All this software runs on single board computers such as Raspberry Pi, Beaglebone or Arduino. In our life demo we’re going to use Rapberry Pi