Abstract
Keywords
Introduction
Routing is one of the key techniques in wireless sensor network (WSN). Any application such as ecological environment monitoring, health care, target tracking, and agriculture surveillance needs routing technique for forwarding sensed data by sensor nodes through several relay nodes to the base station (BS) or monitoring center. So far, many routing protocols have been proposed according to the requirement of different applications in WSN.1–5
This article is focused on one-dimensional queue WSN, a linear network of regular network topology. In topology such as tree or mesh structure used in many applications, sensor nodes are distributed randomly in areas that are beyond people’s reach. However, in one-dimensional queue WSN, nodes are uniformly and densely deployed on a line and this type of network offers many applications such as ecological environment monitoring system along a river, fire monitoring and controlling system along a corridor, smart traffic monitoring system along a road, and tunnel or bridge and petroleum pipeline remote monitoring system. In such one-dimensional queue WSN, the geographical location of each node is fixed, and the distance between two neighboring nodes is always uniform and sensed data can only be forwarded in one direction to the BS. So the network becomes more unreliable and has high probability that network may be partitioned if some continuous nodes have run out of their energy. 6 Therefore, it should be key metrics of designing routing protocol in one-dimensional WSNs to ensure energy efficiency and sensed data relay latency by balancing and optimizing energy consumption. Furthermore, including sleep mode in routing design through timeslot allocation could prolong the network lifetime by ensuring energy efficiency and also satisfy the requirement of sensed data relay latency considering interference between nodes in some degrees.
But existing routing protocols7–13 in WSNs including one-dimensional queue WSN attempt to find the path of minimum energy consumption from the source node to the BS to achieve optimal energy consumption, considering that transmitting data consumes much more energy than collecting data. Besides, some other routing protocols6,14–18 are proposed to ensure energy efficiency and to improve sensed data report latency. So far, several routing protocols for one-dimensional queue WSNs have been proposed but many of them don’t address the problem to improve the network lifetime by introducing sleep mode when opportunistic routing algorithms gathering constant data are adopted in one-dimensional queue WSNs having the fixed sink.
Our objective in this work is to solve the problem of energy efficiency raised when data gathering opportunistic routing algorithms are used in one-dimensional queue WSNs in the case of fixed sink. For this, we propose the distributed opportunistic routing algorithm accompanied by timeslot allocation in one-dimensional queue WSNs. The main idea of this algorithm is to achieve better energy efficiency by reducing overhead consumption of unnecessary control messages through opportunistic routing accompanied by timeslot allocation. This work should meet the goal to improve the network lifetime. For this goal, we optimize energy consumption by performing routing tree construction using predefined optimal relay distance based on opportunistic routing (OR) and interference-free timeslot allocation simultaneously and reduce various control messages used through this process by using characteristics of network topology so as to reducing energy consumption. In one-dimensional queue WSNs, the network topology is linear so identification of each node is unique and continuous and the geographical position is certain. Using such characteristic, as small number of messages as possible could be needed through clustering and constructing the routing tree accompanied by timeslot allocation. To prolong the network lifetime further by improving energy efficiency, it is crucial to reduce overhead consumption of various control messages used in constructing the routing tree by clustering and timeslot allocation on it as much as possible.
The contributions of our work are as follows:
We define construction of the routing sub-tree and timeslot allocation problem to reach the main objective of our work.
We present a distributed energy-efficient OR algorithm that routing tree construction and timeslot allocation are performed at the same time by using specific network topology of one-dimensional queue WSN.
Operation mode giving up CH role in clustering is introduced to improve the energy efficiency of the proposed algorithm more and more.
We analyze several properties of the proposed algorithm.
Extension simulations are conducted to demonstrate that the proposed protocol supports better energy efficiency than the other existing similar protocols.
The remainder of the work is organized as follows: section “Related works” gives a brief introduction of prior works in one-dimensional queue WSN. Section “System model and problem description” describes the network model and system model for the proposed protocol. A distributed energy-efficient opportunistic routing accompanied by timeslot allocation (DEEOR-TA) is detailed in section “The proposed algorithm”. Section “Protocol analysis” considers characteristics of the proposed protocol analytically. Section “Performance evaluation” analyzes the performances of DEEOR-TA and simulation results in detail and this work is concluded by the conclusions in section “Conclusion.”
Related works
Traditional routing protocols for WSNs have been proposed as the best path way by preselecting one or more fixed optimal routes before starting transmission and relaying packets through the fixed neighbors to a relay node. However, this way is not applicable to dynamic wireless environment which would trigger excessive link-level retransmission.
Therefore, OR is proposed. The main principle of OR is to overcome the drawback of unreliable wireless transmission by employing advantage of broadcast nature of the wireless medium that one transmission can be overheard by multiple neighbors. 19 Out of this, it is known that forwarding can be continued as long as at least one neighbor along a route receives packets. It can improve the performance of traditional routing. The key issues in design of OR include forwarder set selection, prioritization, and duplicate transmission avoidance. We categorize the previously proposed OR protocols by different standards. 19 By forwarder set selection method, it is classified in end-to-end forwarder set selection and hop-to-hop forwarder set selection.
End-to-end forwarder set selection such as ExOR (Extreme Opportunistic Routing), 20 MORE (MAC-independent Opportunistic Routing and Encoding), 21 and Opportunistic routing in dynamic Ad Hoc networks (OPRAN) 22 prioritizes the forwarder candidates by using predicted transmission count. ExOR integrates routing and MAC protocols. It improves routing performance by using long wireless link with high loss rate. Here, nodes closer to the destination node than a source node are included in forwarder set. MORE integrates OR and intra-flow network and is proposed for improving ExOR. Different from ExOR that uses duplicated packets, MORE uses the concept of innovative packets for judging whether received packets bring new information or not. OPRAN forms braid multipath set between source and destination through demand routing to support opportunistic forwarding. For this purpose, this protocol makes intermediate nodes record more sub-paths back to the source node and downstream to the destination station. With hop-to-hop forwarder set selection such as CORE, 23 OAPF, 24 and ENS_OR, 7 each packet holder independently decides its own forwarder set along the path to the expected destination. Coding-aware opportunistic routing mechanism (CORE) makes a packet holder forward a packet to the next hop that leads to the best coding changes in its forwarder set by integrating localized network coding and OR. Such hop-to-hop forwarder set selection operation can significantly improve the end-to-end coding gain in packet delivery with little extra overhead consumption. OAPF (Opportunistic Any-Path Forwarding) introduces an any-path count (EAX) expected by possible forwarders and recursively calculates the near-optimal forwarder set at each possible forwarder to reach the destination. So extra high calculation overhead should be paid and more network state information should be gathered. Energy saving via opportunistic routing (ENS_OR) adopted the concept of an energy equivalent node for forwarder set selection based on OR principle in one-dimensional opportunistic network and derived the optimal transmission distance for energy saving and maximizing the network lifetime using it. ENS_OR with sleep mode algorithm 8 is developed to decrease energy wastage due to the idle listening of nodes in ENS_OR, which is the main drawback of ENS_OR. It derives the optimum sleep interval using the current flow rate to increase the substantial amount of energy saving and prolong the lifetime of the network. This algorithm is event triggering scheme, that is, when an event is triggered, the node awakes instantly, receives data and the received data is transmitted to the sink node via the highest priority nodes. This is not adequate in the case of data gathering like our proposed method that all nodes sense and transmit data. Routing can also be classified into event triggering scheme, which drives routing algorithms when an event occurs, and data gathering scheme that constantly collects indices such as temperature and humidity in whole surveillance region. In data gathering scheme, ways of moving the sink to enhance the energy efficiency are studied.25,26 These studies introduce the mobile sink for data gathering to handle the problem of unbalanced energy consumption. Our work aims to solve the problem of energy efficiency raised when data gathering OR algorithms are adopted in one-dimensional queue WSNs in the case of fixed sink.
Also, OR can be classified into location-based selection and topology-based selection according to the location of node and topology of network. Topology-based selections such as ExOR, MORE, CORE, and OAPF enable efficient OR by using local or global state information. Location-based selections such as GeRaF, 27 EQGOR, 16 ENS_OR, 7 and TE-OR 6 determine a forwarder and its priority based on very little topology-based and no global topology-based network state information. GeRaF (Geographic Random Forwarding) is based on geographical location of each node and random forwarder selection via competition. In GeRaF, each packet carries the location information of the source and destination and only neighboring nodes closer to the destination than the source can be forwarder candidates. EQGOR (Efficient QoS-aware Geographic Opportunistic Routing) suggests multipurpose-multi-criteria optimal problem that satisfies various criteria together with energy efficiency, report latency and time complexity, and select forwarder candidates set and prioritize them using effective solving method. Time-aware and energy-efficient opportunistic routing (TE-OR) gathers residual energy of forward neighbors, pre-calculates, and prioritizes the forwarder set. It achieves energy efficiency and sensed data report latency goals by adopting different parameters to various types of packets.
System model and problem description
Network model
We consider the network model of one-dimensional queue WSNs with linear topology. In this model, nodes are uniformly deployed in a line and each node is provided with a unique and successive identification from 1 to M. All nodes except BS are powered by limited unchargeable battery.
It is assumed that transmission range, one of the key parameters, is set in
Let the number of nodes in the maximum transmission range be
The one-dimensional queue network can be modeled by a connected graph
Energy model
In this article, we refer to transmitting and receiving energy consumption model of wireless communications as it is used by Bhardwaj et al.
29
and Min et al.
30
The energy consumption of transmitting and receiving
where
Problem description
Construction of the routing tree is the precondition for collecting sensed data in WSNs. In Luo et al., 7 the optimal transmission distance to prolong the network lifetime by maximizing energy efficiency is derived as a constant (approximately 32 m). Therefore, in our work, we will achieve energy efficiency in forwarding by adopting this optimal transmission distance in one-dimensional queue WSN as the one for communication between two neighboring cluster heads (CHs). From now on, this distance will be called the optimal relay transmission distance. The optimal relay transmission distance is changed according to actual condition such as the distance to an energy equivalent node from each node and residual energy of each node in forwarder set. In general, routing based on clustering includes clustering (deciding a cluster head and cluster members joined to it) and then constructing the routing tree for relaying. However, since the network topology is linear and the relay distance between clusters are confirmed, clustering and constructing the routing tree are performed simultaneously. Clustering and constructing the routing tree are accompanied by exchanging control messages. So simultaneous performance of these two stages enables the number of control messages to be reduced.
Besides, in timeslot allocation phase, which introduces sleep mode, a timeslot is allocated to each node in the routing sub-tree that is included in data collection set following the demand of a monitor without interference based on the routing tree that includes all nodes in entire network. In general, construction of routing sub-tree consisting of the above data collection set and timeslot allocation are not performed simultaneously. First, the routing sub-tree is constructed and then control messages are used for timeslot allocation. However, special topology of one-dimensional queue WSN provides the possibility that even timeslot allocation could be simultaneously performed and enables the number of control messages to be reduced.
From above consideration, we define construction of the routing sub-tree and timeslot allocation problem to reach the main goal of our work as follows.
Definition 1
Given one-dimensional queue network
Such problem is realized by following algorithm.
The proposed algorithm
Distributed Energy Efficient Opportunistic Routing accompanied by Timeslot Allocation (DEEOR-TA) is summarized as follows. DEEOR-TA algorithm is run in several rounds and each round involves two phases of clustering-based routing tree construction accompanied by timeslot allocation and data transmission.
Clustering-based routing tree construction phase accompanied by timeslot allocation contains two stages of routing tree construction and timeslot allocation. In a stage of the routing tree construction, the whole one-dimensional WSN is divided into clusters by selecting cluster heads (CHs) and cluster member (CM) nodes based on the optimal relay transmission distance. During this, the routing tree for collecting and relaying sensed data is also constructed. In timeslot allocation stage, energy consumption is minimized by allocating timeslots to CH nodes and their CM nodes based on the routing tree construction (BS is located at the root, a CH at each edge and CM nodes in leaves). Considering interference between nodes, timeslot allocation and constructing the routing tree are performed at the same time so that another control messages for timeslot allocation would not be used. This enables total sensed data report latency to be minimized. So the total energy consumption could be reduced further. To balance the energy consumption and prolong the network lifetime further, CH role giving up operation mode is adopted that makes a node plays only the role of CM node if its residual energy reaches its lower threshold. In data transmission phase, each sensor node aggregates its sensing data to its CH in an interference-free timeslot allocated to itself in the whole network and each CH conducts the aggregated sensing data to BS via the constructed routing tree.
The description of control messages that are used in the proposed algorithm is illustrated in Table 1.
Description of control messages.
As shown in Table 1, distance to BS or number of relay nodes is not represented in fields of all control messages. In one-dimensional network node-ID can represent its geographical location, so it can be calculated when the identification of each node, node_ID, is received correctly.
More details are provided in the following sections.
Cluster-based routing tree construction and timeslot allocation
Clustering-based routing tree construction
At this stage, CHs are selected among sensor nodes and the routing tree is constructed via them. For this purpose, we define the wireless transmission range
First-level cluster
At the beginning, BS initializes new data collecting task and broadcasts BS_Msg message in
where
Then, each node that receives BS_Msg massage within
After exchanging Hello_Msg messages, the first-level cluster is formed. Each node gets neighboring nodes’ local information via exchanging Hello_Msg messages and compares its priority with the others. From formula (3), it is known that the node that is closer to
Afterward,
Since the first-level cluster plays the role of relaying more than sensing, different ways may be used to balance the energy consumption: increasing density of node in a cluster, forming two-dimensional cluster in the first-level cluster, making nodes in the first-level cluster be only responsible for relaying and so on. Each member node
Lower level cluster
Each node in lower levels, which receives CH_Msg from the higher cluster and was not joined to the higher cluster, calculates its priority by formula (3). It represents the possibility that may be selected as a cluster head. Next, each node gets local information of neighboring nodes via exchanging Hello_Msg and

Clustering-based routing tree construction in one-dimensional queue WSN.
CH role giving up operation mode
To balance the energy consumption and to prolong the network lifetime, CH role giving up operation mode is introduced. In this mode, a node with residual energy that reaches the predefined energy threshold gives up CH role and plays only the role of CM. In more detail, in the successive data collection process, if all nodes in
Then, formula (3) will be changed as follows
All nodes in a cluster recognize whose residual energy reaches the lower threshold through taking local information by exchanging Hello_Msg. In other words, a node with residual energy that reaches the lower threshold value sets its priority to 0 as shown in formula (4) and exchanges its priority. A node with priority 0 is excluded in selection of CH and senses data playing only the role as CM. If all nodes have lower residual energy than the lower threshold
Timeslot allocation
At this stage, timeslots are allocated to each node in routing sub-tree at the same time as the routing sub-tree including all nodes in
Timeslot allocation to the first-level cluster
First of all,

Configuration of sub-timeslots among a timeslot.
All nodes in the first-level cluster would be recognized whether the others are included in
Once
Once the selected
As mentioned above, in our work, a parent node just sets out sub-timeslots which are not occupied yet and a child node occupies them for itself different from prior works where a parent node allocates sub-timeslots to its child nodes. The precondition for using this method is that the network topology is one dimensional and linear. So each node has the unique and consecutive identification and certain geographical position.
Timeslot allocation to the lower level cluster
In the lower level (
where
Then, the remaining is allocated to the neighboring nodes from the forward neighboring nodes
Then,
where

Timeslot allocation in one-dimensional queue WSN.
Data transmission
In this case, a CM node, which occupies a timeslot, would wake up so as to transmit its sensed data to its CH during its timeslot.
Then, it would go to sleep. Note that a CH needs to wake up to aggregate data relayed from the lower level CH and sensed data by CMs in the current level, and that relays data to the upper level CH along the routing tree
Protocol analysis
Theorem 1
The overhead complexity of control messages, when DEEOR-TA is run, becomes 2M in each round.
Proof
For a new collecting task, each node within
where
Theorem 2
If the number of relay nodes interfering with each other is
Proof
Let each node have one or two direct neighboring nodes and interfere with each node in
Eventually, the number of timeslots and sub-timeslots for interference-free timeslot allocation must be set
There are
Theorem 3
Energy consumed for timeslot allocation of DEEOR-TA never reaches by twice of optimal value.
Proof
In timeslot allocation that is interference-free timeslot allocation to each node in the data collection set
Each node switches its mode (from sleep mode to active mode) at least twice in the proposed timeslot allocation. In more detail, as shown in Figure 4, CM must wake up for transmitting its own sensed data to its CH.

Data aggregating and relaying based on the routing tree in one-dimensional queue WSN.
Besides, CH must wake up for aggregating sensed data from every CM node including itself while receiving aggregated data from the lower level cluster and for transmitting aggregated data to the upper level cluster according to its reception requirement.
As there are
The total energy consumption of the proposed protocol is expressed as formula (8)
where
Performance evaluation
In this section, we evaluate the performance of our protocol in various aspects and then compare with ENS_OR and TE_OR, OR algorithms in one-dimensional queue WSN.
Simulation environment
We conduct experiment by MATLAB with 200 nodes uniformly distributed over a line. The uniform distance between neighboring nodes(Dmin) is 5–25 m and inter-cluster and intra-cluster communication distances are, respectively, set rinter =D
Other simulation parameters are listed in Table 2.
Simulation parameters.
In this article, we assume that all nodes in entire Next, network are included in data collecting set
Performance metrics
We define four measurable metrics to evaluate the performance of DEEOR-TA in one-dimensional queue WSN.
Average of residual energy: More average residual energy indicates better energy efficiency of routing algorithm and it would help to prolong the network lifetime.
Variation of residual energy: It is used as a metric to evaluate the energy balancing characteristic and deviation. The smaller it is, the better the balancing characteristic and deviation are. It is calculated as standard deviation of residual energy.
Number of dead node: It is the number of nodes that run out of energy. This metric reflects connectivity of one-dimensional WSN. If dead time of a node is long, the number of dead nodes doesn’t decrease and good network connectivity can be hold.
Network lifetime: the network lifetime is defined as the time when the BS is unable to receive packet sent from the source node. It is closely related to the energy consumption and network connectivity.
Simulation results and analysis
Performance of DEEOR-TA
We assume that each node in the network periodically senses data and reports. Under this assumption, we consider the energy efficiency of DEEOR-TA.
First, we evaluate how parameter
We use priorities calculated by formula (9) for selection of CH. It is known that the suitable range of the value of
Next, Figure 5 shows the simulation results when data is aggregated to BS using the routing tree with timeslot allocation and without timeslot allocation. DEEOR denotes the routing algorithm without timeslot allocation and DEEOR-TA denotes the routing algorithm with timeslot allocation. In addition, DEEOR-TA uses CH role giving up operation mode.

Various performance of the proposed protocol: (a) average of residual energy, (b) number of dead nodes, (c) variation of residual energy, (d) network lifetime, (e) variation of residual energy, and (f) number of dead nodes.
From the simulation results, if we introduce sleep mode we can prolong the network lifetime about three times compared with the case without sleep mode, where the distance between two neighboring nodes is 5 m. In the cases of extra distance between two neighboring nodes, the network lifetime can be prolonged more than twice.
Especially, Figure 5(e) and (f) illustrates that the variation of residual energy and the number of dead nodes decrease if CH role giving up operation mode is introduced so that we can balance energy consumption to prolong the network lifetime more.
Comparison with other protocols
We analyze our protocol compared with ENS_OR, 7 ENS_OR with sleep mode 8 and TE_OR. 6 We conduct following experiment considering that ENS_OR or TE-OR is an OR algorithm only for relaying data but sleep mode is not introduced and interference is not considered.
Both ENS_OR with idle mode and ENS_OR with sleep mode are event triggering schemes. ENS_OR with sleep mode is also run as the same way with ENS_OR with idle mode in data gathering scheme that all nodes sense data in cycle during a timeslot allocated to itself like our proposed algorithm. So we expand ENS_OR (ENS_OR with sleep mode) and TE-OR into the cases with timeslot allocation and compare with our protocol. We set the interference-free communication range

Comparison of performance of various routing protocols: (a) average of residual energy, (b) variation of residual energy, (c) number of dead nodes, and (d) network lifetime.
This is because the number of CH nodes that consume much energy is small in the beginning of operation compared with the total number of nodes but after certain time, all nodes play the role of CH so variation of residual energy gets small. Especially, using CH role giving up operation mode makes this parameter smaller. And in ENS_OR and TE-OR, data are not aggregated and directly relayed by finding opportunistic relay distance. Thus, the energy consumption is balanced in certain time but it increases rapidly when nodes run out of energy. Figure 6(c) shows that ENS_OR and TE-OR are pure relay node selection algorithm without clustering and they can prolong the network lifetime before the certain time. After the certain time, the number of dead nodes increases rapidly. Especially, in TE-OR relay distance of each node is longer than of others so it has shorter latency but greater energy consumption. Thus, nodes are dead faster than ENS_OR. And in preceding two algorithms, nodes are dead at the same time since all nodes transmit data in opportunistic relay distance.
In total, Figure 6(d) shows that our protocol can significantly prolong the network lifetime compared with ENS_OR and TE-OR with rough timeslot allocation. In more detail, simulation results show that our protocol can help to prolong the network lifetime more than twice when the distance between two neighboring nodes is 5–20 m. And when the distance is 25 m, the network lifetime of our protocol is similar to that of ENS_OR because one node is just one cluster and only plays the role of relaying.
Conclusion
Optimization of energy consumption is one of the key problems in routing design in one-dimensional queue WSN. In this work, we have proposed a distributed energy-efficient opportunistic routing algorithm that routing tree construction and timeslot allocation are performed at the same time by using specific network topology of one-dimensional queue WSN. Existing opportunistic routing algorithms in one-dimensional queue WSN have been proposed as OR for ensuring energy efficiency and time limit regardless of introduction of timeslot allocation and interference between sensor nodes. Our main goal is to minimize the energy consumption derived from overhead of control messages as possible by performing timeslot allocation and routing tree construction simultaneously with the characteristic of linear network topology. For this purpose, we have given the definition of the routing tree construction and timeslot allocation problem using optimal relay transmission distance of OR in one-dimensional queue WSN and explained the detailed algorithm. We have optimized not only its energy consumption by introducing sleep mode that ensures data aggregation to BS without interference but also have improved its energy efficiency by adopting operation mode giving up CH role in clustering. Extension simulation results show that the proposed protocol supports better energy efficiency than the other existing protocols, so it can help to prolong the network lifetime.
