{'fraction_non_alphanumeric': 0.021020757998523543, 'fraction_numerical': 0.01281265249433816, 'mean_word_length': 5.485596039925343, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 2, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Survey on D2D Resource Scheduling and Power Control Techniques: State-of-art and Challenges

Device to Device (D2D) communication has emerged as the most promising paradigm for optimizing spectral and energy e ffi ciency, reliability as well as increasing network throughput in the emerging cellular generation. D2D resource optimization scheme has been thoroughly investigated in the literature to manage interference and enable its smooth integration into the future cellular network in recent years as an increasing number of papers are published each year. We believe systematic categorization of literature in the area will help readers to comprehend the strengths, weaknesses, and trends of the solution approach. However, a survey that discusses all aspects, requirements, and challenges of D2D resource optimization is largely missing. Hence, in this paper, we aim to develop a comprehensive survey that fills the gaps found in the previous literature. Based on the surveyed papers, it will figure out ideas that have been thoroughly explored and those that assume the potential for further research.


Introduction
In general, the high level research questions and focus of this paper are stated as follow.
• What are the challenges of the current wireless network and proposed solutions?
• What are the driving factors for the research community to develop network-assisted deviceto-device (D2D) communication?
• What are the recent radio resource management and power control paradigms proposed in the literature for integrating D2D communications into emerging cellular networks and how should they be treated?
• What are the potential research gaps that need to be addressed by the research community for its service [2]. And this trend will keep on growing in the future as can be seen in figure 1, which shows mobile traffic growing at an annual rate of around 55% in 2020-2030 [1]. Consequently, the total mobile data traffic generated is predicted to have a 1000-fold increase in the near future [1]. This extremely demand in terms of network resource and link capacity. To satisfy this ever-increasing demand, efficient management of scarce resources is needed than ever. Current networks may offer good service quality in isolated areas, but they cannot meet the extremely growing needs related to new wireless networking uses. Based on the current trend, the spectrum crisis and users' desire for anywhere, anytime high-speed connectivity that can not be properly accommodated even by 4G, necessitate a new 5G network architecture. The emerging 5G wireless network should maintain tight performance requirements in order to handle higher mobile data volumes, reduced end-to-end latency, massive device connectivity, and consistent quality of experience to provide seamless users experiences. Massive MIMO, device-to-device (D2D), millimeter-wave (mm-wave), and ultra-dense network (UDN) are some of the key enabling technology proposed to maintain the target of the emerging 5G cellular network. Among these techniques, D2D communications enable proximate devices to reuse cellular resources to establish a direct link without passing through the Base Station (BS) [11,13,18,42]. Direct communication among nearby users can substantially enhance the network performance in terms of energy and spectrum efficiency, throughput as well as reduce delay, extend network coverage and offload network traffic as indicated in figure 2.
To address the above challenges and meet the 5G system requirements, it needs a radical change in future cellular network architecture. Considerable research efforts are still required to transform the resulting goals into a coherent and realistic proposition. In a conventional cellular network, all communications must go through the BS and there was an assumption that communicating parties are not in close proximity. This architecture suits the low data rate voice services in which users are not usually in close proximity to have direct connections. However, in the age of data the main trends are content and interest sharing (e.g., online gaming, proximity-aware social networking) where the communicating parties could potentially be in range for direct communications (i.e., D2D). Hence, proximity awareness has to be taken into consideration in the design of the emerging 5G cellular networks.
On the other hand, the need for massive connectivity with low latency connection requires a fundamental shift from centralized resource management and interference coordination toward distributed and selforganizing approaches, where smart devices can rapidly make resource management decisions. To this end, one of the broad visions of 5G is its emphasis on device-centric solutions and the need for smarter devices. Users are no longer the final resolution of the cellular network but are expected to participate in storage, relaying, content delivery, and computation within the network. D2D communication appears to be an enabling technology for this vision, which allows users in close proximity to reuse cellular resources to communicate directly, bypassing the base station. Hence, D2D communications in such scenarios can highly increase the spectrum efficiency, throughput, cell coverage, and lower latency.
Although D2D communication creates many promising advantages, a number of concerns are involved with its implementation. The most critical problems for integrating D2D communications in cellular networks include dealing with new decision-making criteria for resource scheduling problems, radio resource management, interference coordination, and mode selection. A number of solutions have been proposed in the literature to address these issues and grasp its potential gains. In order to identify the strength and weaknesses of each proposed method and find out ideas which require further research attention, several D2D resource management, and power control strategies have been analyzed and summarized in this paper. What follows in the next section is the key motivation and contribution of this survey paper.

Motivation and Contributions
Literature has shown the increasing use of D2D resource optimization scheme for efficient interference management and optimizes different network performance as an increasing number of works are published each year as can be seen from figure 3, which is plotted by collecting the number of paper published each year using resource allocation and power control for D2D communication as a search keyword. With such an increasing number of papers in the literature, a survey is the best way to identify the strength and weaknesses of each proposed method and find out which ideas require state-of-the-art methodologies for interference management in D2D underlaid cellular networks However, any one of these papers doesn't gives a comprehensive survey about D2D resource optimization techniques. Exceptionally, the authors in [6] has carried out survey on D2D resource allocation techniques, but it is now old and cannot address the current approach as most of the literatures are published in recent years as can be seen from figure 3. The authors in [115] has also carried out survey on D2D resource allocation techniques, however the comparison is not solid enough to give insights for the readers in the area to figure out the strength and weakness of proposed solution by considering the different D2D communication scenarios. Therefore, it is important to carry-out a comprehensive survey which focuses specifically on D2D resource optimization techniques considering the recent advancement. In contrast to the above survey, our survey focuses mostly on the state of the art techniques regarding an efficient utilization of the scarce and limited resources for successful implementation of D2D  communication and improved network performance and interference management. Table 2 gives a detail comparison of our survey with existing ones. In general, the main contributions of this survey paper can be summarized as follow: • Provides an in-depth explanation and classification of the different resource assignment and power control techniques proposed in the literature based on a centralized and distributed approach.
• Classify and presents an in-depth explanation of research on D2D resource assignment and power control techniques proposed in the literature based on inband underlay and overlay approach.

EAI Endorsed Transactions on Mobile Communications and Applications
Online First Survey on D2D Resource Scheduling and Power Control Techniques: State-of-art and Challenges Hence, how to allocate consumption and multi casting. spectrum and control [24] 2014 Describe general state-of-art transmission power X X X X X X based on the D2D communication optimally to enhance spectrum and review literature network performance extensively under the proposed are the fundamental taxonomy challenge in D2D [25] 2015 Provide general classification communication X X X X X X of D2D related works and address some of the major problem related to D2D communication [171] 2021 Provide state-of-the-art X X X X X X methodologies related interference management in D2D communication [172] 2020 Describe state-of-the-art X X X X X X related resource allocation and mode selection in D2D communication [6,115] 2017 Describe general state-of-art However, the 2020  figure 5 >It figure out the limitations of proposed techniques in the state-of-art and propose potential research directions to be considered by the research community to attain its potential gain and smooth its successful implementation in the emerging cellular architecture >As a limitation, our paper doesn't survey on D2D standardization activity, D2D discovery and mode selection as it is beyond the scope of the work.
(X :Not considered, ✓: Considered ) • Gives a detailed analysis of research dealing with channel assignment and power control optimization techniques proposed in the literature considering the various D2D use cases such as resource optimization for D2D based Vehicular Communication, D2D based data dissemination, D2D for emergency service and M2M communication considering their solution approach to tackle the problem, objective, and system characteristic.
• Provides a comprehensive classification of the different resource assignment and power control optimization techniques proposed in the literature based on interference types, methodology, and solution approach to tackle problems, objective, and system characteristics and then provides an in-depth explanation of the related works for each scheme.
• Provides a comprehensive comparison between the different D2D resource optimization techniques. This comparison can help us to get the strength and weaknesses of existing resource optimization techniques.
• Finally, it elaborates on limitations of proposed techniques in the area and potential research direction to integrate D2D in emerging cellular networks.

EAI Endorsed Transactions on Mobile Communications and Applications
Online First Abi A. Dejen, Yihenew Wondie and Anna Förster The next section introduces the methodology followed to address the research question and achieve the motivation and contribution of this survey paper.

Methodology
The goal of this survey is mainly to provide an in-depth analysis on state-of-the-art related to D2D resource scheduling and power allocation to understand and analyze the existing solutions and proposals and identify the weaknesses and strengths of each one of them. In order to answer the questions raised in the previous section and achieve the objectives of our research, it is necessary to take a deep look on the state of the art related to the raised issues including: • Reviewing on state-of-the-art techniques in order to acquire an understanding and knowledge on proposed research question including reading books, articles, and different web-page using resource allocation and power control for D2D communication as a search keyword.
• Identifying the pros and cons of existing survey paper in the area.
• Classifying and analyzing existing literature in the area based on their methodology, extent of network involvement and solution approach, objective and constraint, problem type and system characteristics, D2D spectrum and use case.
• Identifying potential research area which is believed to have pro-founding impact on practical operational efficiency of future cellular-assisted D2D systems.
Our survey starts with describing the research questions; the 5G driving factor, 5G challenges and proposed solutions. It then identify the contribution of the work for the research community in the area.
In the second place our survey start with D2D communication; after providing a description of the basic concepts and mechanisms of D2D discovery and communications, we have discussed the D2D use cases and scenarios, and types of interference encountered in D2D communications in order to provide analysis on challenges of the deployment of D2D-based cellular network in future 5G networks.
We introduce in a third place a comprehensive survey on the state of the art of D2D resource optimization and power control techniques. We in this part provided detailed classification and analysis of existing literation in the area based on their methodology, the extent of network involvement and solution approach, objective and constraint, problem type and system characteristics, D2D spectrum, and use case as well as identifying their pros and cons.
In the fourth place, we have presented a broad classification of the different resource assignment and power control techniques based on their interference tolerance, the distance between D2D and direct users, constrained-based optimization schemes.
Next, we have presented recommendations for potential research direction considering the impact of intracell and inter-cell interference, user mobility, availability of channel state information, multi-objective optimization, multi-layer heterogeneous networks, multiantenna base station on implementation of D2D communication in cellular networks.
This state of the art on D2D communications, resource scheduling, and power control schemes can potentially help us to identify the strength and weaknesses of each proposed method and figure out ideas that have been thoroughly explored and those that assume the potential for further research.

D2D Communication
In conventional cellular communication, the cellular user first transmits its data to the BS using uplink resources; then the BS direct the data to the corresponding receiver using downlink resources. However, if both communication parties are in close proximity to each other, the BS can allow them to directly communicate with each other. This direct communication mode is referred to as the D2D mode.
Network-assisted D2D communications, which enables direct communication between proximate mobile users, can provide four types of performance merit.
• Proximity gain: the short-range direct communication using a D2D link can allow for extremely high throughput, low latency, and power consumption.
• Hop gain: this is the gain from not having to use both uplink (UL) and downlink (DL) resources, as is the case when communicating via the base station in the cellular mode as can be seen in figure 4.
• Reuse gain: in D2D enabled cellular network, the same spectrum is shared between D2D users and cellular users. This can supports spectrum re-usability and thereby improves the spectrum reuse ratio.
• Paring gain: a device with D2D capability can have the flexibility to switch between D2D and cellular mode as needed, creating new types of services.
Apart from the above-mentioned advantages, D2D communications could also bring many more benefits, including cellular coverage improvement, enables new value-added peer-to-peer and location-based  applications and services. Designated for public safety communications, D2D proximity services (ProSe) have emerged as one of the most innovative technologies in 3GPP Release 12. In addition to the high data rates, low latency, and high-reliability requirements, D2D ProSe must further support urgent communications when some or all network infrastructures are paralyzed by natural disasters or malicious attacks. From an economic perspective, D2D should create new business opportunities. As it has been stated in many literatures, D2D enabled cellular networks can enable operators to provide service with better quality to the subscribers and attract new and retain existing customers. It can also enable the operator to provide a value-added service beyond voice and data services such as local commercial advertisement. In a commercial advertising use case, a local business owner can use D2D to advertise their daily offers to potential customers in nearby. A device capable of D2D functionality placed at business premises and can discover other D2D enabled devices in proximity. Advertising content can then broadcast to the devices that have been discovered. Hence, retailers can use the D2D link to enlarge the relevancy of their promotion with location-specific advertising.
From an architectural perspective, the D2D communication is similar to mobile Ad-hoc networks (MANET) and cognitive radio networks (CRN). However, unlike MANET or CRN, the D2D communications proposed for 5G networks occurs over the licensed cellular spectrum where the network plays a major role in radio resource management, device discovery and synchronization, establishing D2D connections, mobility management, and security. In MANET and CRN, lack of coordination and synchronization makes very difficult task to manage interference in order to benefit from resource sharing. These advantages of D2D communication have motivated academia, the industry as well as standardization bodies to investigate its potentials and work on addressing its technical and business challenge in order to be integrated into the emerging future generation cellular networks. It has been efficiently used in non-cellular technologies, but not investigated for the cellular spectrum for the past mobile generations. It was first introduced in the fourth generation, after LTE release 12, and continuously advanced in the subsequent release. Table  3 summarize the basic features of D2D communication.
The first effort to exploit D2D communication over the licensed cellular spectrum was made by Qualcomm's FlashLinQ [3]. It was implemented on a digital signal processor/ field-programmable gate array (DSP/FPGA) platform. It enables devices to discover proximate devices up to 1 km range and can be used to provide a new type of service, such as data sharing and advertising. The authors in [4] also designed a system called DataSpotting to investigate the possibility of offloading mobile traffic using D2D communications during peak hours, at train stations, and sport stadiums. Different from "FlashLinQ" and "DataSpotting" which focus on one-hop D2D communication, the authors in [5] developed a D2D system "Relay-by-Smartphone" to realize multi-hop D2D communication for public safety application.

D2D Communication Mechanisms
The procedure of D2D communication has two phases, discovery, and communication phase. During D2D discovery, D2D enabled user equipment identify the presence of devices in proximity that could potentially communicate directly. This discovery process can be either direct or network-assisted discovery. During the • Direct Discovery: The direct discovery approach enables the devices to find each other without the help of the BS. The devices transmit the control signal periodically to locate other devices in its surrounding.
• Network Assisted Discovery: In network assisted D2D discovery, devices detect and identify each other with the help of the BS. The device informs the BS regarding its communication with devices in its surrounding. The BS initiates the message exchange between two devices to obtain essential information such as channel state, interference and power control based on the network requirements.

D2D data communication.
After D2D discovery phase, discovered D2D pairs establish a communication link for data exchange. This could offload the BS through direct on hope D2D communication.

D2D Communication Scenarios
3G Partnership Project (3GPP) categorizes D2D scenarios in terms of the presence of network coverage as indicated in figure 5.
• In coverage: when both D2D users are within the coverage of the cellular network.
• Partial coverage: one D2D user equipment is in the coverage of the cellular network whereas the other is out of coverage (it could be a coverage hole due to fading).
• Out of coverage: when both D2D users are outside the cellular network. This scenario is considered mainly in 3GPP for public safety use cases when the network is temporarily disabled by natural disasters or malicious attacks.

D2D Communication Use Cases
The potential application of D2D services have gained significant research attention as they present multiple attractive use cases of new value added services. We mention below some of the more powerful use cases where D2D communication is an effective technique.
• Traffic offloading: Data offloading from the core network is one of the most interesting use case of D2D communication. A device having good link connectivity to the BS can act as a hotspot. The BS can offload/cache data at the hotspot during peak hours and other devices can download data from this device using D2D links. This helps in avoiding congestion in the core network, by enabling traffic to pass through D2D links.
• Coverage extension: In D2D enabled cellular networks, a device can get access to cellular network with assistance of one or more devices that act as relays. Cellular users at the cell edge or out of cell coverage or in a disaster-hit area generally encounter poor signal strength while communicating to the BS. The cellular device can relay its transmission to the BS by establishing a D2D link with a device having a better link quality to the BS. This can significantly extend the network coverage of cellular service and enable multi-hop communication.
• Data dissemination: Cellular users can leverage D2D links to unicast or groupcast or broadcast files, audios and videos with better data rates and lower power consumption. Besides improving the efficiency of data transmission, D2D communication can also generate new business opportunity for the operators. For instance, shopping malls can use D2D link to broadcast special offers to the people in proximity and improves the relevancy of their promotion with location-specific advertising.
• Emergency services: D2D communications can not only improve the network performance but also enable public safety services when the cellular infrastructure is paralyzed due to natural disaster (such as flood, hurricane, and earthquake). Devices in proximity can establish direct connection with each other using cellular spectrum and communicate in the absence of central BS.
Despite these numerous benefits offered by D2D communication, there are still many open challenges to be addressed for its successful implementation. In particular, interference management is the most critical problem regarding with the integration of D2D communication in a cellular network. The reason is that the harmful mutual interference caused by resource reuse can severely degrade the performance of both cellular and D2D communication. Therefore to grasp its promising advantage, issues related to interference should be studied and addressed carefully.
Resource scheduling and power control techniques are investigated to effectively mitigate interference and maintain D2D advantages while guaranteeing service 8 EAI  quality for both cellular and D2D users [12,15,26]. Indeed, there has been a recent surge in the literature that proposes new mathematical tools for optimizing resource allocation to manage interference and enable the smooth operation of D2D communications over the licensed cellular spectrum. Optimization theory, game theory, stochastic theory, and graph theory are some of the most commonly studied mathematical tools in the literature to solve the resource allocation problem. A number of D2D resource optimization techniques have been proposed in the literature to achieve the different objectives, such as maximum throughput or data rate, higher energy, and spectrum efficiency while introducing interference constraint to maintain the QoS of the cellular user. A novel categorization of literature in the area can significantly enable the research community to identify the potential limitation of the current approach and work on solving its technical challenges. This survey paper aims to provide the readers the current information about the state-of-the-art literature that has been done on joint optimization of D2D resource scheduling and power control including proposed solutions and algorithms, associated research trends, and figure-out issues that still need to be addressed further.

Types of Interference in D2D Communications
In D2D enabled cellular networks both co-tier and cross-tier interference are introduced. Co-tier interference occurs between D2D pairs sharing the same resource while cross-tier interference is produced between co-channel D2D and cellular users. This type of interference occurs when the resource assigned to cellular users are reused by one or more D2D users. The node affected by interference depends on D2D communication modes and the resource used for D2D communication (uplink/downlink).
• D2D-to-cellular interference: Interference from the D2D communication to the cellular communication occurs either at the base station or cellular user depending on the direction of communication. In the UL direction, the interference is caused to the base station, which receives data from its cellular users as depicted in figure 6. In the DL direction, the cellular users are the victims of the D2D interference as they are receiving data from the base station at the same time as the D2D users exchange data among themselves.
• Cellular-to-D2D interference: Interference from cellular communication to D2D communication can also depend on the direction of communication. In the UL direction, the interference is generated by the cellular user, which transmits to the base station. Whereas in the DL direction the base station will be the interferer as it transmits to cellular users. In addition to this, when more than one D2D pair share the same resource, harmful mutual interference will be generated between D2D pairs. Regardless of the transmission direction, interference always exists between transmitting and receiving D2D users in different pairs using the same resource.

Classification and Fundamentals of Resource Optimization in D2D Communications
This section entitled to gives a broad classification and exploration of the various D2D resource optimization techniques followed in the literature to attain its realistic and potential gain and facilitate its smooth integration in mobile-cellular networks. Figure 7 shows the detailed categorization of the various resource optimization scenarios considered in the literature.

Centralized and Distributed Schemes
The different D2D resource allocation approach proposed in the literature can be broadly categorized in   either distributed or centralized implementation. In the centralized solution, the central controller (network) is fully responsible to manage interference between cellular and D2D user. This centralized approach requires the channel state information (CSI) between every transceiver as well as the minimum tolerable interference level for each channel and based on the information obtained, it allocates the resource to each D2D pairs. The main drawback with a centralized scheme is the amount of signaling overhead required for exchanging channel state information. The resource optimization complexity can also increase exponentially with the number of D2D pairs, as it is performed by a single entity, which has to process a large volume of data. Hence, centralized resource optimization techniques are only possible for small-sized D2D networks. Survey on D2D Resource Scheduling and Power Control Techniques: State-of-art and Challenges 4 categorizes some of the research conducted on D2D interference management and resource optimization based on the level of base station involvement as a centralized and distributed approach. As centralized resource optimization techniques result in an optimum solution, their implementation was the main focus of literature in the area for the past years. The authors in [9,10,17] exploit centralized resource allocation with an objective to maximize spectrum efficiency whereas in [11,22], the authors formulate a centralized resource optimization algorithm to minimize power consumption. The authors in [50], proposed a resource allocation scheme which is based on the soft frequency reuse (SFR), using power control to mitigate interference considering both licensed and unlicensed band for D2D communications. The simulation result shows that the proposed scheme achieves better performance in terms of system capacity and blocking rate compared with the conventional allocation scheme that is purely uses the licensed band and does not support D2D. The authors in [65], investigated joint resource allocation and power control problems for cooperative D2D users which multiplex cellular users in downlink cooperative D2D heterogeneous network. The formulated resource allocation optimization problem contains resource block allocation and selection of an idle user which work as a relay to help D2D communication, while the power control aims to reduce the interference between the user and enhance communication quality of service. To efficiently maximize the total throughput of all the D2D and the cellular users while guaranteeing the quality of service for the primary cellular user, they propose a quantum coral reefs optimization algorithm (QCROA) to obtain the optimal joint resource allocation and power control scheme. Their result shows that the proposed algorithm achieves an excellent performance for different communication scenarios.
In order to mitigate the D2D-to-cellular interference and improve the spectral efficiency, the work in [75] proposed an efficient channel selection and power allocation scheme while guaranteeing the service quality of both cellular and D2D user, where multiple cellular channels can be reused by each D2D pair. By using the Lagrangian method, the optimal power of the D2D user is determined to maximize the D2D sum rate while preserving the QoS of the cellular user, thereby not affecting the normal cellular communication. The authors also discussed the throughput performances of D2D users which can be affected by the position and separation distance between D2D and cellular users.
The authors in [103], proposed a uniform interference power (UIP) resource allocation scheme in order to reuse the uplink cellular resource for D2D communication and analyzed spectral efficiency. Using the base station to control the transmission power of all user terminals, their proposed scheme ensures that each D2D user reusing cellular resources contributes the same interference power at the BS without negatively impacting the cellular user. Their result shows zero outage probability for the cellular user while the cell spectral efficiency is enhanced.
However, with the densification, massive connectivity, and heterogeneity of future cellular networks centralized scheme is hard to implement due to its huge signaling overhead for collecting CSI information. Effectively managing resource allocation in such a complex environment needs a fundamental shift from centralized solutions toward self-organizing and distributed approaches. In the case of distributed schemes, the involvement of the BS in resource allocation is reduced, as decisions are being made by the devices. Hence, the operation of channel assignment and power control does not require a central controller and is performed separately by each D2D user. Due to limited channel state information and feedback, the distributed scheme can reduce the control and computational overhead. Although distributed methods reduce the computational complexity, it is important to know that as it is based only on local information, interference is difficult to coordinate and result in sub-optimum performance; this technique is more preferable for large size D2D networks.
The authors in [41] proposed a novel scheme in order to optimize the effectiveness of D2D enabled vehicular communications (D2D-V) underlaid in a cellular network, where the uplink cellular channel is reused by multiple D2D-V links. They formulated cellular user interference constraints to address the mobile channel fluctuations as a probabilistic function by the Bernstein approximation. A distributed power control algorithm is proposed to perform the chanceconstrained optimization. The work in [62] proposed a two-phase decentralized resource allocation scheme for Device-to-Device underlying cellular networks. During the first phase, the D2D pair learn the resource block (RB) of the cellular user to be used, while playing an interference minimization game. Each D2D pair is guaranteed an interference below an upper limit, which is selected as a criterion for admission control. In the next phase, power allocation for the D2D pair is carried out to maximize their sum rate while maintaining a minimum rate for the cellular user using a pricing scheme.   10,17] Centralized, non linear Programing Proposed joint optimization of channel and power allocation to: and Convex optimization .Genetic Algorithm used maximize the spectral efficiency .Self adaptive power control strategy to maximize energy efficiency [11,22] Centralized, Non-convex and .Stackelberg game based resource optimization framework stochastic optimization to reduce power and increase throughput . Lyapunov and weighted sum method are used to maximize EE and SE [12,13,15,16,18,19] Distributed and non linear Programing

Inband and Outband approach
In uplink D2D , joint channel and power allocation is considered: .Iterative combinatorial auction is used ensure QoS and increase EE . Coalition Game and whale optimization algorithm to optimize power allocation and system throughout .Stackelberg game with pricing is used to allocate channel and power to D2D pairs while ensuring QoS .Iterative matching-stackelberg game exploited to maximize D2D throughput [31] Non linear Programing Joint power control and resource scheduling scheme for underlay D2D networks to enhance: .Maximize network throughput and users' fairness [32] Non linear convex optimization QoS aware Channel assignment and Power control for uplink D2D Communication is proposed: .Maximize D2D sum rate .Minimize D2D-to-cellular interference .Applied convex optimization for D2D pairs to control interference [45] Centralized non linear optimization Bee Life Algorithm is proposed resource allocation and power control for D2D Communication .To optimize channel and power allocation .To find optimal solution via a diversified global search among all possible solutions .To escape a stagnation on local optimal by applying a biological process inspired by the bees' marriage behavior [50] Centralized MINP Soft frequency reuse based resource allocation algorithm is developed to: .Adopt power control and alleviates interference .Use both licensed and unlicensed band for D2D [65] Centralized non linear optimization Proposed quantum coral reefs algorithm .For joint resource and power allocation. .Reduce interference b/n users and improve communication quality .Maximize the total throughput .Guaranteeing the QoS of cellular users [75] Non convex non linear Programing QoS aware channel and power allocation scheme for D2D underlaid network is developed .To mitigate interferences from D2D .Maintain primary cellular user QoS. .Lagrangian method exploited to get optimal power of D2D [103] Analytical optimization Proposed a uniform interference power (UIP) resource allocation for uplink D2D network .Result show zero outage probability for cellular user .SE is enhanced by 20 times compared with no resource reused [41] Distributed and Non convex optimization formulate cellular user interference constraint as a probabilistic function by Bernstein approximation .    In band Underlay Centralized and distributed Stochastic Learning, machine learning, resource optimization Matching game, QCROA, Bio-inspired approach, heuristic,graph theory and more algorithm has been exploited .It is the focus of the research community [116] In band overlay Maximum weighted matching Heuristic dedicated sub-granting radio resource algorithm scheme for underlay D2D networks to enhance: .Maximize network throughput and users' fairness [118] In band overlay non-convex optimization problem Spectrum-power trading scheme proposed to maximize the weighted sum EE of D2D users [120] In band overlay nonconvex optimization Proposed distributed power allocation for D2D overlaying an OFDMA network .To maximize user sum rate subject to power constraint [122] In band overlay stochastic geometry Carryout analytical modeling of resource allocation in uplink D2D overlaying .Analyzed how different parameter affect coverage probability and ergodic rate of user [124] In  capacity of the network. Due to the high reuse factor, inband underlay D2D can improve the spectrum efficiency of cellular networks and has got wide research attention from the research community. However, it may also bring in cochannel interference between D2D and cellular links. This interference can be mitigated by introducing efficient resource allocation policies. Table  5 categorize some of the research conducted on D2D interference management and resource optimization based on inband underlay and overlay D2D communication network. The author in [116] proposed hierarchical radio resource allocation, sub-granting scheme, to optimize radio resource utilization and enhance cell throughput in overlay D2D communications subject to reliability and latency requirements for D2D communication.
The authors investigated the sub-granting radio resource assignment problem for the device to 13 EAI Endorsed Transactions on Mobile Communications and Applications Online First infrastructure (D2I) user. Simulation results show promising improvement for the proposed scheme compared to some other existing approaches.
In [117], the authors developed an efficient D2D couple scheduling strategy in overlay cellular networks to increases spectrum efficiency as well as throughput. The proposed solution maximizes throughput while minimizing packet dropping probability and average packet delay. The performance of the proposed algorithm has been evaluated considering packet dropping probability and average packet delay.
The author in [118] proposed a spectrumpower trading strategy for D2D overlaying communications to maximize the weighted sum energy efficiency of D2D user via joint D2D relay selection, bandwidth allocation, and power allocation while guaranteeing the Qos of the cellular user.
In this survey, we devoted our attention to resource optimization techniques proposed for inband D2D communications where the D2D paradigm is expected to have a significant role in achieving the tight 5G requirements and the network plays a major role in initiating, coordinating, and optimizing D2D communications and can improve the spectral efficiency significantly.

D2D Resource Optimization for Vehicular Communication
The continuous advancement in vehicular communication technology has led to the introduction of autonomous vehicular technology, which relies on vehicle-to-infrastructure, and vehicle-to-vehicle communication. Autonomous vehicles may need to exchange information such as traffic monitoring, infotainment data, and map data with other vehicles in the network. However, high mobility, bandwidth-hungry, low latency, and high-reliability requirement of the vehicular communications network are still the big challenge that needs to be addressed by the research community. On the other hand, the high reliability and low latency features of D2D communications make it to be one of the key promising technology of the emerging intelligent transportation system. For D2Dbased vehicular communication, how to efficiently and quickly allocate resources is a big challenge to address interference resulting from resource sharing. Thus, for D2D-based vehicular communications, it is indispensable to design an efficient spectrum sharing and power allocation algorithm for interference management and resource optimization. Table 6 summarize some of the research conducted on interference management and resource optimization for D2D based vehicular communication network.
The work in [132] investigated a joint channel assignment and power control problem to secure cellular underlaying V2V communication with an objective to maximize the secrecy rate of vehicular channels, where cellular and vehicles have the same priority. Numerical values show that the secrecy rate of their proposed scheme can be significantly improved compared to the existing scheme.
The author in [133] investigated a joint power control and resource allocation problem for D2D based V2X communication with an objective to maximize the sum ergodic capacity of the vehicular user under imperfect CSI and minimum SINR requirements of the cellular user. The numerical result show the effectiveness of the proposed algorithm and elaborated the proposed scheme can improve sum ergodic capacity.
In [141], the authors have proposed and investigated a cluster-based radio resource management scheme for D2D based safety critical vehicle-to-everything communication where resources are shared between different vehicular and cellular users. Their numerical result indicates a promising performance in terms of the key performance requirement latency and reliability.

D2D Resource Optimization for Efficient Data Dissemination
Due to the high data rate, low delay, and energy consumption, high bandwidth efficiency, and throughput features, D2D communication has got wide research attention from the research community for efficient data distribution and caching strategy. Having efficient data dissemination techniques is indispensable for supporting many D2D based content distribution and location-aware advertisement. Table 7 summarizes some of the research conducted on resource optimization for D2D based data distribution.
The authors in [143] proposed cooperative video content caching and dissemination strategy for the D2D communication network. They have investigated their proposed algorithm in terms of goodput and energy efficiency. In [145], the authors' proposed delay constrained data deposition for profit optimization in a D2D network, where receivers are unknown and data must be delivered to the receivers within an opportunistic delay constraint. The authors have proposed three algorithms,i.e. Direct selection of one and L Depositories, and Mixed Online Selection of L Depositories, and also evaluated their system performance. The author in [150] proposed a coalition game based on efficient data dissemination with power constraint for D2D based data distributions. Their numerical result shows a promising performance as compared to an optimal solution for various scenarios.

EAI Endorsed Transactions on Mobile Communications and Applications
Online First

Table 6. Resource Optimization for D2D-based Vehicular Communication
Reference Optimization problems Description [130] optimization problem Proposed heuristic Graph Coloring Based algorithm to: .Maximize capacity .Guarantee stability of V2V transmission requirement [131] convex optimization problem Developed reinforcement learning based slicing framework and optimization solution to: .Balance resource utilization and QoS satisfaction levels [132] mixed-integer non-convex optimization Proposed joint radio resource and power control to: .Secrecy rate maximization [133] nonconvex optimization Proposed distributed resource allocation based on enhanced Gale-Shapley algorithmfor to .Sum ergodic capacity of vehicular user .Maintaining minimum SINR requirements cellular user [134] Multi agent power allocation problem Deep reinforcement learning based power allocation .Network energy efficiency and flexibility [135] Non-linear and non-convex objective function Proposed Coalition game based resource allocation scheme .Maximize minimum throughput V2V link .Minimum V2I link throughput constraint. [136] Non-linear optimization problem Proposed immune algorithm based resource allocation .Maximize system throughput [138] Non-linear optimization problem Proposed location partition based resource allocation for in-band D2D based vehicle-to-vehicle communication .Maximize sum rate [139] stochastic optimization problem Proposed lyapunov optimization based resource allocation for D2D based vehicle-to-vehicle communication .Maximize sum rate downlink cellular use .Latency and reliability requirement of V2V communication [140] Non-linear optimization problem Proposed joint optimization of resource, power allocation, and modulation scheme, to maintain . Latency and reliability requirements of vehicular use . Maximizing information rate of cellular user [141] Non-linear NP-hard optimization problem Proposed cluster based resource management for D2D based v2x safety critical Table 7.

Resource Optimization for D2D-based Efficient Data Dissemination
Reference Optimization problems Description [142] Stochastic optimization problem Proposed caching strategy for mobile social networking in 5G and beyond to: .Maximize performance of mobile social network.
.Provide an in depth study of user mobility and QoS factor [143] Optimization problem Proposed distance and priority class based cooperative caching algorithms to .optimize system wide energy consumption improve system service capacity [144] optimization problem Proposed D2D assisted VR video dissemination and pre-caching algorithm based on QoE gain .improve QoE. .Under storage space and energy constraint [145] NP-hard optimization problem Proposed delay constrained profit maximization for data deposition and distribution for D2D network [146] Mixed integer nonlinear problem Proposed interference aware D2D pairing for collaborative data distribution [147] Mixed integer nonlinear optimization Proposed an energy aware efficient data distribution techniques with D2D Communications with weighted social community [149] Mixed integer linear optimization Proposed stable D2D user pairing for collaborative data distribution and effectively pair requesting user with caching user in close proximity. [150] Optimization problem Proposed a coalition game based data dissemination under minimum total power consumption Constraint.

EAI Endorsed Transactions on Mobile Communications and Applications
Online First

D2D Resource Optimization for Efficient Emergency Service
Despite the great development in mobile communication technology, there are still significant challenges to maintain stable communication services when the communication infrastructure is fully or partially damaged. With the recent increase in popularity of D2D communication technology, the research communities are focusing their attention on the development of multihop data delivery using mobile user devices independent of the operator network, which will allow emergency message delivery from the disconnected area. Table 8 summarizes some of the research conducted on resource optimization for D2D based public safety communication.
The author in [154] proposed caching strategy for D2D-assisted wireless emergency communication in order to maximize the effective capacity subject to delay constraint and conducted a numerical simulation to elaborate the performances of their proposed strategies. The authors in [157] developed SINR based synchronization protocol to help users in a victim area to establish a synchronized communication for public safety applications. Through numerical simulation, the authors have shown that their proposed protocol enabled more than 90% of the D2D device can successfully synchronize with the network, whereas only 75% of D2D users can successfully be connected with the network through the conventional protocols. The work in [161] proposed a cluster-based MAC scheme to support efficient D2D based emergency communication for a public safety service in a natural disaster area where the conventional cellular networks are paralyzed or malfunction.

D2D Resource Optimization for M2M Communication
In the emerging 5G and beyond 5G wireless communication, a massive number of the device need to access network with diverse quality of service requirement. It is estimated that machine-to-machine (M2M) devices will account nearly half of the total number of devices connected in the emerging network. Application of M2M communication can include smart home and health care, smart cities, environmental monitoring, intelligent transportation system, and even to the industrial domain. These applications of M2M communication requires massive device connection with diverse QoS requirement, and low power consumption. On the other hand, in order to cope with such a massive number of the device with divers requirements, there is a need for new paradigms to coordinate the access and exploit the scarce and limited resource efficiently. Hence, an efficient radio resource management scheme can play a vital role in the successful implementation of M2M communication. D2D is one of the key enablers of M2M communication. Table 9 provides a comprehensive survey on state-of-the-art research activity on radio resource management scheme in M2M communication.
The work in [162] investigated the medium access control (MAC) protocol for D2D systems with the synchronous transmission in order to provide sharing resources and protect the M2M system with asynchronous transmission using the ISM band. The author developed an analytical model based on the MAC protocol and studied the throughput performance of D2D and M2M sharing unlicensed spectrum. In [163], the authors investigated the problem of how to guarantee the massive and reliable connection requirement of M2M communication and route M2M data in a cost-effective manner. The authors proposed D2D based multi-hop M2M communication and developed a stochastic geometry-based model to investigate the coverage probability and average data rate of M2M communication. Their numerical result shows that the multi-hop M2M network can significantly enhance coverage and the average rate of the entire network.
The work in [164], considered the problem of designing transmission strategy selection algorithm for D2D based M2M underlaying cellular network. The authors proposed an evolutionary game-based algorithm to opportunistically switch the device between non-cooperative and cooperative strategies. The numerical result shows that the proposed algorithm can significantly improve system performance in terms of throughput and fairness. The authors in [166] proposed a D2D based M2M communication and offloading principle, where nearby M2M devices can communicate directly among themselves using D2D communication. Numerical result shows their proposed method provide a promising gain in terms of delay, throughput, and energy consumption for the M2M network.

D2D Resource Allocation and Optimization
This section systematically illustrates available literature considering their aims, problem constraints, formulated problem types, and followed solutions, which will enable us to grasp the trend of solutions for D2D resource optimization problems.

Objectives and Constraints
As can be seen from Table 10, due to the scarcity of spectrum resources, most of the available literature formulate their resource allocation optimization problem with an objective to realize efficient spectrum utilization. The author in [13,17,21,22,37,76,92,105] were formulated the resource optimization problem with an objective to maximize spectrum efficiency. Particularly, in [13] the author discussed the resource allocation problem as a Stackelberg game with pricing 16 EAI Endorsed Transactions on Mobile Communications and Applications Online First Survey on D2D Resource Scheduling and Power Control Techniques: State-of-art and Challenges Table 8.

Resource Optimization for D2D-based Public Safety Communication
Reference Optimization problems Description [154] non-convex problem Proposed caching and D2D assisted communications with statistical QoS provisioning for effective and time line delivery of emergency communication. [155] NP complete problem Proposed service oriented D2D communication strategy for post disaster management for improved energy consumption and packet delivery ratio. [156] NP optimization problem Proposed multi antenna precoding strategy and multi hop D2D communication to provide reliable communication and extended UAV coverage for disaster relief. [157] Stochastic optimization problem developed an SINR based synchronization protocol for D2D based Public Safety communications. [158] Stochastic optimization problem exploited energy harvesting relaying strategy with simultaneous information and power transfer to extend lifetime of energy constrained D2D based Public Safety network. [159]] Stackelberg game investigated a disaster management exploiting D2D cooperative communication with interference pricing and energy trading [160] Analytical optimization In order to maintain QoS requirement of emergency communication, an opportunistic multi-casting scheme is proposed for D2D based relaying scheme and to minimize delay and enhance throughput [161] Analytical model Proposed cluster based MAC protocol for D2D based public safety Communications Table 9. Resource Optimization for D2D-based M2M Communication Reference Optimization problems Description [162] Analytical model Exploited analytical model based MAC protocol to explore throughput performance of D2D and M2M sharing unlicensed resource. [163] stochastic geometry Proposed stochastic geometry based framework and studied coverage probability and average data rate of D2D based multi-hop M2M communication and perform extensive simulations to study system performance [164] Evolutionary Game Proposed evolutionary game based transmission strategy selection for D2D based M2M communication [165] stochastic geometry Proposed spectrum and power efficient massive code space multiplex access .Mitigate co-channel interference to mobile user .Avoid congestion . Minimize power consumption of M2M device [166] Optimization Problem Proposed multi-hop M2M communication where with nearby M2M devices communicate directly for higher resource utilization and better network performance. [167] Deterministic polynomial Proposed interference aware bipartite graph for D2D based M2M communication to time hard .Minimize power consumption .Efficient resource sharing [168] Analytical optimization Proposed techniques to aggregate and Trunk M2M Traffic through D2D Connection, where D2D user aggregate M2m data and supplement with its own data and send it to BS [169] Analytical derivation Proposed promising resource allocation for multi-hop D2D based M2M communication to enhance end-to-end latency to enhance the spectrum efficiency by providing services to more user equipment with limited spectrum resources. Whereas the authors in [17] propose a genetic algorithm-based method to minimize the interference and maximize the spectral efficiency. Through numerical evaluations, the authors demonstrate the performance of their proposed technique in terms of spectral efficiency and interference mitigation. The typical mathematical framework of the objective function to maximize spectrum efficiency can be shown as in 1: Where P and X are the power allocation vector and channel assignment matrix respectively. γ d represent the signal quality, whereas D and R are set of D2D pair and resource blocks.
The other most common objective of D2D resource allocation based on the literature review is energy efficiency. An efficient power control technique is one approach to deal with interference between D2D and cellular users, as well as the interference between different D2D pairs sharing the same resource for both uplink and downlink cases. The authors in [11,18,22,33,38]   ✓ QoS [72] ✓ powers and rates [75] ✓ ✓ [76] ✓ Sum rate of the D2D QoS for the CUE [79] Sum-rate of D2D CUE's minimum transmit rate [80] Bandwidth and throughput QoS [84] ✓ User's delay [89] ✓ Transmission power [90] ✓ ✓ [92] ✓ QoS and fairness [94] SINR distribution Transmission power [95] No. of admitted D2D links QoS [98] Increase frequency reuse QoS [99] Ergodic sum rates Outage probability. [95] ✓ Quality of service [100] ✓ ✓ [101] Cell coverage and user satisfaction Transmission power [103] ✓ Outage probability [105] ✓ ✓ as their objectives of the D2D resource allocation optimization problem. In [11], the authors formulate the resource allocation in D2D communications using the Stackelberg game with an objective to minimize total transmission power by combining how to utilize radio resources and power efficiently altogether. The authors formulate resource allocation optimization problems using the Stackelberg game theory with a single leader (Base station) and multiple followers (D2D pair). The Base station reduces interference within the network by pricing the followers, whereas followers react to the price and find an optimal transmission power and resource block allocation in a non-cooperative manner. The proposed approach reduced the transmit power and increases throughput.
The authors in [18] formulate the resource allocation problem in the form of an iterative combinatorial auction to minimize the system power consumptions while in [22] the authors formulates the problem as a stochastic optimization model aiming to maximize 18

EAI Endorsed Transactions on Mobile Communications and Applications
Online First Survey on D2D Resource Scheduling and Power Control Techniques: State-of-art and Challenges both energy and spectral efficiency concurrently, where resource allocation and power control are jointly optimized. Through theoretical investigation and numerical results, the convergence, optimality, and effectiveness of the proposed algorithms are also validated. The general objective function to maximize energy efficiency can be shown as in 2: Where η SE is the spectral efficiency as given in 1 and P is power spent in achieving η SE , which can be modeled as: Where P P A represents the total power consumed by the power amplifiers at the transceiver, P C represents the total circuit power consumed by different analog and digital signal processing circuits. Due to the increasing demand for high capacity, most of the works in the literature focus on maximizing network throughput or data rate as their main objective in developing their resource optimization problems, as can be seen from Table 10. In fact, the problem of how to maximize network capacity at minimum cost is the question of many literatures in the area. The authors in [14] propose an algorithm based on reinforcement learning to coordinate power allocation and control interference level aiming to maximize the sum rate of D2D pairs. In [15,16], the author address the resource allocation problem for underlay D2D pairs using matching theory. The author in [15] formulates the resource allocation optimization problem with an objective to maximize D2D throughput while imposing interference constraints to protect the cellular user. To solve the resulting nonlinear resource optimization problem, the author proposed a stable, self-organizing, and distributed solution based on the concept of matching theory. The authors formulated their system model considering the scenario where downlink resources are reused. However, downlink resources are heavily loaded than the uplink, hence reusing downlink resources is not preferable to improve the resource utilization efficiency. Also, only one D2D pair was allowed to reuse one cellular resource, hence multiuser diversity is not fully exploited. This can limit the number of served D2D pairs and spectrum efficiency, which can be improved if multiple D2D pairs are allowed to reuse the same resource.
The authors in [16] proposed cascaded channelpower allocation to maximize the sum rate of the D2D pair while guaranteeing the interference threshold to cellular users using matching-Stackelberg game theory. However, the proposed scheme can't enable D2D links to share resources with multiple cellular users. The network capacity and spectral efficiency can be improved further by using multiuser diversity gain; where the cellular resource is shared by multiple D2D pairs and each D2D pair reuse resource from the different cellular users.
The authors in [42]considered D2D enabled mobile edge computing (MEC) system for an informationcentric wireless network and studied how D2D communications can be favorable to MEC. Using a terminal device for content caching and the D2D link to help MEC node in performing data transmission can reduce download time and improve the quality of experience. On the other hand, because of spectrum reuse, serious inter-user interference occurs and can directly affect the quality of communication links. The author studied the resource allocation optimization problem with an objective to maximize spectrum efficiency and system capacity of the overall network based on a deep reinforcement learning approach.
As can be seen from Table 10, much literature takes SINR as one of their key constraints in their problem formation. The authors in [11, 12, 14-16, 20, 30] formulated their optimization problem while maintaining the SINR constraint of D2D and cellular users. In addition to SINR, there are many other constraints considered in formulating the channel power allocation optimization problems. Table 10 gives a summary of the literature considering their objectives and constraints.

Problem Type, Solution Approach and System Characteristics
This section analyzes the D2D resource allocation problem types and proposed solutions as well as characteristics of different approaches in the literature. A systematic organization of the literature available in the stated research area considering the various characteristics about system modeling, problem definition, and implementation can help researchers to understand the trend of solution approach for D2D resource optimization problems and can enable to identify ideas that have been thoroughly explored and those underexplored as a potential for further research.
As can be seen from table 11, most of the papers in the literature studied a single objective resource optimization problem, dealing with either the maximization of throughput, or spectrum efficiency or minimization of consumed energy [7][8][9][10][11][12][13][14][15][16], but authors in few other papers [11,22] proposed a multi-objective optimization problem. As multi-objective optimization can have better fairness than a single objective, it is important to put more effort into the formulation of a multi-objective D2D resource optimization problem in order to achieve an optimum value between energy and spectrum efficiency. The most common problem 19 EAI Endorsed Transactions on Mobile Communications and Applications Online First Abi A. Dejen, Yihenew Wondie and Anna Förster Fractional frequency reuse NP-hard and combinational M C M U Dual Lagrangian decomposition method [10] Hungarian Method, Convex optimization M C M D Self-Adaptive Power Control Strategy [11] Multi-criteria optimization problem M C S U Stackelberg Game [12] MINLP S D S U Many-to-one matching game [13] Stackelberg Game and Optimization problem S D S D Stochastic Learning Algorithm [14] Non-convex S D S U Q-learning [15] MINLP S D S D Matching game [16] Cascaded channel-power MINLP S D S U allocation using matching theory [17] Non-convex problem S C S U Optimization using genetic algorithm [18] MINLP S D S U Iterative combinatorial auction [19] Coalition game based RA and MINLP S D S U whale optimization based PC [20] Distributed clustering algorithm based Non-convex problem S D S U on the cross-layer coalitional game [21] Non-convex problem S D S U Stochastic geometry [22] Non-convex problem M C S U Stochastic optimization [31] D2D admission control + MINLP S C S U Hungarian Algorithm [32] Lambert W function + MINLP S C S U Gale-Shapley algorithm [34] Quantum coral reefs Optimization problem S D S D optimization algorithm (QCROA) [41] Successive convex approximation + Non-convex S D S U dual decomposition [43] MINLP S C S D Lagrange dual decomposition approach [39] Non linear optimizaion S C S U Convex optimization methods [45] Bio-inspired approach: Optimization problem S C S U Bees Life Algorithm (BLA) [49] greedy based mode selection MINLP S C S U and channel allocation algorithm [50] Optimization problem S C S U soft frequency reuse (SFR) [63] greedy algorithm and Optimization problem S C S Not stated water filling [65] quantumcoral reefs Optimization problem S C S D optimization algorithm [75] Non-convex non-linear programming problem S C S U Lagrangian method [76] Joint Beamforming and Optimization problem S C S U Resource Allocation [79] convex functions programming, Optimization problem S C S U Kuhn-Munkres algorithm [80] Optimization problem S C S U predatory search algorithm [84] constraint optimization problem S C S U Lagrangian approach [89] Optimization problem S C S U heuristic [90] Centralized resource optimization problem S C S U Overlapping coalitions [92] Optimization S C S U, D graph theory [94] Optimization problem S C S D power control method [95] Sequential Convex Convex optimizations S C S D Programming Approach [98] interference coordination methods Statistical model S C S U Blind Admission Control [99] Bipartite graph Nonconvex problem S C S U Hungarian algorithm [95] Nonlinear fractional programming problem S C S U First-order algorithm [101] Optimization problem S C S Not stated Lyapunov optimization [103] uniform interference Analytical optimization problem S C S U power (UIP) scheme [105] Bio-inspired power Optimization problem S C S U control and channel allocation types considered in the literature include mixedinteger non-linear programming [15,16,18], nonconvex optimization [17,20] convex optimization [11] and stochastic optimization [21,22]. For each problem type literature has proposed a different way of solution considering the complexity, stability, and also its effectiveness in improving the objective function. Particularly, the author in [15] formulates the resource allocation problem as a mixed-integer nonlinear optimization problem to maximize the D2D sum rate while protecting the cellular users. Whereas the authors in [17]  Survey on D2D Resource Scheduling and Power Control Techniques: State-of-art and Challenges problem as a convex optimization problem to maximize the D2D sum rate while protecting the cellular users and proposed a cascaded channel-power allocation using matching theory. Downlink or uplink resource reuse is the other essential feature regarding the system models considered in the literature. In practice, reusing uplink resources for D2D users can improve the utilization efficiency, since the uplink resources are less utilized than the downlink. In addition, when D2D pairs reuse uplink channels, interference from D2D pairs can be better treated by the base station, which is more powerful than mobile devices. Therefore, it is more efficient to reuse uplink resources. As can be seen from Table 11, most papers in the literature formulated their system models assuming that D2D communications share the uplink spectrum resource only [9,12,16,32,41], while a few papers [13,34,43,94,95] formulated their model considering the downlink spectrum resource.

Classification of D2D Resource Optimization: Based on Solution Approach
Most of the available literature on D2D channel-power optimization scheme focuses on in-band underlay D2D and its underlying problem of interference management, proposing techniques to coordinate, avoid, and/or mitigate interference and improve network performance. This section provides a comprehensive classification of the different resource assignment and power control optimization techniques proposed in the literature based on distance between D2D and cellular user, interference tolerance, optimization as can be dictated in Figure ??.

D2D Resource Allocation in Multi-cell Cellular Network
As it has been discussed in the previous sections, D2D resource allocations not only mitigate the harmful interference but also enable to enhance the network performance. Hence, the question of how to share the scarce resource to optimize the performance of D2D communication has got extensive research attentions. However, most of the current literature consider the resource allocation problem in the single-cell scenario, while little attention is given to optimize resource in a multi-cell scenario. In these papers, the transceiver of D2D pairs are located in the same cell. This can simplify the resource optimization problems since each D2D pair share resource within the same cell. In multicell D2D underlaid, besides the interference inside each cell, the resource optimization problem needs to coordinate the mutual interference between different cells as well as the handover issue. This is more practical in emerging 5G networks and difficult to analyze as it requires coordination between different cells. Therefore, it is indispensable to have an effective solution to optimally allocate resources and maximize the performance of the network where the D2D transceivers have arbitrary location as it essential to optimize network resources and provide satisfactory experiences for cell edge users. This could be a potential research direction as it enables us to investigate and understand the practical operational efficiency of future cellular-assisted D2D communications.

User Mobility Impact on D2D Resource Allocation
Because of unpredictable user mobility, the potential D2D-enabled application and service envision highly opportunistic device contact. User mobility would affect the chances the user meets and establish a direct link, which can result in a negative impact on individual D2D link performance (duration, throughput ) and the overall D2D system performance (offloading gain, device/content availability). This would result in frequent mode selection as well as resource allocation problems which can degrade the resulting system performance. However, the existing literature gives less attention to consider user mobility in resource allocation problems. The majority of the literature assumes that the base station senses the global instantaneous CSI of all the D2D and cellular links, but this assumption is not practical for the fast-moving D2D system. Therefore, one can deal the impact of user mobility on D2D resource assignment and power control to understand the practical operational efficiency of future cellularassisted D2D systems as it may have a profound impact on the resulting system performance.

Channel Measurements
In centralized resource allocation, the central controller requires the channel gain from BS to every D2D pair, between D2D pairs and CUE as well as the gain among different D2D pairs. In the distributed case, the central controller requires the channel gain from BS to each D2D pair and each D2D pairs would require the channel gain between itself and every other D2D pairs. In both cases, a tremendous amount of resources could be utilized to estimate and feedback the channel gain, which can affect resource utilization efficiency. The required channel measurement and reporting depend on the level to which the base station is involved in the channel assignment. Most of the existing resource allocation schemes are developed under the assumption that all information required for channel assignment are available at the intended nodes, which can limit their applicability.

Common features
Here CUEs and D2D pairs are not allowed to operate simultaneously (share resource) if the distance between them is less than a predefind threshold. e.g. interference alignment technique.
Ref [ 110,112,113,114] Common features Here an optimization problem are formulated with an objective to maximize different network parameter with QoS and/or power constraints.It can be either distributed or centralized implementation and it is the focus of literature in the area.
[4 − 17] With the densification and massive connectivity in the future, it is crucial to study the signaling overhead compared to the performance obtained and design a resource allocation scheme with limited channel state information utilizing either statistical information or link adaptation as it can significantly reduce signaling overhead and improve resource efficiency.

Multi-objective Optimization
Most of the papers in the literature studied a single objective optimization problem dealing with either maximization of spectral efficiency or minimization of consumed energy, but authors in a few other papers considered multi-objective optimization problems. As multi-objective techniques can have better performance than single objectives, it is important to put more effort into the formation of a multi-objective resource optimization problem for D2D underlaid cellular network in order to achieve an optimum value between energy and spectrum efficiency.

D2D Resource Allocation in Heterogeneous Networks
The emerging fifth-generation network is expected to provide 1,000-times increases in network capacity and massive connectivity with low latency. To achieve these ambitious targets, heterogeneity is expected to be a key feature in 5G deployment, which incorporates 22 EAI Endorsed Transactions on Mobile Communications and Applications Online First an increasing number of small cells with different transmission power and coverage, providing a high date rate. Efficient resource management and interference coordination among different nodes would become more challenging, yet essential to optimize network resources and provide a satisfactory user experience. D2D communication works more efficiently in heterogeneous than single-cell homogeneous networks as it can save more resources, especially when the users are located at cell edges. Due to limited backhaul connection in small cell heterogeneous networks, D2D can be a promising technology for the future multilayer heterogeneous network for optimizing spectral efficiency. But, the integration of D2D communications in a heterogeneous network would also be much more complicated because neighboring cells have to cooperate which results in many research and design challenges. Particularly, resource optimization and power control mechanism are more complicated than in the conventional homogeneous cellular network, as the resource allocation problem split from a single cell to multi-cell and the handover issue becomes more frequent.

D2D Resource Allocation in Multi-antenna Base Station
Multi-antenna BS also called massive MIMO is one of the most promising technologies proposed to achieve the envisioned requirement of future generation networks. The use of a large number of base station antennas over the number of user yield a favorable propagation where the channel vectors between the users and the BS are pairwisely orthogonal so that a simple linear signal processing (liner precoding and decoding) are nearly optimal. This will enable the transmission of the cellular user data in the null space of the channels of other cellular users so that the interuse interference can be canceled out. If we consider beamforming and/or linear detection techniques to cancel out the interference caused by the cellular transmission to D2D users, designing a cellular users precoding vector in the downlink or linear decoding matrix in the uplink so that its data is transmitted in the null space of D2D users channels would be one potential research direction to facilitate the smooth operation of D2D in the future multi-antenna cellular network. Based on the different multi-antenna transmission techniques, D2D resource assignment and precoding/ decoding vector can be jointly optimized to maximize the overall system throughput. The D2D resource assignment should also keep the interference from D2D to cellular below a certain level so that the SINR of the cellular user will meet the requirements for successful transmission. However, most of the existing literature considers the resource allocation problem in the single-antenna BS, while little attention is paid to optimize resource in multi-antenna BS scenario.

Conclusion
In this paper, we have presented a comprehensive survey on D2D resource scheduling and power controlrelated research works, which can significantly help the research community in the area to identify the pros and cons of existing works and perform further investigation for its sustainable implementation. It first introduces the main driving factor for the wireless industry to develop network-assisted D2D communication and associated challenges. It then provides an in-depth literature survey that discusses broader features, requirements, and challenges of D2D resource allocation optimization which are largely missing in the existing survey. It gives a solid comparison on D2D spectrum optimization and power control related works by considering their problem type, solution approach, level of network involvement, their use case and system characteristics, objective and constraints to give broader insights for the readers in the area to figure out the strength and weakness of proposed solution. Based on the surveyed papers, it finally outlined potential open research issues which are believed to deserve further investigations for successful implementation of D2D in the emerging networks.
According to the surveyed paper, even though D2D is an economic and promising technology to enhance network performance, its implementation poses significant challenges pertaining to interference management. Without proper interference coordination, the efficiency of the D2D underlaying cellular network may be deteriorated rather than improving. Thus, for D2D communication to be an integral technology of the emerging cellular network, researchers should overcome the associated challenges in order to completely grasp its advantage. As far as we have a limited cellular resource, the question of how to efficiently use the scarce available resource to optimize different network performance will remain the main focus of the research community in the area. For a sustainable implementation of D2D, the main research question in the literature is how to optimally allocate resources and adjust their level of transmission power to exploit frequency reuse and multi-user diversity so that one cellular user's resource can be shared by multiple D2D pairs and a D2D pair can reuse resources from different cellular users to advance network performance without compromising the performance of primary cellular users. This survey paper can help the future readers to better understand the D2D concepts and challenges and enable them to have a better understanding of future 23 EAI Endorsed Transactions on Mobile Communications and Applications Online First