The invention discloses a DF protocol based
resource allocation method for a two-way
relay cognitive radio system. The method comprises the following steps: utilizing the characteristic of volume maximization of the DF protocol to obtain a
power relationship among a cognitive mobile user, a
base station and various relays; utilizing the relationship, power limitation conditions of the
cognitive user for
signal transmission to the relays, and power limitation conditions of the
base station for
signal transmission to the relays, so as to obtain a
signal-to-
noise ratio of the two-way
relay cognitive radio system during signal transmission through each
relay; carrying out permutation and combination of all the signal-to-
noise ratios, so as to obtain a signal-to-
noise ratio combination, in which the sum of all the signal-to-noise ratios reaches the maximum value while satisfying interference limitation conditions; and obtaining the maximum
system capacity, the corresponding relay, and the power of the relay for signal
broadcasting according to the sum of all the signal-to-noise ratios in the obtained signal-to-noise ratio combination. The method provided by the invention has the advantages that the
system capacity is enlarged; only the power of each relay for signal
broadcasting needs to be obtained, so that the power obtaining process is simplified, and the complicity is reduced.