Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions...

65
Azure Digital Twins Marco Parenzan

Transcript of Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions...

Page 1: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Azure Digital TwinsMarco Parenzan

Page 2: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Thanks to

Page 3: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Azure Digital Twins

Marco Parenzan

Solutions Sales Specialist @ InsightMicrosoft MVP 2018-2019 for Azure

Community Lead per 1nn0va

Page 4: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Being a Develler

• What is a «develler»?

• Developer + Seller! [DevOps docet!]

• Like to spend nights coding

• But during the day I need to sell

• I know what I’d like to sell...

• ...but is it simple to sell?

• Locking the customer?

Page 5: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

AGENDA

• Scenario

• Approaching an IoT Project

• The pipeline

• Build

• Manage

• Ingest

• Process

• Detect & Predict

• Conclusions

Page 6: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Scenario

Page 7: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Digital Innovation for the Construction Engineering

Energy Models for Optimization

StructuralHealth Monitoring

Material Testing

IoT

Sensors Layer

«Run time» «Design Time»

Page 8: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• You have an artifact deployed• Objectives:

• increase human safety • reduce maintenance costs• Optimize models

• Mechanical stresses (compression, tension, shear, bending, torsion, and fatigue) happens• Bringing stress to limits can

happen

• Xtreme stress can have catastrophic consequences

Structural Health Monitoring

Page 9: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• When something havebroken, the only question is«why»

• You can measure, what ishappening with Electromechanical sensorscan quantify these stresses

• And if you are able to…youcan understand also ifsomething else could happen

Quality vs. Quantity

Page 10: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

When measuring

Testing

•stress your material in safe conditions

Production

•Artifacts already «stressed» inside safe boundaries

•Extreme stresses in limited time-boundary(short term, periodic)

Improvements

• Model updates

• Surveillanceservice

Page 11: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Approaching an IoT project

Page 12: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Telemetry Ingestion and Controlling

• You have seen lot of times• https://www.slideshare.net/marco.parenzan/sviluppare-un-portale-

per-gestire-la-tua-soluzione-iot-hub

IoT Hub «state of the art»

Page 13: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

IoT Ingestion

Telemetry

Azure

IoT Hub

Stream Analytics

CosmosDb

AzureFunction

Local StorageIngestion

Loca

l Ala

rms

Logic App

Page 14: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

IoT Controlling

Azure

IoT Hub

AzureFunction

C2DLo

cal Sto

rage

CosmosDb

Command Messages

Service Bus

Page 15: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Solved (?)• Function+Storage (persistent)• EventGrid+WebHook (in

memory)• ...but always custom

• And you have living...• ...physical properties• ...computed properties

(javascript or Roslyn computed)• This is dangerously stateful• Stateless is expensive

The device state (aka the twin)

Page 16: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

IoT State

Telemetry

Azure

IoT Hub

Stream Analytics

Ingestion

Azure Container Instance

Azure Service Fabric Mesh

Azure Function Azure Redis Cache

State

Page 17: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Store key/value flat data to the device

• Example

• CRM Key

• Spare Part Key

• ...

The IoTHub registry

1Thing = 1Device

Page 18: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Messaging

FlowGovernance

State

So another point of view

Page 19: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Build Manage Ingest Process Detect Predict

The pipeline

Page 20: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Build Manage Ingest Process Detect Predict

Our focus

Page 21: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Build Manage Ingest Process Detect Predict

Step1: build the artifact

Page 22: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• You can read physical valueswith electronic/mechanicalssensors

• They are connected to localprocessing units• Microcontrollers

• When microcontrollers can be Internet/connected(opportunity) we haveInternet of Things

Handle the measure on edge

PiezoelectricSensors

Microcontrollerbased

local compute(data acquisition)

A/D value

Digital number (0-1023 – 210)

Index mapped to a physical value

(min-max)

Page 23: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Digitalize measures with sensors

to investigate the deformation and deflection(damage detection) for the structuresincluding loaded pipes, beams, and plates.

to identify, locate, and quantify thestructural performance of the system bythe vibration and frequency responsefrom a network of piezoelectric sensors.

PiezoElectricSensors

This technique relies on shear waves (frequenciesabove 18kHz to MHz) generated by a probe (e.g.piezoelectric transducer) at a given point of thestructure and sensed by another at a different point.The damaged areas affect the propagated ultrasonicwave in the structure and result in mixed modes.

UltrasonicSensors

CNT spatial sensing skins: Using CNT (e.g.

hybrid glass-fiber composite) attached to

small-scale concrete beams formed a continuous

conductive skin (layer in structure).Advantages:• A direct means for measuring the distributed

strain fields.• High Sensitivity and Accuracy to

identify the existence, location andseverity of structural cracks or corrosion.

• Higher degree of miniaturization.• (-) Expensive and currently limited production

Carbon nanotubesSensors

Page 24: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Processing opportunities

PiezoelectricSensors

Microcontrollerbased

local compute(data acquisition)

A/D value

Digital number (0-1023 – 210)

Index mapped to a physical value

(min-max)

Self: • buffering• short term• Pulses processing• Alarming• intermittent connection handling• Potentially no internet connection

Edge: • Signal Processing• Local processing• Short term storage• ML application

Cloud: • Scaling• Long term storage• Location Aggregation• ML Training• Big Data

On premisesboundary

Page 25: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Governance inside your plant

A/D value

A/D value

A/D value

A/D value

A/D value

A/D value

Page 26: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Build Manage Ingest Process Detect Predict

Step 2: build the artifact

Page 27: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Customers want to model a physical environment first, and then keep the model up to date

• Model and interact with any physical environment, track the past to predict the future

• Information at your fingertips

Manage an artifact

Scanning: RoofLocation GPS: 45°North 12° ESTReferrer: Rolf AlbrectDocumentation: More Info

Arch #7Length: 57.45mt

Arc: 0 .84radRunning info

LIVE SCAN: Ice Stadium Salzburg

Recognized: ArcClick to pin info

Page 28: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Digital Twin• Spatial Intelligent

Graph to model people, places and things as well as their relationships

• Provision devices based on topology

• Respond to changes in the spatial intelligence graph or devices with serverless event handlers

• Live data egress

• Augmented Reality• Extend the visual

experience with digital data

• Use the camera to add contents

• Spatial Anchors• Plase your virtual models

in the real space

• Cognitive Services• Help improving input with

pre-trained ML services• Identify objects• Custom Vision, Ink

Recognizer, Text Analytics

Manage an artifact

Scanning: RoofLocation GPS: 45°North 12° ESTReferrer: Rolf AlbrectDocumentation: More Info

Arch #7Length: 57.45mt

Arc: 0.84radRunning info

LIVE SCAN: Ice Stadium Salzburg

Recognized: ArcClick to pin info

Page 29: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Three well-composed entry points for IoT solutions

Page 30: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Azure Digital Twins

Spatial Intelligence

Graph

Model people, places

and things as well as

their relationships

Harness IoT

Devices

Uses Azure IoT Hub

to keep the spatial

intelligence graph

up to date with IoT

& IoT Edge devices

Provision devices

based on topology

Rich

Integration

Live data egress to

Event Hubs,

Service Bus, Event

Grid, Time Series

Insights and more

RBAC & Tenancy

Support

Role based access

control to subsets of

the spatial

intelligence graph as

well as support for

tenants in the graph

Page 31: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Twin is a cloud based rapresentation of something that is remote

• DeviceTwin is• A key/value flat representation of

• Desired configuration

• Reported configuration

• Keys to match to an external database

• Digital Twin is• A graph (tree…someone asking for graph)

• Richer semantics

• Also not only devices

The difference between DeviceTwin and Digital Twin

Page 32: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Spaces are virtual or physical locations

• Devices are virtual or physical pieces of equipment

• Sensors are objects that detect events

• Blobs are attached to objects (such as spaces, devices, sensors, and users)

• Extended types are extensible enumerations that augment entities with specific characteristics

• Property keys and values are custom characteristics of spaces, devices, sensors, and users

Defining the spatial model

Page 33: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Resources are attached to a space and typically represent Azure resources to be used by objects in the spatial graph

• User-defined functions (UDFs) allow customizable sensor telemetry processing within the spatial graph. Currently, UDFs can be written in JavaScript.

• Matchers are objects that determine which UDFs are executed for a given telemetry message.

• Role assignments are the association between a role and an object in the spatial graph

• Endpoints are the locations where telemetry messages and Digital Twins events can be routed

Defining the processing model

Page 34: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Ontologies represent a set of extended types

• Users identify occupants and their characteristics.

• Roles are sets of permissions assigned to users and devices in the spatial graph

• Security key stores provide the security keys for all devices in the hierarchy under a given space object to allow the device to securely communicate with Digital Twins.

Other part of the model

Page 35: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Plain text are meanings, not just identifiers

• Scope for security (spaceId dependency)

• Type for integrity

Working with ontologies

Page 36: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• This is the first methaphor in Digital Twins

• You can create hierarchies of spaces

Space

Page 37: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Projects

Project 1 Project 2

• Preview• One instance of Digital Twins

per subscription

• Overall, a multitenant approach

• Use a root node for all projects

• Use a child root node for each project• And in experimentation you can

leave it there if garbage (ex. When you create iothub resources)

• Good governance practice

Root space

Page 38: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Projects

Domotics

Customer01House

Customer02House

• Facility management

• Under Domotics project space add a space for each customer

The experiment – domotics customers

Page 39: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Projects

Domotics

SEA

Customer01House

WUS

Customer02House

• If you have a multiregional business, you can introduce regional space• Resources located under each

region

The experiment – multiregional domotics customers

Page 40: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• HTML+js app

• Stored in a Static Web Site

• AAD authenticated

• Azure SignalR

• Azure Function AAD Authenticated for query and SignalR hub

• https://github.com/Azure/azure-digital-twins-graph-viewer

Azure Digital Twins Graph Viewer

Page 41: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• The static website

Page 42: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Swagger for the API

• Generate the code with NSwagStudio (for example)• https://github.com/RSuter/NSwag/wiki/NSwagStudio

• Pro• Automatic

• Consistent

• Cons• Verbose

• Some semantics is lost (lists)

Interacting with the API

Page 43: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• AddSpaces

Page 44: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Build Manage Ingest Process Detect Predict

Step 3: ingest the data

Page 45: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Handle the property…?

collect Where?PiezoelectricSensors

Microcontrollerbased

local compute(data acquisition)

A/D value

Digital number (0-1023 – 210)

Index mapped to a physical value

(min-max)

Page 46: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Ingest the data

Azure IoT Hub Azure IoT Edge Azure IoT Central

Azure Time Series Insights

Azure MapsAzure Digital Twins

Page 47: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Is a resource for the graph

• You associate to a space

• Use in descendant devices

• During the preview• One per DT

• Auto provisioned, not external

• Hungs during deployment in West Europe (currently working in East US)

IoTHub

Page 48: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Device/Sensor Validation

Property name Value Required Description

DigitalTwins-Telemetry 1.0 Yes A constant value that identifies a message to the system.

DigitalTwins-SensorHardwareId string(72) Yes A unique identifier of the sensor that sends the Message. This value must match an object's HardwareId property for the system to process it. For example, 00FF0643BE88-CO2.

CreationTimeUtc string No An ISO 8601 formatted date string that identifies the sampling time of the payload. For example, 2018-09-20T07:35:00.8587882-07:00.

CorrelationId string No A UUID that's used to trace events across the system. For example, cec16751-ab27-405d-8fe6-c68e1412ce1f.

Page 49: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Sending data

Page 50: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Build Manage Ingest Process Detect Predict

Step 4: process the data

Page 51: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

The Digital Twin pipeline

Page 52: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• A UDF in Javascript handles/process the value

• Multiple UDFs can be defined

• A set of matchers decide which UDF handles

Data processing

Page 53: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• A sensor (and consequently all the tree branch where sensor is a leaf) is identified by DigitalTwins-SensorHardwareId property

• So the matcher is relative ($) to the sensor

1. Path2. Comparison (equal, contains,

notequals)3. Value (strings with escaped

double quotes) 4. Targetthe UDF

• Matcher scope...not tested

Matchers

Page 54: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• Query for the sensors

• Get the state

• No DB, just sensor

The sensor state

Remember?

Page 55: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• SetSensorValueUDF

• WatchData

Page 56: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Role Description Identifier

Space Administrator CREATE, READ, UPDATE, and DELETE permission for the specified space and all nodes underneath. Global permission.

98e44ad7-28d4-4007-853b-b9968ad132d1

User Administrator CREATE, READ, UPDATE, and DELETE permission for users and user-related objects. READ permission for spaces.

dfaac54c-f583-4dd2-b45d-8d4bbc0aa1ac

Device Administrator CREATE, READ, UPDATE, and DELETE permission for devices and device-related objects. READ permission for spaces.

3cdfde07-bc16-40d9-bed3-66d49a8f52ae

Key Administrator CREATE, READ, UPDATE, and DELETE permission for access keys. READpermission for spaces. 5a0b1afc-e118-4068-969f-b50efb8e5da6

Token Administrator READ and UPDATE permission for access keys. READ permission for spaces. 38a3bb21-5424-43b4-b0bf-78ee228840c3

User READ permission for spaces, sensors, and users, which includes their corresponding related objects. b1ffdb77-c635-4e7e-ad25-948237d85b30

Support Specialist READ permission for everything except access keys. 6e46958b-dc62-4e7c-990c-c3da2e030969

Device Installer READ and UPDATE permission for devices and sensors, which includes their corresponding related objects. READ permission for spaces.

b16dd9fe-4efe-467b-8c8c-720e2ff8817c

Gateway Device CREATE permission for sensors. READ permission for devices and sensors, which includes their corresponding related objects.

d4c69766-e9bd-4e61-bfc1-d8b6e686c7a8

Roles

Page 57: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Routing events and messages

DeviceMessages TopologyOperation SpaceChange SensorChange UdfCustom

EventHub X X X X X

ServiceBus X X X X

EventGrid X X X X

Page 58: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• AddEndpoints

• GetTopologyChanges

• ServiceBus

• SignalR

Page 59: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Conclusions

Page 60: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Build Manage Ingest Process Detect Predict

Step 5&6: detect & predict another story

Train model

Validate model

Deploy model

Monitor model

Retrain model

Build appModel app Test app Release app Monitor app

Build model

Store dataIngest data

The ML pipeline

Inspect data

Page 61: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• It’s not a database, but it has query semantics

• It has declarative semantics as a rule-based engine

• It can be infinite scalable using one only services rather then more than one (AKS or SF or Redis)

It’s state

Page 62: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• No resource management• Scalability not evaluable

• Define better integration with IoT Hub and offering• Geo/Manual Failover

• DPS

• IoT Edge semantics missing (device pipeline)

• Difficult server-side pipeline debugging• JavaScript-only

• Not observable

It’s a first preview

Page 63: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

• A Graph Database is a Database that is modelled as a Graph

• Traditional data modeling focuses on entities.

• For many applications, there's also a need to model both entities and relationships naturally.

• Both vertices and edges can have an arbitrary number of properties.

• https://www.slideshare.net/marco.parenzan/graph-databases-in-the-microsoft-ecosystem

What is a Graph Database

Page 64: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Thank You!!!

Page 65: Azure Digital Twins Marco Parenzan · 2019-07-07 · Azure Digital Twins Marco Parenzan Solutions Sales Specialist @ Insight ... Ice Stadium Salzburg Recognized: Arc Click to pin

Thanks to