52
SERVICE DISCOVERY USING COMMUNICATION FINGERPRINTS Karsten Wolf Olivia Oanea Jan Sürmeli

Service discovery with communication fingerprints

Embed Size (px)

Citation preview

Page 1: Service discovery with communication fingerprints

SERVICE DISCOVERY USING COMMUNICATION FINGERPRINTS

Karsten WolfOlivia Oanea

Jan Sürmeli

Page 2: Service discovery with communication fingerprints

2SERVICE DISCOVERY

R

GIVEN: REQUESTER SERVICE R

SERVICE MODEL

TASK: FIND COMPATIBLE SERVICE P

Page 3: Service discovery with communication fingerprints

3SERVICE DISCOVERY

PICK

P

R

GIVEN: REQUESTER SERVICE R

REPOSITORY

TASK: FIND COMPATIBLE SERVICE P

Page 4: Service discovery with communication fingerprints

4SERVICE DISCOVERY

PICK

P

P+RVERIFY

R

GIVEN: REQUESTER SERVICE R

TASK: FIND COMPATIBLE SERVICE P

Page 5: Service discovery with communication fingerprints

5SERVICE DISCOVERY

PICK

P

P+RVERIFY

R

GIVEN: REQUESTER SERVICE R

WEAK TERMINATION

TASK: FIND COMPATIBLE SERVICE P

Page 6: Service discovery with communication fingerprints

6SERVICE DISCOVERY

PICK

P

P+RVERIFY

R

GIVEN: REQUESTER SERVICE R

TASK: FIND COMPATIBLE SERVICE P

Page 7: Service discovery with communication fingerprints

7LOSSLESS PRESELECTION

TO VERIFY

INITIAL SITUATION: MANY SERVICES TO VERIFY   

Page 8: Service discovery with communication fingerprints

8LOSSLESS PRESELECTION

TO VERIFY

INITIAL SITUATION: MANY SERVICES TO VERIFYIDEA: PRESELECT A SUBSET TO VERIFY 

Page 9: Service discovery with communication fingerprints

9LOSSLESS PRESELECTION

TO VERIFY

INITIAL SITUATION: MANY SERVICES TO VERIFYIDEA: PRESELECT A SUBSET TO VERIFYREQUIREMENT: NO LOSS OF COMPATIBLE SERVICES

Page 10: Service discovery with communication fingerprints

10SERVICE DISCOVERY

PICK

P

P+RVERIFY

R

 

 

 

 

with communication

fingerprints

Page 11: Service discovery with communication fingerprints

11SERVICE DISCOVERY

PICK

P +P

P+RVERIFY

R

 

 

 

 

with communication

fingerprints

communicationfingerprint

Page 12: Service discovery with communication fingerprints

12SERVICE DISCOVERY

PICK

P

RR

+P

P+RVERIFY

R

 

 

 

 

with communication

fingerprints

Page 13: Service discovery with communication fingerprints

13SERVICE DISCOVERY

PICK

P

RR

+P

P+RVERIFYMATCH

PR

R

 

 

 

 

with communication

fingerprints

Page 14: Service discovery with communication fingerprints

14SERVICE DISCOVERY

PICK

P

RR

+P

P+RVERIFYMATCH

PR

R

 

 

 

 

with communication

fingerprints

✗✗?

Page 15: Service discovery with communication fingerprints

15SERVICE DISCOVERY

PICK

P

RR

+P

P+RVERIFYMATCH

PR

R

 

 

 

 

with communication

fingerprints

✗✗?

Page 16: Service discovery with communication fingerprints

16SERVICE DISCOVERY

PICK

P

RR

+P

P+RVERIFYMATCH

PR

R

COMMUNICATION FINGERPRINTS

 

 

 

with communication

fingerprints

✗✗?

1

Page 17: Service discovery with communication fingerprints

17SERVICE DISCOVERY

PICK

P

RR

+P

P+RVERIFYMATCH

PR

R

COMMUNICATION FINGERPRINTS

MATCHING

 

 

with communication

fingerprints

✗✗?2

Page 18: Service discovery with communication fingerprints

18SERVICE DISCOVERY

PICK

P

RR

+P

P+RVERIFYMATCH

PR

R

COMMUNICATION FINGERPRINTS

MATCHING

COMPUTATION

 

with communication

fingerprints

✗✗?

3

Page 19: Service discovery with communication fingerprints

19SERVICE DISCOVERY

PICK

P

RR

+P

P+RVERIFYMATCH

PR

R

COMMUNICATION FINGERPRINTS

MATCHING

COMPUTATION

CASE STUDY

with communication

fingerprints

✗✗?

4

Page 20: Service discovery with communication fingerprints

20COMMUNICATION FINGERPRINTS

P PABSTRACTION

1

Page 21: Service discovery with communication fingerprints

21COMMUNICATION FINGERPRINTS

A

B

DC

FEEDBACK

REJECTACCEPT

DOCUMENT

1

Page 22: Service discovery with communication fingerprints

22COMMUNICATION FINGERPRINTS

A

B

DC

FEEDBACK

REJECTACCEPT

DOCUMENT

ABSTRACTION STEPS:

1

Page 23: Service discovery with communication fingerprints

23

ACADABACABADABABACABABADABABABACABABABADABABABABACABABABABAD…

COMMUNICATION FINGERPRINTS

A

B

DC

FEEDBACK

REJECTACCEPT

DOCUMENT

1 TERMINATING BEHAVIORABSTRACTION STEPS:

1

Page 24: Service discovery with communication fingerprints

24

?DOCUMENT !REJECT?DOCUMENT !ACCEPT?DOCUMENT !FEEDBACK ?DOCUMENT !REJECT?DOCUMENT !FEEDBACK ?DOCUMENT !ACCEPT…

COMMUNICATION FINGERPRINTS

A

B

DC

FEEDBACK

REJECTACCEPT

DOCUMENT

1 TERMINATING BEHAVIOR2 INTERACTION BEHAVIOR

ABSTRACTION STEPS:

1

Page 25: Service discovery with communication fingerprints

25

DOCUMENT = 1, REJECT = 1DOCUMENT = 1, ACCEPT = 1DOCUMENT = 2, FEEDBACK = 1, REJECT = 1DOCUMENT = 3, FEEDBACK = 2, REJECT = 1…

COMMUNICATION FINGERPRINTS

A

B

DC

FEEDBACK

REJECTACCEPT

DOCUMENT

1 TERMINATING BEHAVIOR2 INTERACTION BEHAVIOR

3 COUNTING VECTORSABSTRACTION STEPS:

1

Page 26: Service discovery with communication fingerprints

26

(REJECT = 1) (ACCEPT = 1) ∨∧

(DOCUMENT – FEEDBACK = 1)

COMMUNICATION FINGERPRINTS

A

B

DC

FEEDBACK

REJECTACCEPT

DOCUMENT

1 TERMINATING BEHAVIOR2 INTERACTION BEHAVIOR

3 COUNTING VECTORS4 BOOLEAN FORMULA

ABSTRACTION STEPS:

1

Page 27: Service discovery with communication fingerprints

27FINGERPRINT MATCHING

SEMI-DECIDE COMPATIBILITY

PP

ABSTRACTION

RR

ABSTRACTION

MATCHING ✗?

2

Page 28: Service discovery with communication fingerprints

28FINGERPRINT MATCHING

P

R

2

Page 29: Service discovery with communication fingerprints

29FINGERPRINT MATCHING

P

R

2

(REJECT = 1) (ACCEPT = 1) ∨∧

(DOCUMENT – FEEDBACK = 1)

Page 30: Service discovery with communication fingerprints

30FINGERPRINT MATCHING

P

R

2

(REJECT + ACCEPT = 1) ∧

(DOCUMENT – FEEDBACK = 0)

(REJECT = 1) (ACCEPT = 1) ∨∧

(DOCUMENT – FEEDBACK = 1)

Page 31: Service discovery with communication fingerprints

31FINGERPRINT MATCHING

COMPOSITEFINGERPRINT

P

R

2

Page 32: Service discovery with communication fingerprints

32FINGERPRINT MATCHING

COMPOSITEFINGERPRINT

P

R

2

(REJECT = 1) (ACCEPT = 1) ∨∧

(DOCUMENT – FEEDBACK = 1)

∧(REJECT + ACCEPT = 1)

∧(DOCUMENT – FEEDBACK = 0)

Page 33: Service discovery with communication fingerprints

33FINGERPRINT MATCHING

SYSTEMS OF LIN. INEQUALITIES

COMPOSITEFINGERPRINT

P

R

DECODER

2

Page 34: Service discovery with communication fingerprints

34FINGERPRINT MATCHING

SYSTEMS OF LIN. INEQUALITIES

COMPOSITEFINGERPRINT

P

R

DECODER

2

REJECT = 1DOCUMENT – FEEDBACK = 1

REJECT + ACCEPT = 1DOCUMENT – FEEDBACK = 0

ACCEPT = 1DOCUMENT – FEEDBACK = 1

REJECT + ACCEPT = 1DOCUMENT – FEEDBACK = 0

Page 35: Service discovery with communication fingerprints

35

FINGERPRINT MATCHING

SYSTEMS OF LIN. INEQUALITIES

COMPOSITEFINGERPRINT

FEASABILITY CHECKER

P

R

DECODER

?

2

Page 36: Service discovery with communication fingerprints

36

FINGERPRINT MATCHING

SYSTEMS OF LIN. INEQUALITIES

COMPOSITEFINGERPRINT

FEASABILITY CHECKER

P

R

DECODER

?

2

REJECT = 1DOCUMENT – FEEDBACK = 1

REJECT + ACCEPT = 1DOCUMENT – FEEDBACK = 0

ACCEPT = 1DOCUMENT – FEEDBACK = 1

REJECT + ACCEPT = 1DOCUMENT – FEEDBACK = 0

Page 37: Service discovery with communication fingerprints

37

FINGERPRINT MATCHING

SYSTEMS OF LIN. INEQUALITIES

COMPOSITEFINGERPRINT

FEASABILITY CHECKER

P

R

DECODER

?

2

Page 38: Service discovery with communication fingerprints

38

YASMINA

FINGERPRINT MATCHING

SYSTEMS OF LIN. INEQUALITIES

COMPOSITEFINGERPRINT

FEASABILITY CHECKER

P

R

DECODER

?

SERVICE-TECHNOLOGY.ORG/TOOLS2

Page 39: Service discovery with communication fingerprints

39

Linda

FINGERPRINT COMPUTATION (SKETCH)

PP

PETRI NET STRUCTURE THEORY

(INTEGER) LINEARPROGRAMMING

3SERVICE-TECHNOLOGY.ORG/TOOLS

Page 40: Service discovery with communication fingerprints

40CASE STUDY

HOW WE CAME UP WITH SERVICES:

 

INDUSTRIAL BP MODELS

4

Page 41: Service discovery with communication fingerprints

41CASE STUDY

HOW WE CAME UP WITH SERVICES:

 

COMPILE

INDUSTRIAL BP MODELS

PETRI NET MODELS

4

Page 42: Service discovery with communication fingerprints

42CASE STUDY

HOW WE CAME UP WITH SERVICES:

 

COMPILE

INDUSTRIAL BP MODELS

PETRI NET MODELS

DECOMPOSE

OPEN NET MODELS

4

Page 43: Service discovery with communication fingerprints

43CASE STUDY

HOW WE CAME UP WITH SERVICES:

CASES: (FEASIBLE) COMPOSITES OF SERVICES

COMPILE

INDUSTRIAL BP MODELS

PETRI NET MODELS

DECOMPOSE

OPEN NET MODELS

4

Page 44: Service discovery with communication fingerprints

44CASE STUDY

1ST RUN: STATE SPACE VERIFICATION ONLY

2ND RUN: APPLYING COMMUNICATION FINGERPRINTS

LIB CASES COMPATIBLEA 2412 252 (10%)

B1 2066 20 (1%)B2 592 25 (4%)B3 3460 210 (6%)

Σ 8530 507 (6%)

1ST 2ND SAVED> 48h ≈ 28h > 41.7%

18m3s 6m38s 63.2%30m43s 28s 98.5%

> 36 h ≈ 2h > 94.5%> 84h ≈ 30h > 64%

FP COMP.169s177s

53s666s

1065s

4

Page 45: Service discovery with communication fingerprints

45CASE STUDY

1ST RUN: STATE SPACE VERIFICATION ONLY

2ND RUN: APPLYING COMMUNICATION FINGERPRINTS

LIB CASES COMPATIBLEA 2412 252 (10%)

B1 2066 20 (1%)B2 592 25 (4%)B3 3460 210 (6%)

Σ 8530 507 (6%)

1ST 2ND SAVED> 48h ≈ 28h > 41.7%

18m3s 6m38s 63.2%30m43s 28s 98.5%

> 36 h ≈ 2h > 94.5%> 84h ≈ 30h > 64%

FP COMP.169s177s

53s666s

1065s

4

Page 46: Service discovery with communication fingerprints

46CASE STUDY

1ST RUN: STATE SPACE VERIFICATION ONLY

2ND RUN: APPLYING COMMUNICATION FINGERPRINTS

LIB CASES COMPATIBLEA 2412 252 (10%)

B1 2066 20 (1%)B2 592 25 (4%)B3 3460 210 (6%)

Σ 8530 507 (6%)

1ST 2ND SAVED> 48h ≈ 28h > 41.7%

18m3s 6m38s 63.2%30m43s 28s 98.5%

> 36 h ≈ 2h > 94.5%> 84h ≈ 30h > 64%

FP COMP.169s177s

53s666s

1065s

4

Page 47: Service discovery with communication fingerprints

47CASE STUDY

INCOMPATIBILITY DETECTION IN THE 2ND RUN

55%45%

fingerprint matchingstate space analysis

4

Page 48: Service discovery with communication fingerprints

48CONCLUSION

FINGERPRINT MATCHING SEMI-DECIDES COMPATIBILITY

➟ LOSSLESS PARTNER PRESELECTION

     

     

Page 49: Service discovery with communication fingerprints

49CONCLUSION

FINGERPRINT MATCHING SEMI-DECIDES COMPATIBILITY

➟ LOSSLESS PARTNER PRESELECTION

     

FINGERPRINT COMPUTATIONONCE PER SERVICE

➟ MINIMAL OVERHEAD

Page 50: Service discovery with communication fingerprints

50CONCLUSION

FINGERPRINT MATCHING SEMI-DECIDES COMPATIBILITY

➟ LOSSLESS PARTNER PRESELECTION

CASE STUDYTIME REDUCTION 40 – 98%

➟ SIGNIFICANT SPEED GAIN

FINGERPRINT COMPUTATIONONCE PER SERVICE

➟ MINIMAL OVERHEAD

Page 51: Service discovery with communication fingerprints

51CONCLUSION

FINGERPRINT MATCHING SEMI-DECIDES COMPATIBILITY

➟ LOSSLESS PARTNER PRESELECTION

CASE STUDYTIME REDUCTION 40 – 98%

➟ SIGNIFICANT SPEED GAIN

FINGERPRINT COMPUTATIONONCE PER SERVICE

➟ MINIMAL OVERHEAD

TOOL SUPPORTSERVICE-TECHNOLOGY.ORG/TOOLSSERVICE-TECHNOLOGY.ORG/LIVE

Page 52: Service discovery with communication fingerprints

52CONCLUSION

FINGERPRINT MATCHING SEMI-DECIDES COMPATIBILITY

➟ LOSSLESS PARTNER PRESELECTION

Thank you!

CASE STUDYTIME REDUCTION 40 – 98%

➟ SIGNIFICANT SPEED GAIN

FINGERPRINT COMPUTATIONONCE PER SERVICE

➟ MINIMAL OVERHEAD

TOOL SUPPORTSERVICE-TECHNOLOGY.ORG/TOOLSSERVICE-TECHNOLOGY.ORG/LIVE