a middleware service for coordinated adaptation of communication services in groups of devices

18
A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices Fakultät Informatik, Institut für Systemarchitektur, Professeur Rechnernetze Jordan Janeiro [email protected] Mobilis Project

Upload: leslie-estes

Post on 31-Dec-2015

29 views

Category:

Documents


1 download

DESCRIPTION

Fakultät Informatik, Institut für Systemarchitektur, Professeur Rechnernetze. A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices. Mobilis Project. Jordan Janeiro [email protected]. Agenda. Motivation Goals Moratus SACS Evaluation - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

A Middleware Service for Coordinated Adaptation of Communication Servicesin Groups of Devices

Fakultät Informatik, Institut für Systemarchitektur, Professeur Rechnernetze

Jordan [email protected]

Mobilis Project

Page 2: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

2 von 18

Agenda

• Motivation• Goals• Moratus• SACS• Evaluation• Future Work

Page 3: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

3 von 18

Motivation

• In ubiquitous computing, context information is important to execute dynamic adaptations• Bandwidth rate is considered as context (local

context)• Low transmission rates -> Better message

compression service• A device adaptation is based on ist context

• In a group communication, to assume the overall group context may be suitable• Collaborative applications

• Co-edition of Presentations

Page 4: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

4 von 18

Goals

• Determination of the overall group context• Global Context

• Adaptation of communication services in all group members

Page 5: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

5 von 18

Related Work

• Graceful Adaptation Protocol• Does not tolerante disconnection

• Ensemble• Not transparent adaptation

• NeCoMan• Does not tolerante disconnection• Pair-to-Pair Adaptation

Page 6: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

6 von 18

Moratus

• Protocol for coordinated service adaptation, among mobile group members, based on global context

• Communication services are called Message Transformation Services (MTS)• Optimize wireless group communication• Compression and segmentation• Divided in 2 modules:

• Encoder and Decoder

• Assumes a reliable group communication service• Jgroups

• Divide in 2 steps:• Global context election• Coordinated adaptation

Page 7: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

7 von 18

Global Context Election

• Any context variable might be used• RSSI in this case

• Starts upon a significant context variation• RSSI value ranges

• Different global context calculations might be implemented• Mean, lower value and highest value

• Handle device disconnection• Context of device is not considered

Page 8: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

8 von 18

Global Context Election

Variação significativa do contexto detectada !

Global

Context

Calculated

Global

Context

Calculated

Global

Context

Calculated

Global

Context

Calculated

Page 9: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

9 von 18

Global Context Election - Disconnection

Variação significativa do contexto detectada !

Global

Context

Calculated

Global

Context

Calculated

Global

Context

Calculated

Page 10: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

10 von 18

Coordinated Adaptation

• Divided in 4 steps to allow transparent adaptation:• Service installation• Activation of new decoder• Activation of new encoder• Deactivation of the old decoder

• One of the group devices coordinates the process

• Handle device disconnection

Page 11: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

11 von 18

Coordinated Adaptation

Group is

ready to

start the

adaptation

Install Service

Service

Instaled

Service

Instaled

Service

Instaled

Activate New

Decoder

New

Decoder

Activated

New

Decoder

Activated

New

Decoder

Activated

Coordinator

Page 12: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

12 von 18

Service for Coordinated Service Adaptation

• Used by distributed applications• Transparent communication

Page 13: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

13 von 18

Communication Service

• The use of Jgroups middleware• Proposes a protocol stack

• Allows reliable group communication• NACKACK protocol

• Disconnection handling• FAILURE_DETECTOR protocol

• Heartbeat message• Helps to refreshs list of group members

Page 14: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

14 von 18

Evaluation

• Scalability tests• Executed in a cluster with 30 machines• Groups of 5, 10, 15, 20, 25 and 30

elements

Page 15: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

15 von 18

Evaluation

Page 16: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

16 von 18

Conclusion

• Development of Moratus protocol• Adaptation based on the group context• Execution of coodinated adaptation

• Implementation of Moratus as a middleware service• Applications use the middleware transparently

• Limitations using Jgroups in wireless networks• Constant delays for protocol convergence

Page 17: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

17 von 18

Future Work

• Detect the consumption of all messages before concluding the coordinated adaptation

• Try to avoid consecutive and unnecessary adaptations

• Calculate global context considering multiple variables• Battery, bandwidth and processing

Page 18: A Middleware Service for Coordinated Adaptation of Communication Services in Groups of Devices

18 von 18

Discussion

• Questions?

• Comments?

[email protected]