| In recent years,the increasing car ownership has caused a series of traffic problems,including road safety,traffic congestion,and environmental pollution,which are forcing people to change traditional transportation technologies and methods.High-reliability and low-latency communications technology in Internet of vehicles is an effective way to address these issues,and thus has been become a hot topic for experts and scholars at home and abroad.In the face of increasingly scarce communication resource,relevant scholars have proposed the resource allocation algorithms that meets the requirements of high reliability and low latency in Internet of vehicles,which started from the point of meeting the requirements of low latency for vehicle-to-vehicle(V2V)links and high ergodic capacity for vehicle-to-network(V2N)links.However,existing research has not paid attention to the differentiated latency requirements of different types of services from the perspective of queuing latency.Besides,the queuing latency is the main component of the total communication latency.Therefore,this article mainly pays attention to the communication resource allocation to meet high reliability and low latency requirements in Internet of vehicles,while ensuring that the packets in the V2 V link satisfy different latency constraints.In the paper,we first model the communication scenario in Internet of vehicles,then prioritize the packets in the V2 V link,derive the expressions of average queuing latency for different priorities,and finally allocate communication resources while satisfying the latency constraints of different priorities.The specific research content includes:(1)When the V2 V link adopts the preemptive queuing mode and the non-preemptive queuing mode,we analyze the latency of the queuing system and look for the conditions that meet the different latency requirements of packets with different priorities.The V2 V link is modeled as an M/G/1 queuing system with priority classification.The queuing system with multiple priorities is analyzed and the average queuing latency expression is derived.Then,the average queuing latency expression is analyzed.Because the average queuing latency expression has only one variable of retransmission probability,the value range of the retransmission probability that meets the delay requirements of different priorities can be searched by the binary search method.Finally,the simulation results show the correctness of the average latency analysis results.(2)While satisfying the latency constraints of different priorities in the V2 V link,we allocate the communication resources.According to different optimization goals,we propose the resource allocation problems that minimizes the total power consumption,maximizes the total ergodic capacity of V2 N users,and maximizes the ergodic capacity of V2 N users for the Internet of vehicle communication model.Since interference only exists between the V2 N user and the V2 V user sharing the same band,power allocation and spectrum allocation can be performed to solve the proposed resource allocation problem.Under the premise of satisfying the latency constraints of different priorities,the optimal power allocation of all possible reusing pairs is obtained and the best spectrum allocation pattern is found in polynomial time using the Hungarian method.Finally,the three resource allocation algorithms are compared and analyzed through simulation to verify the advantages of the proposed algorithms. |