SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Analyzing Interacting Services




                                                              Behavioral Constraints for Services
 ! Controllability:   a correctness criterion for a service


        P                R        Composition P!R is
                                  free of deadlocks

 ! Operating   Guideline: characterization of all partners


                 RR
                 RR               OGP characterizes
                                  all partners of P

 ! At BPM 2006: Algorithms, Implementation, and a link
   to BPEL (“Analyzing Interacting BPEL Processes”)
                                                                         2
Motivation for Today




                                                            Behavioral Constraints for Services
 ! Operating   Guideline characterizes all partners


             RR
             RR
                         ! Can be thousands…
                         ! Are all intended?
                         ! Is a certain feature usable?

This Talk:
    Refine controllability + show applications to SOA
    ! Business rules                    Service
                                        Broker
    ! Scenarios                 find              publish

    ! Causalities              Service          Service
                              Requester  bind   Provider
    ! Constraints
                                                                        3
Constraints for Services




                                                     Behavioral Constraints for Services
 Exclude or enforce actions of provider P
 with respect to a requestor R
                       P             t7 must fire

                                    always receive
                                       an order




    t6 must not fire

    never send an
    error message

                                                                4
Constraint Net




                                                                 Behavioral Constraints for Services
 ! Describe    desired behavior as constraint net:

                                 C

       transitions of P




 C = “Firstly, fire either t1 or t2, then fire either t3 or t4.”


                                                                             5
Product of P and C




                                                   Behavioral Constraints for Services
 ! “Synchronize”   P and C via transition labels




                                                             6
Product of P and C




                                                   Behavioral Constraints for Services
 ! “Synchronize”   P and C via transition labels
                 P"C




  final marking
                                                               7
First Results




                                                              Behavioral Constraints for Services
                                         Service
                                         Broker
 Applications to SOA:          find                 publish

 1. Validation of services    Service              Service
 2. Restriction of OGs       Requester    bind     Provider
                                                                         8
Application 1: Service Validation




                                                            Behavioral Constraints for Services
 !   Services are subject to change
                                             Not every
      P1          P2            P3           change is an
                                             improvement


 Goal: make sure the core features are still possible /
   unwanted behaviors are still impossible

 Solution:
 1. Describe feature or “anti-feature” as constraint net
 2. Check if product net is controllable/uncontrollable
                                                                      9
Application 1: Service Validation




                                                            Behavioral Constraints for Services
 !   Services are subject to change
                                             Not every
      P1          P2            P3           change is an
                                             improvement

                    This is not testing!
 Goal: make sure the core features are still possible /
                 Constraints do not need
    unwanted behaviors are a complete
                   describe still impossible
                      conversation!
 Solution:
 1. Describe feature or “anti-feature” as constraint net
 2. Check if product net is controllable/uncontrollable
                                                                10
Application 2: OG Restriction




                                                              Behavioral Constraints for Services
 Broker organizes specialized repository:
                                                          !

                                            !
 ! Mastercard payment only
 ! invoice after delivery
 ! no o!ering of certain products
 ! order can always be withdrawn
 !…


 Solution:
 Add constraint to service, re-calculate and publish OG

 Advantage:
 Many published (restricted) OGs for same service
                                                                     11
Constraints for Services




                                                          Behavioral Constraints for Services
 ! ServiceP itself might not be accessible
 ! Apply constraint to its published OGP

                                       OGP




 ! Only   communicating transitions can be constrained!
                                                               12
Constraint Automaton




                                                           Behavioral Constraints for Services
 ! Describe desired communicational behavior as
   constraint automaton




          C!
                                 ?r     regular customer
                                 ?p     premium customer
                                 !cod   cash on delivery
                                 !cc    credit card




                                                                 13
Product of Operating Guideline and Constraint Automaton




                                                          Behavioral Constraints for Services
 ! “Standard”      product automaton

   ?r     regular customer
   ?p     premium customer                       C!
   !cod   cash on delivery
   !cc    credit card



              OGP




                                                               14
Product of Operating Guideline and Constraint Automaton




                                                               Behavioral Constraints for Services
 ! “Standard”   product automaton



                OGP"C!




                                     ?r     regular customer
                                     ?p     premium customer
                                     !cod   cash on delivery
                                     !cc    credit card

                                                                      15
Further Results




                                                                Behavioral Constraints for Services
                                           Service
                                           Broker
 Applications to SOA:            find                 publish

 3. Selection of services       Service              Service
 4. Construction of services   Requester    bind     Provider
                                                                     16
Service Discovery in a Nutshell




                                                        Behavioral Constraints for Services
 Broker has a repository of Operating Guidelines
 1. Send model of requestor to the broker

                                                P
                                      P             P
                                            P
      R                                   P P
                                       P
                                         P
                                     P      P
 2. Broker matches service R           P
    with OGs in repository               P P
 3. These OGs are from “fitting” providers
                                                              17
Application 3: Service Selection (1)




                                                        Behavioral Constraints for Services
 Goal: Only return services satisfying a constraint
 ! Describe constraint as constraint automaton

                                               C"P
                                                 P
                                        C"P C"P
                                          P         P
      C                                    C"PP
      R                                        C"PP
                                                 PC"P
                                          C"P
                                            P
                                              C"P
                                                P
                                       C"P
                                         P       C"P
                                                   P
                                          C"P
                                            P
 ! Brokercalculates the product              C"P C"P
                                                P P
 ! Matching
                                                             18
Application 3: Service Selection (2)




                                                          Behavioral Constraints for Services
 Goal: Only return services satisfying a constraint
 ! Describe constraint as constraint net
 ! Requester calculates the product
                                                 P
                                        P             P
      C                                      P
      "                                     P P
                                         P
      R                                    P
                                       P      P
                                         P
                                           P P
 ! Matching
                                                               19
Application 4: Service Construction




                                                     Behavioral Constraints for Services
 Goal: Find services fulfilling a constraint
 ! Describe constraint as constraint automaton
 ! Broker calculates the product
                                            C"P
                                              P
 ! Remove empty OGs                   C"P C"P
                                         P      P
                                         C"P
                                           P
     C                                      C"PP
                                              PC"P
                                        C"P
                                         P
                                           C"P
                                             P
                                   C"PP       C"P
                                                P
        I want                         C"P
                                         P
     (to receive)                         C"P C"P
                                             P P
                          These services
        co!ee!
                          provide co!ee.
                                                        20
Take-Home Points




                                                                   Behavioral Constraints for Services
 ! Two   simple constructions, four nice applications

                                 Service
                                 Broker
         Selection     find                 publish Restriction

                      Service              Service
      Construction   Requester    bind     Provider   Validation

 !A   step towards service composition
Open Tasks
 ! Enhance expressiveness of constraints (LTL, CTL, …)
 ! Diagnosis results: Why is constraint unsatisfiable?


             Thank you very much! Any Questions?                        21

Weitere ähnliche Inhalte

Ähnlich wie Behavioral Constraints for Services

Supply Chain Vendor Management Success Storyborad
Supply Chain Vendor Management Success  StoryboradSupply Chain Vendor Management Success  Storyborad
Supply Chain Vendor Management Success Storyboradyuvrajgill
 
Business Value Articulation In Software Projects
Business Value Articulation In Software ProjectsBusiness Value Articulation In Software Projects
Business Value Articulation In Software ProjectsHARMAN Services
 
Bug deBug Chennai 2012 Talk - Business value articulation in software project...
Bug deBug Chennai 2012 Talk - Business value articulation in software project...Bug deBug Chennai 2012 Talk - Business value articulation in software project...
Bug deBug Chennai 2012 Talk - Business value articulation in software project...RIA RUI Society
 
Mejorando la experiencia del usuario desde el kilómetro cero telesemana sep...
Mejorando la experiencia del usuario desde el kilómetro cero   telesemana sep...Mejorando la experiencia del usuario desde el kilómetro cero   telesemana sep...
Mejorando la experiencia del usuario desde el kilómetro cero telesemana sep...Rafael Junquera
 
Push & pull v1.0-c
Push & pull v1.0-cPush & pull v1.0-c
Push & pull v1.0-ckndkim
 
SaaS Metrics That Matter | MuleSoft
SaaS Metrics That Matter | MuleSoftSaaS Metrics That Matter | MuleSoft
SaaS Metrics That Matter | MuleSoftMuleSoft
 
Sustainability And Efficiency V1.0
Sustainability And Efficiency V1.0Sustainability And Efficiency V1.0
Sustainability And Efficiency V1.0John Poppelaars
 
Proceedit 20110308 Companys Short Presentation For Customers
Proceedit 20110308 Companys Short Presentation For CustomersProceedit 20110308 Companys Short Presentation For Customers
Proceedit 20110308 Companys Short Presentation For CustomersJosep Mª Cos i Riera
 
The audacity of quality requirement-non functional testing- Aware in BugDay B...
The audacity of quality requirement-non functional testing- Aware in BugDay B...The audacity of quality requirement-non functional testing- Aware in BugDay B...
The audacity of quality requirement-non functional testing- Aware in BugDay B...Prathan Dansakulcharoenkit
 
Asia ecr p-g china-metro supply chain performance improvement project-7
Asia ecr  p-g china-metro supply chain performance improvement project-7Asia ecr  p-g china-metro supply chain performance improvement project-7
Asia ecr p-g china-metro supply chain performance improvement project-7ECR Community
 
Asia ecr p-g china-metro supply chain performance improvement project-7
Asia ecr  p-g china-metro supply chain performance improvement project-7Asia ecr  p-g china-metro supply chain performance improvement project-7
Asia ecr p-g china-metro supply chain performance improvement project-7ECR Community
 
From a toolkit of recommendation algorithms into a real business: the Gravity...
From a toolkit of recommendation algorithms into a real business: the Gravity...From a toolkit of recommendation algorithms into a real business: the Gravity...
From a toolkit of recommendation algorithms into a real business: the Gravity...Domonkos Tikk
 
A Day In The Life Of A Connected Store
A Day In The Life Of A Connected StoreA Day In The Life Of A Connected Store
A Day In The Life Of A Connected StoreG3 Communications
 
Design Verification: The Past, Present and Futurere
Design Verification: The Past, Present and FuturereDesign Verification: The Past, Present and Futurere
Design Verification: The Past, Present and FuturereDVClub
 
Design verification--the-past-present-and-future
Design verification--the-past-present-and-futureDesign verification--the-past-present-and-future
Design verification--the-past-present-and-futureObsidian Software
 
Icsoc Mehandjiev Lecue Wajid Presentationv2
Icsoc Mehandjiev Lecue Wajid Presentationv2Icsoc Mehandjiev Lecue Wajid Presentationv2
Icsoc Mehandjiev Lecue Wajid Presentationv2Freddy Lecue
 
Consumer-Driven Contract Testing With Postman
Consumer-Driven Contract Testing With PostmanConsumer-Driven Contract Testing With Postman
Consumer-Driven Contract Testing With PostmanPostman
 
Bank of America presentation
Bank of America presentationBank of America presentation
Bank of America presentationSANDESH GHOSAL
 

Ähnlich wie Behavioral Constraints for Services (20)

Slide conferenza GPR15997
Slide conferenza GPR15997Slide conferenza GPR15997
Slide conferenza GPR15997
 
Supply Chain Vendor Management Success Storyborad
Supply Chain Vendor Management Success  StoryboradSupply Chain Vendor Management Success  Storyborad
Supply Chain Vendor Management Success Storyborad
 
Business Value Articulation In Software Projects
Business Value Articulation In Software ProjectsBusiness Value Articulation In Software Projects
Business Value Articulation In Software Projects
 
Bug deBug Chennai 2012 Talk - Business value articulation in software project...
Bug deBug Chennai 2012 Talk - Business value articulation in software project...Bug deBug Chennai 2012 Talk - Business value articulation in software project...
Bug deBug Chennai 2012 Talk - Business value articulation in software project...
 
WIKIOCEAN
WIKIOCEANWIKIOCEAN
WIKIOCEAN
 
Mejorando la experiencia del usuario desde el kilómetro cero telesemana sep...
Mejorando la experiencia del usuario desde el kilómetro cero   telesemana sep...Mejorando la experiencia del usuario desde el kilómetro cero   telesemana sep...
Mejorando la experiencia del usuario desde el kilómetro cero telesemana sep...
 
Push & pull v1.0-c
Push & pull v1.0-cPush & pull v1.0-c
Push & pull v1.0-c
 
SaaS Metrics That Matter | MuleSoft
SaaS Metrics That Matter | MuleSoftSaaS Metrics That Matter | MuleSoft
SaaS Metrics That Matter | MuleSoft
 
Sustainability And Efficiency V1.0
Sustainability And Efficiency V1.0Sustainability And Efficiency V1.0
Sustainability And Efficiency V1.0
 
Proceedit 20110308 Companys Short Presentation For Customers
Proceedit 20110308 Companys Short Presentation For CustomersProceedit 20110308 Companys Short Presentation For Customers
Proceedit 20110308 Companys Short Presentation For Customers
 
The audacity of quality requirement-non functional testing- Aware in BugDay B...
The audacity of quality requirement-non functional testing- Aware in BugDay B...The audacity of quality requirement-non functional testing- Aware in BugDay B...
The audacity of quality requirement-non functional testing- Aware in BugDay B...
 
Asia ecr p-g china-metro supply chain performance improvement project-7
Asia ecr  p-g china-metro supply chain performance improvement project-7Asia ecr  p-g china-metro supply chain performance improvement project-7
Asia ecr p-g china-metro supply chain performance improvement project-7
 
Asia ecr p-g china-metro supply chain performance improvement project-7
Asia ecr  p-g china-metro supply chain performance improvement project-7Asia ecr  p-g china-metro supply chain performance improvement project-7
Asia ecr p-g china-metro supply chain performance improvement project-7
 
From a toolkit of recommendation algorithms into a real business: the Gravity...
From a toolkit of recommendation algorithms into a real business: the Gravity...From a toolkit of recommendation algorithms into a real business: the Gravity...
From a toolkit of recommendation algorithms into a real business: the Gravity...
 
A Day In The Life Of A Connected Store
A Day In The Life Of A Connected StoreA Day In The Life Of A Connected Store
A Day In The Life Of A Connected Store
 
Design Verification: The Past, Present and Futurere
Design Verification: The Past, Present and FuturereDesign Verification: The Past, Present and Futurere
Design Verification: The Past, Present and Futurere
 
Design verification--the-past-present-and-future
Design verification--the-past-present-and-futureDesign verification--the-past-present-and-future
Design verification--the-past-present-and-future
 
Icsoc Mehandjiev Lecue Wajid Presentationv2
Icsoc Mehandjiev Lecue Wajid Presentationv2Icsoc Mehandjiev Lecue Wajid Presentationv2
Icsoc Mehandjiev Lecue Wajid Presentationv2
 
Consumer-Driven Contract Testing With Postman
Consumer-Driven Contract Testing With PostmanConsumer-Driven Contract Testing With Postman
Consumer-Driven Contract Testing With Postman
 
Bank of America presentation
Bank of America presentationBank of America presentation
Bank of America presentation
 

Mehr von Universität Rostock

Pragmatic model checking: from theory to implementations
Pragmatic model checking: from theory to implementationsPragmatic model checking: from theory to implementations
Pragmatic model checking: from theory to implementationsUniversität Rostock
 
Where did I go wrong? Explaining errors in process models
Where did I go wrong? Explaining errors in process modelsWhere did I go wrong? Explaining errors in process models
Where did I go wrong? Explaining errors in process modelsUniversität Rostock
 
Decidability Results for Choreography Realization
Decidability Results for Choreography RealizationDecidability Results for Choreography Realization
Decidability Results for Choreography RealizationUniversität Rostock
 
Artifact-centric modeling using BPMN
Artifact-centric modeling using BPMNArtifact-centric modeling using BPMN
Artifact-centric modeling using BPMNUniversität Rostock
 
Compliance by Design for Artifact-Centric Business Processes
Compliance by Design for Artifact-Centric Business ProcessesCompliance by Design for Artifact-Centric Business Processes
Compliance by Design for Artifact-Centric Business ProcessesUniversität Rostock
 
Verification with LoLA: 7 Implementation
Verification with LoLA: 7 ImplementationVerification with LoLA: 7 Implementation
Verification with LoLA: 7 ImplementationUniversität Rostock
 
Verification with LoLA: 6 Integrating LoLA
Verification with LoLA: 6 Integrating LoLAVerification with LoLA: 6 Integrating LoLA
Verification with LoLA: 6 Integrating LoLAUniversität Rostock
 
Verification with LoLA: 5 Case Studies
Verification with LoLA: 5 Case StudiesVerification with LoLA: 5 Case Studies
Verification with LoLA: 5 Case StudiesUniversität Rostock
 
Verification with LoLA: 4 Using LoLA
Verification with LoLA: 4 Using LoLAVerification with LoLA: 4 Using LoLA
Verification with LoLA: 4 Using LoLAUniversität Rostock
 
Verification with LoLA: 3 State Space Reduction
Verification with LoLA: 3 State Space ReductionVerification with LoLA: 3 State Space Reduction
Verification with LoLA: 3 State Space ReductionUniversität Rostock
 
Verification with LoLA: 2 The LoLA Input Language
Verification with LoLA: 2 The LoLA Input LanguageVerification with LoLA: 2 The LoLA Input Language
Verification with LoLA: 2 The LoLA Input LanguageUniversität Rostock
 
Internal Behavior Reduction for Services
Internal Behavior Reduction for ServicesInternal Behavior Reduction for Services
Internal Behavior Reduction for ServicesUniversität Rostock
 
Karsten Wolf @ Carl Adam Petri Memorial Symposium
Karsten Wolf @ Carl Adam Petri Memorial SymposiumKarsten Wolf @ Carl Adam Petri Memorial Symposium
Karsten Wolf @ Carl Adam Petri Memorial SymposiumUniversität Rostock
 
Implementation of an Interleaving Semantics for TLDA
Implementation of an Interleaving Semantics for TLDAImplementation of an Interleaving Semantics for TLDA
Implementation of an Interleaving Semantics for TLDAUniversität Rostock
 
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...Universität Rostock
 
Demonstration of BPEL2oWFN and Fiona
Demonstration of BPEL2oWFN and FionaDemonstration of BPEL2oWFN and Fiona
Demonstration of BPEL2oWFN and FionaUniversität Rostock
 

Mehr von Universität Rostock (20)

Pragmatic model checking: from theory to implementations
Pragmatic model checking: from theory to implementationsPragmatic model checking: from theory to implementations
Pragmatic model checking: from theory to implementations
 
Where did I go wrong? Explaining errors in process models
Where did I go wrong? Explaining errors in process modelsWhere did I go wrong? Explaining errors in process models
Where did I go wrong? Explaining errors in process models
 
Decidability Results for Choreography Realization
Decidability Results for Choreography RealizationDecidability Results for Choreography Realization
Decidability Results for Choreography Realization
 
Artifact-centric modeling using BPMN
Artifact-centric modeling using BPMNArtifact-centric modeling using BPMN
Artifact-centric modeling using BPMN
 
Compliance by Design for Artifact-Centric Business Processes
Compliance by Design for Artifact-Centric Business ProcessesCompliance by Design for Artifact-Centric Business Processes
Compliance by Design for Artifact-Centric Business Processes
 
Verification with LoLA
Verification with LoLAVerification with LoLA
Verification with LoLA
 
Verification with LoLA: 7 Implementation
Verification with LoLA: 7 ImplementationVerification with LoLA: 7 Implementation
Verification with LoLA: 7 Implementation
 
Verification with LoLA: 6 Integrating LoLA
Verification with LoLA: 6 Integrating LoLAVerification with LoLA: 6 Integrating LoLA
Verification with LoLA: 6 Integrating LoLA
 
Verification with LoLA: 5 Case Studies
Verification with LoLA: 5 Case StudiesVerification with LoLA: 5 Case Studies
Verification with LoLA: 5 Case Studies
 
Verification with LoLA: 4 Using LoLA
Verification with LoLA: 4 Using LoLAVerification with LoLA: 4 Using LoLA
Verification with LoLA: 4 Using LoLA
 
Verification with LoLA: 3 State Space Reduction
Verification with LoLA: 3 State Space ReductionVerification with LoLA: 3 State Space Reduction
Verification with LoLA: 3 State Space Reduction
 
Verification with LoLA: 1 Basics
Verification with LoLA: 1 BasicsVerification with LoLA: 1 Basics
Verification with LoLA: 1 Basics
 
Verification with LoLA: 2 The LoLA Input Language
Verification with LoLA: 2 The LoLA Input LanguageVerification with LoLA: 2 The LoLA Input Language
Verification with LoLA: 2 The LoLA Input Language
 
Saarbruecken
SaarbrueckenSaarbruecken
Saarbruecken
 
Ws4 dsec talk @ Kickoff RS3
Ws4 dsec talk @ Kickoff RS3Ws4 dsec talk @ Kickoff RS3
Ws4 dsec talk @ Kickoff RS3
 
Internal Behavior Reduction for Services
Internal Behavior Reduction for ServicesInternal Behavior Reduction for Services
Internal Behavior Reduction for Services
 
Karsten Wolf @ Carl Adam Petri Memorial Symposium
Karsten Wolf @ Carl Adam Petri Memorial SymposiumKarsten Wolf @ Carl Adam Petri Memorial Symposium
Karsten Wolf @ Carl Adam Petri Memorial Symposium
 
Implementation of an Interleaving Semantics for TLDA
Implementation of an Interleaving Semantics for TLDAImplementation of an Interleaving Semantics for TLDA
Implementation of an Interleaving Semantics for TLDA
 
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
Formale Fundierung und effizientere Implementierung der schrittbasierten TLDA...
 
Demonstration of BPEL2oWFN and Fiona
Demonstration of BPEL2oWFN and FionaDemonstration of BPEL2oWFN and Fiona
Demonstration of BPEL2oWFN and Fiona
 

Behavioral Constraints for Services

  • 1.
  • 2. Analyzing Interacting Services Behavioral Constraints for Services ! Controllability: a correctness criterion for a service P R Composition P!R is free of deadlocks ! Operating Guideline: characterization of all partners RR RR OGP characterizes all partners of P ! At BPM 2006: Algorithms, Implementation, and a link to BPEL (“Analyzing Interacting BPEL Processes”) 2
  • 3. Motivation for Today Behavioral Constraints for Services ! Operating Guideline characterizes all partners RR RR ! Can be thousands… ! Are all intended? ! Is a certain feature usable? This Talk: Refine controllability + show applications to SOA ! Business rules Service Broker ! Scenarios find publish ! Causalities Service Service Requester bind Provider ! Constraints 3
  • 4. Constraints for Services Behavioral Constraints for Services Exclude or enforce actions of provider P with respect to a requestor R P t7 must fire always receive an order t6 must not fire never send an error message 4
  • 5. Constraint Net Behavioral Constraints for Services ! Describe desired behavior as constraint net: C transitions of P C = “Firstly, fire either t1 or t2, then fire either t3 or t4.” 5
  • 6. Product of P and C Behavioral Constraints for Services ! “Synchronize” P and C via transition labels 6
  • 7. Product of P and C Behavioral Constraints for Services ! “Synchronize” P and C via transition labels P"C final marking 7
  • 8. First Results Behavioral Constraints for Services Service Broker Applications to SOA: find publish 1. Validation of services Service Service 2. Restriction of OGs Requester bind Provider 8
  • 9. Application 1: Service Validation Behavioral Constraints for Services ! Services are subject to change Not every P1 P2 P3 change is an improvement Goal: make sure the core features are still possible / unwanted behaviors are still impossible Solution: 1. Describe feature or “anti-feature” as constraint net 2. Check if product net is controllable/uncontrollable 9
  • 10. Application 1: Service Validation Behavioral Constraints for Services ! Services are subject to change Not every P1 P2 P3 change is an improvement This is not testing! Goal: make sure the core features are still possible / Constraints do not need unwanted behaviors are a complete describe still impossible conversation! Solution: 1. Describe feature or “anti-feature” as constraint net 2. Check if product net is controllable/uncontrollable 10
  • 11. Application 2: OG Restriction Behavioral Constraints for Services Broker organizes specialized repository: ! ! ! Mastercard payment only ! invoice after delivery ! no o!ering of certain products ! order can always be withdrawn !… Solution: Add constraint to service, re-calculate and publish OG Advantage: Many published (restricted) OGs for same service 11
  • 12. Constraints for Services Behavioral Constraints for Services ! ServiceP itself might not be accessible ! Apply constraint to its published OGP OGP ! Only communicating transitions can be constrained! 12
  • 13. Constraint Automaton Behavioral Constraints for Services ! Describe desired communicational behavior as constraint automaton C! ?r regular customer ?p premium customer !cod cash on delivery !cc credit card 13
  • 14. Product of Operating Guideline and Constraint Automaton Behavioral Constraints for Services ! “Standard” product automaton ?r regular customer ?p premium customer C! !cod cash on delivery !cc credit card OGP 14
  • 15. Product of Operating Guideline and Constraint Automaton Behavioral Constraints for Services ! “Standard” product automaton OGP"C! ?r regular customer ?p premium customer !cod cash on delivery !cc credit card 15
  • 16. Further Results Behavioral Constraints for Services Service Broker Applications to SOA: find publish 3. Selection of services Service Service 4. Construction of services Requester bind Provider 16
  • 17. Service Discovery in a Nutshell Behavioral Constraints for Services Broker has a repository of Operating Guidelines 1. Send model of requestor to the broker P P P P R P P P P P P 2. Broker matches service R P with OGs in repository P P 3. These OGs are from “fitting” providers 17
  • 18. Application 3: Service Selection (1) Behavioral Constraints for Services Goal: Only return services satisfying a constraint ! Describe constraint as constraint automaton C"P P C"P C"P P P C C"PP R C"PP PC"P C"P P C"P P C"P P C"P P C"P P ! Brokercalculates the product C"P C"P P P ! Matching 18
  • 19. Application 3: Service Selection (2) Behavioral Constraints for Services Goal: Only return services satisfying a constraint ! Describe constraint as constraint net ! Requester calculates the product P P P C P " P P P R P P P P P P ! Matching 19
  • 20. Application 4: Service Construction Behavioral Constraints for Services Goal: Find services fulfilling a constraint ! Describe constraint as constraint automaton ! Broker calculates the product C"P P ! Remove empty OGs C"P C"P P P C"P P C C"PP PC"P C"P P C"P P C"PP C"P P I want C"P P (to receive) C"P C"P P P These services co!ee! provide co!ee. 20
  • 21. Take-Home Points Behavioral Constraints for Services ! Two simple constructions, four nice applications Service Broker Selection find publish Restriction Service Service Construction Requester bind Provider Validation !A step towards service composition Open Tasks ! Enhance expressiveness of constraints (LTL, CTL, …) ! Diagnosis results: Why is constraint unsatisfiable? Thank you very much! Any Questions? 21