Patent ID: 8879531
Filing Date: 2014-11-04
Classification: H04L,H04W

Abstract:
1. A mobile router capable of automatically detecting a network connection mode and performing network connection setting, wherein the mobile router can connect with a network transmission device which is a wired Ethernet transmission device, a wireless Local Area Network (LAN) transmission device, or a wireless Wide Area Network (WAN) transmission device in a corresponding one of at least a network connection mode based on a wired Ethernet referred to as a wired Ethernet connection mode, a network connection mode based on a wireless LAN referred to as a wireless LAN connection mode, and a network connection mode based on a wireless WAN referred to as a wireless WAN connection mode, and wherein the mobile router can transmit a network packet from a terminal device to the Internet through a corresponding said network transmission device or from the Internet to the terminal device through a corresponding said network transmission device, the mobile router comprising: an Ethernet cable connection port for connecting with an Ethernet cable to enable the mobile router to connect with the wired Ethernet transmission device in the wired Ethernet connection mode; a Universal Serial Bus (USB) connection port for connecting with a wireless network interface card to enable the mobile router to connect with the wireless WAN transmission device in the wireless WAN connection mode; a detection unit for separately detecting a connection state of the Ethernet cable connection port and of the USB connection port and determining whether the Ethernet cable or the wireless network interface card is connected to the Ethernet cable connection port or the USB connection port; a communication unit through which the mobile router can connect, either in the wired Ethernet connection mode or the wireless WAN connection mode or directly in the wireless LAN connection mode, with a corresponding said network transmission device; a storage unit for storing a plurality of profiles, each profile storing a set of network connection settings; and a control unit so configured that: when the detection unit determines that the Ethernet cable is connected to the Ethernet cable connection port, the control unit drives the communication unit to connect with the wired Ethernet transmission device in the wired Ethernet connection mode; when the detection unit determines that the Ethernet cable is not connected to the Ethernet cable connection port and that the wireless network interface card is connected to the USB connection port, the control unit drives the communication unit to connect with the wireless WAN transmission device in the wireless WAN connection mode; when the detection unit determines that the Ethernet cable is not connected to the Ethernet cable connection port and that the wireless network interface card is not connected to the USB connection port, the control unit drives the communication unit to scan directly for the wireless LAN transmission device, which can serve as a wireless LAN hotspot, and to connect with the wireless LAN transmission device in the wireless LAN connection mode; and after the communication unit establishes an ongoing connection with a said network transmission device in a corresponding said network connection mode, the control unit reads the profiles stored in the storage unit and determines whether there is a corresponding profile corresponding to the ongoing connection, wherein if yes, the control unit applies network connection settings in the corresponding profile to the ongoing connection so as for the mobile router to log on to the Internet through the network transmission device; if no, the control unit sends a setting request to the terminal device through the communication unit, receives a setting command from the terminal device, applies new network connection settings in the setting command to the ongoing connection, and, once the mobile router successfully logs on to the Internet through the network transmission device, writes the new network connection settings into the storage unit for storage as a profile.