Skip to main content
Log in

Bluetooth scatternet formation from a time-efficiency perspective

  • Published:
Wireless Networks Aims and scope Submit manuscript

Abstract

The Bluetooth Scatternet Formation (BSF) problem consists of interconnecting piconets in order to form a multi-hop topology. While a large number of BSF algorithms have been proposed, only few address time as a key parameter, and when doing so, virtually none of the solutions were tested under realistic settings. In particular, the baseband and link layers of Bluetooth are highly specific and known to have crucial impacts on performance. In this paper, we revisit performance studies for a number of time-efficient BSF algorithms, focusing on BlueStars, BlueMesh, and BlueMIS. We also introduce a novel time-efficient BSF algorithm called BSF-UED (for BSF based on Unnecessary-Edges Deletion), which forms connected scatternets deterministically and limits the outdegree of nodes to 7 heuristically. The performance of the algorithm is evaluated through detailed simulation experiments that take into account the low-level specificities of Bluetooth. We show that BSF-UED compares favorably against BlueMesh while requiring only 1/3 of its execution time. Only BlueStars is faster than BSF-UED, but at the cost of a very large number of slaves per master (much more than 7), which makes it impractical in many scenarios.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

Notes

  1. Bluetooth Smart Ready: http://www.bluetooth.com/pages/Bluetooth-Smart-Devices.aspx. Fetched on Dec. 20, 2012

  2. In the following, a piconet is modeled as a star graph with a master and slaves. We model a master-slave relationship as a directed edge from the master to slave, hence the number of slaves of a master is its outdegree.

  3. Bluehoc: http://bluehoc.sourceforge.net/. Fetched on Dec. 20, 2012

  4. Given two functions fg, we say that g is in O(f) if there is a constant c > 0 such that \(g(n) < c\cdot f(n)\) for a sufficiently large n.

  5. An independent set of a network (or a graph) is a set of nodes that none of which is neighbor to another. A maximal independent set is an independent set that is not a subset of any other independent set.

  6. In this rule, the fact that v captures u (and not the opposite) is important; it follows the anticipated decrease of \(\varphi(v)\) in Phase 1 when the edge (uv) was colored red. In a sense, v is “more prepared” than u to handle new slaves. The impact of this operation is seen while starting the elimination algorithm from smaller to larger piconets.

  7. This case may occur if u delegated to a neighbor w the responsibility of v, and hence (uv) is red. Also, there is a node a \(w^{\prime}\) that is larger than v and delegated to v the responsibility of slaving common neighbors between v and \(w^{\prime}\).

  8. We thank the anonymous reviewer for directing our attention to this important issue in the field of Bluetooth Scatternet Formation algorithms

References

  1. Nokia. 5 surprising facts about Bluetooth, May (2011).

  2. Bluetooth SIG. Bluetooth specifications ver 4.0, (2010).

  3. Petrioli, C., Basagni, S., & Chlamtac, I. (2003). Configuring BlueStars: Multihop scatternet formation for Bluetooth networks. IEEE Transactions on Computers, 52, 779–790.

    Article  Google Scholar 

  4. Li, X. Y., Stojmenovic, I., & Wang, Y. (2004). Partial delaunay triangulation and degree limited localized Bluetooth scatternet formation. IEEE Transactions on Parallel and Distributed Systems, 15(4), 350–361.

    Article  Google Scholar 

  5. Wang, Z., Thomas, R. K., & Haas, J. (2009). Performance comparison of Bluetooth scatternet formation protocols for multi-hop networks. Wireless Networks, 15(2), 209–226.

    Article  Google Scholar 

  6. Petrioli, C., Basagni, S., & Chlamtac, I. (2004). BlueMesh: Degree-constrained multi-hop scatternet formation for Bluetooth networks. Mobile Networks and Applications, 9(1), 33–47.

    Article  Google Scholar 

  7. Zaguia, N., Daadaa, Y., & Stojmenovic, I. (2008). Simplified Bluetooth scatternet formation using maximal independent sets. Integrated Computer-Aided Engineering, 15(3), 229–239. ISSN 1069-2509.

    Google Scholar 

  8. Howell, F., & McNab, R. (1998). SimJava: A discrete event simulation library for java. Simulation Series, 30, 51–56.

    Google Scholar 

  9. Jedda, A., Jourdan, G. V., & Mouftah, H. T. (July 2012). Time-efficient algorithms for the outdegree limited Bluetooth scatternet formation problem. In Proceedings of the IEEE symposium on computers and communications (ISCC) 2012, pp. 000132–000138. doi:10.1109/ISCC.2012.6249281.

  10. Jedda, A., Jourdan, G. V., & Zaguia, N. (2012). Towards better understanding of the behaviour of Bluetooth networks distributed algorithms. International Journal of Parallel, Emergent and Distributed Systems, 27(6), 563–586.

    Article  Google Scholar 

  11. Stojmenovic, I., & Zaguia, N. (2006). Bluetooth scatternet formation in ad-hoc wireless networks. In: J. Misic, V. Misic (Eds.), Chapter 9 in: Performance modeling and analysis of Bluetooth networks: Network formation, polling, sceduling, and traffic control (pp. 147–171).

  12. Whitaker, R. M., Hodge, L., & Chlamtac, I. (2005). Bluetooth scatternet formation: A survey. Ad Hoc Networks, 3(4), 403–450. ISSN 1570-8705. doi:10.1016/j.adhoc.2004.02.002.

    Google Scholar 

  13. Vergetis, E., Guérin, R., Sarkar, S., & Rank, J. (2005). Can Bluetooth succeed as a large-scale ad hoc networking technology? IEEE Journal on Selected Areas in Communication, 23(3), 644–656.

    Article  Google Scholar 

  14. Basagni, S., Bruno, R., Mambrini, G., & Petrioli, C. (2004). Comparative performance evaluation of scatternet formation protocols for networks of Bluetooth devices. Wireless Networks, 10(2), 197–213. ISSN 1022-0038. doi:10.1023/B:WINE.0000013083.41155.fa.

    Google Scholar 

  15. Song, W. Z., Wang, Y., Ren, C., & Wu, C. (2009). Multi-hop scatternet formation and routing for large scale Bluetooth networks. International Journal of Ad Hoc and Ubiquitous Computing, 4(5), 251–268.

    Article  Google Scholar 

  16. Salonidis, T., Bhagwat, P., Tassiulas, L., & LaMaire, R. (2001). Distributed topology construction of Bluetooth personal area network. In IEEE INFOCOM 2001.

  17. Sreenivas, H., & Ali, H. (2004). An evolutionary Bluetooth scatternet formation protocol. In System sciences. (2004). Proceedings of the 37th annual hawaii international conference on, p. 8–pp. IEEE.

  18. Hodge, L. E., Whitaker, R. M., & Hurley, S. (2006). Multiple objective optimization of Bluetooth scatternets. Journal of Combinatorial Optimization, 11(1), 43–57.

    Article  MATH  MathSciNet  Google Scholar 

  19. Marsan, M. A., Chiasserini, C. F., Nucci, A., Carello, G., & De Giovanni, L. (2002). Optimizing the topology of Bluetooth wireless personal area networks. In INFOCOM 2002. Twenty-first annual joint conference of the IEEE computer and communications societies. Proceedings. IEEE, vol. 2, pp. 572–579. IEEE.

  20. Huang, L., Chen, H., Sivakumar, T., Kashima, T., & Sezaki, K. (2005). Impact of topology on Bluetooth scatternet. International Journal of Pervasive Computing and Communications, 1(2), 123–134.

    Article  Google Scholar 

  21. Kiss Kalló, C., Chiasserini, C. F., Jung, S., Brunato, M., & Gerla, M. (2007). Hop count based optimization of Bluetooth scatternets. Ad Hoc Networks, 5(3), 340–359.

    Article  Google Scholar 

  22. Daptardar, A. (2004). Meshes and cubes: Distributed scatternet formations for Bluetooth personal area networks.

  23. Song, W. Z., Li, X. Y., Wang, Y., & Wang, W. Z. (2005). dBBlue: Low diameter and self-routing Bluetooth scatternet. Journal of Parallel and Distributed Computing, 65(2), 2.

    Article  Google Scholar 

  24. Zhang, H., Hou, J. C., & Sha, L. (2003). A Bluetooth loop scatternet formation algorithm. In Communications. (2003). ICC’03. IEEE International Conference on, vol. 2, pp. 1174–1180. IEEE.

  25. Wang, Y., Stojmenovic, I., & Li, X.-Y. (2004). Bluetooth scatternet formation for single-hop ad hoc networks based on virtual positions. In Computers and Communications. (2004). Proceedings. ISCC 2004. Ninth International Symposium on, vol. 1, pp. 170–175. IEEE.

  26. Barrière, L., Fraigniaud, P., Narayanan, L., & Opatrny, J. (2003). Dynamic construction of Bluetooth scatternets of fixed degree and low diameter. In Proceedings of the fourteenth annual ACM-SIAM symposium on discrete algorithms (pp. 781–790). Society for Industrial and Applied Mathematics.

  27. Yu, C. M., & Lin, J. H. (2012). Enhanced Bluetree: A mesh topology approach forming Bluetooth scatternet. IET Wireless Sensor Systems, 2(4), 409–415.

    Article  Google Scholar 

  28. Cuomo, F., Melodia, T., & Akyildiz, I. F. (2004). Distributed self-healing and variable optimization algoritms for QoS provisioning in scatternets. IEEE Journal on Selected Areas in Communication, 22(7), 1220–1236.

    Article  Google Scholar 

  29. Law, C., Mehta, A. K., & Siu, K. (2003). A new Bluetooth scatternet formation protocol. Mobile Networks and Applications, 8(5), 485–498.

    Article  Google Scholar 

  30. Gallager, R. G., Humblet, P. A., & Spira, P. M. (1983). A distributed algorithm for minimum-weight spanning trees. ACM Transactions on Programming Languages and systems (TOPLAS), 5(1), 66–77.

    Article  MATH  Google Scholar 

  31. Tan, G., Miu, A., Guttag, J., & Balakrishnan, H. (2002). An efficient scatternet formation algorithm for dynamic environments. In Proceedings of the IASTED communications and computer networks (CCN), pp. 4–6.

  32. Huang, T. C., Yang, C. S., Huang, C. C., & Bai, S. W. (2006). Hierarchical Grown Bluetrees (HGB): An effective topology for Bluetooth scatternets. International Journal of Computational Science and Engineering, 2(1), 23–31.

    Google Scholar 

  33. Zaruba, G., Basagni, S., & Chlamtac, I. BlueTrees-Scatternet formation to enable Bluetooth-based personal area networks. In Proceedings of the IEEE international conference on communications, vol. 1, pp. 273–277, 6 (2001).

  34. Dong, Y., & Wu, J. (2003). Three bluetree formations for constructing efficient scatternets in Bluetooth. In Proceedings of the 7th joint conference on information sciences, pp. 385–388.

  35. Pagani, E., Rossi, G., & Tebaldi, S. (2004). An on-demand Bluetooth scatternet formation algorithm. Wireless On-Demand Network Systems, pp. 51–61.

  36. Methfessel, M., Peter, S., & Lange, S. (2011). Bluetooth scatternet tree formation for wireless sensor networks. In Mobile adhoc and sensor systems (MASS), 2011 IEEE 8th international conference on, pp. 789–794. IEEE.

  37. Dubhashi, D., Häggström, O., Mambrini, G., Panconesi, A., & Petrioli, C. (2007). Blue pleiades, a new solution for device discovery and scatternet formation in multi-hop Bluetooth networks. Wireless Networks, 13, 107–125, January 2007. ISSN 1022-0038.

    Google Scholar 

  38. Wattenhofer, R., & Zollinger, A. (2004). XTC: A practical topology control algorithm for ad-hoc networks. In Parallel and distributed processing symposium, (2004). Proceedings. 18th international, p. 216, April 2004.

  39. Wang, Q. (2006). Scheduling and simulation of large scale wireless personal area networks. PhD thesis, University of Cincinnati, Cincinnati, USA.

  40. VINT. The VINT Project, The Network Simulator-ns-2, URL: http://www.isi.edu/nsnam/ns/. Page accessed on (9-7-2013). In Zealand: University of Otago, pages 181–186. (2003).

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ahmed Jedda.

Appendices

Appendix 1: Time complexity analysis

In this section, we study the time complexity of BlueStars, BlueMesh, BlueMIS and BSF-UED. We start with BlueStars.

Theorem 6

The time complexity of BlueStars is O(n) where n is the number of nodes in the network.

Proof

The most expensive procedure in BlueStars is the procedure of forming disjoint piconets (i.e. the first phase). A node v i with identifier i starts executing this phase if all its larger neighbors (i.e. with larger identifiers) sent a message to v i . We say v i waits for v j if v j is a larger neighbor of v i . According to this definition, v i may wait for v k where v k is a larger neighbor of v j . We may construct thus a chain \(v_1, \dot, v_n\) of length n such that v i waits for v j if i > j. Therefore, a node v i waits for all the larger nodes in the network, and respectively the smallest node v 1 waits for all the other nodes. Therefore, the time complexity of this phase is O(n). In the second phase of BlueStars, there is a message exchange between (1) the slaves and masters (in order for the masters to identify the neighbor piconets), (2) the masters and gateways (to inform the gateways which piconets they must interconnect), and (3) the gateways and neighbor gateways (to interconnect the neighbor piconets). This requires O(1) time complexity, and therefore the time complexity of BlueStars is O(n). \(\square\)

BlueMesh runs in iterations (as explained in Sect. 4.4). Each iteration is similar with respect to time complexity to BlueStars, since both constructs a maximal independent set in a similar manner. Therefore, each iteration requires O(n). In the following, we analyzes the worst case number of iterations of BlueMesh.

Theorem 7

The number of iterations run by BlueMesh is in the worst case O(log n) in arbitrary graphs and O(1) in unit disk graphs, where n is the number of nodes in the network.

Proof

We build the worst case scenario as follows. We start with the simple graph of two nodes u and v linked by the edge (uv). Let’s assume that nodes u and v are the last surviving nodes in iteration k, where k is the index of the last phase of the algorithm. Note that if a node u survived iteration k − 1 and moved to iteration k, then it must have a larger neighbor \(u^{\prime}\). This means that there is at least 4 nodes \(u, u^{\prime}, v\) and \(v^{\prime}\) in iteration k − 1. Therefore, the maximum number of nodes that move to iteration i is |P i-1|/2 where |P i | is the number of nodes in iteration i. Therefore, the maximum number of phases is at O(log n). The worst case scenario of BlueMesh is shown in Fig. 11.

Fig. 11
figure 11

An example scenario with Bluemesh

Note that if a node has more than 5 neighbors in a unit disk graph then at least two of them are also neighbors. Following the previous argument, if a node survived k iterations then it must have at least k largest neighbors that are not neighbors to each other. This means that k is at most 5 in unit disk graphs. Therefore, the maximum number of BlueMesh iterations if run over unit disk graphs is O(1). \(\square\)

Therefore, the time complexity of BlueMesh in unit disk graphs is O(n). Note that the time complexity of BlueMesh remains O(n) in arbitrary graphs. The result of Theorem 7 matces simulation results in this paper and in [6], whereas a theoritical analysis of this aspect of BlueMesh is first studied here.

BlueMIS I complexity is straightforward. Each node exchanges its neighbors list with all its neighbors in a first round. In a second round, each node u sends to all its neighbors the set S(u) which is the set of nodes that u may be master to. Therefore, the time complexity of BlueMIS I is O(1). Thus, BlueMIS I is a local distributed algorithm. Local distributed algorithms has the advantage that their execution time does not depends on the size of the input network, making them suitable to solve scalability issues. The case is different in BlueMIS II. To achieve the exact same results given in [7], BlueMIS II time complexity may be at least in O(n). This is because, in order to avoid certain worst-case conflicting scenarios, each node must execute the rules of BlueMIS II while every other is waiting (that is, in a sequential manner). This is one of the major issues in BlueMIS II. In our implementation, every node executes its rules locally after collecting sufficient neighborhood information. Therefore, we assumed that the time complexity of BlueMIS II remains O(1).

BSF-UED time complexity is similar to that of BlueStars. The first phase is similar to the first phase of BlueStars and thus has O(n) time complexity. In the second phase of BSF-UED, there is a communication exchange between, (1) slaves and masters, (2) masters and gateways, and 3) gateways and gateways from neighbor piconets. Therefore, the time complexity of BSF-UED is O(n).

Appendix 2: Flow diagrams of BSF-UED

In this appendix section, we present the flow diagrams of our algorithm BSF-UED without the heuristics. We believe that this simplifies the understanding of our algorithm and its pseudocode (see Figs. 12 and 13).

Fig. 12
figure 12

Flow diagram of Phase 1 of BSF-UED

Fig. 13
figure 13

Flow diagram of Phase 2 of BSF-UED

Rights and permissions

Reprints and permissions

About this article

Cite this article

Jedda, A., Casteigts, A., Jourdan, GV. et al. Bluetooth scatternet formation from a time-efficiency perspective. Wireless Netw 20, 1133–1156 (2014). https://doi.org/10.1007/s11276-013-0664-z

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11276-013-0664-z

Keywords

Navigation