Patent ID: 10045277

Abstract:
Embodiments of the application provide a mobile device and method for relaying by a mobile device, the mobile device comprising one or more processors, and a memory storing therein computer readable program codes configured to be performed by the one or more processors to perform: connecting with a wireless access point through a station node of Wireless Fidelity (Wi-Fi); invoking an interface of a network service in a relay application to send a relay instruction based upon a P2P node of Wi-Fi to a Wi-Fi module so that logon information of the mobile device is broadcasted and the mobile device is connected to one or more electronic devices through the P2P node; enabling a packet forward function to enable a data packet to be forwarded between the different nodes of Wi-Fi in the mobile device; and invoking an address table service in the relay application 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.