{'fraction_non_alphanumeric': 0.0170863309352518, 'fraction_numerical': 0.007194244604316547, 'mean_word_length': 5.217877094972067, '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}}
Dynamic Spectrum Algorithm Based on D2D Communication

Device-to-device (D2D) communication is a concept that promises the overall performance enhancement by allowing direct communication between the devices which are in proximity. The idea of implementing in-band and out-band spectrums together in a D2D assisted mobile users will be relevant to the landscape of the 5G networks. Nevertheless, limited research works are available on efficient transmission of the data when both spectrums are used simultaneously. In this paper, we propose an efficient dynamic spectrum that utilize the licensed and unlicensed bands, based on the distance between the D2D link, in such a way that it selects the best band for establishing the D2D links in the network. The proposed algorithm is based on the distance between the D2D link, where it selects the most efficient band that reduces the interference of the D2D connection and maximizes the network throughput. The simulation results show that the proposed algorithm, using dynamic spectrum, achieves a higher network performance compared with other static spectrums.