Abstract
In wired networks, monitor-based network tomography has been proved to be an effective technology for network internal state measurements. Existing wired network tomography approaches assume that the network topology is relatively static. However, the network topology of sensor networks is usually changing over time due to wireless dynamics. In this paper, we study the problem to assign a number of sensor nodes as monitors in large scale sensor networks, so that the end-to-end measurements among monitors can be used to identify hop-by-hop link metrics. We propose RoMA, a Robust Monitor Assignment, algorithm to assign monitors in large scale sensor networks with dynamically changing topology. RoMA includes two components, confidence-based robust topology generation and cost-minimized monitor assignment. We implement RoMA and evaluate its performance based on a deployed large scale sensor network. Results show that RoMA achieves high identifiability with dynamically changing topology and is able to assign monitors with minimum cost.
1. Introduction
Network tomography techniques [1] use end-to-end measurements to calculate hop-by-hop link metrics, such as delay and packet reception ratio. Recent advances in network tomography techniques [2–4] show that cycle-free measurement paths among monitors can be used to form a linear system on the internal unknown link metrics. Then these unknown link metrics can be calculated by solving the linear system. In order to successfully solve the linear system, sufficient linearly independent measurement paths should be able to be conducted among the monitors, requiring the monitors assignment to comply with certain conditions.
Existing works assume relatively static network topologies and uniform cost of assigning monitors, since they all focus on wired communication networks. Then these works focus on calculating the minimum monitor assignment to enable sufficient linearly independent measurement paths. In wireless sensor networks (WSNs), however, the network topologies keep changing over time [5, 6], due to the wireless dynamics. Further, assigning a monitoring node to different nodes in a deployed network usually requires different cost, depending on the environmental conditions, the location of each node, and so forth. Therefore, existing techniques cannot be applied into WSNs directly.
In this paper, we focus on calculating a minimum cost monitor assignment in a WSN, given the dynamic changing network topology. In particular, we propose RoMA, a Robust Monitor Assignment, algorithm to assign monitors with minimum cost in large scale sensor networks with dynamically changing topology. RoMA includes two components, confidence-based robust topology generation and cost-minimized monitor assignment. The confidence-based robust topology generation merges multiple historical topologies based on a confidence value. It generates a robust topology, which captures the dynamic changing topology over time. Based on this robust topology, the cost-minimized monitor assignment component of RoMA assigns monitors with minimum overall cost.
We implement RoMA and evaluate its performance through extensive simulations based on a deployed large scale sensor network. Compared with MMP [2], RoMA assigns fewer monitors with high link metric identifiability and achieves a much smaller overall cost.
The rest of the paper is organized as follows. Section 2 describes the related work of RoMA. Section 3 formulates the problem. Section 4 describes the design of RoMA. Section 5 presents evaluation results. Finally, Section 6 concludes the paper.
2. Related Work
Based on the model of link metrics, existing work on measuring the network internal state can be broadly classified as hop-by-hop and end-to-end approaches. Hop-by-hop approaches use diagnostic tools such as traceroute, pathchar [7], and Network Characterization Service (NCS) [8] to measure hop-by-hop link metrics directly. By sending multiple probes with different time-to-live fields, traceroute can measure the delay of each hop on the probed path. Pathchar uses a similar approach to measure hop-by-hop delays, capacities, and loss rates. NCS also reports available capacities of each hop.
End-to-end approaches use end-to-end metrics to calculate internal link metrics. They assume the network is controllable; otherwise, the minimum monitor assignment problem has been proved to be NP-hard [9–11]. The basic idea is to build a linear system from the path measurements and use linear algebraic techniques to calculate the unknown link metrics [12, 13]. When cyclic measurement paths are allowed, [14] gives the necessary and sufficient conditions on the network topology. Since routing along cycles is typically prohibited in real networks, [2] gives the necessary and sufficient conditions on the network topology when only cycle-free measurement paths are used.
However, in WSNs, the network topologies keep changing over time and existing techniques cannot be applied into WSNs directly. In this paper, we focus on calculating a minimum cost monitor assignment in a WSN, given the dynamic changing network topology, to calculate all link metrics. We propose RoMA, a Robust Monitor Assignment, algorithm to assign monitors with minimum cost in large scale sensor networks with dynamically changing topology.
3. Problem Formulation
We model the network topology as an undirected graph
Let
We want to assign a number of nodes in the network as monitors to initial/collect measurement packets. In the current problem formulation, we assume that all link metrics are unknown before the network tomography. After assigning monitors, we can use the algorithm STPC [3] to find a set of linearly independent paths between monitors efficiently. Each of these paths represents a row of R and the sum of metrics along the path is an element of c. So we can solve the unknown link metrics by solving for w given R and c. Since assigning a node as a monitor usually needs nonnegligible operational cost (e.g., hardware/software, human efforts), we focus on assigning monitors with minimum cost to identify most of the links.
4. Design
The design of RoMA includes two components: confidence-based robust topology generation and cost-minimized monitor assignment. The confidence-based robust topology generation algorithm uses instant topologies to generate a robust topology. The cost-minimized monitor assignment algorithm provides a subset of nodes in the robust graph as monitors with the minimized cost. The set of monitors can identify all links in the robust graph and the majority of links in future topologies.
4.1. Confidence-Based Robust Topology Generation
Due to wireless dynamics and interference, a node usually transmits its packets to different receivers at different time. Therefore, RoMA first generates a robust topology of a WSN for monitor assignment. The input of RoMA is a number of packets received by sink. In each packet k, there are three data fields related to RoMA, which are the origin
(1) Construct a set of instant topologies (2) L = (3) set (4) (5) (6) (7) select l as an link in
4.2. Cost-Minimized Monitor Assignment
Then RoMA assigns monitors with minimum cost in the robust topology A graph is connected if there is a path from any point to any other point in the graph. A k-connected component of G is a maximal subgraph of G that is either (i) k-vertex-connected or (ii) a complete graph with up to k vertices. The case of A cut-vertex is a vertex whose removal will disconnect the graph. A 2-vertex cut is a set of two vertices Nodes that are cut-vertices or part of 2-vertex cuts are called separation vertices.
Figure 1 shows an example which illustrates the above concepts. In this example, the whole graph is a connected graph. It contains two biconnected components, which are separated by a cut-vertex. There is also a triconnected component shown in the figure, which is connected to the graph by a 2-vertex cut.

An example that illustrates several graph theory concepts.
If all vertices are assigned as monitors, it is obvious that all links are identifiable. However, assigning a node as a monitor usually needs nonnegligible operational cost (e.g., hardware/software, human efforts); RoMA tries to assign monitors with minimum cost to identify most of the link metrics. A recent work MMP [2] assigns the minimum number of monitors to identify all links in a connected graph. It is actually a special case when all vertices have the same cost to be assigned as monitors. Different with MMP, RoMA calculates a subset of nodes in the robust graph as monitors with the minimum cost.
Ma et al. [2] show that there are 4 rules which must be satisfied to identify a topology with the minimum number of monitors.
A node whose degree is one must be a monitor. A node on a tandem of links (degree is two) must be a monitor. For a subgraph with two cut-vertices or a 2-vertex cut, at least one node other than those cuts must be a monitor. Similarly, for a subgraph with one cut-vertex, at least two nodes other than the cut-vertex must be monitors.
As shown in Algorithm 2, the cost-minimized monitor assignment method follows rules (i) and (ii) to select all vertices with degree less than three as monitors (line 1). Then it partitions the graph into a number of biconnected components. For each biconnected component, it further partitions the biconnected component into a number of triconnected components. Note that there are efficient algorithms to accomplish the above biconnected components and triconnected components partitioning [17, 18].
(1) choose all the nodes with degree less than 3 as monitors (2) partition G into biconnected components (3) (4) partition (5) (6) (7) Choose 3 − (8) (9) Choose 3 − (10) (11) Choose 3 − k non-monitors nodes with the minimum cost as monitors
For each triconnected and then biconnected component that contains three or more nodes, the cost-minimized monitor assignment makes sure that (i) each triconnected component has at least three nodes that are either separation vertices or monitors with the minimum cost in the component (lines 5–7) and (ii) each biconnected component has at least three or more nodes that are either cut-vertices or monitors with the minimum cost in the component (lines 8-9). Finally, Algorithm 2 selects additional monitors with the minimum cost as needed to ensure that the total number of monitors is at least three (lines 10-11). As described in Algorithm 2, for a component D, let
The cost-minimized monitor assignment component's output is a set of monitors which can be used in algorithm STPC [3] to gain R. As mentioned above, the topology is completely identifiable if and only if the rank of R is n. The matrix R represents a set of measurement paths. Therefore, the rank of R is not directly related to the topology generation process but is directly related to the monitor assignment and path selection process. However, the network topology does have impact on the monitor assignment and the path selection. For example, if the original graph is a triconnected graph, we only need to assign three monitors to identify all links.
5. Evaluation
In this section, we evaluate the performance of RoMA through a set of simulations based on a deployed large scale sensor network, the CitySee project.
5.1. Evaluation Setup
CitySee is deployed in an urban area to collect multidimensional sensing data such as carbon emission, temperature, and humidity. All nodes in CitySee are organized as four subnets. Each subnet has one sink and these four sink nodes transmit data packets to a base station through 802.11 wireless links. And each node in the network transmits 4 data packets back to the sink node every 10 minutes. We use the trace from one subnet to evaluate the performance of RoMA. The main performance metrics are the number of monitors and the identified ratio of links.
We construct a set of instant topologies using period t and merge N topologies into a robust one with different confidence
In the simulations, we study the impacts of different parameters to the performance of RoMA. There are several parameters such as confidence
5.2. Simulation
First we study the impact of period t. While
Impact of temporal resolutions.
Then we study the impact of the number of merged topologies N. Setting t = daily, we merge different numbers of topologies into a robust one with
The confidence has a positive influence on the number of monitors and links which can be identified. We merge
Impact of different confidence.
Impact of the number of merged topologies.

The Impact of confidence.
From the above, we set

Compare with MMP.
Also, we evaluate the performance of RoMA using some other real network topologies. We use the Internet Service Provider (ISP) topologies from the Rocketfuel [19] project, which represent physical connections between backbone/gateway routers of several major ISPs around the globe. We obtain the cost by randomly generated numbers between 1 and 1000. The network topologies are relatively static so that merging topologies into a robust one is not necessary. We use RoMA to assign monitors with parameters t = daily,

The performance of RoMA using ISP topologies.
6. Conclusion
In this paper, we propose RoMA, a Robust Monitor Assignment, algorithm to assign monitors in large scale sensor networks with dynamically changing topology. RoMA merges instant topologies into a robust one and uses the cost-minimized monitor assignment algorithm to get a set of nodes as monitors with the minimum cost. We then analyze the performance of RoMA and the analysis results show that RoMA achieves high percentage of identifiability using monitors with minimum overall cost.
Footnotes
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments
This work is supported by the National Science Foundation of China under Grant nos. 61472360 and 61202402, the Fundamental Research Funds for the Central Universities, and the Research Fund for the Doctoral Program of Higher Education of China (20120101120179).
