Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Discovery and Mediation using Diane Service Descriptions Ulrich Küster and Birgitta König-Ries (also contains work by Michael Klein) University Jena.

Similar presentations


Presentation on theme: "1 Discovery and Mediation using Diane Service Descriptions Ulrich Küster and Birgitta König-Ries (also contains work by Michael Klein) University Jena."— Presentation transcript:

1 1 Discovery and Mediation using Diane Service Descriptions Ulrich Küster and Birgitta König-Ries (also contains work by Michael Klein) University Jena Germany ukuester|koenig@informatik.uni-jena.de

2 2 Third International SWS-Challenge 2006 workshop Athens, GA, USA Agenda  Introduction to DIANE Service Descriptions (DSD)  Solution to Discovery Scenario  Example descriptions (Muller offer, Goal 4a)  Enhancements to the solution since Budva  Matching  Invocation  Solution to Mediation Scenario Version 1  Adaptations performed to switch to Version 2

3 3 Third International SWS-Challenge 2006 workshop Athens, GA, USA What is DIANE and DSD?  Project goal: Complete efficient automation of service discovery, matchmaking and invocation  Assumption: Simple two-phase choreography  n stateless estimation (negotiation) steps  1 execution step  DSD language:  lightweight ontology language (object oriented)  special constructs to describe services  Keep efficient matching in mind

4 4 Third International SWS-Challenge 2006 workshop Athens, GA, USA Service specific elements of DSD (1)  Operational elements  to capture world altering effects  states (instances of state ontology: Owned, Known, Printed, Shipped, Accessible, …)  Aggregational elements  Moon sells more than one item, Muller transports to a variety of countries  Usually describe sets of effects  Normal semantic: One out of a set of effects is requested / created

5 5 Third International SWS-Challenge 2006 workshop Athens, GA, USA Service specific elements of DSD (2)  Selecting elements  to support configuration by the requestor (select one out of the offered effects)  to inform requestor about produced effect  variables (input / output)  Valuing elements  to express preferences of the requestor  fuzzy sets (the higher the membership, the higher the preference)  strategies (specify how to i.e. trade-off price versus shipping time, underspecified offers, …)  unbiased, deterministic, precise matching

6 6 Third International SWS-Challenge 2006 workshop Athens, GA, USA Agenda  Introduction to DIANE Service Descriptions (DSD)  Solution to Discovery Scenario  Example descriptions (Muller offer, Goal 4a)  Enhancements to the solution since Budva  Matching  Invocation  Solution to Mediation Scenario Version 1  Adaptations performed to switch to Version 2

7 7 Third International SWS-Challenge 2006 workshop Athens, GA, USA Excerpt from Muller offer description service instance offered effect(s)

8 8 Third International SWS-Challenge 2006 workshop Athens, GA, USA Improvements since Budva  Enhanced handling of temporal semantics  Special instances like now, today, …  Still unable to perform computations  unable to express constraints on length of pickup interval  Currently no support of time zones

9 9 Third International SWS-Challenge 2006 workshop Athens, GA, USA Excerpt from description of Goal 3b service instance requested effect(s) preferrably 0 but up to 20 accepted

10 10 Third International SWS-Challenge 2006 workshop Athens, GA, USA Added since Budva: Goal 4a  Normal semantic: One effect requested  Changed with Iteration Directive:  New semantic: Best two effects are requested  Will finally result in two invocations of a shipper  Currently work in progress and only partially finished

11 11 Third International SWS-Challenge 2006 workshop Athens, GA, USA Matching  Given fuzzy request r and configurable offer o solve the following problem: a)Compute fuzzy containment value subset Є [0, 1] of o in r (How well is the offer contained in the requested effects?) b)Where possible, configure o such as to maximize subset  Implementation descends through description graphs, fills variables with optimal values, recursively computes subset for each element, combines subset values  DEMO

12 12 Third International SWS-Challenge 2006 workshop Athens, GA, USA Automated Service Invocation  service grounding (part of offer description)  SOAP-grounding specifies  endpoint, SOAP Action header and empty message template  mapping definitions DSD-Elements XML  given configured offer description (DSD-Elements) fill XML message template  invoke service  create results (DSD-Elements) from reply message  if necessary fill xml template to return to requestor (request grounding)

13 13 Third International SWS-Challenge 2006 workshop Athens, GA, USA Excerpt from Racer's grounding soapOperations += anonymous SOAPOperation at upper.grounding [ soapAction = "ShipmentOrder", xmlTemplatePath = "racerInvoke.xml", endpoint = "http://sws-challenge.org/shipper/v2/racer", mappingIN += anonymous XmlDsdMapping at upper.grounding [ variable = $toAddress, dataNodePath = "OrderOperationRequest/to", attributeMappings += anonymous XmlDsdAttributeMapping at upper.grounding [ attributePath = "name", subNodePath = "LastName" ], attributeMappings += anonymous XmlDsdAttributeMapping at upper.grounding [ attributePath = "city/locatedIn", subNodePath = "Country", // name of united kingdom differs from ontology names converterClassName = "diane.converter.RacerCountryConverter", converterMethodName = "convert" ],... ],

14 14 Third International SWS-Challenge 2006 workshop Athens, GA, USA Agenda  Introduction to DIANE Service Descriptions (DSD)  Solution to Discovery Scenario  Example descriptions (Muller offer, Goal 4a)  Enhancements to the solution since Budva  Matching  Invocation  Solution to Mediation Scenario Version 1  Adaptations performed to switch to Version 2

15 15 Third International SWS-Challenge 2006 workshop Athens, GA, USA Mediation Scenario 1 - Architecture

16 16 Third International SWS-Challenge 2006 workshop Athens, GA, USA Excerpt from Moon's offer description

17 17 Third International SWS-Challenge 2006 workshop Athens, GA, USA Switching to Mediation Scenario 2  shipTo on item level / New Production Scheduling  Both solved by adapting Rosetta-DSD Translator and BPEL- Wrapper  DSD-descriptions did not have to change  switching fast and easy (but not very "semantic")

18 18 Third International SWS-Challenge 2006 workshop Athens, GA, USA Remarks about Mediation Scenario  Modelling of services easy  Handwritten BPEL wrapper to expose simple interface (  Process mediation mainly performed manually, not so nice…?)  Rosetta-DSD Translator mainly handwritten (internal ontology differs from RosettaNet modelling – need to mediate)  Quite a bit of effort, approach only advantageous if more partners cooperate  Switching to Mediation Scenario 2 was easy (but not very "semantic")

19 19 Third International SWS-Challenge 2006 workshop Athens, GA, USA Thank you for your attendance! Questions? Ulrich Küster DIANE project (services in ad hoc networks) http://hnsp.inf-bb.uni-jena.de/DIANE/

20 20 Third International SWS-Challenge 2006 workshop Athens, GA, USA


Download ppt "1 Discovery and Mediation using Diane Service Descriptions Ulrich Küster and Birgitta König-Ries (also contains work by Michael Klein) University Jena."

Similar presentations


Ads by Google