SlideShare una empresa de Scribd logo
1 de 55
Support for Human Users
 in Scientific Workflows

            Diploma Thesis


            Dimitrios Dentsas
 Institute of Architecture of Application Systems




                                                    d.dentsas@googlemail.com
Contents
              Motivation
                     Properties of Scientific Workflows
                     Automation boundaries
                     Roles of WS-HT and BPEL4People
              Integration of Humans
                     Basics
                     Message Structures & Communication Flows
              Outline Solutions
                     Research Design
                     SW4H – Scientific Workflows for Humans
                     Abstract Architecture
                     Using transactions
                     Message-based Routing
              Demo – Editing a task
© Dimitrios Dentsas                                              2
Motivation




© Dimitrios Dentsas
Motivation

              Numerical simulations have become the third pillar of
               science

              Analyzing and visualizing data-centric simulation results
               is a highly repetitive process but nevertheless necessary

              Automation and orchestration of work units in scientific
               simulations are needed

                Workflow-Management-Systems (WfMS) are an
               established tool in the business domain for such
               challenges
                     Scientific Workflow Management Systems (SWfMS)
© Dimitrios Dentsas                                                        4
Motivation – Automation boundaries
              Simulation steps cannot be fully automated if:
                     The requirements for automation are too difficult to meet
                     The „decision making process“ can only be executed by
                      „cognitive entities“
                          e.g. Quality assurance of simulation results
              Smart allocation of resources
                     Controlling and manipulating critical parameters
                     Scenario: Simulation executions over the weekend




© Dimitrios Dentsas
Motivation – Current needs
              There is demand for a smooth integration of human users
               in SWfMS
              Network-based communication channels are hardly ever
               used

              Efficient management of simulation-related tasks
              Web service standards like WS-HumanTask and
               BPEL4People are used in the business domain.
                     As specifications they are part of the WS-*
                     They determine how to integrate human users into business
                      processes
                     The WS-BPEL language has to be extended



© Dimitrios Dentsas                                                               6
Motivation




                      [2]

© Dimitrios Dentsas         7
Integration of Humans




© Dimitrios Dentsas
Basics
              Cloud-based integration of applications
              Special requirements for integrating human users have to
               be considered and managed
              Human Communication Flows are introduced in order to
               reach these objectives
              In this paradigm all participants hold one of the following
               roles:
                     Communication Initiator
                     Human Communication Manager
                     Communication Services
                     Communication Devices




© Dimitrios Dentsas
Communication participants




© Dimitrios Dentsas        [3]   10
Message structure
              We distinguish between two types of communication
               parameters:
                     Communication Parameters:
                         Communication type (Notification, Response required/optional)
                         List of all message receivers
                         Communication channels (Skype, Chat, etc.)
                         Further options (response schema, attachments, default responses)
                     Communication Message Properties:
                         subject
                         body
                         Importance level
                         etc.




© Dimitrios Dentsas                                                                           11
Message structure
              Messages consist of:
                     Communication Request Message
                     Communication Message
                     Channel-Specific Message




                                            [3]
© Dimitrios Dentsas                                   12
Communication Flows – User Notification




                          [3]
© Dimitrios Dentsas                           13
Communication Flows – Response Required




                                        [3]
© Dimitrios Dentsas                           14
Communication Flows – Response Optional




                                         [3]
© Dimitrios Dentsas                            15
SW4H - Message structure
              Structure of all input and output XML messages of the
               WSDL operations




© Dimitrios Dentsas
SW4H - Message structure
              Structure of all input and output XML messages of the
               WSDL operations




© Dimitrios Dentsas
SW4H - Message structure
              Structure of all input and output XML messages of the
               WSDL operations




© Dimitrios Dentsas
SW4H - Message structure
              Structure of all input and output XML messages of the
               WSDL operations




© Dimitrios Dentsas
SW4H - Message structure
              Structure of all input and output XML messages of the WSDL
               operations




© Dimitrios Dentsas
Outline
                      Solutions




© Dimitrios Dentsas
Approach – The communication flow
              A multitude of different technical realization possibilities.
               Two very popular ones are:
       1.      BPEL-Process
       2.      Message-oriented Middleware (MOM)
                         EAI through Enterprise Integration Patterns
                                               BPEL                        MOM
                      Pros         • uniform modeling              • Large open source
                                     environment                     community
                                   • Easier integration with
                                     process fragments
                      Cons         • Tight coupling with           • Introduction of new
                                     workflows                       dependencies by
                                                                     using EAI-
                                                                     Frameworks



© Dimitrios Dentsas                                                                        22
Approach – The communication flow

              Requirements for EAI-Frameworks:
                     Fault tolerance

                     Guaranteed deliveries

                     Scalability

                     Support for popular protocols of the ISO/OSI application layer



                 Apache Camel
                                                                    [4]
                 Apache ActiveMQ
                                                                                 [5]




© Dimitrios Dentsas
Approach– Data model
              Don‘t reinvent the wheel!

              What similar solutions are there for the data model?
                 Project Bangkok (Uni Stuttgart ) 
                     Tempo (Intalio)
                     Apache HISE (Incubator Project)

                     Project Bangkok and Apache HISE are open source
                      implementations of the WS-Human Task specification.
                     Tempo implements BPEL4People (REST APIs).




© Dimitrios Dentsas
Project Bangkok

              An embedded Human Task Manager for Java

              APIs for client applications

              Support for:
                     HumanTaskModel vs HumanTaskInstance

                     People queries (logical people groups, literals)

                     Task presentation

                     User management




© Dimitrios Dentsas                                                      25
SW4H
              Scientific-Workflows-for-Humans (SW4H)
              Human Communication Manager
              What it is based on:
                     Project Bangkok
                     Apache Camel (Routing Engine)
                     Apache ActiveMQ (Embedded Message Broker)


              What it offers:
                     Web-frontend with a task worklist
                     Easily integratable into the Eclipse platform
                     A multitude of integrated Messaging Endpoints


              Exchangable Back-End systems for persistency (currently
               MySQL)
© Dimitrios Dentsas                                                   26
SW4H – Abstract Architecture




© Dimitrios Dentsas                27
Integration of new services
              Using a uniform Service Endpoint Interface (SEI)
              Service Integration API




© Dimitrios Dentsas                                               28
Human Interaction Activity

              Implemented as a process
               fragment

              Asynchronous communication
                     One <invoke> activity

                     One <pick> activity

              Conditional constructs with a
               <if> activity

              Invoking the Communication
               Inititation API
               (sendMessage, onMessage)
© Dimitrios Dentsas                            29
SW4H – Communication Manager




© Dimitrios Dentsas                30
Task-loop – A command interpreter

        The message body of coupled
         devices is analyzed:
        #<command>( [-h] -p1 foo –p2 bar)
                     forward
                     resend
                     useChannel
                     stop
                     fail
                     claim
                     start
                     getUsers
                     help
                     release
                     …
© Dimitrios Dentsas                          31
Task-loop – Parsing of XSD documents

        XML-Schema for describing tasks is analyzed with a XSD-Parser
        A proper subset of the XML-Schema spezification
        Simple types :
                     Explicit and anonymous type definitions
                     Primitive data types:
                          string, decimal, integer, boolean, date, time
                     Restrictions and facets:
                          enumeration, maxinclusive, mininclusive, maxexclusive, length, maxlength, minl
                           ength, pattern, totaldigits
        Complex types:
                     Explicit and anonymous type definitions
                     Recursive complex types
                     Child elements:
                          sequence, choice, all
                     Attributes:
                          maxoccurs, minoccurs, required, optional

© Dimitrios Dentsas                                                                                         32
SW4H – Messaging




© Dimitrios Dentsas    33
Implementation of the Communication Flows
              EIP-Diagram – The constituents are:




© Dimitrios Dentsas                                  34
Implementation of the Communication Flows

              User Notification: The constituents are :
                         Message: Header and body
                         Recipient List: Content-based Routing
                         Persistent Queues
                         Endpoints: User-Devices




© Dimitrios Dentsas                                               35
Transactional behavior
              Local transactions of the messaging layer
              Cooperation of the Spring JmsTransaction Manager with
               the JMS Broker (ActiveMQ)




                                                                [6]

© Dimitrios Dentsas                                                    36
Transactional behavior
              Persistent Queues act as „Safe Havens“
              Reaching atomic behavior between queues




                                          [7]
© Dimitrios Dentsas                                      37
SW4H – Presentation Layer




© Dimitrios Dentsas             38
SW4H Frontend – Use cases




© Dimitrios Dentsas             39
SW4H Frontend – Login window




© Dimitrios Dentsas                40
SW4H Frontend – Task window




© Dimitrios Dentsas               41
SW4H Frontend – Invitation dialog




© Dimitrios Dentsas                     42
SW4H Frontend – Registration invitation




© Dimitrios Dentsas                           43
SW4H Frontend – My Devices




© Dimitrios Dentsas              44
SW4H Frontend – My Services




© Dimitrios Dentsas               45
SW4H Frontend – Registration form




© Dimitrios Dentsas                     46
SW4H Frontend – Eclipse integration




© Dimitrios Dentsas                       47
Editing a task




© Dimitrios Dentsas
Communication Request Message


                                     Communication
                                      Parameters


                                              XML-Schema of
                                                 the task




                           static user list

© Dimitrios Dentsas                                      49
Demo Run – Contacting the HCM

        Using XMPP (Google GTALK)




© Dimitrios Dentsas                  50
Demo Run – Editing




© Dimitrios Dentsas         51
Demo Run – The resulting response message

           The XSD-Parser processes all inputs and produces a
            valid XML document

           Callback – The task is finished successfully and sends a
            response message back to the workflow




© Dimitrios Dentsas                                                    52
Thank you for your attention
                          Questions?…
              http://code.google.com/p/sw4h-2012/




© Dimitrios Dentsas                                 53
List of references
       (1)     M.Sonntag,D.Karastoyanova: (2010) Next Generation Interactive Scientific
               Experimenting Based On The Workflow Technology. 21st IASTED
               International Conference on Modelling and Simulation.
       (2)     Schumm, David; Karastoyanova, Dimka: Integrating Humans in Scientific
               Workflows: Integrate, Register & Communicate. In: The 4th SimTech Status
               Seminar, 2011
       (3)     Schumm, David; Fehling, Christoph; Karastoyanova, Dimka;
               Leymann, Frank; Rütschlin, Jochen: Processes for Human Integration in
               Automated Cloud Application Management, Universität
               Stuttgart, Technischer Bericht Nr. 2012/02, 2012.
       (4)     http://camel.apache.org/
       (5)     http://activemq.apache.org/
       (6)     Ian J. Taylor, Ewa Deelman, Dennis B. Gannon, and Matthew Shields.
               2006. Workflows for E-Science: Scientific Workflows for Grids. Springer-
               Verlag New York, Inc., Secaucus, NJ, USA.




© Dimitrios Dentsas                                                                       54
End Of Document



© Dimitrios Dentsas

Más contenido relacionado

La actualidad más candente

3529 v mware_solution_brochure_final
3529 v mware_solution_brochure_final3529 v mware_solution_brochure_final
3529 v mware_solution_brochure_finalVictor Diaz Campos
 
The consumerisation of IT (11 oct 2011)
The consumerisation of IT (11 oct 2011)The consumerisation of IT (11 oct 2011)
The consumerisation of IT (11 oct 2011)Freeform Dynamics
 
IT Security Risk Mitigation Report: Virtualization Security
IT Security Risk Mitigation Report: Virtualization SecurityIT Security Risk Mitigation Report: Virtualization Security
IT Security Risk Mitigation Report: Virtualization SecurityBooz Allen Hamilton
 
CL100.pdf
CL100.pdfCL100.pdf
CL100.pdfNovell
 
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...Novell
 
#EMC #DOCUMENTUM -content-management-in-action
#EMC #DOCUMENTUM -content-management-in-action#EMC #DOCUMENTUM -content-management-in-action
#EMC #DOCUMENTUM -content-management-in-actionMountaha
 
IBM 'After 5' Session - IBM System X
IBM 'After 5' Session - IBM System XIBM 'After 5' Session - IBM System X
IBM 'After 5' Session - IBM System XVincent Kwon
 
A view from above the clouds (14 Oct 2011)
A view from above the clouds (14 Oct 2011)A view from above the clouds (14 Oct 2011)
A view from above the clouds (14 Oct 2011)Freeform Dynamics
 
Discovering Computers: Chapter 09
Discovering Computers: Chapter 09Discovering Computers: Chapter 09
Discovering Computers: Chapter 09Anna Stirling
 
Enterprise modernization: improving the economics of mainframe and multi-plat...
Enterprise modernization: improving the economics of mainframe and multi-plat...Enterprise modernization: improving the economics of mainframe and multi-plat...
Enterprise modernization: improving the economics of mainframe and multi-plat...IBM Rational software
 
The Future of Security
The Future of SecurityThe Future of Security
The Future of SecurityInnoTech
 
5 IT Trends That Reduce Cost And Improve Web Performance - A Forrester and Go...
5 IT Trends That Reduce Cost And Improve Web Performance - A Forrester and Go...5 IT Trends That Reduce Cost And Improve Web Performance - A Forrester and Go...
5 IT Trends That Reduce Cost And Improve Web Performance - A Forrester and Go...Compuware APM
 
Microsoft Unified Communications - Improving User Productivity and Saving Com...
Microsoft Unified Communications - Improving User Productivity and Saving Com...Microsoft Unified Communications - Improving User Productivity and Saving Com...
Microsoft Unified Communications - Improving User Productivity and Saving Com...Microsoft Private Cloud
 
B5 15 - large-scale complex it systems
B5   15 - large-scale complex it systemsB5   15 - large-scale complex it systems
B5 15 - large-scale complex it systemsPere Oliete
 
V Code And V Data Illustrating A New Framework For Supporting The Video Annot...
V Code And V Data Illustrating A New Framework For Supporting The Video Annot...V Code And V Data Illustrating A New Framework For Supporting The Video Annot...
V Code And V Data Illustrating A New Framework For Supporting The Video Annot...GoogleTecTalks
 
Cast Iron Overview Webinar 6.13.12 Final(Jb)
Cast Iron Overview Webinar 6.13.12 Final(Jb)Cast Iron Overview Webinar 6.13.12 Final(Jb)
Cast Iron Overview Webinar 6.13.12 Final(Jb)Carolyn Crowe
 
Security Authorization: An Approach for Community Cloud Computing Environments
Security Authorization: An Approach for Community Cloud Computing EnvironmentsSecurity Authorization: An Approach for Community Cloud Computing Environments
Security Authorization: An Approach for Community Cloud Computing EnvironmentsBooz Allen Hamilton
 
Aras and T-Systems: Supplier Management
Aras and T-Systems: Supplier ManagementAras and T-Systems: Supplier Management
Aras and T-Systems: Supplier ManagementAras
 

La actualidad más candente (20)

3529 v mware_solution_brochure_final
3529 v mware_solution_brochure_final3529 v mware_solution_brochure_final
3529 v mware_solution_brochure_final
 
The consumerisation of IT (11 oct 2011)
The consumerisation of IT (11 oct 2011)The consumerisation of IT (11 oct 2011)
The consumerisation of IT (11 oct 2011)
 
IT Security Risk Mitigation Report: Virtualization Security
IT Security Risk Mitigation Report: Virtualization SecurityIT Security Risk Mitigation Report: Virtualization Security
IT Security Risk Mitigation Report: Virtualization Security
 
ODCA Solutions Panel at IDF 2011
ODCA Solutions Panel at IDF 2011ODCA Solutions Panel at IDF 2011
ODCA Solutions Panel at IDF 2011
 
CL100.pdf
CL100.pdfCL100.pdf
CL100.pdf
 
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
 
#EMC #DOCUMENTUM -content-management-in-action
#EMC #DOCUMENTUM -content-management-in-action#EMC #DOCUMENTUM -content-management-in-action
#EMC #DOCUMENTUM -content-management-in-action
 
IBM 'After 5' Session - IBM System X
IBM 'After 5' Session - IBM System XIBM 'After 5' Session - IBM System X
IBM 'After 5' Session - IBM System X
 
A view from above the clouds (14 Oct 2011)
A view from above the clouds (14 Oct 2011)A view from above the clouds (14 Oct 2011)
A view from above the clouds (14 Oct 2011)
 
Discovering Computers: Chapter 09
Discovering Computers: Chapter 09Discovering Computers: Chapter 09
Discovering Computers: Chapter 09
 
Enterprise modernization: improving the economics of mainframe and multi-plat...
Enterprise modernization: improving the economics of mainframe and multi-plat...Enterprise modernization: improving the economics of mainframe and multi-plat...
Enterprise modernization: improving the economics of mainframe and multi-plat...
 
The Future of Security
The Future of SecurityThe Future of Security
The Future of Security
 
5 IT Trends That Reduce Cost And Improve Web Performance - A Forrester and Go...
5 IT Trends That Reduce Cost And Improve Web Performance - A Forrester and Go...5 IT Trends That Reduce Cost And Improve Web Performance - A Forrester and Go...
5 IT Trends That Reduce Cost And Improve Web Performance - A Forrester and Go...
 
Microsoft Unified Communications - Improving User Productivity and Saving Com...
Microsoft Unified Communications - Improving User Productivity and Saving Com...Microsoft Unified Communications - Improving User Productivity and Saving Com...
Microsoft Unified Communications - Improving User Productivity and Saving Com...
 
B5 15 - large-scale complex it systems
B5   15 - large-scale complex it systemsB5   15 - large-scale complex it systems
B5 15 - large-scale complex it systems
 
EDIF-Cisco/EMC2
EDIF-Cisco/EMC2EDIF-Cisco/EMC2
EDIF-Cisco/EMC2
 
V Code And V Data Illustrating A New Framework For Supporting The Video Annot...
V Code And V Data Illustrating A New Framework For Supporting The Video Annot...V Code And V Data Illustrating A New Framework For Supporting The Video Annot...
V Code And V Data Illustrating A New Framework For Supporting The Video Annot...
 
Cast Iron Overview Webinar 6.13.12 Final(Jb)
Cast Iron Overview Webinar 6.13.12 Final(Jb)Cast Iron Overview Webinar 6.13.12 Final(Jb)
Cast Iron Overview Webinar 6.13.12 Final(Jb)
 
Security Authorization: An Approach for Community Cloud Computing Environments
Security Authorization: An Approach for Community Cloud Computing EnvironmentsSecurity Authorization: An Approach for Community Cloud Computing Environments
Security Authorization: An Approach for Community Cloud Computing Environments
 
Aras and T-Systems: Supplier Management
Aras and T-Systems: Supplier ManagementAras and T-Systems: Supplier Management
Aras and T-Systems: Supplier Management
 

Similar a Integrating Humans in Scientific Workflows

Introduction to WebSphere Message Broker
Introduction to WebSphere Message BrokerIntroduction to WebSphere Message Broker
Introduction to WebSphere Message BrokerAnt Phillips
 
Interoperability for Intelligence Applications using Data-Centric Middleware
Interoperability for Intelligence Applications using Data-Centric MiddlewareInteroperability for Intelligence Applications using Data-Centric Middleware
Interoperability for Intelligence Applications using Data-Centric MiddlewareGerardo Pardo-Castellote
 
Communication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeCommunication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeSumant Tambe
 
Communication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeCommunication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeReal-Time Innovations (RTI)
 
Deloitte Cem Ams 25 May2011
Deloitte Cem Ams 25 May2011Deloitte Cem Ams 25 May2011
Deloitte Cem Ams 25 May2011Theo Slaats
 
Polysynthetic Data Center Vision v1.2
Polysynthetic Data Center Vision v1.2Polysynthetic Data Center Vision v1.2
Polysynthetic Data Center Vision v1.2Christopher Williams
 
IDC-IL Webcast on Enterprise Content Collaboration
IDC-IL Webcast on Enterprise Content Collaboration IDC-IL Webcast on Enterprise Content Collaboration
IDC-IL Webcast on Enterprise Content Collaboration Sri Chilukuri
 
Unisys Enterprise Output Manager "EOM " -"Free Yourself From Datacenter Restr...
Unisys Enterprise Output Manager "EOM " -"Free Yourself From Datacenter Restr...Unisys Enterprise Output Manager "EOM " -"Free Yourself From Datacenter Restr...
Unisys Enterprise Output Manager "EOM " -"Free Yourself From Datacenter Restr...Bradley Hales
 
2014.11 meetup presentation v1
2014.11 meetup presentation v12014.11 meetup presentation v1
2014.11 meetup presentation v1gradyneff
 
Manoj resume business consulting
Manoj  resume business consultingManoj  resume business consulting
Manoj resume business consultingMANOJ PANIGRAHI
 
Troux Presentation Austin Texas
Troux Presentation Austin TexasTroux Presentation Austin Texas
Troux Presentation Austin TexasJoeFaghani
 
Why there is no future for Model Driven Development
Why there is no future for Model Driven DevelopmentWhy there is no future for Model Driven Development
Why there is no future for Model Driven DevelopmentJohan den Haan
 

Similar a Integrating Humans in Scientific Workflows (20)

Introduction to WebSphere Message Broker
Introduction to WebSphere Message BrokerIntroduction to WebSphere Message Broker
Introduction to WebSphere Message Broker
 
Interoperability for Intelligence Applications using Data-Centric Middleware
Interoperability for Intelligence Applications using Data-Centric MiddlewareInteroperability for Intelligence Applications using Data-Centric Middleware
Interoperability for Intelligence Applications using Data-Centric Middleware
 
End User Computing
End User ComputingEnd User Computing
End User Computing
 
Hybride Cloud Strategy
Hybride Cloud StrategyHybride Cloud Strategy
Hybride Cloud Strategy
 
The Promise of Interoperability
The Promise of InteroperabilityThe Promise of Interoperability
The Promise of Interoperability
 
Communication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeCommunication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/Subscribe
 
Communication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeCommunication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/Subscribe
 
Deloitte Cem Ams 25 May2011
Deloitte Cem Ams 25 May2011Deloitte Cem Ams 25 May2011
Deloitte Cem Ams 25 May2011
 
Jobs in the Cloud
 Jobs in the Cloud Jobs in the Cloud
Jobs in the Cloud
 
Chris Carsten David
Chris Carsten DavidChris Carsten David
Chris Carsten David
 
Polysynthetic Data Center Vision v1.2
Polysynthetic Data Center Vision v1.2Polysynthetic Data Center Vision v1.2
Polysynthetic Data Center Vision v1.2
 
Get your house on order
Get your house on orderGet your house on order
Get your house on order
 
Resume
ResumeResume
Resume
 
Introduction au Cloud computing
Introduction au Cloud computingIntroduction au Cloud computing
Introduction au Cloud computing
 
IDC-IL Webcast on Enterprise Content Collaboration
IDC-IL Webcast on Enterprise Content Collaboration IDC-IL Webcast on Enterprise Content Collaboration
IDC-IL Webcast on Enterprise Content Collaboration
 
Unisys Enterprise Output Manager "EOM " -"Free Yourself From Datacenter Restr...
Unisys Enterprise Output Manager "EOM " -"Free Yourself From Datacenter Restr...Unisys Enterprise Output Manager "EOM " -"Free Yourself From Datacenter Restr...
Unisys Enterprise Output Manager "EOM " -"Free Yourself From Datacenter Restr...
 
2014.11 meetup presentation v1
2014.11 meetup presentation v12014.11 meetup presentation v1
2014.11 meetup presentation v1
 
Manoj resume business consulting
Manoj  resume business consultingManoj  resume business consulting
Manoj resume business consulting
 
Troux Presentation Austin Texas
Troux Presentation Austin TexasTroux Presentation Austin Texas
Troux Presentation Austin Texas
 
Why there is no future for Model Driven Development
Why there is no future for Model Driven DevelopmentWhy there is no future for Model Driven Development
Why there is no future for Model Driven Development
 

Último

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 

Último (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 

Integrating Humans in Scientific Workflows

  • 1. Support for Human Users in Scientific Workflows Diploma Thesis Dimitrios Dentsas Institute of Architecture of Application Systems d.dentsas@googlemail.com
  • 2. Contents  Motivation  Properties of Scientific Workflows  Automation boundaries  Roles of WS-HT and BPEL4People  Integration of Humans  Basics  Message Structures & Communication Flows  Outline Solutions  Research Design  SW4H – Scientific Workflows for Humans  Abstract Architecture  Using transactions  Message-based Routing  Demo – Editing a task © Dimitrios Dentsas 2
  • 4. Motivation  Numerical simulations have become the third pillar of science  Analyzing and visualizing data-centric simulation results is a highly repetitive process but nevertheless necessary  Automation and orchestration of work units in scientific simulations are needed  Workflow-Management-Systems (WfMS) are an established tool in the business domain for such challenges  Scientific Workflow Management Systems (SWfMS) © Dimitrios Dentsas 4
  • 5. Motivation – Automation boundaries  Simulation steps cannot be fully automated if:  The requirements for automation are too difficult to meet  The „decision making process“ can only be executed by „cognitive entities“  e.g. Quality assurance of simulation results  Smart allocation of resources  Controlling and manipulating critical parameters  Scenario: Simulation executions over the weekend © Dimitrios Dentsas
  • 6. Motivation – Current needs  There is demand for a smooth integration of human users in SWfMS  Network-based communication channels are hardly ever used  Efficient management of simulation-related tasks  Web service standards like WS-HumanTask and BPEL4People are used in the business domain.  As specifications they are part of the WS-*  They determine how to integrate human users into business processes  The WS-BPEL language has to be extended © Dimitrios Dentsas 6
  • 7. Motivation [2] © Dimitrios Dentsas 7
  • 8. Integration of Humans © Dimitrios Dentsas
  • 9. Basics  Cloud-based integration of applications  Special requirements for integrating human users have to be considered and managed  Human Communication Flows are introduced in order to reach these objectives  In this paradigm all participants hold one of the following roles:  Communication Initiator  Human Communication Manager  Communication Services  Communication Devices © Dimitrios Dentsas
  • 11. Message structure  We distinguish between two types of communication parameters:  Communication Parameters:  Communication type (Notification, Response required/optional)  List of all message receivers  Communication channels (Skype, Chat, etc.)  Further options (response schema, attachments, default responses)  Communication Message Properties:  subject  body  Importance level  etc. © Dimitrios Dentsas 11
  • 12. Message structure  Messages consist of:  Communication Request Message  Communication Message  Channel-Specific Message [3] © Dimitrios Dentsas 12
  • 13. Communication Flows – User Notification [3] © Dimitrios Dentsas 13
  • 14. Communication Flows – Response Required [3] © Dimitrios Dentsas 14
  • 15. Communication Flows – Response Optional [3] © Dimitrios Dentsas 15
  • 16. SW4H - Message structure  Structure of all input and output XML messages of the WSDL operations © Dimitrios Dentsas
  • 17. SW4H - Message structure  Structure of all input and output XML messages of the WSDL operations © Dimitrios Dentsas
  • 18. SW4H - Message structure  Structure of all input and output XML messages of the WSDL operations © Dimitrios Dentsas
  • 19. SW4H - Message structure  Structure of all input and output XML messages of the WSDL operations © Dimitrios Dentsas
  • 20. SW4H - Message structure  Structure of all input and output XML messages of the WSDL operations © Dimitrios Dentsas
  • 21. Outline Solutions © Dimitrios Dentsas
  • 22. Approach – The communication flow  A multitude of different technical realization possibilities. Two very popular ones are: 1. BPEL-Process 2. Message-oriented Middleware (MOM)  EAI through Enterprise Integration Patterns BPEL MOM Pros • uniform modeling • Large open source environment community • Easier integration with process fragments Cons • Tight coupling with • Introduction of new workflows dependencies by using EAI- Frameworks © Dimitrios Dentsas 22
  • 23. Approach – The communication flow  Requirements for EAI-Frameworks:  Fault tolerance  Guaranteed deliveries  Scalability  Support for popular protocols of the ISO/OSI application layer Apache Camel [4] Apache ActiveMQ [5] © Dimitrios Dentsas
  • 24. Approach– Data model  Don‘t reinvent the wheel!  What similar solutions are there for the data model?  Project Bangkok (Uni Stuttgart )   Tempo (Intalio)  Apache HISE (Incubator Project)  Project Bangkok and Apache HISE are open source implementations of the WS-Human Task specification.  Tempo implements BPEL4People (REST APIs). © Dimitrios Dentsas
  • 25. Project Bangkok  An embedded Human Task Manager for Java  APIs for client applications  Support for:  HumanTaskModel vs HumanTaskInstance  People queries (logical people groups, literals)  Task presentation  User management © Dimitrios Dentsas 25
  • 26. SW4H  Scientific-Workflows-for-Humans (SW4H)  Human Communication Manager  What it is based on:  Project Bangkok  Apache Camel (Routing Engine)  Apache ActiveMQ (Embedded Message Broker)  What it offers:  Web-frontend with a task worklist  Easily integratable into the Eclipse platform  A multitude of integrated Messaging Endpoints  Exchangable Back-End systems for persistency (currently MySQL) © Dimitrios Dentsas 26
  • 27. SW4H – Abstract Architecture © Dimitrios Dentsas 27
  • 28. Integration of new services  Using a uniform Service Endpoint Interface (SEI)  Service Integration API © Dimitrios Dentsas 28
  • 29. Human Interaction Activity  Implemented as a process fragment  Asynchronous communication  One <invoke> activity  One <pick> activity  Conditional constructs with a <if> activity  Invoking the Communication Inititation API (sendMessage, onMessage) © Dimitrios Dentsas 29
  • 30. SW4H – Communication Manager © Dimitrios Dentsas 30
  • 31. Task-loop – A command interpreter  The message body of coupled devices is analyzed:  #<command>( [-h] -p1 foo –p2 bar)  forward  resend  useChannel  stop  fail  claim  start  getUsers  help  release  … © Dimitrios Dentsas 31
  • 32. Task-loop – Parsing of XSD documents  XML-Schema for describing tasks is analyzed with a XSD-Parser  A proper subset of the XML-Schema spezification  Simple types :  Explicit and anonymous type definitions  Primitive data types:  string, decimal, integer, boolean, date, time  Restrictions and facets:  enumeration, maxinclusive, mininclusive, maxexclusive, length, maxlength, minl ength, pattern, totaldigits  Complex types:  Explicit and anonymous type definitions  Recursive complex types  Child elements:  sequence, choice, all  Attributes:  maxoccurs, minoccurs, required, optional © Dimitrios Dentsas 32
  • 33. SW4H – Messaging © Dimitrios Dentsas 33
  • 34. Implementation of the Communication Flows  EIP-Diagram – The constituents are: © Dimitrios Dentsas 34
  • 35. Implementation of the Communication Flows  User Notification: The constituents are :  Message: Header and body  Recipient List: Content-based Routing  Persistent Queues  Endpoints: User-Devices © Dimitrios Dentsas 35
  • 36. Transactional behavior  Local transactions of the messaging layer  Cooperation of the Spring JmsTransaction Manager with the JMS Broker (ActiveMQ) [6] © Dimitrios Dentsas 36
  • 37. Transactional behavior  Persistent Queues act as „Safe Havens“  Reaching atomic behavior between queues [7] © Dimitrios Dentsas 37
  • 38. SW4H – Presentation Layer © Dimitrios Dentsas 38
  • 39. SW4H Frontend – Use cases © Dimitrios Dentsas 39
  • 40. SW4H Frontend – Login window © Dimitrios Dentsas 40
  • 41. SW4H Frontend – Task window © Dimitrios Dentsas 41
  • 42. SW4H Frontend – Invitation dialog © Dimitrios Dentsas 42
  • 43. SW4H Frontend – Registration invitation © Dimitrios Dentsas 43
  • 44. SW4H Frontend – My Devices © Dimitrios Dentsas 44
  • 45. SW4H Frontend – My Services © Dimitrios Dentsas 45
  • 46. SW4H Frontend – Registration form © Dimitrios Dentsas 46
  • 47. SW4H Frontend – Eclipse integration © Dimitrios Dentsas 47
  • 48. Editing a task © Dimitrios Dentsas
  • 49. Communication Request Message Communication Parameters XML-Schema of the task static user list © Dimitrios Dentsas 49
  • 50. Demo Run – Contacting the HCM  Using XMPP (Google GTALK) © Dimitrios Dentsas 50
  • 51. Demo Run – Editing © Dimitrios Dentsas  51
  • 52. Demo Run – The resulting response message  The XSD-Parser processes all inputs and produces a valid XML document  Callback – The task is finished successfully and sends a response message back to the workflow © Dimitrios Dentsas 52
  • 53. Thank you for your attention Questions?… http://code.google.com/p/sw4h-2012/ © Dimitrios Dentsas 53
  • 54. List of references (1) M.Sonntag,D.Karastoyanova: (2010) Next Generation Interactive Scientific Experimenting Based On The Workflow Technology. 21st IASTED International Conference on Modelling and Simulation. (2) Schumm, David; Karastoyanova, Dimka: Integrating Humans in Scientific Workflows: Integrate, Register & Communicate. In: The 4th SimTech Status Seminar, 2011 (3) Schumm, David; Fehling, Christoph; Karastoyanova, Dimka; Leymann, Frank; Rütschlin, Jochen: Processes for Human Integration in Automated Cloud Application Management, Universität Stuttgart, Technischer Bericht Nr. 2012/02, 2012. (4) http://camel.apache.org/ (5) http://activemq.apache.org/ (6) Ian J. Taylor, Ewa Deelman, Dennis B. Gannon, and Matthew Shields. 2006. Workflows for E-Science: Scientific Workflows for Grids. Springer- Verlag New York, Inc., Secaucus, NJ, USA. © Dimitrios Dentsas 54
  • 55. End Of Document © Dimitrios Dentsas