Methods and arrangements to relay packets via wi-fi direct
US-2018098229-A1 · Apr 5, 2018 · US
US10212641B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10212641-B2 |
| Application number | US-201615091044-A |
| Country | US |
| Kind code | B2 |
| Filing date | Apr 5, 2016 |
| Priority date | Sep 30, 2015 |
| Publication date | Feb 19, 2019 |
| Grant date | Feb 19, 2019 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Embodiments of this disclosure provide a relaying apparatus of a mobile device and an method thereof, the apparatus including: at least one processor; and a memory in which at least one instruction executable by the at least one processor is stored, wherein the at least one instruction is configured to be executed by the at least one processor: to connect the mobile device with a wireless access point; to obtain login information for logging into the mobile device; to enable a packet forwarding function to enable a data packet to be forwarded between different nodes of Wi-Fi in the mobile device; to send a relay instruction to a Wi-Fi module through a P2P node of Wi-Fi when the wireless access point is a router and the mobile device is connected with the router through a station node of Wi-Fi, so that the login information of the mobile device is broadcasted, and one or more electronic devices are connected through the P2P node; to send configuration information of packet forwarding to the Wi-Fi module to enable the data packet to be forwarded between the station node and the P2P node; and to enable a portable hotspot softAP node according to the login information to connect the mobile device with one or more electronic devices, when the wireless access point is a base station and the mobile device is connected with the base station through a mobile communication data node.
Opening claim text (preview).
The invention claimed is: 1. A mobile device comprising at least one processor, a Wi-Fi module, and a memory in which instructions executable by the at least one processor are stored, wherein the at least one processor is configured to execute the instructions to: connect with a wireless access point through a station node of the Wi-Fi module; broadcast login information to one or more external electronic devices; connect with the one or more external electronic devices through a Peer-to-Peer (P2P) node of the Wi-Fi module after the one or more external electronic devices have been verified based on the broadcasted login information; enable a packet forwarding function in the mobile device to support a data packet to be forwarded between the station node and the P2P node in the mobile device; send configuration information for the packet forwarding function to the Wi-Fi module to allow the data packet to be forwarded between the station node and the P2P node; receive the login information from the one or more external electronic devices for logging into the mobile device, the login information comprising a service set identifier and a password; calculate a length of the service set identifier, and a length of the password; encapsulate the service set identifier, the length of the service set identifier, the password and the length of the password in a relay instruction: and send the relay instruction to the Wi-Fi module in a group mode of the P2P node to broadcast the service set identifier over a predefined channel. 2. The mobile device according to claim 1 , wherein the at least one processor is further configured to execute the instructions to send configuration information of a Domain Name System (DNS) to the Wi-Fi module so that a data packet received by the P2P node is forwarded. 3. The mobile device according to claim 1 , wherein the at least one processor is further configured to execute the instructions to: receive in the P2P node a data packet sent by the one or more external electronic devices; forward the data packet from the P2P node to the station node; and send the data packet from the station node to the wireless access point for forwarding the data packet to a target device. 4. The mobile device according to claim 1 , wherein the at least one processor is further configured to execute the instructions to: receive in the station node a data packet sent from the wireless access point; forward the data packet from the station node to the P2P node; and send the data packet from the P2P node to the one or more external electronic devices. 5. The mobile device according to claim 1 , wherein the at least one processor is further configured to execute the instructions to: send a routing table to the Wi-Fi module, wherein the routing table comprises a route between an IP address for the P2P node and an IP address for the station node; and send configuration information of a Network Address Translation (NAT) function to the Wi-Fi module so that the IP address for the P2P node is translated. 6. A relaying method of a mobile device, the method comprising: connecting with a wireless access point through a station node of a Wi-Fi module in the mobile device; broadcasting login information to one or more external electronic devices; connecting with the one or more external electronic devices through a Peer-to-Peer (P2P) node of the Wi-Fi module in the mobile device after the one or more external electronic devices have been verified based on the broadcasted login information; enabling a packet forwarding function in the mobile device to support a data packet to be forwarded between the station node and the P2P node in the mobile device; sending configuration information for the packet forwarding function to a Wi-Fi module in the mobile device to allow the data packet to be forwarded between the station node and the P2P node; wherein broadcasting the login information to the one or more external electronic devices comprises receiving the login information from the one or more external electronic devices for logging into the mobile device, the login information comprising a service set identifier and a password, calculating a length of the service set identifier, and a length of the password, encapsulating the service set identifier, the length of the service set identifier, the password and the length of the password in a relay instruction, and sending the relay instruction to the Wi-Fi module in a group mode of the P2P node to broadcast the service set identifier over a predefined channel. 7. The method according to claim 6 , further comprising: sending configuration information of a DNS to the Wi-Fi module so that a data packet received by the P2P node is forwarded. 8. The method according to claim 6 , wherein sending the configuration information for the packet forwarding function to the Wi-Fi module comprises: sending a routing table to the Wi-Fi module, wherein the routing table comprises a route between an IP address for the P2P node, and an IP address for the station node; and sending configuration information of a Network Address Translation (NAT) function to the Wi-Fl module so that the IP address for the P2P node is translated. 9. The method according to claim 7 , wherein sending the DNS to the Wi-Fi module comprises: sending an address of a gateway of the DNS based on a Transport Control Protocol (TCP) to the Wi-Fi module; and sending the address of the gateway of the DNS based on an open system intemet protocol to the Wi-Fi module. 10. The method according to claim 6 , wherein connecting with the one or more external electronic devices through the P2P node comprises: upon receiving a request from the one or more external electronic devices for a service set identifier in the login information, returning a response message to the one or more external electronic devices; upon receiving a connection request from the one or more external electronic devices, verifying a password in the connection request for consistency with a password in the login information according to a length of the password in the login information; and in response to the password in the connection request being consistent with the password in the login information, having the one or more external electronic devices connect with the P2P node. 11. The method according to claim 6 , further comprising: receiving in the P2P node a data packet sent by the one or more external electronic devices; forwarding the data packet from the P2P node to the station node; and sending the data packet from the station node to the wireless access point for forwarding the data packet to a target device. 12. The method according to claim 11 , wherein the data packet comprises Uniform Resource Locator (URL) information, and the wireless access point is configured to map the URL information to an IP address through a DNS and forward the data packet to the target device at the IP address. 13. The method according to claim 11 , wherein forwarding the data packet from the P2P node to the station node comprises: determining whether a source address of the data packet is a first IP address of the P2P node; in response to determining that the source address of the data packet is the first IP address for the P2P node, translating the first IP address into a target IP address; searching a routing table for a second IP address corresponding to the first IP address; and forwarding a converted data packet from the target IP address to the station node at the second IP address. 14. The method according to claim 6 , further comprising:
using the level of interference · CPC title
Translation of Internet protocol [IP] addresses · CPC title
Electricity · mapped topic
Authentication · CPC title
between local and global IP addresses · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.