Network connection method and terminal equipment
A terminal device and network connection technology, applied in network connection, electrical components, transmission system, etc., can solve problems such as low success rate of network access and inability to automatically switch network cards of network connection devices, so as to improve user experience and success rate Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] A network connection method according to an embodiment of the present invention, the method includes the steps of:
[0064] When the terminal device is connected to the network, use the network card to connect to the network;
[0065] When the network connection using the network card fails, the terminal device uses other network cards on the terminal device to perform network connection.
[0066] Preferably, the method for the terminal device to use other network cards on the terminal device for network connection is:
[0067] Find the next network card in the network card list of the terminal device, modify the routing table and use the found network card to connect to the network, if the connection fails, continue to search for the next network card until the network connection is successful or all network cards fail to connect.
[0068] Preferably, the method also includes the steps of:
[0069] When the terminal device is successfully connected to the network, th...
Embodiment 2
[0073] A network connection method according to an embodiment of the present invention, the network connection includes at least one of domain name resolution and IP address access.
[0074] Wherein, the method for domain name resolution includes steps:
[0075] When the terminal device performs domain name resolution, the network card is used to resolve the domain name of the visited website;
[0076] When using the network card to perform domain name resolution fails, the terminal device uses other network cards on the terminal device to perform domain name resolution;
[0077] When the domain name resolution is successful, the terminal device accesses the website using the network card when the domain name resolution is successful.
[0078] When the network domain name resolution of the terminal device is successful, the terminal device sets the network card used when the domain name resolution of the terminal device is successful as a default network card.
[0079] Prefe...
Embodiment 3
[0086] The network connection diagram of the terminal equipment in the embodiment of the present invention is as follows Figure 5 As shown in the figure, the handheld device is connected to the internal network and the external network through the WLAN (Wireless Local Area Networks, wireless local area network) network card and the RmNet (mobile data network) network card, and the WLAN network card is the default network card.
[0087] Because the DNS server of the default WLAN network card of the terminal device does not support the resolution of some domain names on the external network. Therefore, when the terminal device uses the WLAN network card to resolve external websites such as Baidu www.baidu.com, domain name resolution may fail.
[0088] Specifically, when a user uses a handheld device to browse an external webpage (such as the Baidu website), the DNS server of the default WLAN network card is first used for domain name resolution. Since the WLAN network card is a...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


