A method for diagnosing faults in intelligent home appliance distribution networks

By monitoring and generating fault codes through the micro-control unit of smart home appliances, the problem of being unable to accurately locate the fault when the smart home appliance distribution network fails is solved, rapid fault troubleshooting is achieved, and distribution network efficiency is improved.

CN115942356BActive Publication Date: 2025-10-17HISENSE (GUANGDONG) AIR CONDITIONER
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211328934.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-27
Publication Date
2025-10-17
Estimated Expiration
2042-10-27

AI Technical Summary

Technical Problem

When existing smart home appliance distribution networks fail, the cause of the failure cannot be accurately located, forcing users to check all possible causes one by one, which is inefficient.

Method used

The network distribution process is monitored by the microcontroller unit of the smart home appliance, a fault code is generated, and the fault code is displayed on the display device to help users quickly troubleshoot the fault.

Benefits of technology

It improves the efficiency of troubleshooting distribution network faults and reduces the steps and time for users to manually troubleshoot.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115942356B_ABST
    Figure CN115942356B_ABST
Patent Text Reader

Abstract

The application provides a smart home appliance network configuration fault diagnosis method. The smart home appliance comprises a wireless communication module, a triggering device, a micro control unit and a display device. The wireless communication module is used for establishing a communication connection between the smart home appliance, a mobile terminal and a cloud server. The triggering device is used for triggering the wireless communication module to enter a network configuration state. The micro control unit is used for monitoring a network configuration process of the smart home appliance and performing qualitative analysis on a fault in the network configuration process to generate a fault code. The display device is used for displaying the fault code. The diagnosis method comprises the following steps: when the triggering device triggers the wireless communication module to enter the network configuration state, the micro control unit monitors whether a fault occurs in the network configuration process; if it is monitored that a fault occurs in the network configuration process, qualitative analysis is performed on the fault in the network configuration process to generate a fault code; and the display device is controlled to display the fault code. Through the micro control unit of the smart home appliance, qualitative analysis is performed on the fault in the network configuration process to generate a fault code, and the display device is used to display the fault code, thereby helping the user to quickly troubleshoot the fault and improving the network configuration efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of intelligent household appliance network configuration, and particularly to an intelligent household appliance network configuration fault diagnosis method. BACKGROUND

[0002] At present, intelligent household appliance network configuration usually adopts an AP mode network configuration binding method. This method mainly interacts between a mobile device, an intelligent household appliance and a wireless router, and finally enables the intelligent household appliance device to be connected to a cloud server, so as to realize a remote query control method. However, since the Ap mode network configuration and binding are a complete process, when network configuration fails, it is impossible to find out which link in the network configuration process has a problem. In view of this problem, most brands of intelligent household appliances set a prompt page in an app. When network configuration fails, all possible reasons are listed in the prompt page. This method needs the user to check all the listed reasons one by one, and then the network configuration failure reason can be determined. The problem checking and network configuration efficiency are low. SUMMARY

[0003] The main purpose of the embodiment of the present application is to propose an intelligent household appliance network configuration fault diagnosis method. The purpose is to qualitatively analyze the fault in the intelligent household appliance network configuration process by the micro control unit of the intelligent household appliance, generate a fault code, and display the fault code through the display device of the intelligent household appliance, so as to help the user to quickly check the fault and improve the network configuration efficiency.

[0004] To achieve the above purpose, the embodiment of the present application proposes an intelligent household appliance network configuration fault diagnosis method. The intelligent household appliance comprises:

[0005] A wireless communication module, configured to establish a communication connection between the intelligent household appliance, a mobile terminal and a cloud server;

[0006] A trigger device, configured to trigger the wireless communication module to enter a network configuration state;

[0007] A micro control unit, configured to monitor a network configuration process of the intelligent household appliance and qualitatively analyze a fault in the network configuration process to generate a fault code;

[0008] A display device, configured to display the fault code;

[0009] The diagnosis method comprises:

[0010] When the trigger device triggers the wireless communication module to enter the network configuration state, the micro control unit is used to monitor whether the network configuration process has a fault;

[0011] If the micro control unit monitors that the network configuration process has a fault, the fault in the network configuration process is qualitatively analyzed to generate a fault code;

[0012] The micro control unit controls the display device to display the fault code.

[0013] In some embodiments, if the micro control unit monitors that the commissioning process fails, the method comprises:

[0014] When the micro control unit monitors that a first fault occurs in the commissioning process, a first fault code corresponding to the first fault is generated, the first fault being that the wireless communication module does not enter a commissioning state;

[0015] When the micro control unit monitors that the first fault does not occur in the commissioning process, it is determined that the wireless communication module enters the commissioning state.

[0016] In some embodiments, before the micro control unit monitors that the first fault occurs in the commissioning process, the method comprises:

[0017] The micro control unit acquires first information sent by the wireless communication module, the first information being generated by the wireless communication module in response to a trigger instruction sent by the trigger device to enter the commissioning state;

[0018] The micro control unit determines whether the first fault occurs in the commissioning process according to the first information.

[0019] In some embodiments, when the micro control unit monitors that the first fault does not occur in the commissioning process, the method comprises:

[0020] The micro control unit acquires second information sent by the wireless communication module, the second information being generated by the wireless communication module according to whether it receives information sent by the mobile terminal that the connection is successful, if the wireless communication module receives the information sent by the mobile terminal that the connection is successful, it is determined that the wireless communication module and the mobile terminal are successfully connected, if the wireless communication module does not receive the information sent by the mobile terminal that the connection is successful, it is determined that the wireless communication module and the mobile terminal are not successfully connected;

[0021] The micro control unit determines whether a second fault occurs in the commissioning process according to the second information, the second fault being that the wireless communication module and the mobile terminal are not successfully connected;

[0022] When the micro control unit monitors that the second fault occurs in the commissioning process, a second fault code corresponding to the second fault is generated;

[0023] When the micro control unit monitors that the second fault does not occur in the commissioning process, it is determined that the wireless communication module and the mobile terminal are successfully connected.

[0024] In some embodiments, when the micro control unit monitors that the commissioning process does not occur the second failure, the method comprises:

[0025] The micro control unit acquires the signal strength value of the target wireless router sent by the wireless communication module;

[0026] The micro control unit compares the signal strength value of the target wireless router with a preset threshold to determine whether the commissioning process occurs a third failure; the third failure is that the signal of the target wireless router is weak, and when the signal strength of the target wireless router is below the preset threshold, it is determined that the signal of the target wireless router is weak, and the target wireless router is used to establish the communication connection between the smart home appliance and the cloud server;

[0027] When the micro control unit monitors that the commissioning process occurs the third failure, a third failure code corresponding to the third failure is generated;

[0028] When the micro control unit monitors that the commissioning process does not occur the third failure, it is determined that the signal of the target wireless router is strong, and when the signal strength of the target wireless router is above the preset threshold, it is determined that the signal of the target wireless router is strong.

[0029] In some embodiments, when the micro control unit monitors that the commissioning process does not occur the third failure, the method comprises:

[0030] The micro control unit receives third information sent by the wireless communication module, the third information being obtained by the wireless communication module after comparing a first internet protocol address and a second internet protocol address, the first internet protocol address being a default internet protocol address after the wireless communication module enters a commissioning state, the second internet protocol address being an internet protocol address acquired by the wireless communication module, and when the first internet protocol address and the second internet protocol address are different, it is determined that the wireless communication module is successfully connected with the target wireless router, and when the first internet protocol address and the second internet protocol address are the same, it is determined that the wireless communication module fails to connect with the target wireless router;

[0031] The micro control unit determines whether the commissioning process occurs a fourth failure according to the third information, the fourth failure being that the wireless communication module fails to connect with the target wireless router;

[0032] When the micro control unit monitors that the commissioning process occurs the fourth failure, a fourth failure code corresponding to the fourth failure is generated;

[0033] When the micro control unit monitors that the commissioning process does not have the fourth failure, it is determined that the wireless communication module is successfully connected with the target wireless router.

[0034] In some embodiments, when the micro control unit monitors that the commissioning process does not have the fourth failure, the method comprises:

[0035] The micro control unit receives fourth information sent by the wireless communication module, the fourth information is generated by the wireless communication module after sending an access request to the cloud server, according to whether the cloud server returns a response information, in the case that the cloud server returns a response information, it is determined that the smart home appliance is successfully connected with the cloud server, in the case that the cloud server does not return a response information, it is determined that the smart home appliance is failed to connect with the cloud server;

[0036] The micro control unit determines whether the commissioning process has a fifth failure according to the fourth information, the fifth failure is that the smart home appliance is failed to connect with the cloud server;

[0037] When the micro control unit monitors that the commissioning process has the fifth failure, a fifth failure code corresponding to the fifth failure is generated;

[0038] When the micro control unit monitors that the commissioning process does not have the fifth failure, it is determined that the smart home appliance is successfully connected with the cloud server.

[0039] In some embodiments, when the micro control unit monitors that the commissioning process has the fifth failure, the method further comprises:

[0040] The micro control unit monitors whether the commissioning process has a sixth failure and a seventh failure, the sixth failure is that the home network has a problem, and the seventh failure is that the target wireless router setting has a problem;

[0041] When the micro control unit monitors that the commissioning process has the sixth failure and the seventh failure, a sixth failure code corresponding to the sixth failure and a seventh failure code corresponding to the seventh failure are generated.

[0042] In some embodiments, the micro control unit monitors whether the commissioning process has a sixth failure and a seventh failure, comprising:

[0043] The micro control unit receives fifth information sent by the wireless communication module, the fifth information is generated according to whether multiple target websites return response information after the wireless communication module sends access requests to the multiple target websites, if no target website returns response information, it is judged that there is a problem in the home network, if at least one target website returns response information, it is judged that there is a problem in the setting of the target wireless router;

[0044] The micro control unit judges whether the sixth failure and the seventh failure occur in the network configuration process according to the fifth information.

[0045] In some embodiments, the method further comprises:

[0046] The display device is controlled to display the first failure code, or the second failure code, or the third failure code, or the fourth failure code, or the fifth failure code, or the sixth failure code, or the seventh failure code.

[0047] The present application provides a smart home appliance network configuration failure diagnosis method. The smart home appliance includes a wireless communication module for establishing a communication connection between the smart home appliance, a mobile terminal and a cloud server; a triggering device for triggering the wireless communication module to enter a network configuration state; a micro control unit for monitoring the network configuration process of the smart home appliance and qualitatively analyzing the failure in the network configuration process to generate a failure code; a display device for displaying the failure code; the diagnosis method comprises: when the triggering device triggers the wireless communication module to enter the network configuration state, the micro control unit monitors whether a failure occurs in the network configuration process; if the micro control unit monitors that a failure occurs in the network configuration process, the failure in the network configuration process is qualitatively analyzed to generate a failure code; and the micro control unit controls the display device to display the failure code. The micro control unit of the smart home appliance qualitatively analyzes the failure in the network configuration process of the smart home appliance, generates a failure code, and displays the failure code through the display device of the smart home appliance, thereby helping the user to quickly troubleshoot the failure and improving the network configuration efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0048] Figure 1 is a structure diagram of a smart home appliance provided in an embodiment of the present application for executing a network configuration failure diagnosis method;

[0049] Figure 2 is a network architecture diagram of network configuration binding of a smart home appliance provided in an embodiment of the present application;

[0050] Figure 3 is a flowchart of network configuration binding of a smart home appliance provided in an embodiment of the present application;

[0051] Figure 4 is one of flowcharts of a smart home appliance network configuration failure diagnosis method provided in an embodiment of the present application;

[0052] Figure 5 is one of the flowcharts of the intelligent household electrical appliance network configuration fault diagnosis method provided by the embodiments of the present application;

[0053] Figure 6 is one of the flowcharts of the intelligent household electrical appliance network configuration fault diagnosis method provided by the embodiments of the present application;

[0054] Figure 7 is one of the flowcharts of the intelligent household electrical appliance network configuration fault diagnosis method provided by the embodiments of the present application;

[0055] Figure 8 is one of the flowcharts of the intelligent household electrical appliance network configuration fault diagnosis method provided by the embodiments of the present application;

[0056] Figure 9 is one of the flowcharts of the intelligent household electrical appliance network configuration fault diagnosis method provided by the embodiments of the present application. DETAILED DESCRIPTION

[0057] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.

[0058] It should be noted that although the functional modules are divided in the device schematic diagram, and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a manner different from the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification and claims and the above-described drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.

[0059] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0060] With the development and progress of computer technology and communication technology, the single function of the traditional household appliances can not meet the needs of users, and therefore the smart household appliances emerge as the times require. The smart household appliances are household appliances products formed after microprocessors, sensor technology and network communication technology are introduced into the household appliances, and can automatically control and receive control instructions of a user in a residence or remotely. For example, the television, refrigerator, washing machine, range hood and other electrical appliances can be connected to the Internet after being connected to a router, thereby facilitating the user to remotely access. Generally, the user needs to configure a network for the smart household appliances to make the smart household appliances connect to the Internet, and then send a control instruction to the smart household appliances through a smart mobile terminal such as a mobile phone.

[0061] In the related art, the smart household appliance configuration network usually adopts an AP mode configuration network binding method, which mainly interacts with a wireless router through a mobile device and a smart household appliance, and finally makes the smart household appliance connect to a cloud server to realize a remote query control method. However, since the Ap mode configuration network and binding are a complete process, when the configuration network fails, it is not possible to find out which link in the configuration network process has a problem. In view of this problem, most brands of smart household appliances set a prompt page in the app, and when the configuration network fails, all possible reasons are listed in the prompt page. This method needs the user to check all the listed reasons one by one to determine the configuration network failure reason, and the problem checking and configuration network efficiency is low.

[0062] Based on this, the embodiment of the present application proposes a smart household appliance configuration network fault diagnosis method. The purpose is to qualitatively analyze the fault in the smart household appliance configuration network process by the micro control unit of the smart household appliance, generate a fault code, and display the fault code through the display device of the smart household appliance, thereby helping the user to quickly troubleshoot the fault and improving the configuration network efficiency.

[0063] Firstly, the smart household appliance executing the configuration network fault diagnosis method proposed in the embodiment of the present application is described. Referring to Figure 1 , Figure 1 is a structure diagram of the smart household appliance provided in the embodiment of the present application for executing the configuration network fault diagnosis method. The smart household appliance includes:

[0064] The wireless communication module 100 is configured to establish a communication connection between the smart household appliance, a mobile terminal and a cloud server;

[0065] The trigger device 110 is configured to trigger the wireless communication module to enter a configuration network state;

[0066] The micro control unit 120 is configured to monitor the configuration network process of the smart household appliance and qualitatively analyze the fault in the configuration network process to generate a fault code;

[0067] The display device 130 is configured to display the fault code.

[0068] The wireless communication module 100, the triggering device 110 and the display device 130 are connected to the micro control unit 120.

[0069] The wireless communication module 100 can be a wifi module, a wifi plus Bluetooth module or other wireless module product connected to a wireless router through a smart gateway.

[0070] The triggering device 110 can be a device installed in the smart home appliance and triggered by a key, or a device combined by an inductive device installed in the smart home appliance and an external remote controller. The installation position and specific form features of the triggering device are not limited in the embodiment of the present application, as long as the device can trigger the wireless communication module to enter the network configuration state.

[0071] The display device 130 can be a device with a digital tube display or a screen display function. Similarly, the installation position and specific form features of the display device are not limited in the embodiment of the present application, as long as the device can display the fault code.

[0072] The micro control unit 120 is the main body of the smart home appliance network configuration diagnosis method and is an essential part of the smart home appliance. The micro control unit 120 is connected to the wireless communication module 100, the triggering device 110 and the display device 130, so as to interact with the wireless communication module 100, the triggering device 110 and the display device 130. The micro control unit 120 is mainly used for monitoring the network configuration process of the smart home appliance and qualitatively analyzing the faults in the network configuration process, generating a fault code, and controlling the display device to display the fault code.

[0073] It should be particularly noted that most smart home appliances can have a micro control unit, but the configuration of the micro control unit is different for different smart home appliances. In the embodiment of the present application, only when the micro control unit is configured to monitor the network configuration process, qualitatively analyze the faults in the network configuration process, generate a fault code, and control the display device to display the fault code, the smart home appliance can execute the smart home appliance network configuration fault diagnosis method proposed in the embodiment of the present application. In other words, for the smart home appliance, even if the micro control unit is built-in, if the micro control unit is not configured to monitor the network configuration process, qualitatively analyze the faults in the network configuration process, generate a fault code, and control the display device to display the fault code, the smart home appliance cannot execute the smart home appliance network configuration fault diagnosis method proposed in the embodiment of the present application.

[0074] It also needs to be explained that the display device is used to display the fault code, so that the user can directly obtain the cause of the corresponding fault in the network configuration fault according to the displayed fault code through the instruction manual, thereby helping the user to quickly troubleshoot the fault and improving the network configuration efficiency. As can be seen, the display device is also an indispensable part of the smart home appliance for executing the smart home appliance network configuration fault diagnosis method. That is, if a smart home appliance does not configure a display device, it cannot display the fault code, and therefore cannot achieve the technical effect of helping the user to quickly troubleshoot the fault and improving the network configuration efficiency.

[0075] Similarly, the wireless communication module is the basis for the smart home appliance to realize network configuration binding. If the smart home appliance does not configure a wireless communication module, the smart home appliance cannot perform network configuration binding. Therefore, the wireless communication module is also an indispensable part of the smart home appliance for executing the smart home appliance network configuration fault diagnosis method.

[0076] Similarly, the triggering device is used to trigger the wireless communication module to enter the network configuration state, and it can complete the network configuration binding of the smart home appliance in cooperation with the wireless communication module. That is, the wireless communication module is not always in the network configuration state, and therefore, when performing the network configuration binding of the smart home appliance, the wireless communication module needs to be triggered by the triggering device to enter the network configuration state, which is also an indispensable step in the network configuration process. That is, the triggering device is also an indispensable part of the smart home appliance for executing the smart home appliance network configuration fault diagnosis method. The wireless communication module enters the network configuration state is to enter a state that can be discovered by a mobile device. For a smart home appliance with a wifi and Bluetooth module as the wireless communication module, after entering the network configuration state, the smart home appliance can be discovered by the Bluetooth module of the mobile device; for a smart home appliance with a wifi module as the wireless communication module, after entering the network configuration state, the smart home appliance can be discovered by the wifi module of the mobile device.

[0077] Next, the network configuration process of the smart home appliance with the structure shown in Figure 1 will be described.

[0078] Referring to Figure 2 , Figure 2 is a network architecture diagram of the network configuration binding of the smart home appliance provided by the embodiments of the present application, as shown in Figure 2 The implementation environment of the embodiments of the present application is composed of a mobile terminal 201, a smart home appliance 202, a target wireless router 203, and a cloud server 204.

[0079] The mobile terminal 201 includes a hardware platform such as a smart phone or a smart pad that can carry a smart operating system, and an application (App) for smart home appliance network configuration binding is built in the mobile terminal, the App is used for user account registration, smart home appliance network configuration binding and other functions such as control, query, service and setting, different APPs have different functions, and each smart home appliance product has a corresponding APP.

[0080] The smart home appliance 202 includes Figure 1 as shown in the structure.

[0081] The target wireless router 203 mainly functions as a wireless bridge, so that the wireless communication module built in the smart home appliance can be connected to the cloud server through the target wireless router.

[0082] The cloud server 204 is used for storing user information, smart home appliance related information and mobile terminal information, and the cloud server is the information interaction center and the data center of the whole system.

[0083] Referring to Figure 3 , Figure 3 is a flowchart of the network configuration binding of the smart home appliance provided in the application. The network configuration binding process of the smart home appliance is as follows:

[0084] (1) The smart home appliance (wireless communication module) enters a network configuration state.

[0085] Specifically, a trigger device such as a remote controller or a button on the smart home appliance is used to make the wireless communication module of the smart home appliance enter the network configuration state, different wireless communication modules enter the network configuration state in a similar principle, for the smart home appliance with a wifi plus Bluetooth module as the wireless communication module, after entering the network configuration state, the mobile terminal can discover the appliance through the Bluetooth module; for the smart home appliance with a wifi module as the wireless communication module, after entering the network configuration state, the mobile terminal can discover the smart home appliance through the wifi module.

[0086] (2) The mobile terminal establishes a connection with the smart home appliance.

[0087] Specifically, after the wireless communication module enters the network configuration state, if the wireless communication module is in a wifi plus Bluetooth mode, the mobile terminal can discover the wireless communication module device name through the Bluetooth module; if the wireless communication module is a wifi module, the mobile terminal can discover the wireless communication module device name through the wifi module. Then, the mobile terminal can send a connection request to the wireless communication module, and establish a connection with the wireless communication module through a Bluetooth hotspot or a wifi hotspot, after the connection is successful, a connection success response signal is sent to the wireless communication module.

[0088] (3) The APP in the mobile terminal sends a Scanwifi request to the smart home appliance. The Scanwifi request is to let the wireless communication module in the smart home appliance search for wireless router information near the smart home appliance.

[0089] Specifically, when the mobile terminal is successfully connected with the wireless communication module of the smart home appliance, the wireless communication module is sent a Scanwifi request to let the wireless communication module search for wireless router information near the smart home appliance. The wireless router information includes the SSID (Service Set Identifier) of the wireless router and the signal strength value of the corresponding wireless router.

[0090] (4) The smart home appliance scans the wireless routers near the smart home appliance to generate a wireless router list.

[0091] Specifically, the wireless communication module of the smart home appliance scans the wireless routers near the smart home appliance according to the received Scanwifi request, and generates a wireless router list. The wireless router list includes the SSID (Service Set Identifier) of the wireless router and the signal strength value of the corresponding wireless router.

[0092] (5) The smart home appliance sends the wireless router list to the mobile terminal.

[0093] Specifically, the smart home appliance sends the scanned wireless router list to the mobile terminal through the wireless communication module, so that the wireless router list can be displayed in the display interface of the APP of the mobile terminal.

[0094] (6) The mobile terminal sends the SSID, PASSWORD and Setuptoken of the target wireless router to the smart home appliance.

[0095] Specifically, the user can select a target wireless router in the wireless router list through the APP of the mobile terminal, and then send the SSID and PASSWORD of the target wireless router and the Setup token generated by the APP to the smart home appliance. The Setup token is generated by the APP during the network configuration process, and is used for confirmation of the smart home appliance during the binding process.

[0096] (7) The smart home appliance connects to the cloud server through the target wireless router, and uploads the MAC of the wireless communication module and the received Setup token to the cloud server.

[0097] Specifically, the smart home appliance can connect to the cloud server through the target wireless router since it has acquired the SSID and PASSWORD of the target wireless router. After the connection is successful, the MAC of the wireless communication module and the received Setuptoken are uploaded to the cloud server.

[0098] (8) The mobile terminal reconnects to the target wireless router and polls whether the smart home appliance is online.

[0099] (9) The cloud server checks the identity information of the wireless communication module. If the verification is successful, the smart home appliance is successfully configured.

[0100] (10) The cloud server tells the APP of the mobile terminal that the smart home appliance is successfully configured.

[0101] (11) The APP of the mobile terminal sends the Setup Token and the MAC of the smart home appliance to the cloud server to apply for binding the smart home appliance.

[0102] (12) The cloud server checks whether the MAC and the Setup Token of the smart home appliance exist. If they exist, the corresponding relationship between the smart home appliance and the user account is established, and the binding is completed.

[0103] Next, the fault diagnosis method performed by the smart home appliance including the structure shown in Figure 1 in the configuration process shown in Figure 3 is described.

[0104] In the embodiments of the present application, the micro control unit is configured to monitor the configuration process of the smart home appliance and qualitatively analyze the faults in the configuration process to generate fault codes, and can also control the display device to display the fault codes. Therefore, when the smart home appliance including the structure shown in Figure 1 performs the fault diagnosis method, the following operations are mainly performed:

[0105] When the triggering device triggers the wireless communication module to enter the configuration state, the micro control unit monitors whether a fault occurs in the configuration process;

[0106] If the micro control unit monitors that a fault occurs in the configuration process, the micro control unit qualitatively analyzes the fault in the configuration process to generate a fault code;

[0107] The micro control unit controls the display device to display the fault code.

[0108] It should be noted that the intelligent home appliance network configuration fault diagnosis method provided in the embodiments of the present application can only diagnose the faults occurring in the network configuration process of the intelligent home appliance, and cannot diagnose the faults of the hardware device itself, such as the fault (such as damage) of the wireless communication module of the intelligent home appliance, or the fault (such as the inability to connect to the network) of the mobile terminal itself, or the fault of the wireless router itself, or the fault of the cloud server itself. That is, the intelligent home appliance network configuration fault diagnosis method provided in the embodiments of the present application diagnoses the faults occurring in the network configuration process of the intelligent home appliance under the condition that the hardware device itself has no fault.

[0109] Specifically, when the micro control unit monitors that the first fault occurs in the network configuration process, a first fault code corresponding to the first fault is generated, and the first fault is that the wireless communication module does not enter the network configuration state; when the micro control unit monitors that the first fault does not occur in the network configuration process, it is determined that the wireless communication module enters the network configuration state. And before the micro control unit monitors that the first fault occurs in the network configuration process, the micro control unit acquires first information sent by the wireless communication module, and the first information is generated by the wireless communication module in response to the trigger instruction sent by the trigger device to enter the network configuration state; the micro control unit judges whether the first fault occurs in the network configuration process according to the first information.

[0110] In the embodiments of the present application, the trigger device, such as the remote control or the key of the intelligent home appliance body, sends the request to enter the network configuration state to the micro control unit, the micro control unit controls the wireless communication module to enter the network configuration state through the wired instruction, and the wireless communication module enters the network configuration state according to the received instruction. After the wireless communication module successfully enters the network configuration state, the wireless communication module will send an information to the micro control unit to inform the micro control unit that the wireless communication module has entered the network configuration state. Similarly, if the wireless communication module does not enter the network configuration state, the wireless communication module will also send an information to the micro control unit to inform the micro control unit that the wireless communication module does not enter the network configuration state. Exemplarily, in the embodiments of the present application, after the wireless communication module informs the micro control unit that it has entered the network configuration state, the micro control unit will assign the value of S1 in the register to 1, that is, if S1 = 1, it indicates that the wireless communication module enters the network configuration state. After the wireless communication module informs the micro control unit that it does not enter the network configuration state, the micro control unit will assign the value of S1 in the register to 0, that is, if S1 = 0, it indicates that the wireless communication module does not enter the network configuration state, that is, the first fault occurs in the network configuration process, at this time, the micro control unit controls the display device to display the first fault code, such as E1.

[0111] Referring to Figure 4 , Figure 4 is one of the flowcharts of the intelligent home appliance network configuration fault diagnosis method provided in the embodiments of the present application. The following steps are included:

[0112] S401, the triggering device triggers the wireless communication module to enter a network configuration state;

[0113] S402, the micro control unit monitors the network configuration process;

[0114] S403, it is judged whether the value of S1 is 1;

[0115] S404, if S1 is not equal to 1, that is, S1 is equal to 0, it is determined that the wireless communication module does not enter the network configuration state, and a first failure occurs in the network configuration process;

[0116] S405, the display device is controlled to display a first failure code E1;

[0117] S406, if S1 is equal to 1, it is determined that the wireless communication module enters the network configuration state.

[0118] According to Figure 4 As shown in the figure, in the network configuration process of the smart home appliance, when the display device displays the failure code E1, the user can find out according to the instruction manual that the failure corresponding to the failure code E1 is that the wireless communication module does not enter the network configuration state, at this time, the user can send a request to enter the network configuration state again through the triggering device, such as a remote controller or a key of the smart home appliance body, so as to make the wireless communication module enter the network configuration state again according to the instruction.

[0119] In the embodiment of the application, when the micro control unit monitors that no first failure occurs in the network configuration process, the following operations are performed:

[0120] The micro control unit acquires second information sent by the wireless communication module, the second information being generated by the wireless communication module according to whether the mobile terminal sends the information of successful connection, if the wireless communication module receives the information of successful connection sent by the mobile terminal, it is determined that the wireless communication module is successfully connected with the mobile terminal, if the wireless communication module does not receive the information of successful connection sent by the mobile terminal, it is determined that the wireless communication module fails to connect with the mobile terminal;

[0121] The micro control unit determines whether a second failure occurs in the network configuration process according to the second information, the second failure being that the wireless communication module fails to connect with the mobile terminal;

[0122] When the micro control unit monitors that the second failure occurs in the network configuration process, a second failure code corresponding to the second failure is generated;

[0123] When the micro control unit monitors that no second failure occurs in the network configuration process, it is determined that the wireless communication module is successfully connected with the mobile terminal.

[0124] In the embodiment of the present application, if S1=1, it is determined that the wireless communication module enters the network configuration state. At this time, the mobile terminal can send a connection request to the wireless communication module, and establish a connection with the wireless communication through a Bluetooth hotspot or a WiFi hotspot. After the connection is successful, a response signal of the successful connection is sent to the wireless communication module. After receiving the response signal of the successful connection, the wireless communication module sends an information to the micro control unit to inform the micro control unit that the wireless communication module is successfully connected with the mobile terminal. At this time, the micro control unit assigns the value of S2 in the register as 1, that is, if S2=1, it indicates that the wireless communication module is successfully connected with the mobile terminal. If the wireless communication module does not receive the response signal of the successful connection, it indicates that the connection fails. At this time, the wireless communication module sends an information to the micro control unit to inform the micro control unit that the wireless communication module fails to connect with the mobile terminal. At this time, the micro control unit assigns the value of S2 in the register as 0, that is, if S2=0, it indicates that the wireless communication module fails to connect with the mobile terminal, that is, the second failure occurs in the network configuration process. At this time, the micro control unit controls the display device to display the second failure code, such as E2.

[0125] Referring to Figure 5 , Figure 5 is one of the flowcharts of the intelligent household appliance network configuration fault diagnosis method provided in the embodiment of the present application. The following steps are included:

[0126] S501, the trigger device triggers the wireless communication module to enter the network configuration state;

[0127] S502, the micro control unit monitors the network configuration process;

[0128] S503, it is judged whether the value of S1 is 1;

[0129] S504, if S1≠1, that is, S1=0, it is determined that the wireless communication module does not enter the network configuration state, and the first failure occurs in the network configuration process;

[0130] S505, the display device is controlled to display the first failure code E1.

[0131] S506, if S1=1, it is judged whether the value of S2 is 1;

[0132] S507, if S2≠1, that is, S2=0, it is determined that the wireless communication module fails to connect with the mobile terminal, and the second failure occurs in the network configuration process;

[0133] S508, the display device is controlled to display the second failure code E2;

[0134] S509, if S2=1, it is determined that the wireless communication module is successfully connected with the mobile terminal.

[0135] According to Figure 5As shown, in the smart home appliance network configuration process, when the display device displays the fault code E2, the user can find out according to the instruction manual that the fault corresponding to the fault code E2 is that the wireless communication module fails to connect with the mobile terminal. At this time, since S1=1, it is indicated that the wireless communication module has entered the network configuration state, so it is considered that the mobile terminal has a problem. It is possible that although the mobile terminal displays the WiFi hotspot or the Bluetooth hotspot of the wireless communication module, the WiFi hotspot or the Bluetooth hotspot has actually disappeared due to the long operation time. Therefore, the user can re-open the WiFi hotspot or the Bluetooth hotspot of the wireless communication module to connect with the wireless communication module again.

[0136] It should be particularly pointed out that the second fault (the wireless communication module fails to connect with the mobile terminal) is a further fault diagnosis made on the basis that the first fault does not occur, that is, on the basis that S1=1, it is further judged whether S2 is 0. In this way, it can be excluded that the reason for the failure of the wireless communication module to connect with the mobile terminal is not on the wireless communication module side, so that accurate positioning of the fault can be realized.

[0137] In the embodiment of the application, when the micro control unit monitors that the network configuration process does not have the second fault, the following operations are performed:

[0138] The micro control unit acquires the signal strength value of the target wireless router sent by the wireless communication module;

[0139] The micro control unit compares the signal strength value of the target wireless router with a preset threshold value to determine whether the network configuration process has a third fault. The third fault is that the signal of the target wireless router is weak, and the signal strength of the target wireless router is below the preset threshold value. The target wireless router is used to establish a communication connection between the smart home appliance and the cloud server.

[0140] When the micro control unit monitors that the network configuration process has the third fault, a third fault code corresponding to the third fault is generated;

[0141] When the micro control unit monitors that the network configuration process does not have the third fault, it is determined that the signal of the target wireless router is strong, and the signal strength of the target wireless router is above the preset threshold value.

[0142] In the embodiment of the present application, when the micro control unit monitors that the configuration process does not have the second fault, that is, when S2=1, it is determined that the wireless communication module is successfully connected with the mobile terminal. At this time, the mobile terminal sends a Scanwifi request to the wireless communication module to let the wireless communication module search for the wireless routing information of the nearby wireless router, and the wireless routing information includes the SSID (Service Set Identifier) of the wireless router and the signal strength value of the corresponding wireless router. The wireless communication module scans the nearby wireless router according to the Scanwifi request and generates a wireless router list. Then the generated wireless router list is sent to the mobile terminal. The mobile terminal selects a target wireless router in the wireless router list, and then sends the SSID and PASSWORD of the target wireless router to the wireless communication module to let the wireless communication module acquire the target wireless router to be connected. At the same time, the wireless communication module sends the signal strength value of the target wireless router to the micro control unit. After the micro control unit receives the signal strength value of the target wireless router, it compares the signal strength value of the target wireless router with the preset threshold value. If the signal strength of the target wireless router is below the preset threshold value, it is determined that the signal of the target wireless router is weak, at this time, it is determined that the configuration process has the third fault, and the third fault code corresponding to the third fault is generated. If the signal strength of the target wireless router is above the preset threshold value, it is determined that the signal of the target wireless router is strong, and it is determined that the configuration process does not have the third fault.

[0143] Exemplarily, in the embodiment of the present application, when the micro control unit monitors that the configuration process does not have the second fault, that is, when S2=1, the micro control unit compares the signal strength value of the target wireless router with the preset threshold value after receiving the signal strength value of the target wireless router. If the signal strength value of the target wireless router is above-70dBm, the micro control unit assigns the value of S3 in the register as 1, that is, if S3=1, it indicates that the signal of the target wireless router is strong. If the signal strength value of the target wireless router is below-70dBm, the micro control unit assigns the value of S3 in the register as 0, that is, if S3=0, it indicates that the signal of the target wireless router is weak. At this time, it is determined that the configuration process has the third fault, and the micro control unit controls the display device to display the third fault code, such as E3.

[0144] Reference Figure 6 , Figure 6 is one of the flowcharts of the intelligent household electrical appliance configuration process fault diagnosis method provided in the embodiment of the present application. The following steps are included:

[0145] S601, the trigger device triggers the wireless communication module to enter the configuration state;

[0146] S602, the micro control unit monitors the configuration process;

[0147] S603, judging whether the value of S1 is 1 or not;

[0148] S604, if S1≠1, that is, S1=0, it is determined that the wireless communication module does not enter the configuration network state, and a first failure occurs in the configuration network process;

[0149] S605, controlling the display device to display a first failure code E1.

[0150] S606, if S1=1, judging whether the value of S2 is 1 or not;

[0151] S607, if S2≠1, that is, S2=0, it is determined that the wireless communication module fails to connect with the mobile terminal, and a second failure occurs in the configuration network process;

[0152] S608, controlling the display device to display a second failure code E2;

[0153] S609, if S2=1, judging whether the value of S3 is 1 or not;

[0154] S610, if S3≠1, that is, S3=0, it is determined that the signal of the target wireless router is weak, and a third failure occurs in the configuration network process;

[0155] S611, controlling the display device to display a third failure code E3;

[0156] S612, if S3=1, it is determined that the signal of the target wireless router is strong.

[0157] According to Figure 6 As shown in FIG. 6, when the display device displays the failure code E3 in the configuration network process of the smart home appliance, the user can find out, according to the instruction manual, that the failure corresponding to the failure code E3 is that the signal of the target wireless router is weak. At this time, since S2=1, it is indicated that the wireless communication module successfully connects with the mobile terminal, and S3=0, it is indicated that the signal of the target wireless router connected by the wireless communication module is weak. At this time, the signal strength of the target wireless router received can be adjusted by adjusting the distance between the smart home appliance and the target wireless router. For example, the smart home appliance is close to the target wireless router.

[0158] It should be particularly noted that the third failure (the wireless communication module fails to connect with the mobile terminal) is a further failure diagnosis made on the basis that the second failure does not occur, that is, on the basis that S2=1, it is further judged whether S3 is 0 or not. Through this judgment, the cause of the previous operation can be excluded, so that the accurate positioning of the failure can be realized.

[0159] In the embodiment of the present application, when the micro control unit monitors that the configuration network process does not have the third failure, the following operation is performed:

[0160] The micro control unit receives third information sent by the wireless communication module, the third information being obtained by the wireless communication module after comparing a first internet protocol address and a second internet protocol address, the first internet protocol address being a default internet protocol address after the wireless communication module enters the network configuration state, the second internet protocol address being an internet protocol address obtained by the wireless communication module, the first internet protocol address and the second internet protocol address being different, determining that the wireless communication module is successfully connected with the target wireless router, the first internet protocol address and the second internet protocol address being the same, determining that the wireless communication module fails to be connected with the target wireless router;

[0161] The micro control unit determines whether a fourth fault occurs in the network configuration process according to the third information, the fourth fault being that the wireless communication module fails to be connected with the target wireless router;

[0162] When the micro control unit monitors that the fourth fault occurs in the network configuration process, a fourth fault code corresponding to the fourth fault is generated;

[0163] When the micro control unit monitors that the fourth fault does not occur in the network configuration process, it is determined that the wireless communication module is successfully connected with the target wireless router.

[0164] In the embodiment of the application, when the micro control unit monitors that the third fault does not occur in the network configuration process, i.e., when S3=1, it is determined that the signal of the target wireless router is strong. At this time, the wireless communication module performs connection with the target wireless router according to the received SSID and PASSWORD of the target wireless router. After the wireless communication module enters the network configuration state, there is a default IP address (internet protocol address), such as 192.168.43.1. If the wireless communication module is connected to the target wireless router, the target wireless router will automatically assign a new IP address to the wireless communication module. That is, the wireless communication module will receive a new IP address, and therefore, the wireless router can determine whether it is successfully connected to the target wireless router by comparing whether the two IP addresses are the same. Specifically, if the default IP address and the received new IP address are different, it is determined that the wireless communication module is successfully connected with the target wireless router, at which time the wireless communication module sends an information to the micro control unit to inform the micro control unit that the wireless communication module is successfully connected with the target wireless router. If the default IP address and the received new IP address are the same, it is determined that the wireless communication module fails to be connected with the target wireless router, at which time the wireless communication module also sends an information to the micro control unit to inform the micro control unit that the wireless communication module fails to be connected with the target wireless router.

[0165] Exemplarily, in the embodiment of the present application, when the micro control unit monitors that the configuration process does not have the third failure, that is, when S3 = 1, the wireless communication module further compares whether the default IP address and the received IP address are the same, if not, it is determined that the wireless communication module is successfully connected with the target wireless router, at this time, the wireless communication module sends a message to the micro control unit to inform the micro control unit that the wireless communication module is successfully connected with the target wireless router. At this time, the micro control unit assigns the value of S4 in the register to 1, that is, if S4 = 1, it indicates that the wireless communication module is successfully connected with the target wireless router. If the same, it is determined that the wireless communication module fails to connect with the target wireless router, at this time, the wireless communication module also sends a message to the micro control unit to inform the micro control unit that the wireless communication module fails to connect with the target wireless router. At this time, the micro control unit assigns the value of S4 in the register to 0, that is, if S4 = 0, it indicates that the wireless communication module fails to connect with the target wireless router. At this time, it is determined that the configuration process has the fourth failure, and the micro control unit controls the display device to display the fourth failure code, such as E4.

[0166] It should be noted that if the wireless communication module determines that the default IP address and the received IP address are the same, it means that the wireless communication module has not received the new IP address sent by the target wireless router, so it can be explained that the wireless communication module has not connected to the target wireless router.

[0167] Referring to Figure 7 , 7The flow chart of one of the intelligent home appliance configuration network fault diagnosis methods provided by the embodiment of the present application. It includes the following steps:

[0168] S701, the triggering device triggers the wireless communication module to enter the configuration network state;

[0169] S702, the micro control unit monitors the configuration process;

[0170] S703, judge whether the value of S1 is 1;

[0171] S704, if S1 ≠ 1, that is, S1 = 0, it is determined that the wireless communication module does not enter the configuration network state, and the first failure occurs in the configuration process;

[0172] S705, control the display device to display the first failure code E1.

[0173] S706, if S1 = 1, judge whether the value of S2 is 1;

[0174] S707, if S2 ≠ 1, that is, S2 = 0, it is determined that the wireless communication module fails to connect with the mobile terminal, and the second failure occurs in the configuration process;

[0175] S708, controlling the display device to display a second fault code E2;

[0176] S709, if S2=1, judging whether the value of S3 is 1;

[0177] S710, if S3≠1, that is, S3=0, determining that the signal of the target wireless router is weak, and the third fault occurs in the configuration process;

[0178] S711, controlling the display device to display a third fault code E3;

[0179] S712, if S3=1, judging whether the value of S4 is 1;

[0180] S713, if S4≠1, that is, S4=0, determining that the wireless communication module fails to connect with the target wireless router, and the fourth fault occurs in the configuration process;

[0181] S714, controlling the display device to display a fourth fault code E4;

[0182] S715, if S4=1, determining that the wireless communication module successfully connects with the target wireless router.

[0183] According to Figure 7 As shown in FIG. 7, when the display device displays the fault code E4 in the configuration process of the smart home appliance, the user can find out, according to the instruction manual, that the fault corresponding to the fault code E4 is that the wireless communication module fails to connect with the target wireless router. At this time, since S3=1, it is indicated that the signal of the target wireless router is strong, that is, the signal of the target wireless router has no problem, and S4=0, it is indicated that the wireless communication module fails to connect with the target wireless router. That is to say, the wireless communication module has no problem, and the signal of the target wireless router also has no problem, so it can be determined that the reason for the connection failure is that the selected target wireless router and the input PASSWORD do not correspond, that is, the input password is incorrect, resulting in that the wireless communication module fails to connect with the target wireless router. At this time, the user can re-input the PASSWORD of the target wireless router in the APP of the mobile terminal.

[0184] It should be particularly noted that the fourth fault (the wireless communication module fails to connect with the target wireless router) is a further fault diagnosis made on the basis that the third fault does not occur, that is, on the basis that S3=1, it is further judged whether S4 is 0. Through this judgment, the reason that the signal of the target wireless router is weak can be excluded, so that accurate positioning of the fault can be realized.

[0185] In the embodiment of the present application, when the micro control unit monitors that the configuration process does not have the fourth fault, the following operations are performed:

[0186] The micro control unit receives fourth information sent by the wireless communication module, the fourth information being generated according to whether the cloud server returns a response information after the wireless communication module sends an access request to the cloud server, in the case that the cloud server returns the response information, it is determined that the smart home appliance is successfully connected with the cloud server, in the case that the cloud server does not return the response information, it is determined that the smart home appliance fails to be connected with the cloud server;

[0187] The micro control unit determines whether a fifth failure occurs in the network configuration process according to the fourth information, the fifth failure being that the smart home appliance fails to be connected with the cloud server;

[0188] When the micro control unit monitors that the fifth failure occurs in the network configuration process, a fifth failure code corresponding to the fifth failure is generated;

[0189] When the micro control unit monitors that the fifth failure does not occur in the network configuration process, it is determined that the smart home appliance is successfully connected with the cloud server.

[0190] In the embodiment of the application, when the micro control unit monitors that the fourth failure does not occur in the network configuration process, that is, when S4=1, it indicates that the wireless communication module is successfully connected with the target wireless router. At this time, if there is no other problem, the smart home appliance can be connected with the cloud server through the connection of the wireless communication module and the target wireless router. At this time, the wireless communication module will send an access request to the cloud server, and if the cloud server returns a response information, it is determined that the smart home appliance is successfully connected with the cloud server. At this time, the wireless communication module will send an information to the micro control unit to inform the micro control unit that the smart home appliance is successfully connected with the cloud server. After the micro control unit receives the information, the value of S5 in the register is assigned as 1, that is, if S5=1, it indicates that the smart home appliance is successfully connected with the cloud server. If the cloud server does not return the response information, it is determined that the smart home appliance fails to be connected with the cloud server. At this time, the wireless communication module will also send an information to the micro control unit to inform the micro control unit that the smart home appliance fails to be connected with the cloud server. After the micro control unit receives the information, the value of S5 in the register is assigned as 0, that is, if S5=0, it indicates that the smart home appliance fails to be connected with the cloud server. At this time, it is determined that the fifth failure occurs in the network configuration process, and the micro control unit controls the display device to display the fifth failure code, such as E5.

[0191] Referring to Figure 8 , the smart home appliance network configuration failure diagnosis method provided by the embodiment of the application has one of the flowcharts. The method comprises the following steps:

[0192] S801, the trigger device triggers the wireless communication module to enter a network configuration state;

[0193] S802, the micro control unit monitors the network configuration process

[0194] S803, determine whether the value of S1 is 1;

[0195] S804, if S1≠1, that is, S1=0, determine that the wireless communication module does not enter the network configuration state, and a first failure occurs in the network configuration process;

[0196] S805, control the display device to display a first failure code E1.

[0197] S806, if S1=1, determine whether the value of S2 is 1;

[0198] S807, if S2≠1, that is, S2=0, determine that the wireless communication module fails to connect with the mobile terminal, and a second failure occurs in the network configuration process;

[0199] S808, control the display device to display a second failure code E2;

[0200] S809, if S2=1, determine whether the value of S3 is 1;

[0201] S810, if S3≠1, that is, S3=0, determine that the signal of the target wireless router is weak, and a third failure occurs in the network configuration process;

[0202] S811, control the display device to display a third failure code E3;

[0203] S812, if S3=1, determine whether the value of S4 is 1;

[0204] S813, if S4≠1, that is, S4=0, determine that the wireless communication module fails to connect with the target wireless router, and a fourth failure occurs in the network configuration process;

[0205] S814, control the display device to display a fourth failure code E4;

[0206] S815, if S4=1, determine whether the value of S5 is 1;

[0207] S816, if S5≠1, that is, S5=0, determine that the smart home appliance fails to connect with the cloud server, and a fifth failure occurs in the network configuration process;

[0208] S817, control the display device to display a fifth failure code E5;

[0209] S818, if S5=1, determine that the smart home appliance successfully connects with the cloud server, that is, the network configuration is successful.

[0210] According to Figure 8As shown, in the smart home appliance network configuration process, when the display device displays the fault code E5, the user can find out according to the instruction manual that the fault corresponding to the fault code E5 is that the smart home appliance fails to connect to the cloud server. At this time, since S4=1, it is indicated that the wireless communication module is successfully connected to the target wireless router, that is, neither the wireless communication module nor the target wireless router has a problem, and S5=0, indicating that the smart home appliance fails to connect to the cloud server. That is, in the case where neither the wireless communication module nor the target wireless router has a problem, the network configuration still fails, so it can be determined that the reason for the connection failure is that the home network has a problem, such as no network, or the target wireless router has a problem, such as the target wireless router being set to mac shielding or domain name shielding or the visitor network being turned on.

[0211] In the embodiment of the present application, in order to further determine the specific reason for the fifth fault, that is, when the micro control unit monitors that the network configuration process has the fifth fault, the following operations are performed:

[0212] The micro control unit monitors whether the network configuration process has a sixth fault and a seventh fault, the sixth fault being that the home network has a problem, and the seventh fault being that the target wireless router has a problem;

[0213] When the micro control unit monitors that the network configuration process has the sixth fault and the seventh fault, a sixth fault code corresponding to the sixth fault and a seventh fault code corresponding to the seventh fault are generated.

[0214] The micro control unit monitors whether the network configuration process has a sixth fault and a seventh fault, including:

[0215] The micro control unit receives the fifth information sent by the wireless communication module, and the fifth information is generated by the wireless communication module after sending an access request to a plurality of target websites, according to whether the plurality of target websites return a response information. If no target website returns a response information, it is determined that the home network has a problem, and if at least one target website returns a response information, it is determined that the target wireless router has a problem;

[0216] The micro control unit determines whether the network configuration process has a sixth fault and a seventh fault according to the fifth information.

[0217] In the embodiments of the present application, after the wireless communication module sends an access request to the cloud server, and the cloud server does not return a response information, the wireless communication module sends an information to the micro control unit to inform the micro control unit that the smart home appliance fails to connect with the cloud server. At this time, the micro control unit assigns the value of S5 in the register as 0, i.e. S5=0, indicating that the smart home appliance fails to connect with the cloud server. At this time, it is determined that the fifth failure occurs in the network configuration process. In order to further determine the specific reason for the fifth failure, the wireless communication module sends an access request to a plurality of target websites, and then determines the reason for the fifth failure according to whether the plurality of target websites return a response information. Exemplarily, the wireless communication module actively sends an access request to three mainstream websites, which can be the top three websites in global browsing volume by default, such as www.google.com, etc. Then it is determined whether the response information of the three websites can be received. If no website returns a response information, it is determined that there is a problem in the home network. At this time, the wireless communication module sends an information to the micro control unit to inform the micro control unit that no website returns a response information. After the micro control unit receives the information, it assigns the value of S6 in the register as 0, i.e. if S6=0, it indicates that there is a problem in the home network. At this time, it is determined that the sixth failure occurs, and the micro control unit controls the display device to display the sixth failure code, such as E6. If at least one website returns a response information, it is determined that there is a problem in the target wireless router setting. At this time, the wireless communication module sends an information to the micro control unit to inform the micro control unit that at least one website returns a response information. After the micro control unit receives the information, it assigns the value of S6 in the register as 1, i.e. if S6=1, it indicates that there is a problem in the target wireless router setting. At this time, it is determined that the seventh failure occurs, and the micro control unit controls the display device to display the seventh failure code, such as E7.

[0218] Reference Figure 9 , 9One of the flowcharts of the smart home appliance network configuration failure diagnosis method provided by the embodiments of the present application. It includes the following steps:

[0219] S901, the trigger device triggers the wireless communication module to enter the network configuration state;

[0220] S902, the micro control unit monitors the network configuration process;

[0221] S903, it is determined whether the value of S1 is 1;

[0222] S904, if S1≠1, i.e. S1=0, it is determined that the wireless communication module does not enter the network configuration state, and the first failure occurs in the network configuration process;

[0223] S905, the display device is controlled to display the first failure code E1.

[0224] S906, if S1=1, judging whether the value of S2 is 1;

[0225] S907, if S2≠1, that is, S2=0, determining that the wireless communication module fails to connect with the mobile terminal, and a second fault occurs in the configuration process;

[0226] S908, controlling the display device to display a second fault code E2;

[0227] S909, if S2=1, judging whether the value of S3 is 1;

[0228] S910, if S3≠1, that is, S3=0, determining that the signal of the target wireless router is weak, and a third fault occurs in the configuration process;

[0229] S911, controlling the display device to display a third fault code E3;

[0230] S912, if S3=1, judging whether the value of S4 is 1;

[0231] S913, if S4≠1, that is, S4=0, determining that the wireless communication module fails to connect with the target wireless router, and a fourth fault occurs in the configuration process;

[0232] S914, controlling the display device to display a fourth fault code E4;

[0233] S915, if S4=1, judging whether the value of S5 is 1;

[0234] S916, if S5=1, determining that the smart home appliance successfully connects with the cloud server, that is, the configuration is successful;

[0235] S917, if S5≠1, that is, S5=0, determining that the smart home appliance fails to connect with the cloud server, and a fifth fault occurs in the configuration process;

[0236] S918, controlling the display device to display a fifth fault code E5;

[0237] S919, if S5≠1, judging whether the value of S6 is 1:

[0238] S920, if S6≠1, that is, S6=0, determining that there is a problem in the home network, and a sixth fault occurs in the configuration process,

[0239] S921, controlling the display device to display a sixth fault code E6;

[0240] S922, if S6=1, determining that there is a problem in the setting of the target wireless router, and a seventh fault occurs in the configuration process;

[0241] S923, controlling the display device to display a seventh fault code E7.

[0242] According to Figure 9 As shown in the figure, in the smart home appliance network configuration process, when the display device displays the fault code E5, the user can find out according to the instruction manual that the fault corresponding to the fault code E5 is that the smart home appliance fails to connect with the cloud server. At this time, if the display device continues to display the fault code E6, the user can find out according to the instruction manual that the fault corresponding to the fault code E6 is that there is a problem in the home network, such as no network. That is, the reason for the smart home appliance failing to connect with the cloud server is that there is a problem in the home network. At this time, the user can check the home network. If the display device continues to display the fault code E7, the user can find out according to the instruction manual that the fault corresponding to the fault code E7 is that there is a problem in the target wireless router setting, that is, the reason for the smart home appliance failing to connect with the cloud server is that there is a problem in the target wireless router setting. At this time, the user can check whether the target wireless router is set to mac shielding or domain name shielding or the visitor network is turned on.

[0243] According to Figure 9 It can be seen that the smart home appliance network configuration fault diagnosis method proposed in the embodiments of the present application has corresponding fault codes for possible faults in the network configuration process, and can be displayed through the display device, thereby helping the user to quickly troubleshoot the fault causes and improving the network configuration rate.

[0244] In addition, those skilled in the art can understand that all or part of the steps in the methods of the above-mentioned embodiments can be completed by programs instructing relevant hardware, and the corresponding programs can be stored in a computer readable storage medium.

[0245] The embodiments disclosed above are only used to help explain the present application. The embodiments do not describe all the details, nor limit the application to the specific embodiments described. Obviously, many modifications and variations can be made according to the content of the present application. The embodiments are selected and described in detail in order to better explain the principles and practical applications of the present application, so that those skilled in the art can well understand and utilize the present application. The present application is limited by the claims and their full scope and equivalents.

Claims

1. A method for diagnosing faults in a smart home appliance distribution network, characterized by: The smart home appliances include: A wireless communication module, used to establish a communication connection between the smart home appliance and the mobile terminal and the cloud server; A triggering device, used to trigger the wireless communication module to enter a network distribution state; A microcontrol unit, configured to monitor the network distribution process of the smart home appliance, perform qualitative analysis on faults in the network distribution process, and generate a fault code; A display device, used to display the fault code; The smart home appliance is connected to the mobile terminal via the wireless communication module, the smart home appliance is connected to the cloud server via the target wireless router, the mobile terminal is connected to the target wireless router, and the mobile terminal is connected to the cloud server; The diagnostic method comprises: When the trigger device triggers the wireless communication module to enter the network configuration state, the micro control unit monitors whether a fault occurs in the network configuration process; If the microcontroller unit detects that a fault occurs during the network configuration process, a qualitative analysis is performed on the fault during the network configuration process to generate a fault code. The faults during the network configuration process include a first fault, a second fault, a third fault, a fourth fault, a fifth fault, a sixth fault, and a seventh fault. The first fault is that the wireless communication module has not entered the network configuration state. The second fault is that the wireless communication module fails to connect to the mobile terminal. The third fault is that the signal of the target wireless router is weak. The fourth fault is that the wireless communication module fails to connect to the target wireless router. The fifth fault is that the smart home appliance fails to connect to the cloud server. The sixth fault is that there is a problem with the home network. The seventh fault is that there is a problem with the setting of the target wireless router. The micro control unit controls the display device to display the fault code.

2. The method according to claim 1, characterized in that If the micro control unit detects that a fault occurs in the network distribution process, a qualitative analysis of the fault in the network distribution process is performed to generate a fault code, including: When the micro control unit detects that the first fault occurs during the network distribution process, it generates a first fault code corresponding to the first fault; When the micro control unit detects that the first fault does not occur during the network configuration process, it determines that the wireless communication module enters the network configuration state.

3. The method according to claim 2, characterized in that Before the micro control unit detects that a first fault occurs during the network distribution process, the method includes: The micro control unit acquires first information sent by the wireless communication module, where the first information is generated by the wireless communication module in response to a trigger instruction for entering a network distribution state sent by the trigger device; The micro control unit determines whether the first fault occurs during the network distribution process according to the first information.

4. The method according to claim 2, characterized in that When the micro control unit detects that the first fault does not occur during the network distribution process, the method includes: The microcontroller unit obtains second information sent by the wireless communication module, where the second information is generated by the wireless communication module based on whether the wireless communication module receives connection success information sent by the mobile terminal, and determines that the wireless communication module is successfully connected to the mobile terminal if the wireless communication module receives connection success information sent by the mobile terminal; and determines that the wireless communication module is unsuccessfully connected to the mobile terminal if the wireless communication module does not receive connection success information sent by the mobile terminal; The micro control unit determines whether the second fault occurs in the network distribution process according to the second information; When the micro control unit detects that the second fault occurs during the network distribution process, it generates a second fault code corresponding to the second fault; When the micro control unit detects that the second fault does not occur during the network configuration process, it is determined that the wireless communication module is successfully connected to the mobile terminal.

5. The method according to claim 4, characterized in that When the micro control unit monitors that the second fault does not occur in the network distribution process, the method includes: The micro control unit obtains the signal strength value of the target wireless router sent by the wireless communication module; The microcontroller unit compares the signal strength value of the target wireless router with a preset threshold value to determine whether the third fault occurs during the network configuration process; when the signal strength of the target wireless router is below the preset threshold value, the signal of the target wireless router is determined to be weak, and the target wireless router is used to establish a communication connection between the smart home appliance and the cloud server; When the micro control unit detects that the third fault occurs during the network distribution process, it generates a third fault code corresponding to the third fault; When the micro control unit monitors that the third fault does not occur during the network configuration process, it determines that the signal of the target wireless router is strong. When the signal strength of the target wireless router is above the preset threshold, it is determined that the signal of the target wireless router is strong.

6. The method according to claim 5, characterized in that When the micro control unit detects that the third fault does not occur in the network distribution process, the method includes: The microcontroller receives third information sent by the wireless communication module, the third information being obtained by the wireless communication module after comparing a first Internet Protocol address and a second Internet Protocol address, wherein the first Internet Protocol address is a default Internet Protocol address of the wireless communication module after entering a network configuration state, and the second Internet Protocol address is an Internet Protocol address acquired by the wireless communication module, and if the first Internet Protocol address and the second Internet Protocol address are different, it is determined that the wireless communication module is successfully connected to the target wireless router; and if the first Internet Protocol address and the second Internet Protocol address are the same, it is determined that the wireless communication module is unsuccessfully connected to the target wireless router. The micro control unit determines whether the fourth fault occurs in the network distribution process according to the third information; When the micro control unit detects that the fourth fault occurs during the network distribution process, it generates a fourth fault code corresponding to the fourth fault; When the micro control unit detects that the fourth fault does not occur during the network configuration process, it determines that the wireless communication module is successfully connected to the target wireless router.

7. The method according to claim 6, characterized in that When the micro control unit detects that the fourth fault does not occur in the network distribution process, the method includes: the microcontroller unit receiving fourth information sent by the wireless communication module, the fourth information being generated by the wireless communication module after sending an access request to the cloud server based on whether the cloud server returns a response message, and determining that the smart home appliance is successfully connected to the cloud server if the cloud server returns a response message, or determining that the smart home appliance fails to connect to the cloud server if the cloud server does not return a response message; The micro control unit determines whether the fifth fault occurs in the network distribution process according to the fourth information; When the micro control unit detects that the fifth fault occurs during the network distribution process, it generates a fifth fault code corresponding to the fifth fault; When the micro control unit detects that the fifth fault does not occur during the network distribution process, it is determined that the smart home appliance is successfully connected to the cloud server.

8. The method according to claim 7, characterized in that When the micro control unit detects that the fifth fault occurs in the network distribution process, the method further includes: monitoring, by the micro control unit, whether the sixth fault and the seventh fault occur in the network distribution process; When the micro control unit monitors that the sixth fault and the seventh fault occur during the network distribution process, a sixth fault code corresponding to the sixth fault and a seventh fault code corresponding to the seventh fault are generated.

9. The method according to claim 8, characterized in that The monitoring, by the micro control unit, of whether the sixth fault and the seventh fault occur in the network distribution process includes: The microcontroller receives fifth information sent by the wireless communication module, the fifth information being generated by the wireless communication module based on whether the target websites return response information after sending access requests to the target websites, and if no target website returns a response information, determining that there is a problem with the home network; and if at least one target website returns a response information, determining that there is a problem with the target wireless router settings; The micro control unit determines whether a sixth fault and a seventh fault occur in the network distribution process according to the fifth information.

10. The method according to any one of claims 1 to 9, characterized in that The method further comprises: The display device is controlled to display the first fault code, or the second fault code, or the third fault code, or the fourth fault code, or the fifth fault code, or the sixth fault code, or the seventh fault code.

Citation Information

Patent Citations

  • Networking fault detection method for household appliances and related device

    CN110752954A

  • Smart home distribution network fault data analysis method and device, and storage medium

    CN111901158A

  • Network distribution system and method for intelligent household appliances

    CN112055399A

  • Network distribution method, storage medium, household appliance, client and network distribution system

    CN113938341A