{'fraction_non_alphanumeric': 0.027642276422764227, 'fraction_numerical': 0.004878048780487805, 'mean_word_length': 5.411458333333333, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Resource Allocation for D2D Communication Underlying 5G Heterogeneous Cloud Radio Access Networks

Device-to-device (D2D) communication and heterogeneous cloud wireless access network (H-CRAN) are widely regarded as two important technologies in fifth-generation (5G) network. However, due to the lack of spectrum resources, D2D needs to share resources of other users. The interference caused by the resource sharing has become a serious challenge. In this paper, we investigate how to allocate the spectrum resources of macro cellular users (MUE) to D2D pairs and remote radio head users (RUE) under the premise of ensuring quality of service (QoS). We regard the resource allocation problem as a one-to-one match game. Firstly, we adopt the marriage matching theory to get the preliminary matching scheme. Secondly, we propose a resource exchange strategy based on the preliminary matching according to certain rules to improve system throughput. The resource exchange strategy is consistent with Kaldor-Hicks Principle which is maximization criterion of the overall throughput. Finally, simulation results show that the resource exchange strategy can improve system throughput effectively while meeting the QoS simultaneously.