Programming mobile context-aware applications with TOTAM |
| |
Affiliation: | 1. LETI Laboratory, University of Sfax, Tunisia;2. Computer Science and Software Engineering Department, Monmouth University, NJ 07764, USA;1. Department of Computer Architecture and Automation, Universidad Complutense de Madrid, 28040 Madrid, Spain;2. C.E.S. Felipe II, Universidad Complutense de Madrid, 28300 Aranjuez, Spain;3. C.U. Mérida, Universidad de Extremadura, 06800 Mérida, Spain;1. Department of Computer Science, University of Pittsburgh, PA 15260, USA;2. Department of Electrical Engineering, Iran University of Science and Technology, Tehran 16846-13114, Iran |
| |
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. |
| |
Keywords: | Tuple spaces Programming abstractions Context-awareness |
本文献已被 ScienceDirect 等数据库收录! |
|