Relaying apparatus of a mobile device, and method thereof
First Claim
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 Assignments
0 Petitions
Accused Products
Abstract
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.
-
Citations
17 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 17)
-
-
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. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
Specification