failure recovery of composite semantic web services using subgraph replacement

16
Failure Recovery of Composite Semantic Web Services using Subgraph Replacement Hadi Saboohi Amineh Amini Hassan Abolhassani Karaj Islamic Azad University, IRAN

Upload: boyce

Post on 09-Jan-2016

20 views

Category:

Documents


0 download

DESCRIPTION

Failure Recovery of Composite Semantic Web Services using Subgraph Replacement. Hadi Saboohi Amineh Amini Hassan Abolhassani Karaj Islamic Azad University, IRAN. Web Services. A software system designed to support interoperable Machine to Machine interaction over a network Web APIs. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Failure Recovery of Composite Semantic Web Services

using Subgraph Replacement

Hadi Saboohi

Amineh Amini

Hassan Abolhassani

Karaj Islamic Azad University, IRAN

Page 2: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Web Services

15 May 2008ICCCE’082

A software system designed to support interoperable Machine to Machine interaction over a network

Web APIs

Page 3: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Semantic Web

15 May 2008ICCCE’083

Extension of current web Giving well-defined meaning to information Enabling computers and people to work in

cooperation

Page 4: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Semantic Web Services

15 May 2008ICCCE’084

Semantically marked-up software resources that can be published, discovered, composed and executed across the Web in a task driven semi-automatic way

Dynamic part of the semantic web

Page 5: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Semantic Web Services, continued

15 May 2008ICCCE’085

InteroperableSyntax

InteroperableSemantics

DynamicResources

StaticResources

Web Services

WWW

Semantic Web Services

Semantic Web

Page 6: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Service Broker

15 May 2008ICCCE’086

Service Broker

Service Registry

Concepts Registry

Ontology Cache

Composed ServicesCache

Registry Manager

Ontology Manager

ComposerAdapterMatchmaker

ExecutorKernel

Ref. 4

Page 7: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Modeling Composite Semantic Web Services

15 May 2008ICCCE’087

Directed Acyclic Graph Nodes: Web Services Edges: Services inputs and outputs

1)()( GEGV

I, PA Si B

O, E

OA, EA

ISi, PSi

OSi, ESi

IB, PB

Page 8: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Execution problem of a composite semantic web service

15 May 2008ICCCE’088

Execution of whole process depends on well-execution of all sub-processes

In execution failure of any constitutive web service, failure recovery is a better solution

Our approach Replace a sequence of web services containing

failed service in case a “same skilled” one is not exists

Page 9: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Replacement Strategy

15 May 2008ICCCE’089

Responsible for: Finding best substitution alternative Managing differences between old and new

service(s)

Page 10: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Replacement Steps

15 May 2008ICCCE’0810

1. Finding all possible alternatives a. Subgraph calculationb. Alternative search

2. Ranking alternatives3. Replacement

Page 11: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

1. a. Subgraph calculation

15 May 2008ICCCE’0811

A S B

A S B

A S

A

S B

S

B

Composite Graph

All possible subgraphs

Page 12: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

1. b. Alternative search

15 May 2008ICCCE’0812

Search for compatible replacement alternatives

Compatibility Functional attributes (Inputs, Outputs, Effects and

Preconditions) Non-functional

Response time Availability Reliabiity Cost …

Page 13: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

2. Ranking alternatives

15 May 2008ICCCE’0813

Each constitutive web service may exist in more than one subgraph For example: S is in four subsets of subgraphs

({S}, {A,S}, {S,B}, {A,S,B}) Each subgraph may have several alternatives

esδDifferencNewβNewβ

UndoαUndoαRank

Cost2Length1

Cost2Count1

Page 14: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

3. Replacement

15 May 2008ICCCE’0814

First: re-execution attempts Second: Replacing best ranked subgraph

Compensation of well-executed web services in old subgraph

Page 15: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Replacement Patterns

15 May 2008ICCCE’0815

Managing differences between old and new subgraphs

New subgraph may have additional IOPE(s) than old one and vice versa Prepare required inputs and preconditions Mark the composite as non-optimized and inspect

to execute without additional outputs and effects

Page 16: Failure Recovery of  Composite Semantic Web Services  using Subgraph Replacement

Conclusion and Future Works

15 May 2008ICCCE’0816

Alleviate failure of software systems (CSWS) Replacing a sequence of web services Using forward and backward mechanisms Heuristic algorithms to decrease number of

subgraphs Extend for all composition graphs