Evaluation of context distribution methods via Bluetooth and WLAN: insights gained while examining battery power consumption

In a traditional context-aware system, most context information is local to a device. However, we may need access to context information from outside the device. Increasingly mobile electronic devices are equipped with Bluetooth and/or WLAN network interfaces. Both of these technologies enable ad hoc discovery & networking. In this paper we evaluate the use of these technologies for context distribution within a local area (i.e., limited to a single hop). Using Bluetooth, we begin by discovering devices using Bluetooth's discovery protocol, collect their context information, create an XML file containing this information, and distribute this file to all discovered devices, such that every device now has the same context information. Next we perform the same discovery, collect, and distribute functions, but using WLAN. In each case we have performed the cycle of operations starting with a fully charged battery and continuing until the device was not able to utilize the selected wireless interface any longer. Finally we compare both approaches to context distribution in terms of battery power consumption. We observe that Bluetooth consumes 2-6 times more energy for transmission of a 1MB file to two devices than to discover these two devices. Furthermore, the transfer of this file is two times slower than WLAN, and we must unicast this file to each device. Multicasting via WLAN proved to be less energy consuming than the Bluetooth transmission, if data is to be sent to more than three users. In addition, the energy to discover 2 devices along with their services using Bluetooth consumed 52 times more energy than to receive the same amount of data via a WLAN multicast. Thus, this paper shows that it is more energy efficient to distribute context knowledge to other devices, than having each device learn this information itself. Finally, we give equations for calculating the battery power consumption of transmitting data using any protocol that runs over Bluetooth or over WLAN.

[1]  Weisong Shi,et al.  Energy-aware QoS for application sessions across multiple protocol domains in mobile computing , 2007, Comput. Networks.

[2]  Liviu Iftode,et al.  Context-aware Battery Management for Mobile Phones , 2008, 2008 Sixth Annual IEEE International Conference on Pervasive Computing and Communications (PerCom).

[3]  Hung Keng Pung,et al.  A middleware for building context-aware mobile services , 2004, 2004 IEEE 59th Vehicular Technology Conference. VTC 2004-Spring (IEEE Cat. No.04CH37514).

[4]  Jason Flinn,et al.  Energy-aware adaptation for mobile applications , 1999, SOSP.

[5]  Harry Chen,et al.  An Intelligent Broker Architecture for Pervasive Context-Aware Systems , 2004 .

[6]  Werner Retschitzegger,et al.  Context-awareness on mobile devices - the hydrogen approach , 2003, 36th Annual Hawaii International Conference on System Sciences, 2003. Proceedings of the.

[7]  Jintao Li,et al.  PCSM: A Context Sharing Model in Peer-to-Peer Ubiquitous Computing Environment , 2007, 2007 International Conference on Convergence Information Technology (ICCIT 2007).

[8]  Gregory D. Abowd,et al.  Providing architectural support for building context-aware applications , 2000 .

[9]  Anantha Chandrakasan,et al.  A framework for energy-scalable communication in high-density wireless networks , 2002, ISLPED '02.

[10]  Gregory D. Abowd,et al.  The context toolkit: aiding the development of context-enabled applications , 1999, CHI '99.