Apparatus and method for relaying by mobile device
Abstract
Embodiments of the present application provide an apparatus and method for relaying by a mobile device, the apparatus including: a wireless access node connecting module configured to access to an external wireless access point through a station node of Wi-Fi inbuilt in the mobile device; a relay instruction sending module configured to send a relay instruction to a Wi-Fi module inbuilt in the mobile device through a P2P node of Wi-Fi inbuilt in the mobile device so that logon information of the mobile device is broadcasted, and one or more external electronic devices access to the mobile device through the P2P node; a packet forward enabling module configured to enable a packet forward function so that a data packet is forwarded between the different nodes of WiFi inbuilt in the mobile device; and a packet forward configuring module configured to send configuration information of packet forwarding to the Wi-Fi module so that a data packet is forwarded between the station node and the P2P node.
Claims
exact text as granted — not AI-modified1 .- 20 . (canceled)
21 . A mobile device, comprising:
an instruction storage device; and a processor in communication with the instruction storage device, wherein the instruction storage device includes instruction code executable by the processor for causing the processor to:
establish a first connection to a wireless access point, the first connection conforming to a WiFi station protocol;
establish a second connection to an external device, the second connection conforming to a P2P protocol;
receive information from the external device via the second connection; and
forward the information to the wireless access point via the first connection.
22 . The mobile device according to claim 21 , wherein the instruction code causes the processor to:
broadcast logon information via the P2P protocol; and receive a request from the external devices that includes the logon information to thereby establish the second connection.
23 . The mobile device according to claim 21 , wherein the logon information includes a Service Set Identifier (SSID) and a password.
24 . The mobile device according to claim 21 , wherein the instruction code causes the processor to:
assign a first IP address to the first connection and a second IP address to the second connection; and establish a routing table with an entry that controls the processer to route information between the first and the second IP addresses.
25 . The mobile device according to claim 21 , wherein the instruction code causes the processor to:
configure a Domain Name System (DNS) to facilitate forwarding a packet received by via the second connection from the external device.
26 . The mobile device according to claim 21 , wherein an RF channel utilized by the first connection is different from an RF channel utilized by the second connection.
27 . The mobile device according to claim 21 , wherein the instruction storage device includes second instruction code that implements an operating system, and the first instruction code executable by the processor corresponds to an application that operates in cooperation with the operating system.
28 . A method performed on a mobile device, comprising:
establishing a first connection to a wireless access point, the first connection conforming to a WiFi station protocol; establishing a second connection to an external device, the second connection conforming to a P2P protocol; receiving information from the external device via the second connection; and forwarding the information to the wireless access point via the first connection.
29 . The method according to claim 28 , further comprising:
broadcasting logon information via the P2P protocol; and receiving a request from the external devices that includes the logon information to thereby establish the second connection.
30 . The method according to claim 28 , wherein the logon information includes a Service Set Identifier (SSID) and a password.
31 . The method according to claim 28 , further comprising:
assigning a first IP address to the first connection and a second IP address to the second connection; and establishing a routing table with an entry that controls the processer to route information between the first and the second IP addresses.
32 . The method according to claim 28 , further comprising:
configure a Domain Name System (DNS) to facilitate forwarding a packet received by via the second connection from the external device.
33 . The method according to claim 28 , wherein an RF channel utilized by the first connection is different from an RF channel utilized by the second connection.
34 . The method according to claim 28 , wherein the instruction storage device includes second instruction code that implements an operating system, and the first instruction code executable by the processor corresponds to an application that operates in cooperation with the operating system.
35 . A non-transitory computer readable media that includes instruction code executable by a machine for causing the machine to:
establish a first connection to a wireless access point, the first connection conforming to a WiFi station protocol; establish a second connection to an external device, the second connection conforming to a P2P protocol; receive information from the external device via the second connection; and forward the information to the wireless access point via the first connection.
36 . The non-transitory computer readable media according to claim 35 , wherein the instruction code causes the machine to:
broadcast logon information via the P2P protocol; and receive a request from the external devices that includes the logon information to thereby establish the second connection.
37 . The non-transitory computer readable media according to claim 35 , wherein the logon information includes a Service Set Identifier (SSID) and a password.
38 . The mobile device according to claim 35 , wherein the instruction code causes the machine to:
assign a first IP address to the first connection and a second IP address to the second connection; and establish a routing table with an entry that controls the processer to route information between the first and the second IP addresses.
39 . The non-transitory computer readable media according to claim 35 , wherein the instruction code causes the machine to:
configure a Domain Name System (DNS) to facilitate forwarding a packet received by via the second connection from the external device.
40 . The non-transitory computer readable media according to claim 35 , wherein an RF channel utilized by the first connection is different from an RF channel utilized by the second connection.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.