Show Less

Application Coordination in Pervasive Systems

Series:

Verena Majuntke

Pervasive applications are designed to support users in their daily life. For this purpose, applications interact with their environment, i.e. their context. They are able to adapt themselves to context changes or to explicitly change the context via actuators. If multiple applications are executed in the same context, interferences are likely to occur. To manage interferences, a coordination framework is presented in this thesis. Interferences are detected using a context model and information about applications’ interaction with the context. The resolution of interference is achieved through a coordinated application adaptation. The thesis introduces the theoretical concepts, presents a prototypical implementation and evaluates the prototype through extensive measurements.

Prices

Show Summary Details
Restricted access

7. Protoype

Extract

This chapter presents COMITY, the prototypical implementation of the concepts intro- duced in Chapters 5 and 6. Section 7.1 gives an overview of the coordinator and its components, Configuration and Application Management, Context Management, Inter- ference Detection, and Interference Resolution. Subsequently, Section 7.2 describes the implementation of context configurations, before the four parts are presented in Section 7.3 through 7.6. The chapter closes with a description of the implementation of the coordinator in BASE, a system software for pervasive computing, realizing application coordination in a practical pervasive system. 7.1. Coordinator Overview Figure 7.1 shows an UML [Gro07] class diagram of the COMITY prototype which has been implemented in Java. The central class of the prototype is the Coordinator which implements the interface ICoordinator. The interface offers all methods to applications which are required for application coordination and which can be called on the coordina- tor: register(cbInfo, ContextConfiguration):appID The register method registers an application at the coordinator for application coordination. It is the first method, a pervasive application must call on the coordinator. The method requires two parameters. First, an application provides its callback information. The callback information enables the coordinator to contact the application in case of an interfer- ence. The second parameter is the application’s active context configuration. With a successful registration, the coordinator ensures that the application interferences 116 7. Protoype > ContextModel ... ... > InterferenceSpecificationTable ... ... abstract ResolutionManager resolveInterference(Map>) abstract DetectionManager detectInterferences(ContextModel) > IdTable ... ... > Coordinator contextModel idTable ciTable isTable ccTable resolutionManager detectionManager interferences isParser > ContextInfluenceTable ... ... «interface» ICoordinator register...

You are not authenticated to view the full text of this chapter or article.

This site requires a subscription or purchase to access the full text of books or journals.

Do you have any questions? Contact us.

Or login to access all content.