Network exception handling method, device, and home appliance
A technology of network exception and processing method, which is applied in the fields of home appliances and network exception processing, can solve problems such as wasting time, and achieve the effect of avoiding the failure of connecting to the server
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] figure 1 It is a schematic flowchart of a network exception handling method provided in Embodiment 1 of the present application.
[0033] Such as figure 1 As shown, the network exception handling method is executed by the home appliance side, and specifically includes the following steps:
[0034] In step 101, the network connection of the device fails, and it is determined that there is an abnormality.
[0035] In the embodiment of the present application, during the process of connecting to the router, the device requests the router of the local area network to obtain a static IP address through the DHCP protocol, so as to connect to the server according to the obtained static IP address. Determine whether there is any abnormality in the network connection by judging whether the network connection is successful when the device connects to the server according to the static IP address.
[0036] Among them, the static IP address is a fixed IP address assigned to the ...
Embodiment 2
[0057] figure 2 It is a schematic flowchart of a network exception handling method provided in Embodiment 2 of the present application.
[0058] Such as figure 2 As shown, it specifically includes the following steps:
[0059] In step 201, the device sequentially queries the physical address corresponding to each IP address in the network segment of the LAN.
[0060] In the embodiment of the present application, when the device requests the static IP address obtained from the router to connect to the server through the DHCP protocol, after the network connection fails, the physical address corresponding to each IP address can be sequentially queried in the network segment of the LAN.
[0061] Step 202, judging whether each IP address in the network segment has a corresponding physical address.
[0062] After the device successfully connects to the network according to the IP address of the network segment of the LAN, there is a physical address corresponding to the IP add...
Embodiment 3
[0076] image 3 A schematic flowchart of a method for handling network exceptions provided in Embodiment 3 of the present application;
[0077] Such as image 3 As shown, the specific implementation process of the method includes the following steps:
[0078] In step 301, the device requests a router of the local area network to assign a second IP address.
[0079] In the embodiment of the present application, when the device is powered on and connected to the network, it first needs to request the router of the local area network to assign the second IP address through the DHCP protocol.
[0080] Step 302, the device configures the IP address as the second IP address.
[0081] In the embodiment of the present application, after the device obtains the second IP address assigned by the router of the local area network, configure the IP address of the device as the second IP address, so as to use the second IP address to connect to the server.
[0082] It should be noted tha...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


