| The current spectrum allocation is basically an authorized fixed allocation model.With the needs of applications such as smart traffic and road safety announcements,the existing fixed spectrum allocation methods can no longer meet the user’s frequency demand,nor can they make use of spectrum resources.The rate has improved.This article studies the spectrum allocation problem in the context of connected vehicles.For the "one-to-many mode" in the Internet of Vehicles,it is a network mode with one spectrum authorized user and multiple cognitive vehicle users,the article introduces the supply and demand market model in economics to study the spectrum allocation in the Internet of Vehicles,and proposes a cognitive spectrum allocation algorithm for the Internet of Vehicles based on supply and demand balance.The social relationship between the user and the cognitive vehicle user,and the QoS priority between the cognitive vehicle user are two factors to determine the number of spectrums obtained by the cognitive vehicle user,and then the spectrum price is determined according to the supply-demand balance relationship.Simulation using MATLAB shows that compared with the scheme that does not introduce social relationships,this scheme increases the number of times that cognitive vehicle users successfully use the spectrum;compared with the non-priority allocation scheme,this scheme can better meet the actual needs of cognitive users,and This guarantees that cognitive vehicle users with high QoS requirements are given priority to obtain spectrum use rights,which improves spectrum utilization.For the "many-to-many mode" in the Internet of Vehicles,it is a network mode with multiple spectrum authorized users and multiple cognitive vehicle users,the article introduces the Bertrand game model in game theory to study the spectrum allocation problem in the Internet of Vehicles,and proposes a cognitive network allocation algorithm based on the game theory.From the perspective of spectrum authorized users,the Bertrand game is used to perform a two-stage game.The first phase determines the spectrum quality of the spectrum authorized users,the second phase determines the spectrum price,and finally the algorithm is verified for stability.Simulation using MATLAB shows that the price of spectrum authorized users to sell spectrum is affected by the quality of the spectrum.The higher the quality,the higher the price.When there are multiple spectrum authorized users in the network,selecting the spectrum with a large difference in spectrum quality to sell can maximize its benefits.And differential pricing based on spectrum quality is more fair than the traditional single pricing strategy,which better meets the demand of different cognitive vehicle users for spectrum purchase and improves the utilization rate of spectrum;at the same time,the time for the game system to reach the Nash equilibrium stable state,depending on the rate adjustment factor,selecting the appropriate rate adjustment factor can make the game system quickly reach a stable state. |