Next Article in Journal
Detection, Location and Grasping Objects Using a Stereo Sensor on UAV in Outdoor Environments
Next Article in Special Issue
Efficient DV-HOP Localization for Wireless Cyber-Physical Social Sensing System: A Correntropy-Based Neural Network Learning Scheme
Previous Article in Journal
Iodine Absorption Cells Purity Testing
Previous Article in Special Issue
Enhance the Quality of Crowdsensing for Fine-Grained Urban Environment Monitoring via Data Correlation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Spectrum Sharing Based on a Bertrand Game in Cognitive Radio Sensor Networks

1
School of Computing, South China Normal University, Guangzhou 510631, China
2
IFLYTEK Co., Ltd., Hefei 230000, China
*
Author to whom correspondence should be addressed.
Submission received: 28 October 2016 / Revised: 18 December 2016 / Accepted: 28 December 2016 / Published: 7 January 2017
(This article belongs to the Special Issue New Paradigms in Cyber-Physical Social Sensing)

Abstract

:
In the study of power control and allocation based on pricing, the utility of secondary users is usually studied from the perspective of the signal to noise ratio. The study of secondary user utility from the perspective of communication demand can not only promote the secondary users to meet the maximum communication needs, but also to maximize the utilization of spectrum resources, however, research in this area is lacking, so from the viewpoint of meeting the demand of network communication, this paper designs a two stage model to solve spectrum leasing and allocation problem in cognitive radio sensor networks (CRSNs). In the first stage, the secondary base station collects the secondary network communication requirements, and rents spectrum resources from several primary base stations using the Bertrand game to model the transaction behavior of the primary base station and secondary base station. The second stage, the subcarriers and power allocation problem of secondary base stations is defined as a nonlinear programming problem to be solved based on Nash bargaining. The simulation results show that the proposed model can satisfy the communication requirements of each user in a fair and efficient way compared to other spectrum sharing schemes.

1. Introduction

In the field of Cyber-Physical Social Sensing, wireless sensor networks (WSNs) [1,2,3] play a very important role. WSNs are organized networks composed of some tiny sensor nodes that can perform information collection, processing and wireless transmission actions. Due to the large number of nodes in WSNs, a large amount of data needs to be collected [4,5,6], and these data also need to be transmitted, which leads to the problem of spectral tension and node limitations. In order to solve these problems, Cognitive Radio Sensor Networks (CRSNs) have become a research hotspot of many scholars at home and abroad. CRSNs make each sensor node have the ability of spectrum sensing and dynamic spectrum access by introducing cognitive radio (CR) [7,8] technology into WSNs, and is considered to be the most promising wireless sensor network of the next generation [9,10]. Dynamic spectrum sharing make cognitive user/secondary users that have CR technology share spectrum resources that can only be used by authorized user/primary users (PUs) by adaptively adjusting the transmission parameters in the CRSNs, which makes the spectrum resource utilization not be high in traditional static management mode and alleviates the shortage of spectrum resources.
According to different wireless network access methods, dynamic spectrum sharing can be divided into underlay mode [11] and overlay mode [12,13]. In underlay mode, the secondary user is able to evaluate the interference temperature threshold of the primary network, by using spread spectrum technology and control transmission power below the interference temperature threshold, then can use a very wide frequency band to obtain a higher transfer rate. In overlay mode, the secondary users detect and use idle bandwidth that is currently not occupied by the PU, namely spectrum holes [14], when the primary user comes back to the spectrum section, secondary users switch to another spectrum band through spectrum migration. The two kinds of share mode lead to two main problems: power control and spectrum allocation. In addition, during the data transmission process, the uncertainty of spectrum resources is a big problem in dynamic spectrum sharing, which has prompted the birth of another way of spectrum sharing, whereby a spectrum manager allows secondary users to get a license at a certain price, so as to ensure the certainty of the available spectrum, this way is called spectrum transaction/spectrum leasing. Spectrum pricing is another important issue in the study of dynamic spectrum sharing.
References [15,16] examined the problems of uplink transmission power allocation and power control. The base station sets the price per unit of transmission power, with the premise that every secondary user ensures its own transmission power is less than the interference temperature threshold, and the secondary user can complete up-link data transmission through paying the corresponding cost for the base station. For the problems of system spectrum pricing and allocation, references [17,18] studied the spectrum allocation problem of different market/topology structures based on the oligopoly market model. The primary user as the seller in market would determine the pricing per unit of spectrum bandwidth and lease it to the secondary users for maximum gains. The secondary users determine the quantity of purchase to maximize their own utility by the pricing and the QoS performance obtained. The game between the primary user and the secondary user could be stable in a state of balance of supply and demand in the market, namely market equilibrium. For multi-hop cognitive radio networks, [19] proposed the power control strategy based on time division multiplexing to achieve the maximum throughput from end to end. However, current studies rarely involve the spectrum pricing and allocation problem. The related research needs to ensure that the transmission power of secondary users is less than interference temperature threshold of the primary network, and the spectrum allocation of frequency and power dimension should be considered at the same time. In [20] a kind of hierarchical model to study the allocation problem of power and spectrum was proposed. However, the bandwidth demands that primary user pricing depends on is not from secondary user, and bandwidth and power had the same pricing, the power control problem was also neglected.
Furthermore, the power control model based on pricing [15,16] is mainly based on a user utility function defined by the signal to noise ratio. In spectrum research based on pricing [17,18], it was generally considered that the secondary user utility function had a positive correlation with channel capacity or spectrum efficiency, but a negative correlation with rental costs. Only part of references [20,21] considered the secondary user utility from the point of view of the secondary network demand. Reference [20] defined a utility function reflecting QoS satisfaction degree based on a sigmoid function in service providers offering terminal users power allocation. For three kinds of network scenarios including delay-sensitive secondary users, [21] studied spectrum access control based on pricing strategy. This work didn’t consider the channel capacity demand of the secondary users. By defining a utility function based on channel utility or signal to noise ratio, it is possible to make the utility value greater when the secondary base station achieves more spectrum and power resources. However, on the one hand, excess spectrum beyond the need for user communication service can be considered as a waste of resources. On the other hand, excess transmission power not only increases system interference, but also shortens the battery life of mobile users. Reference [22] studied cooperative spectrum sharing of secondary users based on the communication demands of these secondary network users. Considering both QoS needs and power constraint, [23] studied power control and spectrum to reach maximum system throughput based on mixed-integer non-linear programming. However, these works did not study the secondary user utility from the perspective of communication requirements for the spectrum price problem. The study of secondary user utility from the perspective of communication demand can not only promote the secondary users to meet the maximum communication needs, but also maximize the utilization of spectrum resources to reduce the waste of spectrum resources and excess power on the network environment caused by interference. Thus, considered the communication needs of users, this paper proposes a kind of two stage model of spectrum pricing and allocation to study the problem of spectrum sharing. The main work includes the following three aspects:
(1)
In the first stage, designing a secondary user utility function reflecting the needs facing the secondary network spectrum.
(2)
A spectrum rental model facing these needs was designed based on Bertrand game theory, and a spectral demand adjustment algorithm of secondary base stations was also designed. This made the optimal spectrum rental quantities of secondary base stations just equal to the secondary network needs when the primary base station used Nash equilibrium pricing.
(3)
In the second stage, for the communication needs of secondary users, fairly and efficiently allotting secondary base station spectrum resources based on a Nash bargaining scheme considering frequency, power and time dimensions.

2. System Model and Assumptions

2.1. Primary and Secondary Network Model

Suppose there is a WSN, that has M primary networks that can lease free spectrum to a secondary network. In order to meet the communication of secondary users, the secondary network need to lease the primary network spectrum on the basis of controlling the transmission power of secondary users. This is shown in Figure 1.
Suppose we have a secondary network comprising N secondary users and each secondary user i ( i = 1 , 2 , , N ) can transmit channel capacity demand R i to the secondary station to request spectrum resources for communication services. The secondary base station collects user requirements i N R i of all secondary users and decides the spectrum prices ( λ 1 ,   λ 2 , , λ M ) of different primary base stations, leasing spectrum ( q 1 ,   q 2 , , q M ) from different primary base stations, wherein q i refers to the number of subcarriers, assuming that all subcarriers have the same bandwidth w. In primary networks, each primary base station adjusts its pricing λ k continuously as seller, until they can not further increase their own income, then the spectrum market is in an equilibrium state between the spectrum price for primary base stations and the spectrum requirements for secondary base stations is ( λ 1 * ,   λ 2 * , ,   λ M * ) and ( q 1 * ,   q 2 * , ,   q M * ) . After the secondary station pays for the spectrum resources, it would assign the corresponding spectrum resources and transmission power to each secondary user according to the needs of secondary users ( R 1 , R 2 , , R N ) and the transmission power threshold p T O T A L .

2.2. Oligopoly Market and Bertrand Game

The network model that contains many primary base stations and a single secondary base station can use oligopolistic market theory to understand the interactions of spectrum leasing process for buyers and sellers. The oligopolistic market is between the monopolistic market and the perfectly competitive market, which refers to all the commodities in the market that are controlled by a small number of sellers, each seller is able to influence the spectrum markets that contains other sellers by changing strategies such as adjusting the price or volume of goods, and sellers’ decisions are visible to each other. The Bertrand game is a kind of game in the oligopoly market, which is used to model the price competition behavior in the market, so as to analyze and get the equilibrium pricing strategy of each seller. A Bertrand game basically includes the following three elements:
(1)
The player set N = { 1 ,   2 ,   3 ,   ,   n } , which consists of the secondary users or the primary users participating in spectrum sharing;
(2)
Strategy vector a , player i select a strategy a i from its own strategy set S i in each game, the strategy can be the number of purchased spectrum, or transmission power, strategy vector of all players a = ( a 1 ,   a 2 , , a n );
(3)
Utility function u i ( a i ,   a i ) : S R , which represents the degree of benefit or satisfaction that player i can obtain in strategy vector a = ( a i ,   a i ) . Usually, a i = { a 1 ,   a 2 ,   ,   a i 1 ,   a i + 1 ,   ,   a n } denotes the strategy vector of other players except i, and u = { u 1 ,   u 2 ,   ,   u n } is called the utility vector.
In a Bertrand game based on an oligopoly market, the primary base stations of the primary network act as oligarchs, making decisions independently, and content of the decision is to change the price of goods. It is usually assumed that the goods of different sellers have their own characteristics, and the goods can’t be completely replaced. When the demand function of seller i is q k = D k ( λ k , λ k ) , so i’s optimal pricing can be obtained by seeking extreme value income function formula (1) in the corresponding cost C k ( D k ( λ k , λ k ) ) :
u k ( λ k , λ k ) = λ k D k ( λ k , λ k ) C k ( D k ( λ k , λ k ) )
The primary and secondary user networks shown in Figure 1 are modeled based on the Bertrand game model. All of the primary base stations as oligarchs control the market spectrum, and each primary base station rationally adjusts the spectrum pricing in the pursuit of maximizing its own income; secondary base stations acts as buyers according to their own needs and the spectrum pricing of each primary base station to determine the amount of spectrum that they should lease from different sellers. In spectrum markets, primary and secondary base stations are competitive in the market by continuously adjusting pricing and spectrum requirements, ultimately stabilizing to a market equilibrium. The primary base stations also stabilize to a Nash equilibrium in the price competition of constantly adjusting prices.
Since the primary base stations holds licensed spectrum, they have higher spectrum access priority, so primary base stations as “leaders” determine the spectrum price λ, while the secondary base station as “followers” determine the rent number q by the spectrum prices and their demand functions. Leaders know followers will react to their policy, thus they can take the followers’ reactions into account when determining the price. That is, before the primary base station rents spectrum to a secondary base station, it will forecast the rent amount q i of i when the price is λ i , and then determining the price λ i * that can make their own maximum income, under this pricing, the rental amount of i is q i * .
For this transaction process where the primary base station determines the spectrum price and the secondary user decides the number of leases, we can use a reverse induction method to solve the spectrum pricing and spectrum requirements for the equilibrium point where assuming that known the spectrum price λ, the supply of the primary base station is q = S ( λ ) , and the spectrum needs of the secondary base station is q = D ( λ ) . Usually, the supply function is a non-decreasing function with respect to the price, and the demand function is a non-increasing function with respect to the price. As shown in Figure 2, the market equilibrium ( λ * , q * ) in the supply and demand curves junction, Equation (2) can be obtained. From Equation (2), we can see that the supply of the primary base station equals the demand of all secondary base stations and D ( λ * ) = S ( λ * ) , that is, λ * = S 1 ( q * ) = S 1 ( D ( λ * ) ) , so market equilibrium pricing and spectrum requirements of secondary users are available:
{ q * = D ( λ * ) q * = S ( λ * )

3. The First Stage: Pricing Model Based on a Bertrand Game

Firstly, in order to quantify whether the leased spectrum satisfies the communication needs of secondary users, we need to design the utility function of the secondary base station. Secondary base stations can determine the demand function D ( R ,   λ ) of subcarriers in specific communication needs and spectrum prices by this utility function. Subsequently, modeling the pricing game of primary base stations based on the Bertrand game, it is proved that the non-cooperative game can converge to a Nash equilibrium, and the pricing method of the Nash equilibrium is used for the primary base stations.

3.1. The Utility Function and Demand Function of Secondary Base Stations

In order to meet the channel capacity requirements ( R 1 , R 2 , , R N ) of all secondary users, the number of subcarriers that a secondary base station needs to hire from a primary base station is C when the primary network interference power threshold is p T O T A L and the average subcarrier channel gain is h, assuming that all secondary users use equal power p T O T A L / C in different subcarriers. According to Shannon’s theorem, C satisfies Equation (3), because the secondary users use M-quadrature amplitude modulation [24], so, η = −1.5/(δz2·ln(5BERij)). By solving Equation (3), we can obtain the total available subcarriers that a secondary base station needs, indicated by Equation (4), where δ = pTOTAL·|h|2·η, W(·) is the Lambert-W function.
R = i = 1 N R i = C w log 2 ( 1 + p T O T A L C | h | 2 η ) ( b i t / s )
C = δ w δ W [ 2 exp ( R / ( δ w ) ) R / ( δ w ) ] / R + 1
So, the utility function of secondary base station is designed as follows:
u S B S ( q ) = u 1 + u 2 + u 3
u 1 = μ α ( C k = 1 M q k ) 2 , u 2 = 1 2 ( k = 1 M q k 2 + 2 v j k M q k q j ) , u 3 = 2 v k = 1 M q k λ k q = { q 1 , q 2 , , q M } represents the number of subcarriers that rent from different primary base stations. The utility function consists of three parts:
(1)
u 1 represents the utility that leased spectrum can provide. When the rented spectrum is just equal to the spectrum requirements, u 1 can obtain the maximum benefit. If the leased spectrum is less than the spectrum requirements, the quality that the communication of secondary networks needs can’t be guaranteed. If the leased spectrum is more than the spectrum requirements, this would result in excess spectrum and reduced resource utilization. The preference coefficient α reflects the desirability that a secondary base station meets its demand. In addition, to ensure that the utility value of this part is positive, setting μ ( μ > 0 ) is the upper limit of its utility value.
(2)
u 2 describes the mutual substitutability of the spectrum sold by different primary base stations. The Bertrand game assumes the rental spectrum of different primary base stations can’t be completely replaced, therefore, a spectrum replacement rate v is introduced to consider the spectrum substitutability of different primary base stations. The meaning of replacement rate v [ 1.0 , 1.0 ] , that is, when v = 0.0 , the secondary user can’t switch between different primary base station spectra; when v = 1.0 , the secondary user can switch between different spectra; when v < 0 , the user spectrum sharing needa to use complementary spectrum, that is, when a secondary user uses a spectrum of the primary base station, it needs to lease one or more other spectra of primary base stations together.
(3)
u 3 represents the cost that must be paid for the subcarriers { q 1 , q 2 , , q M } of the primary base station.
When given the price of spectrum λ = ( λ 1 , λ 2 , , λ M ) , the following conclusions are established:
Theorem 1.
When the utility function of the secondary base station is given by Equation (5), the corresponding demand function that the subcarriers share is:
D k ( λ ) = D 1 λ k + D 2 ( λ k ) , k = 1 , 2 , ... , M
D 1 = 1 1 v [ 2 α + v 2 α M + 1 + v ( M 1 ) 1 ] ,   D 2 ( λ k ) = 1 1 v [ 2 α C ( 2 α + v ) 2 α M C j k λ j 2 α M + 1 + v ( M 1 ) ]
Proof. 
Since the utility function (5) is a concave function, namely, 2 u S B S ( q ) q i 2 < 0 , we just need to get the maximum value of the function to get q k = D 1 λ k + D 2 ( λ k ) , ( k = 1 , 2 , ... , k ) , which proves the theorem. ☐

3.2. The Utility of the Primary Base Station and the Bertrand Game

For the network model which has several or more primary networks and only one secondary network, we know that the supply of the primary base station k is equal to the market demand which we called D k ( λ ) when the market is proportionate, so the corresponding utility is:
u k P B S ( λ k , λ k ) = λ k D k ( λ k , λ k ) β k D k ( λ k , λ k )
The loss coefficient of β k stands for the loss caused by the primary base station k in the process of renting. In the market of this spectrum, spectrum pricing of the primary base station k is called λ k ; it will not only be influenced by other primary base stations’ pricing, but it also affects the pricing of other primary base stations. To deal with this problem, we can build a Bertrand competition to study the price competition among different primary base stations. For the corresponding Bertrand competition Γ = M , S , u , let:
(1)
M represents the set of game players. This set is composed of primary base stations, such as {1, 2, …, M}.
(2)
λ k S k represents a player’s strategy. The primary base station sets the renting price S k = { λ k | λ k > β k , λ k R + } , k ∈ M of subcarriers of per unit.
(3)
μ k ( λ k , λ k ) represents a payoff function. The primary base station k determines the available utility that spectrum pricing λ k could acquire, calculated by the formula μ k P B S ( λ k , λ k ) .
The primary base station k, as a player in the Bertrand games constantly adjusts its pricing, in satisfying certain conditions, it can eventually be stable in a state of equilibrium, which is called a Nash equilibrium (NE).
Definition 1 (Nash Equilibrium).
The Nash equilibrium of the strategic form game is a strategy vector λ * = ( λ k * ,   λ k * ) , λ * satisfies:
u i ( λ k * , λ k * ) u k ( λ k , λ k * ) ,   k M ,   λ k S k ,   λ k * S k
This definition shows that no player can unilaterally change its own strategy to obtain a greater incentive in a Nash equilibrium, so, when other players choose a Nash equilibrium strategy, the best strategy of the player can choose is the Nash equilibrium strategy, that is:
λ k * B k ( λ k * ) = arg max a k S k   u k ( λ k , λ k * ) ,   k M
Herein the function B k ( · ) is called the optimal response function. However, a Nash equilibrium doesn’t always exist in any form of strategy. The existence condition of a Nash equilibrium is given in [25].
Lemma 1.
For any player k M in the strategic form of game Γ = M , S , u , if the policy set S k is a convex compact subset of the Euclidean space, the utility function u k is to be concave and continuous on the policy set S k then the Nash equilibrium of this game exists.
Theorem 2.
For Bertrand game Γ = M , S , u there exists a Nash equilibrium.
Proof. 
A Bertrand competition in normal form is a structure Γ = M , S , u , where a player’s strategy is a nonempty convex subset { λ k | λ k β k , λ k R + } . We can prove that μ k P B S is a concave function by Equations (6) and (7). By Theorem 2 and Equation (9), we can find that there is a Nash equilibrium ( λ 1 * , λ 2 * , , λ M * ) in this game, and λ k * = arg max λ k S k   u k P B S ( λ k , λ k * ) , k M , which proves the theorem. ☐
This means that when all parameters are known in the network, we can get a Nash equilibrium pricing strategy (Equation (11)) of a primary base station by Equation (6) and linear Equation (10) and the amount of subcarrier that each secondary base station rents from the primary base station could be solved by its demand function (Equation (6)):
u k P B S ( λ ) λ k = 0 , k = 1 , 2 , ... , M
λ k * = arg max λ k S k   u k P B S ( λ k , λ k * ) = β k / 2 D 2 ( λ k * ) / 2 D 1 , k = 1 , 2 , ... , M
For example, in the situation of two primary base stations, the corresponding linear equation is:
{ 1 1 v [ 2 α C ( 2 α + v ) 2 α M C λ 2 2 α M + 1 + v ( M 1 ) ] + 2 λ 1 β 1 1 v [ 2 α + v 2 α M + 1 + v ( M 1 ) 1 ] = 0 1 1 v [ 2 α C ( 2 α + v ) 2 α M C λ 1 2 α M + 1 + v ( M 1 ) ] + 2 λ 2 β 2 1 v [ 2 α + v 2 α M + 1 + v ( M 1 ) 1 ] = 0

3.3. Dynamic Bertrand Game

Different primary base stations in different primary networks can’t monitor the earnings that each other has acquired and also know nothing about the current strategies of others, so they need to obtain optimal pricing by designing a corresponding distributed program. We provide a distributed program based on dynamic Bertrand competition, which iterates the Bertrand competition process repeatedly to reach optimal pricing. For every iteration named t and each primary base station named i, when the spectrum pricing of i is λ k [ t ] , other primary base stations’ pricing will be λ k [ t ] . When we enter the next t + 1 iteration, the primary base station k adjusts the spectrum pricing of this iteration with a different update strategy to approach Nash equilibrium closer and closer using the different information acquired, where:
(1)
The update strategy of pricing can use the following formula if the primary base station can obtain other players’ historical strategy during the last iteration:
λ k [ t + 1 ] = B k ( λ k [ t ] ) = arg max λ k S k   u k P B S ( λ k , λ k [ t ] ) , k M
(2)
The following learning strategy will be used when the primary base station can only study local information, where σ k means the step size of each update:
λ k [ t + 1 ] = λ k [ t ] + σ k ( u k P B S λ k )
The marginal revenue u P B S λ of Equation (14) can be calculated by Equation (15). When setting a suitable threshold τ and Equation (16) is established, with the increase of the number of iterations and when the utility value of the primary user is close to stable, we can argue that the dynamic Bertrand game can reach the equilibrium state. Moreover, it also can use Equation (17) to calculate the marginal revenue by observing the margin of their utility’s change when a minute pricing adjustment occurs. Let ε represent the margin of each minute adjustment, it will stop updating when the conditions of Equation (18) are satisfied:
u k P B S ( λ ) λ k = D k ( λ ) + ( λ k β k ) D k ( λ ) λ k = D k ( λ ) + ( λ k β k ) D 1
D k ( λ ) + ( λ k β k ) D 1 < τ
u P B S λ u P B S ( λ [ t ] + ε ) u P B S ( λ [ t ] ε ) 2 ε
u P B S ( λ [ t ] + ε ) u P B S ( λ [ t ] ε ) < τ

3.4. Stability and Complexity Analysis of Dynamic Game

By analysis of the stability and complexity of a dynamic game, we can definite whether this dynamic game could reach a Nash equilibrium when it converges to a stable state gradually and how to converge to stable state quickly. We can see the two update strategies in Equations (13) and (14) as two different self-mapping functions, so we can learn from the Routh-Hurwitz criterion that this self-mapping function is stable if and only if all its eigenvalues ξi are located in the unit circle of a complex plane, that means |ξi|<1. We define a Jacobian matrix shown in (19) in order to obtain the solution set of eigenvalues of the self-mapping function:
[ λ 1 [ t + 1 ] λ 1 [ t ] λ 1 [ t + 1 ] λ 2 [ t ] λ 1 [ t + 1 ] λ M [ t ] λ 2 [ t + 1 ] λ 1 [ t ] λ 2 [ t + 1 ] λ 2 [ t ] λ 2 [ t + 1 ] λ M [ t ] λ N [ t + 1 ] λ 1 [ t ] λ N [ t + 1 ] λ 2 [ t ] λ M [ t + 1 ] λ M [ t ] ]
[ 0 χ 1 χ 1 χ 1 0 χ 1 χ 1 χ 1 0 ] , χ 1 = 2 α + v 2 [ 2 α ( M 1 ) + v ( M 1 ) + 1 v ]
[ 1 + 2 σ 1 ( χ 2 1 ) 1 v σ 1 χ 2 1 v σ 1 χ 2 1 v σ 2 χ 2 1 v 1 + 2 σ 2 ( χ 2 1 ) 1 v σ 2 χ 2 1 v σ M χ 2 1 v σ M χ 2 1 v 1 + 2 σ M ( χ 2 1 ) 1 v ] , χ 2 = 2 α + v 2 α M + 1 + v ( M 1 )
At first, the dynamic game is based on Equation (13) and its Jacobian matrix is Equation (20). By calculating the steps described above, we can get its eigenvalues: ξ 1 = = ξ M 1 = χ 1 , ξ M = ( M + 1 ) · χ 1 . Since the replacement rate ν [ 1.0 , 1.0 ] , we can know that the molecule of all eigenvalues is less than the denominator, that is | ξ k | < 1 , ( k = 1 ,   2 , ,   M ) , so the dynamic game of the self-mapping function (13) is stable.
The matrix shown in (21) is the Jacobian matrix of the dynamic game presented in (14). Let σ 1 = σ 2 = σ M = σ , we can obtain its relevant eigenvalues: ξ 1 = = ξ M 1 = 1 + [ σ ( χ 2 2 ) ] / ( 1 v ) , ξ M = 1 + { σ [ ( M + 1 ) χ 2 2 ] } / ( 1 v ) . Because ( 2 M 1 ) / ( M 1 ) <   χ 2 2 < 0 and 2 < ( M + 1 ) χ 2 2 < 0 , so by finding the solution of inequality | ξ k | < 1 , ( k = 1 ,   2 , ,   M ) , we can come to a conclusion that the sufficient condition for a dynamic game to be stable is obtained by updating the step size σ of dynamic game that must satisfy constraint: σ ( 0 , ( 1 v ) ·   ( 2 M 2 ) / ( 2 M 1 ) ) , ( M > 1 ) .
It can be seen from the above stability analysis that the dynamic game update strategy of (13) can converge to the Nash equilibrium according to the optimal response value. The convergence rate of the dynamic game update strategy in (14) is highly dependent on the update step, and the complexity of the model depends on the convergence rate and number of iterations of the dynamic game, so the update step is the key to the complexity of the model. In the later simulation experiments, we will further discuss the effect of the update step on the convergence speed of the dynamic game to ensure the lowest model complexity.

3.5. Spectrum Requirement Adjustment and System Scheduling

In the model of spectrum pricing and spectrum allocation which are both based on Bertrand competition, when the subcarrier rent in the state of market equilibrium is lower than the demand of subcarriers in secondary networks, rental subcarriers will not satisfy the spectrum requirements of the secondary network.
From Figure 3, we can learn that when we have set preference factor, replacement rate and loss coefficient, then both the real spectrum requirements and the optimal rent total amount q * = k = 1 M D k ( λ * ) will linearly increase, so we can do the next two steps. Firstly, secondary base stations could present their actual spectrum requirements to the primary base station in advance and then by the optimal pricing that the primary network has formulated, we could define the relationship between the actual spectrum requirements and the amount of rental subcarriers. Secondly, in order to acquire spectrum resources that could fulfill the demands of the secondary networks, we can adjust the spectrum requirements again based on the first step. That means, the secondary base stations send actual requirements C + ε and C ε , which have undergone a minute adjustment to each primary base station, and then calculate the corresponding total amount of rental subcarriers q t o t a l * ( C + ε ) and q t o t a l * ( C ε ) by the requirement function (6) after each base station has returned the optimal pricing λ * ( C + ε ) and λ * ( C ε ) under Nash Equilibrium conditions. Secondary base stations find the solution set of slopes which indicate the linear relationship between their requirements and the amount of rent subcarriers by Equation (22), and then determine which virtual spectrum requirement C to send to the primary base station using Equation (23). Through lots of experiments, we can know that the amount of spectrum rental subcarriers based on the subcarrier requirements could satisfy the spectrum requirements of the secondary networks:
s l o p e q s u m * ( C + ε ) q s u m * ( C ε ) 2 ε
C = ( C q s u m * ( C ε ) ) / s l o p e + C ε
In summary, when the primary base station is based on the local information of dynamic spectrum pricing, the scheduling process of first stage is as shown in Figure 4.

4. The Second Stage: Cooperation Spectrum Sharing

Secondary base station can obtain the set SC of subcarriers in a total number k = 1 M D k ( λ ) by paying for a number of primary base stations. This is used in the communication services of secondary users in the secondary network, so secondary base stations need to solve how to assign a set of subcarriers for each secondary user based on the channel capacity requirements ( R 1 , R 2 , , R N ) and the transmission power p i j of each subcarrier j, and ensure not causing interference for the primary network communication. According to the characteristics of the problem, we can model and solve the problem by using the bargaining game model of cooperative game theory.

4.1. Spectrum Sharing Based on a Bargaining Game

Secondary users in a secondary network can fairly and efficiently share available spectrum resources through cooperative games. Bargaining games, as a kind of a cooperative game, can offer game players a win-win and fair solution:
Definition 2 (Bargaining game and bargaining solution).
The game Γ = ( N , S , U , u 0 ) is called the bargaining game, if U is a closed convex subset of RN, and there is at least one feasible payoff vector, for any I, u i u i 0 that exists. A bargaining scheme is a function that maps the bargaining problem to the only feasible payoff vector: f ( U , u 0 ) :   U u * .
According to the bargaining game definition, we can regard secondary users in secondary networks as game players that reach a cooperative agreement, and we can use a bargaining game to set up a module for the secondary base station spectrum resource allocation problem. The corresponding bargaining game formula is Γ = ( N , S , U , u 0 ) :
(1)
The set of game players: secondary user set {1, 2,…, i,…, N};
(2)
Player strategy a i = ( S C i , p i ) S i : the secondary user i asks the secondary base station for communication subcarrier set S C i . The power transmission of every subcarrier is p i = { p i j } ,   ( j S C i );
(3)
Payoff function u k ( a k , a k ) : The user i uses power p i j to transport information in the corresponding subcarrier of the subcarrier set S C i . It can obtain channel capacity j S C i w · l o g 2 ( 1 + p i j | h i j | 2 · η ) .
(4)
Payoff vector is u 0 when it doesn’t reach a cooperation agreement: The demand of channel capacity of the secondary user is (R1, R2, …, RN);
Thus, the problem of subcarriers and power allocation of secondary base station can be transformed into a feasible payoff vector problem in cooperative spectrum communion based on a bargaining game. The bargaining solution is considered a kind of selection criteria of the optimal feasible payoff vector. The Nash bargaining solution (NBS) is a kind of general resource sharing bargaining solution.
Not only can it satisfy the secondary user’s needs, but also it can ensure the fairness of resource allocation to the greatest extent. Therefore, according to the Nash bargaining solution, we can define the allocation problem of subcarrier set S C i and power transmission p i j as the nonlinear programming problem shown in Equation (24) in order to fairly and efficiently assign spectrum resources in the secondary network. In the equation, r i j = w · l o g 2 ( 1 + p i j | h i j | 2 · η ) represents the fact that secondary user i can obtain channel capacity by using subcarrier j to transfer. The constraint (1) makes it possible for every the secondary user to get higher channel capacity than demanded. In order to avoid affecting the primary network communication, the condition (2) controls that the power transmission of the secondary user network is less than the interference power threshold p T O T A L . The condition (3) ensures that subcarriers assigned for all the secondary users will be in the subcarrier set rented by the secondary base station:
max i = 1 N ( j S C i w log 2 ( 1 + p i j | h i j | 2 η ) R i ) s . t . ( 1 ) j S C i w log 2 ( 1 + p i j | h i j | 2 η ) R i ( 2 ) i = 1 N j S C i p i j p T O T A L ( 3 ) i = 1 N S C i S C ( 4 ) S C i , p i j R + , i = 1 , 2 , ... , N , j S C i

4.2. The Optimal Allocation of Subcarriers, Power and Time

For nonlinear programming Equation (24), the general solution is to list all subcarrier sets and transmission power levels. However, for communication systems that allow a time sharing strategy, the exhaustive method will lead to inestimable computing resource consumption because the full range extends from the finite set to the infinite set. We can reduce the complexity of solving the problem through introducing time allocation scheduling. Namely, the secondary base station used all subcarriers for a communication service for a certain user. Therefore, the allocation problem of subcarrier set and transmission power (24) can be translated into the allocation problem of transmission time and transmission power (25). In the equation, t i represents that the time which all subcarriers are assigned by the secondary base station is used for the secondary user i is the proportion accounting for the entire scheduling cycle. Consequently, the actual transmission time of the secondary user i is t i · T , and T is the total time of scheduling period:
max i = 1 N ( t i j S C w log 2 ( 1 + p i j | h i j | 2 η ) R i ) s . t . ( 1 ) t i j S C w log 2 ( 1 + p i j | h i j | 2 η ) R i ( 2 ) j S C p i j p T O T A L , i = 1 , 2 , ... , N ( 3 ) i = 1 N t i 1 ( 4 ) p i j R + , i = 1 , 2 , ... , N , j S C
Theorem 3.
A feasible solution for the nonlinear programming problem (25) exists only when i = 1 N R i / r i * 1 In the formula, the optimal power allocation strategy and time allocation strategy are:
p i j * = [ 1 | S C | ( p T O T A L + l S C 1 | h i l | 2 η ) 1 | h i j | 2 η ] + , i = 1 , 2 , ... , N , j S C
t i * = 1 N ( 1 l = 1 N R l r i * ) + R i r i * , i = 1 , 2 , ... , N
where [x]+ represents max{x,0}, and r i * = j SC w l o g 2 ( 1 + p i j * | h i j | 2 η ) .
Proof. 
The optimal power allocation is considered firstly. For the feasible time allocation strategy t i * given p = ( p i j * )   ( i = 1 , 2 , .. , N ,   j S C ) is the optimal power allocation strategy for (25) only when p i j * is also the optimal solution for programming problem (28):
max j S C w log 2 ( 1 + p i j | h i j | 2 η ) s . t . j S C p i j p T O T A L , i = 1 , 2 , , N
So, the optimal power allocation problem for (25) can be obtained by the Lagrange Multiplier Approach solving programming problem (27). The corresponding Lagrange function is:
L ( p , μ ) = j S C w log 2 ( 1 + p i j | h i j | 2 η ) i = 1 N μ i ( j S C p i j p T O T A L )
In the equation, μ = ( μ 1 ,   μ 2 ,   ,   μ N ) is Lagrange multiplier, so:
L ( p , λ ) p i j = w | h i j | 2 η ln 2 ( 1 + p i j | h i j | 2 η ) μ i
L ( p , μ ) μ i = j S C p i j p T O T A L
We can apply the KKT condition to get Equations (32) and (33). The optimal power allocation strategy (26) can be achieved by substituting Equation (33) into Equation (32):
p i j * = ( w ln 2 μ i * 1 | h i j | 2 η ) +
1 μ i * = ln 2 w | S C | { p T O T A L + l S C 1 | h i l | 2 η }
Then, the existence of the feasible solution should be considered. The existence of the optimal power allocation strategy doesn’t mean that the feasible solution for the programming problem (25) exists. Based on the optimal allocation strategy (26), the feasible solution for (25) exists when the constraint conditions (1) and (3) of (25) are satisfied. Therefore, through putting the optimal power allocation strategy into (1) and (3), we can get the necessary and sufficient condition for the existence of feasible solution i = 1 N R i r i * 1 :
max i = 1 N ( t i r i * R i ) s . t . i = 1 N t i 1
max i = 1 N ln ( t i r i * R i ) s . t . i = 1 N t i 1
Lastly, based on the optimal allocation, we consider the optimal time allocation. Let r i * = j S C w l o g 2 ( 1 + p i j * | h i j | 2 η ) , and we can achieve the programming problem (34) by putting p = ( p i j * ) into Equation (25). We can solve the programming problem (35) through logarithmic transformation of Equation (34) because f ( x ) = l n ( x ) is a monotonically increasing concave function in domain. Meanwhile, the Lagrange Multiplier Approach is used for solving the problem. The corresponding Lagrange function is:
L ( t , φ ) = i = 1 N ln ( t i r i * R i ) φ ( i = 1 N t i 1 )
Here φ is the Lagrange multiplier. By applying the KKT condition, we can get the equations:
L ( t , φ ) t i = r i * t i r i * R i φ = 0
L ( t , φ ) φ = i = 1 N t i 1 = 0
The optimal time allocation can be achieved through solving Equations (37) and (38). Therefore, the corresponding subcarriers and power optimal allocation process can be expressed as shown in Figure 5.

5. Simulation

The simulation uses two primary networks, setting the primary network interference power threshold as pTOTAL = 50 mW. The bandwidth of each subcarrier w = 25 kHz, thermal noise level δZ2 = 10−11 W, desired BER = 10−2, and the simulation channel is modeled by Rayleigh fading and the loss factor is 3. Suppose that two secondary users are located at a distance of 200 m within the range of the base station in the secondary network, and their respective channel capacity requirements are R1 = 2 Mb/s, R2 = 3 Mb/s. Considering the path loss of the channel at the boundary (when the distance from the base station is 200 m), when the subcarrier demand is 144 by Equation (4) or enumeration, a channel capacity of 5.0 Mb/s can be provided.

5.1. Spectrum Pricing and Allocation

5.1.1. Preference Coefficient and Rate of Substitution

After setting the spectrum pricing of two primary base station as p1 = 460, p2 = 440, the effects of different preference coefficients α and substitution rates v on the rent number of subcarriers in the secondary networks are studied. As shown in Figure 6, the secondary base station rents the number of subcarriers whose price is significantly lower than the higher price. If the degree of preference of the secondary base station to satisfy the demand is greater, it will tend to hire more subcarriers to meet the needs of secondary networks. However, when the number of subcarriers meets the demand, the preference coefficient increase that influences the number of subcarriers rented becomes gradually smaller. In addition, Figure 6 shows that substitution rate is smaller, and the switching difficulty that secondary users in the spectrum of different primary base stations experience will be bigger, thus they have to rent more expensive subcarriers; when the substitution rate is higher, secondary users are more likely to rent relatively cheap subcarriers.

5.1.2. The Influence of other Primary Base Stations on Spectrum Pricing

According to the results in Section 5.1.2, we set the preference coefficient α = 12, and the replacement rate of v = 0.4 and set different spectrum pricing values of the primary base station 2: λ2 = 460, 480, 520, 550, and then we examine the relationship between the spectrum pricing and revenue of the primary base station 1. As shown in Figure 7, when the spectrum pricing of the primary base station 1 gradually increases in a certain range, because a high price can obtain more revenue, the income also increases; however, when the profit value exceeds a peak point, because the secondary network will choose a cheaper primary station to rent subcarriers, it resulting in a reduced subcarrier requirement for the primary base station 1, so the revenue of the primary base station 1 will be reduced. In addition, with the increase in the price of another primary base station 2, the demand of the secondary network for the base station 1 also increases, therefore, the primary base station 1 can set a higher price to get greater benefits.

5.1.3. Optimal Response Function and Nash Equilibrium

Setting different substitution rates v1 = 0.4, v2 = 0.6 and different primary base station loss coefficients β1,2 = 420, β1,2 = 400 (β1,2 represents β1 = β2), according to the optimal response function, that is λ k * = arg max λ k S k   u k P B S ( λ k , λ k * ) , ( k M ) , Figure 8 can be drawn. The Nash equilibrium is located at the junction of the optimal response function of the different primary base stations, namely, the equation set (12). The less the loss coefficient of a primary base station, the smaller the rental per unit bandwidth caused by loss, and the primary base station is more willing to lower the price of spectrum resources, therefore, the Nash equilibrium price is lower. In addition, the substitution rate also affects the location of the primary base station pricing and the Nash equilibrium. The greater the replacement rate, the more difficult it is for the secondary network to switch from the spectrum of different primary base stations, and secondary base stations are more inclined to lower the price of rental spectrum resources, therefore, the price of the primary base station is lower when a Nash equilibrium exists.

5.1.4. Dynamic Game

We set a secondary network spectrum substitution rate v = 0.4 and the loss coefficients of the two primary base stations are β1 = 420, β2 = 380. According to whether the primary base station can be observed in the history of the policy of other players, we study the process of the primary base station pricing through a dynamic game. For these two cases, the primary base station is respectively based on the optimal response strategy (Equation (13)) and learning strategy (Equation (14)) to dynamically update its spectrum pricing. Wherein, the sufficient conditions of a dynamic game for stability is σ ( 0 , ( 1 v ) ( 2 M 2 ) 2 M 1 ) , we select the learning strategy updating steps σ1 = σ2 = 0.25 and σ1 = σ2 = 0.35, we set the stability threshold τ = 0.01 and the initial pricing of the two primary base stations as λ1(0) = β1, λ2(0) = β2, then the dynamic game process is shown in Figure 9. As the primary base station is able to observe the historical policies of the other primary base station, a dynamic game can quickly converge to a Nash equilibrium based on an optimal response, but when a primary base station can only be based on the demand information fed back locally by secondary networks to update its pricing strategy, the rate of convergence of the dynamic game is largely dependent on the update step size, and as shown in Figure 10, when the replacement rate is lower, the dynamic game with larger update step has a faster convergence speed. When the replacement rate is higher, a smaller update step should be set to ensure the convergence rate. In addition, because of the high cost of the primary base loss coefficient of high rental per unit bandwidth, the optimal pricing of the equilibrium is higher than the primary base station of low loss coefficient.

5.1.5. Loss Coefficient on Primary Base Station Revenue

Figure 11 shows the main effect of the loss coefficient of the primary base station 2 for its own and the revenue of the primary base station 1 for different replacement rates. When the loss coefficient of β2 gradually increases, the price of the primary base station 2 will be increased at a smaller rate than that of the β2, due to the fact the spectrum can be replaced between different base stations, so the corresponding spectrum rental also decreases, and the revenue of base stations is gradually reduced by u2PBS(λ) = (λ2β2 D 2(λ). On the other hand, the increase of β2 will increase the price of the base station 1, the rent amount is also increased, so the revenue increases. Not only that, but the replacement rate will also affect the primary base station revenue. For the same loss coefficient, increasing the replacement rate will decrease the optimal pricing of all primary base stations in the system, resulting in a decline in revenue.

5.1.6. Spectrum Requirement Adjustment

Setting the loss coefficient of two primary base stations as β1 = 420, β2 = 380 and replacement rate v = 0.4, we search for a particular preference factor, the relationship of the real needs of the subcarriers of secondary base stations and the final amount of the rental spectrum. As shown in Figure 12, when the spectrum need is the same, as the preference coefficient increases, the degree of preference of the secondary base station for the need is greater, so they tend to hire more subcarriers, thus increasing the spectrum demand of the secondary network, so the amount of rent subcarriers increases, and linear fitting for C with different requirements and its corresponding rental q * ( C ) , so C and q * ( C ) show an approximately linear correlation.
Subsequently, according to the adjustment strategy introduced in Section 3.5, we can determine the virtual demand for subcarrier C and calculating the corresponding hire q * ( C ) based on C . Figure 13 describes the relationship between the virtual spectrum requirement C , the real spectrum needs C and the total amount of hiring spectrum q * ( C ) when C = 144 , ε i = 0.5 . It can be seen that the adjustment of the virtual spectrum demand C corresponds to the leased number of just q * ( C ) to meet the real needs of the network spectrum C .

5.2. Cooperation Spectrum Sharing

5.2.1. The Degree of Satisfaction for the Secondary Network Communication Demand

When calculating the spectrum demand in the secondary network, if the secondary base station is based on the path loss of the secondary network boundary, we calculate the channel gain (case I). iIf the channel capacity requirement of the network is 5 Mb/s, the secondary base station needs to hire 144 subcarriers. Suppose secondary user S U 1 is located 100 m from the secondary base position, and the distance between S U 2 and secondary base stations changes between 110 m and 200 m, through a cooperative spectrum sharing scheme, each secondary the user can obtain the channel capacity as shown in Figure 14, where the horizontal dotted line in the graph is the secondary user channel capacity requirement, when the distance D 2 between the user S U 2 and the base station increases, the channel gain h i j 2 and D 2 3 is a negative correlation, resulting in a decrease of S U 2 channel capacity.
To obtain sufficient channel capacity for the secondary user S U 2 , the spectrum sharing scheme can be used to reduce the time S U 1 is using subcarrier to increase the occupancy time of S U 2 , so as to meet the channel capacity needs of S U 2 , as shown in Figure 15. Thus, the cooperative spectrum sharing strategy based on the Nash bargaining scheme can allocate spectrum resources more equitably. In addition, when the distance of the SU2 distance is more than 20 m, the total channel capacity is higher than the demand, when D 2 > 180   m , the path loss is increased, and the simulation channel can’t meet the increase of the number of i = 1 N R i r i * 1 .
When the secondary base station calculates the network spectrum demand, it considers the secondary user’s path loss of the secondary base station at the farthest distance (case II), so with the increase of the distance between the S U 2 and secondary base station, the spectrum leasing number that the channel capacity of 5 MB/s needs increases, as shown in Figure 16.
Through cooperative spectrum sharing algorithms, two secondary users were able to get the channel capacity shown in Figure 17. As can be seen from the figure, S U 1 and S U 2 can get on average 13% and 5% higher demand for channel capacity, respectively, and with S U 2 away from the base station, the amount of spectrum that secondary base stations rent increases, to the transmission time that S U 1 uses for all the subcarriers to communicate is reduced, and the transmission time of S U 2 increases (Figure 18), but S U 2 is still able to maintain a higher demand for channel capacity. Moreover, from Figure 17 we can know that when the distance between the S U 2 and boundary is greater than 20 m, the probability of the secondary base station through the cooperative spectrum sharing algorithm is about 80%. Compared to the case I, the probability of the case II probability of the situation has declined, but the cost of the secondary base station is able to save 60%, as shown in Figure 19.

5.2.2. The Fairness of the Cooperative Spectrum Sharing Scheme Based on NBS

Assuming two secondary user’s spectrum needs are equal, both are 2.5 Mb/s, the distance of S U 1 and the secondary base station is 100 m, and the distance of S U 2 and the secondary base station is between 110 m and 200 m. Under the same constraint ((1) to (4) in Equation (25)), the cooperative spectrum sharing scheme is compared with the spectrum allocation scheme based on the maximum global rate [26] and the spectrum allocation scheme [27] based on the maximum degree of flatness. The objective function of the two kinds of spectrum sharing schemes are:
M a x   r a t e : max i = 1 N r i
M a x   f a i r n e s s : max min r i , i = 1 , 2 , L , N
where r i = j S C i w log 2 ( 1 + p i j | h i j | 2 η ) .
For two cases I and II (that is, a secondary base station based on the maximum coverage of the network, or based on the distance between the most remote users and the base station, to calculate the channel gain to determine the secondary network spectrum requirements), for these three spectrum allocation schemes, the secondary user S U 1 , S U 2 channel capacity can be obtained as shown in Figure 20 and Figure 21.
The corresponding total throughput is compared with Figure 22 and Figure 23. Defining the fair coefficient is the ratio of the secondary user channel capacity, that is r1/r2, so the fairness of the three kinds of spectrum allocation scheme is obtained as shown in Figure 24 and Figure 25.
In case I and case II, for the program based on the maximum global rate, the spectrum will allocated as much as possible to the secondary base station that is close to S U 1 while ensuring S U 2 just satisfy the constraints, that is, the secondary users whose channel gain is larger will obtain the maximum possible secondary network total throughput; the aim of the maximum fair spectrum allocation scheme is to reduce the total throughput of the secondary network, using the maximum fairness to ensure that the channel capacity obtained by S U 1 and S U 2 is the least. Relatively speaking, the NBS spectrum sharing scheme is able to compromise between the fair and spectrum efficiency, it can not only ensure the fair allocation of spectrum resources, but also enhance the spectrum utilization rate, finally obtaining a larger total network throughput.

6. Conclusions

With the popularity of the Internet of Things technology [28,29], the improvement of the communication efficiency and spectrum utilization of CRSNs has become a hot research topic, and dynamic spectrum sharing is the main countermeasure to improve spectrum utilization and alleviate the shortage of spectrum resources. However, due to the complexity of the application and the spectrum environment, most of current research on spectrum sharing is based on a large number of assumptions or lacks consideration of actual application scenarios. This paper presents a spectrum pricing and allocation model based on the Bertrand game theory. Spectrum pricing, subcarrier allocation, power control, and allocation issues are studied by synthesizing practical scenarios such as the frequency, power and time dimensions. It provides a practical and effective solution for spectrum sharing, and theory and experiments prove that the scheme can reflect the spectrum requirements of the secondary base stations and the benefit of the primary base station, and realize efficient spectrum sharing. It provides a better foundation and practical basis for the practical application of spectrum sharing, and provides theoretical support for the further development of CRSNs.
The simulation results also show that the model can reflect the demand of the spectrum of the secondary network. Primary base station spectrum pricing through a dynamic game of setting specific parameters, eventually converges to a Nash equilibrium; the adjusted spectrum requirements of secondary base station obtain the spectrum rent amount under market equilibrium, just to meet the needs of the network channel capacity, while in the secondary network, the secondary base stations are based on a cooperative spectrum sharing scheme, which can allocate spectrum resources fairly and efficiently.

Acknowledgments

This work is supported by the National Natural Science Foundation of China under Grant No. 71272144 and Grant No. 61503143.

Author Contributions

Biqing Zeng designed the first stage of the model, completed the optimal spectrum pricing and subcarrier allocation of the primary network and carried out relevant experiments. Chi Zhang designed the second stage of the model, completed the fair and efficient allocation scheme of subcarrier and power based on Nash bargaining scheme and carried out relevant experiments. Pianpian Hu wrote the paper. Shengyu Wang reviewed and verified the paper. All authors read and approved the final manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Estrin, D.; Govindan, R.; Heidemann, J.S.; Kumar, S. Next Century Challenges: Scalable Coordination in Sensor Networks. In Proceedings of the 5th ACM/IEEE International Conference on Mobile Computing and Networking, Seattle, WA, USA, 15–19 August 1999; pp. 263–270.
  2. Bonnet, P.; Gehrke, J.; Seshadri, P. Querying the Physical World. IEEE Pers. Commun. 2007, 7, 10–15. [Google Scholar] [CrossRef]
  3. Callaway, E.J. Wirelsess Sensor NetWorks: Architechures and Protocols; CRS Press LLC: Boca Raton, FL, USA, 2003; pp. 1–17. [Google Scholar]
  4. Dong, M.; Ota, K.; Liu, A.; Guo, M. Joint Optimization of Lifetime and Transport Delay under Reliability Constraint Wireless Sensor Networks. IEEE Trans. Parallel Distrib. Syst. 2016, 27, 225–236. [Google Scholar] [CrossRef]
  5. Liu, A.; Liu, X.; Li, H.; Long, J. MDMA: A multi-data and multi-ACK verified Selective Forwarding Attack Detection Scheme in WSNs. IEICE Trans. Inf. Syst. 2016, E99-D, 2010–2018. [Google Scholar] [CrossRef]
  6. Liu, A.; Liu, X.; Long, J. A trust-based Adaptive Probability Marking and Storage Traceback Scheme for WSNs. Sensors 2016, 16, 451. [Google Scholar] [CrossRef] [PubMed]
  7. Mitola, J.; Maguire, G.Q. Cognitive radio: Making software radios more personal. IEEE Pers. Commun. 1999, 6, 13–18. [Google Scholar] [CrossRef]
  8. Mitola, J. Cognitive Radio: An Integrated Agent Archi- Tecture for Software Defined Radio; KTH Royal Institute of Technology: Stockholm, Sweden, 2000. [Google Scholar]
  9. Akan, O.B.; Karli, O.B.; Ergul, O. Cognitive radio sensor networks. IEEE Netw. 2009, 23, 34–40. [Google Scholar] [CrossRef]
  10. Yau, K.L.A.; Komisarczuk, P.; Teal, P.D. Cognitive radio-based wireless sensor networks: Conceptual design and open issues. In Proceedings of the IEEE 34th Conference on Local Computer Networks (LCN 2009), Zurich, Switzerland, 20–23 October 2009; pp. 955–962.
  11. Huang, J.; Berry, R.A.; Honig, M.L. Spectrum sharing with distributed interference compensation. In Proceedings of the 2005 First IEEE International Symposium on New Frontiers in Dynamic Spectrum Access Networks, DySPAN 2005, Baltimore, MD, USA, 8–11 November 2005; pp. 88–93.
  12. Zheng, H.; Cao, L. Device-centric spectrum management. In Proceedings of the 2005 First IEEE International Symposium on New Frontiers in Dynamic Spectrum Access Networks, DySPAN 2005, Baltimore, MD, USA, 8–11 November 2005; pp. 56–65.
  13. Zhao, J.; Zheng, H.; Yang, G.H. Distributed coordination in dynamic spectrum allocation networks. In Proceedings of the 2005 First IEEE International Symposium on New Frontiers in Dynamic Spectrum Access Networks, DySPAN 2005, Baltimore, MD, USA, 8–11 November 2005; pp. 259–268.
  14. Haykin, S. Cognitive radio: Brain-empowered wireless communications. IEEE J. Sel. Areas Commun. 2005, 23, 201–220. [Google Scholar] [CrossRef]
  15. Yu, H.; Gao, L.; Li, Z.; Wang, X.; Hossain, E. Pricing for uplink power control in cognitive radio networks. IEEE Trans. Veh. Technol. 2010, 59, 1769–1778. [Google Scholar] [CrossRef]
  16. Wang, Z.; Jiang, L.; He, C. A Novel Price-Based Power Control Algorithm in Cognitive Radio Networks. IEEE Commun. Lett. 2013, 17, 43–46. [Google Scholar] [CrossRef]
  17. Niyato, D.; Hossain, E. Competitive pricing for spectrum sharing in cognitive radio networks: Dynamic game, inefficiency of nash equilibrium, and collusion. IEEE J. Sel. Areas Commun. 2008, 26, 192–202. [Google Scholar] [CrossRef]
  18. Niyato, D.; Hossain, E. Competitive spectrum sharing in cognitive radio networks: A dynamic game approach. IEEE Trans. Wirel. Commun. 2008, 7, 2651–2660. [Google Scholar] [CrossRef]
  19. Wang, W.; Kang, G.S.; Wang, W. Joint spectrum allocation and power control for multihop cognitive radio networks. IEEE Trans. Mob. Comput. 2011, 10, 1042–1055. [Google Scholar] [CrossRef]
  20. Mwangoka, J.W.; Letaief, K.B.; Cao, Z. Joint power control and spectrum allocation for cognitive radio networks via pricing. Phys. Commun. 2009, 2, 103–115. [Google Scholar] [CrossRef]
  21. Tran, N.H.; Hong, C.S.; Lee, S.; Han, Z. Optimal pricing effect on equilibrium behaviors of delay-sensitive users in cognitive radio networks. IEEE J. Sel. Areas Commun. 2013, 31, 2566–2579. [Google Scholar] [CrossRef]
  22. Lee, K.D.; Leung, V.C.M. Fair allocation of subcarrier and power in an OFDMA wireless mesh network. IEEE J. Sel. Areas Commun. 2006, 24, 2051–2060. [Google Scholar] [CrossRef]
  23. Zhao, Z.; Peng, Z.; Zhao, Z.; Zheng, S. Joint power control and spectrum allocation for cognitive radio with QoS constraint. Commun. Netw. 2010, 2, 38–43. [Google Scholar] [CrossRef]
  24. Ni, Q.; Zarakovitis, C.C. Nash bargaining game theoretic scheduling for joint channel and power allocation in cognitive radio systems. IEEE J. Sel. Areas Commun. 2012, 30, 70–81. [Google Scholar] [CrossRef]
  25. Osborne, M.J.; Rubinstein, A. A Course in Game Theory; MIT Press: Cambridge, MA, USA, 1994. [Google Scholar]
  26. Kim, K.; Kim, H.; Han, Y. Subcarrier and power allocation in OFDMA systems. In Proceedings of the 2004 IEEE 60th Vehicular Technology Conference, Los Angeles, CA, USA, 26–29 September 2004; Volume 2, pp. 1058–1062.
  27. Tassiulas, L.; Sarkar, S. Maxmin fair scheduling in wireless networks. In Proceedings of the Twenty-First Annual Joint Conference of the IEEE Computer and Communications Societies, New York, NY, USA, 23–27 June 2002; Volume 2, pp. 763–772.
  28. Liu, Y.X.; Dong, M.X.; Ota, K.; Liu, A.F. ActiveTrust: Secure and Trustable Routing in Wireless Sensor Networks. IEEE Trans. Inf. Forensics Secur. 2016, 11, 2013–2027. [Google Scholar] [CrossRef]
  29. Liu, A.; Dong, M.; Ota, K.; Long, J. PHACK: An Efficient Scheme for Selective Forwarding Attack Detecting in WSNs. Sensors 2015, 15, 30942–30963. [Google Scholar] [CrossRef] [PubMed]
Figure 1. The model of multi-primary networks and a secondary network.
Figure 1. The model of multi-primary networks and a secondary network.
Sensors 17 00101 g001
Figure 2. The supply and demand curves.
Figure 2. The supply and demand curves.
Sensors 17 00101 g002
Figure 3. The relationship between spectrum demand and optimal rent number.
Figure 3. The relationship between spectrum demand and optimal rent number.
Sensors 17 00101 g003
Figure 4. Spectrum pricing and allocation scheduling.
Figure 4. Spectrum pricing and allocation scheduling.
Sensors 17 00101 g004
Figure 5. Spectrum pricing and allocation scheduling.
Figure 5. Spectrum pricing and allocation scheduling.
Sensors 17 00101 g005
Figure 6. Influence of preference coefficient on spectrum demand.
Figure 6. Influence of preference coefficient on spectrum demand.
Sensors 17 00101 g006
Figure 7. Utility function of a primary base station.
Figure 7. Utility function of a primary base station.
Sensors 17 00101 g007
Figure 8. Optimal Response Function and Nash Equilibrium.
Figure 8. Optimal Response Function and Nash Equilibrium.
Sensors 17 00101 g008
Figure 9. Dynamic game and Nash Equilibrium.
Figure 9. Dynamic game and Nash Equilibrium.
Sensors 17 00101 g009
Figure 10. The relationship between the update step size and the number of iterations.
Figure 10. The relationship between the update step size and the number of iterations.
Sensors 17 00101 g010
Figure 11. Maximum revenue of the primary base station.
Figure 11. Maximum revenue of the primary base station.
Sensors 17 00101 g011
Figure 12. Secondary base station spectrum optimal rent number.
Figure 12. Secondary base station spectrum optimal rent number.
Sensors 17 00101 g012
Figure 13. Spectrum demand and spectrum rent.
Figure 13. Spectrum demand and spectrum rent.
Sensors 17 00101 g013
Figure 14. Each secondary user channel capacity.
Figure 14. Each secondary user channel capacity.
Sensors 17 00101 g014
Figure 15. The optimal time assign of secondary users.
Figure 15. The optimal time assign of secondary users.
Sensors 17 00101 g015
Figure 16. Spectrum requirements for secondary network of two cases.
Figure 16. Spectrum requirements for secondary network of two cases.
Sensors 17 00101 g016
Figure 17. Each secondary user’s channel capacity.
Figure 17. Each secondary user’s channel capacity.
Sensors 17 00101 g017
Figure 18. The optimal time assignments of secondary users.
Figure 18. The optimal time assignments of secondary users.
Sensors 17 00101 g018
Figure 19. The cost of two secondary network leased spectrum cases.
Figure 19. The cost of two secondary network leased spectrum cases.
Sensors 17 00101 g019
Figure 20. Secondary user channel capacity comparison I.
Figure 20. Secondary user channel capacity comparison I.
Sensors 17 00101 g020
Figure 21. Secondary user channel capacity comparison II.
Figure 21. Secondary user channel capacity comparison II.
Sensors 17 00101 g021
Figure 22. The comparison of total throughput for the secondary network I.
Figure 22. The comparison of total throughput for the secondary network I.
Sensors 17 00101 g022
Figure 23. The comparison of total throughput for the secondary network II.
Figure 23. The comparison of total throughput for the secondary network II.
Sensors 17 00101 g023
Figure 24. The comparison of fairness I.
Figure 24. The comparison of fairness I.
Sensors 17 00101 g024
Figure 25. The comparison of fairness II.
Figure 25. The comparison of fairness II.
Sensors 17 00101 g025

Share and Cite

MDPI and ACS Style

Zeng, B.; Zhang, C.; Hu, P.; Wang, S. Spectrum Sharing Based on a Bertrand Game in Cognitive Radio Sensor Networks. Sensors 2017, 17, 101. https://doi.org/10.3390/s17010101

AMA Style

Zeng B, Zhang C, Hu P, Wang S. Spectrum Sharing Based on a Bertrand Game in Cognitive Radio Sensor Networks. Sensors. 2017; 17(1):101. https://doi.org/10.3390/s17010101

Chicago/Turabian Style

Zeng, Biqing, Chi Zhang, Pianpian Hu, and Shengyu Wang. 2017. "Spectrum Sharing Based on a Bertrand Game in Cognitive Radio Sensor Networks" Sensors 17, no. 1: 101. https://doi.org/10.3390/s17010101

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop