DPWS Device and Service Templates Device and service

















- Slides: 17
DPWS Device and Service Templates Device and service templates for the Devices Profile for Web Services Andreas Bobek, Elmar Zeeb, Hendrik Bohn, Frank Golatowski, Dirk Timmermann University of Rostock Faculty of Computer Science and Electrical Engineering 6 th International IEEE Conference on Industrial Informatics INDIN´ 08 13 th – 16 th July, 2008, Daejeon, Korea University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates Outline • Problem description • Device and service frameworks • UPn. P vs. DPWS • Motivation, requirements, main idea • Suggested solution • Impact • Conclusions University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates Networked devices and services (background) - special field of application - research topic for several years - evolved from the need of interoperable cross-platform, domain -spanning devices/services - some frameworks are already available, none of them is widely used - main requirements - independent of platform, programming language, domain - plug and play - eventing - IPv 4/IPv 6 - tools University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates Device & service frameworks platform programming language Jini JVM OSGi JVM CORBA any UPn. P any DPWS any Java any any integration style OO OO OO RPC message bus University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates UPn. P & DPWS stacks - specified in 1999 prior to Web services (starts in 2000) - same target as DPWS - pros: - University of Rostock Faculty of Computer Science and Electrical Engineering - UPn. P specification process - standardized Device Control Protocols (DCP) cons: - bad designed/proprietary protocols (SSDP, GENA, RPCbased SOAP) - no security Andreas Bobek
DPWS Device and Service Templates UPn. P & DPWS stacks - Web services framework is the SOA technology today - pros: open standards, widely deployed, industry driven, no fee, software tools - cons: plethora of specifications (protocols, bindings, profiles), redundancy, not consolidated yet - DPWS - special profile for Web services - targeted for embedded devices (but may be applied to usual Web services as well) University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates UPn. P & DPWS stacks University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates UPn. P & DPWS stacks University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates Device and service templates - motivations - main idea - still missed in DPWS - formal XML documents - code generation - device and service type separation - improving discovery - requirements - types are XML qualified names (QNames) - readability - accessibility - code generation - versioning University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates Service template content University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates Service template example University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates Device template content University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates Device template example University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates WS-Discovery revised University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates WS-Discovery revised University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates Code generation University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek
DPWS Device and Service Templates Conclusions - XML-based formal description - supports code generation - reuse of DPWS terminology (Hosted, Host, Relationship…) - URL templates for fast discovery - own XML serialization for QNames (allows for easier transformation) - supports versioning (multiple inheritance) University of Rostock Faculty of Computer Science and Electrical Engineering Andreas Bobek