A method for connecting household appliances to a network

By integrating NFC modules and Wi-Fi modules in home appliances, NFC technology is used to transmit distribution network information, which solves the problem of long network distribution process, improves user experience and improves communication efficiency.

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

Patent Information

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

AI Technical Summary

Technical Problem

When users use home appliances for the first time, the network distribution process takes a long time, resulting in a poor user experience.

Method used

By integrating NFC modules and Wi-Fi modules in home appliances, NFC technology is used to transmit distribution network information and avoid Wi-Fi module switching modes, thereby shortening the network distribution process.

Benefits of technology

It significantly shortens the time from when the user starts to configure the network to when the home appliance product is connected to the network, improves the user experience, and improves communication reliability and latency through integrated modules.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114124595B
    Figure CN114124595B
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. Subsequently, the home appliance can connect to the network through the built-in Wi-Fi module according to the information of the network specified by the user (i.e., the network configuration information).

[0003] Specifically, when network configuration is required, the home appliance product will switch the built-in Wi-Fi module from the terminal Station mode to the Access Point (AP) mode; the Wi-Fi module receives the network configuration information transmitted by the user in the AP mode. After the network configuration is completed, the Wi-Fi module needs to switch from the AP mode to the Station mode, and connect to the corresponding network in the Station mode according to the network configuration information.

[0004] However, it takes a long time for users to connect their home appliances to the network, resulting in a poor user experience. Summary of the invention

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

[0006] In a first aspect, a method for connecting a home appliance to a network is provided, wherein the home appliance has an NFC module and a Wi-Fi module connected thereto; the method comprising:

[0007] 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;

[0008] The product application calls the NFC module of the user's mobile device and writes the acquired target information into the NFC module of the home appliance product;

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

[0010] In the technical solution of the first aspect, the user uses the product application installed on his mobile device to configure 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.

[0011] 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.

[0012] 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.

[0013] 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.

[0014] Furthermore: the NFC module and the Wi-Fi module of the household appliance are integrated on the same circuit board.

[0015] The communication between the NFC module and the Wi-Fi module integrated on the same circuit board is more reliable and has lower communication delay, which can further shorten the time required from the user starting network configuration to the home appliance connecting to the product service end.

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

[0017] 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.

[0018] Further: The product application obtains the distribution network information, including:

[0019] 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 input by the user.

[0020] In actual applications, the product application may not have permission to obtain the password corresponding to the Wi-Fi hotspot from the operating system. In this case, the user needs to enter the password corresponding to the Wi-Fi hotspot into the interface of the product application.

[0021] Furthermore: the target information also includes:

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

[0023] The method further comprises:

[0024] 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.

[0025] 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.

[0026] Further: the product application obtains the IP address resolved based on the domain name of the product server, including:

[0027] 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.

[0028] 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.

[0029] Further: the Wi-Fi module of the home appliance reads the target information in the NFC module of the home appliance, including:

[0030] The Wi-Fi module of the home appliance monitors the level of the induced signal between the NFC module of the home appliance and the NFC module of the user's mobile device, and when a change from a low level to a high level is detected, the target information in the NFC module of the home appliance is read.

[0031] When the Wi-Fi module of the home appliance detects that the NFC module of the user's mobile device may be leaving the site (at this time, the NFC module of the user's mobile device may have just completed writing information), the Wi-Fi module of the home appliance can read information from the NFC module of the home appliance in a timely manner, instead of waiting for a long time to read information from the NFC module. This can also further shorten the time required for the process from the user starting network configuration to the home appliance connecting to the product service end.

[0032] Further: Also including:

[0033] When the Wi-Fi module of the home appliance is placed in the Station mode, when a change from a high level to a low level is detected for the first time, the write control flag in the NFC module of the home appliance is set to a first flag, and after a specified time period, the write control flag in the NFC module of the home appliance is set from the first flag to a second flag;

[0034] The product application writes the acquired target information into the NFC module of the home appliance product, including:

[0035] The product application writes the acquired target information into the NFC module of the home appliance when a write condition is met; wherein the write condition includes: a write control flag read from the NFC module of the home appliance is set to a second flag.

[0036] 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 the unstable level of the induction signal after establishing a connection with the NFC of the home appliance, the following technical means are adopted: the Wi-Fi module on the home appliance side can modify the write control flag in the NFC module, and when the NFC module of the user's mobile device is detected to enter the field (when the induction 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 the product application does not write information to the NFC module of the home appliance when it reads the first flag; after waiting for a specified period of time (the level of the induction signal begins to stabilize), the Wi-Fi module modifies the write control flag to the second flag, so that the product application starts to write information to the NFC module of the home appliance when it reads the second flag. In this way, the delay of the timing of writing the network configuration information for the product application can be achieved, and the information is written when the induction signal level is relatively stable, so as to ensure the success of the writing as much as possible, avoid the disturbance to the user caused by the write failure, and avoid the user taking the mobile device away from the home appliance and re-applying it close to it due to the write failure, which in fact shortens the time required from the user starting the network configuration to the home appliance connecting to the product service end.

[0037] Further: when a change from a low level to a high level is detected, the target information and the IP address in the NFC module of the home appliance are read, including:

[0038] 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 target information in the NFC module of the home appliance is read.

[0039] 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.

[0040] Further: the data area of ​​the NFC module of the home appliance product includes a standard data area and a custom data area, the standard data area is configured to use the data exchange format defined by the NFC protocol, and the custom data area is configured to use the data exchange format defined by the home appliance product manufacturer;

[0041] 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, including:

[0042] The product application processes the format of the acquired target information into the customized data exchange format;

[0043] The NFC module of the user's mobile device is called to write the target information having the customized data exchange format into the customized data area of ​​the NFC module of the home appliance.

[0044] 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.

[0045] 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.

[0046] 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.

[0047] In a second aspect, another method for connecting a home appliance to a network is provided, wherein the home appliance has a control module, an NFC module, and a Wi-Fi module, wherein the NFC module and the Wi-Fi module are respectively connected to the control module; the method comprises:

[0048] 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;

[0049] The product application calls the NFC module of the user's mobile device and writes the acquired target information into the NFC module of the home appliance product;

[0050] The control module reads the target information in the NFC module of the home appliance and sends it to the Wi-Fi module of the home appliance;

[0051] 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.

[0052] In the technical solution of the second aspect, 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.

[0053] Specifically, 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 pass the information in the NFC module of the home appliance to the Wi-Fi module.

[0054] 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.

[0055] 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.

[0056] Through the technical solution of the second aspect, the time required from the user starting network configuration to the home appliance connecting to the network can be shortened, thereby improving the user experience.

[0057] Specifically, the network configuration information is transmitted to the home appliance through the NFC connection. Since the NFC technology has the feature of near field (i.e., the distance between the user's mobile device and the home appliance is close enough to establish the 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 does not need to switch to the 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 (usually 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 from the user starting the network configuration to the home appliance connecting to the network can be shortened.

[0058] Further: the control module reads the target information in the NFC module of the home appliance, including:

[0059] The control module monitors the level of the induced signal between the NFC module of the home appliance product and the NFC module of the user's mobile device, and reads the target information in the NFC module of the home appliance product when a change from a low level to a high level is detected.

[0060] When the control module of the home appliance detects that the NFC module of the user's mobile device may be leaving the site (at this time, the NFC module of the user's mobile device may have just completed information writing), the control module of the home appliance can promptly read information from the NFC module of the home appliance and transmit it to the Wi-Fi module, instead of waiting for a long time to read information from the NFC module. This can also further shorten the time required for the process from the user starting network configuration to the home appliance connecting to the product service end.

[0061] Further: Also including:

[0062] When the control module detects a change from a high level to a low level for the first time, the control module sets the write control flag in the NFC module of the home appliance product to a first flag, and after a specified time, sets the write control flag in the NFC module of the home appliance product from the first flag to a second flag;

[0063] The product application writes the acquired target information into the NFC module of the home appliance product, including:

[0064] The product application writes the acquired target information into the NFC module of the home appliance when a write condition is met; wherein the write condition includes: a write control flag read from the NFC module of the home appliance is set to a second flag.

[0065] 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 the unstable level of the induction signal after the NFC connection with the home appliance is established, the following technical means are adopted: the control module on the home appliance side can modify the write control flag in the NFC module, and when the NFC module of the user's mobile device is detected to enter the field (when the induction 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 the product application does not write information to the NFC module of the home appliance when the first flag is read; after waiting for a specified period of time (the level of the induction signal begins to stabilize), the control module modifies the write control flag to the second flag, so that the product application starts to write information to the NFC module of the home appliance when the second flag is read. In this way, the delay of the timing of writing the network configuration information for the product application can be achieved, and the information is written when the induction signal level is relatively stable, so as to ensure the success of the writing as much as possible, avoid the disturbance to the user caused by the write failure, and avoid the user taking the mobile device away from the home appliance and re-applying it close to it due to the write failure, which in fact shortens the time required from the user starting the network configuration to the home appliance connecting to the product service end.

[0066] Further: when a change from a low level to a high level is detected, the target information and the IP address in the NFC module of the home appliance are read, including:

[0067] 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 target information in the NFC module of the home appliance is read.

[0068] 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.

[0069] In a third aspect, another method for connecting a home appliance to a network is provided, wherein the home appliance has an NFC module and a Wi-Fi module connected thereto; the method comprising:

[0070] 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;

[0071] The NFC module of the user's mobile device is called to write the acquired target information into the NFC module of the home appliance; so that the Wi-Fi module of the home appliance reads the target information in the NFC module of the home appliance when it is placed in Station mode, connects to the Wi-Fi hotspot according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot.

[0072] In a fourth aspect, another method for connecting a home appliance to a network is provided, wherein the home appliance has a control module, an NFC module, and a Wi-Fi module, wherein the NFC module and the Wi-Fi module are respectively connected to the control module; the method comprises:

[0073] 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;

[0074] The NFC module of the user's mobile device is called to write the acquired target information into the NFC module of the home appliance; so that the control module reads the target information in the NFC module of the home appliance and sends it to the Wi-Fi module of the home appliance; and then the Wi-Fi module of the home appliance is placed in Station mode and, according to the target information, is connected to the Wi-Fi hotspot, and is connected to the mobile operator network through the Wi-Fi hotspot.

[0075] In a fifth aspect, a method for connecting a home appliance to a network is provided, wherein the home appliance has an NFC module and a Wi-Fi module connected thereto; the method comprising:

[0076] 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 target information is connected to a Wi-Fi hotspot, and the target information is connected to the mobile operator network through the Wi-Fi hotspot.

[0077] Among them, the product application on the user's mobile device obtains the target information to be sent to the home appliance product, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance product; the target information includes network configuration information, which 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.

[0078] In a sixth aspect, a method for connecting a home appliance to a network is provided, wherein the home appliance comprises a control module, an NFC module and a Wi-Fi module, wherein the NFC module and the Wi-Fi module are respectively connected to the control module; the method comprising:

[0079] The control module of the home appliance reads the target information in the NFC module of the home appliance and sends it to the Wi-Fi module of the home appliance, so that the Wi-Fi module of the home appliance, when placed in Station mode, connects to the Wi-Fi hotspot according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot;

[0080] Among them, the product application on the user's mobile device obtains the target information to be sent to the home appliance product, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance product; the target information includes network configuration information, which 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.

[0081] In a seventh aspect, a method for connecting a home appliance to a network is provided, wherein the home appliance comprises a control module, an NFC module and a Wi-Fi module, wherein the NFC module and the Wi-Fi module are respectively connected to the control module; the method comprising:

[0082] When the Wi-Fi module of the home appliance is placed in Station mode, it connects to a Wi-Fi hotspot according to the acquired target information, and connects to the mobile operator network through the Wi-Fi hotspot;

[0083] Among them, the control module of the home appliance reads the target information in the NFC module of the home appliance and sends it to the Wi-Fi module of the home appliance; the product application on the user's mobile device obtains the target information to be sent to the home appliance, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance; the target information includes network configuration information, which 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.

[0084] In an eighth aspect, a device for connecting a home appliance to a network is provided, wherein the home appliance has an NFC module and a Wi-Fi module connected thereto; the device is applied to a product application on a user's mobile device, and the device includes:

[0085] 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;

[0086] The writing module calls the NFC module of the user's mobile device to write the acquired target information into the NFC module of the home appliance; so that the Wi-Fi module of the home appliance can read the target information in the NFC module of the home appliance when it is placed in Station mode, connect to the Wi-Fi hotspot according to the target information, and connect to the mobile operator network through the Wi-Fi hotspot.

[0087] In a ninth aspect, a device for connecting a household appliance to a network is provided, wherein the household appliance has a control module, an NFC module, and a Wi-Fi module, wherein the NFC module and the Wi-Fi module are respectively connected to the control module; the device is applied to a product application on a user's mobile device, and the device includes:

[0088] 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;

[0089] The writing module calls the NFC module of the user's mobile device to write the acquired target information into the NFC module of the home appliance; so that the control module reads the target information in the NFC module of the home appliance and sends it to the Wi-Fi module of the home appliance; and then the Wi-Fi module of the home appliance is placed in Station mode and, according to the target information, is connected to the Wi-Fi hotspot, and is connected to the mobile operator network through the Wi-Fi hotspot.

[0090] In a tenth aspect, a device for connecting a home appliance to a network is provided, wherein the home appliance has an NFC module and a Wi-Fi module connected thereto; the device is applied to the Wi-Fi module of the home appliance, and the device comprises:

[0091] The processing unit, when placed in the Station mode, reads the target information in the NFC module of the home appliance, connects to the Wi-Fi hotspot according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot;

[0092] Among them, the product application on the user's mobile device obtains the target information to be sent to the home appliance product, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance product; the target information includes network configuration information, which 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.

[0093] In an eleventh aspect, a device for connecting a home appliance to a network is provided, wherein the home appliance has a control module, an NFC module, and a Wi-Fi module, wherein the NFC module and the Wi-Fi module are respectively connected to the control module; the device is applied to the control module of the home appliance, and comprises:

[0094] a processing unit, which 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, so that the Wi-Fi module of the home appliance, when placed in Station mode, connects to the Wi-Fi hotspot according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot;

[0095] Among them, the product application on the user's mobile device obtains the target information to be sent to the home appliance product, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance product; the target information includes network configuration information, which 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.

[0096] In a twelfth aspect, a device for connecting a home appliance to a network is provided, wherein the home appliance has a control module, an NFC module, and a Wi-Fi module, wherein the NFC module and the Wi-Fi module are respectively connected to the control module; the device is applied to the Wi-Fi module of the home appliance, and the device comprises:

[0097] The processing unit, when placed in the Station mode, connects to the Wi-Fi hotspot according to the acquired target information, and connects to the mobile operator network through the Wi-Fi hotspot;

[0098] Among them, the control module of the home appliance reads the target information in the NFC module of the home appliance and sends it to the Wi-Fi module of the home appliance; the product application on the user's mobile device obtains the target information to be sent to the home appliance, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance; the target information includes network configuration information, which 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.

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

[0100] In a fourteenth aspect, a household appliance product applied in the method of the second aspect is provided.

[0101] In a fifteenth 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.

[0102] In a sixteenth 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 Wi-Fi module in the method of the first aspect is implemented.

[0103] In a seventeenth 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 Wi-Fi module in the method of the second aspect is implemented.

[0104] In an eighteenth 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 control module in the method of the second aspect is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0105] 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.

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

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

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

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

[0110] Figure 5 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

[0111] 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.

[0112] 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.

[0113] 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.

[0114] The household appliances described in this manual have the conventional structure and functions of household appliances currently on the market (such as product housing, power interface, basic household appliance functions, etc.), and will not be specifically introduced in this article.

[0115] 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.

[0116] like Figure 1As 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.

[0117] Continue to see Figure 1 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.

[0118] Continue to see Figure 1 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.

[0119] 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.

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

[0121] 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.

[0122] 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.

[0123] 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.

[0124] 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.

[0125] Figure 2 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:

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

[0127] Figure 2 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.

[0128] 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.

[0129] 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.

[0130] 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.

[0131] 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.

[0132] 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.

[0133] 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.

[0134] 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.

[0135] 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.

[0136] 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.

[0137] 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.

[0138] 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.

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

[0140] 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.

[0141] 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.

[0142] 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.

[0143] 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.

[0144] 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.

[0145] 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.

[0146] S202: 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.

[0147] 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.

[0148] S204: 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 target information is connected to the Wi-Fi hotspot, and the target information is connected to the mobile operator network through the Wi-Fi hotspot.

[0149] 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.

[0150] 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.

[0151] 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.

[0152] 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.

[0153] 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.

[0154] 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.

[0155] 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.

[0156] 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.

[0157] 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.

[0158] 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.

[0159] 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.

[0160] 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.

[0161] 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.

[0162] 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.

[0163] 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.

[0164] Figure 3 This is a schematic diagram of the changes in the sensing signal level of NFC modules of different specifications provided in this manual. Figure 3 As 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.

[0165] 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.

[0166] 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.

[0167] 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.

[0168] 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.

[0169] 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).

[0170] exist Figure 2 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:

[0171] 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.

[0172] 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.

[0173] 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.

[0174] 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.

[0175] 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.

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

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

[0178] S402: 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.

[0179] S404: 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.

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

[0181] Figure 4 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.

[0182] See the previous article for Figure 2 A description of the method shown in Figure 2 Based on the method description shown, understand Figure 4 The method shown.

[0183] exist Figure 4 In 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.

[0184] 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.

[0185] 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.

[0186] pass Figure 4 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.

[0187] Figure 5 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 5 The Wi-Fi name in the figure refers to the identifier of the Wi-Fi hotspot.

[0188] In addition, this specification also provides a device for connecting a home appliance to a network, wherein the home appliance has an NFC module and a Wi-Fi module connected thereto; the device is applied to a product application on a user's mobile device, and the device includes:

[0189] 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;

[0190] The writing module calls the NFC module of the user's mobile device to write the acquired target information into the NFC module of the home appliance; so that the Wi-Fi module of the home appliance can read the target information in the NFC module of the home appliance when it is placed in Station mode, connect to the Wi-Fi hotspot according to the target information, and connect to the mobile operator network through the Wi-Fi hotspot.

[0191] This specification also provides a device for connecting a home appliance to a network, wherein the home appliance has a control module, an NFC module and a Wi-Fi module, wherein the NFC module and the Wi-Fi module are respectively connected to the control module; the device is applied to a product application on a user's mobile device, and comprises:

[0192] 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;

[0193] The writing module calls the NFC module of the user's mobile device to write the acquired target information into the NFC module of the home appliance; so that the control module reads the target information in the NFC module of the home appliance and sends it to the Wi-Fi module of the home appliance; and then the Wi-Fi module of the home appliance is placed in Station mode and, according to the target information, is connected to the Wi-Fi hotspot, and is connected to the mobile operator network through the Wi-Fi hotspot.

[0194] A device for connecting a home appliance to a network is also provided. The home appliance has an NFC module and a Wi-Fi module connected thereto. The device is applied to the Wi-Fi module of the home appliance. The device includes:

[0195] The processing unit, when placed in the Station mode, reads the target information in the NFC module of the home appliance, connects to the Wi-Fi hotspot according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot;

[0196] Among them, the product application on the user's mobile device obtains the target information to be sent to the home appliance product, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance product; the target information includes network configuration information, which 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.

[0197] A device for connecting a home appliance to a network is also provided. The home appliance has a control module, an NFC module and a Wi-Fi module. The NFC module and the Wi-Fi module are respectively connected to the control module. The device is applied to the control module of the home appliance. The device includes:

[0198] a processing unit, which 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, so that the Wi-Fi module of the home appliance, when placed in Station mode, connects to the Wi-Fi hotspot according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot;

[0199] Among them, the product application on the user's mobile device obtains the target information to be sent to the home appliance product, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance product; the target information includes network configuration information, which 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.

[0200] A device for connecting a home appliance to a network is also provided. The home appliance has a control module, an NFC module and a Wi-Fi module. The NFC module and the Wi-Fi module are respectively connected to the control module. The device is applied to the Wi-Fi module of the home appliance. The device includes:

[0201] The processing unit, when placed in the Station mode, connects to the Wi-Fi hotspot according to the acquired target information, and connects to the mobile operator network through the Wi-Fi hotspot;

[0202] Among them, the control module of the home appliance reads the target information in the NFC module of the home appliance and sends it to the Wi-Fi module of the home appliance; the product application on the user's mobile device obtains the target information to be sent to the home appliance, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance; the target information includes network configuration information, which 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.

[0203] 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.

[0204] 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.

[0205] 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.

[0206] 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 household appliance to a network, characterized in that: The household appliance product has an NFC module and a Wi-Fi module connected to each other; the method comprises: 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; The product application calls the NFC module of the user's mobile device and writes the acquired target information into the NFC module of the home appliance product; When the Wi-Fi module of the home appliance is placed in Station mode, the level of the induced signal between the NFC module of the home appliance and the NFC module of the user's mobile device is monitored, and after detecting a change from a high level to a low level for the first time, the write control flag in the NFC module of the home appliance is set to a first flag, and after a specified period of time, the write control flag in the NFC module of the home appliance is set from the first flag to a second flag; when the product application meets the write condition, the acquired target information is written into the NFC module of the home appliance, and the write condition includes: the write control flag read from the NFC module of the home appliance is set to the second flag; when a change from a low level to a high level is monitored, the target information in the NFC module of the home appliance is read, and according to the target information, the home appliance is connected to the Wi-Fi hotspot, and connected to the mobile operator network through the Wi-Fi hotspot.

2. The method according to claim 1, characterized in that: The NFC module and the Wi-Fi module of the household appliance are integrated on the same circuit board.

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

4. The method according to claim 3, characterized in that: Product applications obtain network configuration information, including: 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 input by the user.

5. The method according to claim 1, characterized in that: The target information also includes: The IP address resolved based on the domain name of the product server; The method further comprises: 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.

6. The method according to claim 5, 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.

7. The method according to claim 1, characterized in that: The data area of ​​the NFC module of the home appliance product includes a standard data area and a custom data area, the standard data area is configured to use the data exchange format defined by the NFC protocol, and the custom data area is configured to use the data exchange format defined by the home appliance product manufacturer; 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, including: The product application processes the format of the acquired target information into the customized data exchange format; The NFC module of the user's mobile device is called to write the target information having the customized data exchange format into the customized data area of ​​the NFC module of the home appliance.

8. The method according to claim 1, 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 method for connecting a household appliance to a network, characterized in that: The household appliance product comprises a control module, an NFC module and a Wi-Fi module, wherein the NFC module and the Wi-Fi module are respectively connected to the control module; the method comprises: 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; The product application calls the NFC module of the user's mobile device and writes the acquired target information into the NFC module of the home appliance product; The control module reads the target information in the NFC module of the home appliance and sends it to the Wi-Fi module of the home appliance; When the Wi-Fi module of the home appliance is placed in the Station mode, the control module monitors the level of the induced signal between the NFC module of the home appliance and the NFC module of the user's mobile device, and after detecting a change from a high level to a low level for the first time, sets the write control flag in the NFC module of the home appliance to the first flag, and after a specified period of time, sets the write control flag in the NFC module of the home appliance from the first flag to the second flag; the product application writes the acquired target information into the NFC module of the home appliance when a write condition is met, and the write condition includes: the write control flag read from the NFC module of the home appliance is set to the second flag; when a change from a low level to a high level is monitored, reads the target information in the NFC module of the home appliance, connects to the Wi-Fi hotspot according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot.

10. A method for connecting a household appliance to a network, characterized in that: The household appliance product has an NFC module and a Wi-Fi module connected to each other; the method comprises: When the Wi-Fi module of the home appliance is placed in the Station mode, the level of the induced signal between the NFC module of the home appliance and the NFC module of the user's mobile device is monitored. When a change from a high level to a low level is detected for the first time, the write control flag in the NFC module of the home appliance is set to a first flag, and after a specified period of time, the write control flag in the NFC module of the home appliance is set from the first flag to a second flag; when the product application on the user's mobile device meets the write condition, the acquired target information is written into the NFC module of the home appliance, and the write condition includes: the write control flag read from the NFC module of the home appliance is set to the second flag; when a change from a low level to a high level is detected, the target information in the NFC module of the home appliance is read, and according to the target information, the home appliance is connected to a Wi-Fi hotspot, and connected to a mobile operator network through the Wi-Fi hotspot; Among them, the product application on the user's mobile device obtains the target information to be sent to the home appliance product, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance product; the target information includes network configuration information, which 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.

11. A method for connecting a household appliance to a network, characterized in that: The household appliance product comprises a control module, an NFC module and a Wi-Fi module, wherein the NFC module and the Wi-Fi module are respectively connected to the control module; the method comprises: The control module of the home appliance reads the target information in the NFC module of the home appliance and sends it to the Wi-Fi module of the home appliance, so that the Wi-Fi module of the home appliance monitors the level of the induced signal between the NFC module of the home appliance and the NFC module of the user's mobile device when the Wi-Fi module of the home appliance is placed in the Station mode, and when a change from a high level to a low level is detected for the first time, the write control flag in the NFC module of the home appliance is set to a first flag, and after a specified time, the write control flag in the NFC module of the home appliance is set from the first flag to a second flag; when the product application on the user's mobile device meets the write condition, the product application writes the acquired target information into the NFC module of the home appliance, and the write condition includes: the write control flag read from the NFC module of the home appliance is set to the second flag; when a change from a low level to a high level is detected, the target information in the NFC module of the home appliance is read, and according to the target information, the home appliance is connected to a Wi-Fi hotspot, and connected to a mobile operator network through the Wi-Fi hotspot; Among them, the product application on the user's mobile device obtains the target information to be sent to the home appliance product, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance product; the target information includes network configuration information, which 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.

12. A device for connecting a household appliance to a network, characterized in that: The home appliance product has an NFC module and a Wi-Fi module connected; The device is applied to a product application on a user's mobile device, and the device includes: 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; A writing module calls the NFC module of the user's mobile device to write the acquired target information into the NFC module of the home appliance; so that the Wi-Fi module of the home appliance monitors the level of the induced signal between the NFC module of the home appliance and the NFC module of the user's mobile device when the Wi-Fi module of the home appliance is placed in the Station mode, and when a change from a high level to a low level is detected for the first time, a write control flag in the NFC module of the home appliance is set to a first flag, and after a specified period of time, the write control flag in the NFC module of the home appliance is set from the first flag to a second flag; when the product application meets the writing condition, the acquired target information is written into the NFC module of the home appliance, and the writing condition includes: the write control flag read from the NFC module of the home appliance is set to the second flag; when a change from a low level to a high level is detected, the target information in the NFC module of the home appliance is read, and according to the target information, the home appliance is connected to the Wi-Fi hotspot, and connected to the mobile operator network through the Wi-Fi hotspot.

13. A device for connecting a household appliance to a network, characterized in that: The home appliance product has an NFC module and a Wi-Fi module connected; The device is applied to the Wi-Fi module of the household appliance, and the device includes: The processing unit, when placed in the station mode, monitors the level of the induced signal between the NFC module of the home appliance product and the NFC module of the user's mobile device, and when a change from a high level to a low level is detected for the first time, sets the write control flag in the NFC module of the home appliance product to a first flag, and after a specified period of time, sets the write control flag in the NFC module of the home appliance product from the first flag to a second flag; when the product application on the user's mobile device meets the write condition, writes the acquired target information into the NFC module of the home appliance product, and the write condition includes: the write control flag read from the NFC module of the home appliance product is set to the second flag; when a change from a low level to a high level is detected, reads the target information in the NFC module of the home appliance product, connects to the Wi-Fi hotspot according to the target information, and connects to the mobile operator network through the Wi-Fi hotspot; Among them, the product application on the user's mobile device obtains the target information to be sent to the home appliance product, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance product; the target information includes network configuration information, which 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.

14. A device for connecting a household appliance to a network, characterized in that: The household appliance product has a control module, an NFC module and a Wi-Fi module, wherein the NFC module and the Wi-Fi module are respectively connected to the control module; the device is applied to the control module of the household appliance product, and the device comprises: a processing unit, reading the target information in the NFC module of the home appliance and sending it to the Wi-Fi module of the home appliance, so that the Wi-Fi module of the home appliance monitors the level of the induced signal between the NFC module of the home appliance and the NFC module of the user's mobile device when the Wi-Fi module of the home appliance is placed in the Station mode, and when a change from a high level to a low level is detected for the first time, the write control flag in the NFC module of the home appliance is set to a first flag, and after a specified time period, the write control flag in the NFC module of the home appliance is set from the first flag to a second flag; when the product application on the user's mobile device meets the write condition, the product application writes the acquired target information into the NFC module of the home appliance, and the write condition includes: the write control flag read from the NFC module of the home appliance is set to the second flag; when a change from a low level to a high level is detected, the target information in the NFC module of the home appliance is read, and according to the target information, the home appliance is connected to a Wi-Fi hotspot, and connected to a mobile operator network through the Wi-Fi hotspot; Among them, the product application on the user's mobile device obtains the target information to be sent to the home appliance product, and calls the NFC module of the user's mobile device to write the obtained target information into the NFC module of the home appliance product; the target information includes network configuration information, which 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.

15. A computer-readable storage medium, 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-9 is realized.

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

17. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the program is executed by a processor, the function of the Wi-Fi module in the method of claim 9 is realized.

18. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the program is executed by a processor, the function of the control module in the method of claim 9 is realized.

Citation Information

Patent Citations

  • NFC control-based intelligent household appliance and distribution network method thereof

    CN105785786A

  • NFC-based intelligent home network distribution device and network distribution method

    CN106375167A

  • Network access configuration method and apparatus for intelligent household electrical appliance, and storage medium

    CN110995554A

  • Household electrical appliance network distribution method and device

    CN111130957A

  • WiFi rapid network distribution system based on NFC

    CN212463517U