Abstract

This paper investigates resource allocation of latency constrained vehicle-to-vehicle (V2V) communication. When a subchannel of a vehicle-to-infrastructure (V2I) link can be reused by multiple V2V links, a nonlinear mixed integer optimization problem with the goal of maximizing the spectral efficiency of the system is derived under the constraints of minimum transmission rate of V2I links and transmission latency of V2V links. The subchannel allocation problem is solved by means of two-sided exchange matching theory, optimal transmission power of V2I and V2V links is solved based on the poly-block approximation (PBA) algorithm, and the system spectrum efficiency is maximized through loop iteration. In order to reduce the computational complexity of power allocation problem, a power allocation algorithm based on iterative convex optimization (ICO) is proposed. The convergence of the resource allocation algorithm is also proved. The simulation results show that the proposed algorithms can guarantee transmission latency requirements of V2V links and improve the system sum rate and access ratio of V2V links. Compared with two traditional algorithms, latency of poly-block approximation combined with many to one matching (PBAMTO) is reduced by 30.41% and 20.43%, respectively.

1. Introduction

Vehicle-to-vehicle (V2V) communication has potential to improve traffic safety, reduce energy consumption, and realize new services related to intelligent transportation systems [1]. In the 5G new radio vehicle-to-everything (NR-V2X) standard, the available resources [2] for direct communication between vehicles can be either dedicated or shared by vehicle-to-infrastructure (V2I) communication. V2V communication can be performed by the NR sidelink [3]. Document [4] points out that NR-V2X may be deployed in a carrier dedicated to intelligent transport systems services or a carrier shared with cellular services. It is claimed in [5] that the underlay sidelink communication has higher priority than the dedicated model to achieve higher spectrum utilization efficiency by reusing the spectrum resources of V2I communication. However, it also brings interference problems to the resource allocation of V2X network.

The resource allocation of V2X network is the subject of many research works in recent years. The resource allocation schemes of dedicated short range communications and cellular vehicular network were summarized by Noor-A-Rahim [6]. Bazzi et al. focused on a highway scenario and identified two algorithms to be used as a minimum and maximum reference in terms of the packet reception probability [7]. With the goal of maximizing the system sum rate and maximizing the minimum achievable rate, Ren et al. proposed a V2V grouping, channel selection, and power control strategy based on the geographic characteristics of V2V system [8]. Sun et al. [9, 10] took outage probability as a constraint condition and proposed a heuristic resource allocation algorithm for V2V communication, but they did not consider the number of accessed V2V links. Under the premise of ensuring that V2V met the communication outage probability constraint, Liang et al. proposed a resource allocation scheme based on slowly changing large-scale fading information of the channel [11], which optimized the system sum rate when V2I communication occurred. In the case that each V2I link and each V2V link could only share one resource block, Liang et al. also proposed a graph-based resource allocation algorithm [12], which optimized the sum rate of V2I links, but did not consider the transmission latency and the number of accessed V2V links. Mei et al. proposed a convex optimization-based resource block reuse and V2V link power allocation algorithm [13]. This algorithm assumed that each cellular user occupied a preallocated resource block, and each resource block was reused by at most one V2V link. Moreover, the transmitting power of the cellular user was not optimized. Under the energy harvesting constraints of V2V links, Xiao et al. described resource allocation as an optimization problem of energy efficiency through joint optimization of channel reuse and power allocation of V2V links [14]. Gao et al. studied access control and resource allocation in cellular V2V networks [15], and the optimization goal was to maximize the number of accessed V2V links. Firstly, the interference graph was constructed based on the interference between vehicles, and then, the original problem was modeled as the graph coloring problem. Finally, a resource sharing and access control algorithm was proposed. However, this algorithm is only aimed at maximizing the number of accessed V2V links and did not consider the transmission rate constraints of V2V users. A joint optimization problem of transmission mode selection and resource allocation for cellular V2X communication was investigated by Zhang et al. [16]. In order to exploit the spectral efficiency of full-duplex communication to fulfill the reliability constraints of V2V links, Siddig et al. [17] proposed a resource allocation scheme for vehicular communication networks. In order to optimize resource utilization efficiency, Yang et al. [18] investigated the resource allocation and interference management based on clustering mechanism in D2D communication.

Most studies directly explain the quality of service requirements from the point of view of signal to interference plus noise ratio (SINR) [1923], that is, the obtained SINR should be higher than a certain target value. How to obtain this target value from the original requirements of V2V communication is not intuitive and clear and usually involves reliable transmission of a certain amount of data within a certain frequency band and time period. Most papers assume that each subchannel can only be reused by one V2V link. In this paper, we take transmission latency of V2V links as constraint condition instead of SINR. In addition, we assume that each subchannel can be reused by multiple V2V links. We jointly optimize subchannel and power allocation of V2V communication, in order to guarantee the minimum transmission rate requirements of V2I links and transmission latency are requirements of V2V links while maximizing the system sum rate. Specifically, the main contributions of this paper are listed as follows. (1)A nonlinear mixed integer programming problem aiming at maximizing system sum rate is constructed under the constraints of minimum transmission rate of V2I links, latency of V2V links, and maximum transmitting power of V2I and V2V links(2)Firstly, two-sided exchange matching theory is used to solve the problem of subchannel allocation. Then, based on the monotonicity of the constraint conditions and the objective function, the poly-block approximation (PBA) algorithm is used to solve the power allocation problem. In order to reduce the computational complexity of power allocation problem, a power allocation algorithm based on iterative convex optimization (ICO) is proposed. The convergence of the resource allocation algorithm is also proved(3)Finally, simulation results show the effectiveness of proposed algorithms. The proposed algorithms can guarantee transmission latency requirements of V2V links and improve the access ratio of V2V links and the system sum rate

2. V2V Communication Model

The system model is shown in Figure 1. There are vehicles communicating with eNodeB (eNB) through V2I links. V2I links transmit data through the Uu Interface of NR. In order to simplify the analysis, each V2I link occupies a single resource block (RB) [5, 12, 13]. RB is allocated orthogonally to reduce the interference among adjacent V2I links. Due to the fact that the uplink resources of V2I links are not used intensively by vehicles and V2V links usually cause small interference to eNB, the uplink resources of V2I links are reused by V2V links [5, 12, 13]. represents a set of subchannels; represents a set of V2I links. V2I link occupies subchannel (). represents the V2V link set, the set of all links is , and there are links. In order to improve spectrum utilization efficiency, each subchannel assigned to one V2I link can be multiplexed by multiple V2V links simultaneously. Therefore, cochannel interference occurs not only between V2V links and V2I links but also between V2V links that share the same subchannel [5, 12, 13]. In order to make more V2V links access the network, spectrum reuse between V2V links is necessary when the number of V2V links is greater than the number of V2I links in a fully loaded network [12]. Each vehicle must send local channel status and interference information to eNB.

We define a binary variable , (, ), represents subchannel is assigned to V2V link ; otherwise, . Let represents the transmission power of V2V link on subchannel and represents transmission power of the V2I link . The SINR of V2V link on the subchannel is

represents the channel gain between the transmitting vehicle and the receiving vehicle of V2V link on subchannel , and represents the noise power of V2V link on subchannel . represents the channel gain between V2I link and V2V link on subchannel . represents the interference from V2I link, which shares the same subchannel with V2V link . represents interference from other V2V links.

The data transmission rate of V2V link on the subchannel is

The data transmission rate of V2V link over all subchannels is

The SINR of V2I link on subchannel is

represents the channel gain between V2I link and eNB on subchannel , and represents the noise power of V2I link on subchannel ; represents the channel gain between V2V link and V2I link on subchannel ; represents interference from the V2V link set that each V2V link shares the same subchannel with the V2I link. Thus, the data transmission rate of V2I link is

The sum rate of all V2I links and V2V links is

In order to guarantee the transmission latency requirement of V2V links, its minimum data transmission rate is the same as that in reference [13] and the proof is described in the appendix. where represents the mean size of the data packet, represents the maximum tolerable transmission latency in one time slot of 1 ms, represents the outage probability caused by the packet latency exceeding the maximum latency, and represents the packet arrival rate subject to Poisson distribution, . Our objective is to maximize the system sum rate with constraints for both V2V and V2I links. The resource allocation problem can be formulated as :

Constraint condition (9) means that the transmission rate of each V2V link should not be lower than the minimum transmission rate, and (10) means that the transmission rate of each V2I link should not be lower than the minimum transmission rate. The constraint conditions (11) and (12), respectively, mean that the transmitting power of each V2V link and V2I link cannot be higher than the maximum transmitting power. The constraint conditions (13) and (14) mean that each V2V link can only occupy one subchannel. is a positive integer, and the constraint (15) means that each subchannel is multiplexed by V2V links at most.

3. Problem Transformation

The above problem belongs to nonlinear mixed integer programming, and it is difficult to find the optimal solution in polynomial time. In order to find the suboptimal solution of this problem, we decompose it into two subproblems. Firstly, the subchannel allocation under given power allocation is solved by two sided exchange matching. Then, the power allocation problem is solved by PBA algorithm according to the obtained subchannel matching. The problem is solved iteratively until it converges. In order to reduce the computational complexity of power allocation problem, a power allocation algorithm based on ICO is proposed.

3.1. Subchannel Allocation

Assume that transmitting power of V2I links and V2V links is fixed. Then, the subchannel allocation problem is formulated as SP1:

Because there are interference terms in the objective function, the problem is nonconvex optimization. The computational complexity of the exhaustive method increases exponentially with the number of V2V links and subchannels. In order to deal with the matching problem between V2V link set and subchannels, this section utilizes the many-to-one matching algorithm [24], and the relevant mathematical symbols and basic definitions are as follows.

Definition 1. In a many-to-one matching model, a match is a mapping from the set to all subsets of the set , and the following conditions are met: (1), , and if is not matched to any subchannel(2), , and if the subchannel is not matched to any V2V link(3) if and only if

Positive integer represents the maximum number of V2V links that can be matched with each subchannel. All V2V links and subchannels represent two sets of agents. The set of preference sequence of all V2V links and subchannels is defined as

() represents the preference sequence of the V2V link on all the subchannels, and () represents the preference sequence of the subchannel on all the V2V links. The preference sequence can be arranged in descending order of utilities of both sides of agents. The utility functions of V2V links and subchannels are defined as follows. The utility function of V2V link on the subchannel is defined as

Due to cochannel interference, the utility of a V2V link depends not only on the channel it matches but also on the set of V2V links occupying the same subchannel. According to the utility function of V2V link, the preference relation of V2V link on the subchannel can be obtained.

represents the utility function under the matching state when the V2V link occupies the subchannel . The utility function of subchannel on V2V link is the sum rate of V2I links and V2V links occupying the same subchannel.

represents the set of V2V links occupying the same subchannel. According to the utility function of the subchannel , the preference relation of the subchannel on the V2V link set and can be obtained.

represents the utility function of the subchannel on the V2V link set under the matching state . Once the V2V link matches with the subchannel, the preference sequence of the other agents may change because the utility function varies with the interference. In order to solve the above matching problem, this section adopts exchange matching algorithm.

For a given matching , , and , an exchange matching is defined as

V2V link and exchange positions, while the matching of other V2V links and subchannels remains unchanged. It should be noted that one of the V2V links involved in the switching can be a vacancy, thus allowing a single V2V link to move to the available vacancies of the subchannels. When , one of the subchannels participating in the switching may be a vacancy.

Definition 2. is called a swap blocking pair if and only if the following conditions are met: (1), (2) such that

Subchannel allocation based on matching theory is shown in Algorithm 1.

Proposition 3. The final matching is two-sided exchange stable matching.

Proof. Suppose that in the final matching , there is a swap blocking pair which satisfies , , and , such that . The subchannel algorithm does not stop until all swap blocking pairs are deleted. This contradicts with the fact that is the final matching. Therefore, there is not a swap blocking pair in the final matching, and it can be concluded that the algorithm finally reaches two-sided exchange stable matching.

Input: , Output: ,
Initialization:
While
  V2V link () constructs the preference sequence.
  Repeat
   V2V link selects the most preferred channel. The number of V2V links matching with this preferred channel is less than or equal to .
  Until V2V link matches with one subchannel or refused by all subchannels.
  Remove from
End while
  After initialization, the sequence corresponding to the number of V2V link matching with each subchannel , , and (), the initialized subchannel reusing matrix are obtained.
Swap operation:
  Repeat.
  , , and are available vacancies, IF is a swap blocking pair, then .
  Until there is no swap blocking pair.
3.2. Power Allocation Based on PBA Algorithm

After the subchannel matching problem is solved, is obtained. In order to solve the power allocation vector , the problem is transformed into SP2:

Because is determined, V2V link and the subchannel form a match. Due to the cochannel interference, the problem is nonconvex. Through the analysis, we can find that the objective function is not a monotonic increasing function of , but it has implicit monotonicity. Define a variable for V2I link , a variable for V2V link , and a vector with dimension of .

Then, the optimization problem can be transformed into SP2-1: where .

The objective function (25) is a monotonic increasing function. For the convenience of algorithm description, represents the normal set of problem SP2-1 satisfying (26) and (27); represents the inverse normal set of problem SP2-1 satisfying (28) and (29), and represents the feasible region of problem SP2-1. After transformation, the above problem is a monotonic optimization problem, and the global optimal solution can be obtained by using PBA algorithm. PBA-based power allocation algorithm is described in Algorithm 2.

Input: Output:
Initialization: Set the number of iterations and the vertex set . The vertex is
, for , , , .
Repeat
Step 1: Calculate . Update the upper boundary .
Step 2:
  Determine the projection of on the boundary of , that is .
  If , and satisfies (28) and (29), update the lower boundary and the current optimal value .
Step 3:
  Calculate the additional vertex set , , , is a vector whose elements are 0 except the th element is 1, represents Hadamard product. Then, the vertex set in the next iteration is updated. Change the number of iterations .
Until , represents a predefined threshold.

In the second step of PBA-based power allocation, we need to determine the projection of on the boundary of . The projection vertex of on the boundary of is . is a small positive number, and is used to ensure the convergence of the proposed algorithm. It is solved as follows.

and are variables related to and , respectively. We need to solve the problem on the right side of Equations (32) and (33). Let us make some transformations to transform this problem into fractional programming. For V2I link , we define one function . and are linear functions of which represents the numerator and denominator of , respectively. For the V2V link, we define another function . and represent the numerator and denominator of , respectively. and are calculated as follows:

The right half of (34) and (35) belongs to standard fractional programming, which can be solved by Dinkelbach’s algorithm.

The above analysis process, respectively, gives the solution of subchannel allocation and power allocation. Now, we combine subchannel allocation and power allocation to maximize the system sum rate. PBA combined with many to one matching- (PBAMTO-) based resource allocation is described in Algorithm 3 below.

Input: , , Output: , .
Step 1: Set , initialize the transmit power , , .
  According to the initialization process in the subchannel allocation algorithm, is worked out. According to the obtained , power allocation vector is solved by the poly-block approximation algorithm.
  Calculate the objective function value of problem P according to (6).
Step 2: Repeat the following operations
   For given , is obtained according to subchannel allocation algorithm.
   Then, according to , is obtained by means of PBA algorithm.
Until

In each iteration, the computational complexity of subchannel allocation is . PBA algorithm is used to solve transmitting power of the V2V links and V2I links. represents the number of iterations of the PBA algorithm. The complexity of the first step of power allocation algorithm is which is related to the dimension of the optimization vector. The complexity of the second step is which is related to fractional programming. The complexity of power allocation based on PBA algorithm is . The computational complexity of PBAMTO algorithm in each iteration is . Let represents the number of PBAMTO, so the polynomial time computational complexity of PBAMTO algorithm is .

3.3. Low-Complexity Power Allocation Algorithm Based on ICO

PBA algorithm has relatively high computational complexity. In order to reduce the computational complexity, a calculation method based on ICO is proposed. Since () is a nonconvex function, problem SP2 is a nonconvex optimization problem. In order to perform convex approximation, is converted into the form of the difference of two concave functions:

For ,

For ,

The first-order Taylor approximation of is

represents the subgradient of at . The lower bound of transmission rate of each link can be obtained.

Given initial power, the power allocation problem SP2 can be approximated as problem ASP2:

is lower bound of at . It can be proved that the problem ASP2 is a convex optimization problem, which can be solved by the standard convex optimization method. The calculation process of the power allocation problem is described in Algorithm 4.

Input: Output:
Initialize power allocation vector , calculate , , .
Repeat
  
   is solved according to interior point method, update , .
Until

Then, we get another algorithm called ICOMTO, which combines ICO and many to one matching. The difference between ICOMTO and PBAMTO is that ICOMTO solves power allocation by means of ICO algorithm rather than PBA algorithm. The number of iterations of ICO algorithm is , and the complexity of calculating SP2 using the interior point method is . Computational complexity of ICO algorithm is . The computational complexity of iterative convex optimization combined with many to one matching (ICOMTO) algorithm in each iteration is . Let represents the number of ICOMTO, so the polynomial time computational complexity of ICOMTO algorithm is .

To further reduce the computation complexity, we set the number of iterations of ICOMTO algorithm to one. This suboptimal algorithm is called SUBICOMTO and its computation complexity is .

Proposition 4. ASP2 gives a series of feasible solutions to problem SP2. The objective function value of SP2 is monotonically increasing.

Proof. The optimal solution of problem ASP2 at is the feasible solution of problem SP2, and it is the feasible solution of problem ASP2 at . Suppose that and are results of problem ASP2 in the first and second iteration, respectively.

According to (40), we obtain

Similarly, we obtain

satisfies constraints (45) and (46), so is a feasible solution of ASP2 at . According to the optimized objective function, we can get ; therefore, . According to (40), we obtain

In addition, we can also get

Therefore, it can be deduced that is a feasible solution of problem SP2 and holds. So, ASP2 gives a series of feasible solutions to problem SP2 and the objective function value is monotonically increasing.

Proposition 5. In the iteration process of subchannel allocation and power allocation algorithm for V2V communication, it generates a set of feasible solutions which makes the value of the objective function monotonically increase.

Proof. After iterations, the objective function is formulated as For given , the subchannel allocation is So, we obtain For given , if power allocation based on PBA is carried out, we obtain According to (54), we obtain For given , if power allocation based on ICO is carried out, we obtain Then, For the following inequality is obtained: At last, we obtain . The proposition is proved.

4. Simulation Results

In order to compare the performance of the proposed approaches, we conduct the simulation based on MATLAB. All performance results are obtained on Intel i5-2400 CPU running at 3.1 GHz. In an outdoor single-cell uplink communication scenario, the simulation parameters are shown in Table 1. The maximum tolerable latency for V2V users is 100 ms, the outage probability caused by the data packet exceeding the maximum latency is 0.01, and the minimum rate requirement of V2I link is 3 bits/s/Hz. The proposed PBAMTO, ICOMTO, and SUBICOMTO is compared with approaches in document [5, 13]. Document [5] gives power allocation for each possible V2I and V2V reusing pair by geometric analysis, and it adopts bipartite matching to solve subchannel allocation. Document [13] assumes that transmission power of V2I links is fixed, which adopts the Lagrange dual decomposition method and the binary search method to solve transmitting power of V2V links and subchannel allocation. Different channel gains lead to different resource allocation results. The resource and power allocation varies with channel gain. Each point of the figures is obtained by averaging the channel gains of 1000 random realizations. The algorithm is executed immediately after the channel gain is generated in each simulation. The average time in seconds of different algorithms is shown in Table 2. PBAMTO has the highest polynomial time computation complexity, so its computation time is the longest, followed by ICOMTO and SUBICOMTO. Computation complexity of algorithm in document [5] is , and its computation time is lower than that of SUBICOMTO. denotes the number of iterations of the algorithm in document [13], its computation complexity is , and its computation time is lower than that of the algorithm in document [5].

V2V access ratio and system sum rate versus packet arrival rate are shown in Figures 2 and 3, respectively. In this paper, the access ratio refers to the ratio of the accessed V2V links to all V2V links. As the packet arrival rate increases, the V2V link access ratio and system sum rate of these algorithms decreases. The access ratio of ICOMTO algorithm is 3.89% lower than that of PBAMTO algorithm. The access ratio of ICOMTO algorithm is increased by 9.07% on average compared with that of SUBICOMTO algorithm. The access ratio of SUBICOMTO algorithm is 14.98% higher than that of algorithm in document [13]. The system sum rate of ICOMTO algorithm is reduced by 3.75% on average compared with the system sum rate of PBAMTO algorithm. The system sum rate of ICOMTO algorithm is 6.26% higher than that of SUBICOMTO algorithm. The system sum rate of SUBICOMTO algorithm is increased by 15.61% on average compared with the system sum rate of algorithm in document [13].

V2V access ratio and system sum rate versus vehicular speed are shown in Figures 4 and 5, respectively. With the increase of mobile speed, the channel environment between V2V becomes bad, which leads to the decrease of V2V link access ratio and system sum rate. PBAMTO still has the highest V2V link access ratio and the highest system sum rate. The access ratio of ICOMTO algorithm is 3.60% lower than that of PBAMTO algorithm. The access ratio of ICOMTO algorithm is increased by 10.02% on average compared with that of SUBICOMTO algorithm. The access ratio of SUBICOMTO algorithm is 23.01% higher than that of algorithm in document [13]. The system sum rate of ICOMTO algorithm is reduced by 2.96% on average combined with that of PBAMTO algorithm. The system sum rate of ICOMTO algorithm is 8.46% higher on average than that of SUBICOMTO algorithm. The system sum rate of SUBICOMTO algorithm is 12.82% higher than that of algorithm in document [13].

The access ratio and system sum rate versus the number of V2V links are shown in Figures 6 and 7, respectively. As the number of V2V links in the network increases, the access ratio of V2V links decreases. The probability of V2V links reusing the subchannel of the V2I link increases, and the network will admit a greater number of V2V links under the premise of meeting the minimum rate requirement of the V2I link, which makes system sum rate increase. PBAMTO algorithm has the highest sum rate, followed by ICOMTO, SUBICOMTO, and algorithm in document [5]. Algorithm in document [13] has the lowest sum rate. When the number of V2V links is 8, average time consumption of PBAMTO, ICOMTO, SUBICOMTO, algorithm in document [5], and algorithm in document [13] is 105.18 s, 14.99 s, 7.49 s, 3.82 s, and 2.65 s, respectively. When the number of V2V links is 16, average time consumption of PBAMTO, ICOMTO, SUBICOMTO, algorithm in document [5], and algorithm in document [13] is 586.25 s, 76.11 s, 38.05 s, 30.56 s, and 5.31 s, respectively. As the number of V2V links increases, the number of optimization variables increases. As a result, time consumption increases. PBAMTO algorithm has the longest computation time, followed by ICOMTO, SUBICOMTO, algorithm in document [5], and algorithm in document [13]. The execution time depends on the hardware configuration. Field Programmable Gate Array (FPGA) and Application Specific Integrated Circuit (ASIC) can be used to realize the hardware acceleration of the algorithm.

V2V access ratio and system sum rate versus minimum rate requirement of V2I links are shown in Figures 8 and 9, respectively. It can be seen that with the increase of the V2I link rate requirement, the number of accessed V2V links decreases, and the system sum rate also decreases. Figures 10 and 11 show average latency and outage probability versus packet arrival rate, respectively. When packet arrival rate is 0.04 and the number of V2V links is 8, time latency of PBAMTO is reduced by 30.41% and 20.43%, respectively, compared with algorithm in document [5, 13]. Compared with ICOMTO and SUBICOMTO, time latency of PBAMTO is reduced by 7.59% and 15.35%, respectively. PBAMTO has the lowest outage probability, followed by ICOMTO, SUBICOMTO, and algorithm in document [5] and document [13]. It can be seen that the proposed algorithm has lower latency and outage probability compared with traditional algorithms.

Because PBAMTO algorithm adopts optimal power allocation based on PBA, it has the highest V2V link access ratio, the highest system sum rate and the lowest latency and outage probability. ICOMTO algorithm adopts iterative convex optimization to solve power allocation, which maximizes the lower bound of system sum rate. The performance gap between PBAMTO and ICOMTO is mainly attributed to the suboptimality of power allocation in ICO algorithm. The number of iterations of SUBICOMTO algorithm is less than ICOMTO, so its performance is less than ICOMTO. Power allocation of document [5] is simplified into geometric analysis. Document [13] assumes that transmitting power of V2I links is fixed and just optimizes the transmitting power of D2D links. These two traditional schemes cannot give better solution of power allocation. As a result, they limit the improvement of system performance.

Although PBAMTO has the highest performance, its computation time is the longest. The performance of ICOMTO is close to that of PBAMTO, and its computation time is much shorter than that of PBAMTO. The performance of SUBICOMTO is lower than that of ICOMTO, and its computation time is shorter compared with ICOMTO. Compared with SUBICOMTO, two traditional algorithms in document [5] and document [13] have shorter computation time, but their performance is lower. In practice, ICOMTO can be a better scheme to tradeoff the performance and computation time.

5. Conclusions

In order to meet the low latency requirement of communication between vehicles, the minimum transmission rate requirement of V2I links, and the transmitting power requirement of V2I and V2V links, a nonlinear mixed integer optimization problem aiming at maximizing system sum rate is constructed by comprehensively considering the subchannel allocation and transmitting power of cellular and V2V links. Firstly, the subchannel allocation problem is solved by many-to-one two-sided exchange matching. Then, according to the implicit monotonicity of the objective function, an optimal power allocation algorithm based on PBA is proposed. In order to tradeoff the performance and complexity, a convex optimization problem is constructed by expressing the nonconvex function as the difference of two concave functions, and a power allocation algorithm based on ICO is proposed. The simulation results show that the proposed algorithms can guarantee transmission latency requirements of V2V links and improve the system sum rate and access ratio of V2V links.

Appendix

A.1. Proof of Equation (7)

Suppose that the packet arrival rate of each time slot in the V2V link cache queue obeys the Poisson distribution with arrival rate of . indicates the number of packets waiting to be sent in the V2V cache queue. The size of the data packet arriving in the cache queue is , which obeys the exponential distribution with mean value of . The waiting latency of the packet in the cache queue is , and its transmission latency is determined by the instantaneous data transmission rate of V2V link. Therefore, latency of the packet in the V2V link cache queue is represented as

represents the maximum tolerable transmission latency, and transmission latency requirement of the data packet is denoted as

represents the outage probability caused by the packet latency exceeding the maximum latency. The max-plus queueing method in stochastic network theory [27] is used to transform the transmission delay requirement into a constraint on instantaneous data transmission rate.

In a GI/GI/1 queue system, is very small and greater than zero, and exists. ; the upper limit of waiting time [27] can be expressed as

is the service time of the first arriving data packet, is the difference of arrival time between the second data packet and the first data packet, and is the moment generating function of .

The instantaneous data transmission rate of the V2V is , and denotes latency of the data packet of this V2V link. According to max-plus queueing method, we can get

The waiting latency of the data packet in the cache queue is expressed as

The transmission time of the data packet is . represents the difference of arrival time between the packet and the packet, which follows exponential distribution with mean value of . For a fixed data transmission rate , transmission time of the data packet follows exponential distribution with mean value of . According to (A.3), we can get

The upper bound of (A.2) is

The instantaneous data transmission rate of the V2V link should be greater than , which is

According to Lambert function , we can get where . Equation (7) is proved.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this article.

Acknowledgments

The authors would like to acknowledge the support of the National Key Research and Development Program (2020YFB2104703), National Natural Science Foundation of China (62001263), Practical Teaching Reform of Software Engineering Specialty under New Engineering Background (201901173025), Industry University Cooperative Education Project (202002191026), and Exploration and Practice of Talent Cultivation Mechanism for Integrated Circuit Back-End Layout Design (2020JGB02).