SlideShare una empresa de Scribd logo
1 de 19
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

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é
 

La actualidad más candente (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
 

Similar 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
 

Similar 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...
 

Más de Phil www.rzr.online.fr

Más 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

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 

Último (20)

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 

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