The invention discloses a spectrum
resource allocation method based on auction. The spectrum
resource allocation method based on the auction uses two
layers of auction models, wherein the first layer auction is based on a main user and a
relay node, and the second layer is between the
relay node and a secondary user. The spectrum
resource allocation method based on the auction comprises the following steps: the second layer auction is performed virtually; the
relay node collects the budget, the quotation, and the demand for resources of the secondary user; the amount of collected money is calculated; the secondary users are randomly divided into two sets, and the victorious secondary user set is confirmed firstly; the relay node competes for the main user spectrum resource after collecting the amount of the secondary user; the main user submits the price of the spectrum resource, and the relay node submits the budget for the resource, so that a two division graph is set up, and the difference of the price and the budget is used as the weight of the two division graph; the maximum weighted matching
algorithm is used for the two division graph, and the VCG auction
algorithm is used to calculate the final
payment amount of the relay node; and after the relay node competes for the main user successfully, the second layer auction is carried out again to assign the competitive spectrum resources to the final victorious secondary user.