Bringing Legacy Devices Online
-
Upload
jan-rodig -
Category
Technology
-
view
27 -
download
0
Transcript of Bringing Legacy Devices Online
![Page 1: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/1.jpg)
Bringing Legacy Devices Online14 June 2016, Berlin – IoT Tech Expo
Bernd Behler, CTO tresmo
![Page 2: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/2.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
“As a manufacturer, I want to connect my legacy devices to the internet so that I can offer new services and enable my customers to control their devices remotely.”
![Page 3: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/3.jpg)
![Page 4: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/4.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
?? ? Cloud
![Page 5: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/5.jpg)
Option A
![Page 6: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/6.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
+Option B
Internal IoT Gateway
![Page 7: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/7.jpg)
![Page 8: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/8.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
External Gateway
Option C
?External IoT Gateway
![Page 9: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/9.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Service Ports
![Page 10: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/10.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway Service Port Connection
Option C
Service port
![Page 11: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/11.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
IoT Gateways
Gateways can make a legacy device IoT capable:
- talks device specific protocols on one side
- talks IoT protocols on the other side
- one or more devices can be connected to a gateway (wireless or wired)
![Page 12: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/12.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway Usage Example
Cloud
Gateway
Device
Example: Connecting a Heating Appliance to the Cloud
App
![Page 13: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/13.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
IoT Gateways
Typical Gateway Functionality
![Page 14: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/14.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
![Page 15: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/15.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
![Page 16: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/16.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
connecting
![Page 17: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/17.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
read / write
connecting
![Page 18: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/18.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
read / writesend / receive
connecting
![Page 19: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/19.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
read / write
connecting
send / receive
![Page 20: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/20.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
local buffering
read / write
connecting
send / receive
![Page 21: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/21.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
local buffering
read / write
connecting
send / receive trigger rules
![Page 22: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/22.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
local buffering
read / write
connecting
send / receive trigger rules
local applications
![Page 23: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/23.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
local buffering
read / write
connecting
send / receive trigger rules
local applications
local connection endpoint
![Page 24: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/24.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
local buffering
read / write
connecting
send / receive trigger rules
local applications
device id
local connection endpoint
![Page 25: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/25.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Device Identification
At the time the gateway is produced, you usually do not know what device is going to be connected to it.
There must be a device identification mechanism to detect which device (with which firmware version) is connected.
![Page 26: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/26.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Device Identification
“Who are you?”
“I am a heating appliance of type XYZ with firmware version 1.2.3 “
Device
Gateway
![Page 27: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/27.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Definitions
The gateway itself has no knowledge about what “datapoints” to read from the device
The IoT cloud has to tell the gateway which datapoints to read.
![Page 28: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/28.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Definitions
“Who are you?”
“I am a heating appliance of type XYZ with firmware version 1.2.3 “
Device
Gateway
Cloud
I have a heating appliance XYZ with firmware 1.2.3. Please tell me what datapoints to read.
List with datapoint definitions for the device.
![Page 29: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/29.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Definitions
Example:
- address 0x1234- datatype byte- length 1- scaling factor 1- unit celsius- min 10- max 35- stepping 1- description temperature setting- ...
datapoint definitions for all devices
Datapoint DefinitionDatabase
![Page 30: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/30.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Value Propagation
Cloud
Gateway
DeviceApp
gateway reads from address 0x1234
1
2cloud forwards datapoint address value to app:0x1234 = 00011000
24°3
app shows temperature
![Page 31: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/31.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Value Propagation
Cloud
Gateway
Device A
App
cloud forwards datapoint values to app:0x1234 = = 00011000
Device B
address 0x1234 24°
![Page 32: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/32.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Value Propagation
Cloud
Gateway
Device A
App
cloud forwards datapoint values to app:Device A: 0x1234 = = 00011000Device B: 0x5678 = 1011110000
Device B
address 0x1234
address 0x5678
Problem: different devices store values under different addresses.
How does the app know what those addresses mean?
24°
![Page 33: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/33.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Semantic Datamodel
Datapoint Mapping
![Page 34: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/34.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Mapping
Device A
Device B
address 0x1234
address 0x5678
Semantic Metamodel
/heating/temperature = 24 ° App
24°
![Page 35: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/35.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Mapping
1
Semantic Metamodel
Define a semantic metamodel across your
devices
2
Mapping Rules
Define mapping rules to convert:
- raw device datapoint values to metamodel
values
- metamodel values to raw device datapoint
values
3
Conversion Engine
Use a conversion engine to perform
conversions between datapoint values and
metamodel based on a given set of mapping
rules
![Page 36: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/36.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Value Propagation
Cloud
Gateway
Device A
App
cloud forwards datapoint values to app:Device A: /heating/temperature = 24°Device B: /heating/temperature = 24°
Device B
address 0x1234
address 0x5678
DatapointStandardization
24°
![Page 37: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/37.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Summary
Internal or external gateways can be used to connect legacy devices to the Internet.
A device identification mechanism has to be in place, when different devices are to be connected.
Datapoint definitions can be loaded from the cloud on demand.
Metamodel mapping is important if datapoints differ from device to device.
1
2
3
4
![Page 38: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/38.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
We are a 360° digital agency with passion for the IoT
Digital Transformation Consulting
Software Development
Digital Analytics /Big Data
![Page 39: Bringing Legacy Devices Online](https://reader035.fdocuments.in/reader035/viewer/2022062412/588391df1a28ab07628b7787/html5/thumbnails/39.jpg)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
How can we help you with your IoT project?
Bernd Behler
Bernd Behler
[email protected] Tech Expo booth #14
www.tresmo.de
#tresmo360