Patent ID: 10212641

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.