# Cloud-Assisted Scalable Video Delivery Solution over Mobile Ad Hoc Networks

Authors: Lujie Zhong; Shijie Jia
Journal: International Journal of Distributed Sensor Networks
 (2015)

---

## Abstract

Cloud computing is promising avenue for supporting high-performance and interactive streaming service. Making use of the clouds to flexibly increase the scale of video service system and provide fast search are key determinants for scalable mobile video streaming in order to ensure smooth playback experience. In this paper, we propose a novel Cloud-assisted Scalable Video Delivery Solution over
mobile ad hoc networks (CSVD). CSVD makes use of the clouds to share responsibility for the load of resource management of media server, which supports fast resource searching and enhances system
scalability. CSVD designs a new estimation model of resource maintenance scale in terms of quality of service- (QoS-) oriented dynamic balance between supply and demand, in order to economically use the
clouds. A novel supplier scheduling algorithm that assigns resource suppliers for fast responding user request in terms of their load and serving capacity is proposed. Extensive tests show how CSVD achieves
much better performance results in comparison with other state-of-the-art solutions.


---

## Body

## 1. Introduction

The mobile ad hoc networks (MANETs) are the significant network technologies for the next generation Internet, which have extensive application areas [1–3]. The new wireless communication protocol such as IEEE 802.11 can meet high bandwidth requirement of multimedia services to enable provision of rich visual content for the mobile users in MANETs [4]. Video streaming is a significant one of the multimedia services, which provides rich content in multiple network environment such as MANETs, VANETs, and wireless sensor networks (WSN) [5–10]. P2P technologies are well known for supporting large-scale video streaming system deployment [11–15]. However, provision of P2P-based high-quality video streaming service with efficient content sharing over MANETs is a challenging issue. Due to limited capacities of energy and storage, the mobile nodes only cache relatively short video clip, so as to frequently replace the data in the playback buffer for watching desired content. Searching requested video content from fragmentary distributed resources in P2P networks leads to long start delay and high-cost network bandwidth, which cannot ensure smooth playback and meet the demand of green communication. On the other hand, the pursuit of popular video content results in high load of system due to process request and schedule resources, reducing system scalability. Therefore, a light-duty solution which efficiently maintains and schedules resources carried by the mobile nodes and supports fast search for video content should be considered for video streaming service in MANETs.Numerous researchers have shown great interest in high-efficiency resource sharing for video streaming system in wireless networks. For instance, QUVoD in [16], a Chord-based video sharing solution over VANETs, groups peers into a chained Chord structure in 4G networks in terms of the similarity of stored video chunks, which can achieve reliable supply and fast location of video resources. SURFNet in [17] is a tree-based video sharing solution in which the peers with long online times are grouped into an AVL tree and connect with an attached holder-chain whose items have similar video content. However, with increasing number of nodes, the high maintenance cost for structured topology (Chord/tree) limits the scalability of these solutions. For uncertain blowout of user access for video resources, enlarging the scale of server cluster increases the cost of system deployment. SPOON in [18] is a community-based file sharing solution over MANETs. SPOON groups the peers into multiple communities in terms of the interest similarity, which can achieve high efficiency of content sharing. However, the stability of community structure relies on the capacities of community coordinator and determines system performance and maintenance cost of communities. Making use of the server to compensate insufficient bandwidth further limits the system scale.Recently, cloud computing has become the most popular computing paradigm [19]. Providing on-demand server resources to users relies on the shared pool of servers in datacenters [20]. With rapid growth of mobile devices usage, mobile cloud streaming becomes a promising avenue for supporting high-performance and interactive streaming service [21, 22]. The most of cloud-based multimedia systems use the clouds to compensate insufficient capacities of upload bandwidth, computing and storage in the systems. However, the random request behavior of users for the video content leads to the increase in the complexity of cloud usage and the cost of interactivity between server and clouds. Moreover, making use of the clouds to meet the requirement of bandwidth brings expensive monetary cost.In this paper, we proposea novel Cloud-assisted Scalable Video Delivery solution over mobile ad hoc networks (CSVD). As Figure 1 shows, the clouds assist the media server to manage the hotspot resources to address the large-scale intensive request when the server cannot meet the demand of users for video resources. A novel estimation model of resource maintenance scale based on QoS-oriented dynamic balance between supply and demand is proposed, reducing monetary cost from rental resources in the clouds. A novel supplier scheduling mechanism that schedules suppliers in terms of their load and estimated processing capacity is proposed, reducing the lookup delay and balancing the load of suppliers. Simulation results show how CSVD achieves much better performance results in comparison with other state-of-the-art solutions.Figure 1
CSVD architecture.


## 2. Related Work

There have been numerous studies on P2P-based management and lookup optimization of resources for video streaming services in recent years.The solutions based on structured content distribution topology are well known for resource lookup efficiency. For instance, QUVoD in [16] employs a group-based Chord structure to uniformly distribute the video content, where the peers which store similar content in the Chord overlay form a group. By using this structure, the request for sequential video chunks can be addressed in a group, reducing chunk seeking traffic and balancing peer load. However, the increase in the number of nodes leads to high system load for maintaining the Chord overlay and limits QUVoD’s scalability. SURFNet in [17] groups stable peers which have long online time and store superchunk-level video content into an AVL tree. A holder-chain which is composed of peers with similar video content is attached to a peer in the AVL tree in terms of the similarity of stored content. SURFNet makes use of the tree-based overlay topology to obtain nearly constant and logarithmic lookup time for seeking in a video stream or between different videos. The maintenance cost of peers relies on the stability of the AVL tree. However, the long online time cannot ensure the state stability of nodes in the tree. Therefore, with the increase in the number of peers, the maintenance of the tree structure also increases very much so that the system scalability and lookup efficiency are highly restricted. The structured overlay such as QUVoD and SURFNet can achieve fast lookup of resources and make full use of peers’ upload bandwidth, but the high maintenance cost limits the system’s scale and wastes network bandwidth.The proposed mesh-based solutions with an unstructured topology have high system scalability. For instance, the authors of [23] proposed a mesh-based P2P streaming solution. Each peer selects the nodes as its neighbors according to different predefined policies. Because mutual contact between these nodes form a random graph, the system can perceive dynamic distribution process of video chunk and utilize created cluster of large-bandwidth peers to address intensive request of hotspot resources. Chang and Huang [24] proposed a mesh-based interleaved video frame distribution scheme to support user interactivity. However, the resource search in the mesh-based solutions employs gossip scheme which does not support fast resource lookup. The low performance of resource lookup does not ensure smooth playback. Moreover, the dissemination of gossip messages consumes mass network bandwidth.Recently, some P2P file sharing solutions based on virtual communities have been proposed. For instance, SPOON [18] groups mobile nodes into a community in terms of common interest and frequent interaction between users. SPOON designs a role assignment for the community members to handle the file lookup both intracommunity and intercommunity and an file searching scheme for high-efficiency resource search in terms of user interest. However, SPOON makes use of files stored to estimate the interest similarity between nodes, which does not obtain high accuracy of interest similarity. The fragile community structure results in increasing maintenance cost of community members and a negative influence on file search efficiency. The mobility of nodes is not mentioned in SPOON so that the dynamic geographical distance between community members brings negative influence for content delivery.C5 [25] groups the peers which request the same content and are near to each other into a community and collaboratively fetches content. The community members use a WLAN to deliver local resources with other members. Making use of WLAN interfaces to communicate with internal members can improve the delivery efficiency. However, the deployment environment ofC5 relies on the premise that a number of mobile nodes have close location with each other during a long period and subscribe the same content, soC5 is difficult to be implemented in mobile networks. The increase in the community scale introduces the high maintenance cost for community members, so the capacities of community coordinator become the bottleneck of system scalability.Inspired by community-based file sharing solutions, the community-based video streaming systems have attracted increasing research interests from various researchers. For instance, AMCV in [26] proposed a mini-community-based video sharing scheme in wireless mobile networks. AMCV groups the peers into a community in terms of the similarity of requested video chunks and uses an ant colony optimization-based community communication strategy that dynamically bridges communities to support fast search for resources. The interest-based peer groups can ensure high accuracy for predicting the resource demand of users to reduce the start delay, however, because the broker nodes in the communities need to maintain information of community members and handle the request messages from internal or external members. With increasing number of peers, AMCV’s scale relies on the capacities of broker nodes; namely, the broker nodes in the communities cannot bear high load for the management of community members so as to limit system’s scalability. PMCV in [27] proposed a novel performance-aware mobile community-based video delivery system over vehicular ad hoc networks. PMCV employs a mobile community detection scheme to group peers into a mobile community in terms of the similarity of playback and movement behavior between users. This scheme can obtain high stability of community structure and efficient video delivery. Moreover, PMCV makes use of a community member management mechanism to achieve high efficiency of resource lookup and low maintenance cost.


## 3. CSVD Detailed Design

### 3.1. Media Server

The media server stores several video resources to provide original video data for all mobile nodes in MANETs; namely, a video files set isS
v
i
d
e
o
=
(
v
1
,
v
2
,
…
,
v
n
). When a mobile node n
i joins the system or a system member requests a new video, it sends a request message to the server. The server uses a system member list to record the information of these request nodes, namely, S
m
e
m
b
e
r
=
(
(
n
1
,
V
I
D
,
t
p
1
)
,
(
n
2
,
V
I
D
,
t
p
2
)
,
…
,
(
n
m
,
V
I
D
,
t
p
m
)
), whose items include the node ID, requested video ID, and timestamp. After the server receives the request message, it selects a supplier which has the minimum value of requested timestamp with the requester, ensuring stable logical link between supplier and requester and reducing the number of repetitive request messages. Moreover, in order to balance the load between suppliers and enhance the video delivery efficiency, the server considers the serving capacities and moving behavior of suppliers. The supplier scheduling algorithm is detailed in Section 3.3. When the requester receives the return message containing the information of the supplier, it connects with the supplier and fetches video content. If any member leaves the system, it sends the quit message to the server. After the server receives a quit message of the system members, it removes the member information from S
m
e
m
b
e
r.With increasing number of maintained members and request messages, the server cannot shoulder the load of maintaining node state and processing messages. The server requires the clouds to maintain the state of members which have the video content of high-frequency access. When the system members or mobile nodes request a popular video file, their request messages are redirected to the clouds which are responsible for assigning the appropriate supplier for the requesters.


### 3.2. Maintenance Scale

Renting cloud resources to maintain and schedule the video resources stored by the nodes in P2P networks brings monetary cost. In order to economically use clouds, the scale of maintained members should be kept within appropriate level in terms of the balance between supply and demand. Due to the variation of cached video content, the maintenance scale is dynamically regulated in terms of the resource requirements change. LetS
v
i
⇔
(
n
a
,
n
b
,
…
,
n
t
) be the set of system members which cache v
i, where the items in S
v
i are considered as candidate suppliers (CSs). The CSs receive the request message forwarded by the clouds and deliver the video content for the requesters. Let N
R
(
n
k
) be the number of request messages which are received by a member n
k carrying v
i during a period time T
n
k. The request arrival rate (RAR) of n
k is defined as(1)
λ
n
k
=
N
R
n
k
T
n
k
,where λ
n
k is the number of request messages received by n
k in unit time. The sum of RAR of all items in S
v
i is obtained according to(2)
∑
c
=
1
|
S
v
i
|
‍
λ
n
c
=
λ
,where |
S
v
i
| returns the number of items in S
v
i and λ denotes the number of request messages received by the clouds in unit time and meets the Poisson distribution [20]. Because there is the mutual independence relationship between RAR of items in S
v
i, RAR meets the Poisson distribution. When n
k receives a request message, the event it connects with the request node and successfully delivers to the video data is considered as n
k handling the request message. The time of handling a request message can be defined as(3)
T
n
k
p
=
1
+
α
T
n
k
l
+
T
n
k
t
,
α
>
0
,where α is a degeneration factor of denoting decrease in the handling capacities such as decreasing energy. With the decrease in the handling capacities of nodes, the value of T
n
k
(
p
) increases. T
n
k
(
l
) is the time of local handling request message and T
n
k
(
t
) is the time of successful delivery of first video data. Let N
H
(
n
k
) be the number of request messages which are handled by n
k during a period of time T
n
k. The request processing rate of n
k can be obtained according to(4)
μ
n
k
=
N
H
n
k
T
n
k
,where μ
n
k does not meet a specific distribution due to the unreliable link in the mobile environment and different performance of mobile devices. Each CS handles the request message according to the first-come-first-service rule. In order to ensure high QoS of system, the relationship between λ
n
k and μ
n
k needs to meet the following equation:(5)
m
i
n
n
k
∈
S
v
i
u
n
k
-
λ
n
k
>
0
.The stay delay of request message in the message queue of supplier is defined asT
n
k
(
s
)
=
T
n
k
(
l
)
+
T
n
k
(
w
), where T
n
k
(
w
) is the delay of request message waiting to be processed. If the request processing rate is higher than the request arrival rate, T
n
k
(
w
) is 0 s. The suppliers can fast handle the request message and deliver requested video data. Otherwise, if T
n
k
(
w
)
>
0, the suppliers need to handle other request messages so that the increase in the startup delay of request nodes leads to the low level of user experience. In order to ensure the quality of user experience, if T
n
k
(
w
)
>
0, the clouds need to maintain more resources to meet the demand of request nodes. Because the random quit of nodes results in decreasing the number of items in S
v
i, the scale of items in S
v
i should meet the following rule.Rule 1.
If the decreased number of items inS
v
i is greater than the increment of items in S
v
i in unit time or the request processing rate and request arrival rate of all items in S
v
i cannot meet (5), the clouds enlarge the scale of S
v
i.As we know, once the request nodes receive the video data from the suppliers, they cache the video content and are considered as CSs. When the clouds need to enlarge the scale ofS
v
i, these request nodes which have reliable state should preferentially be added into S
v
i. If the clouds cannot obtain more members (e.g., mass nodes request other video contents or quit the system), the clouds provide the video streaming for the request nodes.


### 3.3. Supplier Scheduling Mechanism

As Figure2 shows, the supplier scheduling mechanism architecture relies on the serving capacity of CSs and the similarity of moving behavior between CSs and requester to select appropriate supplier. (1) Serving capacity of CSs: each CS makes use of the length of handling queue to calculate the expectation time of handling a request message and delivering video data. This expectation time is considered as the serving capacity of CS; namely, the low time of handling and delivery denotes strong serving capacity. (2) Similarity of moving behavior between CSs and requester: the CSs report the information of serving time and moving trace. The clouds/server use(s) the similarity of moving trace of CSs and requester as weight value of serving capacity of CSs. The measurement of weighted serving capacity can ensure high efficiency of handling request message and delivering video data.Figure 2
Supplier scheduling mechanism architecture.When the clouds/server receive(s) the request messages of members, it selects the appropriate CSs fromS
v
i. This is because each mobile device is limited by the energy, bandwidth, computation, and storage. The clouds/server not only forward(s) these request messages in terms of the capacities of mobile devices, but also balance(s) the load between CSs. Each CS handles the request message according to the first-come-first-service rule; namely, the process of handling request message meets the M
/
G
/
1 queuing model. When the request message of a member is forwarded to n
k, in terms of Pollaczek-Khintchine (P-K) formula, the number of items in the handling queue of n
k can be defined as(6)
N
Q
n
k
=
ρ
v
i
+
ρ
v
i
2
+
λ
v
i
2
σ
v
i
2
1
-
ρ
v
i
,where σ
c
i is the variance of time of n
k handling received request messages during T
n
k. ρ
v
i denotes the time of n
k handling the request messages and is defined as(7)
ρ
v
i
=
λ
v
i
E
T
n
k
p
v
i
,where E
(
T
n
k
(
p
)
)
v
i is the expectation value of time of n
k processing all request messages during T
n
k. We make use of Little formula [28] to obtain the average residence time of request message in the queue of message processing of n
k according to(8)
W
s
=
L
s
λ
v
i
=
E
T
n
k
p
v
i
+
λ
v
i
E
T
n
k
p
v
i
2
+
λ
v
i
2
σ
v
i
2
1
-
λ
v
i
E
T
n
k
p
v
i
2
.Further, the expectation time of serving a requester is obtained according to(9)
T
n
k
s
=
W
s
+
E
T
n
k
d
v
i
,where T
n
k
(
d
) is the time of n
k delivering first data of c
i, E
(
T
n
k
(
d
)
)
v
i is the expectation value of T
n
k
(
d
), and T
n
k
(
s
) also is considered as the serving capacity of n
k. The clouds can obtain a set of serving capacities of all items in S
v
i; namely, S
S
C
=
(
T
n
a
(
s
)
,
T
n
b
(
s
)
,
…
,
T
n
t
(
s
)
). Moreover, we consider the similarity of moving trace between supplier and requester and transform (9) to (10):(10)
S
C
n
k
=
1
T
n
k
s
+
c
o
s
w
n
k
+
1
,where w
n
k is a similarity of moving trace of nodes. Each node n
i periodically updates the information of one-hop neighbor nodes and considers them as encountered nodes; namely, L
e
=
(
n
1
,
n
2
,
…
,
n
k
). Let f
k denote the number of encounter of n
i and n
k. The mean value of encounter number of all nodes in L
e is defined as(11)
f
¯
=
∑
c
=
1
k
f
c
k
.Iff
k
>
f
¯, n
k is a frequently encountered node of n
i. n
i extracts the information of frequently encountered nodes and constructs a vector m
t
i
=
(
n
a
,
n
b
,
…
,
n
v
) to denote moving trace. The similarity value of moving trace between n
i and n
k is defined as(12)
w
n
k
=
m
t
i
∩
m
t
k
m
a
x
m
t
i
,
m
t
k
.The new system members which request a video content have not served other nodes; namely,T
(
s
)
=
0. The item in S
v
i with m
a
x
{
S
C
n
a
,
S
C
n
b
,
…
,
S
C
n
t
} is considered as a CS which has the strongest serving capacity and is selected as the supplier. Because T
(
s
) of new system members is 0, the values of their S
Cs are less. The probability of new system members becoming suppliers is higher than other members, which can balance the load of system members.


### 3.4. Model Implementation

In the process of scheduling the request, the clouds/server need(s) to balance the load of CSs. The clouds/server remove(s) the CSs whase surplus bandwidth cannot meet the playback rate or request processing rate (RPR) is lower than the request arrival rate fromS
v
i. If the removed CSs recover sufficient bandwidth and RPR, they are added into S
v
i. When the clouds/server receive(s) a request message r
x, they/it select(s) a CS n
k with m
a
x
{
S
C
n
a
,
S
C
n
b
,
…
,
S
C
n
t
} as the supplier. The clouds/server make(s) the decision of adding the requester into S
v
i in terms of Rule 1. In the process of handling each request message, n
k records receive the message number and the time of processing each message during a period time T
n
k, namely, N
R
(
n
k
), N
H
(
n
k
), T
n
k
(
l
), and T
n
k
(
t
). n
k further obtains the values of λ
n
k, μ
n
k, and T
n
k
(
p
). After n
k finishes the delivery of video data for the requester, n
k records the total time T
n
k
(
d
) of data transmission and sends a message containing λ
n
k, μ
n
k, T
n
k
(
p
), T
n
k
(
d
) and moving trace to the clouds/server. The clouds/server use(s) these parameter values to update the T
n
k
(
s
) of n
k. The clouds/server make(s) use of moving traces of requester and CSs to calculate similarity of moving behavior between them. By investigating the similarity of moving behavior and serving capacity of CS, the system can achieve fast response for the request and high-efficiency delivery of video data, ensuring smooth playback experience. The pseudocode of the process of resource search is detailed in Algorithm 1 whose computation complexity is O
(
n
).Algorithm 1:Search process of video file v
j.
(1) receives request message of requestern
u;
(2)for  (i = 0; i
<
t; i++)
(3)
if bandwidth and RPR of S
v
j
[
i
] meet the demand
(4)calculates serving expectation time of S
v
j
[
i
] by (9);
(5)calculates moving similarity of S
v
j
[
i
] and n
u by (11);
(6)obtains measurement value S
C
i of capacity of S
v
j
[
i
];
(7)adds S
C
i into result set R;
(8)
end if
(9)end for
(10)forwards message to supplier n
v with minimum in R;
(11)
n
v returns response message to n
u;
(12)
n
v sends video data to n
u;


## 3.1. Media Server

The media server stores several video resources to provide original video data for all mobile nodes in MANETs; namely, a video files set isS
v
i
d
e
o
=
(
v
1
,
v
2
,
…
,
v
n
). When a mobile node n
i joins the system or a system member requests a new video, it sends a request message to the server. The server uses a system member list to record the information of these request nodes, namely, S
m
e
m
b
e
r
=
(
(
n
1
,
V
I
D
,
t
p
1
)
,
(
n
2
,
V
I
D
,
t
p
2
)
,
…
,
(
n
m
,
V
I
D
,
t
p
m
)
), whose items include the node ID, requested video ID, and timestamp. After the server receives the request message, it selects a supplier which has the minimum value of requested timestamp with the requester, ensuring stable logical link between supplier and requester and reducing the number of repetitive request messages. Moreover, in order to balance the load between suppliers and enhance the video delivery efficiency, the server considers the serving capacities and moving behavior of suppliers. The supplier scheduling algorithm is detailed in Section 3.3. When the requester receives the return message containing the information of the supplier, it connects with the supplier and fetches video content. If any member leaves the system, it sends the quit message to the server. After the server receives a quit message of the system members, it removes the member information from S
m
e
m
b
e
r.With increasing number of maintained members and request messages, the server cannot shoulder the load of maintaining node state and processing messages. The server requires the clouds to maintain the state of members which have the video content of high-frequency access. When the system members or mobile nodes request a popular video file, their request messages are redirected to the clouds which are responsible for assigning the appropriate supplier for the requesters.


## 3.2. Maintenance Scale

Renting cloud resources to maintain and schedule the video resources stored by the nodes in P2P networks brings monetary cost. In order to economically use clouds, the scale of maintained members should be kept within appropriate level in terms of the balance between supply and demand. Due to the variation of cached video content, the maintenance scale is dynamically regulated in terms of the resource requirements change. LetS
v
i
⇔
(
n
a
,
n
b
,
…
,
n
t
) be the set of system members which cache v
i, where the items in S
v
i are considered as candidate suppliers (CSs). The CSs receive the request message forwarded by the clouds and deliver the video content for the requesters. Let N
R
(
n
k
) be the number of request messages which are received by a member n
k carrying v
i during a period time T
n
k. The request arrival rate (RAR) of n
k is defined as(1)
λ
n
k
=
N
R
n
k
T
n
k
,where λ
n
k is the number of request messages received by n
k in unit time. The sum of RAR of all items in S
v
i is obtained according to(2)
∑
c
=
1
|
S
v
i
|
‍
λ
n
c
=
λ
,where |
S
v
i
| returns the number of items in S
v
i and λ denotes the number of request messages received by the clouds in unit time and meets the Poisson distribution [20]. Because there is the mutual independence relationship between RAR of items in S
v
i, RAR meets the Poisson distribution. When n
k receives a request message, the event it connects with the request node and successfully delivers to the video data is considered as n
k handling the request message. The time of handling a request message can be defined as(3)
T
n
k
p
=
1
+
α
T
n
k
l
+
T
n
k
t
,
α
>
0
,where α is a degeneration factor of denoting decrease in the handling capacities such as decreasing energy. With the decrease in the handling capacities of nodes, the value of T
n
k
(
p
) increases. T
n
k
(
l
) is the time of local handling request message and T
n
k
(
t
) is the time of successful delivery of first video data. Let N
H
(
n
k
) be the number of request messages which are handled by n
k during a period of time T
n
k. The request processing rate of n
k can be obtained according to(4)
μ
n
k
=
N
H
n
k
T
n
k
,where μ
n
k does not meet a specific distribution due to the unreliable link in the mobile environment and different performance of mobile devices. Each CS handles the request message according to the first-come-first-service rule. In order to ensure high QoS of system, the relationship between λ
n
k and μ
n
k needs to meet the following equation:(5)
m
i
n
n
k
∈
S
v
i
u
n
k
-
λ
n
k
>
0
.The stay delay of request message in the message queue of supplier is defined asT
n
k
(
s
)
=
T
n
k
(
l
)
+
T
n
k
(
w
), where T
n
k
(
w
) is the delay of request message waiting to be processed. If the request processing rate is higher than the request arrival rate, T
n
k
(
w
) is 0 s. The suppliers can fast handle the request message and deliver requested video data. Otherwise, if T
n
k
(
w
)
>
0, the suppliers need to handle other request messages so that the increase in the startup delay of request nodes leads to the low level of user experience. In order to ensure the quality of user experience, if T
n
k
(
w
)
>
0, the clouds need to maintain more resources to meet the demand of request nodes. Because the random quit of nodes results in decreasing the number of items in S
v
i, the scale of items in S
v
i should meet the following rule.Rule 1.
If the decreased number of items inS
v
i is greater than the increment of items in S
v
i in unit time or the request processing rate and request arrival rate of all items in S
v
i cannot meet (5), the clouds enlarge the scale of S
v
i.As we know, once the request nodes receive the video data from the suppliers, they cache the video content and are considered as CSs. When the clouds need to enlarge the scale ofS
v
i, these request nodes which have reliable state should preferentially be added into S
v
i. If the clouds cannot obtain more members (e.g., mass nodes request other video contents or quit the system), the clouds provide the video streaming for the request nodes.


## 3.3. Supplier Scheduling Mechanism

As Figure2 shows, the supplier scheduling mechanism architecture relies on the serving capacity of CSs and the similarity of moving behavior between CSs and requester to select appropriate supplier. (1) Serving capacity of CSs: each CS makes use of the length of handling queue to calculate the expectation time of handling a request message and delivering video data. This expectation time is considered as the serving capacity of CS; namely, the low time of handling and delivery denotes strong serving capacity. (2) Similarity of moving behavior between CSs and requester: the CSs report the information of serving time and moving trace. The clouds/server use(s) the similarity of moving trace of CSs and requester as weight value of serving capacity of CSs. The measurement of weighted serving capacity can ensure high efficiency of handling request message and delivering video data.Figure 2
Supplier scheduling mechanism architecture.When the clouds/server receive(s) the request messages of members, it selects the appropriate CSs fromS
v
i. This is because each mobile device is limited by the energy, bandwidth, computation, and storage. The clouds/server not only forward(s) these request messages in terms of the capacities of mobile devices, but also balance(s) the load between CSs. Each CS handles the request message according to the first-come-first-service rule; namely, the process of handling request message meets the M
/
G
/
1 queuing model. When the request message of a member is forwarded to n
k, in terms of Pollaczek-Khintchine (P-K) formula, the number of items in the handling queue of n
k can be defined as(6)
N
Q
n
k
=
ρ
v
i
+
ρ
v
i
2
+
λ
v
i
2
σ
v
i
2
1
-
ρ
v
i
,where σ
c
i is the variance of time of n
k handling received request messages during T
n
k. ρ
v
i denotes the time of n
k handling the request messages and is defined as(7)
ρ
v
i
=
λ
v
i
E
T
n
k
p
v
i
,where E
(
T
n
k
(
p
)
)
v
i is the expectation value of time of n
k processing all request messages during T
n
k. We make use of Little formula [28] to obtain the average residence time of request message in the queue of message processing of n
k according to(8)
W
s
=
L
s
λ
v
i
=
E
T
n
k
p
v
i
+
λ
v
i
E
T
n
k
p
v
i
2
+
λ
v
i
2
σ
v
i
2
1
-
λ
v
i
E
T
n
k
p
v
i
2
.Further, the expectation time of serving a requester is obtained according to(9)
T
n
k
s
=
W
s
+
E
T
n
k
d
v
i
,where T
n
k
(
d
) is the time of n
k delivering first data of c
i, E
(
T
n
k
(
d
)
)
v
i is the expectation value of T
n
k
(
d
), and T
n
k
(
s
) also is considered as the serving capacity of n
k. The clouds can obtain a set of serving capacities of all items in S
v
i; namely, S
S
C
=
(
T
n
a
(
s
)
,
T
n
b
(
s
)
,
…
,
T
n
t
(
s
)
). Moreover, we consider the similarity of moving trace between supplier and requester and transform (9) to (10):(10)
S
C
n
k
=
1
T
n
k
s
+
c
o
s
w
n
k
+
1
,where w
n
k is a similarity of moving trace of nodes. Each node n
i periodically updates the information of one-hop neighbor nodes and considers them as encountered nodes; namely, L
e
=
(
n
1
,
n
2
,
…
,
n
k
). Let f
k denote the number of encounter of n
i and n
k. The mean value of encounter number of all nodes in L
e is defined as(11)
f
¯
=
∑
c
=
1
k
f
c
k
.Iff
k
>
f
¯, n
k is a frequently encountered node of n
i. n
i extracts the information of frequently encountered nodes and constructs a vector m
t
i
=
(
n
a
,
n
b
,
…
,
n
v
) to denote moving trace. The similarity value of moving trace between n
i and n
k is defined as(12)
w
n
k
=
m
t
i
∩
m
t
k
m
a
x
m
t
i
,
m
t
k
.The new system members which request a video content have not served other nodes; namely,T
(
s
)
=
0. The item in S
v
i with m
a
x
{
S
C
n
a
,
S
C
n
b
,
…
,
S
C
n
t
} is considered as a CS which has the strongest serving capacity and is selected as the supplier. Because T
(
s
) of new system members is 0, the values of their S
Cs are less. The probability of new system members becoming suppliers is higher than other members, which can balance the load of system members.


## 3.4. Model Implementation

In the process of scheduling the request, the clouds/server need(s) to balance the load of CSs. The clouds/server remove(s) the CSs whase surplus bandwidth cannot meet the playback rate or request processing rate (RPR) is lower than the request arrival rate fromS
v
i. If the removed CSs recover sufficient bandwidth and RPR, they are added into S
v
i. When the clouds/server receive(s) a request message r
x, they/it select(s) a CS n
k with m
a
x
{
S
C
n
a
,
S
C
n
b
,
…
,
S
C
n
t
} as the supplier. The clouds/server make(s) the decision of adding the requester into S
v
i in terms of Rule 1. In the process of handling each request message, n
k records receive the message number and the time of processing each message during a period time T
n
k, namely, N
R
(
n
k
), N
H
(
n
k
), T
n
k
(
l
), and T
n
k
(
t
). n
k further obtains the values of λ
n
k, μ
n
k, and T
n
k
(
p
). After n
k finishes the delivery of video data for the requester, n
k records the total time T
n
k
(
d
) of data transmission and sends a message containing λ
n
k, μ
n
k, T
n
k
(
p
), T
n
k
(
d
) and moving trace to the clouds/server. The clouds/server use(s) these parameter values to update the T
n
k
(
s
) of n
k. The clouds/server make(s) use of moving traces of requester and CSs to calculate similarity of moving behavior between them. By investigating the similarity of moving behavior and serving capacity of CS, the system can achieve fast response for the request and high-efficiency delivery of video data, ensuring smooth playback experience. The pseudocode of the process of resource search is detailed in Algorithm 1 whose computation complexity is O
(
n
).Algorithm 1:Search process of video file v
j.
(1) receives request message of requestern
u;
(2)for  (i = 0; i
<
t; i++)
(3)
if bandwidth and RPR of S
v
j
[
i
] meet the demand
(4)calculates serving expectation time of S
v
j
[
i
] by (9);
(5)calculates moving similarity of S
v
j
[
i
] and n
u by (11);
(6)obtains measurement value S
C
i of capacity of S
v
j
[
i
];
(7)adds S
C
i into result set R;
(8)
end if
(9)end for
(10)forwards message to supplier n
v with minimum in R;
(11)
n
v returns response message to n
u;
(12)
n
v sends video data to n
u;


## 4. Testing and Test Results Analysis

We investigate the performance of the proposed CSVD in comparison with SPOON [18], a state-of-the-art P2P-based file sharing solution. The number of video files is 100 and the length of each file is 60 s. CSVD was modeled and implemented in NS-2, as described in the previous sections.


### 4.1. Testing Topology and Scenarios

Table1 lists some NS-2 simulation parameters of the MANET for the two solutions. We created 100 user viewing logs; namely, each user randomly accesses 20 video files and the viewing period time is set to random value. Moreover, when the users have watched a video in terms of the random playback period time, they continue to request new video file. 100 mobile nodes play video file following 100 logs and uniformly join the system following the Poisson distribution from 0 s to 360 s. After the nodes arrive at the target location, they continue to move to new target location in new assigned speed. In SPOON, 100 nodes randomly store 20 files with different keywords before they join system and the number of intersection of their local files is 100. The requested files corresponding to 100 logs are not included in their local files. We define some parameter value for SPOON: π
=
1, Ω
=
1, S
m
a
x
=
1, h
1
=
30, h
2
=
30, and T
G
=
1.Table 1
Simulation parameter setting for MANET.
Parameters
Values
Area
800 × 800 m2
Channel
Channel/WirelessChannel
Network interface
Phy/WirelessPhyExt
MAC interface
Mac/802_11
Number of mobile nodes
400
Number of mobile nodes playing video
100
Mobile speed range of nodes
[0, 30] m/s
Simulation time
600 s
Signal range of mobile nodes
200 m
Default distance between server and nodes
6 hops
Default distance between clouds and nodes
6 hops
Transmission protocol
UDP
Wireless routing protocol
DSR
Bandwidth of server
20 Mb/s
Bandwidth of mobile nodes
10 Mb/s
Transmission rate of video data
128 kb/s
Travel direction of mobile nodes
Random
Pause time of mobile nodes
0 s


### 4.2. Performance Evaluation

The performance of CSVD is compared with that of SPOON in terms of average file seek delay (AFSD), packet loss rate (PLR), throughput, video quality, and overlay maintenance cost, respectively.(1) AFSD. The difference value between the time when a node requests a video file and the time when the node receives first video data is considered as the file seek delay. The mean value of the cumulative sum of delay values during a time interval denotes AFSD.As Figure3 shows, SPOON’s AFSD curve experiences slow increase from t
=
300 s to t
=
540 s after fast decrease from t
=
60
s to t
=
240 s with the delay range between 2.6 s and 3.9 s. SPOON’s curve finally decreases to roughly 3.6 s from t
=
540
s to t
=
600
s. CSVD’s curve shows slow rise with slight fluctuation, which slowly decreases to 1.4 s from t
=
120 s to t
=
180 s. The curve has a slow increase from t
=
210
s to t
=
510
s and decreases to roughly 2 s at t
=
600
s, which maintains relatively low level (the values are roughly 35% lower than those of SPOON).Figure 3
AFSD against simulation time.Figure4 presents the AFSD variation with increasing number of nodes which have joined the system. The blue curve corresponding to the SPOON’s results has both higher values and larger fluctuation with the increase in the number of nodes (the values are between 2.6 s and 4.6 s). The CSVD results, illustrated with red curve, have values between 1.5 s and 2.3 s, with lower variations than SPOON’s results.Figure 4
AFSD against number of nodes.Initially, the number of members in communities is relatively less, so SPOON only uses the interest-oriented routing algorithm (IRA) to search the video files from foreign communities. The request messages are continually forwarded between the mobile nodes, which leads to the high AFSD. With the increase in the number of nodes, the community members require the community coordinators to search desired files. If the requested files are in the intracommunity, the intracommunity search speeds up the process of resource location, so SPOON’s AFSD values can fast decrease and keep the relatively low level. However, when the members do not fetch the requested files from the intracommunity, they rely on the community ambassadors to search the resources from foreign communities. Therefore, SPOON’s AFSD values show fast rise with increasing number of search messages. Moreover, SPOON does not consider the mobility of nodes, so that the dynamic change of geographical location between the requesters and the suppliers brings negative influence for the delay of data delivery. In CSVD, the server and clouds are responsible for handling the request messages and scheduling the available resources for the requesters, so the fast response at the server and clouds side reduces the delay of video file seeking. Moreover, CSVD investigates the similarity of moving trace between requesters and suppliers. The stable mobility between requesters and suppliers enhances the efficiency of video data delivery. On average CSVD’s results are better than those of SPOON.Packet Loss Rate (PLR). The ratio between the number of packets lost in the process of video data transmission and the total number of packets of video data sent is defined as PLR.As Figure5 shows, the curves corresponding to CSVD and SPOON show a rise trend with increasing number of nodes. The results of CSVD and SPOON maintain low levels when the number of nodes increases to 60 and represent fast rise from 70 to 100. However CSVD’s PLR is roughly 20% better than the values associated with SPOON.Figure 5
PLR against number of nodes.Figure6 shows the variation of PLR values with the increase in mobility speed of mobile nodes in MANETs. The CSVD results have both low values and slight increase from [
0
,
5
] to (25, 30] and are between 0.15 and 0.22. The blue bars corresponding to the SPOON results maintain high levels and are between 0.16 and 0.24. The CSVD PLR values are roughly 10% lower than the results of SPOON.Figure 6
PLR against range variation in the mobility speed of mobile nodes.Small scale system members only consume the small number of network bandwidth, so the PLR curves of two systems keep slight rise. With increasing number of system members, the members require more network bandwidth so that the network congestion results in high PLR. On the other hand, the low mobility of mobile nodes brings slight variation in the PLR due to the slow change in the geographical distance. With the increase in the mobility of mobile nodes, the fast variation of geographical distance between requesters and suppliers leads to high probability of packet loss. The community coordinators and ambassadors in SPOON do not consider the mobility of nodes in the process of the assignment of suppliers for the requesters. The efficiency of data delivery in SPOON is influenced by the increase in the geographical distance between requesters and suppliers; namely, the communication with long distance increases the probabilities of wireless link break and packet loss. In CSVD, the server and clouds match the similarity between requesters and suppliers and assign the suppliers which have the most similar moving behavior with requesters to provide requested video streaming. The stable geographical distance between them ensures high transmission performance such as low delay and reduced PLR. Therefore, CSVD PLR is kept at low level.Average Throughput. The total number of packets received in the overlay during a certain time period divided by the length of this time period is defined as the average throughput.Figure7 shows the variation of average throughput of SPOON and CSVD with increasing simulation time. The curves corresponding to two systems show similar rise trajectory; namely, they experience a fast rise from t
=
60 s to t
=
180
s and a decreasing trend from t
=
210
s to t
=
600
s. The increment of CSVD results is higher than that of SPOON and the peak value of SPOON’s curve at 360 s is larger than that of CSVD.Figure 7
Throughput against simulation time.The mobile nodes request the video content following a Poisson distribution fromt
=
0
s to t
=
360
s. The increase in the number of nodes leads to numerous transmitted video data packets in network. The two systems have fast rise trend from t
=
0
s to t
=
180
s and slow increase from t
=
210
s to t
=
360
s and reach peak values at t
=
360
s. When the data traffic of transmitting video content is larger than the bandwidth provided by the network, numerous data packets are discarded, reducing the throughput. In SPOON, the delivery without considering mobility of requesters and suppliers is subjected to serious negative influence; namely, the communication quality in the transmission path decreases due to the network congestion. The values of SPOON throughput maintains low level. In CSVD, the requesters receive video data from the suppliers assigned by the server and clouds in terms of similarity of their moving behavior. This ensures that the delivery performance of CSVD is positive, including high throughput, low PLR, and low delay. Therefore, the throughput values of CSVD are larger than those of SPOON.Video Quality. The peak signal-to-noise ratio (PSNR) [29] is used to denote the video quality, measured in decibels (dB), and is estimated according to (13):(13)
P
S
N
R
=
20
·
l
o
g
10
M
A
X
_
B
i
t
E
X
P
_
T
h
r
-
C
R
T
_
T
h
r
2
,where E
X
P
_
T
h
r is the average throughput expected from the delivery of the video content, M
A
X
_
B
i
t is the average bitrate of the video stream as resulted from the encoding process, and C
R
T
_
T
h
r denotes the actual throughput measured during delivery. M
A
X
_
B
i
t and E
X
P
_
T
h
r are 128 kb/s in terms of simulation settings, respectively. We calculate PSNR of single video streaming corresponding to every node according to the throughput with increasing number of nodes.Figure8 shows the average video quality of single video streaming corresponding to each node with increasing number of the nodes. The results of SPOON and CSVD show the fall trend. The red bars corresponding to CSVD’s results have the range [
8
,
30
] and are roughly 10% higher than SPOON. The blue bars corresponding to SPOON’s results have a fast decrease from the peak value 26 dB to a minimum of 7 dB.Figure 8
PSNR against number of nodes.PSNR reflects the video quality perceived by users. The delivery of video content relies on the retransmission of mobile nodes in MANETs. The small number of system members do not consume too many bandwidths of the forwarding nodes, so that the PLR and delay maintain low level (PSNR also keeps high level). With increasing number of nodes, the requirement of high bandwidth for the video streaming consumes the network bandwidth and triggers the network congestion. At the moment, the high PLR and low throughput bring low PSNR of single video streaming corresponding to each node. SPOON neglects the mobility of requesters and suppliers, so that the transmission performance of video data is subjected to serious influence from network congestion. In CSVD, the requesters and suppliers have similar moving behavior by the assignment of the server and clouds. The high-efficiency delivery of video data can obtain, respectively, low PLR. The PSNR values of CSVD are better than those of SPOON.Maintenance Overhead. The average bandwidth which is used by the sent messages for maintaining the overlay topology is considered as the maintenance overhead.As Figure9 shows, the overlay maintenance overhead values of two systems have similar changing trend with increasing number of mobile nodes. SPOON’s results fast increase from t
=
240 s to t
=
600
s after a slow rise from t
=
60
s to t
=
240
s. The curve corresponding to CSVD maintains a slow increasing trend and has a low increment, with values roughly 30% lower than those of SPOON.Figure 9
Maintenance overhead against simulation time.The nodes in SPOON are grouped into multiple communities in terms of the interest. The community coordinators are responsible for maintaining the state and stored resources of members and handling the request messages of files. Although SPOON employs a periodical state maintenance mechanism, the increasing scale of maintained nodes leads to high load for the coordinators. Mass messages of state maintenance and files request consume a lot of energy and bandwidth of coordinators, so the capacities of coordinators become the bottleneck of system scalability. Moreover, the frequent exchange of members’ state messages and broadcast messages of coordinators’ replacement increase the maintenance cost of communities. SPOON’s maintenance overhead values fast increase with increasing number of nodes. Unlike SPOON (all nodes are maintained by the coordinators), the server and clouds in CSVD only maintain the playback state of nodes, reducing the number of exchanging messages. The clouds also dynamically regulate the number of maintained nodes in terms of the balance between supply and demand. Therefore, CSVD’s maintenance overhead for the overlay topology keeps lower level than that of SPOON.


## 4.1. Testing Topology and Scenarios

Table1 lists some NS-2 simulation parameters of the MANET for the two solutions. We created 100 user viewing logs; namely, each user randomly accesses 20 video files and the viewing period time is set to random value. Moreover, when the users have watched a video in terms of the random playback period time, they continue to request new video file. 100 mobile nodes play video file following 100 logs and uniformly join the system following the Poisson distribution from 0 s to 360 s. After the nodes arrive at the target location, they continue to move to new target location in new assigned speed. In SPOON, 100 nodes randomly store 20 files with different keywords before they join system and the number of intersection of their local files is 100. The requested files corresponding to 100 logs are not included in their local files. We define some parameter value for SPOON: π
=
1, Ω
=
1, S
m
a
x
=
1, h
1
=
30, h
2
=
30, and T
G
=
1.Table 1
Simulation parameter setting for MANET.
Parameters
Values
Area
800 × 800 m2
Channel
Channel/WirelessChannel
Network interface
Phy/WirelessPhyExt
MAC interface
Mac/802_11
Number of mobile nodes
400
Number of mobile nodes playing video
100
Mobile speed range of nodes
[0, 30] m/s
Simulation time
600 s
Signal range of mobile nodes
200 m
Default distance between server and nodes
6 hops
Default distance between clouds and nodes
6 hops
Transmission protocol
UDP
Wireless routing protocol
DSR
Bandwidth of server
20 Mb/s
Bandwidth of mobile nodes
10 Mb/s
Transmission rate of video data
128 kb/s
Travel direction of mobile nodes
Random
Pause time of mobile nodes
0 s


## 4.2. Performance Evaluation

The performance of CSVD is compared with that of SPOON in terms of average file seek delay (AFSD), packet loss rate (PLR), throughput, video quality, and overlay maintenance cost, respectively.(1) AFSD. The difference value between the time when a node requests a video file and the time when the node receives first video data is considered as the file seek delay. The mean value of the cumulative sum of delay values during a time interval denotes AFSD.As Figure3 shows, SPOON’s AFSD curve experiences slow increase from t
=
300 s to t
=
540 s after fast decrease from t
=
60
s to t
=
240 s with the delay range between 2.6 s and 3.9 s. SPOON’s curve finally decreases to roughly 3.6 s from t
=
540
s to t
=
600
s. CSVD’s curve shows slow rise with slight fluctuation, which slowly decreases to 1.4 s from t
=
120 s to t
=
180 s. The curve has a slow increase from t
=
210
s to t
=
510
s and decreases to roughly 2 s at t
=
600
s, which maintains relatively low level (the values are roughly 35% lower than those of SPOON).Figure 3
AFSD against simulation time.Figure4 presents the AFSD variation with increasing number of nodes which have joined the system. The blue curve corresponding to the SPOON’s results has both higher values and larger fluctuation with the increase in the number of nodes (the values are between 2.6 s and 4.6 s). The CSVD results, illustrated with red curve, have values between 1.5 s and 2.3 s, with lower variations than SPOON’s results.Figure 4
AFSD against number of nodes.Initially, the number of members in communities is relatively less, so SPOON only uses the interest-oriented routing algorithm (IRA) to search the video files from foreign communities. The request messages are continually forwarded between the mobile nodes, which leads to the high AFSD. With the increase in the number of nodes, the community members require the community coordinators to search desired files. If the requested files are in the intracommunity, the intracommunity search speeds up the process of resource location, so SPOON’s AFSD values can fast decrease and keep the relatively low level. However, when the members do not fetch the requested files from the intracommunity, they rely on the community ambassadors to search the resources from foreign communities. Therefore, SPOON’s AFSD values show fast rise with increasing number of search messages. Moreover, SPOON does not consider the mobility of nodes, so that the dynamic change of geographical location between the requesters and the suppliers brings negative influence for the delay of data delivery. In CSVD, the server and clouds are responsible for handling the request messages and scheduling the available resources for the requesters, so the fast response at the server and clouds side reduces the delay of video file seeking. Moreover, CSVD investigates the similarity of moving trace between requesters and suppliers. The stable mobility between requesters and suppliers enhances the efficiency of video data delivery. On average CSVD’s results are better than those of SPOON.Packet Loss Rate (PLR). The ratio between the number of packets lost in the process of video data transmission and the total number of packets of video data sent is defined as PLR.As Figure5 shows, the curves corresponding to CSVD and SPOON show a rise trend with increasing number of nodes. The results of CSVD and SPOON maintain low levels when the number of nodes increases to 60 and represent fast rise from 70 to 100. However CSVD’s PLR is roughly 20% better than the values associated with SPOON.Figure 5
PLR against number of nodes.Figure6 shows the variation of PLR values with the increase in mobility speed of mobile nodes in MANETs. The CSVD results have both low values and slight increase from [
0
,
5
] to (25, 30] and are between 0.15 and 0.22. The blue bars corresponding to the SPOON results maintain high levels and are between 0.16 and 0.24. The CSVD PLR values are roughly 10% lower than the results of SPOON.Figure 6
PLR against range variation in the mobility speed of mobile nodes.Small scale system members only consume the small number of network bandwidth, so the PLR curves of two systems keep slight rise. With increasing number of system members, the members require more network bandwidth so that the network congestion results in high PLR. On the other hand, the low mobility of mobile nodes brings slight variation in the PLR due to the slow change in the geographical distance. With the increase in the mobility of mobile nodes, the fast variation of geographical distance between requesters and suppliers leads to high probability of packet loss. The community coordinators and ambassadors in SPOON do not consider the mobility of nodes in the process of the assignment of suppliers for the requesters. The efficiency of data delivery in SPOON is influenced by the increase in the geographical distance between requesters and suppliers; namely, the communication with long distance increases the probabilities of wireless link break and packet loss. In CSVD, the server and clouds match the similarity between requesters and suppliers and assign the suppliers which have the most similar moving behavior with requesters to provide requested video streaming. The stable geographical distance between them ensures high transmission performance such as low delay and reduced PLR. Therefore, CSVD PLR is kept at low level.Average Throughput. The total number of packets received in the overlay during a certain time period divided by the length of this time period is defined as the average throughput.Figure7 shows the variation of average throughput of SPOON and CSVD with increasing simulation time. The curves corresponding to two systems show similar rise trajectory; namely, they experience a fast rise from t
=
60 s to t
=
180
s and a decreasing trend from t
=
210
s to t
=
600
s. The increment of CSVD results is higher than that of SPOON and the peak value of SPOON’s curve at 360 s is larger than that of CSVD.Figure 7
Throughput against simulation time.The mobile nodes request the video content following a Poisson distribution fromt
=
0
s to t
=
360
s. The increase in the number of nodes leads to numerous transmitted video data packets in network. The two systems have fast rise trend from t
=
0
s to t
=
180
s and slow increase from t
=
210
s to t
=
360
s and reach peak values at t
=
360
s. When the data traffic of transmitting video content is larger than the bandwidth provided by the network, numerous data packets are discarded, reducing the throughput. In SPOON, the delivery without considering mobility of requesters and suppliers is subjected to serious negative influence; namely, the communication quality in the transmission path decreases due to the network congestion. The values of SPOON throughput maintains low level. In CSVD, the requesters receive video data from the suppliers assigned by the server and clouds in terms of similarity of their moving behavior. This ensures that the delivery performance of CSVD is positive, including high throughput, low PLR, and low delay. Therefore, the throughput values of CSVD are larger than those of SPOON.Video Quality. The peak signal-to-noise ratio (PSNR) [29] is used to denote the video quality, measured in decibels (dB), and is estimated according to (13):(13)
P
S
N
R
=
20
·
l
o
g
10
M
A
X
_
B
i
t
E
X
P
_
T
h
r
-
C
R
T
_
T
h
r
2
,where E
X
P
_
T
h
r is the average throughput expected from the delivery of the video content, M
A
X
_
B
i
t is the average bitrate of the video stream as resulted from the encoding process, and C
R
T
_
T
h
r denotes the actual throughput measured during delivery. M
A
X
_
B
i
t and E
X
P
_
T
h
r are 128 kb/s in terms of simulation settings, respectively. We calculate PSNR of single video streaming corresponding to every node according to the throughput with increasing number of nodes.Figure8 shows the average video quality of single video streaming corresponding to each node with increasing number of the nodes. The results of SPOON and CSVD show the fall trend. The red bars corresponding to CSVD’s results have the range [
8
,
30
] and are roughly 10% higher than SPOON. The blue bars corresponding to SPOON’s results have a fast decrease from the peak value 26 dB to a minimum of 7 dB.Figure 8
PSNR against number of nodes.PSNR reflects the video quality perceived by users. The delivery of video content relies on the retransmission of mobile nodes in MANETs. The small number of system members do not consume too many bandwidths of the forwarding nodes, so that the PLR and delay maintain low level (PSNR also keeps high level). With increasing number of nodes, the requirement of high bandwidth for the video streaming consumes the network bandwidth and triggers the network congestion. At the moment, the high PLR and low throughput bring low PSNR of single video streaming corresponding to each node. SPOON neglects the mobility of requesters and suppliers, so that the transmission performance of video data is subjected to serious influence from network congestion. In CSVD, the requesters and suppliers have similar moving behavior by the assignment of the server and clouds. The high-efficiency delivery of video data can obtain, respectively, low PLR. The PSNR values of CSVD are better than those of SPOON.Maintenance Overhead. The average bandwidth which is used by the sent messages for maintaining the overlay topology is considered as the maintenance overhead.As Figure9 shows, the overlay maintenance overhead values of two systems have similar changing trend with increasing number of mobile nodes. SPOON’s results fast increase from t
=
240 s to t
=
600
s after a slow rise from t
=
60
s to t
=
240
s. The curve corresponding to CSVD maintains a slow increasing trend and has a low increment, with values roughly 30% lower than those of SPOON.Figure 9
Maintenance overhead against simulation time.The nodes in SPOON are grouped into multiple communities in terms of the interest. The community coordinators are responsible for maintaining the state and stored resources of members and handling the request messages of files. Although SPOON employs a periodical state maintenance mechanism, the increasing scale of maintained nodes leads to high load for the coordinators. Mass messages of state maintenance and files request consume a lot of energy and bandwidth of coordinators, so the capacities of coordinators become the bottleneck of system scalability. Moreover, the frequent exchange of members’ state messages and broadcast messages of coordinators’ replacement increase the maintenance cost of communities. SPOON’s maintenance overhead values fast increase with increasing number of nodes. Unlike SPOON (all nodes are maintained by the coordinators), the server and clouds in CSVD only maintain the playback state of nodes, reducing the number of exchanging messages. The clouds also dynamically regulate the number of maintained nodes in terms of the balance between supply and demand. Therefore, CSVD’s maintenance overhead for the overlay topology keeps lower level than that of SPOON.


## 5. Conclusion

In this paper, we propose a novel Cloud-assisted Scalable Video Delivery solution over mobile ad hoc networks (CSVD). CSVD improves the scalability of light-duty video streaming system with the help of the clouds by maintaining the peers which carry hotspot resources in P2P networks to ensure smooth playback experience of users. The estimation model of resource maintenance scale can regulate the utilization of cloud resources in terms of dynamic balance between supply and demand. The supplier scheduling mechanism can assign resource suppliers in terms of their load and serving capacity. The results show how CSVD ensures lower average file seek delay, lower packet loss rate, higher throughput, higher video quality, and lower overlay maintenance cost than SPOON.



---

*Source: 205106-2015-08-31.xml*