Abstract
In tuple space approaches to context-aware mobile systems, the notion of context is defined by the presence or absence of certain tuples in the tuple space. Existing approaches define such presence either by collocation of devices holding the tuples or by replication of tuples across all devices. We show that both approaches can lead to an erroneous perception of context. Collocation ties the perception of context to network connectivity which does not always yield the expected result. Tuple replication can cause that a certain context is perceived even if the device has left the context a long time ago. We propose a tuple space approach in which tuples themselves carry a predicate that determines whether they are in the right context or not. We present a practical API for our approach and show its use by means of the implementation of various mobile applications. Benchmarks show that our approach can lead to a significant increase in performance compared to other approaches.
Original language | English |
---|---|
Pages (from-to) | 3-19 |
Number of pages | 16 |
Journal | Journal of Systems and Software |
Volume | 92 |
Issue number | Middleware for Mobile Data Management |
Publication status | Published - 1 Jun 2014 |
Keywords
- tuple spaces
- programming abstractions
- context-awareness
- mobile peer-to-peer systems
- mobile networks