Disclosure of Invention
The purpose of the invention is as follows: aiming at the problems in the prior art, the invention provides a channel allocation method for sharing a frequency spectrum between a D2D user and a cellular user, and the method is lower in complexity and higher.
The technical scheme is as follows: the power allocation method for sharing the frequency spectrum between the D2D user and the cellular user comprises the following steps:
s1, initializing channel resource pool
D2D user resource pool
Wherein, N is the number of cell channels, and K is the number of D2D users;
s2, for D2D user
To allocate energy to it
Maximum channel
Indicating variable of
channelSetting 1, and distributing channel n and D2D user k from resource pool
And
deleting; wherein, Δ R
k,nAnd Δ I
k,nThe increased system capacity and introduced system interference for the multiplexed channel n of D2D user k respectively,
a value of 1 indicates that channel n is assigned to D2D user k;
s3, return to S2 and go back to
S4, judging whether the current distribution scheme meets the preset constraint condition C1, if so, directly outputting the current channel distribution scheme, otherwise, executing S5; wherein the preset constraint condition C1 is: r
n≥R
min,
R
nReachable data rate, R, for cellular user n
minA minimum transmission rate requirement for cellular users;
s5, initializing channel resource pool
For initialising D2DHousehold resource pool
S6, resource pool for D2D users
If present, each of D2D users k
So that the constraint C1 is satisfied and the system performance Δ I
k′,n-ΔI
k′,n′If the value is larger than zero and reaches the maximum, releasing the originally distributed channel n to the resource pool
Allocates a new channel n 'to it and removes D2D user k' from the resource pool
Deleting;
s7, if the redistribution is finished
The current channel allocation scheme is output, otherwise, the no channel allocation scheme is output.
Wherein the selection rule in step S2 is that
The largest channel n is allocated to user k.
Has the advantages that: compared with the prior art, the invention has the following remarkable advantages: while targeting maximum system capacity and minimum interference and taking into account the rate constraints of the cellular users. The channel allocation scheme is simple and also in implementation.
Detailed Description
The network diagram of the present embodiment is shown in fig. 1, considering N cellular users and K cellular usersThe D2D user pair multiplexes uplink cell channel resources. By using
Represents a set of cell channel resources and also represents a set of cellular users, and the set of all D2D user numbers is
Let the transmission power of channel multiplexing between user k and cellular user n be
At this time, the SINR obtained by the D2D user on the channel n is
Wherein h is
k,nIs the channel response of the D2D user on channel n,
is cellular user interference from a base station (where
Is the interference channel, p, between the base station and D2D user k
nIs the transmit power of cellular user n),
is the variance of Gaussian white noise, thereby obtaining the achievable data rate of user k
Similarly, the SINR of cellular user n is
For interference on channel n from D2D user k,
is the variance of Gaussian white noise, h
nFor the base station to the channel response of the cellular user n on the channel n, and thereby obtain the achievable data rate of the cellular user n as
When there are no D2D users, the achievable rate for cellular users on channel n is
The transmission rate of the system from the D2D user k multiplexed channel n is thus increased by an amount of
However, when D2D multiplexing is introduced, the amount of interference in the system is increased by
The channel allocation problem can therefore be viewed as a multi-objective function as follows
It can be seen that the channel allocation scheme can be variably indicated
It is indicated that when a subchannel n is assigned to user k, its value is 1; otherwise the value is 0. Wherein R is
minReferring to the minimum transmission rate requirement of cellular users, it is clear that the maximization problem is a non-convex combinatorial optimization problem.
Therefore, in order to solve this problem, the channel allocation method of this embodiment is used for allocation, and specifically includes the following steps:
s1, initializing channel resource pool
D2D user resource pool
Wherein, N is the number of cell channels, and K is the number of D2D users;
s2, for D2D user
To allocate energy to it
Maximum channel
Indicating variable of
channelSetting 1, and distributing channel n and D2D user k from resource pool
And
deleting; wherein, Δ R
k,nAnd Δ I
k,nThe increased system capacity and introduced system interference for the multiplexed channel n of D2D user k respectively,
a value of 1 indicates that channel n is assigned to D2D user k;
s3, return to S2 and go back to
S4, judging whether the current distribution scheme meets the preset constraint condition C1, if so, directly outputting the current channel distribution scheme, otherwise, executing S5; wherein the preset constraint condition C1 is: r
n≥R
min,
R
nReachable data rate, R, for cellular user n
minA minimum transmission rate requirement for cellular users;
s5, initializing channel resource pool
Initializing D2D user resource pools
S6, resource pool for D2D users
If present, each of D2D users k
So that the constraint C1 is satisfied and the system performance Δ I
k′,n-ΔI
k′,n′If the value is larger than zero and reaches the maximum, releasing the originally distributed channel n to the resource pool
Allocates a new channel n 'to it and removes D2D user k' from the resource pool
Deleting;
s7, if the redistribution is finished
The current channel allocation scheme is output, otherwise, the no channel allocation scheme is output.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.