# Based on virtual beamforming cooperative jamming with Stackelberg game for physical layer security in the heterogeneous wireless network

- 818 Downloads

**Part of the following topical collections:**

## Abstract

The physical layer security technology is a technical scheme developed in recent years to solve the problem of information security transmission in wireless communication networks. As one of the physical layer security technologies, cooperative jamming often requires collaborative nodes to actively cooperate with other nodes with secure communication requirements to transmit information. In the environment of heterogeneous wireless network, each wireless node is relatively independent, the relationship is both cooperative and competitive, and the nodes are selfish. In this paper, we study the information transmission between the source and destination nodes, and form a virtual beamforming through the cooperation of the jamming nodes to point to the malicious wiretap nodes, so as to achieve the physical layer secure communication. First, the interest distribution relationship between the source node and other cooperative interference nodes is modeled as the Stackelberg game. The source node pays the consumption of the power consumed by the cooperative jamming nodes and motivates the cooperative interference nodes to participate actively. Then, the competition relationship among all the cooperative nodes is built as a non-cooperative game, so as to promote the reasonable pricing of the consumed power when each node participates in collaboration. When the security rate between the source node and destination node is constant, the power allocation of source and cooperative nodes and the equilibrium point of power price exist and are unique. Through the combined optimization of the two games, the power pricing and power allocation can be dynamically optimized according to the change of the network environment. The simulation results show that the power dynamic allocation and power dynamic pricing have good convergence, and the source node provides a train of thought for the selection of cooperative nodes and their number.

## Keywords

The heterogeneous wireless network Physical layer security Cooperative jamming Stackelberg game Power dynamic pricing## 1 Introduction

With the rapid development of wireless communication technology, the problem of information security transmission in wireless networks is becoming more and more important. In recent years, physical layer security technology has become a research hotspot in the field of information security, because it does not rely on data encryption and encapsulation but has the absolute security of information transmission [1, 2]. For an additive noise-degraded wiretap channel, the security capacity *C*_{S} is *C*_{S} = *C*_{M} − *C*_{E}; the *C*_{M} and *C*_{E} are the main channel and wiretap channel capacity respectively. Wyner [3] has done an earlier research work in this area. His research shows that the source node and destination node can exchange secret information at a non-zero rate without stealing information from an eavesdropper. However, when the channel condition between the source node and its destination node is worse than that between the source node and the eavesdropper, the secrecy capacity of the source node and its destination node can be zero. Early wireless communication is mainly point-to-point communication. The wireless communication nodes are basically single-antenna configurations with a single function. These characteristics make the actual security capacity zero.

The physical layer security technology uses the characteristics of randomness, time variability, and reciprocity of wireless channels. It can make sure that both sides of legitimate communication cannot be wiretapped to any information in the presence of the eavesdropper [3]. Now, the rapid progress of wireless communication physical layer technology has promoted the emergence of a new form of eavesdropping channel. For example, the antenna array eavesdropper channel [4, 5], orthogonal frequency division multiplexing (OFDM) wiretap channel [6, 7, 8], and relay cooperative eavesdropping channel [9, 10, 11] can all get effective secrecy capacity. According to reference [4], when the degree of freedom of artificial noise is greater than that of the eavesdropper receiving signal, the eavesdropper cannot separate secret information and artificial noise from the received signal, and the artificial noise method can achieve a certain secrecy speed. Reference [5] has studied how to introduce the idea of frequency diversity array into an OFDM transmitter and to form effective physical layer secure communication capacity in free space. Reference [6] studied the maximum achievable secrecy rate of the OFDM system through reasonable power allocation. Reference [7] took the max-min fairness criterion of confidentiality rate as an optimization objective and studies how to allocate channels and power among multiple users in a cellular network downlink based on OFDM technology in the presence of an eavesdropper node. The literature in [8] studied the power allocation problem for the wireless users in the downlink of the OFDM system to consider the energy collection and the secret information decoding process. In reference [9], the author studied the physical layer security of the relay network model with multiple relay nodes. With the goal of maximizing the security rate, several different cooperative mechanisms were proposed. Reference [10] studied how to use cooperative nodes to send blocking signals to suppress information disclosure of an eavesdropper. Under the scenario of multiple relay nodes and multiple eavesdropping nodes, the relay adopts decode and forward technology; reference [11] first adopts the finite rate feedback scheme to study the resource allocation of the wireless source node.

When the channel quality between the legitimate users is inferior to the eavesdropping channel, the effective safe transmission rate cannot be obtained. Therefore, the cooperative interference mechanism is proposed, which reduces the quality of the eavesdropping channel by means of artificial interference and destroys the listening ability of the eavesdropping node. In reference [9], the cooperative jamming schemes for improving the physical layer security rate of wireless communication through cooperative nodes are studied. In reference [12], it studied how to use cooperative relay nodes to improve the physical layer security rate of wireless communication by combining decode and forward and cooperative jamming. The literature in [13] discussed the main technology and difficulties in the physical layer security of the OFDM communication system. In that paper, the OFDM beamforming was briefly introduced, and the robustness was also reviewed in the presence of noise and multipath fading. Then, the robustness of OFDM beamforming technology under various noise jamming attacks was discussed. Finally, the latest jamming attack techniques were explored and some potential anti-jamming attacks to improve the robustness and reliability were pointed out. On the basis of reference [14], in reference [15], the time domain artificial noise generation technology for the physical layer security in the multiple input and multiple output (MIMO) OFDM system was studied. It extends the limitation that the number of sender antennas must be less than the number of legitimate receiver antennas in application. In an OFDM technology access network where exist a source node, multiple untrusted nodes, and a friendly interference node, reference [16] studied how to interfere with friendly nodes or improve the sum of secrecy rates or improve the fairness of the whole system.

However, the wireless collaboration nodes in the heterogeneous wireless network are selfish and need an incentive mechanism to ensure their participation in collaboration. A game-based cooperative scheme can motivate the selfish relay nodes to participate in the cooperative [17, 18, 19, 20]. Han and Zhang [17, 18] respectively analyze the system game performance of two cooperative interference nodes and the game performance of multi-user shared single cooperative interference node system. In view of the high requirement of communication quality among legitimate communication users and the limited energy of cooperative nodes, multiple collaboration nodes are required to interfere with the service. In order to allocate the compensation and improve the energy efficiency of the cooperative node, a scheme of energy efficiency optimal power allocation based on a Stackelberg game was proposed. The scheme used a two-tier game strategy, the first layer game determines the optimal payment compensation, and the second layer game is used for compensation allocation and power adjustment among the cooperative nodes. Reference [19] proposed a scheme for optimal energy efficiency compensation and power allocation based on a Stackelberg game theory. The two-level game model proved that there exists a global optimal energy efficiency only and gives a closed form solution of the optimal power allocation scheme. Reference [20] studied sub-carrier allocation and cooperative partner selection based on the Nash bargaining game for physical layer security in OFDM wireless networks.

This paper studies the cooperation of multiple cooperative jamming nodes in a heterogeneous wireless network environment, forming virtual beamforming, which helps to secure information transmission between source node and destination nodes, and to prevent an eavesdropper node from eavesdropping on useful information. For example, in the heterogeneous network environment where wireless sensor network and wireless fidelity (WiFi) network coexist, the wireless sensor networks often need to communicate important information through WiFi network. The joint points connecting the wireless sensor network and the WiFi network are crucial. There are many trusted wireless sensor nodes around them, which can be used to collaborate and interfere in the process of important information interaction to prevent malicious nodes from eavesdropping. Similar situations will also occur in other wireless communication networks such as cellular networks.

In addition, in order to encourage potential trusted wireless nodes to participate in collaboration and optimize the allocation of overall energy consumption, on the one hand, the source node needs a paid use of the power consumed by the cooperative jamming node; on the other hand, the jamming nodes involved in cooperation can reasonably price the power cost and adjust the market price dynamically according to the importance of their own energy, which depends on the number of nodes involved in cooperation, the channel state information of the node itself, and the relative relationship between the node and the source node, the destination node, and the eavesdropper node. Therefore, the cooperation relationship between source node and cooperative nodes is modeled as a Stackelberg game, and the competition and cooperation relationship among all cooperative jamming nodes is modeled as a non-cooperative game.

The contents of this paper are organized as follows: the second part is the system model, the third part is the game modeling, the fourth part is the power allocation strategy and the power price dynamic adjustment program, the fifth part is the simulation, and the sixth part is the summary of this paper.

## 2 System model

*N*jamming nodes (

*J*

_{ i }, i∈

*N*,

*N*= {1,2,…,

*N*}) with the existence of an eavesdropper E. The eavesdropping node is always eavesdropping on the information sent by the source node. When the quality of the eavesdropping channel between the source node and the eavesdropping node is weaker than the quality of the main channel, the two parties of the legitimate communication can realize the physical layer security communication. When the main channel quality is weaker than the eavesdropper channel, in order to ensure the security of transmission information, it is necessary to request some cooperative jamming nodes to assist in sending artificial interference signals to destroy the quality of the eavesdropper channel, so as to create a secure communication environment. Here,

*N*cooperative interference node

*J*

_{1},…,

*J*

_{ N }are equipped with a omnidirectional single antenna to transmit and receive data and jointly implement beamforming interference eavesdropping node.

The whole communication process includes two parts for the cooperation scene of jamming nodes. First, the source node sends the signal to the destination node with power *P*_{s}. Meanwhile, the information will also be eavesdropped by the eavesdropping node. The channel gain of link S → D and S → E is |*h*_{0}|^{2} and |*g*_{0}|^{2}, respectively. The second is that all jamming nodes are combined to send an artificial interference signal with power *P*_{J}. The weight vector of all the cooperative nodes to transmit interference signals is **w**_{J}(*N* × 1), **h**(*N* × 1) represents the channel vector between the *N* jamming nodes and the destination node, and **g**(*N* × 1) represents the channel vector between the *N* jamming nodes and the eavesdropping node, defining **R**_{ h } = **hh**^{†} and **R**_{ g } = **gg**^{†}. In addition, it is assumed that all communication channels are ergodic, flat fading, and semi-static. It is assumed that the source node can obtain the instantaneous channel information of each communication channel and the noise power at the eavesdropping node and the destination node are *σ*^{2}. In this paper, the variables are expressed in the following form. The black body capitals represent the matrix, while the black body lowercase letter represents the column vector. The conjugate, transposition, and conjugate transposition of the matrix are expressed by three markers, (·)∗, (·)^{ T }, and (·)^{†} respectively.

*N*trusted relay nodes transmit the human interference signals completely independent of the source node, and the purpose is to confuse the eavesdropping nodes. This can help the secure communication between the source node and its destination node. The cooperative jamming nodes that participate in the cooperative transmission are transmitting to the human interference signal according to the weight, which are expressed as the vector

*z*. In this way, the signal received at the destination can be expressed as follows

*n*

_{ d }and

*n*

_{ e }represent the noise signals received at the destination node and the eavesdropping node, respectively.

*R*

_{ d }and

*R*

_{ e }respectively, which are expressed as follows

*R*

_{ d }>

*R*

_{ e }, so the above formula can be further expressed as

## 3 Problem description and game modeling

In practical applications, the demand for the secrecy rate of user link needs to be guaranteed. Assuming that the user’s secrecy rate requirement is \( {R}_s^0 \), the user link secrecy rate demand will be satisfied when \( {R}_s\ge {R}_s^0 \) is satisfied. As a result, the key problem is to be built to minimize the payment of the source node under the constraints of \( {R}_s\ge {R}_s^0 \).

It is obvious that the nodes in the wireless collaboration network belong to different individuals and are selfish. As a result, the source nodes need to take measures to encourage possible collaboration nodes to participate in collaboration and interfere with eavesdropping in eavesdropping nodes. At the same time, the source node needs to select the most beneficial collaboration nodes for themselves. According to the behavior characteristics of the source node and the cooperative node, the distributed resource allocation scheme based on game theory is used to analyze.

*U*

_{s}represents the payment of the source node and

*U*

_{s}is defined as a linear function of the transmission power. It is expressed as follows:

_{s}and \( {v}_{J_m} \) respectively represent the power price of the source node S and the cooperative jamming node

*J*

_{ m }, and \( {P}_{J_m} \) represents the power purchased by the source node to the cooperative jamming node

*J*

_{ m }to interfere with the eavesdropping node.

*J*

_{ m }can be defined as

*J*

_{ m }. As a result, the optimization problem for the revenue of cooperative jamming nodes can be expressed as

In the above network models, in order to maximize their profits, each cooperative jamming node needs not only to compete with other jamming nodes, but also to compete with the source node. For the source node, it will optimize the power allocation between the source node and the various jamming nodes based on the power price provided by the cooperative jamming node. For each of the jamming nodes, they must provide the optimal power price to maximize the utility. Between all the jamming nodes, they compete with each other by constantly adjusting their power prices. As a result, the source node can be regarded as the main party of the game, and the jamming node is regarded as a slave. Therefore, there is a Stackelberg game between the source node and the jamming nodes, while all the jamming nodes are non-cooperative games [21].

**Lemma 1:**Order \( {\mathbf{w}}_J^{\dagger}\mathbf{g}=\mu \), and \( {\mathbf{w}}_J^{\dagger}\mathbf{h}=0 \). The solution of the following problem [9]

## 4 The power and price selection method

### 4.1 Power allocation method

*P*

_{ s }and find the weights that minimize the payment of the source node to the jamming nodes. Then, we find the value of

*P*

_{ s }that minimizes the overall payment. In practical applications, it is difficult to obtain the global information of malicious eavesdropping nodes. In addition, it is noted that the problem (8) is the product of two correlated generalized eigenvector problems, which is generally quite difficult. In order to simplify the analysis, we will add a constraint to completely eliminate the interference signals at the destination, i.e.,

*P*

_{ s }is a constant value, the optimal power allocation of the jamming nodes involved in the cooperation is obtained. In order to solve the optimization problem of Eq. (15), let \( \tilde{\mathbf{h}}=\left\{\frac{h_{J_1}}{\sqrt{v_{J_1}}},\frac{h_{J_2}}{\sqrt{v_{J_2}}},\dots \dots, \frac{h_{J_N}}{\sqrt{v_{J_N}}}\right\} \), \( \tilde{\mathbf{g}}=\left\{\frac{g_{J_1}}{\sqrt{v_{J_1}}},\frac{g_{J_2}}{\sqrt{v_{J_2}}},\dots \dots, \frac{g_{J_N}}{\sqrt{v_{J_N}}}\right\} \) and \( {\tilde{\mathbf{w}}}_J=\left(\sqrt{v_{J_1}}{w}_{J_1},\sqrt{v_{J_2}}{w}_{J_2},\dots \dots, \sqrt{v_{J_N}}{w}_{J_N}\right) \). Then, the optimization problem of Eq. (15) can be further transformed into

From the above formula, it can be seen that \( {\tilde{\mathbf{w}}}_J^{\dagger}\tilde{\mathbf{g}} \) is a positive real number.

*μ*

^{2}:

*k*

_{0},

*k*

_{m1},

*k*

_{m2}, and

*k*

_{m3}are as follows

*P*

_{ s }as a variable

*P*

_{ s }, and there is a unique optimal solution. To obtain the first derivative of

*P*

_{ s }and to make it zero, the optimal solution of

*P*

_{ s }is obtained

It can be seen that the power of the source node decreases with the increase of the power cost *v*_{ s } of the source node. However, the source node power value *P*_{ s } will not be lower than the second half \( \frac{1-{4}^{-{R}_s^0}}{4^{-{R}_s^0}{\left|{h}_0\right|}^2/{\sigma}^2} \) of the above formula on the right side. It is equivalent to the minimum power consumption of the source node in order to achieve the secret rate \( {R}_s^0 \) without the presence of the eavesdropping node.

### 4.2 Power price method for jamming nodes

It is noted that Eq. (24) is a non-cooperative game between the cooperative jamming nodes, and there is a tradeoff between the utility \( {U}_{J_m} \) and the energy price \( {v}_{J_m} \) of the interference nodes. If the jamming node *J*_{ m } has good channel conditions and its energy price is relatively low, the source node will ask for more cooperative power from the jamming node *J*_{ m }, so that \( {U}_{J_m} \) will increase with \( {v}_{J_m} \) growth. When \( {v}_{J_m} \) grows to more than one value, it is no longer useful for the source node to select it to participate, even if the channel of *J*_{ m } is dominant. In this way, *J*_{ m } will reduce \( {v}_{J_m} \), and \( {U}_{J_m} \) also decreases. Therefore, every jamming node *J*_{ m } is required to dynamically give the optimal power price which changes with the channel condition. Because the source node will only choose the most favorable jamming nodes, the optimal price will also be influenced by other jamming nodes. In addition, when the power cost of cooperative jamming node is increased (for example, the energy of the node itself is reduced, the request of cooperation is increased, the maximum power limit value, and so on), the starting point of cooperative node’s cooperation and power price will rise.

**Property 1:** When the power price of the source node and other cooperative jamming nodes are fixed, the equilibrium point of utility function \( {U}_{J_m} \) of every cooperative jamming node exists and unique.

Through the first derivative \( \partial {U}_{J_m}/\partial {v}_{J_m} \) and the two order derivations \( {\partial}^2{U}_{J_m}/\partial {v}_{J_m}^2 \) of the above, we can analyze it piecewise.

(1) When \( 0<{v}_{J_m}<3{c}_{J_m}+2{k}_{m3}/{k}_{m2} \), \( {\partial}^2{U}_{J_m}/\partial {v}_{J_m}^2 \) is always less than zero. This shows that \( {U}_{J_m}\left(0<{v}_{J_m}<3{c}_{J_m}+2{k}_{m3}/{k}_{m2}\right) \) is a concave function, and there is a unique maximum value.

(2)When \( {v}_{J_m}\ge 3{c}_{J_m}+2{k}_{m3}/{k}_{m2} \), \( \partial {U}_{J_m}/\partial {v}_{J_m} \) is always less than zero. This explanation decreases with the increase of \( {U}_{J_m}\left({v}_{J_m}\ge 3{c}_{J_m}+\frac{2{k}_{m3}}{k_{m2}}\right) \).

Therefore, the maximum value of \( {U}_{J_m}\left({v}_{J_m}>{c}_{J_m}\right) \) exists and is unique, and the Property 1 is proved.

It is important to note that the value of \( {v}_{J_m} \) calculated by the upper type is obtained when the power of the source node and the power price of other relay nodes are given. So, the result of the upper calculation is not optimal. The value of the optimal \( {v}_{J_m} \) to meet the requirements of a certain precision can be recursively obtained by the gradient method. The steps are as follows: (1) The calculation of the initial price \( {v}_{J_m}(0)=2{c}_{J_m}+\frac{k_{m3}}{k_{m2}} \) by (31); (2) with Eq. (24) to calculate \( {U}_{J_m}\left({v}_{J_m}(n)\right) \) and \( {U}_{J_m}\left({v}_{J_m}(n)+\Delta \right) \) (when the cost is \( {c}_{J_m}=1 \), the step size Δ is generally 0.01); (3) the price update formula is\( {v}_{J_m}\left(n+1\right)={v}_{J_m}(n)+\lambda \left[{U}_{J_m}\left({v}_{J_m}(n)+\Delta \right)-{U}_{J_m}\left({v}_{J_m}(n)\right)\right] \); (4) repeat (2) and (3) until \( \left|{v}_{J_m}\left(n+1\right)-{v}_{J_m}(n)\right| \) is less than the stop value.

In heterogeneous wireless networks, each node is often able to obtain only local channel state information. Therefore, it is difficult to provide the optimal value directly, whether it is the power allocation by the source nodes or the pricing of the power price of the cooperative jamming nodes. In this case, it is necessary for the source node to cooperate with all the cooperative jamming nodes through “the power pricing of each jamming node → the power allocation → the power pricing of each jamming node → the power allocation of source node.” After several rounds, it converges to the optimal value while meeting the error requirement.

## 5 Simulation and result

In this part, the dynamic power allocation, price dynamic pricing, cost price change, and convergence are simulated. The same system setting as reference [9] is used in this paper, where the source node, the destination node, and the eavesdropping node are placed in a straight line. In order to illustrate the effect of distance (the effect of distance is used to represent the change of wireless channel environment), the channel model between any two nodes is set as a line-of-sight transmission channel model. The path gain is expressed as *d*^{−c/2}*e*^{ iθ }, where *d* represents the distance between any two nodes (unit: meter), *c* = 3.5 represents the exponential factor of the path loss, and *θ* is a random phase that is evenly distributed between [0, 2*π*].

In the following simulation, it is assumed that the distance between the cooperative jamming nodes is negligible relative to the distance from source node, destination node, and eavesdropping node. The distance between the cooperative jamming nodes and the source node, the destination node, and the eavesdropping node can be approximately regarded as the same. The source node and the destination node are fixed in the two-dimensional coordinate system at the point *S* (0, 0) and point *D* (100, 0),respectively(unit: meter). The noise in the channel is additive Gauss white noise, and the noise power is 10^{−9} W. The next simulation in this paper has carried out 1000 Monte Carlo independent experiments and then averages to get the average results.

*J*

_{1}is a curve with the change of its power price \( {v}_{J_1} \). It can be seen from the diagram that the maximum value of the revenue \( {U}_{J_1} \) exists only.

*J*

_{1}changes dynamically as its position changes, and Fig. 6 describes a curve of dynamic changes in the revenue \( {U}_{J_1} \) of a cooperative jamming node

*J*

_{1}with its location (The location of the cooperative jamming node moves along the straight line from the coordinate point (10, 5) to the coordinate point (90, 5), and the eavesdropping node is fixed at the coordinate point (50, 0)). When the jamming nodes are in different positions and their channel conditions are different, the optimal power price will be adjusted dynamically. As it can be seen from the above two figures, the highest power price does not deserve the highest income. The income of the jamming node is determined by its power price and the power consumed by it. Only the power price of the jamming node is appropriate, and the source node is willing to assign it more power to participate in the collaboration. The jamming nodes also gain the most benefit because of their reasonable choice.

*U*

_{S}of the source node changing along with the location of the cooperative jamming node (the cooperative jamming node moves along the straight line from the coordinate point (10, 5) to the coordinate point (90, 5), and the eavesdropping node is fixed at the coordinate point (50, 0)). As you can see from Fig. 7, the total payment of the source node is the lowest when the cooperative jamming node is nearest to the eavesdropper node. This is because the cooperative jamming node has the best effect on the eavesdropping node when the distance from the eavesdropping node is nearest and the power consumption is the lowest.

*U*

_{S}of the source node changing along with the location of the eavesdropping node (the eavesdropping node moves along the straight line from the coordinate point (20, 0) to the coordinate point (90, 0)). The five simulation curves above correspond to the situation where the cooperative jamming nodes are located at the coordinate points (30, 5), (40, 5), (50, 5), (60, 5), and (70, 5), respectively. It can be seen from the figure that the total payment of the source node is the lowest when the eavesdropping node is nearest to the cooperative jamming node. And the closer the distance from the source node to the cooperative jamming node, the lower the maximum value of each curve (the source node total payment

*U*

_{S}).

Combining with the previous analysis, when the information of the channel state of the eavesdropping node is known, it is most favorable to select the cooperative jamming node closest to the eavesdropping node; when the channel state information of the eavesdropping node is unknown, it is necessary to consider the worst case, that is, the best choice is to choose the cooperative jamming node closest to the source node.

*V*

_{1}of a cooperative jamming node

*J*

_{1}as its cost price

*c*

_{1}increases. This is due to the higher cost price of the cooperative jamming node, and it is bound to increase the power price in order to obtain the same income. From the simulation results, the curve approximated linearly.

*U*

_{S}of the source node varies with the number of cooperative jamming nodes. The eavesdropping node is fixed at the coordinate point (50, 0), and the three simulation curves above correspond to the situation where the jamming nodes are located at the coordinate points (30, 5), (50, 5), and (70, 5) respectively. It can be seen that the total payment

*U*

_{S}of the source node decreases with the increase of the number of the cooperative jamming nodes. This is due to the increase of the number of cooperation nodes, which will lead to more intense competition among the cooperative nodes, resulting in lower power price of the cooperative jamming node. This inevitably reduces the cost that the source node seeks for collaboration. Therefore, the source nodes always want more cooperative jamming nodes to participate in cooperative jamming in order to reduce the total cost of payment. However, from Fig. 9, it can be seen that when the number of jamming nodes involved in cooperative jamming transmission reaches five, the total payment

*U*

_{S}of the source node will decrease slowly with the increase of the number of nodes involved in cooperative jamming. In practice, the participation of more nodes in collaboration will bring more complex communication overhead of channel state information. Therefore, it is not necessary for source nodes to seek more than six interference nodes to participate in the cooperative jamming transmission.

In a word, the following conclusions can be obtained from the above simulations. The cooperative jamming nodes are competitive and cooperative. They dynamically optimize their own power price independently according to the network environment change (including channel characteristics, competition intensity, and energy status). Correspondingly, the source node can also optimize the power allocation according to the power pricing of the cooperative node, channel characteristics and its energy status, so as to improve the dynamic adaptability of the physical layer security rate.

## 6 Conclusions

In a heterogeneous wireless network environment, this paper studied, in the presence of an eavesdropping node, the source node and destination node cooperating to intercept the eavesdropping nodes through trusted jamming nodes, so as to achieve the physical layer secure communication. In order to encourage the potential nodes to participate in cooperation and interfere with the eavesdropping of malicious nodes, the relationship between the source node and the cooperative interference node was modeled as a Stackelberg game in this paper. The jamming power consumed by the cooperative jamming nodes was paid according to the market price, and the power allocation solution under the market price was given. At the same time, the competition relationship among the jamming nodes involved in cooperative jamming was modeled as a non-cooperative game. Each jamming node dynamically adjusts the power cost price and market price independently based on its own channel characteristics, surplus energy, and consumed power. In a word, through the joint optimization of these two games, the power pricing and power allocation can be dynamically optimized according to the change of channel characteristics and competition intensity.

In this paper, the following several cases were simulated. First, the simulation of the dynamic power allocation and the dynamic power pricing of each cooperative jamming node shows that the power allocation and the market price would soon reach the optimum value after more than five rounds of dynamic adjustment. And it had good convergence. Secondly, the dynamic changes of the location of the cooperative jamming node and the eavesdropping node were simulated respectively, and the results illustrated the cooperative node selection idea under different circumstances. Finally, it could be seen that the total payment *U*_{S} of the source node decreases with the increase in the number of participating cooperative jamming nodes. However, when the number of nodes involved in cooperative jamming transmission reaches five, the total payment *U*_{S} of the source node will decrease slowly as the number of cooperative jamming nodes increases, which is of guiding significance for the selection of the number of cooperative jamming nodes.

## Notes

### Acknowledgements

This work was supported by the National Science Foundation of China under grant no. 61461018, the Hubei Province and the colleges and universities in the Outstanding Youth Science and Technology Innovation team plan (no: T201512), and the Science and Technology Program Project of Enshi Autonomous Prefecture in 2016 (XYJ2016000155).

### Authors’ contributions

SLH contributed to the conception and algorithm design of the study. SJL and LZ contributed to the acquisition of simulation. SLH, SJL, and LZ contributed to the analysis of simulation data and approved the final manuscript.

### Authors’ information

Shuanglin Huang received M.S. and Ph.D. degrees from the Taiyuan University of Technology and Huazhong University of Science and Technology, in 2008 and 2012, respectively. He is an assistant professor in the School of Information Engineering, Hubei University for Nationalities, Enshi, Hubei, China. His research interests lie in wireless sensor networks, wireless communications and networks, game theory, parallel computing, and Internet of things. (E-mail:huang-shuanglin@163.com)

Li Zhu received a M.S. degree from the China University of Geosciences in 2009. She is a lecturer in the School of Information Engineering, Hubei University for Nationalities, Enshi, Hubei, China. Her research interests lie in wireless sensor networks, parallel computing, and Internet of things. (E-mail:lier_zhu@163.com)

Sanjun Lin received M.S. and Ph.D. degrees from the Chinese Academy of Sciences and Peking University, Beijing, China in 2007 and 2017, respectively. He is a lecturer in the School of Information Engineering, Hubei University for Nationalities, Enshi, Hubei, China. His research interests lie in wireless communication, embedded system, co-frequency co-time full-duplex and information theory, wireless sensor networks, parallel computing, and Internet of things. (E-mail: liusanjunbox1@126.com)

### Competing interests

The authors declare that they have no competing interests.

### Publisher’s Note

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

## References

- 1.M Bloch, M Barros, M Rodrigues, ML SW, Wireless information-theoretic security. IEEE Trans. Inf. Theory
**54**, 2515–2534 (2008). https://doi.org/10.1109/TIT.2008.921908 MathSciNetCrossRefzbMATHGoogle Scholar - 2.L Lai, H El Gamal, The relay-eavesdropper channel: cooperation for secrecy. IEEE Trans. Inf. Theory
**4**, 4005–4019 (2008). https://doi.org/10.1109/TIT.2008.928272 MathSciNetCrossRefzbMATHGoogle Scholar - 3.AD Wyner, The wire-tap channel. Bell Syst. Tech. J.
**54**(8), 1355–1387 (1975)MathSciNetCrossRefzbMATHGoogle Scholar - 4.XY Zhou, MR Mckay, Secure transmission with artificial noise over fading channels: achievable rate and optimal power allocation. IEEE Trans. Veh. Technol.
**59**, 3831–3842 (2010). https://doi.org/10.1109/TVT.2010.2059057 CrossRefGoogle Scholar - 5.Y Ding, J Zhang, V Fusco, Frequency diverse array OFDM transmitter for secure wireless communication. Electron. Lett.
**51**(17), 1374–1376 (2015). https://doi.org/10.1049/el.2015.1491 CrossRefGoogle Scholar - 6.X Lin, S Xiaoting, X Wang, et al., TSVC: timed efficient and secure vehicular communications with privacy preserving. IEEE Trans. Wirel. Commun.
**7**(12), 4987–4998 (2008). https://doi.org/10.1109/T-WC.2008.070773 CrossRefGoogle Scholar - 7.Sotiris Karachontzitis, Member, Stelios Timotheou. Security-aware max–min resource allocation in multiuser OFDMA downlink. IEEE Trans. Inf. Forensics Secur. 10(3): 529–542, 2015. https://doi.org/10.1109/TIFS.2014.2384392.
- 8.M Zhang, Y Liu, Energy harvesting for physical-layer security in OFDMA networks. IEEE Trans. Inf. Forensics Secur.
**11**(1), 154–162 (2016. Digital Object Identifier 10.1109/TIFS.2015.2481797). https://doi.org/10.1109/TIFS.2015.2481797 CrossRefGoogle Scholar - 9.L Dong, Z Han, AP Petropulu, et al., Improving wireless physical layer security via cooperating relays. IEEE Trans. Signal Process.
**58**(3), 1875–1888 (2010). https://doi.org/10.1109/TSP.2009.2038412 MathSciNetCrossRefGoogle Scholar - 10.J Huang, AL Swindlehurst, Cooperative jamming for secure communications in MIMO relay networks. IEEE Trans. Signal Process.
**59**, 4871–4884 (2011). https://doi.org/10.1109/TSP.2011.2161295 MathSciNetCrossRefGoogle Scholar - 11.MR Abedi, N Mokari, MR Javan, H Yanikomeroglu, Limited rate feedback scheme for resource allocation in secure relay-assisted OFDMA networks. IEEE Trans. Wirel. Commun.
**15**(4), 2604–2618 (2016). https://doi.org/10.1109/TWC.2015.2505728 CrossRefGoogle Scholar - 12.S Huang, J Wei, C Yang, C Liu, Joint decode-and-forward and cooperative jamming for secure wireless communications. Int. Conf. Wirel. Commun. Netw. Mob. Comput. IEEE, Wuhan
**2011**, 1–4 (2011). https://doi.org/10.1109/wicom.2011.6040145 Google Scholar - 13.C Shahriar, M La Pan, M Lichtman, T Charles Clancy, R McGwier, R Tandon, S Sodagari, JH Reed, PHY-layer resiliency in OFDM communications: a tutorial. IEEE Commun. Surv. Tutorials.
**17**(1), 292–314 (2015). https://doi.org/10.1109/COMST.2014.2349883 CrossRefGoogle Scholar - 14.H Qin, Y Sun, TH Chang, X Chen, CY Chi, M Zhao, J Wang, Power allocation and time-domain artificial noise design for wiretap OFDM with discrete inputs. IEEE Trans. Wirel. Commun.
**12**(6), 2717–2729 (2013). https://doi.org/10.1109/TCOMM.2013.050713.120730 CrossRefGoogle Scholar - 15.Tomoki Akitaya, Shunta Asano, Takahiko Saba. Time-domain artificial noise generation technique using time-domain and frequency-domain processing for physical layer security in MIMO-OFDM systems. ©2014 IEEE ICC’14 - W1: Workshop on Wireless Physical Layer Security, 807–812, 2014. https://doi.org/10.1109/ICCW.2014.6881299.
- 16.R Saini, A Jindal, S De, Jammer-assisted resource allocation in secure OFDMA with untrusted users. IEEE Trans. Inf. Forensics Secur.
**11**(5), 1055–1070 (2016). https://doi.org/10.1109/TIFS.2016.2516912 CrossRefGoogle Scholar - 17.Han Z, Marina N, Debbah M, et al. Physical layer security game: how to date a girl with her boyfriend on the same table. International Conference on Game Theory for Networks. Istanbul: [s. n. ]: 287–294, 2009. https://doi.org/10.1109/GAMENETS.2009.5137412.
- 18.Zhang Rongqing, Song Lingyang, Han Zhu. Improve physical layer security in cooperative wireless network using distributed auction game. 2011 IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS). Shanghai: [s. n.]: 18–23, 2011. https://doi.org/10.1109/INFCOMW.2011.5928805.
- 19.D Chen-hui, S Mei, W Li, M Yue, Improved physical layer security with cooperative jamming based on Stackelberg game. J. Beijing Univ. Posts. Telecommun.
**37**(5), 11–15 (2014). https://doi.org/10.13190/j.jbupt.2014.05.003 Google Scholar - 20.S Huang, A Jing, J Tan, X Jian, Subcarrier allocation and cooperative partner selection based on nash bargaining game for physical layer security in OFDM wireless networks. Concurr. Comput. Prac. Exp.
**29**(3), 1–15 (2017). https://doi.org/10.1002/cpe.3790 Google Scholar - 21.G Owen,
*Game Theory*, 3rd edn. (New York, Academic, 2001), pp. 120–200Google Scholar

## Copyright information

**Open Access**This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.