Skip to main content

Energy-efficient time and energy resource allocation in non-selfish symbiotic cognitive relaying sensor network with privacy preserving for smart city

Abstract

Energy efficiency and privacy preserving have become essential for the wireless sensor networks. In this paper, a joint energy and time resource allocation problem for the cognitive users (CUs) in a non-selfish symbiotic cognitive relaying scheme (NSCRS) is considered. We aim to maximize the total energy efficiency (EE) of the primary user and CUs with the consideration of information privacy under the total energy constraints of CUs. With full channel state information (CSI), an optimal energy and time resource allocation algorithm is proposed based on the exhaustive searching. Besides, in order to reduce the overhead of CSI feedback, a suboptimal algorithm, in which only the partial instantaneous CSI is required, is additionally proposed. Simulation results demonstrate the EE of primary and CUs in the NSCRS with consideration of information privacy can be greatly improved by the proposed algorithms.

1 Introduction

Recently, the wireless sensor network (WSN) with privacy preserving has been widely considered in the civilian fields [1, 2]. However, due to the limited power supply for sensor nodes, energy efficiency of relay assisted WSN has attracted more and more attention [3, 4]. In addition, owing to better spectrum efficiency via relays with cognitive function, the radio resource management for EE of cognitive relay assisted WSN with privacy preserving is valuable for researching.

Owing to a larger service coverage and a higher system capacity at a relatively low deployment cost, relays had been widely considered into WSN to prolong the lifetime of network [5,6,7,8,9,10]. There are usually two kinds of relays, amplify-and-forward (AF) relay and decoded-and-forward (DF) relay. The AF relay simply forwards the received signal to the destination, whereas the DF relay needs to decode the signals before the transmission [11]. In [12], a three-layered architecture was proposed for randomly deployed heterogeneous wireless sensor networks, where a minimum energy consumption algorithm for relay node selection was presented to improve the network lifetime. The author in [13] investigated a load balancing strategy of optimal number of relays for deploying for a longer network lifetime. Meanwhile, a minimum number of relay nodes, which is utilized to enhance the outage probability, was obtained by the proposed relay deployment algorithm [14]. Besides, a novel connectivity-aware approximation algorithm for best relay node placement was proposed to offer a major step forward in saving system overhead in the wireless sensor networks [15]. And a non-orthogonal AF (NAF) scheme, where all the relays were allowed to transmit signals in the same time and frequency simultaneously, was considered and a higher spectral efficiency could be achieved compared to the orthogonal AF scheme [16,17,18]. However, the EE as well as transmission model with privacy preserving was not considered in [5,6,7,8,9,10,11,12,13,14,15,16,17,18].

Meanwhile, a demand-based load balancing algorithm was addressed for energy-efficiency in WSN to improve the network life-cycle and ensure the communication quality simultaneously in [19]. A cooperative privacy preserving scheme, in which an opportunistic user selection policy was investigated to optimize the secrecy performance, was proposed in multiuser relay network [20]. However, the cognitive relay function as well as the NAF relaying was not further considered in [19, 20]. Furthermore, cognitive radio is regarded as an effective approach for enhancing the utilization of the radio electromagnetic spectrum [21]. In [22], a distributed connection restoration algorithm, in which cognitive function based relays were considered, was proposed to ensure the connection of WSN with a minimum number of relays. The authors in [23] considered a WSN, where a cognitive relay assisted the primary transmitter was assumed, and thus, the throughput for both primary and secondary systems could be maximized. By optimizing the sensing time as well as the power allocation in multi-channels, the EE of the WSN could be maximized with the assistance of multi-hops DF relay [24]. However, all the investigated schemes or algorithms in [22,23,24] only considered the orthogonal transmission among relays and the NAF relaying as well as the privacy preserving was not taken into account.

In this paper, we intend to maximize the overall energy efficiency by optimally allocating the energy and time among CUs, while minimizing the required interaction between primary and cognitive networks as well as the overhead of CSI feedback, in a WSN with consideration of privacy preserving, in which an access point (AP) is utilized to broadcast the artificial noise and such noise is eliminated at the destination node to protect the information privacy. We first formulate the energy and time allocation problem to maximize the energy efficiency of NSCRS [25] with privacy preserving under a sum energy constraint at CUs. Then, an optimal energy and time allocation algorithm is proposed based on the full CSI feedback. In order to reduce the overhead of CSI feedback, another optimal algorithm based on partial CSI feedback, in which only the instantaneous CSI of PU\(_s\)-PU\(_d\), instantaneous CSI of PU\(_s\)-CU\(_s\), and the average value of CSI between CUs and PU\(_d\) for each fading block rather than an instantaneous value are required, is proposed for the slow fading channel environment.

The remainder of this paper is organized as follows. Section 2 gives a detailed description of the system model. In Sect. 3, the optimal joint energy and time resource allocation problem for NSCRS is addressed. In Sect. 4, the proposed optimal and suboptimal algorithms are given in details. Intensive simulations are conducted to evaluate the proposed algorithms in Sect. 5. Finally, the paper is concluded in Sect. 6.

2 System model

In this section, the system model, including system architecture and transmission models for both conventional cognitive radio scheme (CCR) and NSCRS with consideration of privacy preserving, for the network with coexistence of primary and cognitive users is presented in detail.

2.1 System architecture for coexistence of primary and cognitive networks with consideration of privacy preserving

We consider a system that consists of primary and cognitive networks as shown in Fig. 1. We assume that the primary network is a time division multiple address (TDMA)-based half-duplex network, in which the PU\(_s\) transmits messages to different PUs, i.e., PU\(_d\) , in different time slots and nodes cannot transmit and receive simultaneously. In the cognitive network, CUs seek opportunities to access the AP of cognitive network and CUs will cooperate with PU\(_s\) when the energy efficiency is better than that of the direct transmission from PU\(_s\) to PU\(_d\). For the symbiotic architecture, CUs can send messages to AP only when CUs have incentive time obtained from the cooperative transmission to the PU. Besides, there are undesired nodes, which are viewed as potential eavesdroppers, around PU\(_d\). Therefore, to prevent privacy leakage, it is assumed that the AP broadcasts two kinds of artificial noise (AN) in phases 1 and 2, respectively, when CUs are considered as relays. While the privacy preserving is assumed to be based on the acknowledgement of CSI at AP, which can be obtained by the handshake procedure [20]. Moreover, for simplicity, we assume that the channels among PU\(_s\), CUs, AP, and PU\(_d\) are quasi-static, independent and identically distributed (i.i.d.), which means that the channel state will remain constant within a fading block and vary independently and identically from one fading block to another. In addition, the flat Rayleigh fading channel is assumed, that is, the fading channel will remain almost unchanged over long enough duration for channel estimation, cooperation, and data transmission. Besides, a control channel for the delivery of CSI, cooperation parameters and incentive time allocation is also considered [25, 26].

2.2 Transmission methods for CCR and NSCRS with privacy preserving

The transmission method of CCR is shown in Fig. 2a. The PU\(_s\) has a constant power of \({{P}_{\text{PU}}}\) for both CCR and NSCRS. And the transmission time is assumed to be T seconds. For the privacy preserving, it is assumed that the AP will broadcast the AN, which is known at the PU\(_d\), in CCR. Therefore, the additive variable of AN at PU\(_d\) can be eliminated owing to the acknowledgement of AN. However, for the undesired nodes, the AN cannot be removed. Thus, the received signal power at desired PU, i.e., PU\(_d\), can be given as \({{P}_{D}}\),

$$\begin{aligned} {{P}_{D}}={{P}_{\text{PU}}}{{\alpha }^{\text{PU}}}=\frac{{{E}_{\text{PU}}}\alpha^{\text{PU}}}{T}, \end{aligned}$$
(1)

where \({{E}_{\text{PU}}}\) denotes the total transmission energy at PU over time of T and \({\alpha }^{\text{PU}}\) is the channel gain of PU\(_s\)-PU\(_d\) due to fading, path loss and shadowing. In addition, the energy consumption of AP in CCR is assumed to be \({{E}_{\text{AP}}}\).

And the received signal-to-noise ratio (SNR) at PU\(_d\) for CCR, \({{\gamma }_{\text{PU}}}\), can be given as

$$\begin{aligned} {{\gamma }_{\text{PU}}}=\frac{{{P}_{D}}}{N}=\frac{{{E}_{\text{PU}}}\alpha^{\text{PU}}}{NT}, \end{aligned}$$
(2)

where N represents the power of additive white Gaussian noise (AWGN). Then, the rate of primary transmission at PU\(_d\) in CCR can be given as

$$\begin{aligned} {{R}_{\text{PU}}}={{\log }_{2}}(1+{{\gamma }_{\text{PU}}}). \end{aligned}$$
(3)

Thus, the number of transmitted information bits for the CCR can be represented as \({{R}_{\text{PU}}}T\).

Figure 2b depicts the transmission method of NSCRS with NAF relaying, in which the time slot consists of two phases with identical durations and incentive time. In phase 1, the PU\(_s\) sends pilots and information to the PU\(_d\). Then the CUs will estimate the energy efficiency by the received pilot and cooperate with PU\(_s\) in phase 2 if the energy efficiency of cooperation is better than that of CCR. Because of the higher transmission rate with cooperation, the time consumption of transmission for PU\(_d\) can be reduced to \({{\rho }_{T}}T\), where \({{\rho }_{\text{T}}}\) is a time allocation ratio parameter. The rest time \(\left( 1-{{\rho }_{T}} \right) T\) is named as incentive time, in which the CUs can send their own information to the AP. The energy consumption of PU\(_s\) is denoted as \({{{E}_{\text{PU}}}{{\rho }_{T}}}/{2}\;\) in phase 1 and \({{E}_{\text{CUs}}}\) is considered as the total energy constraint of CUs. \({{E}_{\text{CUs}}}{{\rho }_{E}}\) is the energy consumption of CUs used for cooperation for PU\(_d\) in phase 2 and the rest energy of \(E{}_{\text{CUs}}(1-{{\rho }_{E}})\) at CUs is utilized to transmit their own information to the AP, where \({{\rho }_{\text{E}}}\) is the energy allocation ratio parameter.

Moreover, to prevent information leakage, AP broadcasts two kinds of AN \(x_{N}^{1}\) and \(x_{N}^{2}\) in phase 1 and phase 2, respectively. Depending on the CSI information, \(x_{N}^{1}\) can be successfully eliminated by the \(x_{N}^{2}\) at the PU\(_d\). The energy consumption of AP during phases 1 and 2 is assumed to be \({{E}_{\text{AP}}}\). Thus, the transmit power of AP for AN can be described as \({{P}_{\text{AP}}}={{{E}_{\text{AP}}}}/{({{\rho }_{T}}T}\;)\).

Fig. 1
figure 1

System architecture for coexistence of primary and cognitive networks with privacy preserving

Fig. 2
figure 2

Transmission methods for CCR and NSCRS

As shown in Fig. 1, \({{\alpha }_{k}},{{\beta }_{k}},{{h}_{k}}\) represent the channel gains of PU\(_s\)-CU\(_k\), CU\(_k\)-PU\(_d\) and CU\(_k\)-AP, respectively. Besides, the energy consumption at the kth CU for the cooperative transmission is denoted by \(E_{cu}^{k}\).

In phase 1, the PU\(_s\) transmits a signal to CUs and PU\(_d\), and AP broadcasts jamming signal \(x_{N}^{1}\). Thus, the signal received at the kth CU can be given as

$$\begin{aligned} y_{cu}^{k}=\sqrt{\frac{{{E}_{\text{PU}}}{{\alpha }_{{k}}}}{T}}\cdot {{x}_{S}}+\sqrt{{{P}_{\text{AP}}}{{h}_{k}}}\cdot x_{{N}}^{1}+n_k, \end{aligned}$$
(4)

where \({{x}_{S}}\) denotes the desired signal from PU\(_s\) and \(n_k\) is the AWGN. Thus, the signal received at the PU\(_d\) in phase 1, \(y_{d}^{1}\), can be described as,

$$\begin{aligned} y_{d}^{1}=\sqrt{\frac{{{E}_{\text{PU}}}{{\alpha }^{\text{PU}}}}{T}}\cdot {{x}_{S}}+\sqrt{{{P}_{\text{AP}}}{{h}^{{\text{PU}}}}}\cdot x_{{N}}^{1}+n_d. \end{aligned}$$
(5)

In phase 2, the received signals at CUs are, respectively, amplified and retransmitted to the PU\(_d\), where the non-orthogonal AF relaying is considered and all the CUs are allowed to transmit their signals simultaneously. And AP broadcasts jamming signal \(x_{N}^{2}\). In order to remove the effect of AN at PU\(_d\), \(x_{N}^{2}\) is designed as

$$\begin{aligned} x_{N}^{2}=-\frac{\sum _{k=1}^{K}{\left( \sqrt{\frac{2{{E}_{c{{u}_{k}}}}{{\beta }_{k}}{{h}_{k}}}{{{\rho }_{T}}{{E}_{\text{PU}}}{{\alpha }_{k}}+{{E}_{\text{AP}}}{{h}_{k}}+{{\rho }_{T}}TN}}\right) }+\sqrt{{{h}^{\text{PU}}}}}{\sqrt{{{h}^{\text{PU}}}}}x_{{N}}^{1}. \end{aligned}$$
(6)

And the signal transmitted from the kth CU to the PU\(_d\) can be described by

$$\begin{aligned} {{s}_{c{{u}_{k}}}}=\sqrt{\frac{2{{E}_{c{{u}_{k}}}}}{{{\rho }_{T}}{{E}_{\text{PU}}}{{\alpha }_{k}}+{{E}_{\text{AP}}}{{h}_{k}}+{{\rho }_{T}}TN}}\cdot \left( \sqrt{\frac{{{E}_{\text{PU}}}{{\alpha }_{{k}}}}{T}}\cdot {{x}_{S}}+\sqrt{{{P}_{\text{AP}}}{{h}_{k}}}\cdot x_{{N}}^{1}+n_k\right) . \end{aligned}$$
(7)

Delay diversity can be used to combine the received signals from CUs in phase 2. It is assumed that the transmitted signals from CUs may arrive at the PU\(_d\) with different delays. Then, the PU\(_d\) can coherently combine the entire received signals along the paths by the Rake receiver with maximum ratio combining (MRC). Thus, the signal received at PU\(_d\) in phase 2 can be given by

$$\begin{aligned} y_{d}^{2}&=\sum _{k=1}^{K}{\left( \sqrt{{{\beta }_{k}}}{{s}_{c{{u}_{k}}}}+n_k'\right) }+\sqrt{{{P}_{\text{AP}}}{{h}^{\text{PU}}}}x_{N}^{2}+n_d'\nonumber \\&=\sum \limits _{k=1}^{K}{\left( \sqrt{\frac{2{{E}_{c{{u}_{k}}}}{{\beta }_{k}}}{{{\rho }_{T}}{{E}_{\text{PU}}}{{\alpha }_{k}}+{{E}_{\text{AP}}}{{h}_{k}}+{{\rho }_{T}}TN}}\left( \sqrt{\frac{{{E}_{\text{PU}}}{{\alpha }_{{k}}}}{T}}{{x}_{S}}+\sqrt{{{P}_{\text{AP}}}{{h}_{k}}} x_{{N}}^{1}+n_k\right) +n_k'\right) }\nonumber \\&\quad +\sqrt{{{P}_{\text{AP}}}{{h}^{\text{PU}}}}x_{N}^{2}+n_d'. \end{aligned}$$
(8)

Thus, based on (5) the total signal received at PU\(_d\) can be expressed as

$$\begin{aligned} y_{d}&=y_{d}^{1}+y_{d}^{2}=\sqrt{\frac{{{E}_{\text{PU}}}{{\alpha }^{\text{PU}}}}{T}}{{x}_{S}}+\sqrt{{{P}_{\text{AP}}}{{h}^{{\text{PU}}}}} x_{{N}}^{1}+n_d\nonumber \\&\quad +\sum _{k=1}^{K}{\left( \sqrt{\frac{2{{E}_{c{{u}_{k}}}}{{\beta }_{k}}}{{{\rho }_{T}}{{E}_{\text{PU}}}{{\alpha }_{k}}+{{E}_{\text{AP}}}{{h}_{k}}+{{\rho }_{T}}TN}}\left( \sqrt{\frac{{{E}_{\text{PU}}}{{\alpha }_{{k}}}}{T}}{{x}_{S}}+\sqrt{{{P}_{\text{AP}}}{{h}_{k}}} x_{{N}}^{1}+n_k\right) +n_k'\right) }\nonumber \\&\quad +\sqrt{{{P}_{\text{AP}}}{{h}^{\text{PU}}}}x_{N}^{2}+n_d'. \end{aligned}$$
(9)

After substitute (6) into (9), we can get (10), since (11) is satisfied.

$$\begin{aligned}y_{d}&=\sqrt{\frac{{{E}_{\text{PU}}}{{\alpha }^{\text{PU}}}}{T}}\cdot {{x}_{S}}+n_d\nonumber \\&\quad +\sum_{k=1}^{K}{\left( \sqrt{\frac{2{{E}_{c{{u}_{k}}}}{{\beta }_{k}}}{{{\rho }_{T}}{{E}_{\text{PU}}}{{\alpha }_{k}}+{{E}_{\text{AP}}}{{h}_{k}}+{{\rho }_{T}}TN}}\cdot \left( \sqrt{\frac{{{E}_{\text{PU}}}{{\alpha }_{{k}}}}{T}}\cdot {{x}_{S}}+n_k\right) +n_k'\right) }+n_d'. \end{aligned}$$
(10)
$$\begin{aligned} & \sum\limits_{{k = 1}}^{K} {\left( {\sqrt {\frac{{2E_{{cu_{k} }} \beta _{k} }}{{\rho _{T} E_{{\text{PU}}} \alpha _{k} + E_{{\text{AP}}} h_{k} + \rho _{T} TN}}} \cdot \sqrt {P_{{\text{AP}}} h_{k} } \cdot x_{N}^{1} } \right)} \\ & \quad + \sqrt {P_{{\text{AP}}} h^{{\text{PU}}} } \cdot x_{N}^{1} + \sqrt {P_{{\text{AP}}} h^{{\text{PU}}} } \cdot x_{N}^{2} = 0. \\ \end{aligned}$$
(11)

For the received signal at the undesired nodes, the AN cannot be canceled since channel characteristics are unknown. Thus, the SNR of the undesired nodes is heavily degraded and the privacy preserving can be guaranteed.

Thanks to the excellent autocorrelation property of well-designed spreading code or interference cancellation, the interference at the PU\(_d\) from CUs can be neglected. Then, after combining the received signals in phases 1 and 2 with MRC [27], the received SNR at the PU\(_d\) with cooperation from CUs, \(\gamma^{cu}\), and the corresponding transmission rate, \(R^{cu}\), can be, respectively, expressed as

$$\begin{aligned} \gamma^{cu}= & {} \frac{{{E}_{\text{PU}}}{{\alpha }^{\text{PU}}}}{TN}+\frac{\sum _{k=1}^{K}{\frac{{{E}_{\text{PU}}}}{T}\cdot \frac{2E_{cu}^{k}}{{{\rho }_{T}}T}\cdot {{\alpha }_{k}}\cdot \frac{T}{{{E}_{\text{PU}}}{{\alpha }_{k}}+{{P}_{\text{AP}}}T+TN}\cdot {{\beta }_{k}}}}{\sum _{k=1}^{K}{\frac{2E_{cu}^{k}}{{{\rho }_{T}}T}\cdot \frac{T}{{{E}_{\text{PU}}}{{\alpha }_{k}}+{{P}_{\text{AP}}}T+TN}\cdot {{\beta }_{k}}N}+N}, \end{aligned}$$
(12)
$$\begin{aligned} R^{cu}= & {} \frac{1}{2}\cdot {{\log }_{2}}\left( 1+{{\gamma }_{cu}} \right) . \end{aligned}$$
(13)

The right two terms of (12) represent the received SNR at the PU\(_d\) in phase 1 and phase 2, respectively. Also, the received noises amplified by the CUs still remain in the denominator of the second term, while the interference from other CUs is neglected. The coefficient of 1/2 in (13) is caused by the half duplex AF relaying scheme with two identical duration phases.

Owing to the cooperation by the CUs, the required transmission time can be reduced to \({{\rho }_{T}}T\) and the rest of original time \(\left( 1-{{\rho }_{T}} \right) T\) will be allocated to CUs as the incentive time. Simultaneously, to get the maximal transmission rate in the incentive time, the incentive time \((1-{{\rho }_{T}})T\) will be allocated to the best CU, i.e., the hlCU which has the highest SNR to the AP among all the CUs. As a result, the \({{k}_{i}}\)-th CU is selected based on (14).

$$\begin{aligned} {{k}_{1}}=\arg \underset{i\in (1,2,..,K)}{\mathop {\max }}\, \frac{{{E}_{\text{CUs}}}\left( 1-{{\rho }_{E}} \right) {{h}_{i}}}{\left( 1-{{\rho }_{T}} \right) TN}, \end{aligned}$$
(14)

where \({{h}_{i}}\), \(i\in [1,2,...,K]\), represents the channel gain from the i-th CU to the AP. Thus, the corresponding transmission rate in the incentive time can be given as

$$\begin{aligned} {{R}_{inc}}={{\log }_{2}}\left( 1+\frac{{{E}_{\text{CUs}}}\left( 1-{{\rho }_{E}} \right) {{h}_{{{k}_{1}}}}}{\left( 1-{{\rho }_{T}} \right) TN} \right) . \end{aligned}$$
(15)

3 Problem formulation

3.1 Energy efficiency of NSCRS

As a reward, an incentive time will be allocated to CUs if the cooperative transmission by CUs can offer a higher energy efficiency for the system. Otherwise, the \(PU_s\) will occupy the entire duration and no incentive time will be allocated to the CUs, i.e., CCR. So the energy efficiency, which is defined as the total number of transmitted bits divided by the total consumed energy, in NSCRS can be given as

$$\begin{aligned} {{\eta }}=\max (\eta^{\text{PU}},\eta^{cu}), \end{aligned}$$
(16)

where the function max(\(\cdot ,\cdot\)) will return the maximum value of the arguments. \(\eta^{\text{PU}}\) and \(\eta^{cu}\), respectively, represent the energy efficiency of CCR and NSCRS. \(\eta^{\text{PU}}\) and \(\eta^{cu}\) can be given as

$$\begin{aligned} \eta^{\text{PU}}= & {} {{{R}_{\text{PU}}}}/({{{E}_{\text{PU}}}+}\;{{E}_{\text{AP}}}), \end{aligned}$$
(17)
$$\begin{aligned} \eta^{cu}= & {} \frac{\frac{1}{2}{{\log }_{2}}\left( 1+\gamma^{cu} \right) \cdot {{\rho }_{T}}T+{{R}_{inc}}\cdot \left( 1-{{\rho }_{T}} \right) T}{{{E}_{\text{PU}}}\cdot \frac{{{\rho }_{T}}}{2}+{{E}_{\text{CUs}}}+{{E}_{\text{AP}}}}. \end{aligned}$$
(18)

The denominator of (18) represents the total consumed energy of NSCRS and the numerator of (18) is the total throughput of both primary and cognitive networks.

3.2 Problem formulation for NSCRS with privacy preserving

In this paper, we aim to maximize the energy efficiency of NSCRS through optimally allocating the time and energy resource of PU\(_s\) and CUs. According to (18), the energy efficiency optimization problem of NSCRS can be formulated as

$$\begin{aligned} \underset{{{\rho }_{T}},{{\rho }_{E}},E_{cu}^{k}:k=1,\cdot \cdot \cdot ,K}{\mathop {\max }}\,&\frac{\frac{1}{2}{{\log }_{2}}\left( 1+\gamma^{cu} \right) \cdot {{\rho }_{T}}T+{{R}_{inc}}\cdot \left( 1-{{\rho }_{T}} \right) T}{{{E}_{\text{PU}}}\cdot \frac{{{\rho }_{T}}}{2}+{{E}_{\text{CUs}}}+{{E}_{\text{AP}}}}, \end{aligned}$$
(19a)
$$\begin{aligned} \text{ s.t. }&\frac{\frac{1}{2}{{\log }_{2}}\left( 1+\gamma^{cu} \right) \cdot {{\rho }_{T}}T+{{R}_{inc}}\cdot \left( 1-{{\rho }_{T}} \right) T}{{{E}_{\text{PU}}}\cdot \frac{{{\rho }_{T}}}{2}+{{E}_{\text{CUs}}}+{{E}_{\text{AP}}}}\nonumber \\&>\frac{{{\log }_{2}}(1+{{\gamma }_{\text{PU}}})\cdot T}{{{E}_{\text{PU}}}}, \end{aligned}$$
(19b)
$$\begin{aligned}&\frac{1}{2}{{\log }_{2}}\left( 1+\gamma^{cu} \right) \cdot {{\rho }_{T}}T\ge {{\log }_{2}}\left( 1+\frac{{{E}_{\text{PU}}}\alpha^{\text{PU}}}{TN} \right) \cdot T, \end{aligned}$$
(19c)
$$\begin{aligned}&\sum _{k=1}^{K}{E_{cu}^{k}}\le {{\rho }_{E}}{{E}_{\text{CUs}}} , E_{cu}^{k}\ge 0. \end{aligned}$$
(19d)

The objective function in (19a) intends to maximize the energy efficiency of NSCRS by optimally allocating the energy of CUs and time of PU\(_s\) for the data transmission to the PU\(_d\). The constraint in (19b) means that the energy efficiency of NSCRS should be better than that of CCR. Constraint in (19c) implies that the total transmission bits of NSCRS should be larger than that of CCR. Constraint in (19d) denotes the summed as well as the individual power constraint of CUs. With the fixed \({{\rho }_{E}}\) and \({{\rho }_{T}}\), we can get the maximum of EE for NSCRS as (20a)-(20d), and the related Proof is given in "Appendix".

$$\begin{aligned}&\frac{\frac{1}{2}{{\log }_{2}}\left( 1+\gamma {{^{cu}}^{\prime }} \right) \cdot {{\rho }_{T}}T+{{\log }_{2}}\left( 1+\frac{{{E}_{\text{CUs}}}\left( 1-{{\rho }_{E}} \right) {{h}_{{{k}_{1}}}}}{\left( 1-{{\rho }_{T}} \right) TN} \right) \cdot \left( 1-{{\rho }_{T}} \right) T}{{{E}_{\text{PU}}}\cdot \frac{{{\rho }_{T}}}{2}+{{E}_{\text{CUs}}}+{{E}_{\text{AP}}}}, \end{aligned}$$
(20a)
$$\begin{aligned} \text{ s.t. }&\frac{\frac{1}{2}{{\log }_{2}}\left( 1+\gamma {{^{cu}}^{\prime }} \right) \cdot {{\rho }_{T}}T+{{\log }_{2}}\left( 1+\frac{{{E}_{\text{CUs}}}\left( 1-{{\rho }_{E}} \right) {{h}_{{{k}_{1}}}}}{\left( 1-{{\rho }_{T}} \right) TN} \right) \cdot \left( 1-{{\rho }_{T}} \right) T}{{{E}_{\text{PU}}}\cdot \frac{{{\rho }_{T}}}{2}+{{E}_{\text{CUs}}}+{{E}_{\text{AP}}}}\nonumber \\&>\frac{{{\log }_{2}}(1+{{\gamma }_{\text{PU}}})\cdot T}{{{E}_{\text{PU}}}}, \end{aligned}$$
(20b)
$$\begin{aligned}&\frac{1}{2}{{\log }_{2}}\left( 1+\gamma {{^{cu}}^{\prime }} \right) \cdot {{\rho }_{T}}T\ge {{\log }_{2}}\left( 1+\frac{{{E}_{\text{PU}}}\alpha _{m}^{\text{PU}}}{TN} \right) \cdot T, \end{aligned}$$
(20c)
$$\begin{aligned}&E_{\text{CUs}}\ge 0. \end{aligned}$$
(20d)

where

$$\begin{aligned} \gamma {{^{cu}}^{\prime }}=\frac{{{E}_{\text{PU}}}{{\alpha }^{\text{PU}}}}{TN}+\frac{\frac{{{E}_{\text{PU}}}}{T}\cdot \frac{2{{\rho }_{E}}{{E}_{\text{CUs}}}}{{{\rho }_{T}}T}\cdot {{\alpha }_{{{k}^{'}}}}\cdot \frac{T}{{{E}_{\text{PU}}}{{\alpha }_{{{k}^{'}}}}+{{P}_{\text{AP}}}T+TN}\cdot {{\beta }_{{{k}^{'}}}}}{\frac{2{{\rho }_{E}}{{E}_{\text{CUs}}}}{{{\rho }_{T}}T}\cdot \frac{T}{{{E}_{\text{PU}}}{{\alpha }_{{{k}^{'}}}}+{{P}_{\text{AP}}}T+TN}\cdot {{\beta }_{{{k}^{'}}}}N+N}, \end{aligned}$$
(21)

and

$$\begin{aligned} {k}'=\arg \underset{k=1,2,\ldots ,K}{\mathop {\max }}\,\frac{\frac{{{E}_{\text{PU}}}}{T}\cdot \frac{2{{\rho }_{E}}{{E}_{\text{CUs}}}}{{{\rho }_{T}}T}\cdot {{\alpha }_{k}}\cdot \frac{T}{{{E}_{\text{PU}}}{{\alpha }_{k}}+{{P}_{\text{AP}}}T+TN}\cdot {{\beta }_{k}}}{\frac{2{{\rho }_{E}}{{E}_{\text{CUs}}}}{{{\rho }_{T}}T}\cdot \frac{T}{{{E}_{\text{PU}}}{{\alpha }_{k}}+{{P}_{\text{AP}}}T+TN}\cdot {{\beta }_{k}}N+N}. \end{aligned}$$
(22)

According to (16), we can decompose the optimization problem into two cases.

Case 1. Consider \(\eta =\eta^{\text{PU}}\) as PU\(_s\) transmits the signals to the PU\(_d\) without the cooperation from CUs as in CCR.

Case 2. Consider \({{\eta }}=\eta^{cu}\) as PU\(_s\) transmits the signals to the PU\(_d\) with the cooperation of CUs.

4 Proposed energy efficiency algorithm with full or partial CSI

If the CSI of \({{\alpha }_{k}}\) and \({{\beta }_{k}}\) can be estimated by the CUs, then the full CSI of \(\alpha^{\text{PU}}\), \({{\alpha }_{k}}\), and \({{\beta }_{k}}\) will be available for the AP, which is called “Scenario 1” for NSCRS. Nevertheless, instantaneous \({{\beta }_{k}}\) may not be available at the AP. Thus, we further consider a “Scenario 2” for the NSCRS with only the partial CSI, that is, \(\alpha^{\text{PU}}\), \({{\alpha }_{k}}\) and an averaged CSI of by long-term observation rather than an instantaneous value. In this section, the energy and time allocation algorithms for both scenarios are investigated. In addition, an equal energy allocation algorithm (EPA), in which the total available energy of the CUs is equally distributed to the CUs, that is, \(E_{cu}^{k}={{E}_{\text{CUs}}}\cdot {{\rho }_{E}}/K\), is also considered.

4.1 Optimal energy and time allocation algorithm with full CSI

With full CSI, we can obtain the optimal solution of \({{\rho }_{T}}=0\) and \({{\rho }_{E}}=0\) for case 1. And for case 2, the optimal algorithm is proposed as follows, by which the optimal \({{\rho }_{T}}\) and \({{\rho }_{E}}\) can be obtained.

Optimal energy and time allocation algorithm with full CSI (OPA)

(1) Collect \(\alpha^{\text{PU}}\), \({{\alpha }_{k}}\), and \({{\beta }_{k}}\) at the AP

(2) For \({{\rho }_{T}}=0:0.01:1\), \({{\rho }_{E}}=0:0.01:1\).

(3) Calculate the optimal SNR of PU\(_s\)-CU\(_k\)-PU\(_d\) to choose \({{k}^{'}}\)th CU by formula (22)

(4) Calculate the total number in bits of transmitted messages by \(R^{cu}\cdot {{\rho }_{T}}\cdot T+{{R}_{inc}}\cdot (1-{{\rho }_{T}})T\) and the energy efficiency of OPA by formula (20a)

(5) Calculate the summed bits and energy efficiency in CCR by \({{R}_{\text{PU}}}\cdot T\) and \({{\eta }^{\text{PU}}}={{R}_{\text{PU}}}/({{E}_{\text{PU}}}+{{E}_{\text{AP}}})\)

(6) Compare \(\eta^{cu}\) with \(\eta^{\text{PU}}\), \(R^{cu}\cdot {{\rho }_{T}}\cdot T+{{R}_{inc}}\cdot (1-{{\rho }_{T}})T\) with \({{R}_{\text{PU}}}\cdot T\).

if \(\eta^{cu}>\eta^{\text{PU}}\) and \([R^{cu}\cdot {{\rho }_{T}}\cdot T+{{R}_{inc}}\cdot (1-{{\rho }_{T}})T]>R_{\text{PU}}\cdot T\), then choose NSCRS

else choose CCR

end for

(7)Select the optimal \({{\rho }_{T}}\) and \({{\rho }_{E}}\) with which we can get the best energy efficiency

Firstly, the CSI of \(\alpha^{\text{PU}}\), \({{\alpha }_{k}}\) and \({{\beta }_{k}}\) is collected at the AP. Then, we calculate the optimal SNR of PU\(_s\)-CUk-PU\(_d\) to choose \({{k}^{'}}\)th CU by formula (22) with given pair of \({{\rho }_{T}}\) and\({{\rho }_{E}}\)in the range of [0, 1]. Then, the total number in bits of transmitted messages and energy efficiency of OPA and CCR will be calculated, respectively. If the transmitted information bits as well as the energy efficiency of OPA are both larger than these of CCR, the NSCRS will be chosen. Otherwise, the CCR will be chosen. Finally, the optimal \({{\rho }_{T}}\) and \({{\rho }_{E}}\) can be obtained for the best energy efficiency.

4.2 Suboptimal energy and time allocation algorithm with partial CSI feedback

Although OPA is able to achieve the optimal solution in scenario 1, the full instantaneous CSI feedback is needed. Sometimes it is hard to get the feedback of \({{\beta }_{k}}\) immediately. For such case, it is assumed that the channel quality of CUs-PU\(_d\) is much better than that of PU\(_s\)-CUs, i.e., \({{P}_{C}}\cdot {{\beta }_{k}}>>{{P}_{\text{PU}}}\cdot {{\alpha }_{k}}\)and \({{P}_{C}}\cdot {{\beta }_{k}}>>N\), then \(2{{\rho }_{E}}{{E}_{\text{CUs}}}{{\beta }_{k}}/({{\rho }_{T}}T)>>{{E}_{\text{PU}}}{{\alpha }_{k}}/T\) and \(2{{\rho }_{E}}{{E}_{\text{CUs}}}{{\beta }_{k}}/({{\rho }_{T}}T)>>N\) can be satisfied. Thus, \(x_{N}^{2}\) can be described as

$$\begin{aligned} x_{N}^{2}=-\frac{\sum _{k=1}^{K}{\left( \sqrt{\frac{2{{E}_{c{{u}_{k}}}}{{\beta }_{k}}}{{{E}_{\text{AP}}}}}\right) }+\sqrt{{{h}^{\text{PU}}}}}{\sqrt{{{h}^{\text{PU}}}}}x_{{N}}^{1}. \end{aligned}$$
(23)

However, due to the lack of \({{\beta }_{k}}\), \(x_{N}^{2}\) is hard to be perfectly eliminated at the PU\(_d\). Rather than considering an instantaneous value of \({{\beta }_{k}}\), an averaged value of \({{{\bar{\beta }}}_{k}}\), which could be obtained by a long-term observation, is assumed to be adopted. Then, the interference power introduced by the AN can be given as \(2{{E}_{c{{u}_{k}}}}\left| {{\beta }_{k}}-\overline{{{\beta }_{k}}} \right| /({{\rho }_{T}}T)\). Therefore, the received SNR at PU\(_d\) with cooperation from CUs, \({{\gamma }_{cu}}\), can be transformed to

$$\begin{aligned} {{\gamma }_{cu}}=\frac{{{E}_{\text{PU}}}\alpha^{\text{PU}}}{TN}+\frac{\frac{{{E}_{\text{PU}}}}{T}{{\alpha }_{k}}}{N+\frac{2{{E}_{c{{u}_{k}}}}\left| {{\beta }_{k}}-{\overline{\beta }} \right| }{{{\rho }_{T}}T}}. \end{aligned}$$
(24)

Since the i.i.d slow block fading channel is considered in this paper, \({{\beta }_{k}}\approx \overline{{{\beta }_{k}}}\) can be satisfied during each fading block. Compared with the case with instantaneous value of \({{\beta }_{k}}\), \(\overline{{{\beta }_{k}}}\) is more easy to obtained via a long-term observation, and thus, the CSI feedback overhead of \({{\beta }_{k}}\)can be obviously reduced during each fading block. So the \({{\gamma }_{cu}}\) and the index of the selected CUs for incentive time can be, respectively, transformed to

$$\begin{aligned} {{\gamma }_{cu}}= & {} \frac{{{E}_{\text{PU}}}\alpha^{\text{PU}}}{TN}+\frac{{{E}_{\text{PU}}}{{\alpha }_{k}}}{TN}, \end{aligned}$$
(25)
$$\begin{aligned} {{k}^{''}}= & {} \arg \underset{k=1,2,\ldots ,K}{\mathop {\max }}\,\frac{{{E}_{\text{PU}}}{{\alpha }_{k}}}{TN}. \end{aligned}$$
(26)

Here, we define a ratio parameter,\(\theta ={{{\alpha }_{k}}}/{\alpha^{\text{PU}}}\;\), to decide whether the \({{\alpha }_{k}}\)is much better than\(\alpha^{\text{PU}}\) or not and the suboptimal algorithm for partial CSI feedback can be given as below.

Partial CSI feedback based suboptimal energy and time allocation algorithm (PPA)

(1) Collect \(\alpha^{\text{PU}}\), \({{\alpha }_{k}}\) and \(\overline{{{\beta }_{k}}}\) at the AP

(2) For \({{\rho }_{T}}=0:0.01:1\), \({{\rho }_{E}}=0:0.01:1\)

(3) Decide the optimal method by comparing \(\theta\) with \({{\theta }_{th}}\), where \({{\theta }_{th}}\) is a predetermined threshold for deciding whether the cooperation from CUs to the PU\(_d\) is effective or not

i)if \(\theta <{{\theta }_{th}}\), choose CCR

ii)if \(\theta >{{\theta }_{th}}\), calculate the parameters as follows

(4) Calculate the total number in bits of transmitted messages and the energy efficiency of both PPA and CCR by the \({{k}^{''}}\)th CU

(5) Compare \(\eta^{cu}\) with \(\eta^{\text{PU}}\), \(R^{cu}\cdot {{\rho }_{T}}\cdot T+{{R}_{inc}}\cdot (1-{{\rho }_{T}})T\) with \({{R}_{\text{PU}}}\cdot T\)

if \(\eta^{cu}>\eta^{\text{PU}}\) and \([R^{cu}\cdot {{\rho }_{T}}\cdot T+{{R}_{inc}}\cdot (1-{{\rho }_{T}})T]>R_{\text{PU}}\cdot T\), then choose NSCRS

else choose CCR

end for

(6)Select the optimal \({{\rho }_{T}}\) and \({{\rho }_{E}}\) with which we can get the best energy efficiency

Firstly, the CSI of \(\alpha^{\text{PU}}\), \({{\alpha }_{k}}\), and \(\overline{{{\beta }_{k}}}\) are collected at the AP, where \(\overline{{{\beta }_{k}}}\) is not needed to be feedback during a fading block. Then, \(\theta\) and \({{\theta }_{th}}\) are compared with each other to decide the optimal method. if \(\theta <{{\theta }_{th}}\) is satisfied, the CCR will be chosen. Otherwise, we further calculate the total number of bits of transmitted messages as well as the energy efficiency for both PPA and CCR. If the summed bits and energy efficiency of OPA are both larger than these of CCR, the NSCR will be selected. Otherwise, the CCR will be chosen. Finally, the optimal \({{\rho }_{T}}\) and \({{\rho }_{E}}\) can be obtained.

Fig. 3
figure 3

The simulation model of NSCRS

5 Methods

Figure 3 shows the simulation model for the networks of PUs, CUs, and AP. PU\(_s\), PU\(_d\), AP and CUs are placed within a 2-dimensional area (500m*500m). PU\(_s\) and PU\(_d\) are, respectively, fixed at (0, 250) and(500, 250). 10 CUs are randomly placed within this region. In addition, we place a AP at (0, 0). A simple pass loss model of \(1/{{d}^{3}}\), where d is the distance between two points, is considered. Block Rayleigh fading channels are assumed among PU\(_s\), CUs, PU\(_d\), and AP. The AWGN power in this region is assumed to be -50dBm and the \({{P}_{\text{AP}}}\) is set to be 15dBm. We consider energy with a unit dBJ, where \(\text{dBJ}=10{{\log }_{10}}\text{J}\). The data to be transmitted from PU\(_s\) to PU\(_d\) are assumed large enough to guarantee the full time transmission between PU\(_s\)-PU\(_d\) in case of CCR. Therefore, CUs have no chance to access the AP in the case of CCR. In addition \({{\theta }_{th}}\) is with a range of \([{{10}^{-10}}<{{\theta }_{th}}<{{10}^{10}}]\) for a given pair of \(({{\rho }_{T}},{{\rho }_{E}})\).

6 Simulation results and discussion

Figure 4 shows the energy efficiency for NSCRS with OPA, PPA, and EPA compared to CCR under the constraint of \({{P}_{\text{PU}}}=30\text{dBm},{{E}_{\text{CUs}}}=0\text{dBJ}\).The CCR has the lowest EE compared to the OPA, PPA, and EPA. OPA always outperforms the others owning to the full CSI feedback and an optimal EE of NSCRS can be achieved at x=0.501, y=0.501, and z=2.264. Compared with the OPA, a small performance gap can be observed between OPA and PPA, since only partial CSI is fed back for the PPA rather than the full CSI feedback of OPA.

Fig. 4
figure 4

Energy efficiency for NSCRS with OPA, PPA, and EPA compared to CCR

Fig. 5
figure 5

Energy efficiency for different algorithms as a function of \({{\rho }_{E}}\) and \({{\rho }_{T}}\), respectively

Fig. 6
figure 6

Energy efficiency for different algorithms as a function of \({{P}_{\text{PU}}}\)

Figure 5a, b describe the energy efficiency for different algorithms as a function of \({{\rho }_{E}}\) and \({{\rho }_{T}}\), respectively. As \({{\rho }_{E}}\) changes in Fig. 5a, the energy efficiencies of OPA, PPA and EPA increase at first, since the cooperation from CUs is effective. However, when \({{\rho }_{E}}\) becomes very large, the transmission rate for CU’s data transmission becomes worse, which results in a decrease in terms of overall energy efficiency. In addition, when \({{\rho }_{E}}\) is small, EPA performs better than PPA, because condition that \(2{{\rho }_{E}}{{E}_{\text{CUs}}}{{\beta }_{k}}/({{\rho }_{T}}T)>>{{E}_{\text{PU}}}{{\alpha }_{k}}/T\) is not satisfied. However, when \({{\rho }_{E}}\) becomes larger, the condition of \(2{{\rho }_{E}}{{E}_{\text{CUs}}}{{\beta }_{k}}/({{\rho }_{T}}T)>>{{E}_{\text{PU}}}{{\alpha }_{k}}/T\) is satisfied and the performance of PPA becomes better than that of EPA. And as \({{\rho }_{T}}\) changes in Fig. 5b, the energy efficiencies of OPA, PPA and EPA increase at first owing to the transmission time allocated to PUs. However, when \({{\rho }_{T}}\) becomes large enough, the energy efficiencies decrease, because that there is too little incentive time allocated to CUs. Besides, when \({{\rho }_{T}}\) is small, PPA performs better than EPA, because condition that \(2{{\rho }_{E}}{{E}_{\text{CUs}}}{{\beta }_{k}}/({{\rho }_{T}}T)>>{{E}_{\text{PU}}}{{\alpha }_{k}}/T\) is satisfied. However, with the increase in \({{\rho }_{T}}\), that condition is not satisfied, which results that EPA performs better than PPA.

Figure 6 shows the energy efficiency for different algorithms as a function of \({{P}_{\text{PU}}}\) under constraints of \({{\rho }_{E}}={{\rho }_{T}}=0.5\) and \({{E}_{\text{CUs}}}=0\text{dBJ}\). The OPA always performs better than PPA and EPA owning to the full CSI feedback. When \({{P}_{\text{PU}}}\) is small, OPA, EPA and PPA can perform the transmission with the aid of CUs, which results in better performances compared to that of CCR. When \({{E}_{\text{PU}}}\) is smaller than \({{E}_{\text{CUs}}}\), the condition of \(2{{\rho }_{E}}{{E}_{\text{CUs}}}{{\beta }_{k}}/({{\rho }_{T}}T)>>{{E}_{\text{PU}}}{{\alpha }_{k}}/T\) is satisfied, so the performance of PPA is better than that of EPA. However, the condition of \(2{{\rho }_{E}}{{E}_{\text{CUs}}}{{\beta }_{k}}/({{\rho }_{T}}T)>>{{E}_{\text{PU}}}{{\alpha }_{k}}/T\) cannot be satisfied when \({{E}_{\text{PU}}}\) is larger than \({{E}_{\text{CUs}}}\), and a better performance of EPA can be observed compared to the PPA. Moreover, when \({{E}_{\text{PU}}}\) becomes large enough, CUs are not needed for cooperation, thus the EE of OPA, PPA, and EPA becomes the same, i.e., \({{P}_{\text{PU}}}\ge \text{50dBm}\).

Fig. 7
figure 7

Energy efficiency for different algorithms as a function of \({{E}_{\text{CUs}}}\)

Figure 7 shows the energy efficiency for different algorithms as a function of under constraints of \({{\rho }_{E}}={{\rho }_{T}}=0.5\) and \({{E}_{\text{PU}}}=0\text{dBJ}\). When \({{E}_{\text{CUs}}}\) is small, none of CUs can be utilized for the PU transmission in the cases of OPA, EPA and PPA. Thus, a similar EE can be observed among them. As the \({{E}_{\text{CUs}}}\) increases, OPA, EPA and PPA perform better than CCR owing to the assistance of CUs. When \({{E}_{\text{CUs}}}\) becomes much larger than that of PUs, the condition of \(2{{\rho }_{E}}{{E}_{\text{CUs}}}{{\beta }_{k}}/({{\rho }_{T}}T)>>{{E}_{\text{PU}}}{{\alpha }_{k}}/T\) is satisfied, which results in a better performance of PPA than that of EPA and the performance of PPA becomes similar to that of OPA. However, when \({{E}_{\text{CUs}}}\) becomes large enough, e.g., \({{E}_{\text{CUs}}}\ge \text{15dBJ}\), the performances of OPA, PPA and EPA will decrease to the level of CCR, since the energy consumption of CUs is too big to decrease the EE.

Fig. 8
figure 8

Performance gain of EE normalized by that of CCR for different algorithms as a function of \({{\rho }_{E}}\) and \({{\rho }_{T}}\), respectively

Figure 8 compares the normalized performance gain of OPA and PPA with an increase trend of \({{E}_{\text{CUs}}}\). For a better realization, the performance of EE for both OPA and PPA are normalized by that of CCR. When \({{E}_{\text{CUs}}}\) is very small, there is a big gap of performance gain between OPA and PPA as shown in Fig. 8a, b, since the condition of \(2{{\rho }_{E}}{{E}_{\text{CUs}}}{{\beta }_{k}}/({{\rho }_{T}}T)>>{{E}_{\text{PU}}}{{\alpha }_{k}}/T\) is not satisfied. However, as the \({{E}_{\text{CUs}}}\) increases, e.g.,\({{E}_{\text{CUs}}}=20dBJ\), the approximation of \(2{{\rho }_{E}}{{E}_{\text{CUs}}}{{\beta }_{k}}/({{\rho }_{T}}T)>>{{E}_{\text{PU}}}{{\alpha }_{k}}/T\) can be almost achieved. Thus, similar performance gains of OPA and PPA can be observed as shown in Fig. 8e, f. It implies that if the link quality from CUs to the PU\(_d\) is much better than those from PU\(_s\) to CUs, then the proposed PPA could be an alternative choice with lower instantaneous CSI feedback.

7 Conclusions

In this paper, the optimal energy and time allocation algorithm in NSCRS with consideration of privacy preserving was first investigated for energy efficiency maximization in the case of full CSI. To further reduce the overhead from CSI exchanging, a suboptimal energy and time allocation algorithm, where the instantaneous CSI from CUs to PU is not required to be fed back, is alternatively introduced. Simulation results demonstrated that the energy efficiency of primary and cognitive users in the NSCRS can be greatly improved by the proposed OPA and PPA algorithms with the consideration of privacy preserving. Moreover, compared with the OPA, the PPA could achieve a similar performance as that of OPA with a smaller CSI feedback overhead.

Data availibility

Data sharing is not applicable to this article as no datasets are generated or analyzed during the current study.

Abbreviations

NSCRS:

Non-selfish symbiotic cognitive relaying scheme

PU:

Primary user

CUs:

Cognitive users

CSI:

Channel state information

WSN:

Wireless sensor network

EE:

Energy efficiency

AF:

Amplify-and-forward

DF:

Decoded-and-forward

NAF:

Non-orthogonal AF

AP:

Access point

CCR:

Conventional cognitive radio scheme

TDMA:

Time division multiple address

AN:

Artificial noise

SNR:

Signal-to-noise ratio

AWGN:

Additive white Gaussian noise

EPA:

Equal energy allocation algorithm

OPA:

Optimal energy and time allocation algorithm with full CSI

PPA:

Partial CSI feedback based suboptimal energy and time allocation algorithm

References

  1. L. Bai, G. Li, H. Zhu, Privacy protection algorithm based on linear directional phantom source node in WSN, in: 2017 8th IEEE International Conference on Software Engineering and Service Science (ICSESS), Beijing, (2017)pp. 851–854

  2. P.K. Roy, J.P. Rimjhim, Singh, P. Kumar, An efficient privacy preserving protocol for source location privacy in wireless sensor networks, in: 2016 International Conference on Wireless Communications, Signal Processing and Networking (WiSPNET), Chennai (2016), pp. 1093–1097

  3. T. Rault, A. Bouabdallah, Y. Challal, Energy efficiency in wireless sensor networks: a top-down survey. Comput. Netw. 67(4), 104–122 (2014)

    Article  Google Scholar 

  4. M. Bagaa, A. Chelli, D. Djenouri, T. Taleb, I. Balasingham, K. Kansanen, Optimal placement of relay nodes over limited positions in wireless sensor networks. IEEE Trans. Wirel. Commun. 16(4), 2205–2219 (2017)

    Article  Google Scholar 

  5. Y. Zhao, R. Adve, T.J. Lim, Improving amplify-and-forward relay networks: optimal power allocation versus selection. IEEE Trans. Wirel. Commun. 6(8), 3114–3123 (2007)

    Google Scholar 

  6. K.T. Phan, T. Le-Ngoc, S.A. Vorobyov, C. Tellambura, Power allocation in wireless multi-user relay networks. IEEE Trans. Wirel. Commun. 8(5), 2535–2545 (2009)

    Article  Google Scholar 

  7. P. Gong, P. Xue, D. Park, D.K. Kim, Optimum power allocation in a nonorthogonal amplify-and-forward relay-assisted network. IEEE Trans. Veh. Technol. 60(3), 890–900 (2011)

    Article  Google Scholar 

  8. M. Elsaadany, W. Hamouda, Performance analysis of non-orthogonal AF relaying in cognitive radio networks. IEEE Wirel. Commun. Lett. 4(4), 373–376 (2015)

    Article  Google Scholar 

  9. Y. Jing, H. Jafarkhani, Single and multiple relay selection schemes and their achievable diversity orders. IEEE Trans. Wirel. Commun. 8(3), 1414–1423 (2009)

    Article  Google Scholar 

  10. I. Kim, D. Kim, Minimizing operational power cost in remote-area wireless sensor networks with a DF relay and outage constraints. IEEE Commun. Lett. 19(2), 247–250 (2015)

    Article  Google Scholar 

  11. K. Hamdi, M.O. Hasna, A. Ghrayeb, K.B. Letaief, Opportunistic spectrum sharing in relay-assisted cognitive systems with imperfect CSI. IEEE Trans. Veh. Technol. 63(5), 2224–2235 (2014)

    Article  Google Scholar 

  12. N. Tuah, M. Ismail, Extending lifetime of heterogenous wireless sensor network using relay node selection, in: 2013 International Conference of Information and Communication Technology (ICoICT), Bandung (2013), pp. 17–21

  13. M. Saber, M. Naznin, Saving relay time in a heterogeneous wireless sensor network, in: 2018 IEEE International Symposium on Local and Metropolitan Area Networks (LANMAN), Washington (2018), pp. 122–124

  14. S. Sapre, S. Mini, Relay node placement to establish full connectivity in directional sensor networks, in: 2017 Fourteenth International Conference on Wireless and Optical Communications Networks (WOCN), Mumbai (2017), pp. 1–5

  15. C. Ma, W. Liang, M. Zheng, H. Sharif, A connectivity-aware approximation algorithm for relay node placement in wireless sensor networks. IEEE Sens. J. 16(2), 515–528 (2016)

    Article  Google Scholar 

  16. K. Azarian, H. El Gamal, P. Schniter, On the achievable diversity-multiplexing tradeoff in half-duplex cooperative channels. IEEE Trans. Inf. Theory 51(12), 4152–4172 (2005)

    Article  MathSciNet  Google Scholar 

  17. L.J. Rodriguez, N.H. Tran, T. Le-Ngoc, On the capacity of the static half-duplex non-orthogonal AF relay channel. IEEE Trans. Wirel. Commun. 13(2), 1034–1046 (2014)

    Article  Google Scholar 

  18. M. Elsaadany, Optimal power allocation in cognitive networks using non-orthogonal AF relays, in: 39th Annual IEEE Conference on Local Computer Networks, Edmonton (2014), pp. 410–413

  19. L. Guo, B. Wang, W. Wang, Research of energy-efficiency algorithm based on on-demand load balancing for wireless sensor networks, in: 2009 International Conference on Test and Measurement, Hong Kong, vol. 2 (2009), pp. 22–26

  20. H. Xu, L. Sun, P. Ren, Q. Du, Y. Wang, Cooperative privacy preserving scheme for downlink transmission in multiuser relay networks. IEEE Trans. Inf. Forensics Secur. 12(4), 825–839 (2017)

    Article  Google Scholar 

  21. S. Haykin, Cognitive radio: brain-empowered wireless communications. IEEE J. Sel. Areas Commun. 23(2), 201–220 (2005)

    Article  Google Scholar 

  22. N. ul Hasan, W. Ejaz, M.K. Atiq, H.S. Kim, Distributed connectivity restoration using cognitive relay nodes positioning in damaged wireless sensor network, in: 2013 IEEE Symposium on Wireless Technology Applications (ISWTA), Kuching (2013), pp. 159–162

  23. K. Tang, R. Shi, J. Dong, Throughput analysis of cognitive wireless acoustic sensor networks with energy harvesting. Future Gener Comput Syst 86, 1218–1227 (2017)

    Article  Google Scholar 

  24. B. Han, M. Zeng, Q. Guo, H. Jiang, Q. Zhang, L. Feng, Energy-efficient sensing and transmission for multi-hop relay cognitive radio sensor networks. China Commun 15(9), 106–117 (2018)

    Article  Google Scholar 

  25. P. Gong, J.H. Park, J.M. Yoo, B. Yu, D.K. Kim, Throughput maximization with multiuser non-selfish cognitive relaying in CR networks, in: 2009 4th International Symposium on Wireless Pervasive Computing, Melbourne (2009), pp. 1–5

  26. O. Simeone, I. Stanojev, S. Savazzi, Y. Bar-Ness, U. Spagnolini, R. Pickholtz, Spectrum leasing to cooperating secondary ad hoc networks. IEEE J. Sel. Areas Commun. 26(1), 203–213 (2008)

    Article  Google Scholar 

  27. A. Mercado, B. Azimi-Sadjadi, Power efficient link for multi-hop wireless network, in: Proceedings of the 41st Allerton Conference on Communication, Control, and Computing, Monticello, USA (2003), pp. 1837–1847

Download references

Acknowledgements

The authors thank the person who provided meticulous and valuable suggestions for improving the paper.

Funding

This work was supported in part by the National Natural Science foundation of China under Grant 62073039 and National Key Research and Development Program of China under Grant 2018YFC0823003.

Author information

Authors and Affiliations

Authors

Contributions

PL and PG proposed the overall research direction and ideas. LH and PG designed the system model and the resource allocation algorithm. LH and XG drafted the article and designed and the simulations. HL read the relevant literature and revised the manuscript. The authors read and approved the final manuscript.

Corresponding author

Correspondence to Peng Gong.

Ethics declarations

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix

Appendix

First, when we fix \({{\rho }_{T}}\) and \({{\rho }_{E}}\) the problem can be rewritten in the following form:

$$\begin{aligned} \underset{E_{cu}^{k},k=1,\cdot \cdot \cdot ,K}{\mathop {\max }}\,\frac{\frac{1}{2}{{\log }_{2}}(1+A+L)\cdot {{\rho }_{T}}T+B}{C+D}, \end{aligned}$$
(27)

where A, B, C and D are all nonnegative constants.

$$\begin{aligned} L=\frac{\sum _{k=1}^{K}{\frac{{{E}_{\text{PU}}}}{T}\cdot \frac{2E_{cu}^{k}}{{{\rho }_{T}}T}\cdot {{\alpha }_{m,k}}\cdot \frac{T}{{{E}_{\text{PU}}}{{\alpha }_{m,k}}+{{P}_{\text{AP}}}T+TN}\cdot {{\beta }_{m,k}}}}{\sum _{k=1}^{K}{\frac{2E_{cu}^{k}}{{{\rho }_{T}}T}\cdot \frac{T}{{{E}_{\text{PU}}}{{\alpha }_{m,k}}+{{P}_{\text{AP}}}T+TN}\cdot {{\beta }_{m,k}}N}+N}. \end{aligned}$$
(28)

Obviously, due to the monotonicity of \({{\log }_{2}}(x)\) with respect to x, the problem in (27) can be converted to maximizing L, where

$$\begin{aligned} \max L=\underset{E_{cu}^{k}}{\mathop {\max }}\,\frac{\sum _{k=1}^{K}{\frac{{{E}_{\text{PU}}}}{T}\cdot \frac{2E_{cu}^{k}}{{{\rho }_{T}}T}\cdot {{\alpha }_{m,k}}\cdot \frac{T}{{{E}_{\text{PU}}}{{\alpha }_{m,k}}+{{P}_{\text{AP}}}T+TN}\cdot {{\beta }_{m,k}}}}{\sum _{k=1}^{K}{\frac{2E_{cu}^{k}}{{{\rho }_{T}}T}\cdot \frac{T}{{{E}_{\text{PU}}}{{\alpha }_{m,k}}+{{P}_{\text{AP}}}T+TN}\cdot {{\beta }_{m,k}}N}+N}. \end{aligned}$$
(29)

We can rewrite (29) as

$$\begin{aligned} \underset{E_{cu}^{k}}{\mathop {\max }}\,f(E_{cu}^{1},E_{cu}^{2},...,E_{cu}^{K})=\underset{E_{cu}^{k}}{\mathop {\max }}\,\frac{{{a}_{0}}+\sum _{k=1}^{K}{{{a}_{k}}E_{cu}^{k}}}{{{b}_{0}}+\sum _{k=1}^{K}{{{b}_{k}}E_{cu}^{k}}}, \end{aligned}$$
(30)

where \({{a}_{0}}\), \({{a}_{k}}\) and \({{b}_{k}}\)are nonnegative coefficients, but \({{b}_{0}}\) is a positive coefficient. Then, we only need to prove the equation as follows

$$\begin{aligned} \underset{E_{cu}^{k}}{\mathop {\max }}\,\frac{{{a}_{0}}+\sum _{k=1}^{K}{{{a}_{k}}E_{cu}^{K}}}{{{b}_{0}}+\sum _{k=1}^{K}{{{b}_{k}}E_{cu}^{K}}}=\underset{k=1,2...,K}{\mathop {\max }}\,\frac{{{a}_{0}}+{{a}_{k}}E_{\text{CUs}}}{{{b}_{0}}+{{b}_{k}}E_{\text{CUs}}}. \end{aligned}$$
(31)

We prove (31) by means of the mathematical induction.

Firstly, in the case of \(K=2\), we will prove the following equation

$$\begin{aligned} \underset{E_{cu}^{k}}{\mathop {\max }}\,\frac{{{a}_{0}}+{{a}_{1}}E_{cu}^{1}+{{a}_{2}}E_{cu}^{2}}{{{b}_{0}}+{{b}_{1}}E_{cu}^{1}+{{b}_{2}}E_{cu}^{2}}={\mathop {\max }}\,\left( \frac{{{a}_{0}}+{{a}_{1}}E_{\text{CUs}}}{{{b}_{0}}+{{b}_{1}}E_{\text{CUs}}},\frac{{{a}_{0}}+{{a}_{2}}E_{\text{CUs}}}{{{b}_{0}}+{{b}_{2}}E_{\text{CUs}}}\right) . \end{aligned}$$
(32)

It indicates that the maximum is obtained at either \((E_{cu}^{1},E_{cu}^{2})=(0,E_{\text{CUs}})\) or \((E_{cu}^{1},E_{cu}^{2})=(E_{\text{CUs}},0)\). By plugging \(E_{cu}^{2}=E_{\text{CUs}}-E_{cu}^{1}\) into \(f(E_{cu}^{1},E_{cu}^{2},...,E_{cu}^{K})\) for \(K=2\), we get the equivalent form

$$\begin{aligned} g(E_{cu}^{1})=f(E_{cu}^{1},E_{\text{CUs}}-E_{cu}^{2})=\frac{E_{cu}^{1}({{a}_{1}}-{{a}_{2}})+E_{\text{CUs}}{{a}_{2}}+{{a}_{0}}}{E_{cu}^{1}({{b}_{1}}-{{b}_{2}})+E_{\text{CUs}}{{b}_{2}}+{{b}_{0}}}. \end{aligned}$$
(33)

Therefore, (33) has the maximum at one of the boundary points \(E_{cu}^{1}=0\) or \(E_{cu}^{1}=E_{\text{CUs}}\) as long as we prove the monotonicity of \(g(E_{cu}^{1})\). We differentiate \(g(E_{cu}^{1})\) with respect to \(E_{cu}^{1}\)

$$\begin{aligned} \frac{dg(E_{cu}^{1})}{dE_{cu}^{1}}=\frac{({{a}_{1}}-{{a}_{2}})(E_{\text{CUs}}{{b}_{2}}+{{b}_{0}})-({{b}_{1}}-{{b}_{2}})(E_{\text{CUs}}{{a}_{2}}+{{a}_{0}})}{{{(E_{cu}^{1}({{b}_{1}}-{{b}_{2}})+E_{\text{CUs}}{{b}_{2}}+{{b}_{0}})}^{2}}}. \end{aligned}$$
(34)

The denominator of (34) is constant positive. Hence, the monotonicity of \(g(E_{cu}^{1})\) depends on the sign of the numerator, which proves (32).

We assume that (31) is true of \(K=L\), and we prove that (32) is also true of \(K=L+1\). For \(K=L+1\), we have

$$\begin{aligned} f(E_{cu}^{1},E_{cu}^{2},...,E_{cu}^{L},E_{cu}^{L+1})=\frac{{{a}_{0}}+\sum _{k=1}^{L}{{{a}_{k}}E_{cu}^{k}}+{{a}_{L+1}}E_{cu}^{L+1}}{{{b}_{0}}+\sum _{k=1}^{L}{{{b}_{k}}E_{cu}^{k}+{{b}_{L+1}}E_{cu}^{L+1}}}, \end{aligned}$$
(35)

with constraints of \(\sum _{k=1}^{L+1}{E_{cu}^{k}}=E_{\text{CUs}}\) and \(E_{cu}^{k}\ge 0\). We Apply (31) for \(K=L\) to (35) and obtain

$$\begin{aligned}&\underset{\sum _{k=1}^{L+1}{E_{cu}^{k}}=E_{\text{CUs}}}{\mathop {\max }}\,\frac{{{a}_{0}}+\sum _{k=1}^{K+1}{{{a}_{k}}E_{cu}^{k}}}{{{b}_{0}}+\sum _{k=1}^{K+1}{{{b}_{k}}E_{cu}^{k}}}\nonumber \\&\quad =\underset{0\le E_{cu}^{L+1}\le E_{\text{CUs}}}{\mathop {\max }}\,\underset{\sum _{k=1}^{L}{E_{cu}^{k}}=E_{\text{CUs}}-E_{cu}^{L+1}}{\mathop {\max }}\,\frac{{{a}_{0}}+\sum _{k=1}^{L}{{{a}_{k}}E_{cu}^{k}}+{{a}_{L+1}}E_{cu}^{L+1}}{{{b}_{0}}+\sum _{k=1}^{L}{{{b}_{k}}E_{cu}^{k}+{{b}_{L+1}}E_{cu}^{L+1}}}\nonumber \\&\quad =\underset{0\le E_{cu}^{L+1}\le E_{\text{CUs}}}{\mathop {\max }}\,\underset{k=1,...,L}{\mathop {\max }}\,\frac{{{a}_{0}}+{{a}_{k}}(E_{\text{CUs}}-E_{cu}^{L+1})+{{a}_{L+1}}E_{cu}^{L+1}}{{{b}_{0}}+{{b}_{k}}(E_{\text{CUs}}-E_{cu}^{L+1})+{{b}_{L+1}}E_{cu}^{L+1}}. \end{aligned}$$
(36)

We switch the maximum operations on the right-hand side to have

$$\begin{aligned}&\underset{\sum _{k=1}^{L+1}{E_{cu}^{k}}=E_{\text{CUs}}}{\mathop {\max }}\,\frac{{{a}_{0}}+\sum _{k=1}^{K+1}{{{a}_{k}}E_{cu}^{k}}}{{{b}_{0}}+\sum \nolimits _{k=1}^{K+1}{{{b}_{k}}E_{cu}^{k}}}\nonumber \\&\quad =\underset{k=1,...,L}{\mathop {\max }}\,\underset{0\le E_{cu}^{L+1}\le E_{\text{CUs}}}{\mathop {\max }}\,\frac{{{a}_{0}}+{{a}_{k}}(E_{\text{CUs}}-E_{cu}^{L+1})+{{a}_{L+1}}E_{cu}^{L+1}}{{{b}_{0}}+{{b}_{k}}(E_{\text{CUs}}-E_{cu}^{L+1})+{{b}_{L+1}}E_{cu}^{L+1}}. \end{aligned}$$
(37)

Due to the monotonicity of (32), we can easily get

$$\begin{aligned}&\underset{\sum \nolimits _{k=1}^{L+1}{E_{cu}^{k}}=E_{\text{CUs}}}{\mathop {\max }}\,\frac{{{a}_{0}}+\sum \nolimits _{k=1}^{K+1}{{{a}_{k}}E_{cu}^{k}}}{{{b}_{0}}+\sum \nolimits _{k=1}^{K+1}{{{b}_{k}}E_{cu}^{k}}}\nonumber \\&\quad =\underset{k=1,...,L}{\mathop {\max }}\,{\mathop {\max }}\,\left( \frac{{{a}_{0}}+{{a}_{k}}E_{\text{CUs}}}{{{b}_{0}}+{{b}_{k}}E_{\text{CUs}}},\frac{{{a}_{0}}+{{a}_{L+1}}E_{\text{CUs}}}{{{b}_{0}}+{{b}_{L+1}}E_{\text{CUs}}}\right) \nonumber \\&\quad =\underset{k=1,...,L+1}{\mathop {\max }}\,\frac{{{a}_{0}}+{{a}_{k}}E_{\text{CUs}}}{{{b}_{0}}+{{b}_{k}}E_{\text{CUs}}}. \end{aligned}$$
(38)

Therefore, (31) also holds for \(K=L+1\), which proves (20a) by mathematical induction.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Li, P., Liu, Y., Gao, X. et al. Energy-efficient time and energy resource allocation in non-selfish symbiotic cognitive relaying sensor network with privacy preserving for smart city. J Wireless Com Network 2021, 48 (2021). https://doi.org/10.1186/s13638-021-01903-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13638-021-01903-9

Keywords