[ieee 2010 9th ieee international symposium on network computing and applications (nca) - cambridge,...

4
QoS-Enabled Video Streaming in Wireless Sensor Networks S. Guo and T. D. C. Little Department of Electrical and Computer Engineering Boston University 8 Saint Mary’s St., Boston, MA 02215, USA {guosong, tdcl}@bu.edu AbstractRecent advances in wireless communications technology and low-power, low-cost CMOS imaging sensors enable a new sensing modality employing ubiquitous distributed video sensing. In many video sensing applications multimedia streams are often required by the base station to provide detailed information of the target spot in the sensor field. However, limited bandwidth, unstable network environment, and data transmission interference prevent the large-scale deployment of such applications without new strategies for energy and data capacity management. In this paper we propose a dynamic path formation algorithm based on our data path throughput estimation model. Coupled with a distributed TDMA packet scheduling scheme, this path formation algorithm can establish throughput-aware video delivery path between source and destination. OPNET simulation results indicate that the throughput estimation is accurate and our proposed TDMA scheme is preferred for streaming applications. We also explore the use of distributed mobile base stations as an option to improve the egress of video data streams from the system. I. INTRODUCTION With the development of low-power, low-cost CMOS imaging sensors, scientists envision a great potential for multimedia streaming applications of wireless sensor networks (WSNs) in the areas of homeland security, habitat monitoring, and image-based monitoring and control. For these applications a sensor node can capture images, audio and/or video information, and send them in a compressed form to a consumer elsewhere on the network. A user need not wait for the download of the entire video sequence but instead can playback the content immediately once data begin to arrive at the receiver. The flexibility of WSNs coupled with this sensing modality makes video observation very promising. Today, many of the existing wireless video sensor network (WVSN) applications [2, 3, 4, 5, 6] are simply integrations of Internet video streaming solutions to the domain of WSNs. Some applications still rely on conventional wired video cameras. Others assume wireless communications but do not address scale-up to large numbers of video cameras nor the support of multiple streams. One of the main obstacles for the large scale deployment of WVSN is the lack of mechanisms to manage contention among multiple source-to-destination video streams in the context of sensor network energy and communication constraints. However, due to the hardware limitations of the video sensor node, such data paths are difficult to achieve required throughput for multimedia streams. In this paper we propose a path formation algorithm based on throughput estimation to construct throughput-aware video delivery path. We explore enhancing the performance of the video delivery over the WSN by efficiently distributing a limited number of mobile base stations to help relay video data. These mobile base stations have much higher communication and networking capabilities. Paired with our distributed packet scheduling scheme, path formation algorithm can be employed to create advanced routing protocol targeting for video streaming applications to facilitate stream data routing with low latency. II. THROUGHPUT ESTIMATION MODEL AND PACKET SCHEDULING SCHEME In this section, we introduce our TDMA-based packet scheduling scheme and the mathematical throughput estimation model for data transmission on a single path. We assume that (1) Radio range of each sensor node is identical; (2) A single radio channel is shared by all sensor nodes; (3) Simultaneous radio transmission within one node’s radio range will cause packet collisions at the node; (4) Radio transmission outside the node’s radio range will not interfere with the packet receiving process of the node. A. Throughput Estimation Model: We cluster sensor nodes along a data path into small concatenated groups. The size of each group is determined by the interference range measured in hop count of the sensor node and can be calculated by (1). For simplicity we let the interference range of a sensor node along a data path be one hop and therefore each group in our model contains three nodes with length of two hops as shown in Fig. 1. We propose a distributed TDMA-based packet scheduling scheme within each group to control the packet forwarding process and alleviate the negative effect of media access contention. This scheme eliminates the contention inside each group and allows nodes that are 3 hops away from each other to transmit data simultaneously such as A and D in Fig 1. Under our network radio model, the TDMA-based packet This work is supported by the NSF under grant No. CNS-0435353. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation. 2010 Network Computing and Applications 978-0-7695-4118-1/10 $26.00 © 2010 IEEE DOI 10.1109/NCA.2010.36 214 2010 Ninth IEEE International Symposium on Network Computing and Applications 978-0-7695-4118-1/10 $26.00 © 2010 IEEE DOI 10.1109/NCA.2010.36 214 2010 Ninth IEEE International Symposium on Network Computing and Applications 978-0-7695-4118-1/10 $26.00 © 2010 IEEE DOI 10.1109/NCA.2010.38 214

Upload: tdc

Post on 09-Mar-2017

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: [IEEE 2010 9th IEEE International Symposium on Network Computing and Applications (NCA) - Cambridge, MA, USA (2010.07.15-2010.07.17)] 2010 Ninth IEEE International Symposium on Network

QoS-Enabled Video Streaming in Wireless Sensor Networks

S. Guo and T. D. C. Little Department of Electrical and Computer Engineering

Boston University 8 Saint Mary’s St., Boston, MA 02215, USA

{guosong, tdcl}@bu.edu

Abstract—Recent advances in wireless communications technology and low-power, low-cost CMOS imaging sensors enable a new sensing modality employing ubiquitous distributed video sensing. In many video sensing applications multimedia streams are often required by the base station to provide detailed information of the target spot in the sensor field. However, limited bandwidth, unstable network environment, and data transmission interference prevent the large-scale deployment of such applications without new strategies for energy and data capacity management. In this paper we propose a dynamic path formation algorithm based on our data path throughput estimation model. Coupled with a distributed TDMA packet scheduling scheme, this path formation algorithm can establish throughput-aware video delivery path between source and destination. OPNET simulation results indicate that the throughput estimation is accurate and our proposed TDMA scheme is preferred for streaming applications. We also explore the use of distributed mobile base stations as an option to improve the egress of video data streams from the system.

I. INTRODUCTION With the development of low-power, low-cost CMOS

imaging sensors, scientists envision a great potential for multimedia streaming applications of wireless sensor networks (WSNs) in the areas of homeland security, habitat monitoring, and image-based monitoring and control. For these applications a sensor node can capture images, audio and/or video information, and send them in a compressed form to a consumer elsewhere on the network. A user need not wait for the download of the entire video sequence but instead can playback the content immediately once data begin to arrive at the receiver. The flexibility of WSNs coupled with this sensing modality makes video observation very promising.

Today, many of the existing wireless video sensor network (WVSN) applications [2, 3, 4, 5, 6] are simply integrations of Internet video streaming solutions to the domain of WSNs. Some applications still rely on conventional wired video cameras. Others assume wireless communications but do not address scale-up to large numbers of video cameras nor the support of multiple streams.

One of the main obstacles for the large scale deployment of WVSN is the lack of mechanisms to manage contention

among multiple source-to-destination video streams in the context of sensor network energy and communication constraints. However, due to the hardware limitations of the video sensor node, such data paths are difficult to achieve required throughput for multimedia streams. In this paper we propose a path formation algorithm based on throughput estimation to construct throughput-aware video delivery path. We explore enhancing the performance of the video delivery over the WSN by efficiently distributing a limited number of mobile base stations to help relay video data. These mobile base stations have much higher communication and networking capabilities. Paired with our distributed packet scheduling scheme, path formation algorithm can be employed to create advanced routing protocol targeting for video streaming applications to facilitate stream data routing with low latency.

II. THROUGHPUT ESTIMATION MODEL AND PACKET SCHEDULING SCHEME

In this section, we introduce our TDMA-based packet scheduling scheme and the mathematical throughput estimation model for data transmission on a single path. We assume that (1) Radio range of each sensor node is identical; (2) A single radio channel is shared by all sensor nodes; (3) Simultaneous radio transmission within one node’s radio range will cause packet collisions at the node; (4) Radio transmission outside the node’s radio range will not interfere with the packet receiving process of the node.

A. Throughput Estimation Model: We cluster sensor nodes along a data path into small

concatenated groups. The size of each group is determined by the interference range measured in hop count of the sensor node and can be calculated by (1). For simplicity we let the interference range of a sensor node along a data path be one hop and therefore each group in our model contains three nodes with length of two hops as shown in Fig. 1. We propose a distributed TDMA-based packet scheduling scheme within each group to control the packet forwarding process and alleviate the negative effect of media access contention. This scheme eliminates the contention inside each group and allows nodes that are 3 hops away from each other to transmit data simultaneously such as A and D in Fig 1. Under our network radio model, the TDMA-based packet

This work is supported by the NSF under grant No. CNS-0435353. Anyopinions, findings, and conclusions or recommendations expressed in thismaterial are those of the author(s) and do not necessarily reflect the viewsof the National Science Foundation.

2010 Network Computing and Applications

978-0-7695-4118-1/10 $26.00 © 2010 IEEE

DOI 10.1109/NCA.2010.36

214

2010 Ninth IEEE International Symposium on Network Computing and Applications

978-0-7695-4118-1/10 $26.00 © 2010 IEEE

DOI 10.1109/NCA.2010.36

214

2010 Ninth IEEE International Symposium on Network Computing and Applications

978-0-7695-4118-1/10 $26.00 © 2010 IEEE

DOI 10.1109/NCA.2010.38

214

Page 2: [IEEE 2010 9th IEEE International Symposium on Network Computing and Applications (NCA) - Cambridge, MA, USA (2010.07.15-2010.07.17)] 2010 Ninth IEEE International Symposium on Network

scheduling scheme achieves the pipelined data forwarding for the streaming application.

Figure 1. Illustration of sub-queuing system

Group size = Interference range +2 (1)

We model each group along the path as a sub-queuing system and notice that if there is one packet being forwarded inside the sub-queuing system, due to the shared channel assumption the arriving packet to the subsystem should be dropped since the packet is likely to be corrupted/interfered by the transmission inside the subsystem. If we assume the packet arrival process is a Markov renewal process then we can use G/G/1/1 queuing model to characterize our first sub-queuing system. Since the arrival process of the cascaded subsystem is the departure process of the prior subsystem, in order to understand the transmission process of the entire path, we characterize the departure process of each system.

We denote the following variables:

• S: service time of the kth accepted packet in the subsystem

• Ai: Inter arrival time between the ith and (i+1)th packet arrival

• Dk: Inter departure time between the kth and (k+1)th accepted packet by subsystem

Since A are iid random variables and S is a constant due to our TDMA based scheduling scheme, D is therefore a series of iid. random variables expressed in (2). The departure process of each subsystem is also a Markov renewal process.Under this case we can model the rest of cascaded subsystems to be G/G/1/1 queuing models, and our data path is a cascade of G/G/1/1 queuing systems.

…∑ ∑ ∑… (2)

As the data path is consist of multiple cascaded subsystems, the recursive deduction of inter departure time using (2) will yield the data output rate of the entire path. We denote the CDF of the D as F t , F t can be expressed in (3). Pr Pr Pr Pr Pr Pr ∑ ∑ Pr ∑ (3)

We denote the Laplace transform of F t as L F, s . If L F, s is second order differentiable, we can derive the expected inter departure time and its variance as (4), (5):

, (4)

, (5)

According to (2), it is clear that the expectation and variation of inter-departure time D is larger than that of the inter-arrival time A . As a result, we can derive the upper bound of the path length given some threshold of required data path rate.

B. TDMA Based Packet Scheduling Scheme: We proposed a simple TDMA based packet scheduling

scheme for our packet transmission. We assign each node inside a subsystem a data sending time slot. A count-down timer is activated once the first node of each subsystem begins forwarding a packet. The initial value of the timer equals to the product of the slot length and subsystem size (number of nodes in the subsystem). The first node of each subsystem is not allowed to accept packets during the activation period of the timer. Once a packet is forwarded by the first node of the sub-queuing system, a timestamp is logged in the packet. When the subsequent node (the second node in the subsystem) receives the packet, it adds the agreed slot length to the time stamp to get the time of the first node and therefore synchronize its time with the first node. The third node of the subsystem adds twice the slot length to synchronize with the first node of the subsystem and so on so forth. Each node in the subsystem is only synchronized to the first node of the subsystem. Such distributed synchronization scheme simplifies the implementation complexity of the network-wide synchronization and the usage of data packet for synchronization minimizes the synchronization overhead. The slot length can be either predefined by the source node and then propagates to all the sensor nodes along the path or it can be computed dynamically according to the quality of the links along the data path and updated periodically if the wireless environment changed dramatically.

III. QOS ENABLED PATH FORMATION ALGORITHM In this section, we present our QoS enabled path

formation algorithm for video streaming applications over WSN. From the aspect of high-level illustration, our path formation algorithm can be divided into two steps as shown in Fig. 7. In step one, source node S initiates a path formation process to find primary gateway and meanwhile inform the gateway the location of the bottleneck node (n5 in Fig. 2) based on the data path throughput estimation. In step two, the primary gateway send out the mobile station to the bottleneck location to enhance the performance of the data relay.

Path formation consists of finding a sequence of nodes (a path), ns, n1, n2, ..., nd from source node ns to destination node nd (primary gateway). This path should be inexpensive,

Begin another subsystem Subsystem

215215215

Page 3: [IEEE 2010 9th IEEE International Symposium on Network Computing and Applications (NCA) - Cambridge, MA, USA (2010.07.15-2010.07.17)] 2010 Ninth IEEE International Symposium on Network

Figure 2. General Scenario

free from loops, and should not interfere with existing stream paths. In the following we sketch a greedy algorithm that constructs paths in the presence of existing ones, finding paths when they exist. We assume that (1) each sensor node is aware of its location and the locations of the primary gateway and its neighbors’; (2) source node is aware of the throughput requirement (threshold) of the video stream. Based on throughput estimation model in Section 2, we decompose our path formation process into the following four basic tasks.

1) Task One : Data Path Set Up We define two sensor node states for our path set up

process: if a node is currently serving another stream or it is in the interference range of certain sensor node along certain existing stream path, the node is “occupied” by an active path, otherwise the node is “available” for constructing new data path. Our greedy data path set up process is analogous to [1]. A path request query is initiated by the source (ns) and forwarded to the neighborhood. The query is intended to form a path P which is set of nodes ns, n1, n2..., ni, ni+1 , ...nd from source to destination. The intermediate node ni forwards the query to a node ni+1 in its neighborhood such that ni+1 minimizes geometric distance D(ni, nd) and meanwhile the node ni+1 is “available,” plus ni+1 is out of interference range of node ni-1. Each intermediate node also caches information of the previous hop, next hop and distance from source to itself in terms of hop count. The process is repeated until the path request is received by the destination nd.

2) Task Two: Clustering Nodes into Sub-Queuing Systems

After receiving the request, the destination will send back a path acknowledgement to the source with information of the path length. Due to the broadcast nature of the wireless media, each sensor node appearing in the neighborhood of sensor nodes along the newly established path will overhear this acknowledgement and set their state to be “occupied.” These “occupied” nodes cannot be employed by other streams to deliver video. As a consequence, the interference between different streams is eliminated. As each sensor node knows exactly the hop count from the source to its self, and the size of the sub-queuing system is three under our assumptions, each sensor node could decide its system ID and location inside the system by applying the following equations: /3 (6)

3 (7)

The possible location value is in {0,1,2}. Value 1 indicates that this node is the first node of the sub-system. Value 2 indicates the second node of the small queuing system and 0 indicates the last node of the system.

3) Task Three: Bottleneck Computation and Notification

Once the source receives the acknowledgement, it will take advantage of (2-4) to compute the average packet departure time of the data path and therefore by taking the inverse of the result the source node could figure out the data path throughput. From (2-4), we can derive that the expected throughput of a data path is a decreasing function with respect to the increase of the path length. If the resulted throughput satisfies the throughput requirement of the stream, the source node will send a notification packet to synchronize the sensor nodes along the path and begin sending out data using the proposed TDMA scheme. If not, we can derive the upper bound of the path length given the threshold of the throughput requirement and therefore identify bottleneck node which is exactly the furthest node the packet can travel to along the path where the packet departure rate satisfies the throughput threshold. Once the bottleneck node is identified, the source will send a notification packet to destination to synchronize the sensor nodes along the path and inform the location of the bottleneck node.

4) Task Four: Mobile Station Deployment Once the destination receives the location of the

bottleneck node, it will deploy mobile base station to the location to enhance the video data forwarding. The bottleneck node is the nearest node to the destination along the stream path with required packet departure rate. Under most cases, the deployment cost of mobile base stations is proportional to the distance between the station and the primary gateway. Deploying mobile stations to these bottleneck locations not only guarantees the data delivery throughput performance but also minimizes the deployment cost for each video stream. As soon as the mobile base station is on position, the bottleneck node will be informed and send out a “free node” message to the destination to free the occupied subsequent sensor nodes along the path and their corresponding neighborhood. Once the destination receives the message, it will reply back a “ready to receive” message to source via mobile station’s direct link. The source then is informed and begins streaming data to the mobile base station.

IV. SIMULATION RESULTS The success of our path formation algorithm is largely

depended on the accuracy of our throughput estimation model and performance of our proposed TDMA scheduling scheme. In this section we examine these two critical components via OPNET simulations.

S

D Primary Gateway

n1

n2

n3

n4

n5

n6

Mobile Gateway

Direct Link

216216216

Page 4: [IEEE 2010 9th IEEE International Symposium on Network Computing and Applications (NCA) - Cambridge, MA, USA (2010.07.15-2010.07.17)] 2010 Ninth IEEE International Symposium on Network

A. TDMA Scheme vs. CTS/RTS We compare the performance of TDMA and CTS/RTS

scheme in two different scenarios. In Scenario 1, the link utilization ratio is very low. The data source generates a packet with a size of 1024 bit every 5 seconds. The link transmission delay is 1 second. The results are shown in Fig. 3. In Scenario 2, we push the data rate higher approaching the optimum throughput of the data path. In our network model, the optimum data path throughput is roughly one third of the link capacity. The results are displayed in Fig. 4.

We observe that in the low link utilization scenario, both TDMA and CTS/RTS schemes can eventually achieve same performance, however, the TDMA scheme adapts to the optimal data rate much faster than the CTS/RTS scheme. In contrast, the CTS/RTS scheme performs poorly in substantial high link utilization scenario. It only achieves 3/4 of the data source rate and also generates jitter in data delivery. Our TDMA scheme outperforms the CTS/RTS scheme in both scenarios. More over the implementation of our scheme is not difficult and the communication overhead is low not requiring extra energy for sending negotiation packets such as CTS/RTS packets in the other scheme.

Figure 3. TDMA vs. CTS/RTS in Low Data Rate (Scenario 1)

Figure 4. TDMA vs. CTS/RTS in High Data Rate (Scenario 2)

B. Subsystem Throughput Estimation In order to show the accuracy of our estimation model,

we conduct experiments to compare the subsystem throughput simulation results with our theoretical results. We assume the packet arrival interval of the subsystem is exponentially distributed with mean of 10 seconds, and the link transmission delay of a packet is one second. Consequently, the subsystem delay by applying our TDMA scheme is 3 seconds. By taking expectation on both sides of (2), we derive the theoretical expected throughput of the subsystem to be approximately 0.079 packets per second which is very close to the simulation result of 0.0784.

V. CONCLUSION AND FUTURE WORK In this paper, we propose a QoS-enabled dynamic path

formation algorithm to yield throughput-aware video delivery based on a throughput estimation model. We suggest enhancing the performance of the video delivery over the wireless sensor network by distributing limited number of mobile base stations to the bottleneck location for each stream. Our mobile station deployment scheme not only improves the streaming performance but also reduce the deployment cost for each stream by minimizing the distance between the mobile station and the primary gateway.

Although our proposed path formation algorithm achieves certain QoS by exploring the spatial diversity of the sensor network, it sacrifices the number of streams that a network can carry. In the future, a complimentary data transmission interference model should be considered for more complex video streaming applications. With the aid of this complimentary data path interference model, we will derive a more comprehensive mathematical throughput estimation expression that link the data path throughput to additional parameters, such as path length, path relative positions, network size and number of concurrent data sending paths. These models will support the advanced path formation algorithm design for video streaming applications to fully explore the capacity of wireless sensor networks.

REFERENCES [1] B. Karp and H. T. Kung, “GPSR: greedy perimeter stateless routing

for wireless networks,” in Mobile Computing and Networking, 2000, pp. 243–254.

[2] T. Teixeira, A. Savvides, “Lightweight People Counting and Localizing in Indoor Spaces Using Camera Sensor Nodes,” in Proc. of the First ACM/IEEE International Conference, 2007, pp.36-43.

[3] P. Kulkarni, D. Ganesan, P. Shenoy, and Q. Lu, “SensEye: A Multi-tier Camera Sensor Network,” in Proc. of the 13th Annual ACM International Conference on Multimedia, 2005, pp. 229-238.

[4] A. Rowe, D. Goel, and R. Rajkumar, “FireFly Mosaic: A Vision-Enabled Wireless Sensor Networking System,” in Proc. of the 28th IEEE International Real-Time Systems Symposium, 2007, pp. 459-468.

[5] C. Dovrolis, P. Ramanathan, and D. Moore, “What do packet dispersion techniques measure," in Proc. of IEEE Infocom, 2001, pp. 905-914.

[6] T. D. C. Little and A. Ganick, "The Great Point Lighthouse Camera for Coast Monitoring", MCL Technical Report, Nov. 2009.

0 500 1000 1500 2000 2500 3000 3500 40000

0.05

0.1

0.15

0.2

0.25

Time

Thr

ough

put

TDMACTS/RTS

0 1000 2000 3000 4000 50000

0.05

0.1

0.15

0.2

0.25

0.3

0.35

Time

Thr

ough

put

TDMACTS/RTS

217217217