Abstract

With the complexity of the network architecture, the diversity of network slicing, and the introduction of advanced techniques such as device to device (D2D), it is difficult for the next-generation (5G+ or 6G) networks to comprehensively consider the requirements of users from different slices and jointly allocate wireless resources to improve network energy efficiency. This paper studies the energy efficiency optimization problem for D2D-enabled fog radio access networks (FRANs). A resource allocation algorithm is proposed to maximize the network energy efficiency by jointly optimizing the beamforming vector, resource block allocation, and transmission power of the remote radio heads (RRHs), fog access point (FAP), and D2D users. The developed algorithm is based on nonlinear programming, convex optimization, and Lagrangian duality. Simulation results show that, by applying the proposed algorithm, the system throughput is significantly improved, and the network energy consumption is greatly reduced, which can ultimately improve the network energy efficiency obviously.

1. Introduction

In the context of the ever-increasing digitization and globalization of the society, people’s demand for mobile communications is growing dramatically. With the large-scale deployment of 5G communication networks, mobile communication has entered the 5G+ era and has become popular throughout the society [1]. Due to high transmission rate and high reliability of mobile communications, the development space of mobile communications has expanded incredibly. Its advantages have become an important support for the highly developed software and even hardware industries and have become an important cornerstone for the rapid development of the society.

Of course, correspondingly, wireless communication is developing towards the next-generation network with higher speed and higher reliability. The focus of mobile communication development is shifting towards the development of state-of-the-art technologies such as massive multiple-input and multiple-output (massive MIMO), intelligent reflective surface (IRS), millimeter-wave and terahertz communication, advanced network architectures and scenarios such as fog radio access networks (FRANs) and coexistence of diversified transmission modes in communications, and advanced wireless resource allocation schemes related to beamforming, power allocation, and transmission mode selection [2]. Under the pressure of the increasing demand for wireless networks, cloud computing and fog computing have emerged. Compared with cloud computing, fog computing has several obvious characteristics: lower latency and more energy saving. Benefited from these advantages, fog-enabled network architecture, that is, FRAN with strong caching, communication, and computing capabilities, is widely adopted by 5G and the next-generation (6G) networks and believed to be the most promising network technology for the future networks [3]. In the FRAN, while providing high spectrum efficiency of the network, it is also necessary to ensure that the quality of service (QoS) for users requesting real-time service is above a certain level. The key role of wireless resource allocation is to further improve network performance and ensure the QoS. Therefore, in the FRAN, it is of great significance to adopt resource allocation methods that can guarantee the users’ QoS to further improve the network performance.

Many studies have been done on resource allocation in the FRAN in recent years. In [4], the inefficiency of the current contributions in computational offloading and resource allocation was pointed out, and a deep reinforcement learning-based resource allocation algorithm was proposed to minimize latency by joint optimization of mode selection, resource allocation, and power allocation. Ai et al. [5] focused on the network slicing-based FRAN and developed a joint resource allocation and admission control scheme to maximize the number of users in the hotspot slice that can be supported with the desired quality of service. Admission control and beamforming were performed in the hotspot slice, while subchannel and power allocation were performed in the Internet of Things (IoT) slice. In [6], sequential resource allocation of the fog nodes was discussed, where the access decision of the IoT users was made by reinforcement learning-based methods to improve the system utility in terms of latency. Although advanced schemes were proposed and resources other than wireless resources, such as computing resources, were used, most of the previous research studies focused on the latency and association number of the users, which did not take the network energy efficiency and throughput into consideration [7]. Higher energy efficiency is also one of the expected achievements for next-generation mobile systems such as beyond 5G and 6G [8]. To maximize network energy efficiency, Dinh et al. [9] proposed a joint optimization algorithm based on user association and beamforming as well as a heuristic low-complexity strategy under the constraint of local edge processing capability. The scenarios of global but outdated user channel state information (CSI) and perfect but local CSI were both considered. In [10], energy efficiency and cross-tier interference problem of the network was studied for the FRAN, where the user association, caching, and power allocation were jointly optimized based on an alternating direction method of multipliers. Energy efficiency, spectrum efficiency, and interference were jointly maximized in [11] by optimizing the content distribution from fog nodes and cloud to users.

In the FRAN, device-to-device (D2D) communication is a technology that allows direct communication between two fog users that are relatively close by multiplexing remote radio header (RRH) spectrum resources [12]. Benefiting from the multiplex gain, distance gain, and offloading gain of D2D communication, D2D technology can improve the spectrum efficiency and energy efficiency of the FRAN and, to a large extent, alleviate the problem of the transmission capacity limitation of the fronthaul link. Therefore, D2D scenario is an important case that the resource allocation should take into account, and D2D users should be included into the research of resource allocation-based energy efficiency optimization in the FRAN [13]. However, as far as we know, there is very little research in this area. This paper focuses on the resource allocation algorithm under the users’ QoS requirements to maximize the network energy efficiency in the FRAN where RRH users, IoT users, and D2D users all exist. The data rate and delay are formulated as the constraints of users’ QoS requirements, and the energy efficiency is finally improved by joint optimization of the transmission mode, beamforming vector, and the allocation of power and resource blocks. By a reasonable design of the joint optimization algorithm, the corresponding energy-efficient resource allocation algorithm for the coexistence of multiple modes is proposed. By building a MATLAB simulation platform, system simulation is performed to verify the performance of the proposed algorithm. A resource allocation method for the application of the FRAN architecture in current and future mobile communication networks to ensure real-time service requirements is designed. The research not only provides theoretical analysis and performance reference for the FRAN to better support delay-sensitive services but also has great significance for promoting the commercial deployment of the FRAN.

However, further paper is arranged in an order such as in Section 2, a brief introduction about the system model is given, and a network energy efficiency maximization problem for the sliced FRAN is formulated. To facilitate the resolution of the formulated problem, in Section 3, the original problem is transformed into 3 solvable subproblems. An energy-efficient joint optimization algorithm on beamforming, resource block allocation, and power control is proposed in Section 4. To prove the effectiveness of the algorithm, simulation configurations and the corresponding results are given in Section 5. Conclusion is presented in Section 6.

2. System Model

2.1. Network Scenario

D2D-enabled FRAN is studied in this paper. To meet the requirements of high-speed and low-latency users, respectively, as shown in the system model in Figure 1, both high-speed slicing and low-latency slicing are considered in the network scenario, and both high-speed slicing and low-latency slicing are realized by the network slicing technology based on NFV (network function virtualization) and SDN (software-defined network). Users in the network can be divided into RRH users, IoT users, and D2D users, which are served by RRH, FAP, and directly connected devices, respectively. Each user has only a single antenna, the total bandwidth that can be utilized is denoted as B, and OFDM (orthogonal frequency division multiplexing) technology is adopted by the system.

2.1.1. High-Speed Slice

In the high-speed slice, M RRHs which provide service to G RRH users with high-speed requirements are connected to the baseband unit (BBU) pool through capacity-limited downlink. The RRHs can participate in collaborative communication under high-speed slicing. The set of the RRHs is represented by M= {1, 2, m, …, M}, and the number of antennas for each RRH is T. The set of RRH users in the high-speed slicing is denoted as = {1, 2, ,..., }. Different from the IoT users in the low-latency slice, RRH users requesting high-speed services can choose to use the D2D function to provide the corresponding high-speed services. Once the D2D function is enabled, the user is called a D2D user. Using X= {0, 1} to indicate the D2D mode selection of user , then the user is a D2D user if = 1, and it is an RRH user if = 0. For an RRH user , its serving RRH is decided by the RRH association indicator ; if , then RRH user is associated with and served by RRH m; otherwise, .

At time t, the received signal of the th RRH user served by the BBU pool can be expressed bywhere is the CSI (channel state information) vector from the RRHs to RRH user , is the beamforming matrix of the RRHs to RRH user , where and represents the beamforming vector from RRH m to RRH user , is the data symbol of RRH user with , and is the noise received by RRH user , and . According to Shannon’s formula, the data transmission rate of RRH user can be expressed by

For D2D users, the received signal of D2D user d served by D2D user r can be expressed bywhere denotes the transmission power of D2D user r and is the path loss between the D2D pair. The data transmission rate of D2D user d is represented bywhere is the set of D D2D users and is one of the interfering D2D users to user .

2.1.2. Low-Latency Slice

In the low-latency slice, Q IoT users with low-latency requirements are served by the fog access point (FAP) equipped with S antennas. FAP in the low-latency slice can effectively implement resource allocation and power control to IoT users. The set of IoT users is ψ={1, 2, ..., q,...,Q}. At time t, K resource blocks can be allocated to the IoT users, the set of resource blocks is ▿ = {1, 2, ..., k,...,K}, and Q ≤ K. Due to the limited signal processing capabilities of IoT users, an IoT user can only be allocated one resource block at most. If at time t, resource block k is allocated to IoT user q, then resource block allocation indicator , and the received signal of the IoT user q on resource block k iswhere is the transmission power of the FAP to IoT user q on the resource block k, refers to the path loss between the FAP and IoT user q on resource block k, and is the received noise power of IoT user q.

According to Shannon’s formula, the data transmission rate of IoT user q can be represented by

Network energy efficiency is defined as the ratio of the average total throughput of the network to the average power consumption, in bit/Joule, and the expression is as follows:where and are the total throughput and power consumption of the network at time t, respectively, which areandrespectively. In equation (9), is the power consumption of RRH m, where is the amplifier efficiency of RRH m. is the power consumption of the FAP, where is the amplifier efficiency of the FAP.

2.2. Problem Formulation

According to equation (7), there are two ways to improve the energy efficiency of the network: one is to increase throughput , and the other is to reduce total energy consumption . Considering the relationship among equations (2), (4), (6), (9), and (7), the energy efficiency can be improved by jointly optimizing the beamforming vector of each RRH , resource block allocation of the FAP, D2D mode selection indicator , RRH association indicator , transmission power of the FAP to IoT user q on the resource block k, and the transmission power of the D2D users.

Using to denote the resource block allocation indicator vector of the IoT users, to denote the beamforming vector of the network, to denote the transmission power vector of the FAP, and to represent the transmission power vector of the D2D users, considering network stability constraints, QoS requirements of users, and restriction conditions such as transmission power limitation and backhaul link capacity limitation, the resource allocation-based energy efficiency maximization problem in the FRAN is defined as follows:where , , and are the traffic queues of the RRH user , D2D user d, and IoT user q, respectively. C1 constitutes the stability condition of the network. C2 and C3 are the QoS constraints for RRH users and D2D users in the high-speed slice, respectively. C4 is to guarantee the probability that the delay of IoT users does not exceed the given threshold . C5 and C6 are the maximum transmission power constraints of each RRH and FAP, respectively. C7 and C8 mean each IoT user can only be allocated to one resource block. C9 is the capacity limitation on the backhaul link of the BBU pool. C10 is the maximum transmission power constraint of D2D user d.

3. Transformation of the Original Problem

Using Lyapunov’s theory, it is easy to prove that the proposed optimization problem can be transformed into the following form:where is the Lyapunov control parameter, which is a nonnegative real number. The larger the value of is, the more important the wireless resource allocation strategy will be to optimize the network energy efficiency and the worse the delay performance will be. and are the traffic queues of RRH m and resource block k of the FAP, respectively.

From (11), it can be found that the beamforming vector set is only related to , , C2, C5, and C9. Resource block indicator variable set and transmission power vector of the FAP are only related to , , C4, C6, C7, and C8. Transmission power vector of the D2D users is only related to and C3. Therefore, the optimization problem in equation (11) can be decomposed into 3 independent subproblems: the optimization problem of beamforming design in high-rate slices, the optimization problem of joint resource block allocation and power control in low-latency slices, and the optimization problem of power control in the D2D mode.

3.1. Subproblem 1: Optimization Problem of Beamforming Design in High-Rate Slices

According to the above analysis, the optimization problem of beamforming design in high-rate slices can be rewritten as

To transform optimization problem (12) into convex, constraints C2 and C9 should be transformed. C2 can be rewritten as

C9 can be reconstructed intowhere is a regular factor close to 0.

3.2. Subproblem 2: Optimization Problem of Joint Resource Block Allocation and Power Control in Low-Latency Slices

The optimization problem of joint resource block allocation and power control in low-latency slices can be transformed into

To transform (15) into convex, constraints C4 and C7 should be transformed. Since each IoT UE can only be allocated to one resource block, the minimum data rate requirement of each IoT UE at time t is equivalent to its minimum transmit power requirement on the resource block. And furthermore, taking into consideration the relationship between traffic queue and data rate, constraint C4 can be transformed into

To make the problem easier to solve, discrete constraint C7 can be transformed into

3.3. Subproblem 3: Optimization Problem of Power Control in the D2D Mode

The optimization problem of power control in the D2D mode can be represented by

4. Proposed Joint Optimization Algorithm

4.1. Beamforming Design for RRH Users in High-Rate Slices

With the help of the WMMSE method [14], the original subproblem 1 in (12) can be transformed into the following WMMSE problem with the same optimal solution:where , , and are the mean square error weight, mean square error, and best receiving weight of the received signal of RRH user , respectively. The definition of the mean square error is as follows:

For any RRH user , when and are given, the calculation of the optimal mean square error weight is

Given , the best receiving weight can be calculated according to

Given the set of and for all the RRH users, the WMMSE optimization problem of in (19) is

C2 in optimization problem (23) is a second-order conical constraint, and C5 and C9 are both quadratic constraints; therefore, problem (23) is a QCQP problem which can be solved by the convex optimization toolbox CVX [15]. Using toolbox CVX, the result of (23) in one iteration can be obtained. Through multiple iterations, the beamforming vector will approach the optimal solution.

4.2. Joint Resource Block Allocation and Power Control Algorithm for IoT Users in Low-Latency Slices

The objective function in problem (15) can be minimized by optimizing the transmission power for IoT users first and then optimizing the resource block indicator . Besides, the solution obtained by solving the corresponding Lagrangian dual problem of (15) is at least a local optimal solution of (15). Therefore, optimization problem (15) can be reformed as the following optimization problems about and , respectively.

Optimization problem (15) can be reformed as the following optimization problem about :

The objective function of (24) has a continuous first-order derivative, and the constraint gives the range of the transmit power; therefore, the defined bound set is obviously a convex set. According to the KKT condition [16], to obtain the optimal transmit power, it is only necessary to let the first partial derivative of the objective function in (24) equal to 0. The optimal transmit power can be expressed as follows:

From (25), it can be found that when the quality of the channel is good or the traffic queue of the user is long, the resource management module of the FAP will increase the transmit power to serve the IOT user, and vice versa. Substituting into optimization problem (15), the optimization problem about iswhich is a linear optimization problem. The optimal resource block allocation strategy can be obtained bywhere .

4.3. Power Control Algorithm for D2D

The objective function of problem (18) is a strictly convex function, and constraints C3 and C10 are linear and convex, respectively. Therefore, Lagrangian method can be used to solve problem (18). The Lagrangian dual problem corresponding to (18) is as follows:where is the Lagrangian function defined as

Problem (28) is a convex optimization problem about and . The subgradient method in [17] can be used to update the optimal Lagrangian multipliers and iteratively according toandrespectively, where and are the step size of searching for optimal and , and they are positive and small real numbers close to zero. Then, the optimal transmission power can be obtained by

Finally, calculate the transmission power of D2D user r to D2D user d according to

4.4. Overall Algorithm

First, each user reports the reference signal received power (RSRP), signal-to-interference-noise ratio, channel state information reference signal (CSI-RS), location, and other parameters to the cloud.

Then, the cloud accepts the service requests from users. If the distance between two users is less than threshold and the relative moving speed is less than threshold , the two users release the communication link with the RRU and start the D2D communication mode. Based on this, can be determined.

After that, the cloud calculates and assigns the beamforming vectors to RRH users for each RRH based on the result of CVX provided in Section 4.1. The configuration of beam weights ultimately serves the energy utility function, that is, the objective function. Given the beamforming vectors of the RRH users, the transmission power of the FAP and D2D transmitter can be determined by equations (25) and (33), respectively. At the same time, the cloud calculates and determines the resource block allocation according to equation (27) for each IoT user in the FAP.

Finally, the cloud detects the status of users in real time, determines the users’ service status and the distance between the users performing communication services, and updates access and departure of the users to enable the updates of the D2D communication mode.

5. Simulation and Results

5.1. Simulation Configurations

To verify the effectiveness of the algorithm, system-level simulations are conducted. Related simulation parameters and settings are listed in Table 1.

5.2. Simulation Results

Figure 2 gives the relationship between the number of users in the D2D mode and the overall throughput. Simulation results show that when the number of users in the D2D transmission mode increases, the overall throughput of the system also increases. This proves that the D2D mode can alleviate the pressure on the fronthaul links, reduce interference between UEs, and increase the SINR, thereby increasing throughput. On the contrary, users who choose the D2D transmission mode do not occupy base station resources and release a large amount of system capacity, thereby greatly improving the overall throughput of the system.

Figure 3 is the relationship between the number of iterations of each algorithm and the overall throughput. The simulation results show that, as the number of iterations increases, the global solutions of the two algorithms are approaching the optimal solution. At the same time, the overall throughput of the fusion algorithm is greater than that of a single beamforming algorithm. This is because compared with a single beamforming algorithm, the system throughput can only be improved by adjusting the beam to improve the signal-to-noise ratio, and the fusion algorithm can reduce the base station load and expand the system capacity on this basis.

Figure 4 shows the relationship between the number of iterations of each algorithm and the overall energy of the system. The simulation results confirm the effectiveness of the beamforming algorithm and fusion algorithm for system energy saving. The beamforming algorithm adjusts the gain in each direction of the beam according to the distribution of the UE to achieve the effect of energy saving. Because of the direct communication between terminals, the fusion algorithm does not occupy base station resources, so the beamforming effect is more significant, and the system energy is further reduced.

6. Conclusion

In this paper, the energy efficiency optimization problem for D2D-enabled fog radio access networks (FRANs) was studied. An energy efficiency maximization algorithm based on beamforming, resource block allocation, and power control was proposed to solve the energy efficiency optimization problem. Beamforming vector, resource block allocation, and transmission power of the RRHs, FAP, and D2D users were jointly optimized with the help of nonlinear programming, convex optimization, and Lagrangian duality. Simulation results indicated that, by using the proposed optimization algorithm, the network energy efficiency and throughput can be significantly improved, and the network energy consumption can be greatly reduced, which finally proved the effectiveness of the proposed algorithm.

6.1. Future Work

This work can be further enhanced and expanded on a huge and massive scale. It can be used for highly scalable wireless access networks where the resource allocation becomes miserable. This allocation is based on the quality of service provided and acquired by the user. Similarly, it can be dug out that when and which kind of resources shall be needed when the number of users generally increases.

Data Availability

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

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This research was supported in part by the National Natural Science Foundation of China (no. 61801227), Qinglan Project of Jiangsu Province (nos. QLGC2021 and QLGC2020), Future Network Scientific Research Fund Project (no. FNSRFP-2021-YB-28), Open Research Fund of Jiangsu Key Construction Laboratory of IoT Application Technology (no. 19WXWL04), and Industry-University Cooperation Collaborative Education Project, Department of Higher Education, Ministry of Education (no. 202101220012).