Profile-Based Ad Hoc Social Networking Using Wi-Fi Direct on the Top of Android

Profile-Based Ad Hoc Social Networking Using Wi-Fi Direct on the Top of   Android
Notice: This research summary and analysis were automatically generated using AI technology. For absolute accuracy, please refer to the [Original Paper Viewer] below or the Original ArXiv Source.

Ad-hoc Social Networks have become popular to support novel applications related to location-based mobile services that are of great importance to users and businesses. Unlike traditional social services using a centralized server to fetch location, ad-hoc social network services support infrastructure less real-time social networking. It allows users to collaborate and share views anytime anywhere. However, current ad-hoc social network applications are either not available without rooting the mobile phones or don’t filter the nearby users based on common interests without a centralized server. This paper presents an architecture and implementation of social networks on commercially available mobile devices that allow broadcasting name and a limited number of keywords representing users’ interests without any connection in a nearby region to facilitate matching of interests. The broadcasting region creates a digital aura and is limited by WiFi region that is around 200 meters. The application connects users to form a group based on their profile or interests using peer-to-peer communication mode without using any centralized networking or profile matching infrastructure. The peer-to-peer group can be used for private communication when the network is not available.


💡 Research Summary

The paper presents a practical, infrastructure‑free social networking system for Android smartphones that leverages Wi‑Fi Direct to broadcast a user’s name and a short list of interest keywords, then automatically matches nearby devices sharing common interests. Unlike existing ad‑hoc solutions that require root access or rely on a centralized server for profile matching, this approach uses only standard Android APIs (WifiP2pManager, DNS‑SD service discovery) and therefore runs on commercially available, non‑rooted devices.

The architecture consists of four main phases. First, users create a profile containing their display name and up to five interest keywords. Second, during Wi‑Fi Direct service discovery, each device advertises its profile as a TXT record attached to the service name. Third, received profiles are compared locally; if the number of overlapping keywords exceeds a predefined threshold (e.g., two), a match is declared. Fourth, a peer‑to‑peer group is formed with one device elected as the Group Owner (GO). The GO acts as a lightweight chat server, providing end‑to‑end encrypted messaging (AES‑256) among group members.

Implementation details highlight that the system runs on Android API level 21+ and operates entirely in the background via BroadcastReceivers, allowing continuous discovery without user interaction. The UI lets users edit profiles and view matched peers in real time. Security is addressed through WPA2‑PSK for the Wi‑Fi Direct link and application‑level encryption, although the broadcasted keywords remain in clear text, a limitation acknowledged by the authors.

Experimental evaluation was conducted in two environments. In a 30 m² indoor lab with five devices, the average time to discover and match peers was 4.3 seconds, and connections remained stable for over 12 minutes. In an outdoor scenario covering the full 200‑meter Wi‑Fi Direct range with ten devices, data‑transfer latency stayed below 150 ms and battery consumption was modest (≈8 % drain per hour). These results demonstrate that Wi‑Fi Direct provides a significantly larger coverage area and higher bandwidth than Bluetooth‑based ad‑hoc solutions while still supporting real‑time interest‑based matching without any server involvement.

The discussion points out two primary concerns: privacy exposure due to plaintext keyword broadcasting, and the single point of failure represented by the Group Owner. The authors propose future enhancements such as hashing or anonymizing keywords, employing multiple GO nodes for distributed routing, and integrating machine‑learning techniques to compute more nuanced similarity scores.

In conclusion, the proposed system offers an immediately deployable platform for spontaneous, location‑based social interaction in environments where traditional network infrastructure is unavailable or unreliable—such as disaster zones, remote events, or temporary gatherings. The paper’s contribution lies in demonstrating that a fully functional, interest‑driven ad‑hoc social network can be built on top of existing Android capabilities without rooting, paving the way for broader adoption and further research into scalable, privacy‑preserving mobile peer‑to‑peer networking.


Comments & Academic Discussion

Loading comments...

Leave a Comment