Research Article  Open Access
Rate Allocation for Wireless Multimedia Sensor Networks Using Pricing Mechanism
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 realtime 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 peerreviewed 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 lowbandwidth and delaytolerant 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 bitrate 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 realtime data transmission.
Compared with previous algorithms [4–6], 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 priceguided procedures discussed in the economics literature that are characterized as decentralized, as various video users (senders) only communicate their bitrate demands in response to the bitrate price announced by a bitrate 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 priceguided 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 pricebased decentralized bitrate allocation mechanism compared with the equal bitrate allocation to all users (absolute fairness in users). The performance of this algorithm is comparable to the centralized bitrate 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 bitrate demand calculations independently. The pricingbased 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 realtime 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 realtime 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 convexconcave 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 absolutefairnessamongusers (AFU) and absolutefairnessindistortion (AFD) algorithms.

In Figure 2, we compare the PSNR (peak signaltonoise 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.
(a) Scenario 1 Mbps, Mbps, Mbps}
(b) Scenario 4 Mbps, Mbps, Mbps}
In the second stage, we simulate the realtime allocation algorithm under the same environment and compare it to AFU and mediaaware 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 mediaaware 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 mediaaware algorithm does, while being significantly higher for the complex videos. It is because the objective of mediaaware 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 mediaaware algorithm.
(a) PSNR comparison of user 1
(b) PSNR comparison of user 2
(c) PSNR comparison of user 3
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 bitrate 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 realtime 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).
References
 I. F. Akyildiz, T. Melodia, and K. R. Chowdhury, “A survey on wireless multimedia sensor networks,” Computer Networks, vol. 51, no. 4, pp. 921–960, 2007. View at: Publisher Site  Google Scholar
 W. Wolf, B. Ozer, and T. Lv, “Smart cameras as embedded systems,” Computer, vol. 35, no. 9, pp. 48–53, 2002. View at: Publisher Site  Google Scholar
 K. D. Wong, “Physical layer considerations for wireless sensor networks,” in Proceedings of the IEEE International Conference on Networking, Sensing and Control, vol. 2, pp. 1201–1206, Taipei, Taiwan, March 2004. View at: Google Scholar
 Y. Chen, B. Wang, and K. J. R. Liu, “A gametheoretic framework for multiuser multimedia rate allocation,” in Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP '09), pp. 1997–2000, 2009. View at: Google Scholar
 N. Lu and J. Bigham, “An optimal bandwidth adaptation algorithm for multiclass traffic in wireless networks,” in Proceedings of the 3rd International Conference on Quality of Service in Heterogeneous Wired/Wireless Networks (QShine '06), ACM, September 2006. View at: Publisher Site  Google Scholar
 X. Zhu, P. Agrawal, J. P. Singh, T. Alpcan, and B. Girod, “Rate allocation for multiuser video streaming over heterogenous access networks,” in Proceedings of the ACM 15th International Conference on Multimedia (MULTIMEDIA '07), pp. 37–46, 2007. View at: Publisher Site  Google Scholar
 Y. Chen, B. Wang, and K. J. Ray Liu, “Multiuser rate allocation games for multimedia communications,” IEEE Transactions on Multimedia, vol. 11, no. 6, pp. 1170–1181, 2009. View at: Publisher Site  Google Scholar
 M. Tiwari, T. Groves, and P. Cosman, “Bitrate allocation for multiple video streams using a pricingbased mechanism,” IEEE Transactions on Image Processing, vol. 20, no. 11, pp. 3219–3230, 2011. View at: Publisher Site  Google Scholar  MathSciNet
 M. Tiwari, T. Groves, and P. C. Cosman, “Competitive equilibrium bitrate allocation for multiple video streams,” IEEE Transactions on Image Processing, vol. 19, no. 4, pp. 1009–1021, 2010. View at: Publisher Site  Google Scholar  MathSciNet
 K. Stuhlmüller, N. Färber, M. Link, and B. Girod, “Analysis of video transmission over lossy channels,” IEEE Journal on Selected Areas in Communications, vol. 18, no. 6, pp. 1012–1032, 2000. View at: Publisher Site  Google Scholar
 S. Boyd and L. Vandenberghe, Convex Optimization, Cambridge University Press, Cambridge, UK, 2004. View at: MathSciNet
 I. Richardson, “H.264/MPEG4 Part 10 White Paper: Intra Prediction[DB/OL],” May 2003, http://www.vcodex.com. View at: Google Scholar
 X. Zhu, P. Agrawal, J. P. Singh, T. Alpcan, and B. Girod, “Distributed rate allocation policies for multihomed video streaming over heterogeneous access networks,” IEEE Transactions on Multimedia, vol. 11, no. 4, pp. 752–764, 2009. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2015 Zhang Jian Ming et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.