 Research
 Open Access
 Published:
Enabling smartphonebased HD video chats by cooperative transmissions in CRNs
EURASIP Journal on Wireless Communications and Networking volume 2015, Article number: 45 (2015)
Abstract
Smartphones have been equipped with the cameras that can shoot HD videos, and the video chat apps such as Skype are becoming popular. We can, therefore, intuitively predict the trend that users are expecting to enjoy HD video chats via utilizing their smartphones. Most of the current Internet services, however, cannot support the live HD video transmissions because of their low uplink rate. In order to overcome this limit, we propose to offload the uplink transmissions to cooperative users via cognitive radio networks. Specifically, we first divide the video stream into several substreams according to the H.264/SVC standard and the cooperative users’ uplink rates. Then, the cooperative users are selected by employing our proposed optimal multiple stopping method. Finally, the substreams are assigned to the selected cooperative users by a 01 Knapsackbased allocation algorithm. The simulation results demonstrate that our proposed scheme can successfully support 720P HD video chats.
Introduction
Highdefinition cameras are currently available on popular smartphones. These cameras have been physically ready to support HD video shootings (such as 720P and 1,080P). According to [1], 720P and 1,080P videos require the transmission speeds of 6 and 12 Mbps, respectively. However, most of the popular Internet services are mainly optimized for downlink transmission. The uplink transmission rate supported by most popular Internet access networks is only 2 Mbps, and the typical upload speed on 3G/4G approximately ranges from 0.45 to 1.93 Mbps [2]. As a result, a single user’s Internet upload speed is generally not enough to support live HD video transmission. Therefore, an open problem is how could users enjoy the HD video chats without upgrading their Internet services, which may be too expensive and/or not necessary for other applications.
In order to enable the smartphonebased HD video chat, we propose to utilize cooperative users to help with the uplink transmission in cognitive radio networks (CRNs). The challenge of this task is how to efficiently select appropriate CR relays for cooperative uplink transmission as the realtime requirement of video chat is very strong. In other works, the sender does not have enough time to look at all the candidate relays to select the best subset for the transmission. The sender has to do quick decisions on relay selection while guaranteeing the HD video transmission with a reasonable low cost. Therefore, our objective is to design an efficient relay selection method, which can support HD video chat with the lowest cost, and a load assignment method, which can optimally distribute the video data among the selected relays. Specifically, the major work and the contributions can be summarized as the following:

Overall, we propose a scheme to support smartphonebased HD video chat without upgrading the user’s internet service by utilizing the cooperative CR users’ unlink resource. Simulations verify that our proposed scheme can successfully support 720P HD video chat.

Intuitively, the selected relays can use more time to forward packets if the relay selection time can be reduced. According to the requirement of HD video transmission rate and the cooperative CR users’ uplink rate, given a number of time slots, we analyze the relationship between the relay selection time and the relay forwarding time so that the requirement can be satisfied.

To the best of our knowledge, this is the first work to formulate an optimal multiple stopping model to solve the problem of relay selection for supporting HD video chat via cooperative transmission. We derive the multiple optimal stopping rules by jointly considering the instantaneous reward (of selected relays) and the expected sum reward (of the unobserved candidate relays). The proposed selection method can select the relays, whose instantaneous reward is at least the same as the expected sum reward.

Extensive simulations have been conducted to investigate the impact of the parameters on the performance of the proposed scheme.
The rest of this paper is organized as follows. The most related work is summarized in Section 2. The overview of H.264/SVC, the network model, and the adopted relaying framework are illustrated in Section 3. Section 4 introduces our optimal stopping policybased cooperative relay selection scheme and the packets assignment algorithm. The results of the performance evaluation are reported in Section 5. The paper is concluded in Section 6.
Related work
In recent years, researchers have shown a great interest in HD video technology. Jansen, 2011 [3] studies videoconferencing system for home. Lu, et al. 2010 [4] studies and compares mechanisms and performance of the existing video conference systems. Mirta, et al. 2010 [5] introduces a HD video broadcasting scheme by using scalable video coding so that the devices under various network environments can obtain the video with different resolutions. All of these work are studied under ideal network situations. However, for smartphone users, their uplink rate is generally not enough for HD transmission.
Several current video coding standards such as H.264/AVC, Dirac, AVS China, and VC1 are introduced in [6]. Schwarz, et al. 2012 [7] provides the comparison of the coding efficiency for these video coding standards. Schwarz, et al. 2007 [8] gives a detailed overview of the scalable video coding extension of the H.264/AVC standard. In our work, we consider H.264/SVC as the coding standard utilized by HD video chat app.
An overview of existing cooperative relaying selection schemes is provided in [9]. They require channelrelated information from all the candidate relay nodes, which is inefficient when the number of candidate relays is large or the time for relay selection is limited [10]. For example, channel state information and SNR are required by the relay selection approaches proposed in [11,12], respectively. Moreover, [12] needs to compute the SNR thresholds for all candidate relays.
Jing, et al. 2013 [13] studies the relay selection problem in cognitive networks by applying optimal stopping theory. This approach does not look at the information from all the candidate relay nodes as it scans the candidate secondary user (SU) relays one by one and stops when a suitable relay is identified. As a result, this relay selection process is efficient for single relay selection. As a comparison, our work is the first one to apply optimal multiple stopping theory for multiple relay selection in cognitive radio networks, to our best knowledge. We design an optimal multiple stopping rule to find out the relays with good performance and within a short observation time.
Preliminaries
Overview of H.264/SVC
H.264/SVC standard, an extension of the H.264/AVC standard, is generally applied in HD video stream transmission. The speeds for 720P and 1,080P HD videos are 6 and 12 Mbps, respectively, according to [5]. An SVC video bit stream is essentially constructed with a base layer substream and more than one scalable enhancement layer substream referring to different video layers. If part of the scalable stream is lost, the rest of the substream forms a new valid bit stream with a certain bitrate and reduced quality level which can be decoded by the target decoder. Hence, SVC can be applied in lossy transmission environments where graceful degradation of rate, format, and power adaptation exists. It is believed that H.264/SVC allows 20% packet loss in the network without affecting the quality [14].
Compared to the bit stream derived by dropping packets, a substream can tolerate a lower temporal resolution (lower frame rate), lower spatial resolution (smaller screen), or lower quality video signal, which are named by these three modalities of scalability: temporal scalability, spatial scalability, and quality scalability.
System model
We consider a simple timeslotted cooperative transmission model depicted in Figure 1 which consists of a pair of primary users and a number of secondary users. To implement a HD video chat, a primary user (PU) transmitter, denoted by P _{ t }, transmits its HD video stream to a primary user receiver, denoted by P _{ r }, with the assistance of multiple cooperative users, who are the secondary users (SUs). The n secondary users, represented by S _{ i }, i= 1,2,⋯,n, have the ability to help transmit packets for the primary users, which are called candidate relays. When P _{ t } needs to transmit packets to P _{ r }, m free secondary users, which have favorable channel condition, can be selected as relay nodes by the PU transmitter. The m secondary users finally selected by the PU transmitter are called cooperative relays.
It is assumed that the multiple cooperative relay selection is performed at each time slot. The duration of a time slot is \(T=\frac {D_{\text {hd}}}{R_{\text {hd}}}\), where D _{hd} represents the amount of the packets to be transmitted for HD video and R _{hd} represents the required transmission rate for HD video.
As illustrated in Figure 2, each time slot T is partitioned into three components T _{se}, T _{sr}, and T _{rd}. Let τ be the time needed for observing a candidate relay. We assume that τ is identical for different SUs and for different time slots. Denoted by S={s _{1},s _{2},⋯,s _{ n }} an observation order/sequence, which is a permutation of the SU candidate relays index set {1,2,⋯,n}. At the beginning of a time slot, P _{ t } starts to observe the SU candidate relay nodes sequentially according to the observation sequence. If the reward of the kth observation satisfies a specific criterion, P _{ t } stops at the kth SU candidate relay node and then continues to observe candidate relay nodes for the following stops. The whole observation ends after P _{ t } stops m times. T _{se} represents the time of selecting relays in each time slot. After the cooperative relay selection process, P _{ t } transmits packets to relay node i in T _{ i }. The total time for transmission between PU transmitter and the relay nodes is denoted by T _{sr}, which is the sum of T _{1},T _{2},⋯,T _{ m }. Then, the m cooperative relays forward the video stream packets to P _{ r } simultaneously in T _{rd}.
From Figure 2, we can see that:
T and T _{sr} are given by:
where R _{sr} represents the transmittion rate between the PU transmitter and the cooperative relay node. Then we can get:
During T _{rd}, the cooperative relays forward the video packets to the PU receiver simultaneously. When there are m relays forwarding packets, the estimated value of T _{rd} is given by:
where \(R_{\text {rd}}^{*}\) denotes the expected rate of a relay node in a flat Rayleigh fading channel. Then, we can get the estimated observation time and the estimated size of observation sequence n below:
Obviously, the size of observation sequence should be larger than the number of cooperative relays. Since the condition that observation time T _{se} is larger than zero should be satisfied, we estimate the value of m with a variable parameter K as:
There are two types of relaying techniques: decode and forward (DF) and amplify and forward (AF) [15,16]. In DF, a relay node first decodes the encoded data from the source node and then recodes before forwarding it to the destination node [17]. Different from the DF technique, a relay node in AF simply amplifies the signal of the received packets and then delivers them [18,19]. In this paper, we adopt AF to illustrate our designs.
This cooperative video stream transmission scheme can be divided into three steps: (i) the video source selects a group of cooperative users that have the independent Internet access and are willing to help; (ii) after encoding the video in H.264SVC, the video source distributes the video frames to the cooperative users via CR channels; and (iii) the cooperative users forward the video frames to the destination via their own Internet access networks, then, the video destination can get the HD video after decoding it successfully. Undoubtedly, the whole process is transparent to the destination. The procedure of HD video transmission is depicted in Figure 3.
Optimal multiple stopping policy
Problem formulation
In this paper, we formulate the cooperative transmission problem as multiple stopping problem in CRNs. In order to select m relays for cooperative transmissions, the PU transmitter observes multiple SU candidate relays one by one in an observation sequence. After contacting with a candidate relay, the PU decides whether to make a stop to select the current relay as a cooperative relay. The observation comes to the end if the PU finishes selecting m relays. When PU makes a decision, it considers the reward in the sum case. In other words, we assume the PU has selected l relays before observing ith relay, if PU selects the current relay, we can get a sum reward denoted by \(y_{i}+V_{i}^{ml1}\), where y _{ i } represents the instantaneous reward of the ith relay and \(V_{i}^{ml1}\) represents an expected reward of the m−l−1 relays to be selected from the remaining candidate relays; if PU does not select the current relay, we can get an expected sum reward of m−l relays to be selected from the remaining candidate relays \(V_{i}^{ml}\). If the sum reward with selecting the current relay is larger than the one without selecting the current relay, the PU makes a stop and vice versa. Therefore, the multiple relay selection problem can be further formulated as a sequential decision problem which can be solved by the optimal multiple stopping theory.
We first introduce a definition of multiple stopping theory in the sum case. We, then, formulate our cooperative relay selection problem as an optimal multiple stopping problem in the sum case.
Definition 1.
A multiple stopping rule problem in the sum case is defined by two parts:

A sequence of random variables, X _{1},X _{2},⋯, which have a known joint distribution

A sequence of sum reward function \({z_{0}^{l}}=y_{0}+V_{0}^{ml}\), \({z_{1}^{l}}(x_{1})=y_{1}(x_{1})+V_{1}^{ml},\cdots,{z_{j}^{l}}\left (x_{1},x_{2},\cdots,x_{j}\right)=y_{j}\left (x_{1},x_{2},\cdots,x_{j}\right)+V_{j}^{ml}\), where y _{ j }(x _{1},x _{2},⋯,x _{ j }) represents the instantaneous reward of j t h relay, \(V_{j}^{ml}\) represents the expected sum reward of m−l relays to be selected in the remaining candidate relays.
The objective is to find out the variables in the sequence such that the sum reward function is maximized.
In order to further investigate the channel quality in our cooperative relay selection problem, we assume that the underlying channel is a flat Rayleigh fading channel [20], in which the instantaneous signaltointerferenceplusnoise ratio (SNR) is received by the destination with an exponential distribution having a probability density function (PDF) \(f(\gamma)=\frac {1}{\overline {\gamma }}e^{\frac {\gamma }{\overline {\gamma }}}\), where \(\overline {\gamma }\) denotes the average SNR in the channel model. Then, we can model the Rayleigh fading channel as a finite state Markov chain (FSMC) as proposed in [6]. In the FSMC, we partition the SNR into U intervals and then divide SNR into a finitestate space. Thus, the SNR thresholds are denoted by Υ={γ _{1}=0,γ _{2},⋯,γ _{ U },γ _{ U+1}=∞}. If an instantaneous SNR Γ is in [γ _{ u },γ _{ u+1}), the channel of the SU candidate relay is said to be in state s _{ u }. When the PU pair observes the channel of the candidate relay, the probability of the SU being in state s _{ u } for the channel can be given by:
In our cooperative transmission problem, the achievable transmission rate is viewed as a metric for the channel quality in wireless communications. Let r _{ k } denote the achievable transmission rate between the PU pair and the SU candidate relay node k. According to the Shannon’s theorem [21], r _{ k } is calculated as follows:
where W denotes the bandwidth of the spectrum. Thus, the corresponding date rate can be denoted as R={r _{1},r _{2},⋯,r _{ U }}. We can also model the transmission rate as a discrete random variable, which has a same distribution as the channel state:
The PU pair acquires the achievable transmission rate of the channel between itself and the SU candidate relay by executing the observation in relay selection. The process of observation is similar to the requesttosend (RTS)/cleartosend (CTS) access mechanism designed for the 802.11 technique [22,23]. At each observation step, the PU transmitter sends a RTS frame to the candidate relay. Upon receiving of a RTS frame, the candidate relay returns a CTS frame, which includes the information for calculating the achievable rate. We define that X _{ k }=R _{ k } is the valid transmission rate of the kth observation step. Then, the distribution of X _{ k } can be calculated as follows:
Then, we derive the instantaneous reward function denoted by Y _{ k } based on the valid transmission rate and two scaling factors. We denote e(k,l) as the scaling function if the PU pair stops at the kth observed candidate relay node with l selected relays:
where m also means the stopping times for the whole observation and l also means the times we have stopped. M is a variable parameter. From (12), we can see that e(k,l) is an increasing function of k and a decreasing function of l. In other words, a larger number of SU candidate relay nodes, which the PU transmitter has observed, means the lower efficiency of the cooperative relay selection process. More relays, which have been selected by the PU transmitter, means the less number of stops remains. As a result, the efficiency of the cooperative relay selection process becomes higher. Accordingly, the reward after the kth observation attempt with l stops is given by:
After deriving the reward function, we summarize the optimal multiple stopping problem in cooperative relay selection as follows: the PU pair receives the reward Y _{ k } after the kth observations, then the PU transmitter makes a decision on whether to make a stop at the current candidate relay. The PU transmitter finally stops the observation till m cooperative relays are all selected. Note that no recall is allowed since the channel quality is changing rapidly in cognitive radio networks due to the complicated conditions such as the mobility of the users.
Optimal multiple stopping rule
In this subsection, we solve the multiple stopping problems in the sum case by deriving the optimality equations. We also prove that the proposed rule is better than the random stopping rule, in which the PU stops m times randomly.
We denote F _{ i } as the probability distribution function of the instantaneous reward Y _{ i } after the ith observation. For the finite payoff reward sequence Y _{1},⋯,Y _{ n } that are independent and identically distributed as depicted in Section 4.1, the optimality equations can be stated as follows for the mstopping problems. In case m=1, a wellknown recursive solution of stopping problem is defined by:
where \({V_{i}^{m}}\) represents the expected sum reward of continue observing for m stopping times after ith observation and ∨ denotes the maximum. We need a version of this classical result for stopping times larger than a given stopping time C.
Proposition 1.
Recursive solution of onestopping problems.
(a) For any time point 0≤k≤n−1, the stopping time
is optimal in the sense that for any stopping time we have
(b) For any stopping time C, the stopping time
is optimal in the sense that for any stopping time T with C<T conditionally on { C<n} and C=T conditionally on C=n, we have
For mstopping problems, the following variant of Proposition 1 will also be needed. Let C be a stopping time, let B be measurable with the same probability distribution with Y _{ i } and h be measurable with E h(Y _{ i },B)^{+}<∞. We can also define recursively for b:
Then the stopping time:
is optimal in the sense that for any further stopping time T with C<T conditionally on C<n and C=T conditionally on C=n, we have:
The idea of solving mstopping problem is based on the one for solving the onestopping problem. The lth stopping time T _{ l } should be i, if the total expected reward by taking i as a stop is larger than the one, where i will not be a stop. We define the thresholds \(V_{nm+1}^{m},{V_{i}^{0}}\) and \({V_{i}^{m}}\) by:
From (26), we know that \(V_{i+1}^{m1}\) and \(V_{i+1}^{m}\) can be calculated by backwards induction. We compute \({V_{i}^{m}}\) as follows:
where \(\alpha \in \left \{k\mid e(k,l)x_{k}+V_{i+1}^{m1}>V_{i+1}^{m},k=0,1,2,\cdots,U\right \}\), \(\beta \in \left \{k\mid e(k,l)x_{k}+V_{i+1}^{m1} < V_{i+1}^{m},k=0,1,2,\cdots,U\right \}\), subject to:
Then, we can get the sum reward function:
where y _{ i }(x _{1},x _{2},⋯,x _{ i }) denotes the instantaneous reward after the i ^{th} observation. It is optimal to stop if \({z_{i}^{l}}(x_{1},x_{2},\cdots,x_{i})\) is larger than \(V_{i}^{ml+1}\).
The related threshold stopping times are defined recursively for 1≤m≤n, 0≤k≤n−m by:
As in the onestopping problem, it holds that \(\{{T_{i}^{m}}(k)\}\) are optimal stopping times.
Proposition 2.
For multiple stopping problem in the sum case, \(\{ {T_{i}^{m}}(k)\}\) are optimal mstopping times in the sense that for all stopping times k<T _{1}<⋯<T _{ m }≤n it holds that:
Proof 1.
This proof is by induction in m. As depicted above, {Y _{ i }} are independent and identically distributed. In the case m=1, we can get:
For the induction step m→m+1, by induction hypothesis we obtain:
This is maximized by choosing T _{1} to be the optimal onestopping time of the process \((Y_{i}+{V_{i}^{m}})\). This optimal stopping time is given from the case m=1 by \(T_{1}=T_{1}^{m+1}\). In consequence, the optimal stopping times for 1≤l≤m are obtained by \({T_{l}^{m}}(T_{1}^{m+1})=\) \(T_{l+1}^{m+1}\).
Therefore, we propose the optimal multiple stopping rule in Algorithm 1. The PU observes an SU candidate relay node according to the observation sequence S and obtains an instantaneous reward y _{ i } after the ith observation (line 4). Then, the PU compares the sum reward \({z_{i}^{l}}\) with the expected sum reward \(V_{i}^{ml+1}\). If \({z_{i}^{l}}\leq V_{i}^{ml+1}\), the PU continues to observe the next SU candidate relay. Otherwise, the PU pair makes a stop at the ith relay. When m cooperative relays are all selected, PU finishes the whole observation. Note that if the PU observes the (n−m+l)th candidate relay with having selected l cooperative relays, it has to select the rest of SU nodes as the cooperative relays for supporting the transmissions regardless of the value of the sum reward.
Video frames allocation algorithm
Since different cooperative relay nodes may have varied transmission rates, we target on maximizing the amount of transmission on each relay under certain rate limits. In this subsection, we intend to find an optimal video frames allocation algorithm by formulating it as 01 Knapsack problem.
The 01 Knapsack problem [24] is a subproblem of Knapsack problem, which is a problem in combinatorial optimization. We first give an brief definition of 01 Knapsack problem, which is employed in our allocation model.
Definition 2.
The 01 Knapsack problem is defined as follows: given a set of items, each with a weigh and a value, determine the number (0 or 1) for each item to include in a collection, so that the total weight is less than or equal to a given limit, and the total value is maximized.
The PU video source encoder divides the video stream into a base substream and M enhancement streams. Let D={D _{1},D _{2},⋯,D _{ M }} denote the set of divided packets, where D _{ k } (k=1,2,⋯,M) represents the amount of a specific video packet. We allocate the packets to the selected cooperative relays one by one according to the descending order of their transmission rates. For the ith cooperative relay s _{ i }, we denote set \(D^{i}=\left \{ \!{D_{1}^{i}},{D_{2}^{i}},\cdots,D_{M_{i}}^{i}\!\right \}\) as the set of the amount of packets that have not been allocated.
We formulate the video frames allocated problem as follows. The PU selects m cooperative relays with the rate {r _{1},r _{2},⋯,r _{ m }} for forwarding packets to the PU receiver. Let A _{ i }, i=1,2,⋯,m, denote relay s _{ i }’a available amount of transmissions, which is defined as the amount of packets that can be forwarded by s _{ i }. In T _{rd}, the amount of packets, which relay s _{ i } can forward, is r _{ i }·T _{rd}. Therefore, we obtain A _{ i }=r _{ i }·T _{rd}. Then, we define an available transmission amount of vector A as A={A _{1},A _{2},⋯,A _{ m }}.
In our allocation model, we take \(D^{i}=\left \{\!{D_{1}^{i}},{D_{2}^{i}},\cdots,D_{M_{i}}^{i}\!\right \}\) as the weigh and the value for items of base layer and enhancement layers. We regard set A={A _{1},A _{2},⋯,A _{ m }} as the given limits depicted in Definition 2.
In 01 Knapsack problem, the weigh and the limit should be integers, we, therefore, construct a corresponding integer sets \(D^{i*}\,=\,\left \{ D_{1}^{i*},D_{2}^{i*}\cdots,D_{M_{i}}^{i*}\right \}\) and \(A^{*}\!=\left \{ A_{1}^{*},A_{2}^{*},\cdots,A_{m}^{*}\right \}\). Where \(D_{k}^{i*}=\left \{ {D_{k}^{i}}\right \}+1\) and \(A_{i}^{*}=[\! A_{i}]\). Here, [·] represents the integral function. Note that after the allocation for a relay, the set D ^{i∗} changes regularly.
The objective of our video frames allocation is to determine the subset Q _{ i }⊆{1,2,⋯,M _{ i }} such that:
For \(1\leq k\leq M_{i}, 0\leq r \leq A_{i}^{*}\), we set:
From (38) and (39), we can see that there are only two choices for \(\{ D_{1}^{i*},D_{2}^{i*}\cdots,D_{M_{i}}^{i*}\}\) to compute G(k,r).

1.
Leave \(D_{k}^{i*}\): the maximal amount that relay i can forward from \(\left \{ D_{1}^{i*},D_{2}^{i*}\cdots,D_{M_{i}}^{i*}\right \}\) with limit r is G(k−1,r).

2.
Take \(D_{k}^{i*}\) (only possible if \(D_{k}^{i*}\leq r\)): we gain \(D_{k}^{i*}\) of transmission amount and the maximal amount that the relay can transmit from \(\left \{ D_{1}^{i*},D_{2}^{i*}\cdots,D_{M_{i}}^{i*}\right \}\) with rate limit \(rD_{k}^{i*}\) is \(G\left ({k1},rD_{k}^{i*}\right)\). Totally, we get \(D_{k}^{i*}+G({k1})\).
To allocate packets for relay i, we first do the bottomup computation using iteration by computing the table using (38) and (39) row by row as shown in Figure 4.
The set Q _{ i } is derived by the process depicted in Algorithm 2, where T _{ x,y } represents the element in row x column y of the table. The video frames allocation algorithm which is based on the Knapsack problem is depicted in Algorithm 3.
Performance evaluation
In this section, we evaluate the performance of our cooperative HD video transmission scheme by simulations. The video stream is divided into five parts: one base layer substream and four pieces of enhancement layer substream. It is assumed that the transmission rate r _{ k } of the kth SU candidate relay node does not change within one slot. We divide the finitestate space of SNR received by the receiver into U=30 intervals. The bandwidth W is set to be 1 MHz. The rate of PU source is set to be the average rate of channel. The controlling factor M is set to be 10^{6}. We set the transmission rate of 720P HD video as 6 Mbps. Each result reported in this section is the average of 100 instances.
To provide a deep insight into the feasibility of our cooperative HD video transmission scheme, we first make a comparison between our cooperative relay selection scheme and the random cooperative relay selection scheme. Then, we investigate the performance of our video frames allocation algorithm by comparing it with the random video frames allocation scheme. Moreover, we study the impact of the average SNR \(\overline {\gamma }\) and the observation duration τ on the transmission performance.
The comparison with random schemes
In this subsection, we compare our cooperative relay selection scheme and video frames allocation algorithm with the corresponding random methods, respectively. We set the average SNR \(\overline {\gamma }\) to be 30 dB, the time duration τ to be 3µs.
We change the transmission time T from 0.4 to 0.85 ms and investigate the available cooperative transmission rate and the realistic cooperative transmission rate of schemes. Figure 5 reports the performance comparison of our cooperative relay selection scheme and the random relay selection scheme. We can see that selecting cooperative relays via optimal multiple stopping rule can achieve higher available cooperative transmission rate than selecting relays randomly. With the increasing of HD video transmission time, the available cooperative transmission rate of our scheme increases linearly, while the available cooperative transmission rate of random cooperative relay selection is distributed irregularly. From the equations in Section 4.1, we can see that with a specific SNR \(\overline {\gamma }\), the number of candidate relays increases with T, which is explained in Section 5.2 in detail. So we have greater chance to find cooperative relays with good performance.
Then, we compare the proposed video frames assignment algorithm with the random allocation scheme. In this part, all the relay nodes are selected by our cooperative relay selection scheme. As Figure 6 shows, the realistic cooperative rate in the situation where applying the proposed video frames allocation is almost as same as the transmission rate for 720P HD video, which implies that our scheme can support HD video transmissions. We can also see that the realistic rate in the situation, where the packets are assigned randomly, is always lower than the transmission rate required by 720P HD video.
The impact of the parameter \(\boldsymbol {\overline {\gamma }}\)
In this subsection, we investigate the impact of the parameter \(\overline {\gamma }\) on the number of nodes, available cooperative transmission rate, and realistic cooperative transmission rate under the situation, where the average SNR \(\overline {\gamma }\) changes regularly. We set the observation duration τ to be 3µs. The transmission time T is set to be 0.5, 0.6, and 0.7ms. We set K=10 in (7) when \(\overline {\gamma }\geq 22\)dB and K=0 when \(\overline {\gamma }<22\)dB, respectively.
The relationship between \(\overline {\gamma }\) with the the number of candidate relays and cooperative relays can be seen from Figure 7. We can see that the lager the average SNR \(\overline {\gamma }\) is, the less cooperative relays we need. According to the analysis in Section 4.1, we can know that the observation time is decided by the number of cooperative relays and average SNR \(\overline {\gamma }\), but the number of cooperative relays has a larger impact on the observation time for all candidate relays. Therefore, when the number of cooperative relays decreases one, the number of candidate relays that is in proportion to observation time reduces greatly; when the number of cooperative relays remains unchanged, the number of candidate relays impacted by \(\overline {\gamma }\) increases linearity.
Note that when \(\overline {\gamma }\) is below 22 dB, the available transmission rate of candidate relays is low. As a result, we need to select more cooperative relays for cooperative transmissions. However, the number of candidate relays is less than the number of cooperative relays with the parameter K in (7) is set to be 0. Therefore, our proposed scheme is infeasible when the average SNR \(\overline {\gamma }\) is low.
Form Figure 8, we can see that the available cooperative transmission rate increases with rising average SNR. We know from Figure 7 that the higher average SNR results in the larger number of candidate relays when the number of cooperative relays remains unchanged. With the increasing number of candidate relays, the PU transmitter has higher probability to choice relays with better performance. Therefore, the available cooperative transmission rate increases. Similar results can be obtained in Figure 9. With the increasing of \(\overline {\gamma }\), the realistic cooperative transmission rate increases at the beginning, then stays in a stable state that can satisfy the transmission rate for supporting 720P HD video.
The impact of observation duration τ
In this subsection, we investigate the impact of observation duration τ on the length of observation steps and available cooperative transmission rate. We set the average SNR \(\overline {\gamma }\) to be 28, 29, and 30 dB.
From Figure 10, we can see that the length of observation steps decreases slowly with the observation duration τ increases regularly. In other words, a larger τ results in a smaller number of observation steps. This is because the value of τ represents the cost of observing one SU candidate relay, and the PU needs to stop observing as soon as possible to avoid generating a large cost. On the contrary, when the value of τ is small, the cost for observation is low, and the PU tends to observe more candidate relays to find better cooperative relays. We also can see that different \(\overline {\gamma }\) impacts the length of observation. A larger \(\overline {\gamma }\) results in a larger the number of candidate relays according to Figure 7.
We can see from Figure 11 that the available cooperative transmission rate declines slowly with the increasing of the time duration for each observation τ. This relationship can be obtained from the analysis in Section 4.2. When τ increases, the expected sum reward decreases. The decrease of the performance of selected relays, therefore, leads to a lower available cooperative transmission rate. On the other hand, the cost increases with the τ’s increasing. Therefore, the available cooperative transmission rate declines. Similarly, different \(\overline {\gamma }\) impacts the available transmission rate. This observation is consistent with the analysis in Section 5.2 for Figure 7.
Conclusions
In this paper, we propose an optimal multiple stopping scheme to solve the problem of multiple cooperative relay selection for supporting smartphonebased HD video chat in CRNs. In the proposed scheme, the video source selects the candidate CR relays by following a proposed optimal multiple stopping rule to guarantee the success of HD video chat. The proposed scheme has been verified to be able to support 720P video chat via simulations. In the future, we will implement the proposed scheme on android smartphones.
References
 1
B Gonzalez, All about Internet speed requirements for Hulu, Netflix, and Vudu Movie Viewing. http://hometheater.about.com/od/internethometheater2/a/InternetSpeedforNetflixVudu.htm.
 2
M Sullivan, 3G/4G performance map: data speeds for AT & T Sprint, TMobile, and Verizon. http://www.techhive.com/article/254888/3g_4g_performance_map_data_speeds_for_atandt_sprint_t_mobile_and_ verizon.html.
 3
J Jansen, P Cesar, DC Bulterman, T Stevens, I Kegel, J Issing, Enabling compositionbased videoconferencing for the home. Multimedia IEEE Trans. 13(5), 869–881 (2011).
 4
Y Lu, Y Zhao, F Kuipers, P Van Mieghem, in NETWORKING 2010. Measurement study of multiparty video conferencing (SpringerVerlagBerlin, Heidelberg, 2010), pp. 96–108.
 5
S Mirta, T Schierl, T Wiegand, P Inigo, C LeGuern, C Moreau, L Guarnieri, J Tronc, in Advanced Satellite Multimedia Systems Conference (asma) and the 11th Signal Processing for Space Communications Workshop (spsc). HD video broadcasting using scalable video coding combined with dvbs2 variable coding and modulation (Cagliari, Italy, 2010), pp. 114–121.
 6
KR Rao, Do Nyeon Kim, in System Theory (SSST), 42nd Southeastern Symposium On. Current video coding standards: H. 264/avc, dirac, avs china and vc1 (IEEETyler, TX, USA, 2010), pp. 1–8.
 7
H Schwarz, G Sullivan, T Tan, T Wiegand, in Circuits Syst. Video Technol. IEEE Trans, 22. Comparison of the coding efficiency of video coding standardsincluding high efficiency video coding (HEVC), (2012), pp. 1669–1684.
 8
H Schwarz, D Marpe, T Wiegand, Overview of the scalable video coding extension of the h.264/avc standard. Circuits Syst. Video Technol. IEEE Trans. 17(9), 1103–1120 (2007).
 9
W Elmenreich, N Marchenko, H Adam, C Hofbauer, G Brandner, C Bettstetter, M Huemer, Building blocks of cooperative relaying in wireless systems. Elektrotechnik und Informationstechnik. 125, 353–359 (2008).
 10
Z Cai, S Ji, J He, L Wei, AG Bourgeois, Distributed and asynchronous data collection in cognitive radio networks with fairness consideration. Parallel Distributed Syst. IEEE Trans. 25(8), 2020–2029 (2014).
 11
Y Jing, H Jafarkhani, Single and multiple relay selection schemes and their achievable diversity orders. Wireless Commun. IEEE Trans. 8(3), 1414–1423 (2009).
 12
G Amarasuriya, M Ardakani, C Tellambura, in Wireless Communications and Networking Conference (WCNC). Adaptive multiple relay selection scheme for cooperative wireless networks (IEEESydney, Australia, 2010), pp. 1–6.
 13
T Jing, S Zhu, H Li, X Cheng, Y Huo, in IEEE INFOCOM MiniConference. Cooperative relay selection in cognitive radio networks (Turin, Italy, 2013).
 14
N Stratton, Reality of H.264 SVC. http://www.robotics.net/2013/02/04/realityofh264svc/.
 15
W Su, AK Sadek, KR Liu, Cooperative communication protocols in wireless networks: performance analysis and optimum power allocation. Wireless Pers. Commun. 44(2), 181–217 (2008).
 16
J Li, S Li, F Zhao, R Du, Cochannel interference modeling in cognitive wireless networks. Commun. IEEE Trans. 62(9), 3114–3128 (2014).
 17
S Li, G Bi, Time domain averaging and correlationbased improved spectrum sensing method for cognitive radio. EURASIP J. Adv. Signal Process. 46(1), 520–532 (2014).
 18
Y Chen, CX Wang, H Xiao, D Yuan, Novel partial selection schemes for AF relaying in Nakagamifading channels. Vehicular Technol. IEEE Trans. 60(7), 3497–3503 (2011).
 19
H Xiao, S Ouyang, Power control game in multisource multirelay cooperative communication systems with a qualityofservice constraint. Int. Trans. Syst. IEEE Trans. 16(1), 41–50 (2015).
 20
Z Cai, J He, AG Bourgeois, S Ji, in 2012 IEEE 32nd International Conference On Distributed Computing Systems (ICDCS), Macau, China. Optimal distributed data collection for asynchronous cognitive radio networks, (2012), pp. 245–254.
 21
Z Cai, Y Duan, AG Bourgeois, Delay efficient opportunistic routing in asynchronous multichannel cognitive radio networks. J. Combinatorial Optimization, 1–21 (2013).
 22
G Bianchi, Performance analysis of the IEEE 802.11 distributed coordination function. Selected Areas Commun. IEEE J. 18(3), 535–547 (2000).
 23
Y Duan, Z Cai, G Liu, Opportunistic channelhopping based effective rendezvous establishment in cognitive radio networks. Wireless Algorithms Syst. Appl. 7405, 324–336 (2012).
 24
M Hristakeva, D Shrestha, in The Midwest Instruction and Computing Symposium. Different approaches to solve the 0/1 knapsack problem (Eau Claire, WI, USA, 2005).
Acknowledgements
The authors would like to thank the support from the National Natural Science Foundation of China (Grant No. 61272505, 61172074 and 61371069) and the National Science Foundation of the US (CNS1265311).
Author information
Affiliations
Corresponding author
Additional information
Competing interests
The authors declare that they have no competing interests.
Rights and permissions
About this article
Cite this article
Jing, T., Cui, X., Cheng, W. et al. Enabling smartphonebased HD video chats by cooperative transmissions in CRNs. J Wireless Com Network 2015, 45 (2015). https://doi.org/10.1186/s1363801502909
Received:
Accepted:
Published:
Keywords
 Video chat
 Cooperative relay selection
 Optimal multiple stopping theory