Method and device for obtaining peer device ip address in Android wifi-direct connection
A peer-to-peer device and IP address technology, applied in the field of communication, can solve problems such as complicated acquisition methods and dependence on peer-to-peer devices, and achieve simple and effective results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Such as figure 1 As shown, a method for obtaining the IP address of a peer device in an Android WiFi-Direct connection includes the following steps:
[0037] S1: Establish a WiFi-Direct connection with a peer device.
[0038] S2: requesting to obtain the peer-to-peer network group information, and determining the corresponding MAC address of the peer device according to the peer-to-peer network group information.
[0039] S3: Retrieve the ARP node address cache table according to the MAC address and the keyword representing the point-to-point connection, and determine the corresponding IP address of the peer device.
[0040] This method does not change the Android native WiFi-Direct framework, retrieves the ARP node address cache table through the MAC address of the peer device and the keyword representing the point-to-point connection, and directly obtains the IP address of the peer device; and does not depend on the peer device, no need Assign the role of the device...
Embodiment 2
[0061] This embodiment provides a device for obtaining the IP address of a peer-to-peer device in an Android WiFi-Direct connection, including: a memory, a processor, and a computing program stored on the memory and operable on the processor, and the computing program is executed by the processor Steps S1-S3 of the method in Embodiment 1 are realized during execution.
[0062] Specifically, when the calculation program is executed by the processor, steps S21-S23 of the method in Embodiment 1 are also implemented.
[0063] Specifically, when the calculation program is executed by the processor, steps S31-S34 of the method in Embodiment 1 are also implemented.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



