• Keine Ergebnisse gefunden

Web-Konzepte für das Internet der Dinge – Ein Überblick

N/A
N/A
Protected

Academic year: 2021

Aktie "Web-Konzepte für das Internet der Dinge – Ein Überblick"

Copied!
24
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Web-Konzepte für das Internet der Dinge – Ein Überblick

Samuel Wieland – sawielan@student.ethz.ch

(2)

Historisches

(3)

Inhalt

Konzepte vom Web fürs Internet der Dinge?

URI, HTTP

Verschiedene Architektur-Konzepte

REST, SOAP

Probleme, Anforderungen und Lösungen

Diskussion

(4)

Smarte Dinge / Sensoren

Stromverbrauch

Kommunikation

Rechenleistung

Wartung

(5)

Smarte Dinge / Sensoren cont'd

Mehrere Hersteller

Verschiedene Standards

Unterschiedliche Ziele

Regulatorische Einschränkungen

Zweck

Badezimmer vs. Autobahn

http://www.phonak.com/

(6)

Adressierung

Internet Protocol (IP)

Computer zu Computer

URI

Dokumente

Hardware

Dinge ausserhalb des Webs

(7)

Adressierung – Beispiel

file:///CIFS/.mnt/share-s-$@nas-nethz-users.d.ethz.ch/

http://www.vs.inf.ethz.ch/edu/FS2008/UC/

itpc://www.podcast.ethz.ch/channels/details/rss/?id=6&format=1

(8)

HTTP

Hypertext Transport Protocol

Request-Methoden:

OPTIONS, GET, HEAD, PUT, POST, DELETE, TRACE, CONNECT

Zustandslos

Content-negotiation

Format der Anfrage oder Antwort

Kodierung der Daten

(9)

HTTP – Content negotiation

Date: Sat, 17 May 2008 10:56:41 GMT

Server: Zope/(Zope 2.8.8-final, python 2.3.4, linux2) ZServer/1.1 Content-Length: 29301

Expires: Sat, 17 May 2008 11:11:41 GMT

Last-Modified: Sat, 17 May 2008 10:56:41 GMT Cache-Control: max-age=900

Content-Type: text/html;charset=utf-8 Via: 1.1 www.ethz.ch

200 OK

Antwort-Header nach GET-Request auf: http://www.ethz.ch

(10)

HTTP – Content negotiation cont'd

Accept: audio/*; q=0.2, audio/basic

Accept: text/plain; q=0.5, text/html, text/x-dvi; q=0.8, text/x-c

Accept-Language: da, en-gb;q=0.8, en;q=0.7

(11)

REST

Representational State Transfer

Fielding Roy Thomas

Doktorarbeit in Irvine, 2000

Was ist REST?

Ideen stammend vom Web

Regelwerk zum Bau grosser verteilter Applikationen

(12)

REST – Regeln

Resource per URI

Hyperlinks

Ressourcen-Representationen

Metadata

Zustandslos

Uniforme Schnittstelle

(13)

REST – Regeln – Schnittstelle

REST: Traditioneller SQL:

PUT CREATE

GET READ

POST UPDATE

DELETE DELETE

(14)

SOAP

Simple Object Access Protocol

Webservices Description Language (WSDL)

RPC als XML Serialisiert

W3C Standard Version 1.2, April 2007

(15)

SOAP – Beispiel Ablauf

HTTP Server SOAP System

Stub

Applikation 1

HTTP Server SOAP System

Stub

Applikation 2

Netz

(16)

Diskussion REST - Vorteile

Bestehende Infrastruktur

HTTP, URI

Offenes und einfaches Interface

PUT, GET, POST, DELETE

Content negotiation

Ressourcenschonend

Optimierte c-Bibliotheken

(17)

Diskussion REST – Nachteile

Typsicherheit

Parameter als Strings in URI

Sicherheit generell

Kein Multihop-Routing mit HTTPS

Konversationen

Zustandslos

HTTP-gebunden

Was geschieht, falls HTTP abgelöst wird?

(18)

Diskussion SOAP – Vorteile

Klar definierte Schnittstelle

WSDL, Java Interface

Typsicherheit

Transportprotokoll unabhängig

HTTP, Java-Call, Java-Queues

Sicherheit generell

WS-Security

Konversationen

(19)

Diskussion SOAP – Nachteile

XML

Rechenleistung von Sensoren

Energieverbrauch beim Senden

Interface-Anpassungen

WSDL

Stub

Update des smarten Dings?

(20)

Fazit / Ausblick

Es gibt kein allumfassendes Konzept

Hybrid?

Problem bestimmt Ansatz

(21)

Konzept furs Internet der Dinge?

CPU

REST + + + +

SOAP - - - -

Energie Wartung Internet der Dinge

(22)

Diskussion / Fragen

(23)

Quellen (1)

Wilde, E:

Putting Things to REST

Technical Report UCB iSchool Report 2007-015, UC Berkeley, 2007

Fielding, R.T:

Architectural Styles and the Design of Network-based Software Architectures Doctoral dissertation, University of California, Irvine, 2000

(24)

Quellen (2)

W3C Recommendation:

SOAP Version 1.2 Part: Messaging Framework (Second Edition) http://www.w3.org/TR/2007/REC-soap12-part1-20070427/, April, 2007

W3C Note:

Web Services Description Language (WSDL) 1.1

http://www.w3.org/TR/2001/NOTE-wsdl-20010315/, 2001

Berners-Lee, T., Fielding, R., et al:

Uniform Resource Identifier (URI): Generic Syntax RFC 1630, http://tools.ietf.org/html/rfc1630, 1994

Referenzen

ÄHNLICHE DOKUMENTE

An Intergovernmen- tal Working Group defined monitoring as "a system of continued observation, meas- urement and evaluation f o r defined purposes" (International

To provide a comprehensive overview, we summarize se- curity requirements from the domain of the IoT, but also related areas of IT and elaborate these requirements in the context of

In teaching, the professorship is intended to present the history of architecture in its entirety to students of architecture and urban planning in the Bachelor’s and Master’s

Therefore, it is the author’s opinion, that today’s practice in software maintenance and to achieve software maintainability are not enough for the architectural design

7 AUTOSAR Adaptive software architecture with two instances of an environmental model software component (servers) shown in the lower part and one trajectory planning software

Established in 1921, the University of California Museum of Paleontology (UCMP) is today the world’s leading university museum of paleontology, with nearly three million specimens

We present an agent-based model of wood markets. The model covers softwood and hardwood markets for sawlogs, energy wood, and industrial wood. Our study region is a mountainous area

TCP/IP, Domain Naming Service Sockets, Future of the Internet (IPv6) 3.2 Internet Protocols and Internet Infrastructure.. 3.3 Multi-Tier Architectures, Platform Choices and