SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
Samsung Open Source Group
1
https://social.samsunginter.net/@rzr
Web of Twins?
Walking through a "privacy by design"
chain from sensor’s microcontroller to XR
#WotWs2 Munich, Germany <2019-06-04>
Philippe Coval
Samsung Open Source Group / SRUK
p.coval@samsung.com
Samsung Open Source Group
2
https://social.samsunginter.net/@rzr
$ who is Philippe Coval
●
Software engineer for Samsung OSG
– Belongs to SRUK team, based in Rennes, France
– Interest: Web of Things with “Privacy by Design”
– Contributor: Tizen, IoTivity, Mozilla WebThings, IoT.js, TizenRT...
– Multi-active: FLOSS, OSHW, IoT, Web, 3D/XR, Communities
●
Ping me online:
– https://social.samsunginter.net/@rzr
Samsung Open Source Group
3
https://social.samsunginter.net/@rzr
Digital Twins
Samsung Open Source Group
4
https://social.samsunginter.net/@rzr
What are digital twins ?
●
Introduced by Dr M. Grieves (FIT)
– Context: 2002 as part of PLM, NASA
●
Real time (or deferred) connectivity:
– Between the physical component
●
and its digital counterpart
●
“Devices as service” concept:
– Applies to many industry:
●
City, manufacturing, health, transport…
●
Near “Real Time” data ?
●
Useful for:
– Re/Co/Design
– Monitoring, Quality tracking
– Impact analysis:
●
Dependency, process, lifecycle,
financial...
– Digital traces for analytic
– Simulation, AI/ML etc
– Improve decision making
Samsung Open Source Group
5
https://social.samsunginter.net/@rzr
Digital twins are model driven, use cases:
●
Smart Factory
– A Reference model of product
●
is versioned
– Some property of model is changed
●
By design team, suppliers
●
Or even end consumer?
– Simulation checks and validation
– Production is reconfigured
●
CNC machines updated
– A new batch of product is effective
●
Smart City
– Observe environment, traffic, energy...
●
Simulate new strategies, paths
●
Apply changes:
– Smart buildings, IoT
– Recommendation, Social Web...
– Model is evolving in real time
●
Observe global effects
– Citizen to be involved if public
●
Could adjust their SmartHome devices
– Heat, Air Quality→Ventilation
●
Privacy should be preserved
Samsung Open Source Group
6
https://social.samsunginter.net/@rzr
Proof of concept
Samsung Open Source Group
7
https://social.samsunginter.net/@rzr
Ethic considerations & challenges
●
FLOSS + Open Standards
– Accessible & Inter operability:
– Stable API and semantics needed
●
Privacy by design
– Comply to GDPR Article 25
●
Transversal
– On the Web!
– With the web (Eg: OpenData sources)
– CAD Model in browser
– Microcontollers nodes (IoT.js)
●
Using Mozilla WebThing platform:
– User generated data
●
stay home by default
– Decentralized & Access Control
●
Resources can be shared:
– JSON Web Token
●
Optional remote access
●
Scalability?
– Hosting & Versioning?
Samsung Open Source Group
8
https://social.samsunginter.net/@rzr
Javascript the language of Web (of Twins)
●
IoT.js an alternative runtime inspired by Node.js:
– Powered by JerryScript engine designed for micro-controllers
– Base features: IO (I2C, GPIO...), Network (HTTP/S, MQTT, WS) …
●
Modules: iotjs-express, mastodon-lite, generic-sensors-lite
– Supporting: RT, GNU/Linux ...
●
WebThings can be build using webthing-iotjs module:
– Standalone HTTP servers exposing Mozilla Things API:
●
RESTful architecture: read, update operations
– Can be connected to MozIoT “PrivacyByDesign” gateway
Samsung Open Source Group
9
https://social.samsunginter.net/@rzr
Example: The Robot ARM idea
●
From concept:
– Top level properties: Angles:
●
Torso [-180, +180]
●
Shoulder [0, +90]
●
Arm [0, +90]
●
Hand [0, +90]
●
To early specifications:
– Design Model CAD→ VR/AR
●
Simulation
●
Identify integration issues
– Implement embedded system
●
Sourcing hardware
●
Controller / Controllee
●
Adjust design/specifications
Samsung Open Source Group
10
https://social.samsunginter.net/@rzr
Digital Twins with WebThing-IoTjs (on STM32)
https://youtu.be/sUayRsjV1Ys
11
https://social.samsunginter.net/@rzrSamsung Open Source Group
Web/ApplicationJS Application
OS / RTOS
(TizenRT, Linux, NuttX)
IoT.js
PoC Architecture Overview:
MCU
JerryScript + LibTuv
Sensor
I2C
I2C API
webthing-iotjs
HTTP API
IP/lwIP
NIC
generic-sensor-lite
OS
CPU
WebBrowser
HTTP API XR/GL
IP GL
HTTP/WS
A-Frame (+ T.js)
IO
www
Or
direct
LAN
GW
...
Samsung Open Source Group
12
https://social.samsunginter.net/@rzr
Run a “color sensor WebThing” with IoT.js
●
Install IoT.js for WebThing-IotJs (GNU/Linux, TizenRT, WLS...)
– https://github.com/rzr/webthing-iotjs/wiki/IotJs
●
git clone https://github.com/samsunginternet/color-sensor-js
– iotjs lib/tcs34725.js # => log: value=[7779,36778,11173,42766]
– make -C example/color-sensor-webthing start
– curl http://localhost:8888/properties/
{"color": "#af0695"}
●
Or simulate webthing in the cloud:
– https://color-sensor-webthing.glitch.me
Samsung Open Source Group
13
https://social.samsunginter.net/@rzr
Live control in 3D using A-Frame on GearVR:
https://youtu.be/s3r8pQtzhAU#wotxr-20190320rzr
Samsung Open Source Group
14
https://social.samsunginter.net/@rzr
XR Visualization
●
From WebVR
– Implemented in Web browsers supporting WebGL
– Various frameworks: A-Frame, Babylon-js, Three-js. GLTF
– GPU Performance (WebGL)
●
To WebXR also support Augmented Reality
– Follow immersive web working group
●
I use Samsung’s GearVR 2017 (with controller)
●
Progressive Web App (PWA): to manage offline mode
Samsung Open Source Group
15
https://social.samsunginter.net/@rzr
Summary
●
Digital Twins PoC can be implemented with JavaScript:
– Physical Device on Microcontroller using IoT.js supporting:
●
I/O: Native and “generic-sensors-lite” module
●
WebThings API: Can connect to Mozilla IoT gateway
– Decentralized architecture with Privacy By Design
●
Avatar in browser (XR)
– A-Frame (WebVR)
– Align to WebThings schemas and sync nodes
●
Next challenges:
– Scalability, Persistence, GLTF (with parametric?)
16
https://social.samsunginter.net/@rzrSamsung Open Source Group
Q&A ?
(or Extras?)
Ask now or online:
https://social.samsunginter.net/@rzr
Samsung Open Source Group
17
https://social.samsunginter.net/@rzr
Resources:
●
Open Source:
– https://github.com/rzr/webthing-iotjs/wiki
– https://github.com/SamsungInternet/color-sensor-js
– https://github.com/rzr/twins
– http://opensource.samsung.com/
●
Infos:
– https://social.samsunginter.net/@rzr/102139995659879619
– https://hacks.mozilla.org/2019/03/connecting-real-things-to-virtual-world
s-using-web/
Samsung Open Source Group
18
https://social.samsunginter.net/@rzr
Controlling real data & consuming OpenData
https://youtu.be/OT0Ahuy3Cv4#webthing-iotjs-opendata-20190202rzr
19
https://social.samsunginter.net/@rzrSamsung Open Source Group
Thanks !
Resources:
Flaticons CC,
PixBay.com
https://Social.SamsungInter.net/@rzr

Mais conteúdo relacionado

Mais procurados

Building the IoT - Coding Serbia 2015
Building the IoT - Coding Serbia 2015Building the IoT - Coding Serbia 2015
Building the IoT - Coding Serbia 2015Benjamin Cabé
 
OSGeo: projects, incubation and infrastructure
OSGeo: projects, incubation and infrastructureOSGeo: projects, incubation and infrastructure
OSGeo: projects, incubation and infrastructureMarkus Neteler
 
How to make the calculator
How to make the calculatorHow to make the calculator
How to make the calculatorKouji Matsui
 
Overview of Eclipse IoT projects - IoT Day Grenoble
Overview of Eclipse IoT projects - IoT Day GrenobleOverview of Eclipse IoT projects - IoT Day Grenoble
Overview of Eclipse IoT projects - IoT Day GrenobleBenjamin Cabé
 

Mais procurados (8)

Open source drones_in_everyday_life
Open source drones_in_everyday_lifeOpen source drones_in_everyday_life
Open source drones_in_everyday_life
 
tdc2015-strategy-devel-20150916
tdc2015-strategy-devel-20150916tdc2015-strategy-devel-20150916
tdc2015-strategy-devel-20150916
 
Building the IoT - Coding Serbia 2015
Building the IoT - Coding Serbia 2015Building the IoT - Coding Serbia 2015
Building the IoT - Coding Serbia 2015
 
tizen-maintain-20150413rzr
tizen-maintain-20150413rzrtizen-maintain-20150413rzr
tizen-maintain-20150413rzr
 
OSGeo: projects, incubation and infrastructure
OSGeo: projects, incubation and infrastructureOSGeo: projects, incubation and infrastructure
OSGeo: projects, incubation and infrastructure
 
How to make the calculator
How to make the calculatorHow to make the calculator
How to make the calculator
 
Tizen contrib-fosdem-20140201
Tizen contrib-fosdem-20140201Tizen contrib-fosdem-20140201
Tizen contrib-fosdem-20140201
 
Overview of Eclipse IoT projects - IoT Day Grenoble
Overview of Eclipse IoT projects - IoT Day GrenobleOverview of Eclipse IoT projects - IoT Day Grenoble
Overview of Eclipse IoT projects - IoT Day Grenoble
 

Semelhante a web-of-twins-20190604rzr

The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)Samsung Open Source Group
 
Create IoT with Open Source Hardware, Tizen and HTML5
Create IoT with Open Source Hardware, Tizen and HTML5Create IoT with Open Source Hardware, Tizen and HTML5
Create IoT with Open Source Hardware, Tizen and HTML5Leon Anavi
 
NET !!! A must have tool under your belt
NET !!! A must have tool under your beltNET !!! A must have tool under your belt
NET !!! A must have tool under your beltHansamali Gamage
 
Stronger than Chuck Norris: SharePoint in clouds, on earth, in subway and in ...
Stronger than Chuck Norris: SharePoint in clouds, on earth, in subway and in ...Stronger than Chuck Norris: SharePoint in clouds, on earth, in subway and in ...
Stronger than Chuck Norris: SharePoint in clouds, on earth, in subway and in ...Adis Jugo
 
The internet of things in now , see how golang is a part of this evolution
The internet of things in now , see how golang is a part of this evolutionThe internet of things in now , see how golang is a part of this evolution
The internet of things in now , see how golang is a part of this evolutionYoni Davidson
 
IoTivity for Automotive: meta-ocf-automotive tutorial
IoTivity for Automotive: meta-ocf-automotive tutorialIoTivity for Automotive: meta-ocf-automotive tutorial
IoTivity for Automotive: meta-ocf-automotive tutorialSamsung Open Source Group
 
React Native e IoT - Un progetto complesso
React Native e IoT - Un progetto complessoReact Native e IoT - Un progetto complesso
React Native e IoT - Un progetto complessoCommit University
 
Mainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT PlatformMainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT PlatformSasa Klopanovic
 
Mainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT PlatformMainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT PlatformSasa Klopanovic
 
IoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT InteroperabilityIoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT InteroperabilitySamsung Open Source Group
 
Introduction to the AGILE project: open source modular gateway for the IoT (C...
Introduction to the AGILE project: open source modular gateway for the IoT (C...Introduction to the AGILE project: open source modular gateway for the IoT (C...
Introduction to the AGILE project: open source modular gateway for the IoT (C...AGILE IoT
 

Semelhante a web-of-twins-20190604rzr (20)

The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)The Complex IoT Equation (and FLOSS solutions)
The Complex IoT Equation (and FLOSS solutions)
 
aframe-webthing-20190710
aframe-webthing-20190710aframe-webthing-20190710
aframe-webthing-20190710
 
mozilla-things-fosdem-2019
mozilla-things-fosdem-2019mozilla-things-fosdem-2019
mozilla-things-fosdem-2019
 
IoTivity: From Devices to the Cloud
IoTivity: From Devices to the CloudIoTivity: From Devices to the Cloud
IoTivity: From Devices to the Cloud
 
Create IoT with Open Source Hardware, Tizen and HTML5
Create IoT with Open Source Hardware, Tizen and HTML5Create IoT with Open Source Hardware, Tizen and HTML5
Create IoT with Open Source Hardware, Tizen and HTML5
 
tizen-rt-javascript-20181011
tizen-rt-javascript-20181011tizen-rt-javascript-20181011
tizen-rt-javascript-20181011
 
NET !!! A must have tool under your belt
NET !!! A must have tool under your beltNET !!! A must have tool under your belt
NET !!! A must have tool under your belt
 
Connected TIZEN
Connected TIZENConnected TIZEN
Connected TIZEN
 
Tizen Connected with IoTivity
Tizen Connected with IoTivityTizen Connected with IoTivity
Tizen Connected with IoTivity
 
X-GSN in OpenIoT SummerSchool
X-GSN in OpenIoT SummerSchoolX-GSN in OpenIoT SummerSchool
X-GSN in OpenIoT SummerSchool
 
Framework for IoT Interoperability
Framework for IoT InteroperabilityFramework for IoT Interoperability
Framework for IoT Interoperability
 
Stronger than Chuck Norris: SharePoint in clouds, on earth, in subway and in ...
Stronger than Chuck Norris: SharePoint in clouds, on earth, in subway and in ...Stronger than Chuck Norris: SharePoint in clouds, on earth, in subway and in ...
Stronger than Chuck Norris: SharePoint in clouds, on earth, in subway and in ...
 
The internet of things in now , see how golang is a part of this evolution
The internet of things in now , see how golang is a part of this evolutionThe internet of things in now , see how golang is a part of this evolution
The internet of things in now , see how golang is a part of this evolution
 
IoTivity for Automotive: meta-ocf-automotive tutorial
IoTivity for Automotive: meta-ocf-automotive tutorialIoTivity for Automotive: meta-ocf-automotive tutorial
IoTivity for Automotive: meta-ocf-automotive tutorial
 
React Native e IoT - Un progetto complesso
React Native e IoT - Un progetto complessoReact Native e IoT - Un progetto complesso
React Native e IoT - Un progetto complesso
 
wotxr-20190320rzr
wotxr-20190320rzrwotxr-20190320rzr
wotxr-20190320rzr
 
Mainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT PlatformMainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT Platform
 
Mainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT PlatformMainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT Platform
 
IoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT InteroperabilityIoTivity for Automotive IoT Interoperability
IoTivity for Automotive IoT Interoperability
 
Introduction to the AGILE project: open source modular gateway for the IoT (C...
Introduction to the AGILE project: open source modular gateway for the IoT (C...Introduction to the AGILE project: open source modular gateway for the IoT (C...
Introduction to the AGILE project: open source modular gateway for the IoT (C...
 

Mais de Phil www.rzr.online.fr

Mais de Phil www.rzr.online.fr (13)

Iot privacy-soscon-2019
Iot privacy-soscon-2019Iot privacy-soscon-2019
Iot privacy-soscon-2019
 
up-down-stream-flows-20190411rzr
up-down-stream-flows-20190411rzrup-down-stream-flows-20190411rzr
up-down-stream-flows-20190411rzr
 
IoT-javascript-2019-fosdem
IoT-javascript-2019-fosdemIoT-javascript-2019-fosdem
IoT-javascript-2019-fosdem
 
osvehicle-connected-20160429
osvehicle-connected-20160429osvehicle-connected-20160429
osvehicle-connected-20160429
 
Iotivity atmel-20150328rzr
Iotivity atmel-20150328rzrIotivity atmel-20150328rzr
Iotivity atmel-20150328rzr
 
Tizen store-z1-20150228rzr
Tizen store-z1-20150228rzrTizen store-z1-20150228rzr
Tizen store-z1-20150228rzr
 
FOSDEM2015: Porting Tizen:Common to open source hardware devices
FOSDEM2015: Porting Tizen:Common to open source hardware devicesFOSDEM2015: Porting Tizen:Common to open source hardware devices
FOSDEM2015: Porting Tizen:Common to open source hardware devices
 
tizen-oshw-tds14sh
tizen-oshw-tds14shtizen-oshw-tds14sh
tizen-oshw-tds14sh
 
Tizen platform-dev-tds14sh
Tizen platform-dev-tds14shTizen platform-dev-tds14sh
Tizen platform-dev-tds14sh
 
Tdc2014 tizen common_20140603
Tdc2014 tizen common_20140603Tdc2014 tizen common_20140603
Tdc2014 tizen common_20140603
 
tizen-upstream-coop-tdc2014-pcoval
tizen-upstream-coop-tdc2014-pcovaltizen-upstream-coop-tdc2014-pcoval
tizen-upstream-coop-tdc2014-pcoval
 
Tizen sdk-solutionslinux-20130529
Tizen sdk-solutionslinux-20130529Tizen sdk-solutionslinux-20130529
Tizen sdk-solutionslinux-20130529
 
Tizen architecture-solutionslinux-20130529
Tizen architecture-solutionslinux-20130529Tizen architecture-solutionslinux-20130529
Tizen architecture-solutionslinux-20130529
 

Último

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 

Último (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 

web-of-twins-20190604rzr

  • 1. Samsung Open Source Group 1 https://social.samsunginter.net/@rzr Web of Twins? Walking through a "privacy by design" chain from sensor’s microcontroller to XR #WotWs2 Munich, Germany <2019-06-04> Philippe Coval Samsung Open Source Group / SRUK p.coval@samsung.com
  • 2. Samsung Open Source Group 2 https://social.samsunginter.net/@rzr $ who is Philippe Coval ● Software engineer for Samsung OSG – Belongs to SRUK team, based in Rennes, France – Interest: Web of Things with “Privacy by Design” – Contributor: Tizen, IoTivity, Mozilla WebThings, IoT.js, TizenRT... – Multi-active: FLOSS, OSHW, IoT, Web, 3D/XR, Communities ● Ping me online: – https://social.samsunginter.net/@rzr
  • 3. Samsung Open Source Group 3 https://social.samsunginter.net/@rzr Digital Twins
  • 4. Samsung Open Source Group 4 https://social.samsunginter.net/@rzr What are digital twins ? ● Introduced by Dr M. Grieves (FIT) – Context: 2002 as part of PLM, NASA ● Real time (or deferred) connectivity: – Between the physical component ● and its digital counterpart ● “Devices as service” concept: – Applies to many industry: ● City, manufacturing, health, transport… ● Near “Real Time” data ? ● Useful for: – Re/Co/Design – Monitoring, Quality tracking – Impact analysis: ● Dependency, process, lifecycle, financial... – Digital traces for analytic – Simulation, AI/ML etc – Improve decision making
  • 5. Samsung Open Source Group 5 https://social.samsunginter.net/@rzr Digital twins are model driven, use cases: ● Smart Factory – A Reference model of product ● is versioned – Some property of model is changed ● By design team, suppliers ● Or even end consumer? – Simulation checks and validation – Production is reconfigured ● CNC machines updated – A new batch of product is effective ● Smart City – Observe environment, traffic, energy... ● Simulate new strategies, paths ● Apply changes: – Smart buildings, IoT – Recommendation, Social Web... – Model is evolving in real time ● Observe global effects – Citizen to be involved if public ● Could adjust their SmartHome devices – Heat, Air Quality→Ventilation ● Privacy should be preserved
  • 6. Samsung Open Source Group 6 https://social.samsunginter.net/@rzr Proof of concept
  • 7. Samsung Open Source Group 7 https://social.samsunginter.net/@rzr Ethic considerations & challenges ● FLOSS + Open Standards – Accessible & Inter operability: – Stable API and semantics needed ● Privacy by design – Comply to GDPR Article 25 ● Transversal – On the Web! – With the web (Eg: OpenData sources) – CAD Model in browser – Microcontollers nodes (IoT.js) ● Using Mozilla WebThing platform: – User generated data ● stay home by default – Decentralized & Access Control ● Resources can be shared: – JSON Web Token ● Optional remote access ● Scalability? – Hosting & Versioning?
  • 8. Samsung Open Source Group 8 https://social.samsunginter.net/@rzr Javascript the language of Web (of Twins) ● IoT.js an alternative runtime inspired by Node.js: – Powered by JerryScript engine designed for micro-controllers – Base features: IO (I2C, GPIO...), Network (HTTP/S, MQTT, WS) … ● Modules: iotjs-express, mastodon-lite, generic-sensors-lite – Supporting: RT, GNU/Linux ... ● WebThings can be build using webthing-iotjs module: – Standalone HTTP servers exposing Mozilla Things API: ● RESTful architecture: read, update operations – Can be connected to MozIoT “PrivacyByDesign” gateway
  • 9. Samsung Open Source Group 9 https://social.samsunginter.net/@rzr Example: The Robot ARM idea ● From concept: – Top level properties: Angles: ● Torso [-180, +180] ● Shoulder [0, +90] ● Arm [0, +90] ● Hand [0, +90] ● To early specifications: – Design Model CAD→ VR/AR ● Simulation ● Identify integration issues – Implement embedded system ● Sourcing hardware ● Controller / Controllee ● Adjust design/specifications
  • 10. Samsung Open Source Group 10 https://social.samsunginter.net/@rzr Digital Twins with WebThing-IoTjs (on STM32) https://youtu.be/sUayRsjV1Ys
  • 11. 11 https://social.samsunginter.net/@rzrSamsung Open Source Group Web/ApplicationJS Application OS / RTOS (TizenRT, Linux, NuttX) IoT.js PoC Architecture Overview: MCU JerryScript + LibTuv Sensor I2C I2C API webthing-iotjs HTTP API IP/lwIP NIC generic-sensor-lite OS CPU WebBrowser HTTP API XR/GL IP GL HTTP/WS A-Frame (+ T.js) IO www Or direct LAN GW ...
  • 12. Samsung Open Source Group 12 https://social.samsunginter.net/@rzr Run a “color sensor WebThing” with IoT.js ● Install IoT.js for WebThing-IotJs (GNU/Linux, TizenRT, WLS...) – https://github.com/rzr/webthing-iotjs/wiki/IotJs ● git clone https://github.com/samsunginternet/color-sensor-js – iotjs lib/tcs34725.js # => log: value=[7779,36778,11173,42766] – make -C example/color-sensor-webthing start – curl http://localhost:8888/properties/ {"color": "#af0695"} ● Or simulate webthing in the cloud: – https://color-sensor-webthing.glitch.me
  • 13. Samsung Open Source Group 13 https://social.samsunginter.net/@rzr Live control in 3D using A-Frame on GearVR: https://youtu.be/s3r8pQtzhAU#wotxr-20190320rzr
  • 14. Samsung Open Source Group 14 https://social.samsunginter.net/@rzr XR Visualization ● From WebVR – Implemented in Web browsers supporting WebGL – Various frameworks: A-Frame, Babylon-js, Three-js. GLTF – GPU Performance (WebGL) ● To WebXR also support Augmented Reality – Follow immersive web working group ● I use Samsung’s GearVR 2017 (with controller) ● Progressive Web App (PWA): to manage offline mode
  • 15. Samsung Open Source Group 15 https://social.samsunginter.net/@rzr Summary ● Digital Twins PoC can be implemented with JavaScript: – Physical Device on Microcontroller using IoT.js supporting: ● I/O: Native and “generic-sensors-lite” module ● WebThings API: Can connect to Mozilla IoT gateway – Decentralized architecture with Privacy By Design ● Avatar in browser (XR) – A-Frame (WebVR) – Align to WebThings schemas and sync nodes ● Next challenges: – Scalability, Persistence, GLTF (with parametric?)
  • 16. 16 https://social.samsunginter.net/@rzrSamsung Open Source Group Q&A ? (or Extras?) Ask now or online: https://social.samsunginter.net/@rzr
  • 17. Samsung Open Source Group 17 https://social.samsunginter.net/@rzr Resources: ● Open Source: – https://github.com/rzr/webthing-iotjs/wiki – https://github.com/SamsungInternet/color-sensor-js – https://github.com/rzr/twins – http://opensource.samsung.com/ ● Infos: – https://social.samsunginter.net/@rzr/102139995659879619 – https://hacks.mozilla.org/2019/03/connecting-real-things-to-virtual-world s-using-web/
  • 18. Samsung Open Source Group 18 https://social.samsunginter.net/@rzr Controlling real data & consuming OpenData https://youtu.be/OT0Ahuy3Cv4#webthing-iotjs-opendata-20190202rzr
  • 19. 19 https://social.samsunginter.net/@rzrSamsung Open Source Group Thanks ! Resources: Flaticons CC, PixBay.com https://Social.SamsungInter.net/@rzr