Abstract

A bandwidth allocation algorithm for wireless multimedia sensor networks is proposed in this paper. On the premise of Initial allocation algorithm based on distortion and congestion model to provide an efficient system performance, the allocation algorithm based on pricing mechanism we proposed balances the real-time requirement of different users by adjusting the bandwidth price in each network and each slot. Simulation results show that the proposed algorithm balances the bandwidth ratio of different users according to the video complexity, and it can provide a good system performance guaranteeing the fairness among the users.

1. Introduction

In recent years, the growing interest in the wireless sensor network (WSN) has resulted in thousands of peer-reviewed publications. Most of this research is concerned with scalar sensor networks that measure physical phenomena, such as temperature, pressure, humidity, or location of objects that can be conveyed through low-bandwidth and delay-tolerant data streams. Recently, the focus is shifting toward research aimed at revisiting the sensor network paradigm to enable delivery of multimedia content, such as audio and video streams and still images, as well as scalar data [1]. WMSNs (wireless multimedia sensor networks) technology has emerged also due to the production of cheap CMOS (complementary metal oxide semiconductor) cameras and microphones, which can acquire rich media content from the environment like images and videos. WMSNs can be defined as networks of wirelessly interconnected sensor nodes equipped with multimedia devices, such as cameras that are capable of retrieving video and audio streams, images, and scalar sensor data [2].

Now the availability of complementary metal oxide semiconductor (CMOS) camera and small microphones makes the development of WMSNs capable of gathering the multimedia information from the surrounding environment possible. Its physical layer technologies can be classified based on the modulation scheme and bandwidth consideration [3] into three groups: narrow band, spread spectrum, and ultrawide band (UWB) technologies. Also they can be classified based on standard protocols into IEEE 802.15.4 ZigBee, IEEE 802.15.1 Bluetooth, IEEE 802.11 WiFi, IEEE 802.16 WiMAX, and 802.15.3a UWB.

Furthermore, WMSNs can perform online processing of the retrieved information and react to it by combining technologies from diverse disciplines such as wireless communications and networking, signal processing, computer vision, control, and robotics. There are mainstream algorithms coming from two theoretic methods: centralized method and decentralized method. In many cases, the algorithms are based on game theoretic model [4] (centralized method), where all of the users need to communicate their individual videos information to decide the bit-rate allocation at each slot. This information is so complicated which will put extra burdens on the networks. Instead of using game theoretic system, a number of algorithms based on optimum theory [5, 6] are proposed to improve the overall video quality. However the high overall quality comes at the expense of lowering the quality of some videos and may affect their real-time data transmission.

Compared with previous algorithms [46], we present a multiuser video streaming rate allocation algorithm in wireless multimedia sensor networks based on supply and demand model [7] with pricing mechanism [8]. This algorithm only requires simpler information to be exchanged and does not require a heavy computational burden, whereas that burden will occur on a central controller. This scheme is modeled on price-guided procedures discussed in the economics literature that are characterized as decentralized, as various video users (senders) only communicate their bit-rate demands in response to the bit-rate price announced by a bit-rate allocator in a slot. In our decentralized procedure, the allocator adjusts the user’s demands to equalize the aggregate allocation to the available supply and announces the price for the next slot. With this price-guided allocation scheme, instead of using bits at a constant rate, users will increase their demand in slots during which their videos are more complex (e.g., high motion) and reduce their demand in slots of low complexity. Permitting the amount of bit rate used in each slot to vary increases the efficiency of each user’s total bit rate by giving more of the resource when it is most valuable (in terms of lowering MSE (mean square error)) and less when it is less valuable. The use of a price to guide users’ choices of demand reflects the relative scarcity of available bit rate in each network and each slot. When all users request more bits than the average, scarcity is greater and the price is higher, thus moderating the demands. Our simulation results show that each user benefits from this price-based decentralized bit-rate allocation mechanism compared with the equal bit-rate allocation to all users (absolute fairness in users). The performance of this algorithm is comparable to the centralized bit-rate allocation introduced in [9], where all users send their RD (rate/distortion) curves to the allocator. In the centralized approach, the computations grow exponentially with the number of users and the central controller is responsible for all of the computations. In the decentralized approach, the computational complexity remains constant for the allocator and is independent of the number of users. Each user makes the bit-rate demand calculations independently. The pricing-based method proposed in [8] is similar to ours but only considers that all multiuser video streams are sharing a common transmission channel, and it cannot be applied to heterogeneous networks for WMSNs.

The rest of the paper is organized as follows. Section 2 describes the initial allocation algorithm based on distortion and congestion model. Section 3 describes the proposed rate allocation algorithm and its process. Simulation results are given in Section 4, and Section 5 concludes the paper.

2. Initial Allocation Algorithm

In this section, we first briefly describe the network model and rate distortion model and then provide the initial allocation algorithm in detail.

Figure 1 shows a topology of heterogeneous network simulation, supposing that there are users sharing the available bandwidth in networks. The video stream is divided into time slots. For user , let denote its bit rate in network and represent the total bit rate of user :

As for network , the total bit rate of all users is

Let be the available bandwidth of network and the remaining bandwidth. Their relations can be expressed as

On the basis of above, we denote the congestion by the traffic flows over the network. Following the M/M/1 queuing model, the network congestion can be expressed as

Let denote the MSE distortion at a rate . As given in [10], the RD curve can be fitted by where the parameters , , and are the coefficients of user which depend on the encoding strategy and INTRA rate [5]; they can be estimated by the nonlinear regression techniques. This model is widely used for RD curve fitting.

As we know, the average latency of the network  is related to its allocated rate ; increasing would contribute to the network congestion. Meanwhile, decreasing the allocated rate would lower the congestion, but the videos would suffer extra distortion during encoding. Considering the two objectives above and the constraint of maximum rate and minimum , the optimization problem can be expressed as where is the weighting factor of congestion and distortion.

Allowing for the fairness of allocated bandwidth in different network, the relation between and can be expressed as In (9), the allocation ratio parameter is a design choice to make sure that the allocated bandwidth is proportional to the observed bandwidth. As given in [5], following the weighted proportional fairness in different networks, can be calculated as where is the proportion of in the total available bandwidth.

Using (4), then (9) can be derived as

Using (11), (8) can be expressed as

Using (11) in (9), then the optimization problem becomes subject to the constraint

As given in [11], we adopt the parallel hybrid recollection algorithm to calculate the initial allocated bandwidth.

3. Pricing Mechanism Allocation Algorithm

At time slot , we set the transfer rate of user as . Denote to be the utility of user at the rate of . As given in [4], it can be expressed as the negative of the MSE distortion: We set per unit of bandwidth a price, and it will fluctuate according to the supply and demand of bandwidth. At each slot, the transmitted video stream will spend an amount of wealth based on the allocated bandwidth and current bandwidth price. Before entering the system, the users will be allocated an initial wealth based on the length of the video and the initial allocated bandwidth. Therefore, as for the user, the optimization problem for the real-time rate allocation is to maximize his utility while the expended wealth over all slots is no more than the initial wealth.

For user , the transmission starts at slot and ends at slot . Therefore, the initial wealth can be expressed as where is the initial bandwidth price and normalizes as and is the initial allocation bandwidth.

Consider the optimization objective and the utility model as given, at slot , within the limitations of remaining wealth ; when the rate of user reaches his maximum, his utility goes to the maximum at the same point: where represents the bandwidth price of slot .

However, in the real-time transmission, the coefficients for overall future slots are unknown. Thus, we divide the overall waiting slots into two parts, the current slot and the future slots, and the optimization problem becomes where , , and are the future average coefficients and represents the future average bandwidth price. Suppose that the future slots are stable and predictable; then the future average coefficients can be estimated by a number of slots stored in the buffer. As given in [11], considering the convex-concave feature, we use Lagrange multiplier approach to calculate the request bandwidth as follows: As the stationary of video stream, we can set .

Since the request bandwidth of all users will not be equal to the available bandwidth, the central controller will normalize the total request bandwidth to allocate available bandwidth as the supply and demand and adjust the bandwidth price of the next slot:

Users encode the video streams according to the allocated bandwidth and transmit through different networks as the allocation ratio parameter : Then, update the remaining wealth of slot by the cost: Here, we will represent the algorithm flow.

Step 1 (initialization). According to the coefficients of different video streams, the central controller calculates the initial allocated bandwidth by using (13), and by (16), each user calculates his initial wealth separately.

Step 2 (request bandwidth calculation). At slot , each user calculates his request bandwidth by (19) and transfers to the central controller.

Step 3 (bandwidth allocation and price adjustment). According to the request bandwidth ratio of different users, central controller calculates the allocated bandwidth by (20) and uses (21) to adjust the bandwidth price of slot .

Step 4 (transmission and remaining wealth updating). Using (22), users allocate the bit rate to different networks and update their remaining wealth of slot by using (23).

Step 5 (judgment). Repeat Step 2 to Step 4 until all videos are transferred.

4. Simulation Results

Simulation results are performed in a heterogeneous network which consists of three different multimedia sensor networks. The number of users is three and the coefficients of the videos are shown in Table 1.

To start with, we chose 6 increasing available bandwidth scenarios (Table 2) to simulate the initial allocation algorithm and compare with absolute-fairness-among-users (AFU) and absolute-fairness-in-distortion (AFD) algorithms.

In Figure 2, we compare the PSNR (peak signal-to-noise ratio) of the three algorithms. It can be noticed that the initial allocation leads to much higher PSNR compared with the other algorithms. This is because the initial allocation considers the distortion of all video streams and seeks to improve the overall performance of PSNR. The AFU treats the flows with equal importance and takes no consideration of the source characteristics, which may lead to the unused bandwidth in simple videos and the increased distortion in complex videos due to the insufficient bit rate. Under the smaller bandwidth scenarios, the AFD performs close to the initial allocation. However, as the bandwidth is increasing, the gap is widening. This is because AFU just considers the absolute distortion rate and takes no account of the overall performance, which would have a limited improvement when bandwidth increases.

Figure 3 compares the average delivery delay under scenario 1 and scenario 4. In AFU and AFD algorithms, the average delivery delay would be higher; that is because allocated bit rates are reduced only after the congestion has been detected, and the congestion is lasting for a while. The initial allocation algorithm, on the other hand, considers the network latency and tries to avoid overcongestion by using a proactive strategy in the optimizing model, which significantly lower the average delay.

In the second stage, we simulate the real-time allocation algorithm under the same environment and compare it to AFU and media-aware algorithm [6]. As given in [12], we chose the FORWARD and BACKWARD prediction to estimate the future coefficients and calculate the request bandwidth.

In Figure 4, we notice that the overall PSNR of media-aware algorithm and our algorithm are very close and much higher than AFU. That is, both of the two methods consider the overall MSE distortion and provide good overall performance.

As for the users, we compare their PSNR separately in Figure 5; it is shown that, as for the simple videos, the proposed allocation algorithm gets a little bit lower PSNR than media-aware algorithm does, while being significantly higher for the complex videos. It is because the objective of media-aware method is to allocate the bandwidth prior to simple videos and to get the maximum of the PSNR. It does better in improving the total PSNR than our method; however, not all users improve their video quality, especially on the condition of small bandwidth; some complex videos suffer worse PSNR compared with AFU (as shown in Figure 5(c)). As given in [13], this allocated result would have no improvement in video quality and make an impact on the normal use. In contrast, our method balances the bandwidth ratio between simple video and complex video; so all users are better than AFU and guarantee their video qualities. In general, under the similar total PSNR conditions, considering the fairness among users, our proposed method guarantees all users improve their quality, which is better than media-aware algorithm.

5. Conclusion

In this paper, considering the overall video performance in wireless multimedia sensor networks and the fairness among the users, we have proposed a bit-rate allocation algorithm for multiuser video streaming based on pricing mechanism.

As the simulation results show, on the premise of initial allocation algorithm based on distortion and congestion model to provide a good overall video performance and money limitation, the real-time allocation algorithm proposed utilizes the fluctuation of bandwidth price to adjust the rate of different users, which balances the bandwidth ratio of different users in different networks according to the video complexity. In comparison with existing methods [6], our method improves the overall system performance and guarantees the individual video quality among the users, whereas previous methods, focusing on improving the overall quality only, make some users improve at the expense of others.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgment

This paper is supported by the National Natural Science Foundation of China (60971052 and 61103038).