14
a 1 14← department of mathematics and computer science PROSE 05- 0-06 Checking Properties of Adaptive Workflow Nets K. van Hee, I. Lomazova, O. Oanea, A. Serebrenik, N. Sidorova, M. Voorhoeve Program Systems Institute of the Russsian Academy of Science

Checking Properties of Adaptive Workflow Nets

  • Upload
    zulema

  • View
    34

  • Download
    0

Embed Size (px)

DESCRIPTION

Checking Properties of Adaptive Workflow Nets. K. van Hee, I. Lomazova, O. Oanea, A. Serebrenik, N. Sidorova, M. Voorhoeve. Program Systems Institute of the Russsian Academy of Science. Overview. Workflow (WF) nets and proper termination. - PowerPoint PPT Presentation

Citation preview

Page 1: Checking Properties of Adaptive Workflow Nets

a114← department of mathematics and computer science

PROSE 05-10-06

Checking Properties of Adaptive Workflow

NetsK. van Hee, I. Lomazova, O. Oanea,

A. Serebrenik, N. Sidorova,M. Voorhoeve

Program Systems Institute of the Russsian Academy of Science

Page 2: Checking Properties of Adaptive Workflow Nets

a214← department of mathematics and computer science

PROSE 05-10-06

Overview

Workflow (WF) nets and proper termination.

Problems with fixed structure of netsespecially exception modelling.

EWF nets: WF nets with exception transitions.

AWF (adaptive WF) nets: nesting.

Verification of AWF nets.

Page 4: Checking Properties of Adaptive Workflow Nets

a414← department of mathematics and computer science

PROSE 05-10-06

Problem: modelling exceptionsTypical sound WF net with parallelism(normal flow):

i

f

In one thread an exception may occur.

The other thread should be interrupted.Soundness should be preserved.

superfluousfiring needed

Model becomes unfeasible.

Page 5: Checking Properties of Adaptive Workflow Nets

a514← department of mathematics and computer science

PROSE 05-10-06

Reset arcs

i

f

Reset arc empties all places in region.Improves modeling, makes analysis worse.No specific reaction to exceptions.

Problem with adaptivity in general,due to fixed structure!

Page 6: Checking Properties of Adaptive Workflow Nets

a614← department of mathematics and computer science

PROSE 05-10-06

EWF nets

i

f

Labelled exception (sink) transitions;upon firing an exception, the net is terminated.

EWF net is sound iff

nTeT e

][:][:* fMMiTn

Page 7: Checking Properties of Adaptive Workflow Nets

a714← department of mathematics and computer science

PROSE 05-10-06

AWF nets: definition

e

Adaptive WF (AWF) net:coloured EWF net.Arcs and transitions arelabeled with expressions

n : an EWF net

n final(v)init(n) v

v

e(v)

b

bb

b

b

Page 8: Checking Properties of Adaptive Workflow Nets

a814← department of mathematics and computer science

PROSE 05-10-06

AWF nets: allowed expressions

Out-arc expr’s built from: std nets, variables, operators e.g.: . (seq. composition), + (choice), || (parallel composition)

init(n||m).k

In-arc expressions:-b: black,-v (variable): net

We presuppose a set of “standard”sound EWF nets (domain dependent).

v

Transition expressions(guards):- none,- e(v) (e exceptionlabel),- final(v), final(v)

Page 9: Checking Properties of Adaptive Workflow Nets

a914← department of mathematics and computer science

PROSE 05-10-06

AWF net firing rules

AWF net and token net can fire independently

e

m

n

init(n+m) v final(v)

v

e(v)

b

bb

b

b

init

e(v)

v

+

t

Transitions in the AWF net can fire,producing black or net tokens.

init +m

marked net tokens

or synchronized on exception label

e

e

or upon token net having reached the final state.

final

Page 10: Checking Properties of Adaptive Workflow Nets

a1014← department of mathematics and computer science

PROSE 05-10-06

Adaptivity

Modeling hospital admission; standard cure n.Monitor; if needed extend current cure with m.

e(w)

init(n)

init(c)

v v.m

w init(c)

v

w

final(v)final(w)

ec:

e: extension needed.

Page 11: Checking Properties of Adaptive Workflow Nets

a1114← department of mathematics and computer science

PROSE 05-10-06

Circumspectness

AWF net:final(v)

init(n) v

bb

b

b

b b

e

n:

Sound, butcan not reactto exception e intoken net n.(not circumspect)

AWF net N is circumspect:every exception e of token netcan synchronize in any state of N.

Page 12: Checking Properties of Adaptive Workflow Nets

a1214← department of mathematics and computer science

PROSE 05-10-06

Circumspect AWF net

Net can synchronize with e before and after firing of t.

init(n+m) v final(v)

v

e(v)

b

bb

b

b

e

init

e(v)

v

m

n

+

t

Page 13: Checking Properties of Adaptive Workflow Nets

a1314← department of mathematics and computer science

PROSE 05-10-06

Verification of AWF nets

Colour sets of AWF nets are infinite,so no direct model checking possible.

v. m

v

Abstract interpretation :map token colours tosets of exception labels.

Theorem: AWF net N sound iff all statesreachable in (N) by nonexceptional firings canterminate without synchronising on exceptions.

The set of library net exception labels is finite!

Similar result for circumspectness.

Page 14: Checking Properties of Adaptive Workflow Nets

a1414← department of mathematics and computer science

PROSE 05-10-06

Conclusions

EWF nets: WF nets with exceptions.AWF nets: EWF nets with nesting (e.g. reaction to exceptions).Proper termination and circumspectness of AWF nets can be checked.

Extensions:Synchronisation without termination.Checking other temporal properties.

Thank you for your attention!

department of mathematics and computer science