Skip to main content
Log in

On Sensor Network Reconfiguration for Downtime-Free System Migration

  • Published:
Mobile Networks and Applications Aims and scope Submit manuscript

Abstract

Many state-of-the-art wireless sensor networks have been equipped with reprogramming modules, e.g., those for software/firmware updates. System migration tasks such as software reprogramming, however, will interrupt normal sensing and data processing operations of a sensor node. Although such tasks are occasionally invoked, the long time of such tasks may disable the network from detecting critical events, posing a severe threat to many sensitive applications. In this paper, we present the first formal study on the problem of downtime-free migration. We demonstrate that the downtime can be effectively eliminated, by partitioning the sensors into subsets, and let them perform migration tasks successively with the rest still performing normal services. We then present a series of effective algorithms, and further extend our solution to a practical distributed and localized implementation. The performance of these algorithms have been evaluated through extensive simulations, and the results demonstrate that our algorithms achieve good balance between the sensing quality and system migration time.

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

Similar content being viewed by others

Notes

  1. The distance between a node and a subset is defined the distance between the node and its nearest node in the subset.

References

  1. Akyildiz I, Su W, Sankarasubramaniam Y, Cayirci E (2002) A survey on wireless sensor networks. IEEE Commun Mag 40(8):102–114

    Article  Google Scholar 

  2. Cao Q, Stankovic J (2008) An in-field-maintenance framework for wireless sensor networks. In: Proc of the IEEE DCOSS, Santorini Island, 11–14 June 2008

  3. Cardei M, Du D (2005) Improving wireless sensor network lifetime through power aware organization. ACM J Wirel Netw 11(3):333–340

    Article  Google Scholar 

  4. Cardei M, MacCallum D, Cheng X, Min M, Jia X, Li D, Du DZ (2002) Wireless sensor networks with energy efficient organization. J Interconnect Netw 3(3–4):213–229

    Article  Google Scholar 

  5. Chen J, Kher S, Somani AK (2006) Distributed fault detection of wireless sensor networks. In: Proc of the ACM workshop on dependability issues in wireless ad hoc networks and sensor networks, Los Angeles, September 2006

  6. Gallager PG, Humblet PA, Spira PM (1983) A distributed algorithm for minimum-weight spanning tree. ACM Trans Program Lang Syst 5(5):66–77

    Article  MATH  Google Scholar 

  7. Garey MR, Johnson DS (1979) Computers and Intractability: A Guide to the Theory of NP-Completeness. W H Freeman, New York

    MATH  Google Scholar 

  8. Hammersley JM (1960) Monte-Carlo methods for solving multivariable problems. Ann N Y Acad Sci 86:844–874

    Article  MATH  MathSciNet  Google Scholar 

  9. Levis P (2008) Tinyos programming manual. http://www.tinyos.net/tinyos-2.x/doc/pdf/tinyos-programming.pdf

  10. Li XY, Wang Y, Wan PJ, Song WZ, Frieder O (2004) Localized low-weight graph and its applications in wireless ad hoc networks. In: Proc of the 2004 IEEE INFOCOM, Hong Kong, 7–11 March 2004

  11. Liu B, Towsley D (2004) A study of the coverage of large-scale sensor networks. In: Proc of the IEEE MASS, Fort Lauderdale, 24–27 October 2004

  12. Mainwaring A, Polastre J, Szewczyk R, Culler D, Anderson J (2002) Wireless sensor networks for habitat monitoring. In: Proc. of the ACM international workshop on wireless sensor networks and applications, Atlanta, September 2002

  13. Marron PJ, Lachenmann A, Minder D, Gauger M, Saukh O, Rothermel K (2005) Management and configuration issues for sensor networks. Int J Netw Manage 15(4):235–253

    Article  Google Scholar 

  14. Prim RC (2001) Shortest connection networks and some generalisations. Bell Syst Tech J 36:1389–1401

    Google Scholar 

  15. Slijepcevic S, Potkonjak M (2001) Power efficient organization of wireless sensor networks. In: Proc. of the IEEE International Conference on Communications (ICC’01), vol. 2, Helsinki, June 2001

  16. Wang Q, Zhu Y, Cheng L (2006) Reprogramming wireless sensor networks: challenges and approaches. IEEE Netw 20:48–55

    Article  Google Scholar 

  17. Zhou Y, Lyu MR, Liu J (2008) A sensor-grouping mechanism for field-coverage wireless sensor networks. In: Proc of the IEEE ICC, Beijing, 19–23 May 2008

  18. Zhou Y, Yang H, Lyu MR, Ngai ECH (2006) A point-distribution index and its application to sensor-grouping in wireless sensor networks. In: Proc of IWCMC, Vancouver, 3–6 July 2006

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yangfan Zhou.

Additional information

The work was substantially supported by a grant from the Research Grants Council of the Hong Kong Special Administrative Region, China (Project No. CUHK4150/07E). J. Liu’s work was supported in part by a Canadian NSERC Discovery Grant and an NSERC Strategic Project Grant.

Appendix: Proof of Lemma 1

Appendix: Proof of Lemma 1

First, this problem is in NP: Given a partition scheme, a nondeterministic algorithm only needs to calculate the event detection capability (EDC) of each division so as to get the EDC of the network during the time interval T. And then it can verify whether this value is smaller than u or not. So now we need to prove that this problem is harder than a known NP-Complete problem.

We transform the provably NP-Complete set partition problem [7] to the decision version of the simplified sensor network reconfiguration problem. Given a set of non-negative numbers \(\{q_i\}_{i=1}^n\), the set partition problem asks whether it is feasible to partition the set so that the sum of numbers in each partition is equal.

As p ij ∈ [0, 1), we can construct an n by m matrix \(\mathcal{Q}\) of which each element is defined as q ij  = − log 2(1 − p ij ). We can know q ij  > 0. Based on the property of d ik , we get:

$$ 1 - d_{ik}p_{ij} = 2^{-d_{ik}q_{ij}}. $$
(12)

Let us construct an instance of the sensor network reconfiguration problem in which N = 2, q ij is equal to each other given the same i and equal to the q i in the set partition problem, and \(u= 1- 2^{-(\sum_{i=1}^{n}q_i)/2} \). Now we can always have d i1 = 1 − d i2 because a sensor should be in either division D 1 or division D 2, but not in both. Also we can write q ij as q i without the subscript j. Therefore, we get:

$$ \begin{array}{rcl} P^\prime - u &=& \min\limits_{\forall k}\left\{\min\limits_{\forall j}\left[1 - \prod\limits_{i=1}^n(1-d_{ik}p_{ij})\right]\right\}-u\\ &=& \min\limits_{\forall k}\left[\min\limits_{\forall j}(1-2^{-\sum_{i=1}^n d_{ik}q_{ij}})\right]-u\\ &=& \min\limits_{\forall k}\left(1-2^{-\sum_{i=1}^n d_{ik}q_{i}}\right)-u\\ &=& 2^{-\frac{\sum_{i=1}^{n}q_i}{2}} -2^{-\left[\min\limits_{\forall k}(\sum_{i=1}^n d_{ik}q_{i})\right]}. \end{array} $$
(13)

If the answer to whether P  ≥ u is yes, we get:

$$ \begin{array}{rcl} &&\min\limits_{\forall k}\left(\sum_{i=1}^n d_{ik}q_{i}\right) \geq \frac{\sum\limits_{i=1}^{n}q_i}{2} \\ &&\Rightarrow\left\{\begin{array} {l} \sum\limits_{i=1}^n d_{i1}q_{i} \geq \frac{\sum_{i=1}^{n}q_i}{2}\\[12pt] \sum\limits_{i=1}^n d_{i2}q_{i} = \sum\limits_{i=1}^n (1-d_{i1})q_{i} \geq \frac{\sum_{i=1}^{n}q_i}{2} \end{array}\right.\Rightarrow\\ &&\frac{\sum_{i=1}^{n}q_i}{2}\geq\sum\limits_{i=1}^n d_{i1}q_{i} \geq \frac{\sum_{i=1}^{n}q_i}{2} \Rightarrow \sum\limits_{i=1}^n d_{i1}q_{i} = \frac{\sum_{i=1}^{n}q_i}{2}. \end{array} $$
(14)

Therefore, the answer to the set partition problem is also yes.

On the other hand, if the answer to the set partition problem is yes, in the same way we can partition the sensors in the simplified sensor network reconfiguration problem so that:

$$ \begin{array}{rcl} &&\left\{\begin{array} {l} \sum\limits_{i=1}^n d_{i1}q_{i} = \frac{\sum_{i=1}^{n}q_i}{2}\\[12pt] \sum\limits_{i=1}^n d_{i2}q_{i} = \sum\limits_{i=1}^n (1-d_{i1})q_{i} = \frac{\sum_{i=1}^{n}q_i}{2} \end{array}\right.\\ &&\Rightarrow \min\limits_{\forall k}\left(\sum_{i=1}^n d_{ik}q_{i}\right)=\frac{\sum_{i=1}^{n}q_i}{2}. \end{array} $$
(15)

According to Eq. 13, P  = u. Therefore, the answer to the decision version of the simplified sensor network reconfiguration problem is also yes.

The above reduction requires only O(n) steps to be completed (for calculating p i and u with q i ). Therefore, the decision version of the simplified sensor network reconfiguration problem is both NP-Hard and NP. Then it is NP-Complete. The lemma is proved.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Zhou, Y., Lyu, M.R. & Liu, J. On Sensor Network Reconfiguration for Downtime-Free System Migration. Mobile Netw Appl 14, 241–252 (2009). https://doi.org/10.1007/s11036-008-0130-9

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11036-008-0130-9

Keywords

Navigation