{'fraction_non_alphanumeric': 0.013547840812870448, 'fraction_numerical': 0.002540220152413209, 'mean_word_length': 5.459016393442623, '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}}
Device discovery and connection establishment approach using Ad-Hoc Wi-Fi for opportunistic networks

We propose a device discovery approach and connection establishment scheme for opportunistic networks using Ad-Hoc Wi-Fi as the underlying communication technology. We employ beacon stuffing method for a device to announce its existence in its neighborhood by broadcasting beacons stuffed with useful information in the field of SSID to remote devices. This method can allow a device to discover multiple devices and their running applications without performing connection establishment attempt while limiting the communication for device discovery only on MAC layer. In order to enhance energy efficiency, we also develop a score-based scanning schedule for device discovery operation. Once the neighbor is discovered, we present a connection establishment scheme between peers. We implement our proposed scheme on HP IPAQ 910 mobile phone equipped with Wi-Fi and Bluetooth. Extensive experiments have been carried out to evaluate our approach. The experiment results show that our approach can achieve high energy efficiency and satisfactory peer connection speed and quality.