Professional Documents
Culture Documents
Cooperative Caching For Spectrum Access in Cognitive Radio Networks
Cooperative Caching For Spectrum Access in Cognitive Radio Networks
Abstract—In this paper, we investigate cooperative caching Caching popular contents at base stations (BSs) has also
for spectrum access in cognitive radio networks. By cooperative been recognized as an effective way to support the tremendous
caching, we mean that the unlicensed secondary base station growth of mobile data traffic [6], [7]. This is mainly due to a
(SBS) can cache certain primary contents to serve primary
users, in exchange for the opportunities to access the licensed central feature of content-centric services, i.e., a few popular
spectrum. We consider the joint optimization of caching and contents account for a majority of data traffic. Moreover, by
scheduling of the SBS to maximize the weighted average number proactively fetching contents during off-peak times, caching
of satisfied secondary requests under the average available time brings contents closer to users and hence can improve user-
constraint and the cache capacity constraint. This problem is perceived experience. As such, caching effectiveness has been
a mixed-integer bilinear programming, which is challenging in
general. By exploring the special structure of the problem, we explored in different wireless architectures [8]–[10].
first show that the optimal caching satisfies a cache-split structure In light of the benefits of cooperative spectrum sharing and
and the optimal scheduling satisfies a rate-ratio structure. Then, caching, we would like to investigate cooperative caching in
based on these optimality properties, we transform the original CRNs in this work. Consider a CRN consisting of a primary
problem into a simplified joint cache splitting and SU partitioning BS (PBS) and a secondary BS (SBS), and primary users (PUs)
optimization problem, and propose an efficient algorithm to solve
it optimally. Moreover, we investigate the impacts of the primary request for primary contents and secondary users (SUs) request
and secondary content popularity distributions on the system for secondary contents. The SBS has a local cache with finite
performance. Numerical results verify the theoretical analysis storage size. By cooperative caching, we mean that the SBS
and provide some counter-intuitive insights. can cache certain primary contents to serve the corresponding
I. I NTRODUCTION requests from PUs with possibly higher transmission rates.
In this way, the total time for satisfying primary requests
Propelled by the vast proliferation of smart mobile devices, could be shorten and the SBS can obtain more transmission
global mobile data traffic is undergoing an unprecedented opportunities to serve SUs with the cached secondary contents.
growth, which is predicted to exceed 30 exabytes per month While cooperative caching appears to offer obvious benefits
by 2020, an eightfold increase over 2015 [1]. Meanwhile, to the CRN, it is not clear that how many primary contents
the demand for wireless services has also been experienc- should the SBS cache. Caching too many primary contents
ing a fundamental shift, from the conventional connection- would provide plenty of transmission opportunities for the
centric communications, e.g., phone calls and messaging, SBS, which, however, may not be fully utilized, as very few
to the emerging content-centric communications, e.g., video secondary contents can be cached. Moreover, the design of
streaming and multimedia content sharing. To handle the “data cooperative caching in CRNs is further challenging due to
tsunami” with the scarce radio spectrum resources, it is of the heterogeneous nature of content popularities and users’
great importance for mobile operators to take account of this channel conditions.
demand shift. Recently, caching has been investigated in CRNs in the
Cognitive radio networks (CRNs) offer a promising paradig- literature [11]–[14]. Specifically, [11] and [12] consider con-
m to improve spectrum efficiency and alleviate spectrum tent caching in multi-hop CRNs to minimize the caching
scarcity, by allowing unlicensed secondary networks to oppor- dissemination and access costs and to maximize the data
tunistically access the spectrum licensed to primary networks retrieval probability, respectively. In [13], the authors study
[2]. To further provide benefits for both primary and secondary dynamic spectrum allocation for proactive caching to improve
networks, cooperative spectrum sharing has been proposed and the performance of video distribution in information-centric
extensively investigated from various perspectives [3]–[5]. The CRNs. However, the cooperation between primary and sec-
basic idea of cooperative spectrum sharing is that secondary ondary networks are not considered in [11]–[13]. In [14], the
networks offload data traffic of primary networks in exchange authors consider cooperative caching in CRNs, and propose
for additional spectrum access opportunities. Through this joint caching and scheduling algorithms to stabilize CRNs
approach, mutual benefits can be gained in CRNs. (i.e., keep the length of all request queues for primary and
This work is supported by the NSF of China under grants 61571299 and secondary contents upper-bounded). Note that, the stability
61329101. of CRNs does not necessarily lead to good performance for
We consider that the primary and the secondary networks B. Service Model
are different, and hence the PUs and the SUs are interested We assume that the duration of a content transmission is
in different sets of contents. Let M {1, 2, · · · , M } and long enough to average the small-scale channel fading process.
N {1, 2, · · · , N } denote the sets of primary and secondary The PBS and the SBS transmit at fixed power. We denote
contents, respectively. For simplicity, we assume that each the transmission rate provided by the PBS to PU i as RP,i
P
primary and secondary content is of the same size.1 Let qm contents/second and the transmission rate provided by the SBS
S
and qn denote the popularities of primary contentm ∈ M and to SU j as RS,j contents/second. We assume that the SBS
P
secondary
content n ∈ N , respectively, where m∈M qm = can serve PUs who request the cached primary contents, and
S
1 and n∈N q n = 1. It is assumed that the popularity denote the transmission rate from the SBS to PU i as RS,i
distributions, i.e., qP (qm P
)m∈M and qS (qnS )n∈N , content/second. Note that we do not necessarily have RS,i >
are known a priori. Without loss of generality, we assume RP,i for all PU i. All primary requests must be served, by
that both the primary and secondary content popularities are either the PBS or the SBS, while the secondary requests may
decreasing in the index, i.e., q1P ≥ q2P ≥ · · · ≥ qM P
and only be partially served by the SBS due to the unlicensed
S S S
q1 ≥ q2 ≥ · · · ≥ qN . We consider a slotted system, nature of the secondary network and the limited cache size
where the slot duration is comparable to the timescale of of the SBS. Let ρP i,m ∈ [0, 1] denote the fraction of content
user request dynamics, and hence can be in the order of request from PU i to primary content m that is served by
several minutes. Denote the slot duration as T seconds. In each the SBS. The remaining fraction of such content requests will
1 This assumption can be easily removed, since contents with different sizes be served by the PBS. Similarly, let ρSj,n ∈ [0, 1] denote the
can be divided into equal-size content chunks. fraction of content requests from SU j to secondary content
IEEE ICC 2017 Mobile and Wireless Networking
n that is served by the SBS. Let ρ (ρP , ρS ) denote the Lemma 1: There exists CS∗ ∈ {1, · · · , C} such that the
P P
scheduling strategy of the SBS, where ρ (ρi,m )i∈I,m∈M optimal caching strategy of the SBS c∗ satisfies a cache-split
and ρS (ρSj,n )j∈J ,n∈N . Note that, the SBS can only serve structure, i.e.,
the requests for the cached (primary and secondary) contents. P∗ 1 if m = 1, · · · , C − CS∗
Therefore, under caching strategy c and scheduling strategy c m = , (2)
0 otherwise
ρ, the average time for serving the primary requests and the
1 if n = 1, · · · , CS∗
secondary requests in each slot are respectively given by cS∗
n = . (3)
0 otherwise
ρP
i,m cm
P
(1 − ρP P
i,m )cm 1 − cP CS∗ is referred to as the optimal cache splitting threshold.
m
TP = λP q m
P
+ + ,
RS,i RP,i RP,i Lemma 1 suggests that the cache space at the SBS can be
i∈I m∈M
splitted into two sub-caches, where the sub-cache with sizes
ρS cS ∗
S
T = S S j,n n
λ qn . C −C S is for primary contents and the sub-cache with size CS∗
RS,j is for secondary contents, and the optimal caching strategy is
j∈J n∈N
to cache the most popular contents according the size of each
C. Problem Formulation sub-cache. Therefore, the optimal caching strategy c∗ can be
In this work, our goal is to jointly optimize the caching found by a one-dimensional search of the single variable CS .
and scheduling strategies of the SBS so as to maximize the For any given cache splitting threshold CS , Problem 1
utility of the SBS, which is defined as the weighted average reduces to a linear programming problem with respect to the
number of satisfied secondary requests. Mathematically, the scheduling strategy, the optimal solution of which is denoted as
optimization problem is formulated as: ρ∗ (CS ). While this linear program can be solved by standard
Problem 1 (Optimal Caching and Scheduling): algorithms (e.g., the simplex algorithm or the interior-point
method), we show that ρ∗ (CS ) satisfies a rate-ratio structure in
S S S S
max U (c, ρ) = wj λ qn ρj,n cn (1a)
c,ρ the following lemma, which can provide insights for designing
j∈J n∈N
simple efficient algorithms.
s.t. T S ≤ T − T P , (1b) Lemma 2: There exists a vector μ (μCS )CS ∈{1,··· ,C}
cPm + c S
n ≤ C, (1c) such that for each CS , the optimal scheduling strategy ρ∗ (CS )
m∈M n∈N satisfies a rate-ratio structure, i.e.,
P S
ρi,m ∈ [0, 1], ρj,n ∈ [0, 1], ∀i, j, m, n, (1d) P∗ 1 if RS,i > RP,i & m = 1, · · · , C − CS
P S ρi,m (CS ) = ,
cm ∈ {0, 1}, cn ∈ {0, 1}, ∀m, n, (1e) 0 otherwise
where wj is the weight that represents the priority for SU (4)
j. Constraint (1b) indicates that the average time for serv- ⎧
⎪
⎨1 if wj RS,j > μCS & n = 1, · · · , CS
ing the secondary requests T S can not exceed the average
available time for the SBS, i.e., the slot duration T minus ρS∗
j,n (C S ) = Sj,n if wj RS,j = μCS & n = 1, · · · , CS ,
⎪
⎩
the average time for serving the primary requests T P . We 0 otherwise
refer to constraint (1b) as the average available time constraint. (5)
Constraint (1c) is the cache capacity constraint of the SBS. Let
where {Sj,n } can be any feasible {ρSj,n (CS )} such that
U ∗ denote the optimal value to Problem 1.
T S (ρS∗ (CS )) achieves the largest value among all feasible
Problem 1 is a mixed-integer bilinear programming prob-
ρS (CS ), i.e.,
lem, where each bilinear term involves the product of a binary
variable (i.e., c) and a continuous variable (i.e., ρ) [15], and T −T P (ρP ∗ (CS )) ≥ T S (ρS∗ (CS )) ≥ T S (ρS (CS )), ∀ρS (CS ).
hence is difficult to solve in general. Lemma 2 indicates that for each cached primary content,
III. O PTIMAL C ACHING AND S CHEDULING S TRATEGY the request from PU i will be exclusively served by the SBS,
provided that PU i can receive a higher transmission rate from
In this section, we first characterize the structural properties
the SBS than the PBS, as seen in (4). The reason is that for the
of the optimal caching and scheduling strategies. Then, based
SBS, serving PUs who can receive higher transmission rates
on these optimality properties, we transform the original prob-
from the PBS than the SBS (i.e., RP,i ≥ RS,i ) is not conducive
lem (Problem 1) into a simplified problem (Problem 2), and
to earn extra transmission time to serve SUs. Moreover, from
propose an efficient and optimal algorithm to solve it. Finally,
(5), it can be seen that for each cached secondary content,
we study the impacts of the primary content popularity on the
if the weighed transmission rate of SU j (i.e., wj RS,j ) is
system performance, when qP follows Zipf distributions [16].
larger than a certain threshold μCS , then the SBS will serve
A. Optimality Properties the corresponding request completely; if wj RS,j equals to
First, we show that the optimal caching strategy satisfies the this threshold, then the SBS will serve the request (possibly
following cache-split structure.2 partially) with the remaining available transmission time. This
reveals that the SBS will fully exploit the limited cache size
2 All the proofs are omitted due to page limit. and the limited available transmission time.
IEEE ICC 2017 Mobile and Wireless Networking
such that wj RS,j ≥ μCS for all j ∈ Jˆk∗ ∪ΔJˆk∗ and wj RS,j < 1 1
P P
− qC−CS +1 λ wj † RS,j † − , (12)
μCS for all other j, where μCS is given in (5). By Lemma 2, RP,i RS,i
we have the following relation between ρS and Jˆk∗ : i∈ÎS
⎧
⎪ if j ∈ Jˆk∗ & n = 1, · · · , CS for each CS ∈ {CSmin + 2, · · · , CSmax (Jˆk )}, where j † ∈ ΔJˆk .
⎨1
Based on Proposition 1, we have the following lemma.
ρj,n (CS ) = Sj,n if j ∈ ΔJˆk∗ & n = 1, · · · , CS . (6)
S∗
⎪
⎩ Lemma 3: For any given Jˆk , ΔU (Jˆk , CS ) is positive for
0 otherwise all CS ∈ {2, · · · , CSmin (Jˆk )} and is decreasing with CS for
min max ˆ
Note that, by Lemma 2, {Sj,n } can be explicitly determined all CS ∈ {CS + 2, · · · , CS (∗Jk )}.
Lemma 3 indicates that CS (Jˆk ) ∈ {CSmin (Jˆk ), · · · ,
by CS and Jˆk∗ . Therefore, we only need to focus on finding
CS (Jk )}. Moreover, for given Jˆk , to maximize the utility,
max ˆ
a proper Jˆk instead of determining μ in Lemma 2. Now,
the SBS may not choose to cache as many secondary con-
we can equivalently transform Problem 1 into the following
tents as possible, i.e., CS∗ (Jˆk ) does not necessarily equal to
optimization problem.
CSmax (Jˆk ). The reason is that, when CS increases, to maintain
Problem 2 (Optimal Cache Splitting and SU Partitioning):
⎛ ⎞ the feasibility of the available time constraint, the SBS may
C
S need to serve fewer requests from users in ΔJˆk∗ , which may
max U (Jˆk , CS ) = λS qnS ⎝ wj + wj Sj,n ⎠ lead to the decrease of the utility of the SBS. This reveals the
Jˆk ,CS n=1 j∈Jˆk j∈ΔJˆk tradeoff between serving more requests from users Jˆk∗ and
⎛ ⎞
CS serving more requests from users in ΔJˆk∗ , for given Jˆk∗ .
1 Sj,n
s.t. λS qnS ⎝ + ⎠ (7a) Note that, CSmin (Jˆk ) = CSmax (Jˆk+1 ). Thus, we have the
n=1 j∈Jˆk
RS,j
j∈ΔJˆk
RS,j following property of CS∗ (Jˆk ).
Proposition 2: CS∗ (Jˆk1 ) ≥ CS∗ (Jˆk2 ) for all k1 < k2 .
1 C−C
S 1 1
≤ T − λP + λP q m
P
− , Proposition 2 indicates that, to serve more SUs (recalling
i∈I
RP,i m=1
R P,i R S,i that Jˆk1 ⊆ Jˆk2 ), the SBS should cache more primary contents
i∈ÎS
so that it could obtain more available transmission time.
CS ∈ {1, · · · , C}, (7b)
Now, we can develop an efficient algorithm to solve Prob-
ˆ ˆ
Jk ∈ J , (7c) lem 2 optimally, as summarized in Algorithm 1.
where ÎS {i ∈ I|RS,i > RP,i } denotes the PUs whose C. Impacts of Content Popularities
requests for the cached primary contents can always be served Consider that the popularities of the primary and sec-
by the SBS. ondary contents qP and qS follow Zipf distributions, i.e.,
For given SU partitioning Jˆk , we can see that Problem 2 −α
n−β
qmP
= m M
S
−α and qn =
N −β , where α and β are
reduces to a cache splitting sub-problem, which is an integer l=1 l l=1 l
the Zipf parameters, which determine the skewness of the
programming problem. To efficiently solve each sub-problem,
corresponding distribution. Note that, the Zipf-like distribution
we first characterize some properties of CS∗ (Jˆk ).
is commonly used to model the popularity of online contents,
For each sub-problem, it can be seen that CS∗ (Jˆk ) ∈
such as web pages and videos [16].
{1, · · · , CSmax (Jˆk )}, where
Theorem 1: U ∗ is non-decreasing with α.
CSmax (Jˆk ) max{CS ∈ {1, · · · , C}|Sj,n = 0 ∀j ∈ ΔJˆk From Theorem 1, we can see that, when the popularity
and Constraint (7a) is satisfied}. (8) distribution of primary contents gets steeper (i.e., α increases),
the SBS can achieve a higher utility, as caching primary
To further simplify the search for CS∗ (Jˆk ), we study how contents becomes more effective. In other words, caching
U (Jˆk , CS ) varies with CS for given Jˆk . First, define effectiveness improves with the skewness of the popularity
distribution of primary contents. This phenomenon can also be
CSmin (Jˆk ) max{CS ∈ {1, · · · , C}|Sj,n = 1 ∀j ∈ ΔJˆk observed for the popularity distribution of secondary contents,
and Constraint (7a) is satisfied}, (9) which will be shown in Section IV.
IEEE ICC 2017 Mobile and Wireless Networking
20 60
58
16.04
56
10
16.02 54
49 51 52
0
0 10 20 30 40 50 60 0 0.5 1 1.5 2
20 60
16 40
10
15.8
56 57 20
0
0 10 20 30 40 50 60 0 0.5 1 1.5 2
Fig. 3: U (Jˆk , CS ) versus CS for given Jˆk . Fig. 5: CS∗ versus α and β.