A method for connecting household appliances to a network

Obtain distribution network information through mobile device applications, use Wi-Fi hotspots and Bluetooth communications to solve the network connection difficulties of home appliances in environments lacking routers, realize simple and fast network distribution of home appliances, and improve user experience and products. Connection efficiency.

CN114205796BActive Publication Date: 2024-08-23ZHEJIANG SHAOXING SUPOR DOMESTIC ELECTRICAL APPLIANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111015888.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-31
Publication Date
2024-08-23
Estimated Expiration
2041-08-31

AI Technical Summary

Technical Problem

The current distribution process of home appliances requires users to manually input distribution network information, which is complex and costly. Especially in the absence of routers, it is difficult for home appliances to connect to the network.

Method used

Obtain distribution network information through the product application on the user's mobile device, use Wi-Fi hotspots and Bluetooth communication to connect home appliances to the user's mobile operator network, and even achieve network connection in a router-free environment.

Benefits of technology

It simplifies the network distribution process of home appliances, reduces user operation complexity and product manufacturing costs, ensures that home appliances can be connected to the network in any environment, improves user experience and shortens network distribution time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114205796B
    Figure CN114205796B
Patent Text Reader

Abstract

This specification proposes a method for connecting a home appliance to a network. Users use the product application installed on their mobile devices to configure the network for the home appliance. The network configuration information is used to connect to the Wi-Fi hotspot created by the user's mobile device based on the mobile operator network to which it is connected. After the home appliance completes the network configuration, it can access the mobile operator network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart home appliances, and in particular to a method for connecting a home appliance to a network. Background Art

[0002] When a user uses a home appliance for the first time, he usually needs to specify the network to be connected to the home appliance and configure the network for the home appliance.

[0003] Therefore, a more effective method for connecting home appliances to the network is needed. Summary of the invention

[0004] In view of the above technical problems, this specification proposes the following technical solutions:

[0005] In a first aspect, a method for connecting a home appliance to a network is provided, comprising:

[0006] The product application on the user's mobile device obtains target information to be sent to the home appliance product; the target information includes network configuration information for connecting to: a Wi-Fi hotspot created by the user's mobile device based on the mobile operator network to which the user's mobile device is connected;

[0007] The product application uses the communication connection between the user mobile device and the home appliance to send the target information to the home appliance;

[0008] The communication module of the home appliance product is connected to the Wi-Fi hotspot created by the user's mobile device according to the target information, and is connected to the mobile operator network through the Wi-Fi hotspot created by the user's mobile device; the communication module has a Wi-Fi function.

[0009] In the technical solution of the first aspect, the user uses the product application installed on his mobile device to configure the network for the home appliance product, so that after the home appliance product completes the network configuration, it can access the network and then connect to the product service end. Specifically, on the user side, when the user needs to configure the network for the home appliance product, the user can open the product application installed on his mobile device. The product application obtains target information, and the target information at least includes the network configuration information for connecting to the Wi-Fi hotspot created by the mobile device based on the mobile operator network to which it is connected. The product application can use the communication connection between the user's mobile device and the home appliance product to transmit the target information to the home appliance product, and the communication module (with Wi-Fi function) of the home appliance product can use the target information to connect to the Wi-Fi hotspot created by the user's mobile device, and then connect to the mobile operator network.

[0010] Through the technical solution of the first aspect, users can easily use the product application installed on their mobile devices to configure the network of home appliances, and even if there is no router to connect to in the environment where the home appliances are located, the home appliances can be connected to the mobile operator network used by the user's own mobile device.

[0011] Further:

[0012] The network configuration information includes: an identifier and a password corresponding to the Wi-Fi hotspot.

[0013] The network configuration information used to connect to the Wi-Fi hotspot may include an identifier and a password corresponding to the Wi-Fi hotspot.

[0014] Further:

[0015] Product applications obtain network configuration information, including:

[0016] The product application obtains the identifier corresponding to the Wi-Fi hotspot created by the user's mobile device from the operating system of the user's mobile device, and obtains the password corresponding to the Wi-Fi hotspot created by the user's mobile device input by the user.

[0017] In actual applications, the product application may not have permission to obtain the password corresponding to the Wi-Fi hotspot created by the user's mobile device from the operating system. In this case, the user needs to enter the password corresponding to the Wi-Fi hotspot created by the user's mobile device into the product application interface.

[0018] Further:

[0019] The communication module also has Bluetooth function;

[0020] The method for establishing the communication connection between the user's mobile device and the home appliance product includes:

[0021] The product application calls the Bluetooth module of the user's mobile device to establish a communication connection with the communication module.

[0022] Product applications can use the Bluetooth connection between the user's mobile device and the home appliance to transmit network information. The communication module can be a combination module that integrates Wi-Fi function and Bluetooth function, which is generally called a Combo module in the industry.

[0023] Further:

[0024] The household appliance product further includes other communication modules, and the other communication modules have a Bluetooth function;

[0025] The method for establishing the communication connection between the user's mobile device and the home appliance product includes:

[0026] The product application calls the Bluetooth module of the user's mobile device to establish a communication connection with the other communication module;

[0027] The method further comprises:

[0028] The communication module obtains the target information from the other communication modules.

[0029] Product applications can use the Bluetooth connection between the user's mobile device and home appliances to transmit network configuration information. The communication module and other communication modules are two independent modules on home appliances. The communication module actually plays the role of a Wi-Fi module, and the other communication modules actually play the role of a Bluetooth module. The Wi-Fi module needs to obtain network configuration information from the Bluetooth module.

[0030] Further:

[0031] The method for establishing the communication connection between the user's mobile device and the home appliance product includes:

[0032] The communication module creates its own Wi-Fi hotspot;

[0033] The product application calls the Wi-Fi module of the user's mobile device to connect to the Wi-Fi hotspot created by the communication module;

[0034] The communication module of the home appliance connects to the Wi-Fi hotspot created by the user's mobile device according to the target information, including:

[0035] After shutting down its own Wi-Fi hotspot, the communication module of the home appliance product connects to the Wi-Fi hotspot created by the user's mobile device according to the target information.

[0036] When network configuration is needed, the communication module of the home appliance product can temporarily create a Wi-Fi hotspot to facilitate the Wi-Fi module of the user's mobile device to connect to the Wi-Fi hotspot. In this way, the network configuration information can be transmitted to the communication module of the home appliance product, and then the communication module can connect to the Wi-Fi hotspot created by the user's mobile device according to the network configuration information.

[0037] Further:

[0038] Target information also includes:

[0039] The IP address resolved based on the domain name of the product server;

[0040] The method further comprises:

[0041] After being connected to the mobile operator network, the Wi-Fi module of the home appliance product is connected to the product service end according to the IP address.

[0042] The process of the Wi-Fi module of the home appliance product connecting to the product server according to the domain name involves the step of the domain name resolution server resolving the domain name and returning the IP address of the Wi-Fi module of the home appliance product (usually 1-2 seconds). The IP address after the domain name resolution of the product server is directly transmitted to the home appliance product, so that the Wi-Fi module of the home appliance product can directly connect to the product server according to the IP address of the product server after the network configuration is completed and the network is accessed, which can shorten the time required for the process from the user starting the network configuration to the home appliance product connecting to the product server.

[0043] Further:

[0044] The product application obtains the IP address based on the domain name resolution of the product server, including:

[0045] The product application sends the domain name of the product server to the domain name resolution server and obtains the IP address returned by the domain name resolution server.

[0046] When the user operates the product application, the product application can send the domain name of the product server to the domain name resolution server in the background and obtain the IP address returned by the domain name resolution server. This process is imperceptible to the user and does not accumulate the time required from the user starting to configure the network to the home appliance connecting to the product server, thereby improving the user experience.

[0047] Further: after the household appliance product is connected to the product service end, the method further includes: the product application receives a connection success notification sent by the product service end.

[0048] The product server can send a successful connection notification to the product application to notify the user that the home appliance product has been successfully connected to the product server, thereby improving the user experience.

[0049] In a second aspect, another method for connecting a home appliance to a network is provided, which is applied to a product application on a user's mobile device, and the method includes:

[0050] Acquire target information to be sent to the home appliance; the target information includes network configuration information for connecting to: a Wi-Fi hotspot created by the user's mobile device based on the mobile operator network to which the user's mobile device is connected;

[0051] The target information is sent to the home appliance by utilizing the communication connection between the user mobile device and the home appliance product, so that the communication module of the home appliance product is connected to the Wi-Fi hotspot created by the user mobile device according to the target information, and is connected to the mobile operator network through the Wi-Fi hotspot created by the user mobile device; the communication module has a Wi-Fi function.

[0052] In a third aspect, another method for connecting a home appliance to a network is provided, which is applied to a communication module of the home appliance, wherein the communication module has a Wi-Fi function, and the method comprises:

[0053] Connecting to a Wi-Fi hotspot created by the user's mobile device according to the target information, and connecting to the mobile operator's network through the Wi-Fi hotspot created by the user's mobile device;

[0054] Among them, the product application on the user's mobile device obtains target information to be sent to the home appliance product; the target information includes network distribution information, which is used to connect: the Wi-Fi hotspot created by the user's mobile device based on the mobile operator network to which it is connected; the product application uses the communication connection between the user's mobile device and the home appliance product to send the target information to the home appliance product.

[0055] In a fourth aspect, a device for connecting a household appliance to a network is provided, which is applied to a product application on a user's mobile device, and the device includes:

[0056] An acquisition module is used to acquire target information to be sent to the home appliance; the target information includes network configuration information for connecting to: a Wi-Fi hotspot created by the user's mobile device based on the mobile operator network to which the user's mobile device is connected;

[0057] A sending module uses the communication connection between the user mobile device and the home appliance to send the target information to the home appliance, so that the communication module of the home appliance connects to the Wi-Fi hotspot created by the user mobile device according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot created by the user mobile device; the communication module has a Wi-Fi function.

[0058] In a fifth aspect, a device for connecting a home appliance to a network is provided, which is applied to a communication module of the home appliance, wherein the communication module has a Wi-Fi function, and the device comprises:

[0059] A connection unit, connected to a Wi-Fi hotspot created by the user's mobile device according to the target information, and connected to the mobile operator's network through the Wi-Fi hotspot created by the user's mobile device;

[0060] Among them, the product application on the user's mobile device obtains target information to be sent to the home appliance product; the target information includes network distribution information, which is used to connect: the Wi-Fi hotspot created by the user's mobile device based on the mobile operator network to which it is connected; the product application uses the communication connection between the user's mobile device and the home appliance product to send the target information to the home appliance product.

[0061] In a sixth aspect, a household appliance product applied in the method of the first aspect is provided.

[0062] In a seventh aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the function of the product application in the method of the first aspect is implemented.

[0063] In an eighth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the function of the communication module in the method of the first aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of this specification. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0065] Figure 1 It is a flowchart of a method for connecting a household appliance product to a product service end provided in this manual;

[0066] Figure 2 This is a flowchart of a current network distribution method provided in this manual;

[0067] Figure 3 This is a flowchart of a method for connecting a home appliance product to a product service end provided in this manual;

[0068] Figure 4 This is a schematic diagram of the changes in the sensing signal levels of NFC modules of different specifications provided in this manual;

[0069] Figure 5 This is a flowchart of a method for connecting a home appliance product to a product service end provided in this manual;

[0070] Figure 6 This manual provides a schematic diagram of a user operating a product application to connect a home appliance product to a product service end. DETAILED DESCRIPTION

[0071] In this specification, a plurality of technical solutions of different concepts are recorded. In each technical solution of the conception, there are one or more embodiments, and the technical solutions of different concepts can also be combined with each other to form more embodiments. After reading this specification, those skilled in the art can combine the technical solutions of different concepts to obtain new technical solutions, and these new technical solutions should also fall within the scope of the description of this specification.

[0072] The following is an introduction to these different technical solutions. Some of the concepts may appear in multiple different technical solutions. For these concepts, this article will explain them when they first appear and will not repeat them in the following text.

[0073] The household electrical appliances described herein generally refer to electrical appliances used for various purposes in a home environment or other places (such as office buildings), and specifically may be cooking appliances with certain cooking functions, such as electric pressure cookers, electric frying pans, etc. In addition, the cooking appliances may also be multifunctional cooking appliances with various cooking functions. In addition, the household electrical appliances may also be, for example, washing machines, air conditioners, televisions, air purifiers, automatic massage chairs, treadmills, etc.

[0074] The household appliance described in this specification has the conventional structure and functions of household appliances currently on the market (such as product housing, power interface, basic household appliance functions, etc.), and also has a communication module. The communication module can at least be used to implement the Wi-Fi function, that is, it can at least play the role of a Wi-Fi module.

[0075] Currently, the way users configure network for home appliances is mainly to operate the home appliances and input the network configuration information of the network to which the home appliances are desired to be connected into the home appliances (for example, the home appliances may have a touch screen for displaying a user interaction interface, and the user interacts with the interface to input the network configuration information), so that the communication module of the home appliances can connect to the network according to the network configuration information input by the user.

[0076] However, the above method requires users to operate home appliances to input network distribution information. Users may not be familiar with the operating logic of home appliances, which is troublesome for users. On the other hand, home appliances need to be designed to support users to manually input network distribution information, which results in high manufacturing costs.

[0077] In order to solve the above technical problems, in one or more embodiments provided in the present disclosure, the user uses the product application installed on his mobile device to configure the network for the home appliance product, so that after the home appliance product completes the network configuration, it can access the network and then connect to the product service end. Specifically, on the user side, when the user needs to configure the network for the home appliance product, the user can open the product application installed on his mobile device. The product application obtains target information, and the target information at least includes the network configuration information for connecting to the Wi-Fi hotspot created by the mobile device based on the mobile operator network to which it is connected. The product application can use the communication connection between the user's mobile device and the home appliance product to transmit the target information to the home appliance product, and the communication module (with Wi-Fi function) of the home appliance product can use the target information to connect to the Wi-Fi hotspot created by the user's mobile device, and then connect to the mobile operator network.

[0078] Through the technical solution of the first aspect, users can easily use the product application installed on their mobile devices to configure the network of home appliances, and even if there is no router to connect to in the environment where the home appliances are located, the home appliances can be connected to the mobile operator network used by the user's own mobile device.

[0079] Figure 1 The present invention provides a flow chart of a method for connecting a household appliance to a network, which includes the following steps:

[0080] S100: The product application on the user's mobile device obtains target information to be sent to the home appliance product.

[0081] S102: The product application uses the communication connection between the user mobile device and the home appliance to send the target information to the home appliance.

[0082] S104: The communication module of the home appliance product connects to the Wi-Fi hotspot created by the user's mobile device according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot created by the user's mobile device.

[0083] The product application described in this article refers to an application developed by the manufacturer of home appliances, which is used to provide users with services related to home appliances on the user's mobile device side. Product applications are usually installed in the operating system of the user's mobile device (it is also unambiguous to describe the application as being installed on the user's mobile device). The application can be a client program (such as an APP installed on a mobile phone) or a light application (for example, a web application, Android quick application, etc.). Light applications can be understood as lightweight programs that do not require downloading the client.

[0084] The product server mentioned in this article refers to the server maintained by the manufacturer of home appliance products. On the one hand, the product application can interact with the product server through the network. For example, after the user operates the mobile device to start the product application, he can log in to the product server through the product application. In this case, it is equivalent to the product application having a binding relationship with the user ID of the user. On the other hand, when the home appliance product is connected to the network, the product server can interact with the home appliance product. The product server can monitor the operation status of the home appliance product by obtaining the operation parameters uploaded by the home appliance product, and can also send control instructions to the home appliance product to control the home appliance product to perform corresponding operations.

[0085] The product server can be a server or a server cluster. In addition, the product server can be functionally divided into a server for monitoring the operating status of the product and a server at the business level. For example, the server for monitoring the operating status of the product can be an M2M platform, which needs to maintain a long connection with the home appliance product, and the home appliance product reports the status changes of the home appliance product to the M2M platform. The service-level server can be an IOT platform, which communicates with the home appliance product through a short connection and is responsible for account management, account binding, command issuance, push message issuance, etc.

[0086] In some embodiments, the user can manually open the product application installed in the operating system of the user's mobile device. Specifically, if the user's mobile device has a product client program installed, the user usually manually opens the product client program. If the product application is not installed, the user can choose to manually download and install the product client program, or manually open the product light application.

[0087] After the product application is started, it is necessary to determine whether the user's mobile device has accessed the network through its own Wi-Fi module. Specifically, the product application can determine whether the Wi-Fi module of the user's mobile device is started, whether the Wi-Fi module of the user's mobile device is connected to the router, and whether the router is connected to the Internet.

[0088] In some embodiments, after the product application is started, it is necessary to determine whether the Wi-Fi module of the user's mobile device is started and whether the Wi-Fi module of the user's mobile device is connected to the router. If the judgment result is yes, the network capability of the user's mobile device is used to request to connect to the product service end. If the product application successfully connects to the product service end, it means that the router connected to the user's mobile device has been connected to the Internet. If it is determined that the user's mobile device has accessed the network through its own Wi-Fi module, the network configuration information used by the user's mobile device can be obtained. If the judgment result is no, the product application can prompt the user to operate the user's mobile device so that the Wi-Fi module of the user's mobile device creates a Wi-Fi hotspot based on the mobile operator network to which the user's mobile device is connected.

[0089] The target information described herein includes at least network configuration information. The network configuration information described herein may refer to information used to connect to a Wi-Fi hotspot created by a user's mobile device based on the mobile operator network to which it is connected. For example, the network configuration information may include an identifier and password corresponding to a Wi-Fi hotspot created by a user's mobile device.

[0090] The mobile operator network, also known as the cellular mobile network, may be, for example, a GPRS network, a 3G network, a 4G network, a 5G network, etc.

[0091] Sometimes there is no wireless LAN available for home appliances to connect to in the environment. In this case, users can use their mobile devices to create a Wi-Fi hotspot for home appliances to connect to.

[0092] In some embodiments, after the user launches the product application, if the product application finds that the mobile device is currently connected to the operator's network, it can remind the user to create a Wi-Fi hotspot for network configuration.

[0093] In some embodiments, the product application can obtain the network configuration information from the operating system. In other embodiments, the product application may not have the permission to obtain the wireless network password from the operating system (e.g., iOS operating system). In this case, the wireless network password needs to be entered into the product application interface. That is, the product application obtains the identifier corresponding to the Wi-Fi hotspot from the operating system of the user's mobile device, and obtains the password corresponding to the Wi-Fi hotspot entered by the user.

[0094] In some embodiments, the label information may also include an IP address resolved based on the domain name of the product server. In this way, after the Wi-Fi module of the home appliance product is connected to the mobile operator network, it can be connected to the product server according to the IP address.

[0095] The process of the Wi-Fi module of the home appliance product connecting to the product server according to the domain name involves the step of the domain name resolution server resolving the domain name and returning the IP address of the Wi-Fi module of the home appliance product (usually 1-2 seconds), and the IP address after the domain name resolution of the product server is directly transmitted to the home appliance product, so that the Wi-Fi module of the home appliance product can directly connect to the product server according to the IP address of the product server after the network configuration is completed and the network is accessed, which can further shorten the time required for the process from the user starting the network configuration to the home appliance product connecting to the product server.

[0096] In some embodiments, after the product application is started, it can communicate with the product server and directly obtain the IP address of the product server from the product server.

[0097] In other embodiments, after the product application is started, the domain name of the product server can be sent to the domain name resolution server and the IP address returned by the domain name resolution server can be obtained. When the user operates the product application, the product application can send the domain name of the product server to the domain name resolution server in the background and obtain the IP address returned by the domain name resolution server. This process is imperceptible to the user and does not accumulate the time required from the user starting to configure the network to the home appliance connecting to the product server, thereby improving the user experience.

[0098] In addition, in the technical solution provided in the present disclosure, there may be many situations for the communication connection between the user's mobile device and the home appliance product, which are explained by way of example below, but this should not constitute a limitation on the scope of this specification.

[0099] For example, the communication module may also have a Bluetooth function, and the product application may call the Bluetooth module of the user's mobile device to establish a communication connection with the communication module.

[0100] That is, the product application can use the Bluetooth connection between the user's mobile device and the home appliance to transmit the network configuration information. The communication module can be a combination module that integrates Wi-Fi function and Bluetooth function, which is generally called a Combo module in the industry.

[0101] For example, in addition to the communication module, the home appliance product also has other communication modules, and the other communication modules have Bluetooth functions. The product application can call the Bluetooth module of the user's mobile device to establish a communication connection with the other communication modules, and the communication module can obtain the target information from the other communication modules.

[0102] In other words, product applications can use the Bluetooth connection between the user's mobile device and the home appliance to transmit network configuration information. The communication module and other communication modules are two independent modules on the home appliance. The communication module actually plays the role of the Wi-Fi module, and the other communication modules actually play the role of the Bluetooth module. The Wi-Fi module needs to obtain network configuration information from the Bluetooth module.

[0103] For another example, the communication module can create its own Wi-Fi hotspot, and the product application can call the Wi-Fi module of the user's mobile device to connect to the Wi-Fi hotspot created by the communication module. In this way, after turning off its own Wi-Fi hotspot, the communication module of the home appliance product can connect to the Wi-Fi hotspot created by the user's mobile device according to the target information.

[0104] That is to say, when network configuration is needed, the communication module of the home appliance product can temporarily create a Wi-Fi hotspot to facilitate the Wi-Fi module of the user's mobile device to connect to the Wi-Fi hotspot. In this way, the network configuration information can be transmitted to the communication module of the home appliance product, and then the communication module can connect to the Wi-Fi hotspot created by the user's mobile device according to the network configuration information.

[0105] It should also be noted that the Wi-Fi function of the communication module of home appliances usually has two modes, namely AP mode and Station mode. The communication module usually needs to be in AP mode to create and maintain its own Wi-Fi hotspot. It cannot maintain its own Wi-Fi hotspot in Station mode, but it needs to be in Station mode to connect to the Wi-Fi hotspot created by the user's mobile device. Therefore, the communication module of home appliances usually needs to turn off its own Wi-Fi hotspot and switch from AP mode to Station mode before it can connect to the Wi-Fi hotspot created by the user's mobile device.

[0106] As another example, a household appliance may have an NFC function, and a product application may call an NFC module of a user's mobile device to establish an NFC connection with an NFC module of the household appliance for transmitting target information.

[0107] In addition, the embodiment of "the communication connection between the user's mobile device and the home appliance product is an NFC connection" can also achieve further technical effects, which are described in detail below.

[0108] At present, some home appliances on the market can be connected to the product service end through the built-in Wi-Fi module. When users use home appliances for the first time, they usually need to connect the home appliances to the product service end through operations. The specific process is: provide the network configuration information to the Wi-Fi module of the home appliance, and then the Wi-Fi module accesses the network according to the network configuration information, and connects to the product service end through the network. This process includes the user configuring the network for the home appliance, the home appliance connecting to the network according to the network configuration information, and the home appliance connecting to the product service end through the network.

[0109] like Figure 2 As shown, one current network configuration method is that when a user needs to configure a network for a home appliance, he or she first switches the Wi-Fi module of the home appliance from the factory default Station mode to the AP mode. When the home appliance is in AP mode, the user can use his or her mobile device, such as a mobile phone, to search for the hotspot of the Wi-Fi module of the home appliance, and then connect his or her mobile device to the hotspot of the Wi-Fi module of the home appliance. In this way, an information transmission channel is established between the user's mobile device and the Wi-Fi module of the home appliance, and the user's mobile device can transmit network configuration information to the Wi-Fi module of the home appliance.

[0110] Continue to see Figure 2 After the Wi-Fi module receives the network configuration information, in order to ensure that the received network configuration information is the network configuration information corresponding to the hotspot of the router in the surrounding environment, it needs to remain in AP mode and check the network configuration information, that is, detect the hotspot identification list in the surrounding environment, and determine whether the wireless network identification contained in the received network configuration information is in the hotspot list. If it exists, the Wi-Fi module will switch to Station mode again, and the Wi-Fi module can act as a Station and connect to the router according to the network configuration information. If it does not exist, it means that the network configuration has failed.

[0111] Continue to see Figure 2 After the Wi-Fi module of the home appliance is connected to the router, the router will assign an intranet IP address to the home appliance, and the home appliance can use the assigned intranet IP address to connect to the external network through the router. Usually, the purpose of connecting the home appliance to the external network is to communicate with the product service end of the home appliance, so as to upload some data on the home appliance (such as product usage records) to the product service end, and receive some data (such as control instructions) issued by the product service end.

[0112] In the above process, the user needs to trigger the home appliance to start the AP mode before the network distribution information can be transmitted to the home appliance. After the transmission is completed, the Wi-Fi module of the home appliance needs to restart and switch from AP mode to Station mode before it can access the network based on the network distribution information. In the whole process, the user first needs to manually switch the Wi-Fi module of the home appliance from Station mode to AP mode. Then, after the Wi-Fi module of the home appliance obtains the network distribution information, it will perform another mode switch (from AP mode back to Station), which takes a certain amount of time. For users, the time to wait for the network distribution to be completed is relatively long. In addition, in the above process, users often need to operate their mobile devices to temporarily disconnect from the router hotspot and temporarily connect to the hotspot of the Wi-Fi module of the home appliance (in order to transmit the network distribution information), which is also troublesome for users.

[0113] In order to solve the above technical problems, this specification provides a method for connecting a home appliance to a network.

[0114] Users use product applications installed on their mobile devices to configure home appliances, so that after the home appliances are configured, they can access the network and then connect to the product service end.

[0115] Specifically, the NFC module of the home appliance is connected to the Wi-Fi module, which means that the Wi-Fi module can read and write the data area of ​​the NFC module of the home appliance. On the user side, when the user needs to configure the network for the home appliance, the user can open the product application installed on his or her mobile device. The product application obtains the target information, and the target information includes at least the network configuration information for connecting to the Wi-Fi hotspot created by the mobile device based on the mobile operator network to which it is connected. The product application calls the NFC module of the user's mobile device, establishes an NFC connection with the NFC module on the home appliance, and uses the NFC connection to write the target information into the NFC module of the home appliance.

[0116] On the product side, the Wi-Fi module of the home appliance does not need to switch from the Station mode to the AP mode during the whole process, but can remain in the Station mode. The Wi-Fi module of the home appliance can obtain the target information in the NFC module of the home appliance, connect to the Wi-Fi hotspot, and connect to the mobile operator network through the Wi-Fi hotspot.

[0117] Through the technical solution of the first aspect, the time required for the process from the user starting to configure the network to the home appliance connecting to the network can be shortened, and the user experience can be improved. Specifically, the network configuration information is transmitted to the home appliance through the NFC connection. Since the NFC technology has near field characteristics (i.e., the distance between the user's mobile device and the home appliance is close enough to establish an NFC connection), this means that the user's mobile device and the home appliance are in the same network environment, and the network configuration information transmitted to the home appliance is the network configuration information of the same network environment. The network configuration information used by the Wi-Fi module of the home appliance for network configuration is the network configuration information of the network environment in which the home appliance is located. This further means that when the Wi-Fi module of the home appliance is configuring the network, it is not necessary to switch to AP mode to verify the network configuration information (the verification can detect the hotspot of the network corresponding to the network configuration information). It takes a long time (generally 2-3 seconds) for the Wi-Fi module to switch modes (whether it is switching from Station mode to AP mode, or from AP mode to Station mode). If the mode switching is omitted, the time required for the process from the user starting to configure the network to the home appliance connecting to the network can be shortened.

[0118] Figure 3 This is a flowchart of a method for connecting a home appliance to a network provided by an embodiment of this specification, comprising the following steps:

[0119] S300: The product application on the user's mobile device obtains target information to be sent to the home appliance product.

[0120] Figure 3 The household appliance in the method shown may have an NFC module and a Wi-Fi module connected to each other. The NFC module and the Wi-Fi module are usually connected through an interface, and specifically can be connected through a Universal Asynchronous Receiver / Transmitter (UART) serial port. Furthermore, the household appliance may also have a control module, and the NFC module and the Wi-Fi module are respectively connected to the control module through an interface.

[0121] In some embodiments, the NFC module and Wi-Fi module of the home appliance are integrated into the same circuit board and can be regarded as an integrated module. The communication between the NFC module and the Wi-Fi module integrated into the same circuit board is more reliable, and the communication delay is also lower, which can further shorten the time required from the user starting to configure the network to the home appliance connecting to the product service end. If the home appliance also has a control module, the control module can be connected to the above-mentioned integrated module through an interface.

[0122] The user mobile device used in each embodiment provided in this specification needs to have an NFC module. The user's NFC module is usually controlled by the operating system of the user's mobile device. The user brings the user's mobile device close to the NFC sensing area of ​​the home appliance (that is, the area that the NFC chip in the home appliance can sense), which can trigger the NFC module of the user's mobile device to establish an NFC connection with the NFC chip of the home appliance. After the NFC connection is established, the operating system of the user's mobile device can control the NFC module of the user's mobile device as a card reader to read and write data in the data area of ​​the NFC chip of the home appliance.

[0123] It should be noted that after the NFC connection is established, the operating system of the user's mobile device will usually read all the data in the data area of ​​the NFC chip of the home appliance first. As for whether data is written to the NFC chip afterwards, it depends on whether the operating system executes the preset write logic or whether the operating system receives a write instruction sent by an installed application.

[0124] The product application described in this article refers to an application developed by the manufacturer of home appliances, which is used to provide users with services related to home appliances on the user's mobile device side. Product applications are usually installed in the operating system of the user's mobile device (it is also unambiguous to describe the application as being installed on the user's mobile device). The application can be a client program (such as an APP installed on a mobile phone) or a light application (for example, a web application, Android quick application, etc.). Light applications can be understood as lightweight programs that do not require downloading the client.

[0125] The product server mentioned in this article refers to the server maintained by the manufacturer of home appliance products. On the one hand, the product application can interact with the product server through the network. For example, after the user operates the mobile device to start the product application, he can log in to the product server through the product application. In this case, it is equivalent to the product application having a binding relationship with the user ID of the user. On the other hand, when the home appliance product is connected to the network, the product server can interact with the home appliance product. The product server can monitor the operation status of the home appliance product by obtaining the operation parameters uploaded by the home appliance product, and can also send control instructions to the home appliance product to control the home appliance product to perform corresponding operations.

[0126] The product server can be a server or a server cluster. In addition, the product server can be functionally divided into a server for monitoring the operating status of the product and a server at the business level. For example, the server for monitoring the operating status of the product can be an M2M platform, which needs to maintain a long connection with the home appliance product, and the home appliance product reports the status changes of the home appliance product to the M2M platform. The service-level server can be an IOT platform, which communicates with the home appliance product through a short connection and is responsible for account management, account binding, command issuance, push message issuance, etc.

[0127] In some embodiments, the user can manually open the product application installed in the operating system of the user's mobile device. Specifically, if the user's mobile device has a product client program installed, the user usually manually opens the product client program. If the product application is not installed, the user can choose to manually download and install the product client program, or manually open the product light application.

[0128] After the product application is started, it is necessary to determine whether the user's mobile device has accessed the network through its own Wi-Fi module. Specifically, the product application can determine whether the Wi-Fi module of the user's mobile device is started, whether the Wi-Fi module of the user's mobile device is connected to the router, and whether the router is connected to the Internet.

[0129] In some embodiments, after the product application is started, it is necessary to determine whether the Wi-Fi module of the user's mobile device is started and whether the Wi-Fi module of the user's mobile device is connected to the router. If the judgment result is yes, the network capability of the user's mobile device is used to request to connect to the product service end. If the product application successfully connects to the product service end, it means that the router connected to the user's mobile device has been connected to the Internet. If it is determined that the user's mobile device has been connected to the network through its own Wi-Fi module, the network configuration information used by the user's mobile device can be obtained.

[0130] The target information described herein includes at least network configuration information. The network configuration information described herein may refer to information used to connect to a Wi-Fi hotspot created by a user's mobile device based on the mobile operator network to which the user's mobile device is connected. For example, the network configuration information may include an identifier and password corresponding to a Wi-Fi hotspot.

[0131] The mobile operator network, also known as the cellular mobile network, may be, for example, a GPRS network, a 3G network, a 4G network, a 5G network, etc.

[0132] Sometimes there is no wireless LAN available for home appliances to connect to in the environment. In this case, users can use their mobile devices to create a Wi-Fi hotspot for home appliances to connect to.

[0133] In some embodiments, after the user launches the product application, if the product application finds that the mobile device is currently connected to the operator's network, it can remind the user to create a Wi-Fi hotspot for network configuration.

[0134] In some embodiments, the product application can obtain the network configuration information from the operating system. In other embodiments, the product application may not have the permission to obtain the wireless network password from the operating system (e.g., iOS operating system). In this case, the wireless network password needs to be entered into the product application interface. That is, the product application obtains the identifier corresponding to the Wi-Fi hotspot from the operating system of the user's mobile device, and obtains the password corresponding to the Wi-Fi hotspot entered by the user.

[0135] In some embodiments, the label information may also include an IP address resolved based on the domain name of the product server. In this way, after the Wi-Fi module of the home appliance product is connected to the mobile operator network, it can be connected to the product server according to the IP address.

[0136] The process of the Wi-Fi module of the home appliance product connecting to the product server according to the domain name involves the step of the domain name resolution server resolving the domain name and returning the IP address of the Wi-Fi module of the home appliance product (usually 1-2 seconds), and the IP address after the domain name resolution of the product server is directly transmitted to the home appliance product, so that the Wi-Fi module of the home appliance product can directly connect to the product server according to the IP address of the product server after the network configuration is completed and the network is accessed, which can further shorten the time required for the process from the user starting the network configuration to the home appliance product connecting to the product server.

[0137] In some embodiments, after the product application is started, it can communicate with the product server and directly obtain the IP address of the product server from the product server.

[0138] In other embodiments, after the product application is started, the domain name of the product server can be sent to the domain name resolution server and the IP address returned by the domain name resolution server can be obtained. When the user operates the product application, the product application can send the domain name of the product server to the domain name resolution server in the background and obtain the IP address returned by the domain name resolution server. This process is imperceptible to the user and does not accumulate the time required from the user starting to configure the network to the home appliance connecting to the product server, thereby improving the user experience.

[0139] S302: The product application calls the NFC module of the user's mobile device to write the acquired target information into the NFC module of the home appliance product.

[0140] The product application calls the NFC module of the user's mobile device, which is actually achieved by sending instructions to the operating system of the user's mobile device.

[0141] S304: When the Wi-Fi module of the home appliance is placed in Station mode, the target information in the NFC module of the home appliance is read, and according to the target information, the Wi-Fi hotspot is connected to the Wi-Fi hotspot, and the mobile operator network is connected through the Wi-Fi hotspot.

[0142] When home appliances leave the factory, their Wi-Fi modules are usually set to Station mode by default. Figure 2 In the method shown, the Wi-Fi module of the home appliance product can always be placed in Station mode.

[0143] In addition, in actual applications, the NFC of home appliances is usually in card mode. The NFC of home appliances can establish an NFC connection with any user mobile device with an NFC module. The permissions corresponding to the NFC of home appliances are usually set to allow the home appliance side to read and write data.

[0144] In some embodiments, if the data security in the NFC of the home appliance product is not considered, the permissions corresponding to the NFC of the home appliance product can also be generally set to be readable and writable on the user's mobile device side (at the software level, it is the operating system of the user's mobile device). Any of the user's mobile devices can write the user ID into the data area of ​​the NFC of the home appliance product. In this case, the product application does not need to be installed on the user's mobile device, and any of the user's mobile devices can obtain the user ID of the user holding the user's mobile device.

[0145] In addition, it should be noted that the existing NFC data area usually includes several NFC records. NFC records are data structures agreed upon by the NFC protocol. NFC records use the NFC data exchange format, namely NDEF. The existing NFC protocol specifies several common NFC data exchange formats (such as URLs and pictures), and also allows device manufacturers to define other types of NFC data exchange formats.

[0146] Generally speaking, devices with NFC functions will support the NFC protocol by default and can identify NFC records with common NFC data exchange formats in the NFC data area. If the device manufacturer defines other types of NFC data exchange formats, the logic for identifying NFC records with other types of NFC data exchange formats will also be built into the operating system of the factory device.

[0147] However, in actual applications, some important business data may need to be stored in the NFC of home appliances. For the security of important business data, the manufacturers of home appliances sometimes hope that the operating system of the user's mobile device (maintained by the manufacturer of the user's mobile device) can only read the data in the NFC, but not write it, without permission. In other words, it is necessary that the operating system of the user's mobile device cannot rewrite the data in the NFC of the home appliance by default, and it is necessary that the operating system of the user's mobile device can write data to the NFC of the home appliance, such as user identification, network configuration information provided by the user, etc., when the home appliance manufacturer requires it.

[0148] To this end, a data area that cannot be recognized by the operating system of the user's mobile device can be added to the NFC data area of ​​the home appliance product. For the convenience of description, this added data area is called the (home appliance manufacturer) custom data area. The custom data area uses a non-NFC data exchange format (the data exchange format agreed upon by the home appliance manufacturer's private protocol, which can also be called a private data exchange format). In addition, the data area other than the custom data area in the NFC data area of ​​the home appliance product is called a standard data area. As mentioned above, the standard data area contains at least one NFC record.

[0149] At the same time, the standard data area can only be read by the operating system of the user's mobile device, but not written; the custom data area can be read and written by the operating system of the user's mobile device. Since the data exchange format used in the custom data area is not the NFC data exchange format specified by the NFC protocol, the operating system of the user's mobile device cannot recognize the data in the custom data area even if it can read the data in the custom data through the NFC module of the user's mobile device.

[0150] Correspondingly, only the software developed by the product manufacturer (product server system, product application, and firmware in home appliance products) can identify the important business data in the custom data area. Therefore, if the NFC of the home appliance product has a custom data area, the user's mobile device needs to install the product application. After starting the product application, the product application identifies the data in the custom data area read by the NFC module of the user's mobile device. In addition, the product application can also instruct the user's mobile operating system to write data to the custom data area.

[0151] In this way, through the above series of technical settings, all data that the user's mobile device needs to write into the product's NFC will be written into the custom data area. This makes it possible for the user's mobile device's operating system to not rewrite the data in the home appliance's NFC by default, but to write data into the home appliance's NFC under the control of the installed product application.

[0152] In some embodiments, the data area of ​​the NFC module includes a standard data area and a custom data area, the standard data area is configured to use a data exchange format defined by the NFC protocol, and the custom data area is configured to use a data exchange format customized by the home appliance manufacturer.

[0153] In this way, the product application can process the format of the acquired network configuration information and IP address into the custom data exchange format, and then call the NFC module of the user's mobile device to write the network configuration information and IP address with the custom data exchange format into the custom data area of ​​the NFC module of the home appliance product.

[0154] The operating system of the user's mobile device cannot parse the data exchange format customized by the home appliance manufacturer. Therefore, even if the operating system of the user's mobile device (controlled by the manufacturer of the user's mobile device) has the write permission to the customized data area in the NFC module of the home appliance, it cannot modify the data in the customized data area. The operating system of the user's mobile device can usually only modify the data in the customized data according to the instructions of the product application, and the operating system cannot parse the business meaning of the data modified by the product application instructions. In this way, the data security of the home appliance manufacturer can be guaranteed.

[0155] In addition, the specifications of NFC modules of various user mobile devices on the market are different. After establishing NFC connection with home appliances, the level fluctuation of the induction signal of some mobile devices with NFC modules is different. On the other hand, if the mobile device wants to write information to the NFC of home appliances, it needs to write when the induction signal is stable. Otherwise, it is easy to fail to write and disturb the user. The user has to take the mobile device away from the NFC induction area of ​​the product and try to establish the NFC connection again.

[0156] This means that if the mobile device starts writing information to the product's NFC soon after establishing an NFC connection, the level of the sensing signal may be unstable and the writing may fail easily.

[0157] Figure 4 This is a schematic diagram of the changes in the sensing signal level of NFC modules of different specifications provided in this manual. Figure 3As shown in the figure, when the NFC module of an Apple phone enters the field (establishing an NFC connection with the product NFC), the level changes from high to low once, and then it will be stable for a long time. Therefore, for Apple phones, after the NFC connection is established, the product application writes information to the product NFC, and the success rate is very high. For the other two Android phones, from the beginning of entering the field, there will be a period of fluctuations in the level of repeated high and low changes, and then it will remain stable. Especially for the last Android phone, after the NFC connection is established, the product application writes information to the product NFC, and the success rate is very low.

[0158] Therefore, in order to be compatible with the specifications of NFC modules of different mobile devices, a write control flag is deployed in the NFC of the product. At the same time, logic is deployed in the product application: the write control flag is the first flag, which means writing is not allowed; the write control flag is the second flag, which means writing is allowed.

[0159] After the product side detects the mobile device entering the site, it determines the write control flag as the first flag, so that the product application will not execute information writing, and there will be no writing failure. After the mobile device enters the site, the product side delays, and the delay time can be the first specified time. After the delay, the write control flag is modified to the second flag. In this way, the product application will read the second flag through the NFC module of the mobile device and start writing information to the product's NFC.

[0160] The first specified time length is N*10 milliseconds, where N is an integer, 2≤N≤5. Experiments show that although the specifications of NFC modules of various mobile devices are different, the time from entering the field to level stabilization is usually between 20 milliseconds and 50 milliseconds, and in many cases does not exceed 40 milliseconds.

[0161] Furthermore, if the product side needs to obtain information written into the NFC by the product application, the network configuration information can be obtained from the NFC chip after a certain period of time starting from the time when the write control flag is changed to the second flag. The waiting time can be an estimated value of the time required for the product application to write the network configuration information to the NFC chip through the NFC connection.

[0162] In addition, after the write control flag is changed to the second flag, the product side can also obtain the network configuration information from the NFC chip when the acquired sensing signal is detected to change from a low level to a high level. That is, the product side can read the network configuration information when it is determined that the user's mobile device has left the site (proving that the writing is completed).

[0163] exist Figure 3 In the method shown, in order to prevent the problem that the NFC module of some user's mobile device fails to write the network configuration information due to unstable sensing signals after establishing a connection with the NFC of the home appliance product, the following technical means can be used:

[0164] The Wi-Fi module on the home appliance side can modify the write control flag in the NFC module. When the NFC module of the user's mobile device is detected to enter the field (when the sensing signal is detected to change from a high level to a low level for the first time), the write control flag is set to the first flag, so that when the product application reads the first flag, it will not temporarily write information to the NFC module of the home appliance; after waiting for a specified period of time (the level of the sensing signal begins to stabilize), the Wi-Fi module modifies the write control flag to the second flag, so that when the product application reads the second flag, it will start to write information to the NFC module of the home appliance.

[0165] In this way, it is possible to delay the timing of writing network configuration information to the product application, and execute information writing when the sensing signal level is relatively stable, thereby ensuring that the writing is successful as much as possible, avoiding the disturbance to the user caused by writing failure, and avoiding the user taking the mobile device away from the home appliance and putting it close again due to writing failure. This actually shortens the time required for the process from the user starting network configuration to the home appliance connecting to the product service end.

[0166] Furthermore, after the write control flag in the NFC module of the home appliance is set from the first flag to the second flag, when a change from a low level to a high level is detected, the network configuration information and the IP address in the NFC module of the home appliance are read.

[0167] After ensuring that the product application successfully writes information to the NFC module of the home appliance, it starts monitoring the departure timing of the NFC module of the user's device (the level of the sensing signal changes from low level to high level). This can further ensure that the required network configuration information and IP address can be read from the NFC module of the home appliance, thereby improving the success rate of reading the network configuration information and IP address, and in fact shortening the time from the user starting network configuration to the home appliance connecting to the product service end.

[0168] In addition, after the home appliance product is connected to the product service end, the product application can receive a successful connection notification issued by the product service end. In some embodiments, the NFC module of the home appliance product also stores the physical (mac) address of the Wi-Fi module of the home appliance product. The product application can call the NFC module of the user's mobile device to read the mac address of the Wi-Fi module of the home appliance product from the NFC module of the home appliance product. After the Wi-Fi module of the home appliance product is connected to the product service end, the product service end can send a product connection success notification message to the product application, and the notification message carries the mac address of the Wi-Fi module on the product that has been successfully connected. The product application can compare the mac address sent by the product service end with the mac address obtained from the product side. If they are consistent, the user is reminded that the product has been successfully connected to the product service end.

[0169] Figure 5 This is a flowchart of another method for connecting a home appliance to a network provided in this manual, including the following steps:

[0170] S500: The product application on the user's mobile device obtains target information to be sent to the home appliance product.

[0171] S502: The product application calls the NFC module of the user's mobile device to write the acquired target information into the NFC module of the home appliance product.

[0172] S504: The control module reads the target information in the NFC module of the home appliance and sends the target information to the Wi-Fi module of the home appliance.

[0173] S506: When the Wi-Fi module of the home appliance is placed in Station mode, it connects to the Wi-Fi hotspot according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot.

[0174] Figure 5 The household appliance product in the method shown has a control module, an NFC module and a Wi-Fi module, and the NFC module and the Wi-Fi module are connected to the control module respectively.

[0175] See the previous article for Figure 3 A description of the method shown in Figure 3 Based on the method description shown, understand Figure 5 The method shown.

[0176] exist Figure 5In the technical solution shown, the NFC module of the home appliance is connected to the control module, which means that the control module can read and write the data area of ​​the NFC module of the home appliance. The Wi-Fi module of the home appliance is also connected to the control module, which means that the control module can transfer the information in the NFC module of the home appliance to the Wi-Fi module.

[0177] On the user side, when the user needs to connect the home appliance to the product service end, the user can open the product application installed on his mobile device. The product application obtains the target information, which at least includes the network configuration information for connecting to the Wi-Fi hotspot created by the mobile device based on the mobile operator network to which the mobile device is connected. The product application calls the NFC module of the user's mobile device, establishes an NFC connection with the NFC module on the home appliance, and uses the NFC connection to write the target information into the NFC module of the home appliance.

[0178] On the product side, the Wi-Fi module of the home appliance does not need to switch from Station mode to AP mode during the entire process, but can remain in Station mode. The control module of the home appliance can obtain the network configuration information in the NFC module of the home appliance and send it to the Wi-Fi module, so that the Wi-Fi module completes the network configuration and connects to the mobile operator network.

[0179] pass Figure 5 The technical solution shown can shorten the time from when the user starts to configure the network to when the home appliance is connected to the network, thereby improving the user experience.

[0180] Figure 6 This specification provides a schematic diagram of a user operating a product application to connect a home appliance product to a product service end. The home appliance product may be, for example, a kitchen machine. Figure 6 The Wi-Fi name in the figure refers to the identifier of the Wi-Fi hotspot.

[0181] In addition, the present disclosure also provides a device for connecting a home appliance to a network, which is applied to a product application on a user's mobile device, and the device includes:

[0182] An acquisition module is used to acquire target information to be sent to the home appliance; the target information includes network configuration information for connecting to: a Wi-Fi hotspot created by the user's mobile device based on the mobile operator network to which the user's mobile device is connected;

[0183] A sending module uses the communication connection between the user mobile device and the home appliance to send the target information to the home appliance, so that the communication module of the home appliance connects to the Wi-Fi hotspot created by the user mobile device according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot created by the user mobile device; the communication module has a Wi-Fi function.

[0184] The present disclosure also provides a device for connecting a home appliance to a network, which is applied to a communication module of the home appliance, wherein the communication module has a Wi-Fi function, and the device comprises:

[0185] A connection unit, connected to a Wi-Fi hotspot created by the user's mobile device according to the target information, and connected to the mobile operator's network through the Wi-Fi hotspot created by the user's mobile device;

[0186] Among them, the product application on the user's mobile device obtains target information to be sent to the home appliance product; the target information includes network distribution information, which is used to connect: the Wi-Fi hotspot created by the user's mobile device based on the mobile operator network to which it is connected; the product application uses the communication connection between the user's mobile device and the home appliance product to send the target information to the home appliance product.

[0187] The present disclosure also provides a household appliance product applied in any embodiment of the present disclosure.

[0188] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, wherein the program realizes the functions of the product application when executed by a processor.

[0189] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, wherein the program implements the function of a communication module of a home appliance when executed by a processor.

[0190] It can be known from the above description of the implementation mode that the technicians in this field can clearly understand that the embodiments of this specification can be implemented by means of software plus the necessary general hardware platform. Based on such an understanding, the technical solution of the embodiments of this specification can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments of this specification.

[0191] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0192] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely schematic, wherein the modules described as separate components may or may not be physically separated, and the functions of each module can be implemented in the same one or more software and / or hardware when implementing the embodiment scheme of this specification. It is also possible to select some or all of the modules according to actual needs to achieve the purpose of the embodiment scheme. A person of ordinary skill in the art can understand and implement it without paying creative labor.

[0193] The above is only a specific implementation of the embodiments of this specification. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the embodiments of this specification. These improvements and modifications should also be regarded as the protection scope of the embodiments of this specification.

Claims

1. A method for connecting a home appliance to a network, It is characterized in that include: The product application on the user's mobile device obtains target information to be sent to the home appliance product; The target information includes network configuration information and an IP address resolved based on the domain name of the product service end, and the network configuration information is used to connect to: the Wi-Fi hotspot created by the user's mobile device based on the mobile operator network to which it is connected; The product application uses the communication connection between the user mobile device and the home appliance to send the target information to the home appliance; The communication module of the home appliance product is connected to the Wi-Fi hotspot created by the user's mobile device according to the target information, and is connected to the mobile operator network through the Wi-Fi hotspot created by the user's mobile device. After being connected to the mobile operator network, the Wi-Fi module of the home appliance product is connected to the product service end according to the IP address; the communication module has a Wi-Fi function.

2. The method according to claim 1, It is characterized in that The network configuration information includes: an identifier and a password corresponding to the Wi-Fi hotspot.

3. The method according to claim 2, It is characterized in that Product applications obtain network configuration information, including: The product application obtains the identifier corresponding to the Wi-Fi hotspot created by the user's mobile device from the operating system of the user's mobile device, and obtains the password corresponding to the Wi-Fi hotspot created by the user's mobile device input by the user.

4. The method according to claim 1, It is characterized in that The communication module also has a Bluetooth function; The method for establishing the communication connection between the user's mobile device and the home appliance product includes: The product application calls the Bluetooth module of the user's mobile device to establish a communication connection with the communication module.

5. The method according to claim 1, It is characterized in that The household appliance product further includes other communication modules, and the other communication modules have a Bluetooth function; The method for establishing the communication connection between the user's mobile device and the home appliance product includes: The product application calls the Bluetooth module of the user's mobile device to establish a communication connection with the other communication module; The method further comprises: The communication module obtains the target information from the other communication modules.

6. The method according to claim 1, It is characterized in that The method for establishing the communication connection between the user's mobile device and the home appliance product includes: The communication module creates its own Wi-Fi hotspot; The product application calls the Wi-Fi module of the user's mobile device to connect to the Wi-Fi hotspot created by the communication module; The communication module of the home appliance connects to the Wi-Fi hotspot created by the user's mobile device according to the target information, including: After shutting down its own Wi-Fi hotspot, the communication module of the home appliance product connects to the Wi-Fi hotspot created by the user's mobile device according to the target information.

7. The method according to claim 1, It is characterized in that The product application obtains an IP address resolved based on the domain name of the product server, including: The product application sends the domain name of the product server to the domain name resolution server and obtains the IP address returned by the domain name resolution server.

8. The method according to claim 7, It is characterized in that After the household appliance is connected to the product service end, the method further includes: The product application receives a connection success notification sent by the product server.

9. A device for connecting a home appliance to a network. It is characterized in that A product application applied to a user's mobile device, the device comprising: an acquisition module, for acquiring target information to be sent to the home appliance product; the target information includes network configuration information and an IP address resolved based on the domain name of the product service end, the network configuration information is used to connect to: a Wi-Fi hotspot created by the user's mobile device based on the mobile operator network to which the user's mobile device is connected; The sending module uses the communication connection between the user mobile device and the home appliance to send the target information to the home appliance, so that the communication module of the home appliance is connected to the Wi-Fi hotspot created by the user mobile device according to the target information, and is connected to the mobile operator network through the Wi-Fi hotspot created by the user mobile device. After the Wi-Fi module of the home appliance is connected to the mobile operator network, it is connected to the product service end according to the IP address; the communication module has a Wi-Fi function.

10. A device for connecting a household appliance to a network. It is characterized in that A communication module applied to the household appliance, the communication module having a Wi-Fi function, and the device comprising: A connection unit, which connects to a Wi-Fi hotspot created by a user's mobile device according to the target information, and connects to a mobile operator network through the Wi-Fi hotspot created by the user's mobile device. After the Wi-Fi module of the home appliance product is connected to the mobile operator network, it connects to a product service end according to the IP address; Among them, the product application on the user's mobile device obtains the target information to be sent to the home appliance product; the target information includes network configuration information and an IP address resolved based on the domain name of the product server, and the network configuration information is used to connect: the user's mobile device creates a Wi-Fi hotspot based on the mobile operator network to which it is connected; the product application uses the communication connection between the user's mobile device and the home appliance product to send the target information to the home appliance product.

11. A household appliance used in the method according to any one of claims 1 to 8.

12. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the program is executed by a processor, the function of the product application in any of the methods described in claims 1-8 is realized.

13. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the program is executed by a processor, the function of the communication module in any one of the methods of claims 1-8 is realized.