48
Lero© 2011 Opportunistic composition of sequentially-connected services in mobile computing environments Christin Groba and Siobhán Clarke – Trinity College Dublin IEEE International Conference of Web Services Washington D.C., 5th July 2011

Opportunistic composition of sequentially-connected services in mobile computing environments

Embed Size (px)

DESCRIPTION

Presentation at the International Conference for Web Services 2011. Presented with Best Student Paper Award. Imagine using mobile device capabilities and participatory sensing to create new value-added services from existing device services

Citation preview

Page 1: Opportunistic composition of sequentially-connected services in mobile computing environments

Lero© 2011

Opportunistic composition of sequentially-connected services in mobile computing environments

Christin Groba and Siobhán Clarke – Trinity College Dublin

IEEE International Conference of Web ServicesWashington D.C., 5th July 2011

Page 2: Opportunistic composition of sequentially-connected services in mobile computing environments

22Lero© 2011

Mobile environments are the new frontier for service providers

Page 3: Opportunistic composition of sequentially-connected services in mobile computing environments

33Lero© 2011

Getting to the airport

Page 4: Opportunistic composition of sequentially-connected services in mobile computing environments

44Lero© 2011

Fastest route

Page 5: Opportunistic composition of sequentially-connected services in mobile computing environments

55Lero© 2011

Disruption

Page 6: Opportunistic composition of sequentially-connected services in mobile computing environments

66Lero© 2011

What is the fastest alternative ?

Page 7: Opportunistic composition of sequentially-connected services in mobile computing environments

77Lero© 2011

What is the fastest alternative ?

Walk 3 minBus in 6 min

Walk 5 min

RealityWalk 5 min

Browsing the Web

Page 8: Opportunistic composition of sequentially-connected services in mobile computing environments

88Lero© 2011

How to obtain real-time data?

Utilise mobile device capabilities & participatory sensing

GPS Accel Navi Camera

Page 9: Opportunistic composition of sequentially-connected services in mobile computing environments

99Lero© 2011

Real-time data as decision support

Real-time dataWalk 5 min

Real-time dataWalk 5 min

Page 10: Opportunistic composition of sequentially-connected services in mobile computing environments

1010Lero© 2011

Mobility and resource scarcity make service composition challenging

Page 11: Opportunistic composition of sequentially-connected services in mobile computing environments

1111Lero© 2011

Challenge: Dynamic setting

No central controlHigh failure probability

Page 12: Opportunistic composition of sequentially-connected services in mobile computing environments

1212Lero© 2011

Challenge: Energy scarcity

Wireless communication drains battery

Page 13: Opportunistic composition of sequentially-connected services in mobile computing environments

1313Lero© 2011

Emergence of dynamic ad hoc environments has led to decentralised composition algorithms

Page 14: Opportunistic composition of sequentially-connected services in mobile computing environments

1414Lero© 2011

Decentralised composition

Binding

Page 15: Opportunistic composition of sequentially-connected services in mobile computing environments

1515Lero© 2011

Decentralised composition

Binding

Page 16: Opportunistic composition of sequentially-connected services in mobile computing environments

1616Lero© 2011

Decentralised composition

Binding

Page 17: Opportunistic composition of sequentially-connected services in mobile computing environments

1717Lero© 2011

Decentralised composition

Binding

Page 18: Opportunistic composition of sequentially-connected services in mobile computing environments

1818Lero© 2011

Decentralised composition

Binding

Page 19: Opportunistic composition of sequentially-connected services in mobile computing environments

1919Lero© 2011

Decentralised composition

Binding

Page 20: Opportunistic composition of sequentially-connected services in mobile computing environments

2020Lero© 2011

Decentralised composition

Binding

Once all service are bound, execution can start

Page 21: Opportunistic composition of sequentially-connected services in mobile computing environments

2121Lero© 2011

Decentralised composition

BindingExecution

Once all service are bound, execution can start

Page 22: Opportunistic composition of sequentially-connected services in mobile computing environments

2222Lero© 2011

Decentralised composition

BindingExecution

Once all service are bound, execution can start

Page 23: Opportunistic composition of sequentially-connected services in mobile computing environments

2323Lero© 2011

Decentralised composition

BindingExecution

Once all service are bound, execution can start

Page 24: Opportunistic composition of sequentially-connected services in mobile computing environments

2424Lero© 2011

Decentralised composition

BindingExecution

Once all service are bound, execution can start

Page 25: Opportunistic composition of sequentially-connected services in mobile computing environments

2525Lero© 2011

Decentralised composition

BindingExecution

Once all service are bound, execution can start

Page 26: Opportunistic composition of sequentially-connected services in mobile computing environments

2626Lero© 2011

Decentralised composition

BindingExecution

Once all service are bound, execution can start

Page 27: Opportunistic composition of sequentially-connected services in mobile computing environments

2727Lero© 2011

Many decentralised composition approaches bind providers too early

Page 28: Opportunistic composition of sequentially-connected services in mobile computing environments

2828Lero© 2011

Bound but not used

Page 29: Opportunistic composition of sequentially-connected services in mobile computing environments

2929Lero© 2011

Disconnect Recovery Communication Energy

Page 30: Opportunistic composition of sequentially-connected services in mobile computing environments

3030Lero© 2011

How to reduce failure probability?

Page 31: Opportunistic composition of sequentially-connected services in mobile computing environments

3131Lero© 2011

Reduce the delay between service binding and service execution

Page 32: Opportunistic composition of sequentially-connected services in mobile computing environments

3232Lero© 2011

Opportunistic execution model

Binding

Page 33: Opportunistic composition of sequentially-connected services in mobile computing environments

3333Lero© 2011

Opportunistic execution model

BindingExecution

Execute service while searching for the next provider

Page 34: Opportunistic composition of sequentially-connected services in mobile computing environments

3434Lero© 2011

Opportunistic execution model

BindingExecution

Execute service while searching for the next provider

Page 35: Opportunistic composition of sequentially-connected services in mobile computing environments

3535Lero© 2011

Opportunistic execution model

BindingExecution

Execute service while searching for the next provider

Page 36: Opportunistic composition of sequentially-connected services in mobile computing environments

3636Lero© 2011

Opportunistic execution model

BindingExecution

No unnecessary binding of conditional paths

Page 37: Opportunistic composition of sequentially-connected services in mobile computing environments

3737Lero© 2011

Opportunistic execution model

BindingExecution

Page 38: Opportunistic composition of sequentially-connected services in mobile computing environments

3838Lero© 2011

Opportunistic execution model

Bind available provider

BindingExecution

Page 39: Opportunistic composition of sequentially-connected services in mobile computing environments

3939Lero© 2011

Opportunistic execution model

Provider likely to be still available if execution follows immediately after binding

BindingExecution

Page 40: Opportunistic composition of sequentially-connected services in mobile computing environments

4040Lero© 2011

Opportunistic execution model

BindingExecution

Page 41: Opportunistic composition of sequentially-connected services in mobile computing environments

4141Lero© 2011

System model

Abstract composite request

< composite > := seq(< composite >;< composite >) |< type > | < type >:< provider >

< type > := S1 |…| Sn< provider > := P1 |…| Pm

Directory-less, on demand discovery

Proximity-based selection

Page 42: Opportunistic composition of sequentially-connected services in mobile computing environments

4242Lero© 2011

Evaluation

Simulation Jist/SWANS UlmRandom Waypoint

Controlled Composition lengthNode speed

Metric Success ratioResponse timeCommunication effort

Page 43: Opportunistic composition of sequentially-connected services in mobile computing environments

4343Lero© 2011

Do composites execute to completion?

Opportunistic model 28% more successful

Node speed: 1-13 m/s80

60

40

20

0

Suc

cess

ratio

(%)

4 5 Composition length

6 7

baselineopportunistic

Page 44: Opportunistic composition of sequentially-connected services in mobile computing environments

4444Lero© 2011

Do composites respond to initiator quicker?

Opportunistic model 33% faster

Node speed: 1-13 m/s

8

6

4

2

0

Res

pons

e tim

e (s

)

4 5Composition length

6 7

baselineopportunistic

Page 45: Opportunistic composition of sequentially-connected services in mobile computing environments

4545Lero© 2011

Node speed: 1-13 m/s120

0

4 5Composition length

6 7

baselineopportunistic

100

80

60

40

20

Num

ber o

f sen

t mes

sage

s

Do composites communicate unnecessarily?

Opportunistic model 14% less chatty

Page 46: Opportunistic composition of sequentially-connected services in mobile computing environments

4646Lero© 2011

Current & Future work

Service flowsService requests contain splitting and merging paths

Failure recoveryComposition success cannot be guaranteed and recovery strategies are essential

PrivacyParticipants aware of control and data flow which may include sensitive information

Device heterogeneityResource-poor devices require light-weight integration concept

Page 47: Opportunistic composition of sequentially-connected services in mobile computing environments

4747Lero© 2011

Recap

New frontier Share mobile device capabilities and create new value-added service composites

Challenge How to reduce the failure probability of service composites?

Approach Reduce delay between binding and execution

Results More successful, faster, and less chatty than “first bind all then execute” approach

Current work Service flows and failure recovery

Future work Privacy and device heterogeneity

Page 48: Opportunistic composition of sequentially-connected services in mobile computing environments

Thank you!

Lero© 2011