{'fraction_non_alphanumeric': 0.01699604743083004, 'fraction_numerical': 0.0023715415019762848, 'mean_word_length': 4.983451536643026, '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}}
Smart Technique for Cache-Assisted Device to Device Communications

The emergence of smart terminals with the consequence of higher network traffic growth rates, has increased the demand for new techniques that are needed to meet user requirements for high-quality communication and social media services. One of these techniques is Device-to-Device (D2D) communication, allowing direct data transmission of popular files between users. This is an advantage during rush hours where there is no access to the traffic via a base station (BS), thereby reducing network loads. In this article, we propose a new caching paradigm for D2D communication to achieve the goal of rising network offloading. A Smart Adaptive Algorithm (SAA) is proposed that smartly selects users with higher probabilities of sharing more data, then places popular files in their cache. This is done to optimize network offloading at minimal consumed energy by the user (user cost), taking into account the user speed, location, predicted zones, interests, and the size of the requested file. The data offloading ratio is taken as a performance metric in evaluating network offloading. It is defined as the proportion of requested data that can be delivered via D2D links. The offloading ratio is calculated in different scenarios in order to assess the influence of proactive caching on core network load. To minimize the complexity of the algorithm, and to respond in a shorter time period to the number of requests, user demand shall be handled with both the base station and the user’s device application. For the simulation and implementation of the proposed algorithm, a human mobility model that predicts different human mobility behaviors is used. The simulation results reveal that the offloading ratio is significantly affected by the size of the file transmitted via D2D connection as well as the user speed. The amount of increase in the offloading ratio due to the increase in the user speed is based on the size of the files transmitted through D2D connection. The smaller files transmitted via D2D connection would result in a significant increase in the offloading ratio, whereas the larger file size would result in a less change in the offloading ratio for higher speed users. The simulation results also reveal that higher speed users share more data at a high bit rates compared to users with lower speeds. Simulation results also show that the proposed SAA has superior performance as compared to other algorithms available in literature.