compositional design and verification of componen t- based information systems

18
C. Compositional Design and Verification of Component-Based Information Systems Jan Martijn van der Werf

Upload: mab

Post on 25-Feb-2016

47 views

Category:

Documents


1 download

DESCRIPTION

C. Compositional Design and Verification of Componen t- Based Information Systems. Jan Martijn van der Werf. Organizations cooperate. Bob. Charley. “Who-knows-who” not transitive!. Alice. Dave. Organizations deliver services. Bob. Charley. Alice. Dave. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Compositional Design and Verification of Componen t- Based  Information Systems

C.

Compositional Design and Verification ofComponent-Based Information Systems

Jan Martijn van der Werf

Page 2: Compositional Design and Verification of Componen t- Based  Information Systems

Organizations cooperate

BobCharley

Alice

“Who-knows-who” not transitive!

Dave

Page 3: Compositional Design and Verification of Componen t- Based  Information Systems

Organizations deliver services

BobCharley

Alice

Dave

Page 4: Compositional Design and Verification of Componen t- Based  Information Systems

Component-based information system

Process

Data

Process

Data

Process

Data

Process

Data

ProcessData

ProcessData

Page 5: Compositional Design and Verification of Componen t- Based  Information Systems

Verification vs. design

• Verification:• Go and do what you want,

check when finished

• Correctness by design:• Follow my rules,

and it is correct

vs.

Page 6: Compositional Design and Verification of Componen t- Based  Information Systems

Compositional verification of soundness

• Components form a service tree• Components only know their direct neighbors

B

C

E

D

= soundness of component

= condition on communicating pair of components

A

F

Page 7: Compositional Design and Verification of Componen t- Based  Information Systems

Compositional verification of soundness

Page 8: Compositional Design and Verification of Componen t- Based  Information Systems

Compositional verification of soundness

Soundness not sufficient for pairwise verific

ation!

Page 9: Compositional Design and Verification of Componen t- Based  Information Systems

Compositional design: refinement rules!

• Stepwise refinement• Each step preserves soundness• Refinement rules:

• Within component• Outsourcing• Over components

Page 10: Compositional Design and Verification of Componen t- Based  Information Systems

Process + Data = Prototype

+ +

Page 11: Compositional Design and Verification of Componen t- Based  Information Systems

Compositional design and verification of Component-based information systems

• Framework for component-based information systems• Compositional verification of interaction• Compositional design of interaction

• Petri nets extended with data• Message passing• Data transactions

• Process + data prototype• Re-engineering by process mining

Page 12: Compositional Design and Verification of Componen t- Based  Information Systems

C

Compositional Design and Verification ofComponent-Based Information Systems

Jan Martijn van der Werf

Page 13: Compositional Design and Verification of Componen t- Based  Information Systems

• Soundness: always possible to finish properly(disregarding interfaces)

Components and their composition

a

b

c

d

e

a

b

c

d

e

H

IG G

Page 14: Compositional Design and Verification of Componen t- Based  Information Systems

Correctness by design

• Refinement within a component

Page 15: Compositional Design and Verification of Componen t- Based  Information Systems

Correctness by design

• Refinement over components

)=( p q

A

B

Gp

q

CD

H

iC

fC

iD

fDx

v u

t

w

y

z

w

v

t

u

x

y

z

Page 16: Compositional Design and Verification of Componen t- Based  Information Systems

Correctness by design

• Outsource refinement

Page 17: Compositional Design and Verification of Componen t- Based  Information Systems

Sufficient conditions for

Page 18: Compositional Design and Verification of Componen t- Based  Information Systems

Sufficient conditions for soundness

B B+C B B+C B B+C

• Identical communication:• B+C behaves like B on interface with A

• Alternating communication block:• B+C has same communication blocks as B

• Elastic communication:• B+C may send earlier and receive later than B