Enabling Workflow in UPnP Networks

Download Report

Transcript Enabling Workflow in UPnP Networks

Enabling Workflow in UPnP Networks
Enabling Workflow in UPnP Networks
Andreas Bobek, Hendrik Bohn, Frank Golatowski
University of Rostock
Faculty of Computer Science and Electrical Engineering
Gerd Kachel, Andreas Spreen
kachel GmbH
3rd International IEEE Conference on
Industrial Informatics
INDIN´05
10th – 12th August, 2005, Perth, Australia
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Enabling Workflow in UPnP Networks
Outline
1. Workflow
2. UPnP
3. UPnP Plug-In for Workflow Management
System
4. Workflow Management System as UPnP
Device
5. Scenario
6. Conclusions
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 1 of 19
Enabling Workflow in UPnP Networks
1. Workflow
"The term workflow refers to the automation of a
business process, in whole or part, during which
documents, information or tasks are passed from one
participant to another for action, according to a set of
procedural rules." (The Workflow Management Coalition Specification)
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 2 of 19
Enabling Workflow in UPnP Networks
1. Workflow - Example
receiving book
order fax
Activity
transfer order data
to IT system
Control Node
And-Split
wait for book
availability in store
wait for receipt of
payment
And-Join
instruction to
shipment
packing & shipping
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 3 of 19
Enabling Workflow in UPnP Networks
1. Workflow - Workflow Reference Model
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 4 of 19
Enabling Workflow in UPnP Networks
1. Workflow
-
process definition
-
-
definition of a business process (XML Process Definition
Language = XPDL)
Workflow Management System
-
container for workflow engines, process definitions and
connectors to external applications or systems (e.g. plug-ins)
-
creates workflow instances of process definitions at runtime
workflow engine
-
executes processes according to their definition
-
interacts with other engines, with users and external applications
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 5 of 19
Enabling Workflow in UPnP Networks
2. UPnP
-
UPnP = Universal Plug and Play
-
supports ad-hoc networking of devices and services
-
only protocols are defined (UDP, TCP, SOAP, SSDP, GENA, HTTP)
-
independent of programming language, operating system and
transmission medium
-
six phases: addressing, discovery, description, control, eventing, and
presentation
-
defines two communicating components: device (+ service), control
point
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 6 of 19
Enabling Workflow in UPnP Networks
2. UPnP - Components
device
- offers services (device is a server)
-
may contain other devices
-
characterized by properties such as model number, model name,
vendor...
-
uniquely identifiable by UUID
service
- interface to the device
-
offers actions and URLs for controlling, eventing, and presentation
-
manages its state in state variables
control point
- searches for devices and/or services
-
invokes actions (control point is a client)
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 7 of 19
Enabling Workflow in UPnP Networks
2. UPnP - Components
S
CP
S
S
D
D
CP
S
control point
S
D
device
S
service
D
S
S
S
S
University of Rostock
Faculty of Computer Science and Electrical Engineering
CP
D
UPnP network
Andreas Bobek
Slide 8 of 19
Enabling Workflow in UPnP Networks
UPnP Stack
Standardized DCPs
(by UPnP Forum)
UPnP Device Architecture
(Addressing, Discovery, Description, Control, Eventing,
Presentation)
SSDP
HTTPU
GENA
HTTPMU
UDP
SOAP
HTTP
TCP
IP
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 9 of 19
Enabling Workflow in UPnP Networks
Possibilities of integration
1. enriching workflow
management systems with
UPnP capabilities
2. enriching UPnP networks by
integrating workflow
management systems as
UPnP devices
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 10 of 19
Enabling Workflow in UPnP Networks
3. UPnP Plug-In for Workflow Management System
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 11 of 19
Enabling Workflow in UPnP Networks
3. UPnP Plug-In for Workflow Management System
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 12 of 19
Enabling Workflow in UPnP Networks
3. UPnP Plug-In for Workflow Management System
-
-
Workflow
Management
System
consider UPnP network
as external applications
App App App
Process
Definitions
usual way to access
external applications is
via plug-ins
Plug-Ins
Workflow
Engine(s)
plug-in for UPnP
networks is an UPnP
Control Point
S
CP
S
CP
S
D
D
S
S
D
S
S
S
S
University of Rostock
Faculty of Computer Science and Electrical Engineering
CP
D
UPnP network
Andreas Bobek
Slide 13 of 19
Enabling Workflow in UPnP Networks
4. Workflow Management System as UPnP Device
Workflow
Management
System
App App App
Process
Definitions
Plug-Ins
Workflow
Engine(s)
D
UPnP
Workflow
Device
CP
S
S
CP
S
S
D
D
S
S
D
S
S
S
S
CP
D
UPnP network
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 14 of 19
Enabling Workflow in UPnP Networks
UPnP Stack
Standardized DCPs
(by UPnP Forum)
UPnP Device Architecture
(Addressing, Discovery, Description, Control, Eventing,
Presentation)
SSDP
HTTPU
GENA
HTTPMU
UDP
SOAP
HTTP
TCP
IP
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 15 of 19
Enabling Workflow in UPnP Networks
1.2. UPnP Stack
Internet
Gateway
Device
Printer
Lighting Device
Standardized
DCPs
(by
UPnP
Forum)
Controls
WMS
Device
UPnP Device Architecture
(Addressing, Discovery, Description, Control, Eventing,
Presentation)
SSDP
HTTPU
GENA
HTTPMU
UDP
SOAP
HTTP
TCP
IP
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 16 of 19
Enabling Workflow in UPnP Networks
Workflow Management System as UPnP Device
start, run, stop,
status, result
Workflow
Control
Service
Process
Definition
Service
register,
unregister
WMS
Device
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 17 of 19
Enabling Workflow in UPnP Networks
5. Scenario
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 18 of 19
Enabling Workflow in UPnP Networks
5. Scenario
runSlideShow(imageURIs, mediaRendererUUID, delay)
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 18 of 19
Enabling Workflow in UPnP Networks
6. Conclusions
-
Workflow – appropriate solution for automatic control of devices
-
reusability of workflow tools (modeler, monitoring...) in UPnP
networks and reusability of execution engines
-
Workflow Management System for managing UPnP networks
(monitoring and controlling)
-
UPnP as a further interface for installing, running and controlling
workflow processes
-
business processes (applications) => technical processes (+devices)
-
devices replaceable during runtime
University of Rostock
Faculty of Computer Science and Electrical Engineering
Andreas Bobek
Slide 19 of 19