Abstract
In many applications, wireless sensor networks (WSNs) are deployed in inhospitable environments and therefore the nodes are at increased risk of failure. Large scale damage may partition a network into disjoint segments, which has very negative effect on the application. Mobile nodes have been exploited to act as mobile data collectors (MDCs) among segments to restore the connectivity of WSNs in the previous works. However, almost all of the works assumed that mobile nodes travel via a direct path, which may not be the case in real-world applications. In order to improve the applicability of the recovery strategy, obstacles should be taken into account. In this paper, we present an obstacle aware connectivity restoration strategy (OACRS) to fit these requirements. Our algorithm is designed for the scenarios that the number of available relays is less than the number of relays required to construct stable links and more than the number of segments. At first we construct and optimize the obstacle-avoiding minimum spanning tree of the segments and then determine the relays which keep static and the ones which act as MDCs. Finally we optimize the tour path of MDCs. The effectiveness of the proposed algorithm is validated through simulation experiments.
1. Introduction
In recent years, wireless sensor networks (WSNs) have attracted many research attentions in numerous applications [1–4]. In many applications, WSNs are deployed into hazard environment, such as battle field, border protection, and security surveillance, where the networks may suffer large scale damage and be partitioned into disjoint segments. For example, in a battle field, multiple nodes would be destroyed by explosives and the surviving nodes are split into disjoint partitions, which prevent data exchange and hinder coordination among some nodes. Thus, connectivity restoration of intersegments would be essential for the networks to resume full operation.
A number of reactive approaches are proposed to establish connectivity among WSN segments in the literature. Some of the approaches form intersegment paths by repositioning some nodes from the individual segments [5–9]. However, this strategy is feasible only when the network is composed of movable nodes. The other strategy is to deploy additional relay nodes to relink segments. The approaches proposed in [10–12] involve the deployment of static relay nodes to establish stable communication links among segments, which is only suitable for the scenario that relay nodes are sufficient. In many emergent situations, it is difficult to obtain sufficient relay nodes. When the number of relay nodes is not enough to construct stable links among the partitions, some approaches deploy mobile data collectors (MDCs) traveling among the segments to provide intermittent communication links [9, 12–15]. MDCs can be designated to serve on the individual links and carry data from nodes in one segment to recipients in another.
When involved in the mobile node, almost all of the works assume that destinations can be reached via direct path movement. The only two recent works considering obstacle avoidance in connectivity restoration can be found in [5, 8]. However, neither of the two works considers the scenario of how to place stationary and mobile nodes among disjoint segments to restore the connectivity of the WSNs.
In this paper, we present an obstacle aware connectivity restoration strategy (OACRS), which considers the scenario that available relays are not sufficient to construct stable links but the number is more than that of segments. OACRS exploits a hybrid solution that employs a mix of stationary and mobile relays to restore the connectivity of the network. Rather than following a direct path, obstacles are taken into account when the MDCs are moving. The main objective of OACRS is to minimize the total tour length and maximum tour length. The strategy is divided into two phases. In the first phase, we propose an algorithm to construct and optimize the obstacle-avoiding minimum spanning tree (oamst) of all the segments. And in the second phase, an algorithm is present to determine which edges of the oamst will be served by MDCs and optimize the tours path to minimize the tour length. In order to avoid interference of signal caused by obstacles, we employed MDCs on the routes along the obstacle boundary. The simulation results confirm the effectiveness of OACRS compared to recent work in the literature.
This paper is organized as follows. Related work is summarized in Section 2. The system model and assumptions are discussed in Section 3. In Section 4, the proposed OARCS approach is described in detail. Section 5 presents the simulation results and finally Section 6 concludes the paper.
2. Related Work
The published relays placement schemes about connectivity restoration of disjoint WSNs segments fall into three categories. The first category is to establish a stable intersegment topology under the scenario that all relay nodes are stable. The second category is that all the relays act as mobile data collectors. And the third is to restore connectivity using a mix of mobile and stationary relays.
When relay nodes are sufficient to reestablish connectivity, the connectivity restoration problem becomes the problem of restoring connectivity with the fewest number of relays. Ma et al. [10] model the two-tiered WSNs relay nodes placement problem as a GDC (Geometric Disc Covering) problem and improve the network robustness against connection failure by solving the relay nodes double cover problem. Sitanayah et al. [11] propose GRASP-AR, which uses counting paths to minimize the number of relay nodes. Han et al. [12] address the minimum number of relay nodes' placement in the context of H-WSNs. These approaches only suit for the scenario that there are sufficient relay nodes to establish a stable intersegment topology. However, in real-world applications, especially in an emergency, such as battlefield, it is hard to get enough relays.
When the number of additional nodes is less than the number of segments, all the relay nodes need to travel around to provide intermittent communication links. Senel and Younis [9] propose IDM-kMDC, in which disjoint segments are interconnected through k MDCs. IDM-kMDC merges two collocated MDCs to reduce the number of MDCs by one in each round. And it strives to minimize the merged tour length. Senturk et al. [14] exploit Game Theory to orchestrate the self-spreading process of mobile nodes.
Some other published approaches use a mix of stationary and mobile relays to restore connectivity of intersegments, such as MiMSI [13], FeSMoR [16], and ToCS [17]. These algorithms work under the situation that available relays are not sufficient to form stable data path among segments but the number of the available relays is still more than the count of segments. Thus, some of the relay nodes will travel among segments to establish intermittent links. MiMSI exploits the availability of relays to shorten the travel path of MDCs and lower the data delivery latency. FeSMoR assumes the relays are sufficient and the RN placement problem is modeled as Steiner Minimum Tree. And it incrementally replaces groups of relays on the Steiner Tree with mobile nodes. FeSMoR meets the resource availability constraints and achieves the minimal delay objective by exploiting relay mobility at the periphery of the federated intersegment topology. ToCS uses the available MRNs to form a simple star topology and it aims at minimizing both the maximum and average data delivery latency between any two segments.
OACRS also uses a mix of stationary and mobile relays to restore connectivity. However, unlike FeSMoR, OACRS aims at minimizing the maximum tour length and the total tour length. OACRS is also different from MiMSI. There is no limitation to the number of static nodes and mobile nodes in OACRS, while MiMSI assumes both numbers of stationary and mobile relays are fixed.
The only two works in which obstacles are under consideration [5, 8] are also different from OARCS both in application scenarios and in algorithms themselves. In OCRS [5] the failure of a single cut-vertex sensor of MRSNs is addressed and the connectivity is restored by cascaded nodes movement. Obstacle-avoiding problem is addressed when the nodes are moving. Senturk et al. [8] consider the terrain characteristics when mobile nodes are moving and pick the path with the least risk rate for the mobile nodes. This approach repositions nodes from various segments to restore network connectivity, which is much difficult to keep connectivity within segments, while OARCS addresses the connectivity restoration problem of intersegments under the scenario that available relays are insufficient but the number is more than the number of segments, which is not considered in [5, 8].
3. System Model
We consider the wireless sensor network, which suffers large scale damage and is divided into several disjoint segments, and there are obstacles among the partitions. The system model can be shown in Figure 1. For simplicity's sake, each segment is represented by a node (collection point) in our work. And the node corresponds to the common communication range R (R is the maximum Euclidean distance that its radio can reach).

Illustration of the system model. Solid squares indicate MDCs, solid circles indicate stationary relays, and trapezoid denotes the obstacle.
We also have the following assumptions and definitions.
Assumption 1 (relay nodes).
All the relay nodes can move on demand.
Assumption 2 (obstacles).
There is at least one edge in the minimum spanning tree which intersects the obstacles. In OACRS, an obstacle is defined as a convex polygon of any size, and the count of the vertex of one obstacle is not less than 4. In addition, any obstacles cannot overlap with segments.
Definition 3.
Given an undirected graph
Definition 4.
Definition 5.
Let
Assumption 6.
Let M denote the count of segments. The number of available relay nodes
System Model. The mathematical model of OACRS can be simplified this way: let
4. Obstacle-Avoiding Connectivity Restoration Strategy
In this section, OARCS approach is described in detail. At first we construct and optimize the oamst. Then the delays deployment problem is handled. Finally the tour path of MDCs is optimized.
4.1. Obstacle-Avoiding Minimum Spanning Tree Construction
OACRS aims to shorten the tour length of MDCs. Thus we model the relays placement problem as an obstacle-avoiding minimum spanning tree. The algorithm will be handled as follows.
Construction of Minimum Spanning Tree without Considering Obstacles. At first we construct the minimum spanning tree (mst) of the segments using Prim algorithm without considering obstacles, where each segment is represented by a collection point. As shown in Figure 2(a), the wireless sensor network is divided into ten disjoint segments which are presented by

Construction of obstacle-avoiding minimum spanning tree.
Construction and Optimization of Obstacle-Avoiding Minimum Spanning Tree. When one or more edges intersect obstacles, we change the routes to avoid obstacles. There are two scenarios.
Improvement of Obstacle-Avoiding Minimum Spanning Tree. The obstacle-avoiding spanning tree we have constructed may be not the minimum spanning tree because we replace some edges by routes, and the length of routes may be longer than that of a qualified link in
Figure 2(d) shows a more complicated case.
(i) The shortest link in
4.2. Federating Disjoint Segments
We assume relays are sufficient firstly and employ the relay nodes on each edge or route of the oamst. As is shown in Figure 3(a), each edge or route in oamst is served by one or more relays to form a stable topology among these segments. However, in this paper, we consider the case that available relays are not sufficient; that is to say,

Illustration of how the OACRS operates.
Handling the Employment on the Route. We should emphasize that the obstacles may interfere with the signal of the stable relays. Thus we place MDCs on the routes. Let
In order to shorten the maximum tour length, the tour path of MDCs must follow the rule below: the tour length of each MDC cannot be longer than
If
If
After the placement of relays on route
Employment on the Edges. Let
If If If If
If
Illustrative Example. Figure 3 illustrates the operation of OACRS on federating 10 segments
According to conditions (i) and (ii), we are aware that
4.3. Determining MDCs Tours
The tours length should be computed before iteration. The tour of a MDC is defined as the shortest possible cycle when it visits one collection point of the segments and returns to its initial position. A MDC must pass within the transmission range of a collection point so that data exchange can take place. There are two types of tour in this paper: traveling along the edges or along the triangles. The computation depends on the number of segments in a tour as follows.
Traveling along an Edge. This case is shown in Figure 4(a). The MDC will move back and forth between

Determining MDCs tours.
Traveling along a Triangle. When a MDC travels among three segments, OACRS constructs a triangle tour path, as shown in Figure 4(b). O is the center of gravity of the triangle
5. Performance Validation
The performance of OACRS is validated through simulation. In this section we discuss the simulation environment, performance metrics, and simulation results.
5.1. Experiment Setup and Performance Metrics
In the simulation experiments, segments are randomly placed in an area of 1500 m × 1500 m with one obstacle. The number of segments “n” is varied from 3 to 13. The communication range “R” for the collection points and MDCs has been set to 60, 80, 100, 120, 140, and 160. When changing the number of segments, the communication range R is fixed at 100 m; and the segments count is set to 8 while varying the communication range. In our simulation we set the number of available relays using the following formula:
Total tour length is the sum of distances traveled by all employed MDCs. Our goal is to minimize this metric in order to limit the overhead imposed on the MDCs. Maximum tour length is the longest distance among all MDCs tours. This metric indicates the load that one of the MDCs will experience, and a large value indicates increased energy consumption, which would affect the rate of energy depletion and the node lifetime. The goal is to minimize this distance.
In our experiment, each individual simulation experiment involves 30 different topologies and the average result is reported.
5.2. Experiment Results
5.2.1. Total Tour Length
Figure 5 shows the effects of different parameters on total tour length. As shown in Figures 5(a) and 5(b), we can see that the total tour length decreases as the value of p increases. This is because the number of nodes which act as MDCs can be reduced when there are more available relays. Thus, the sum of tour length of all MDC will be reduced. From Figure 5(a), we observer that the changing of total tour length is not too large in whole while the number of segments increases, which indicates that the number of segments is not strict in OACRS. Figure 5(b) shows that the total tour length decreases as the values of communication range increase. This is because OACRS optimized MDCs tours, and the tour length from one segment to another is

Total tour length with varying number of segments and communication range.
5.2.2. Maximum Tour Length
Figure 6 shows the trend of maximum tour length with varying number of segments and communication range. As shown in Figures 6(a) and 6(b), we can see that the maximum tour length decreases as the value of p increases in most cases. This is because the smaller p is, the smaller the number of available relays is; then the distance of each MDC is increased. Thus, the maximum tour length increases as p decreases. From Figure 6(a), we can observe that the maximum tour length decreases as the number of segments increases, which is because the long tour decreases in dense networks. And we can observe in Figure 6(b) that the maximum tour length decreases as communication range increases, which is also because OACRS optimized MDCs tours, and when communication range increases, the value of

Maximum tour length with varying number of segments and communication range.
5.2.3. Comparison with FeSMoR
We compare the performance of OACRS with that of FeSMoR, which also uses mix of mobile and stationary relays to restore connectivity of WSNs. With the same setup, the results for the total tour length and the maximum tour length are shown in Figures 7(a) and 7(b), respectively. As can be seen from Figures 7(a) and 7(b), when the number of segments is more than 8, OACRS outperforms FeSMoR in terms of both total tour length and maximum tour length, which confirms that OACRS is more suitable for the case that the distance between segments is not too large.

Total tour length and maximum tour length comparing with FeSMoR.
6. Conclusion
Restoring network connectivity is crucial to ensure the WSNs functions effectively. In this paper, we studied the connectivity restoration problem of WSNs, where obstacles are considered when MDCs are traveling.
We have proposed OACRS, an obstacle aware connectivity restoration strategy. OACRS firstly constructs and optimizes the obstacle-avoiding minimum spanning tree among the segments and then determines the placement of relay nodes. We further optimize the tour path of MDCs to minimize the touring length. The simulation results have confirmed the effectiveness of OACRS. Our future work is to evaluate the performance of the proposed approaches when there is more than one obstacle and considering the signal interference.
Footnotes
Competing Interests
The authors declare that they have no competing interests.
Acknowledgments
This work was partly supported by NSFC (61401033, 61372108, and 61272515) and Beijing Higher Education Young Elite Teacher Project (YETP0474).
