digital object memories for the web of thingsdigital object memories for the web of things dr.-ing....

39
Digital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25 th 2013 German Research Center for Artificial Intelligence (DFKI)

Upload: others

Post on 07-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Digital Object Memories for the Web of Things

Dr.-Ing. Jens Haupert

Web of Things Workshop, June 25th 2013

German Research Center for Artificial Intelligence (DFKI)

Page 2: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

* Order* Components* Quality Checks

Monitoring: * Temperature* Humidity* Acceleration

* Price* Date of Sale* Storage Conditions

* Transport Data* Usage

Linking:Physical Object and Object Memory

2

Sample Scenario

* Recycling

Page 3: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Open-Loop Scenarios

Open-LoopClosed-Loop

3

Page 4: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Open-Loop Scenarios (2)

Open-Loop

4

• A large set of stakeholders

• Ad-hoc lifecycle chain

• No a priory definitions

• Heterogeneous datasets

Page 5: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

New Requirements

• Life Cycle Chain – Object-related information

– Open-loop distribution

• Maintenance– Specific configurations / Lot size one

– Retrieving spare parts

• After Sales– (Remote) condition-based monitoring

• Improved Recycling– Provide information about components and elements

– Recycling feedback to manufacturer

5

Page 6: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

6

Data Foundation

Data Foundation

Infrastructure Processing

OMS ActivityOMM

Page 7: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Object Memory Model

• Structure model to partition heterogeneousobject memory data

• Group associated data to blocks

• Each block consists of actual payload and additional meta data

• Payload can be out-sources to external media

• Abstract model with XML- and embedded HTML5-representations

• W3C Incubator Group (OMM-XG)

7

Page 8: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

OMM Header

Table of Contents

Block 1 Block n…

Object Memory Model (2)

Block Metadata Block Payload Block MetadataBlock Link

8

www

Page 9: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Object Memory Model (3)

Block Metadata Block Payload

9

IDName-space

Format Title DescriptionCreator ContributorsType Subject

Access History Clear Text DataContent Description

M2M HCI

Page 10: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Object Memory Model (4)

10

Block 2 Block n…Block 1 Block 3

Stakeholder A Stakeholder B Stakeholder Z

Page 11: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Defined Blocks

11

OMM Structure Block

OMM IDs-Block OMM+ Embedded Block

OMM+ Semantics Block

OMM+ PiVis BlockOMM Key-Value-Template

ExtensionsOMM-XG

Page 12: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

12

ID

Format

Title

Creator

Type

Subject

block_123

application/xmlSchema: http://mycomp.com/sensor.xsd

“SensorReading (temp/humi/shock)”

123456789@DUNS, 16.01.2013 16:15

http://purl.org/dc/dcmitype/Dataset

“sensorReadings”http://mycomp.com/o.owl#Temperaturehttp://mycomp.com/o.owl#Humidityhttp://mycomp.com/o.owl#Shock

<?xml version="1.0">

<log><reading><value>-6</value><topic>#Temp</topic><unit>#Celsius<unit>

</reading>

<reading><value>80</value><topic>#Humid</topic><unit>#Percent<unit>

</reading>

<reading><value>1.6</value><topic>#Shock</topic><unit>#G<unit>

</reading></log>

OMM-Block with sensor readings

Sample Memory (1)

Page 13: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

13

OMM-block with embedded memory

Sample Memory (2)

Integration

Page 14: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

14

OMM-Block with embedded memory

Sample Memory (3)

ID

Namespace

Format

Title

Creator

Type

Subject

block_456

urn:ommplus:blocks:embeddedBlock

application/xml

“Memory: Sensor Optobero 124”

123456789@DUNS, 16.01.2013 16:15

http://purl.org/dc/dcmitype/PhysicalObject

„primaryID.opto124“„myLoggingInfo“

http://ont.org/o.owl#Maintenance

OMM Header

Table of Content

Block 1

Block n

Page 15: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Infrastructure

15

Data Foundation

Infrastructure Processing

OMS ActivityOMM

Page 16: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Memory Access

16

RFID-Tag

CPS

OMS

Barcode

www

Page 17: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Object Memory Server

• Modular Architecture– Complete feature set with dedicated server

– Partial functionality with embedded systems

– Minimal core with simple systems

17

Server

Server

Link

Smart Label

Embedded System

Infrastructure

Object

Page 18: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

18

OMMObject

MemoryServer

XML

RDFaMicrodata

Mapper

Java | JavaScript | REST

Applications

HTML5

User

Version ControlRole-based Access

Binray

RESTful Interface

<memory name> / toc

blockIDs

block / creator

subject

type

payload

/ <block ID>

GET

GET>

>

GET | PUT>

GET | PUT>

GET | PUT>

GET | PUT>

Object Memory Server (2)

Page 19: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Processing

19

Data Foundation

Infrastructure Processing

OMS ActivityOMM

Page 20: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Activity

• Previous Architecture:– Passive data storage only

• Add processing logic to object memories

• Execute small, local operations (snippets)within object memory

20

Page 21: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Activity (2)

21

Cyber-physical System User

Page 22: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Activity (2)

22

Cyber-physical System User

Object Memory

Activity Module

Logic

InterpreterCode Execution

in Sandbox

Result19°C19°CKnowledge

Heartbeat

Memory Events

RESTInterface

Page 23: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

23

Activity (3)

Memory

External Application

Activity Module

Interpreter

Integrity Check Code

CallResult

Code Executionin Sandbox

ok

19°C19°CKnowledge

1

2

3

4

5

Memory

Activity Module

Monitoring Logic

InterpreterCode Exectution

in Sandbox

Result19°C19°CKnowledge

Heartbeat

Call

Result

1

2

3

4 5

Integrity Check Independent Object Monitoring

Page 24: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

24

Activity (4)

Memory

Logik

Activity Modules

Memory URL1

Installed Snippets

2

Snippet Selection by User

3

Upload

4

19°CKnowledgeLogic

Page 25: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

ADOMe vs. CPS

25

Memory

19°CKnowledge

Digital Object Memory

Memory

Logik

Activity Modules

19°CKnowledgeLogic

Active DOMe (ADOMe)

Memory

Logik

Activity Modules

19°CKnowledgeLogic

Cyber-physical System

Sensors / Actuators

Page 26: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

26

Raspberry Pi

Object Memory Server (OMS)• Java-Version w/o VCS und ACL• RESTful interface• Activity Module and Snippets• OMM XML representation

Gadgeteer

Object Memory Server (OMS)• C# compact implementation• RESTful interface• Transparent sensor integration• OMM Binary representation

Memory

Logik

Activity Modules

19°CKnowledgeLogic

Sensors / Actuators

Memory

Logik 19°CKnowledgeLogic

Sensors / Actuators

Sensor 1 Sensor 2

REST

REST

OMM on Embedded Platf.

Page 27: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Visualization, Tools and Extensions

27

Data Foundation

Infrastructure Processing

OMS ActivityOMM

Visualization, Tools and Extensions

Page 28: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Database Migration

28

OntologieModell

OntologieModell

Datasource(Database)

OntologyModel

DateiDateiFiles

&Facts

OMM-Blöcke

OMM-Blöcke

OMM-Blocks Memory

Semantic Harmoni-

zation

Extraction Mapping Storage

Phase 1 Phase 2

• Today: Data stored in databases

• The day after tomorrow: Digital object memories

• Migration:– Semantic Harmonization via Ontology Model

– Facts and File-extraction

– Automatic Memory generation

Page 29: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Data Representation

29

StorageCore

Interfaces

Object Memory Server

XML

Pros:

• Standardized / Well defined• Widely used• Human readable

Cons:

• Verbosity and complexity• Slow processing• Bad cost-value ratio

Page 30: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Data Representation (2)

30

StorageCore

Interfaces

Object Memory Server

BinaryMapper

• Dynamic mapper for binary representation– Lossless conversion for low storage space consumption

– Lossy conversion for minimum space consumption

• Partial restore of lost data possible via mapping table

Page 31: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Secure Provenance

• Warranty deeds and legal grounds– Secure and verifiable data necessary

Memory with secure provenance

31

Block 1 Block n…Block 2

Cryptographic Hash

Cryptographic Hash

Cryptographic HashLink Link

Page 32: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Secure Provenance

• No later modification feasible– No alteration of existing blocks

– No insertion of new blocks

– No deletion of existing blocks (with Authority Server)

32

Block 1 Block n…Block 2

Cryptographic Hash

Cryptographic HashLink Link

Cryptographic Hash

Authority Server

Page 33: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Results

• Definition of a meta model to structure heterogeneous object memory data and positioning in W3C OMM-XG

• Reference implementation of a OMM-based memory infrastructure for open-loop scenarios

• Hardware abstraction allows usage independent of object properties and capabilities

• Plug-In-based, dynamic visualization for heterogeneous data

• Additional toolset to create new applications and migrate existing systems

33

Page 34: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Discussion

• DOMe-related Data by Trumpf?

• Where could digital object memories be used?

– Manufactured products?

– Machinery?

• New potentials and business models?– Possible risks?

34

Page 35: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Discussion

• Which types of memories are suitable?– Embedded/on-object

– Server-based/off-object

• What data could enrich the product life-cycle?

• Where could autonomous activity be used?

• How could a Snippet Store look like?

35

Page 36: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Thank you very much for your attention.

http://www.dfki.de/omm-tools/

Page 37: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Benefits

• Open data storage– Communicate with open-loop partners

– Standardized formats and proprietary extensions

• Self-explaining objects– Object-related information attached to physical object

– Replace paper documentation

– Define monitoring conditions

– Maintenance data

• Maintenance data attached to product– Retrospective

– Spare parts 37

Page 38: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Benefits

• Object memory data storage location– On-object for high value products

– Off-object for low cost products

– Arbitrary hybrid solutions possible

– Communication via standardized web techniques

• Versatile applications for object memories– Raw materials

– Machinery

– Goods

– Hierarchical solutions

38

Page 39: Digital Object Memories for the Web of ThingsDigital Object Memories for the Web of Things Dr.-Ing. Jens Haupert Web of Things Workshop, June 25th 2013 German Research Center for Artificial

Benefits

• Object memory as storage space for snippets

• Secure sandbox execution

• Update Snippets via AppStore– Subsequent parameter adjustment

• Object-related logic (lot size one)– Integrity Check

• Autonomous/independent monitoring– Independent Object Monitoring

39