# Side Trip Multipath Routing Protocol for Spatial Node Failure in Data-Gathering WSNs

Authors: Keisuke Fujita; Yumi Takaki; Chikara Ohta; Hisashi Tamaki
Journal: International Journal of Distributed Sensor Networks
 (2016)

---

## Abstract

In severe disaster environments, data-gathering wireless sensor networks possibly suffer from spatial node failure due to external factors such as land slide and river overflow. In order to enhance tolerance to spatial node failure, this paper proposes not only a multipath data gathering protocol called “Side Trip (ST)” scheme but also an improved version of ST scheme called “Side Trip with Network Coding (STNC)” scheme. In the ST scheme, a node establishes a secondary path which passes through nodes almost the same hop count away from the sink in order to spatially separate the path from the primary path and enhance spatial node-failure tolerance. In the STNC scheme, redundant packets from different source nodes are network-coded into an encoded packet in order to reduce the number of redundant packets and the impact on the system lifetime. We compare the ST scheme, STNC scheme, and two existing multipath protocols (i.e., H-SPREAD (Hybrid-Secure Protocol for REliable dAta Delivery) scheme and SMRP (Subbranch Multipath Routing Protocol) scheme) by means of a self-developed simulator. Simulation results show that STNC scheme and ST scheme enhance tolerance to node-failure compared to H-SPREAD scheme and SMRP scheme with no significant impact on system lifetime.


---

## Body

## 1. Introduction

A wireless sensor network (WSN) that consists of many sensor nodes should enable us to collect sensed data over a wide area. Applications of WSNs include remote monitoring and smart space. In this paper, we consider data-gathering WSNs which consist of battery-operated sensor nodes; they periodically send sensed data to a single sink node via multihop communication. In such WSNs, system lifetime strongly depends on the remaining battery level of certain nodes, especially those one hop away from the sink node.In case of severe disasters such as landslide and flooding, node failure may possibly exhibit a strong spatial correlation in a sense that nodes in a certain area are disabled at the same time [1, 2]. In this paper, we call this kind of failure “primary failure.” Primary failure may cause “secondary failure,” which is the fact that other nodes cannot transmit sensed data to the sink if their paths to the sink node traverse those disabled by the primary disaster. In case of disasters such as landslide and flooding, it is deemed necessary to know which area is stricken as soon as possible. Thus, depending on a kind of applications, it is important to distinguish between an area of primary failure and that of secondary failure. In this paper, this issue is addressed.A way to enhance node failure tolerance is for each node to establish multiple paths to the sink node and to transmit duplicate packets over them [3, 4]. However, if the multiple paths are not sufficiently separated spatially from each other, they may traverse an area of primary failure. As a result, the node suffers from secondary failure. Further, more duplicate packets consume more energy in relay nodes, so that system lifetime is shortened. H-SPREAD (Hybrid-Secure Protocol for REliable dAta Delivery) scheme [3] and SMRP (Subbranch Multipath Routing Protocol) scheme [4], which are existing multipath schemes, suffer these problems.The aim of this study is to achieve as high a tolerance to geographically correlated node failure, that is, spatial node failure, as possible without shortening the system lifetime significantly. To do so, we try to detour a secondary path far from the primary path and suppress redundant packets by leveraging interflow network coding (NC). Here, we call nodesn hops away from the sink the “nth-level nodes.” Generally speaking, the first-level nodes, which neighbor the sink, tend to relay more packets than the others in data-gathering WSNs. Further, when all first-level nodes exhaust their batteries, the sink node cannot collect data anymore regardless of node level. Therefore, system lifetime mainly depends on the battery level of first-level nodes. In other words, higher-level nodes do not affect system lifetime significantly.Considering the above, we propose a multipath scheme, called “Side Trip (ST)” scheme. In ST scheme, a source node sends original packets over lower-level nodes toward the sink. We call this the “collection phase.” In the phase called “Side Trip (ST) phase,” the source node sends duplicate packets, that is, redundant packets, far from itself over the nodes of the same level. (How many hops they are relayed over and how to transfer packet to a node far from a source node are shown in Section3.) After ST phase finishes, the redundant packets are diverted to lower-level nodes, that is, toward the sink node, in the following collection phase. The resultant detour path can be expected to be spatially separated from the path carrying the original packets.Further, we propose an improved version of ST scheme, called “Side Trip with Network Coding (STNC)” scheme, which utilizes interflow network coding in order to reduce the amount of redundant packets. Network coding (NC) has been studied as an in-network coding approach to enhance throughput, robustness, and security [5–7]. In STNC scheme, in the collection phase, two or more redundant packets are encoded by means of XOR (Exclusive OR) operation into an encoded packet if rules are satisfied, so that the number of redundant packets can be reduced. This mitigates the negative impact of redundant packets on system lifetime. The rules are explained in Section 3.Nodes consume energy when transmitting, receiving, and overhearing packets [8]. In ST scheme and STNC scheme, detouring the redundant packets in ST phase essentially increases the number of packet transmissions. This also increases unexpected overhearing unless some measure is taken. In this paper, we also propose node-state scheduling in which some nodes are set to sleep occasionally to reduce unexpected overhearing.The rest of paper is organized as follows: Section2 briefly explains H-SPREAD scheme and SMRP scheme as existing multipath schemes. Section 3 presents the details of our proposed schemes, ST scheme and STNC scheme, and proposed node-state scheduling. Section 4 shows our simulation results. Finally, Section 5 concludes this paper.


## 2. Related Works

In this section, we introduce H-SPREAD scheme [3] and SMRP scheme [4] as existing multipath schemes for data-gathering WSNs.


### 2.1. H-SPREAD

In H-SPREAD scheme, almost all nodes can discover multiple node-disjoint paths to the sink node. At first, the sink node broadcasts a path information message to the network. When a sensor node resends a received message, it appends its node identifier (ID) to the message. Thus, a path information message includes a path to the sink. If a sensor node receives a path information message that includes a new path that is disjoint to known ones, the sensor node remembers the newly received path and rebroadcasts the path information message after appending its node ID. Otherwise, the sensor node discards the message. After the above actions are repeated, almost all nodes will have multiple node-disjoint paths, and this feature is advantageous. Each sensor node chooses the first minimum-hop path as the primary path and the second minimum-hop path as the secondary path. As a result, both the paths tend to be spatially close, which weakens resistance to spatial node failure. Since a path information message includes a series of node IDs, it tends to be long. Further, path information messages are rebroadcasted many times. Thus, H-SPREAD scheme has large overheads.


### 2.2. SMRP

SMRP scheme aims to reduce the overhead at the cost of lower certainty of finding multipaths compared to H-SPREAD scheme. In SMRP scheme, it is assumed that each first-level node is power-supplied via feed line or it is easy to exchange the batteries since the first-level nodes are set close to the sink node. Based on this optimistic assumption, subtrees rooted at second-level nodes are constructed. At first, a sink node broadcasts a path initialization message which includes hop-count field, sender node ID field, and tag field to distinguish subtree. If a sensor node receives a path initialization message for the first time, it rebroadcasts the message after incrementing the hop-count field entry. At this time, if the sensor node notices that it is a second-level node, it fills the tag field with its node ID as the root of a subtree. A third- or higher-level node can know which subtree it belongs to from the first received path initialization message. A sensor node also learns the sender node of the first received path initialization message as the next node toward the sink. The resultant path is regarded as the primary path in the SMRP scheme. A second- or higher-level node may happen to find secondary paths if successively received initialization messages include tags different from its own tag. Since the sender of the message belongs to a different subtree, it is the next hop toward the sink on a path different from the primary path, that is, secondary path. Sensor nodes, however, cannot always discover secondary paths since they might not receive any initialization message with a tag different from their own. Since each sensor node rebroadcasts a path initialization message only once in the SMRP scheme, its overhead is less than that of the H-SPREAD scheme, which is advantageous. On the other hand, the primary path and the secondary path could share the same first-level node and they also tend to be spatially close, which weakens resistance to spatial node failure.


## 2.1. H-SPREAD

In H-SPREAD scheme, almost all nodes can discover multiple node-disjoint paths to the sink node. At first, the sink node broadcasts a path information message to the network. When a sensor node resends a received message, it appends its node identifier (ID) to the message. Thus, a path information message includes a path to the sink. If a sensor node receives a path information message that includes a new path that is disjoint to known ones, the sensor node remembers the newly received path and rebroadcasts the path information message after appending its node ID. Otherwise, the sensor node discards the message. After the above actions are repeated, almost all nodes will have multiple node-disjoint paths, and this feature is advantageous. Each sensor node chooses the first minimum-hop path as the primary path and the second minimum-hop path as the secondary path. As a result, both the paths tend to be spatially close, which weakens resistance to spatial node failure. Since a path information message includes a series of node IDs, it tends to be long. Further, path information messages are rebroadcasted many times. Thus, H-SPREAD scheme has large overheads.


## 2.2. SMRP

SMRP scheme aims to reduce the overhead at the cost of lower certainty of finding multipaths compared to H-SPREAD scheme. In SMRP scheme, it is assumed that each first-level node is power-supplied via feed line or it is easy to exchange the batteries since the first-level nodes are set close to the sink node. Based on this optimistic assumption, subtrees rooted at second-level nodes are constructed. At first, a sink node broadcasts a path initialization message which includes hop-count field, sender node ID field, and tag field to distinguish subtree. If a sensor node receives a path initialization message for the first time, it rebroadcasts the message after incrementing the hop-count field entry. At this time, if the sensor node notices that it is a second-level node, it fills the tag field with its node ID as the root of a subtree. A third- or higher-level node can know which subtree it belongs to from the first received path initialization message. A sensor node also learns the sender node of the first received path initialization message as the next node toward the sink. The resultant path is regarded as the primary path in the SMRP scheme. A second- or higher-level node may happen to find secondary paths if successively received initialization messages include tags different from its own tag. Since the sender of the message belongs to a different subtree, it is the next hop toward the sink on a path different from the primary path, that is, secondary path. Sensor nodes, however, cannot always discover secondary paths since they might not receive any initialization message with a tag different from their own. Since each sensor node rebroadcasts a path initialization message only once in the SMRP scheme, its overhead is less than that of the H-SPREAD scheme, which is advantageous. On the other hand, the primary path and the secondary path could share the same first-level node and they also tend to be spatially close, which weakens resistance to spatial node failure.


## 3. Proposed Schemes

In this section, first, we define the network model. Next, we explain the details of our proposed schemes, “Side Trip (ST)” scheme and “Side Trip with Network Coding (STNC)” scheme. Finally, we introduce a node-state scheduling for ST(NC) scheme.


### 3.1. Network Model

We consider data-gathering WSNs consist of one sink node which is placed at the center of area and sensor nodes which are placed at a densityρ and maximum level is L
m
a
x. (See Figure 1.) We assume that CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) is equipped as MAC (Medium Access Control) protocol and all nodes have the same transmission range of nodes, which we denote as r. We also assume that the carrier sense range is 2
r, that is, twice as long as the transmission range, according to [9]. We ignore overheads of interflow network coding and scheduling, which are explained in Section 3.3 in terms of power consumption.Figure 1
Data-gathering wireless sensor networks.


### 3.2. Side Trip with Network Coding

In the ST(NC) scheme, a sensor node sends an original packet via a primary path and a duplicate packet via a detour path, that is, a secondary path. Note that the first-level nodes do not issue any duplicate packets. Primary paths are constructed at the beginning of the system operation in a certain period, which we call “initialization phase.” This phase is also executed periodically in order to refresh the primary paths. As the primary paths, ST(NC) scheme constructs subtrees rooted at first-level nodes according to almost the same procedure as used by the SMRP scheme. The difference is that the second-level nodes fill the tag field of initialization messages in SMRP scheme while the first-level nodes do so in the ST(NC) scheme. In the ST(NC) scheme, a sensor node uses its subtree as the primary path as per the SMRP scheme.After initialization phase, sensed data packets are collected from all sensor nodes to the sink node cyclically. Each collection is called “cycle” hereafter. A cycle is composed of “Side Trip (ST) phase” and “collection phase” as explained in Section3.3.The aim of ST phase is to convey a redundant packet far away from its primary path. For this sake, the redundant packet is relayed via nodes which are on almost the same level as its source sensor node. That is, the redundant packet is moving in a circumferential direction around the sink node. This transfer is called “Side Trip.” ST is interrupted at every certain hop count. If the redundant packet stops at a node with a different tag from its source node, ST ends because its primary path and secondary path become node-disjoint. Otherwise, ST restarts. In this regard, however, the total number of hops in ST phase is limited up to “Side Trip Time to Live (ST-TTL)” to refrain from affecting the system lifetime as explained in Section3.2.2. In ST phase, it is necessary to prevent the redundant packet from looping back. For this sake, each node has “Side Trip ID (ST-ID),” which is determined in initialization phase. Each node chooses the next hop of ST according to its ST-ID and neighboring nodes’ ST-IDs. This mechanism is called “Side Trip stairs,” as explained in Sections 3.2.3 and 3.2.4.In the collection phase, original packets and redundant packets are relayed to lower-level nodes toward the sink along the primary path of current relay node. As a result, the secondary path of a redundant packet is composed of the part found in ST phase and the primary path of the relay node where the redundant packet ended ST. Therefore, the original packet and the redundant packet are expected to be conveyed over spatially separated node-disjoint paths. As mentioned above, in the collection phase, original packets as well as redundant packets are relayed toward the sink. At this time, NC operation is executed in STNC scheme. More precisely, if a sensor node happens to have two or more redundant packets or encoded packets which have different tags and the nodes tag each other, it encodes them into a single encoded packet by means of XOR operation. Hence, the resultant encoded packet has two or more tags. Therefore, the maximum number of data which are included in one encoded packet is the number that is one smaller than the number of kinds of tags. Note that this NC operation is not applied to the original packets. If an original packet is lost, it can be recovered at the sink from its corresponding encoded packet and the other original packet. Then, packets which are transmitted in collection phase have the following information:(i)
sender ID,
(ii)
source node ID(s),
(iii)
source node tag(s),
(iv)
sequence number of data,
(v)
data.


#### 3.2.1. Side Trip Layer

In ST phase, redundant packets are transferred in a circumferential direction around the sink node. At this time, ST should be done in an interleaved manner to reduce interference among nodes with adjacent level as much as possible. On the other hand, a node does not always have a next neighbor node with the same level. Then, a group of nodes make a “Side Trip layer (STL),” and nodes construct the layer structure as shown in Figure2, where layer width is two. That is, the ith STL consists of the nodes with the (
(
i
-
1
)
w
+
2
)nd level through the (
i
w
+
1
)st level, where w denotes layer width. Note that the first-level nodes do not make any layer. Each node decides its own layer after getting its level in the initialization phase.Figure 2
Example of Side Trip layer where the layer width is two.


#### 3.2.2. Side Trip Time to Live

As mentioned in Section1, the first-level nodes are burdened by having to relay packets of all higher-level nodes in a data-gathering WSN. On the other hand, the higher-level nodes have less burden. Using this property, redundant packets are detoured in Side Trip layers in ST(NC) scheme. In ST phase, the maximum number of hops is limited such that the second- or higher-level nodes do not transmit more packets than the first-level nodes. The residual number of hops is called “Side Trip Time to Live (ST-TTL).” Its value is included in the redundant packet header and decremented every time the redundant packet is relayed. The redundant packet is discarded if its ST-TTL reaches zero. In what follows, how to estimate the initial value of ST-TTL is explained.At first, we try to estimate the number of packets sent by a certain level node to a one-level-lower node on average. Here we call the(
l
+
1
)st-level nodes, whose primary paths traverse an lth-level node, “children” of the lth-level node. Conversely, the lth-level node is called “parent” from the viewpoint of the children. Further, we call all of the (
l
+
1
)st- or higher-level nodes, whose primary paths traverse an lth-level node, “descendants” of the lth-level node. Roughly speaking, lth-level nodes occupy a toroidal region with radius l
r through (
l
-
1
)
r. Therefore, the number, N
(
l
), of the lth-level nodes is estimated as follows:(1)
N
l
=
ρ
π
r
2
2
l
-
1
,
l
≥
1
,
1
,
l
=
0
.The average number, N
c
(
l
), of children per lth-level node is obtained as(2)
N
c
l
=
N
l
+
1
N
l
=
2
l
+
1
2
l
-
1
.By using (2), the average number, N
d
(
l
), of descendants per lth-level node can be calculated by the following recurrence formula:(3)
N
d
l
=
N
c
l
1
+
N
d
l
+
1
,
l
<
L
max
⁡
,
0
,
l
=
L
max
⁡
.An lth-level node relays the same number of original packets as its descendants on average in the collection phase. In addition to the original packets from other nodes, its own original packet is sent to its parent, that is, (
l
-
1
)st-level node. In ST phase, each node except the first-level ones generates a redundant packet, which will make a Side Trip. In the collection phase, these redundant packets are diverted in the direction of the parent as they are in ST scheme while after this phase they are encoded as per STNC scheme. Here let us define “encoding ratio” as the ratio of the number of encoded packets to that of preencoded redundant packets, and let us denote the encoding ratio by α. For example, α
=
0.5 if the number of redundant packets is reduced to half by NC operation. Note that ST is regarded as the case of α
=
1 in STNC scheme. Taking account of original packets, the total number of redundant packets and original packets sent in the direction of parent via an lth-level node is given as(4)
P
l
=
1
+
α
N
d
l
+
1
,
l
≥
2
,
1
+
α
N
d
l
+
1
,
l
=
1
.Next, we try to estimate the number of packets sent among the nodes of the samelth level. Let C
S
T
(
l
) denote the number of hops of the redundant packets in lth-level nodes in ST phase. Hopping C
S
T
(
l
) times means that the redundant packet is relayed (
C
S
T
(
l
)
-
1
) times. Conversely, an lth-level node relays (
C
S
T
(
l
)
-
1
) redundant packets. Since the lth-level node also issues its own redundant packet, it transmits C
S
T
(
l
) redundant packets in total. To make a second- or higher-level node not to transmit more packets than a first-level node, C
S
T
(
l
) needs to satisfy P
(
l
)
+
C
S
T
(
l
)
≤
P
(
1
). Therefore, the limit of C
S
T
(
l
), that is, the initial value of ST-TTL, is given as(5)
TTL
S
T
l
=
P
1
-
P
l
.In the case where the layer width is greater than two, nodes useTTL
S
T
(
l
m
i
n
), where l
m
i
n is the lowest level in the layer in order to satisfy the most stringent condition of (5).


#### 3.2.3. Side Trip Stairs

The mechanism “Side Trip stairs” aims to transmit redundant packets in one direction in a Side Trip layer. The mechanism utilizes “Side Trip ID (ST-ID).” Figure3 shows an example of Side Trip stairs. In this figure, small circles denote nodes in a certain layer, and each number denotes an ST-ID of each node. How to determine ST-ID will be explained later. ST-ID takes a nonnegative integer in a range, say, [
0
,
n
]. For convenience sake, zero is regarded to be one greater than n, and n is done to be one smaller than zero. In order to avoid inconsistency on this assumption, n
≥
2. In the figure, n
=
3; that is, ST-ID can be represented with two bits. In ST phase, each node chooses the next hop among neighbor nodes with greater ST-ID by one if possible. If not, it chooses a node with the same ST-ID as the next hop if any. If two or more candidates exist, one of them is chosen randomly. According to the above procedure, the redundant packets are expected to be transmitted in one direction.Figure 3
An example of Side Trip stairs.Next, let us explain the procedure to determine ST-ID. Each node is involved in the procedure after obtaining its layer level in initialization phase. The procedure is initiated by nodes called “starters” which satisfy with the following conditions:(1)
The node has a neighbor node whose tag is different from its own tag.
(2)
The node has a larger tag than the neighboring nodes. For this sake, neighboring nodes exchange tag with each other. At first, each starter broadcasts an ST-ID propagation packet, which includes the following information: (i)
sender ID,
(ii)
Side Trip ID,
(iii)
tag of starter,
(iv)
tag of starter’s neighbor.Sender ID is the node ID of the last sender of the packet, and it is updated every time rebroadcasted. If a starter has neighbors with different tags, “the tag of starter’s neighbor” is set to the largest tag among them. All nodes store the following information: (i)
Side Trip ID,
(ii)
tag of starter,
(iii)
tag of starter’s neighbor. When initiating the ST-ID propagation packet, each starter sets the value of ST-ID of the packet to zero and also stores its value in itself. The other nodes initially set (i.e., store) ST-ID, “tag of starter,” and “tag of starter’s neighbor,” to default values, say, -
1.When receiving an ST-ID propagation packet, the nodes overwrite stored information and rebroadcast the packet if one of the following rules is satisfied:(1)
The node’s ST-ID is default value.
(2)
“Tag of starter” of the received ST-ID propagation packet is greater than “tag of starter” which the node stores.
(3)
“Tag of starter” of the received ST-ID propagation packet is equal to “tag of starter” which the node stores, and “tag of starter’s neighbor” of the received ST-ID propagation packet is greater than “tag of starter’s neighbor” which the node stores. However, the nodes do not overwrite stored information and rebroadcast the packet if the sender’s node ID is equal to “tag of starter,” and “tag of starter’s neighbor” is equal to its own node ID. This prevents the ST-ID propagation packet from bouncing back. As a result, ST-ID propagation packets are expected to propagate in one direction. Before rebroadcasting the packet, the node updates its “tag of starter” and “tag of starter’s neighbor” by those in the packet. It also increments the ST-ID field of the packet by one modulo (
n
+
1
), that is, four in case n
=
3, and stores the value as its ST-ID. All nodes will get ST-ID by repeating rebroadcasts.If every node performs the above procedure simultaneously, their transmissions interfere with each other. To mitigate the interference and reduce power consumption, the initialization phase of ST-ID is divided into two slots. In the first slot (resp., the second), the nodes with even (resp., odd) layer ID perform the node with odd (resp., even) layer ID sleep. Since the first-level nodes do not need ST-ID, they sleep immediately after getting level. Thus, the procedure does not affect the system lifetime significantly.


#### 3.2.4. Side Trip Stair Count

In ST phase, redundant packets are conveyed far away from their source node. It is desirable for the distance to be distributed randomly quarter through half away around the sink node rather than constant. This is because STNC scheme encodes packets with different tags as explained in Section3.2. As a result of the initialization of ST-IDs, nodes with different ST-IDs are expected at least apart by r, which is the transmission range. Then, the round distance can be regarded as θ
(
l
)
=
c
o
s
-
1
(
4
l
2
-
4
l
-
1
)
/
(
4
l
2
-
4
l
+
1
) [rad] on the circumference of circle in the lth level. In order to be apart quarter to half around on layer, redundant packets are transmitted until sender’s ST-ID changes (
π
/
2
)
/
θ
l times through π
/
θ
l times. This count is called “Side Trip Stair Count (STSC)” and denoted as C
s
t
a
i
r
(
l
). Assuming transmitting about three times until sender’s ST-ID changes, the total hop count of a redundant packet in ST phase is expected to be satisfied with(6)
3
C
stair
l
≤
TTL
S
T
l
. As a result, C
s
t
a
i
r
(
l
) is calculated as(7)
C
stair
l
=
u
min
⁡
π
/
2
θ
l
,
TTL
S
T
l
,
min
⁡
π
θ
l
,
TTL
S
T
l
,where u
(
x
,
y
) is a function that returns a random value in the range [
x
,
y
], x is the smallest integer not less than x, and x is the smallest integer not more than x. In the case where the layer width is two or more, l is the least level in each layer. As explained above, the reason why C
s
t
a
i
r
(
l
) is determined based on random values is that NC works well when nodes have redundant packets with different tags.In ST phase, each source node calculates STSC and set into the redundant packets. Every time the packet is relayed, the value of STSC is decremented. If STSC reaches zero, ST finishes. As mentioned earlier in this section, if a redundant packet finishes ST on any node with the same tag, ST is continued as long as the total hop count is less than or equal to the upper limitTTL
S
T
(
l
).


#### 3.2.5. Example

Here let us explain STNC scheme using Figure4. In this figure, node shape represents tag kind. Suppose that STSC is set to 3 and all ST-IDs of nodes are different, so that redundant packet p
Q
′ of node Q finishes ST at node N which lies on the secondary path, Q–P–O–N, in ST phase. Then, in the collection phase, redundant packet p
Q
′ and the corresponding original packet p
Q travel to the sink via part of the secondary path, N–F–B–Sink, and the primary path, Q–H–C–Sink, of node N, respectively. (Note that, on this occasion, node N also utilizes the path N–F–B–Sink as the primary path to send original packet p
N.) In this case, even if nodes H and I are spatially destroyed, redundant packet p
Q
′ can reach the sink node via the secondary path. This is because the primary and the secondary paths are spatially separated. Next, suppose that, in parallel with the above, node L sets STSC to 2 and its redundant packet p
L
′ finishes ST at node N. In this case, since node N happens to have the redundant packets p
Q
′ and p
L
′ with different tags, it encodes them into packet p
Q
′
⊕
p
L
′. Then, in the collection phase, encoded packet p
Q
′
⊕
p
L
′ is relayed over part of the second path, N–F–B–Sink, which is also the primary path of node N. Since two redundant packets are merged into one encoded packet, the number of redundant packets on path N–F–B–Sink is halved. Further, even if nodes H and I (resp., nodes E and D) are destroyed, the sink node can extract original packet p
Q (resp., p
L) from original packet p
L (resp., p
Q) and encoded packet p
Q
′
⊕
p
L
′. Of course, the spatial node failure of nodes F and G does not affect original packets p
L and p
Q.Figure 4
Example of subtrees constructed by STNC scheme.


### 3.3. Node-State Scheduling

One of the effective ways to reduce power consumption is to make sensor nodes sleep for as long as possible. Further, nodes consume energy when transmitting, receiving, and overhearing packets [8]. In ST scheme and STNC scheme, the detouring of redundant packets in ST phase basically increases the number of packet transmissions as well as the unexpected overhearing events unless some countermeasure is taken. In this section, we explain slot-based node-state scheduling for ST(NC) scheme. All nodes perform scheduling synchronously, so that nodes which need not to transmit or receive any packets are put to sleep to reduce their active time as well as unexpected overhearing.In this scheduling approach, as shown in Figure5, time is divided into an infinite number of equal period cycles which consist of two phases: ST phase and collection phase. ST phase is divided into two slots, while collection phase is divided into at least 3
L
m
a
x slots in multiples of three. Slot length in the ST phase is not the same as that in the collection phase, and they are determined adequately according to packet lengths and so on. Slots in ST phase are labeled 1 and 2, while slots in collection phase are cyclically labeled 1, 2, and 3.Figure 5
Slot-based node-state scheduling.In ST phase, when thelth-level nodes awake to issue and relay redundant packets, both the (
l
-
1
)st- and (
l
+
1
)st-level nodes sleep to suppress overhearing and reduce their active time. Nodes whose level is an even (resp., odd) number wake in slot 1 (resp., 2). Node state in ST phase is summarized in Table 1. In ST phase, since the higher-level nodes relay their redundant packets more times than the lower-level nodes according to (7), the lower-level nodes finish ST earlier than the higher-level nodes. Since it is inefficient to leave the lower nodes awake with nothing to do, by setting a time-threshold adequately according to (7), the lower-level nodes are put to sleep earlier before the slot ends. Slot should be long enough for all nodes, especially the highest-level nodes, to finish ST within its duration. Let T
S
T denote the duration of slot. Lower-level nodes probably finish ST earlier than higher-level nodes. Therefore, we assume that lth-level nodes can finish ST within t
S
T
(
l
)
≤
T
S
T and T
S
T
=
t
S
T
(
L
m
a
x
). Let t
(
l
) denote the node traversal time of one packet, which is determined by packet size, transmission rate, the number of nodes, the number of nodes which can transmit at the same time, and so on. By using t
(
l
), the value of t
S
T
(
l
) is roughly estimated as(8)
t
S
T
l
=
C
^
stair
l
×
t
l
,where C
^
s
t
a
i
r
(
l
) is the average number of C
s
t
a
i
r
(
l
). Then, if layer width is two or more, t
S
T
(
l
) should be decided considering interference between different level nodes in a layer.Table 1
Slot action state in Side Trip phase.
Level modulo 2
Slot label
Slot 1
Slot 2
0
ST
Sleep
1
Sleep
STIn collection phase, each node transmits packets (Tx), receives packets (Rx), or sleeps according to scheduled state. Consequently, since different level nodes to transmit packets are three levels away from each other, interference at receiving nodes is mitigated. To do so, the nodes are divided into three groups based on the remainder of their level when divided by three, and each group behaves as shown in Table2. The sequence of three slots for transmission, reception, and sleep state needs to be repeated until all packets are collected by the sink node or a specified time has passed. In STNC scheme, nodes encode redundant packets which are satisfied with rules when slot state becomes Tx. In each Tx slot, the nodes without any packets to be transmitted can sleep. In our simulations shown in Section 4, however, such nodes stay awake in the same manner as in existing schemes in order to restrict the advantage of ST(NC). On the other hand, in each Rx slot, the leaf nodes, which have no upper level neighbor nodes, need not to receive any packets. Therefore, they sleep in Rx slot.Table 2
Slot action state in collection phase.
Level modulo 3
Slot label
Slot 1
Slot 2
Slot 3
0
Tx
Sleep
Rx
1
Sleep
Rx
Tx
2
Rx
Tx
SleepShorter slot restricts data collection delay. Too short slot, however, degrades the effect of NC. This is because each node has less redundant packets in a slot so that they cannot be encoded together. Therefore slot duration for collection phase should be set carefully according to scenarios. The higher-level nodes finish transmitting and relaying packets earlier, and it is inefficient to leave the lower nodes awake with nothing to do.If a node does not need to relay any packet from children and has no packet to send, it falls to sleep to reduce its active time. To do so, a node notifies its parent that it will sleep using a control packet called “sleep notification message.” Consequently, a parent node can enter sleep if it is notified from all children and has no packet to transmit. Finally, note that, in STNC scheme, the nodes in transmission state encode redundant packets with different tags, if any, before transmission. In each slot, nodes also transmit “sleep notification message” when they finish transmitting packets in the slot.


## 3.1. Network Model

We consider data-gathering WSNs consist of one sink node which is placed at the center of area and sensor nodes which are placed at a densityρ and maximum level is L
m
a
x. (See Figure 1.) We assume that CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) is equipped as MAC (Medium Access Control) protocol and all nodes have the same transmission range of nodes, which we denote as r. We also assume that the carrier sense range is 2
r, that is, twice as long as the transmission range, according to [9]. We ignore overheads of interflow network coding and scheduling, which are explained in Section 3.3 in terms of power consumption.Figure 1
Data-gathering wireless sensor networks.


## 3.2. Side Trip with Network Coding

In the ST(NC) scheme, a sensor node sends an original packet via a primary path and a duplicate packet via a detour path, that is, a secondary path. Note that the first-level nodes do not issue any duplicate packets. Primary paths are constructed at the beginning of the system operation in a certain period, which we call “initialization phase.” This phase is also executed periodically in order to refresh the primary paths. As the primary paths, ST(NC) scheme constructs subtrees rooted at first-level nodes according to almost the same procedure as used by the SMRP scheme. The difference is that the second-level nodes fill the tag field of initialization messages in SMRP scheme while the first-level nodes do so in the ST(NC) scheme. In the ST(NC) scheme, a sensor node uses its subtree as the primary path as per the SMRP scheme.After initialization phase, sensed data packets are collected from all sensor nodes to the sink node cyclically. Each collection is called “cycle” hereafter. A cycle is composed of “Side Trip (ST) phase” and “collection phase” as explained in Section3.3.The aim of ST phase is to convey a redundant packet far away from its primary path. For this sake, the redundant packet is relayed via nodes which are on almost the same level as its source sensor node. That is, the redundant packet is moving in a circumferential direction around the sink node. This transfer is called “Side Trip.” ST is interrupted at every certain hop count. If the redundant packet stops at a node with a different tag from its source node, ST ends because its primary path and secondary path become node-disjoint. Otherwise, ST restarts. In this regard, however, the total number of hops in ST phase is limited up to “Side Trip Time to Live (ST-TTL)” to refrain from affecting the system lifetime as explained in Section3.2.2. In ST phase, it is necessary to prevent the redundant packet from looping back. For this sake, each node has “Side Trip ID (ST-ID),” which is determined in initialization phase. Each node chooses the next hop of ST according to its ST-ID and neighboring nodes’ ST-IDs. This mechanism is called “Side Trip stairs,” as explained in Sections 3.2.3 and 3.2.4.In the collection phase, original packets and redundant packets are relayed to lower-level nodes toward the sink along the primary path of current relay node. As a result, the secondary path of a redundant packet is composed of the part found in ST phase and the primary path of the relay node where the redundant packet ended ST. Therefore, the original packet and the redundant packet are expected to be conveyed over spatially separated node-disjoint paths. As mentioned above, in the collection phase, original packets as well as redundant packets are relayed toward the sink. At this time, NC operation is executed in STNC scheme. More precisely, if a sensor node happens to have two or more redundant packets or encoded packets which have different tags and the nodes tag each other, it encodes them into a single encoded packet by means of XOR operation. Hence, the resultant encoded packet has two or more tags. Therefore, the maximum number of data which are included in one encoded packet is the number that is one smaller than the number of kinds of tags. Note that this NC operation is not applied to the original packets. If an original packet is lost, it can be recovered at the sink from its corresponding encoded packet and the other original packet. Then, packets which are transmitted in collection phase have the following information:(i)
sender ID,
(ii)
source node ID(s),
(iii)
source node tag(s),
(iv)
sequence number of data,
(v)
data.


### 3.2.1. Side Trip Layer

In ST phase, redundant packets are transferred in a circumferential direction around the sink node. At this time, ST should be done in an interleaved manner to reduce interference among nodes with adjacent level as much as possible. On the other hand, a node does not always have a next neighbor node with the same level. Then, a group of nodes make a “Side Trip layer (STL),” and nodes construct the layer structure as shown in Figure2, where layer width is two. That is, the ith STL consists of the nodes with the (
(
i
-
1
)
w
+
2
)nd level through the (
i
w
+
1
)st level, where w denotes layer width. Note that the first-level nodes do not make any layer. Each node decides its own layer after getting its level in the initialization phase.Figure 2
Example of Side Trip layer where the layer width is two.


### 3.2.2. Side Trip Time to Live

As mentioned in Section1, the first-level nodes are burdened by having to relay packets of all higher-level nodes in a data-gathering WSN. On the other hand, the higher-level nodes have less burden. Using this property, redundant packets are detoured in Side Trip layers in ST(NC) scheme. In ST phase, the maximum number of hops is limited such that the second- or higher-level nodes do not transmit more packets than the first-level nodes. The residual number of hops is called “Side Trip Time to Live (ST-TTL).” Its value is included in the redundant packet header and decremented every time the redundant packet is relayed. The redundant packet is discarded if its ST-TTL reaches zero. In what follows, how to estimate the initial value of ST-TTL is explained.At first, we try to estimate the number of packets sent by a certain level node to a one-level-lower node on average. Here we call the(
l
+
1
)st-level nodes, whose primary paths traverse an lth-level node, “children” of the lth-level node. Conversely, the lth-level node is called “parent” from the viewpoint of the children. Further, we call all of the (
l
+
1
)st- or higher-level nodes, whose primary paths traverse an lth-level node, “descendants” of the lth-level node. Roughly speaking, lth-level nodes occupy a toroidal region with radius l
r through (
l
-
1
)
r. Therefore, the number, N
(
l
), of the lth-level nodes is estimated as follows:(1)
N
l
=
ρ
π
r
2
2
l
-
1
,
l
≥
1
,
1
,
l
=
0
.The average number, N
c
(
l
), of children per lth-level node is obtained as(2)
N
c
l
=
N
l
+
1
N
l
=
2
l
+
1
2
l
-
1
.By using (2), the average number, N
d
(
l
), of descendants per lth-level node can be calculated by the following recurrence formula:(3)
N
d
l
=
N
c
l
1
+
N
d
l
+
1
,
l
<
L
max
⁡
,
0
,
l
=
L
max
⁡
.An lth-level node relays the same number of original packets as its descendants on average in the collection phase. In addition to the original packets from other nodes, its own original packet is sent to its parent, that is, (
l
-
1
)st-level node. In ST phase, each node except the first-level ones generates a redundant packet, which will make a Side Trip. In the collection phase, these redundant packets are diverted in the direction of the parent as they are in ST scheme while after this phase they are encoded as per STNC scheme. Here let us define “encoding ratio” as the ratio of the number of encoded packets to that of preencoded redundant packets, and let us denote the encoding ratio by α. For example, α
=
0.5 if the number of redundant packets is reduced to half by NC operation. Note that ST is regarded as the case of α
=
1 in STNC scheme. Taking account of original packets, the total number of redundant packets and original packets sent in the direction of parent via an lth-level node is given as(4)
P
l
=
1
+
α
N
d
l
+
1
,
l
≥
2
,
1
+
α
N
d
l
+
1
,
l
=
1
.Next, we try to estimate the number of packets sent among the nodes of the samelth level. Let C
S
T
(
l
) denote the number of hops of the redundant packets in lth-level nodes in ST phase. Hopping C
S
T
(
l
) times means that the redundant packet is relayed (
C
S
T
(
l
)
-
1
) times. Conversely, an lth-level node relays (
C
S
T
(
l
)
-
1
) redundant packets. Since the lth-level node also issues its own redundant packet, it transmits C
S
T
(
l
) redundant packets in total. To make a second- or higher-level node not to transmit more packets than a first-level node, C
S
T
(
l
) needs to satisfy P
(
l
)
+
C
S
T
(
l
)
≤
P
(
1
). Therefore, the limit of C
S
T
(
l
), that is, the initial value of ST-TTL, is given as(5)
TTL
S
T
l
=
P
1
-
P
l
.In the case where the layer width is greater than two, nodes useTTL
S
T
(
l
m
i
n
), where l
m
i
n is the lowest level in the layer in order to satisfy the most stringent condition of (5).


### 3.2.3. Side Trip Stairs

The mechanism “Side Trip stairs” aims to transmit redundant packets in one direction in a Side Trip layer. The mechanism utilizes “Side Trip ID (ST-ID).” Figure3 shows an example of Side Trip stairs. In this figure, small circles denote nodes in a certain layer, and each number denotes an ST-ID of each node. How to determine ST-ID will be explained later. ST-ID takes a nonnegative integer in a range, say, [
0
,
n
]. For convenience sake, zero is regarded to be one greater than n, and n is done to be one smaller than zero. In order to avoid inconsistency on this assumption, n
≥
2. In the figure, n
=
3; that is, ST-ID can be represented with two bits. In ST phase, each node chooses the next hop among neighbor nodes with greater ST-ID by one if possible. If not, it chooses a node with the same ST-ID as the next hop if any. If two or more candidates exist, one of them is chosen randomly. According to the above procedure, the redundant packets are expected to be transmitted in one direction.Figure 3
An example of Side Trip stairs.Next, let us explain the procedure to determine ST-ID. Each node is involved in the procedure after obtaining its layer level in initialization phase. The procedure is initiated by nodes called “starters” which satisfy with the following conditions:(1)
The node has a neighbor node whose tag is different from its own tag.
(2)
The node has a larger tag than the neighboring nodes. For this sake, neighboring nodes exchange tag with each other. At first, each starter broadcasts an ST-ID propagation packet, which includes the following information: (i)
sender ID,
(ii)
Side Trip ID,
(iii)
tag of starter,
(iv)
tag of starter’s neighbor.Sender ID is the node ID of the last sender of the packet, and it is updated every time rebroadcasted. If a starter has neighbors with different tags, “the tag of starter’s neighbor” is set to the largest tag among them. All nodes store the following information: (i)
Side Trip ID,
(ii)
tag of starter,
(iii)
tag of starter’s neighbor. When initiating the ST-ID propagation packet, each starter sets the value of ST-ID of the packet to zero and also stores its value in itself. The other nodes initially set (i.e., store) ST-ID, “tag of starter,” and “tag of starter’s neighbor,” to default values, say, -
1.When receiving an ST-ID propagation packet, the nodes overwrite stored information and rebroadcast the packet if one of the following rules is satisfied:(1)
The node’s ST-ID is default value.
(2)
“Tag of starter” of the received ST-ID propagation packet is greater than “tag of starter” which the node stores.
(3)
“Tag of starter” of the received ST-ID propagation packet is equal to “tag of starter” which the node stores, and “tag of starter’s neighbor” of the received ST-ID propagation packet is greater than “tag of starter’s neighbor” which the node stores. However, the nodes do not overwrite stored information and rebroadcast the packet if the sender’s node ID is equal to “tag of starter,” and “tag of starter’s neighbor” is equal to its own node ID. This prevents the ST-ID propagation packet from bouncing back. As a result, ST-ID propagation packets are expected to propagate in one direction. Before rebroadcasting the packet, the node updates its “tag of starter” and “tag of starter’s neighbor” by those in the packet. It also increments the ST-ID field of the packet by one modulo (
n
+
1
), that is, four in case n
=
3, and stores the value as its ST-ID. All nodes will get ST-ID by repeating rebroadcasts.If every node performs the above procedure simultaneously, their transmissions interfere with each other. To mitigate the interference and reduce power consumption, the initialization phase of ST-ID is divided into two slots. In the first slot (resp., the second), the nodes with even (resp., odd) layer ID perform the node with odd (resp., even) layer ID sleep. Since the first-level nodes do not need ST-ID, they sleep immediately after getting level. Thus, the procedure does not affect the system lifetime significantly.


### 3.2.4. Side Trip Stair Count

In ST phase, redundant packets are conveyed far away from their source node. It is desirable for the distance to be distributed randomly quarter through half away around the sink node rather than constant. This is because STNC scheme encodes packets with different tags as explained in Section3.2. As a result of the initialization of ST-IDs, nodes with different ST-IDs are expected at least apart by r, which is the transmission range. Then, the round distance can be regarded as θ
(
l
)
=
c
o
s
-
1
(
4
l
2
-
4
l
-
1
)
/
(
4
l
2
-
4
l
+
1
) [rad] on the circumference of circle in the lth level. In order to be apart quarter to half around on layer, redundant packets are transmitted until sender’s ST-ID changes (
π
/
2
)
/
θ
l times through π
/
θ
l times. This count is called “Side Trip Stair Count (STSC)” and denoted as C
s
t
a
i
r
(
l
). Assuming transmitting about three times until sender’s ST-ID changes, the total hop count of a redundant packet in ST phase is expected to be satisfied with(6)
3
C
stair
l
≤
TTL
S
T
l
. As a result, C
s
t
a
i
r
(
l
) is calculated as(7)
C
stair
l
=
u
min
⁡
π
/
2
θ
l
,
TTL
S
T
l
,
min
⁡
π
θ
l
,
TTL
S
T
l
,where u
(
x
,
y
) is a function that returns a random value in the range [
x
,
y
], x is the smallest integer not less than x, and x is the smallest integer not more than x. In the case where the layer width is two or more, l is the least level in each layer. As explained above, the reason why C
s
t
a
i
r
(
l
) is determined based on random values is that NC works well when nodes have redundant packets with different tags.In ST phase, each source node calculates STSC and set into the redundant packets. Every time the packet is relayed, the value of STSC is decremented. If STSC reaches zero, ST finishes. As mentioned earlier in this section, if a redundant packet finishes ST on any node with the same tag, ST is continued as long as the total hop count is less than or equal to the upper limitTTL
S
T
(
l
).


### 3.2.5. Example

Here let us explain STNC scheme using Figure4. In this figure, node shape represents tag kind. Suppose that STSC is set to 3 and all ST-IDs of nodes are different, so that redundant packet p
Q
′ of node Q finishes ST at node N which lies on the secondary path, Q–P–O–N, in ST phase. Then, in the collection phase, redundant packet p
Q
′ and the corresponding original packet p
Q travel to the sink via part of the secondary path, N–F–B–Sink, and the primary path, Q–H–C–Sink, of node N, respectively. (Note that, on this occasion, node N also utilizes the path N–F–B–Sink as the primary path to send original packet p
N.) In this case, even if nodes H and I are spatially destroyed, redundant packet p
Q
′ can reach the sink node via the secondary path. This is because the primary and the secondary paths are spatially separated. Next, suppose that, in parallel with the above, node L sets STSC to 2 and its redundant packet p
L
′ finishes ST at node N. In this case, since node N happens to have the redundant packets p
Q
′ and p
L
′ with different tags, it encodes them into packet p
Q
′
⊕
p
L
′. Then, in the collection phase, encoded packet p
Q
′
⊕
p
L
′ is relayed over part of the second path, N–F–B–Sink, which is also the primary path of node N. Since two redundant packets are merged into one encoded packet, the number of redundant packets on path N–F–B–Sink is halved. Further, even if nodes H and I (resp., nodes E and D) are destroyed, the sink node can extract original packet p
Q (resp., p
L) from original packet p
L (resp., p
Q) and encoded packet p
Q
′
⊕
p
L
′. Of course, the spatial node failure of nodes F and G does not affect original packets p
L and p
Q.Figure 4
Example of subtrees constructed by STNC scheme.


## 3.2.1. Side Trip Layer

In ST phase, redundant packets are transferred in a circumferential direction around the sink node. At this time, ST should be done in an interleaved manner to reduce interference among nodes with adjacent level as much as possible. On the other hand, a node does not always have a next neighbor node with the same level. Then, a group of nodes make a “Side Trip layer (STL),” and nodes construct the layer structure as shown in Figure2, where layer width is two. That is, the ith STL consists of the nodes with the (
(
i
-
1
)
w
+
2
)nd level through the (
i
w
+
1
)st level, where w denotes layer width. Note that the first-level nodes do not make any layer. Each node decides its own layer after getting its level in the initialization phase.Figure 2
Example of Side Trip layer where the layer width is two.


## 3.2.2. Side Trip Time to Live

As mentioned in Section1, the first-level nodes are burdened by having to relay packets of all higher-level nodes in a data-gathering WSN. On the other hand, the higher-level nodes have less burden. Using this property, redundant packets are detoured in Side Trip layers in ST(NC) scheme. In ST phase, the maximum number of hops is limited such that the second- or higher-level nodes do not transmit more packets than the first-level nodes. The residual number of hops is called “Side Trip Time to Live (ST-TTL).” Its value is included in the redundant packet header and decremented every time the redundant packet is relayed. The redundant packet is discarded if its ST-TTL reaches zero. In what follows, how to estimate the initial value of ST-TTL is explained.At first, we try to estimate the number of packets sent by a certain level node to a one-level-lower node on average. Here we call the(
l
+
1
)st-level nodes, whose primary paths traverse an lth-level node, “children” of the lth-level node. Conversely, the lth-level node is called “parent” from the viewpoint of the children. Further, we call all of the (
l
+
1
)st- or higher-level nodes, whose primary paths traverse an lth-level node, “descendants” of the lth-level node. Roughly speaking, lth-level nodes occupy a toroidal region with radius l
r through (
l
-
1
)
r. Therefore, the number, N
(
l
), of the lth-level nodes is estimated as follows:(1)
N
l
=
ρ
π
r
2
2
l
-
1
,
l
≥
1
,
1
,
l
=
0
.The average number, N
c
(
l
), of children per lth-level node is obtained as(2)
N
c
l
=
N
l
+
1
N
l
=
2
l
+
1
2
l
-
1
.By using (2), the average number, N
d
(
l
), of descendants per lth-level node can be calculated by the following recurrence formula:(3)
N
d
l
=
N
c
l
1
+
N
d
l
+
1
,
l
<
L
max
⁡
,
0
,
l
=
L
max
⁡
.An lth-level node relays the same number of original packets as its descendants on average in the collection phase. In addition to the original packets from other nodes, its own original packet is sent to its parent, that is, (
l
-
1
)st-level node. In ST phase, each node except the first-level ones generates a redundant packet, which will make a Side Trip. In the collection phase, these redundant packets are diverted in the direction of the parent as they are in ST scheme while after this phase they are encoded as per STNC scheme. Here let us define “encoding ratio” as the ratio of the number of encoded packets to that of preencoded redundant packets, and let us denote the encoding ratio by α. For example, α
=
0.5 if the number of redundant packets is reduced to half by NC operation. Note that ST is regarded as the case of α
=
1 in STNC scheme. Taking account of original packets, the total number of redundant packets and original packets sent in the direction of parent via an lth-level node is given as(4)
P
l
=
1
+
α
N
d
l
+
1
,
l
≥
2
,
1
+
α
N
d
l
+
1
,
l
=
1
.Next, we try to estimate the number of packets sent among the nodes of the samelth level. Let C
S
T
(
l
) denote the number of hops of the redundant packets in lth-level nodes in ST phase. Hopping C
S
T
(
l
) times means that the redundant packet is relayed (
C
S
T
(
l
)
-
1
) times. Conversely, an lth-level node relays (
C
S
T
(
l
)
-
1
) redundant packets. Since the lth-level node also issues its own redundant packet, it transmits C
S
T
(
l
) redundant packets in total. To make a second- or higher-level node not to transmit more packets than a first-level node, C
S
T
(
l
) needs to satisfy P
(
l
)
+
C
S
T
(
l
)
≤
P
(
1
). Therefore, the limit of C
S
T
(
l
), that is, the initial value of ST-TTL, is given as(5)
TTL
S
T
l
=
P
1
-
P
l
.In the case where the layer width is greater than two, nodes useTTL
S
T
(
l
m
i
n
), where l
m
i
n is the lowest level in the layer in order to satisfy the most stringent condition of (5).


## 3.2.3. Side Trip Stairs

The mechanism “Side Trip stairs” aims to transmit redundant packets in one direction in a Side Trip layer. The mechanism utilizes “Side Trip ID (ST-ID).” Figure3 shows an example of Side Trip stairs. In this figure, small circles denote nodes in a certain layer, and each number denotes an ST-ID of each node. How to determine ST-ID will be explained later. ST-ID takes a nonnegative integer in a range, say, [
0
,
n
]. For convenience sake, zero is regarded to be one greater than n, and n is done to be one smaller than zero. In order to avoid inconsistency on this assumption, n
≥
2. In the figure, n
=
3; that is, ST-ID can be represented with two bits. In ST phase, each node chooses the next hop among neighbor nodes with greater ST-ID by one if possible. If not, it chooses a node with the same ST-ID as the next hop if any. If two or more candidates exist, one of them is chosen randomly. According to the above procedure, the redundant packets are expected to be transmitted in one direction.Figure 3
An example of Side Trip stairs.Next, let us explain the procedure to determine ST-ID. Each node is involved in the procedure after obtaining its layer level in initialization phase. The procedure is initiated by nodes called “starters” which satisfy with the following conditions:(1)
The node has a neighbor node whose tag is different from its own tag.
(2)
The node has a larger tag than the neighboring nodes. For this sake, neighboring nodes exchange tag with each other. At first, each starter broadcasts an ST-ID propagation packet, which includes the following information: (i)
sender ID,
(ii)
Side Trip ID,
(iii)
tag of starter,
(iv)
tag of starter’s neighbor.Sender ID is the node ID of the last sender of the packet, and it is updated every time rebroadcasted. If a starter has neighbors with different tags, “the tag of starter’s neighbor” is set to the largest tag among them. All nodes store the following information: (i)
Side Trip ID,
(ii)
tag of starter,
(iii)
tag of starter’s neighbor. When initiating the ST-ID propagation packet, each starter sets the value of ST-ID of the packet to zero and also stores its value in itself. The other nodes initially set (i.e., store) ST-ID, “tag of starter,” and “tag of starter’s neighbor,” to default values, say, -
1.When receiving an ST-ID propagation packet, the nodes overwrite stored information and rebroadcast the packet if one of the following rules is satisfied:(1)
The node’s ST-ID is default value.
(2)
“Tag of starter” of the received ST-ID propagation packet is greater than “tag of starter” which the node stores.
(3)
“Tag of starter” of the received ST-ID propagation packet is equal to “tag of starter” which the node stores, and “tag of starter’s neighbor” of the received ST-ID propagation packet is greater than “tag of starter’s neighbor” which the node stores. However, the nodes do not overwrite stored information and rebroadcast the packet if the sender’s node ID is equal to “tag of starter,” and “tag of starter’s neighbor” is equal to its own node ID. This prevents the ST-ID propagation packet from bouncing back. As a result, ST-ID propagation packets are expected to propagate in one direction. Before rebroadcasting the packet, the node updates its “tag of starter” and “tag of starter’s neighbor” by those in the packet. It also increments the ST-ID field of the packet by one modulo (
n
+
1
), that is, four in case n
=
3, and stores the value as its ST-ID. All nodes will get ST-ID by repeating rebroadcasts.If every node performs the above procedure simultaneously, their transmissions interfere with each other. To mitigate the interference and reduce power consumption, the initialization phase of ST-ID is divided into two slots. In the first slot (resp., the second), the nodes with even (resp., odd) layer ID perform the node with odd (resp., even) layer ID sleep. Since the first-level nodes do not need ST-ID, they sleep immediately after getting level. Thus, the procedure does not affect the system lifetime significantly.


## 3.2.4. Side Trip Stair Count

In ST phase, redundant packets are conveyed far away from their source node. It is desirable for the distance to be distributed randomly quarter through half away around the sink node rather than constant. This is because STNC scheme encodes packets with different tags as explained in Section3.2. As a result of the initialization of ST-IDs, nodes with different ST-IDs are expected at least apart by r, which is the transmission range. Then, the round distance can be regarded as θ
(
l
)
=
c
o
s
-
1
(
4
l
2
-
4
l
-
1
)
/
(
4
l
2
-
4
l
+
1
) [rad] on the circumference of circle in the lth level. In order to be apart quarter to half around on layer, redundant packets are transmitted until sender’s ST-ID changes (
π
/
2
)
/
θ
l times through π
/
θ
l times. This count is called “Side Trip Stair Count (STSC)” and denoted as C
s
t
a
i
r
(
l
). Assuming transmitting about three times until sender’s ST-ID changes, the total hop count of a redundant packet in ST phase is expected to be satisfied with(6)
3
C
stair
l
≤
TTL
S
T
l
. As a result, C
s
t
a
i
r
(
l
) is calculated as(7)
C
stair
l
=
u
min
⁡
π
/
2
θ
l
,
TTL
S
T
l
,
min
⁡
π
θ
l
,
TTL
S
T
l
,where u
(
x
,
y
) is a function that returns a random value in the range [
x
,
y
], x is the smallest integer not less than x, and x is the smallest integer not more than x. In the case where the layer width is two or more, l is the least level in each layer. As explained above, the reason why C
s
t
a
i
r
(
l
) is determined based on random values is that NC works well when nodes have redundant packets with different tags.In ST phase, each source node calculates STSC and set into the redundant packets. Every time the packet is relayed, the value of STSC is decremented. If STSC reaches zero, ST finishes. As mentioned earlier in this section, if a redundant packet finishes ST on any node with the same tag, ST is continued as long as the total hop count is less than or equal to the upper limitTTL
S
T
(
l
).


## 3.2.5. Example

Here let us explain STNC scheme using Figure4. In this figure, node shape represents tag kind. Suppose that STSC is set to 3 and all ST-IDs of nodes are different, so that redundant packet p
Q
′ of node Q finishes ST at node N which lies on the secondary path, Q–P–O–N, in ST phase. Then, in the collection phase, redundant packet p
Q
′ and the corresponding original packet p
Q travel to the sink via part of the secondary path, N–F–B–Sink, and the primary path, Q–H–C–Sink, of node N, respectively. (Note that, on this occasion, node N also utilizes the path N–F–B–Sink as the primary path to send original packet p
N.) In this case, even if nodes H and I are spatially destroyed, redundant packet p
Q
′ can reach the sink node via the secondary path. This is because the primary and the secondary paths are spatially separated. Next, suppose that, in parallel with the above, node L sets STSC to 2 and its redundant packet p
L
′ finishes ST at node N. In this case, since node N happens to have the redundant packets p
Q
′ and p
L
′ with different tags, it encodes them into packet p
Q
′
⊕
p
L
′. Then, in the collection phase, encoded packet p
Q
′
⊕
p
L
′ is relayed over part of the second path, N–F–B–Sink, which is also the primary path of node N. Since two redundant packets are merged into one encoded packet, the number of redundant packets on path N–F–B–Sink is halved. Further, even if nodes H and I (resp., nodes E and D) are destroyed, the sink node can extract original packet p
Q (resp., p
L) from original packet p
L (resp., p
Q) and encoded packet p
Q
′
⊕
p
L
′. Of course, the spatial node failure of nodes F and G does not affect original packets p
L and p
Q.Figure 4
Example of subtrees constructed by STNC scheme.


## 3.3. Node-State Scheduling

One of the effective ways to reduce power consumption is to make sensor nodes sleep for as long as possible. Further, nodes consume energy when transmitting, receiving, and overhearing packets [8]. In ST scheme and STNC scheme, the detouring of redundant packets in ST phase basically increases the number of packet transmissions as well as the unexpected overhearing events unless some countermeasure is taken. In this section, we explain slot-based node-state scheduling for ST(NC) scheme. All nodes perform scheduling synchronously, so that nodes which need not to transmit or receive any packets are put to sleep to reduce their active time as well as unexpected overhearing.In this scheduling approach, as shown in Figure5, time is divided into an infinite number of equal period cycles which consist of two phases: ST phase and collection phase. ST phase is divided into two slots, while collection phase is divided into at least 3
L
m
a
x slots in multiples of three. Slot length in the ST phase is not the same as that in the collection phase, and they are determined adequately according to packet lengths and so on. Slots in ST phase are labeled 1 and 2, while slots in collection phase are cyclically labeled 1, 2, and 3.Figure 5
Slot-based node-state scheduling.In ST phase, when thelth-level nodes awake to issue and relay redundant packets, both the (
l
-
1
)st- and (
l
+
1
)st-level nodes sleep to suppress overhearing and reduce their active time. Nodes whose level is an even (resp., odd) number wake in slot 1 (resp., 2). Node state in ST phase is summarized in Table 1. In ST phase, since the higher-level nodes relay their redundant packets more times than the lower-level nodes according to (7), the lower-level nodes finish ST earlier than the higher-level nodes. Since it is inefficient to leave the lower nodes awake with nothing to do, by setting a time-threshold adequately according to (7), the lower-level nodes are put to sleep earlier before the slot ends. Slot should be long enough for all nodes, especially the highest-level nodes, to finish ST within its duration. Let T
S
T denote the duration of slot. Lower-level nodes probably finish ST earlier than higher-level nodes. Therefore, we assume that lth-level nodes can finish ST within t
S
T
(
l
)
≤
T
S
T and T
S
T
=
t
S
T
(
L
m
a
x
). Let t
(
l
) denote the node traversal time of one packet, which is determined by packet size, transmission rate, the number of nodes, the number of nodes which can transmit at the same time, and so on. By using t
(
l
), the value of t
S
T
(
l
) is roughly estimated as(8)
t
S
T
l
=
C
^
stair
l
×
t
l
,where C
^
s
t
a
i
r
(
l
) is the average number of C
s
t
a
i
r
(
l
). Then, if layer width is two or more, t
S
T
(
l
) should be decided considering interference between different level nodes in a layer.Table 1
Slot action state in Side Trip phase.
Level modulo 2
Slot label
Slot 1
Slot 2
0
ST
Sleep
1
Sleep
STIn collection phase, each node transmits packets (Tx), receives packets (Rx), or sleeps according to scheduled state. Consequently, since different level nodes to transmit packets are three levels away from each other, interference at receiving nodes is mitigated. To do so, the nodes are divided into three groups based on the remainder of their level when divided by three, and each group behaves as shown in Table2. The sequence of three slots for transmission, reception, and sleep state needs to be repeated until all packets are collected by the sink node or a specified time has passed. In STNC scheme, nodes encode redundant packets which are satisfied with rules when slot state becomes Tx. In each Tx slot, the nodes without any packets to be transmitted can sleep. In our simulations shown in Section 4, however, such nodes stay awake in the same manner as in existing schemes in order to restrict the advantage of ST(NC). On the other hand, in each Rx slot, the leaf nodes, which have no upper level neighbor nodes, need not to receive any packets. Therefore, they sleep in Rx slot.Table 2
Slot action state in collection phase.
Level modulo 3
Slot label
Slot 1
Slot 2
Slot 3
0
Tx
Sleep
Rx
1
Sleep
Rx
Tx
2
Rx
Tx
SleepShorter slot restricts data collection delay. Too short slot, however, degrades the effect of NC. This is because each node has less redundant packets in a slot so that they cannot be encoded together. Therefore slot duration for collection phase should be set carefully according to scenarios. The higher-level nodes finish transmitting and relaying packets earlier, and it is inefficient to leave the lower nodes awake with nothing to do.If a node does not need to relay any packet from children and has no packet to send, it falls to sleep to reduce its active time. To do so, a node notifies its parent that it will sleep using a control packet called “sleep notification message.” Consequently, a parent node can enter sleep if it is notified from all children and has no packet to transmit. Finally, note that, in STNC scheme, the nodes in transmission state encode redundant packets with different tags, if any, before transmission. In each slot, nodes also transmit “sleep notification message” when they finish transmitting packets in the slot.


## 4. Performance Evaluation

In this section, we compare ST scheme and STNC scheme with the SMRP scheme, H-SPREAD scheme, and single path (SP) scheme using a self-developed simulator; the metrics are system lifetime, spatial node failure tolerance, and delay until all of the data are collected. Here, SP scheme is the scheme where each source uses a single path like a primary path of ST(NC) scheme. We consider two scenarios: the case of no node failure and the case of spatial node failure. In case of no node failure, we regard the period yielding 95% collection as system lifetime. Here, the collection ratio in a cycle is defined as the ratio of the number of data packets collected by the sink node to the number of all the sensor nodes. On the other hand, in the case of spatial node failure, we evaluate the failure avoidance ratio (FAR), which is defined below as (9), in terms of the spatial node failure tolerance. As mentioned in Section 1, a secondary disaster node is a node whose primary path is broken due to primary disaster. The failure avoidance ratio is a ratio to express how much data of secondary disaster nodes could be collected. Here, FAR is calculated by(9)
FAR
=
R
scheme
-
R
SP
R
limit
-
R
SP
,where R
scheme and R
SP are the collection ratio of a certain scheme and that of SP scheme, respectively, after failures occurred. R
limit is the collection ratio when all data of nodes except primary disaster nodes are collected.In ST(NC) scheme and SP scheme, the proposed node-state scheduling is executed as explained in Section3.3. Note that SP scheme does not have ST phase. It is not, however, applied straightforwardly to H-SPREAD scheme and SMRP scheme. To ensure a fair comparison, we should not disadvantage H-SPREAD scheme or SMRP scheme. Accordingly, in H-SPREAD scheme and SMRP scheme, instead of transmitting sleep notification messages, each node learns how many packets and how long it will take to relay packets in the first cycle, and in the following cycles, it falls asleep after transmitting the learned number of packets or a certain period of time. If the node falls asleep until a time out, it relearns how many packets it is to relay before sleeping. Then, we set time out according to preliminary experiments so that the nodes consume as little power as possible. Our preliminary experiments confirmed that the scheduling scheme provided by H-SPREAD scheme and SMRP scheme is almost equivalent to that of ST(NC) scheme in terms of suppression of active time. In our simulator, packets are lost only due to collision and node failure.


### 4.1. Simulation Settings

In circle area whose radius is 250 m, we placed 400, 500, 600, 700, 800, 900, and 1,000 sensor nodes randomly; the sink was placed in the center of the field. Each sensor node generates a data packet every 900 s. In our simulations, paths are persistently used for simplicity. In the case of severe disaster, nodes close to one another are more likely to either survive together or get destroyed together [1, 2]. Then, in the spatial node failure scenario, one point is randomly selected, and nodes within 20 m, 60 m, and 100 m from the point are disabled at 1,700 s. Path information packets in H-SPREAD scheme and encoded packets in STNC scheme include 2-byte overhead for one additional data’s node ID. The values of packet size, transmission rate, transmission power, reception power, sleep power, and battery capacity of the sensor nodes are summarized in Table 3 [8]. For each result, simulation trials were performed 300 times with different random seeds. In all schemes, when the sink node detects node failure, one approach is for the sink to reconstruct the tree topologies in the network. Such an approach is not considered here for simplicity. Such reconstruction would allow all schemes to restore the collection ratio to the same level but at the cost of drop in system lifetime.Table 3
Simulation settings in random topology.
Item
Value
Trials
300
Number of sink nodes
1
Number of sensor nodes
400, 500, 600, 700, 800, 900, 1,000
Field radius
250 m
Side Trip layer width
400, 500, 600, 700, 800 nodes
3
900, 1,000 nodes
2
Slot time in collection phase
ST(NC) scheme
2 s
SMRP and H-SPREAD schemes
1 s
Transmission range
30 m
Carrier sense range
60 m
Sensing interval
900 s
Failure area radius
20 m, 60 m, 100 m
Packet header
32 bytes
Packet payload
64 bytes
Control packet
16 bytes
Transmission rate
19.2 kbit/s
Transmission power
800μW
Reception power
500μW
Sleep power
0.5μW


### 4.2. Simulation Results

Figure6 shows the relative system lifetime ratio to SP scheme in the case of no node failure. This figure shows that STNC scheme has the longest system lifetime, followed in order by SMRP scheme, H-SPREAD scheme, and ST scheme in the case of 1,000 nodes. H-SPREAD scheme has the similar system lifetime as ST scheme. Thus, ST scheme has only slight influence on system lifetime. System lifetime strongly depends on how many packets are sent by the first-level nodes and how long they stay active. NC can decrease the number of redundant packets. This is why STNC scheme has the longest system lifetime. On the other hand, SMRP scheme has the second longest system lifetime. An analysis of the simulation results indicates that this is because some nodes could not find any secondary path so that they could not issue redundant packets at all in SMRP scheme. This will lead to lower resistance to node failure in the case of node failure. Then we did not conduct any simulations in the case of less than 400 nodes because the collection ratio is not always greater than 95%.Figure 6
Relative system lifetime ratio to SP scheme.Figures7, 8, and 9 show the failure avoidance ratio when the failure area radius is 20 m, 60 m, and 100 m, respectively. In high density topology, shortly after the failures, ST scheme offers the largest collection ratio, followed in order by STNC scheme, H-SPREAD scheme, and SMRP scheme. As expected, making a Side Trip enhances resistance to spatial node failure. Then, in STNC scheme, no data could be recovered from encoded packets by the sink node if packets whose data are included in the encoded packet are lost. On the other hand, in ST scheme, either just an original packet or its corresponding redundant packet has to survive. This is why ST scheme is superior to STNC scheme in terms of the resistance to spatial node failure. H-SPREAD scheme and SMRP scheme are inferior to ST and STNC because they fail to spatially separate the primary and secondary paths sufficiently. Further, the reason why SMRP scheme has the lowest collection ratio is that some nodes failed to secure a secondary path as explained in Section 2.2. On the other hand, in low density topology, FAR of H-SPREAD scheme is the highest. Note, however, that each scheme has lower FAR than that in high density topology. This is because that many nodes could not find a secondary path. Therefore, in order to enhance the tolerance, node density should be high to a certain extent.Figure 7
Failure avoidance ratio with node failures (failure area radius is 20 m).Figure 8
Failure avoidance ratio with node failures (failure area radius is 60 m).Figure 9
Failure avoidance ratio with node failures (failure area radius is 100 m).Next we evaluate how multipaths are disjointed from each other. To do so, we define distance as a Euclidean distance between nodes which exist on primary path and secondary path at one level lower than source node. Figure10 shows the average distance between multipaths when the number of nodes is 1,000. From this figure, we can see that ST(NC) scheme has longer distance than SMRP scheme and H-SPREAD scheme. This is because, in H-SPREAD scheme and SMRP scheme, when nodes discover multipaths, they choose second shortest path as a secondary path or use information of only one-hop neighbor nodes. This shortens the distance. Further, in SMRP scheme, source nodes at level 2 have a distance of zero since SMRP scheme uses tree topologies rooted at second-level nodes. On the other hand, ST(NC) scheme tries to detour a secondary path at the same level as a source node, and it utilizes tree topologies rooted at first-level nodes. From this figure, it can be confirmed that ST(NC) scheme is effective in separating multipaths spatially.Figure 10
Average distance between multipaths.The average delays until all of data are collected are 275.54 s, 226.55 s, 213.12 s, 256.62 s, and 83.34 s in ST scheme, STNC scheme, SMRP scheme, H-SPREAD scheme, and SP scheme, respectively. The delay of SP scheme is shorter than that of the others. This is because SP scheme uses only one path. In ST scheme and STNC scheme, ST phase prolongs the delay. However, STNC scheme has smaller delay than H-SPREAD scheme. This is because NC reduces the number of redundant packets. SMRP scheme has the shortest delay except ST scheme. This is because it generates fewer redundant packets than the others.From the above results, we could confirm that STNC scheme achieves the highest possible resistance to spatial node failure without shortening the system lifetime significantly in high density topology. ST scheme is the best in terms of resistance to spatial node failure but with a slight penalty in system lifetime and delay. If system lifetime and delay do not matter, ST scheme is the best choice.


## 4.1. Simulation Settings

In circle area whose radius is 250 m, we placed 400, 500, 600, 700, 800, 900, and 1,000 sensor nodes randomly; the sink was placed in the center of the field. Each sensor node generates a data packet every 900 s. In our simulations, paths are persistently used for simplicity. In the case of severe disaster, nodes close to one another are more likely to either survive together or get destroyed together [1, 2]. Then, in the spatial node failure scenario, one point is randomly selected, and nodes within 20 m, 60 m, and 100 m from the point are disabled at 1,700 s. Path information packets in H-SPREAD scheme and encoded packets in STNC scheme include 2-byte overhead for one additional data’s node ID. The values of packet size, transmission rate, transmission power, reception power, sleep power, and battery capacity of the sensor nodes are summarized in Table 3 [8]. For each result, simulation trials were performed 300 times with different random seeds. In all schemes, when the sink node detects node failure, one approach is for the sink to reconstruct the tree topologies in the network. Such an approach is not considered here for simplicity. Such reconstruction would allow all schemes to restore the collection ratio to the same level but at the cost of drop in system lifetime.Table 3
Simulation settings in random topology.
Item
Value
Trials
300
Number of sink nodes
1
Number of sensor nodes
400, 500, 600, 700, 800, 900, 1,000
Field radius
250 m
Side Trip layer width
400, 500, 600, 700, 800 nodes
3
900, 1,000 nodes
2
Slot time in collection phase
ST(NC) scheme
2 s
SMRP and H-SPREAD schemes
1 s
Transmission range
30 m
Carrier sense range
60 m
Sensing interval
900 s
Failure area radius
20 m, 60 m, 100 m
Packet header
32 bytes
Packet payload
64 bytes
Control packet
16 bytes
Transmission rate
19.2 kbit/s
Transmission power
800μW
Reception power
500μW
Sleep power
0.5μW


## 4.2. Simulation Results

Figure6 shows the relative system lifetime ratio to SP scheme in the case of no node failure. This figure shows that STNC scheme has the longest system lifetime, followed in order by SMRP scheme, H-SPREAD scheme, and ST scheme in the case of 1,000 nodes. H-SPREAD scheme has the similar system lifetime as ST scheme. Thus, ST scheme has only slight influence on system lifetime. System lifetime strongly depends on how many packets are sent by the first-level nodes and how long they stay active. NC can decrease the number of redundant packets. This is why STNC scheme has the longest system lifetime. On the other hand, SMRP scheme has the second longest system lifetime. An analysis of the simulation results indicates that this is because some nodes could not find any secondary path so that they could not issue redundant packets at all in SMRP scheme. This will lead to lower resistance to node failure in the case of node failure. Then we did not conduct any simulations in the case of less than 400 nodes because the collection ratio is not always greater than 95%.Figure 6
Relative system lifetime ratio to SP scheme.Figures7, 8, and 9 show the failure avoidance ratio when the failure area radius is 20 m, 60 m, and 100 m, respectively. In high density topology, shortly after the failures, ST scheme offers the largest collection ratio, followed in order by STNC scheme, H-SPREAD scheme, and SMRP scheme. As expected, making a Side Trip enhances resistance to spatial node failure. Then, in STNC scheme, no data could be recovered from encoded packets by the sink node if packets whose data are included in the encoded packet are lost. On the other hand, in ST scheme, either just an original packet or its corresponding redundant packet has to survive. This is why ST scheme is superior to STNC scheme in terms of the resistance to spatial node failure. H-SPREAD scheme and SMRP scheme are inferior to ST and STNC because they fail to spatially separate the primary and secondary paths sufficiently. Further, the reason why SMRP scheme has the lowest collection ratio is that some nodes failed to secure a secondary path as explained in Section 2.2. On the other hand, in low density topology, FAR of H-SPREAD scheme is the highest. Note, however, that each scheme has lower FAR than that in high density topology. This is because that many nodes could not find a secondary path. Therefore, in order to enhance the tolerance, node density should be high to a certain extent.Figure 7
Failure avoidance ratio with node failures (failure area radius is 20 m).Figure 8
Failure avoidance ratio with node failures (failure area radius is 60 m).Figure 9
Failure avoidance ratio with node failures (failure area radius is 100 m).Next we evaluate how multipaths are disjointed from each other. To do so, we define distance as a Euclidean distance between nodes which exist on primary path and secondary path at one level lower than source node. Figure10 shows the average distance between multipaths when the number of nodes is 1,000. From this figure, we can see that ST(NC) scheme has longer distance than SMRP scheme and H-SPREAD scheme. This is because, in H-SPREAD scheme and SMRP scheme, when nodes discover multipaths, they choose second shortest path as a secondary path or use information of only one-hop neighbor nodes. This shortens the distance. Further, in SMRP scheme, source nodes at level 2 have a distance of zero since SMRP scheme uses tree topologies rooted at second-level nodes. On the other hand, ST(NC) scheme tries to detour a secondary path at the same level as a source node, and it utilizes tree topologies rooted at first-level nodes. From this figure, it can be confirmed that ST(NC) scheme is effective in separating multipaths spatially.Figure 10
Average distance between multipaths.The average delays until all of data are collected are 275.54 s, 226.55 s, 213.12 s, 256.62 s, and 83.34 s in ST scheme, STNC scheme, SMRP scheme, H-SPREAD scheme, and SP scheme, respectively. The delay of SP scheme is shorter than that of the others. This is because SP scheme uses only one path. In ST scheme and STNC scheme, ST phase prolongs the delay. However, STNC scheme has smaller delay than H-SPREAD scheme. This is because NC reduces the number of redundant packets. SMRP scheme has the shortest delay except ST scheme. This is because it generates fewer redundant packets than the others.From the above results, we could confirm that STNC scheme achieves the highest possible resistance to spatial node failure without shortening the system lifetime significantly in high density topology. ST scheme is the best in terms of resistance to spatial node failure but with a slight penalty in system lifetime and delay. If system lifetime and delay do not matter, ST scheme is the best choice.


## 5. Conclusions

One of the important issues is to create data-gathering WSNs that offer enhanced resistance to spatial node failures. Existing multipath schemes, that is, H-SPREAD scheme and SMRP scheme, however, do not have insufficient spatial node failure tolerance because primary and secondary paths are not spatially separated enough. In this paper, we have proposed the Side Trip (ST) scheme and Side Trip with Network Coding (STNC) scheme; both offer improved resistance to spatial node failure. Our simulation results show that, in high density topology, ST scheme achieves the highest collection ratio in the case of spatial node failure; STNC offers the next highest ratio without affecting the system lifetime significantly. Considering that the WSNs tend to consist of a lot of nodes which are deployed in high density, ST scheme and STNC scheme are efficient to achieve tolerance to spatial node failure without shortening the system lifetime significantly.



---

*Source: 9161625-2016-04-10.xml*