A method for connecting a household appliance to a wireless network
By using the Wi-Fi module of the user's mobile device to scan the wireless network list to obtain information that supports 2.4GHZ and 5GHZ access points, it solves the problem of home appliances being unable to connect to wireless networks that do not support 2.4GHZ access points and realizes configuration success of the Internet and improvement of user experience.
Patent Information
- Application Number
- CN202111013116.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-31
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-08-31
AI Technical Summary
The Wi-Fi module of home appliances only supports connecting to wireless networks through 2.4GHZ access points, and cannot connect to wireless networks that do not support 2.4GHZ access points, resulting in network distribution failure and a bad experience for users.
Scan the wireless network list through the Wi-Fi module of the user's mobile device to obtain the SSID and BSSID that support 2.4GHZ and 5GHZ access points. If the specified SSID does not provide a 2.4GHZ access point, use the most similar 2.4GHZ access point. Configure the network with the BSSID to ensure that the home appliances are connected to the wireless network.
This avoids network distribution failures, improves user experience, and ensures that home appliances can successfully connect to the wireless network created by the target router.
Smart Images

Figure CN114205824B
Abstract
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 wireless network. Background Art
[0002] Some home appliances on the market currently have Wi-Fi capabilities and can connect to the wireless network created by the router.
[0003] The Wi-Fi module of the home appliance may only support connecting to a wireless network through a 2.4GHZ access point, and cannot connect to a wireless network that does not support 2.4GHZ access points (only supports 5GHZ access points). In this case, if the wireless network specified by the user for the home appliance does not support 2.4GHZ access points, the network configuration will fail and will also bring a bad experience to the user. Summary of the invention
[0004] In view of the above technical problems, this specification proposes the following technical solutions:
[0005] In a first aspect, a method for connecting a home appliance to a wireless network is provided, wherein a Wi-Fi module of the home appliance only supports connecting to the wireless network through a 2.4 GHZ access point, and a Wi-Fi module of a user's mobile device supports connecting to the wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and a product application is installed on the user's mobile device, and the method comprises:
[0006] The product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: a number of wireless network identifiers SSID, and the physical address BSSID of the access point provided by each SSID;
[0007] If the product application determines that the SSID specified by the user for the network configuration of the home appliance product does not provide a 2.4 GHZ access point, the BSSID of the access point provided by the SSID specified by the user is obtained from the user-side wireless network list as the first BSSID; within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID is determined as the second BSSID;
[0008] The product application uses the communication connection between the user mobile device and the home appliance to send the network configuration information including the second BSSID to the home appliance;
[0009] The Wi-Fi module of the household appliance product is connected to the wireless network through a 2.4 GHZ access point according to the network configuration information.
[0010] In the technical solution of the first aspect, the product application can utilize the scanning capability of the Wi-Fi module of the user's mobile device to obtain the user-side wireless network list. Since the Wi-Fi module of the user's corresponding device can connect to both the wireless network that provides a 2.4GHZ access point and the wireless network that provides a 5GHZ access point, the user-side wireless network list includes both the SSID that provides a 2.4GHZ access point and the SSID that provides a 5GHZ access point. In addition, the user-side wireless network list also includes the BSSID of each access point.
[0011] If the SSID specified by the user for the home appliance does not provide a 2.4GHZ access point, it means that the home appliance cannot connect to the wireless network corresponding to the SSID specified by the user. In this case, it often means that the SSID specified by the user provides a 5GHZ access point, which means that the router that created the SSID has dual-band function. In addition to creating a wireless network that provides a 5GHZ access point, the router also creates a wireless network that provides a 2.4GHZ access point.
[0012] For users, their essential demand is to connect home appliances to the wireless network created by the target router (the router specified by the user). Whether the home appliances are connected to the wireless network through a 2.4GHZ access point or a 5GHZ access point is not what the user cares about. It is just that the user happens to specify the SSID created by the target router that only supports 5GHZ access points, and does not specify the SSID created by the target router that supports 2.4GHZ access points. If the home appliances can be connected to the wireless network created by the target router that provides a 2.4GHZ access point, then the user's needs can be met.
[0013] Even if the wireless network that provides a 2.4GHZ access point and the wireless network that provides a 5GHZ access point created by the same router have different SSIDs, the BSSIDs of the access points provided by these two SSIDs are often similar. Therefore, the product application can determine the second BSSID that is most similar to the first BSSID from the user-side wireless network list based on the BSSID of the 5GHZ access point provided by the SSID specified by the user (recorded as the first BSSID). The second BSSID is often the physical address of the 2.4GHZ access point, and the SSID that provides the 2.4GHZ access point and the SSID originally specified by the user are both created by the target router.
[0014] The network configuration information including the second BSSID is sent to the home appliance. The Wi-Fi module of the home appliance can use the second BSSID to connect to the corresponding 2.4GHZ access point, and then connect to the wireless network that provides the 2.4GHZ access point, and can also achieve the purpose of accessing the public network through the target router.
[0015] Through the technical solution of the first aspect, even if the SSID specified by the user for the network configuration of the home appliance does not provide a 2.4GHZ access point, it will not cause the network configuration of the home appliance to fail, and will not bring a bad experience to the user.
[0016] In some implementations, whether any SSID provides a 2.4 GHZ access point is determined by:
[0017] The product application obtains remark information from the operating system of the user's mobile device, where the remark information is used to determine the type of access point provided by each SSID in the user-side wireless network list;
[0018] The product application determines whether any SSID provides a 2.4 GHZ access point based on the remark information.
[0019] If the product application has the authority to obtain the type of access point provided by each SSID in the user-side wireless network list from the operating system of the user's mobile device, it can determine whether any SSID provides a 2.4GHZ access point based on the remark information provided by the operating system.
[0020] In some implementations, whether any SSID supports a 2.4 GHZ access point is determined by:
[0021] The product application obtains a product-side wireless network list from the home appliance through the communication connection; the product-side wireless network list is obtained by the Wi-Fi module of the home appliance scanning various wireless networks that can currently be connected; the product-side wireless network list includes: a plurality of SSIDs, and a BSSID of an access point provided by each SSID;
[0022] The product application compares the user-side wireless network list with the product-side wireless network list, and determines the SSID included in the user-side wireless network list but not included in the product-side wireless network list as an SSID that does not provide a 2.4GHZ access point, and determines the SSID included in the product-side wireless network list as an SSID that provides a 2.4GHZ access point.
[0023] The Wi-Fi module of the home appliance product only supports connecting to the wireless network through a 2.4GHZ access point. Therefore, each SSID in the product-side wireless network list scanned by the Wi-Fi module of the home appliance product is an SSID that provides a 2.4GHZ access point, and the product-side wireless network list does not include SSIDs that only provide 5GHZ access points. By comparing the user-side wireless network list with the product-side wireless network list, you can determine which SSIDs provide 2.4GHZ access points and which SSIDs do not provide 2.4GHZ access points.
[0024] In some embodiments, it further comprises:
[0025] If the product application determines that the user provides a 2.4 GHZ access point for the SSID specified by the home appliance product, the network configuration information including the SSID is sent to the home appliance product by utilizing the communication connection between the user's mobile device and the home appliance product.
[0026] If the SSID specified by the user can provide a 2.4 GHZ access point, the product application can directly send the SSID to the home appliance, and the home appliance can directly connect to the wireless network based on the SSID.
[0027] In some implementations, the network configuration information further includes:
[0028] The user specifies the SSID for the home appliance network configuration;
[0029] The method further comprises:
[0030] The notification module of the home appliance sends a network configuration success notification containing the SSID to the user.
[0031] In addition to the second BSSID, the network configuration information may also include the SSID specified by the user. In this way, the notification module of the home appliance product can send a network configuration success notification containing the SSID to the user. The user does not need to know that the Wi-Fi module of the home appliance product is actually connected to the wireless network through the second BSSID. The user will think that the home appliance product is connected to the wireless network through the SSID specified by the user. This can give the user feedback that "the connection is very smooth", thereby improving the user experience.
[0032] In some implementations, the network configuration information further includes:
[0033] The wireless network password corresponding to the SSID specified for the network configuration of the home appliance product.
[0034] Some wireless networks require connection verification. In this case, the wireless network password also needs to be sent to the home appliance.
[0035] In some implementations, the product application acquires the SSID specified by the user for the home appliance product network configuration in the following manner:
[0036] The product application displays a network configuration interface to the user; the network configuration interface includes each SSID in the user-side wireless network list;
[0037] The product application determines the SSID selected by the user in the network configuration interface as the SSID specified by the user for network configuration of the home appliance product.
[0038] In the design of the network configuration process, the product application can prompt the user to select an SSID from the user-side wireless network list as the SSID designated for the home appliance network configuration. Since the user's mobile device and the home appliance are often in the same environment, the wireless network that the Wi-Fi module of the user's mobile device can connect to often also covers the area where the home appliance is located.
[0039] In some implementations, the product application acquires the SSID specified by the user for the home appliance product network configuration in the following manner:
[0040] The product application obtains, from the operating system of the user's mobile device, the SSID of the wireless network to which the Wi-Fi module of the user's mobile device is currently connected;
[0041] The product application uses the SSID obtained from the operating system as the SSID specified by the user for network configuration of the home appliance product.
[0042] In the design of the network configuration process, the SSID of the wireless network currently connected to the Wi-Fi module of the user's mobile device can be used as the SSID specified by the user for the network configuration of the home appliance. Since the user's mobile device and the home appliance are often in the same environment, the wireless network that the Wi-Fi module of the user's mobile device can connect to often also covers the area where the home appliance is located.
[0043] In some implementations, determining, within the range of each BSSID other than the first BSSID in the user-side wireless network list, a BSSID most similar to the first BSSID includes:
[0044] For each SSID in the user-side wireless network list except the SSID specified by the user, if it is determined that the SSID supports a 2.4 GHz access point, determine the similarity between the BSSID of the 2.4 GHz access point and the first BSSID;
[0045] The BSSID of the 2.4 GHZ access point with the greatest similarity is used as the second BSSID.
[0046] You can first exclude the SSIDs that only provide 5GHZ access points in the user-side wireless network list, and then traverse the BSSIDs corresponding to the remaining SSIDs that provide 2.4GHZ access points. This can save calculation workload and improve calculation efficiency.
[0047] In a second aspect, a method for connecting a home appliance to a wireless network is provided, wherein a Wi-Fi module of the home appliance only supports connecting to a wireless network through a 2.4 GHZ access point, and a Wi-Fi module of a user's mobile device supports connecting to a wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and a product application is installed on the user's mobile device, and the method comprises:
[0048] The product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: a number of SSIDs, and the BSSID of the access point provided by each SSID;
[0049] The product application determines, from the user-side wireless network list, the BSSID of the access point provided by the user for the SSID specified by the user for the network configuration of the home appliance product as the first BSSID; and determines, within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID as the second BSSID;
[0050] The product application uses the communication connection between the user mobile device and the home appliance to send the network configuration information including the first BSSID and the second BSSID to the home appliance;
[0051] The Wi-Fi module of the home appliance is connected to a wireless network through a 2.4 GHZ access point according to the first BSSID or the second BSSID in the network configuration information.
[0052] In the technical solution of the second aspect above, the product application can utilize the scanning capability of the Wi-Fi module of the user's mobile device to obtain the user-side wireless network list. Since the Wi-Fi module of the user's corresponding device can connect to both the wireless network that provides a 2.4GHZ access point and the wireless network that provides a 5GHZ access point, the user-side wireless network list includes both the SSID that provides a 2.4GHZ access point and the SSID that provides a 5GHZ access point. In addition, the user-side wireless network list also includes the BSSID of each access point.
[0053] The product application does not need to determine whether the SSID specified by the user for the network configuration of the home appliance product provides a 2.4GHZ access point. The SSID specified by the user may provide a 2.4GHZ access point or may only provide a 5GHZ access point. The BSSID of the access point provided by the SSID is used as the first BSSID, and the product application searches for the BSSID that is most similar to the first BSSID in the user-side wireless network list as the second BSSID. The access point corresponding to the second BSSID may be a 2.4GHZ access point or a 5GHZ access point. Even the access point corresponding to the second BSSID and the access point corresponding to the first BSSID may not belong to the same router (in this case, it often means that the access point corresponding to the first BSSID is a 2.4GHZ access point).
[0054] After the product application sends the network configuration information including the first BSSID and the second BSSID to the home appliance, the Wi-Fi module of the home appliance can always connect to the 2.4GHZ access point based on the first BSSID or the second BSSID, and then connect to the wireless network that provides the 2.4GHZ access point.
[0055] Through the technical solution of the second aspect, even if the SSID specified by the user for the network configuration of the home appliance does not provide a 2.4GHZ access point, it will not cause the network configuration of the home appliance to fail, and will not bring a bad experience to the user.
[0056] In some implementations, the Wi-Fi module of the home appliance connects to a wireless network through a 2.4 GHZ access point according to the first BSSID or the second BSSID in the network configuration information, including:
[0057] The Wi-Fi module of the home appliance product attempts to connect to the wireless network according to the first BSSID in the network configuration information; if the connection fails, it connects to the wireless network through a 2.4 GHZ access point according to the second BSSID in the network configuration information.
[0058] The access point corresponding to the second BSSID and the access point corresponding to the first BSSID may not belong to the same router. It is possible that the access point corresponding to the first BSSID is the 2.4GHZ access point of the target router, and the access point corresponding to the second BSSID is the 2.4GHZ access point of the non-target router. In theory, the Wi-Fi module of the home appliance can connect to the wireless network created by the target router or the wireless network created by the non-target router. However, the essential purpose of the user is to connect the Wi-Fi module of the home appliance to the wireless network created by the target router. Therefore, you can try to connect according to the first BSSID first. If the connection is successful, it means that the access point corresponding to the first BSSID is the 2.4GHZ access point of the target router, and the home appliance can be successfully connected to the wireless network created by the target router. If the connection fails, it means that the access point corresponding to the first BSSID is the 5GHZ access point of the target router, and the access point corresponding to the second BSSID must be the 2.4GHZ access point of the target router, and the wireless network created by the target router can be connected according to the second BSSID.
[0059] In some implementations, the network configuration information further includes:
[0060] The wireless network password corresponding to the SSID specified by the user for the home appliance product to be networked.
[0061] Some wireless networks require connection verification, in which case the wireless network password also needs to be sent to the home appliance. In addition, if the access point corresponding to the first BSSID is the 2.4GHZ access point of the target router, and the access point corresponding to the second BSSID is the 2.4GHZ access point of the non-target router, the home appliance will not be connected to the wireless network created by the non-target router, because the wireless network password in the network configuration information cannot be verified by the non-target router.
[0062] In a third aspect, a method for connecting a household appliance to a wireless network is provided, wherein the Wi-Fi module of the household appliance only supports connecting to the wireless network through a 2.4 GHZ access point, and the Wi-Fi module of a user's mobile device supports connecting to the wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and a product application is installed on the user's mobile device, and the method is applied to the product application, and the method includes:
[0063] The product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: a number of SSIDs, and the BSSID of the access point provided by each SSID;
[0064] If it is determined that the SSID specified by the user for the network configuration of the home appliance does not provide a 2.4 GHZ access point, obtain the BSSID of the access point provided by the SSID specified by the user from the user-side wireless network list as the first BSSID; within the range of each BSSID other than the first BSSID in the user-side wireless network list, determine the BSSID most similar to the first BSSID as the second BSSID;
[0065] Utilizing the communication connection between the user mobile device and the home appliance, the network configuration information including the second BSSID is sent to the home appliance; so that the Wi-Fi module of the home appliance is connected to the wireless network through a 2.4 GHZ access point according to the network configuration information.
[0066] In a fourth aspect, a method for connecting a household appliance to a wireless network is provided, wherein a Wi-Fi module of the household appliance only supports connecting to a wireless network through a 2.4 GHZ access point, and a Wi-Fi module of a user's mobile device supports connecting to a wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and a product application is installed on the user's mobile device. The method is applied to the Wi-Fi module of the household appliance, and the method comprises:
[0067] According to the received network configuration information, connect to the wireless network through the 2.4GHZ access point;
[0068] Among them, the product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: several SSIDs, and the BSSID of the access point provided by each SSID; if it is determined that the SSID specified by the user for the network configuration of the home appliance product does not provide a 2.4GHZ access point, then from the user-side wireless network list, the BSSID of the access point provided by the user-specified SSID is obtained as the first BSSID; within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID is determined as the second BSSID; using the communication connection between the user's mobile device and the home appliance product, the network configuration information containing the second BSSID is sent to the home appliance product.
[0069] In a fifth aspect, a method for connecting a household appliance to a wireless network is provided, wherein the Wi-Fi module of the household appliance only supports connecting to the wireless network through a 2.4 GHZ access point, and the Wi-Fi module of a user's mobile device supports connecting to the wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and a product application is installed on the user's mobile device, and the method is applied to the product application, and the method includes:
[0070] Obtain a user-side wireless network list; the user-side wireless network list is obtained by scanning various wireless networks that can currently be connected to by the Wi-Fi module of the user's mobile device; the user-side wireless network list includes: a plurality of SSIDs, and the BSSID of the access point provided by each SSID;
[0071] Determine, from the user-side wireless network list, the BSSID of the access point provided by the user for the SSID specified by the home appliance product for network configuration as the first BSSID; determine, within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID as the second BSSID;
[0072] Utilizing the communication connection between the user mobile device and the home appliance, the network configuration information including the first BSSID and the second BSSID is sent to the home appliance; so that the Wi-Fi module of the home appliance is connected to the wireless network through a 2.4GHZ access point according to the first BSSID or the second BSSID in the network configuration information.
[0073] In a sixth aspect, a method for connecting a household appliance to a wireless network is provided, wherein a Wi-Fi module of the household appliance only supports connecting to a wireless network through a 2.4 GHZ access point, and a Wi-Fi module of a user's mobile device supports connecting to a wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and a product application is installed on the user's mobile device. The method is applied to the Wi-Fi module of the household appliance, and the method comprises:
[0074] Connecting to a wireless network through a 2.4 GHz access point according to the first BSSID or the second BSSID in the received network configuration information;
[0075] Among them, the product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: several SSIDs, and the BSSID of the access point provided by each SSID; from the user-side wireless network list, the BSSID of the access point provided by the SSID specified by the user for the home appliance product network configuration is determined as the first BSSID; within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID is determined as the second BSSID; using the communication connection between the user's mobile device and the home appliance product, the network configuration information containing the first BSSID and the second BSSID is sent to the home appliance product.
[0076] In a seventh aspect, a device for connecting a household appliance to a wireless network is provided, wherein a Wi-Fi module of the household appliance only supports connecting to a wireless network through a 2.4 GHZ access point, and a Wi-Fi module of a user's mobile device supports connecting to a wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and a product application is installed on the user's mobile device, and the device is applied to the product application, and the device includes:
[0077] An acquisition unit is configured to acquire a user-side wireless network list; the user-side wireless network list is obtained by scanning various wireless networks that can be currently connected by a Wi-Fi module of the user's mobile device; the user-side wireless network list includes: a plurality of SSIDs, and a BSSID of an access point provided by each SSID;
[0078] The processing unit, if it is determined that the SSID specified by the user for the network configuration of the home appliance does not provide a 2.4 GHZ access point, obtains the BSSID of the access point provided by the SSID specified by the user from the user-side wireless network list as the first BSSID; and determines, within the range of each BSSID other than the first BSSID in the user-side wireless network list, a BSSID most similar to the first BSSID as the second BSSID;
[0079] The sending unit uses the communication connection between the user mobile device and the home appliance to send the network configuration information including the second BSSID to the home appliance; so that the Wi-Fi module of the home appliance is connected to the wireless network through the 2.4GHZ access point according to the network configuration information.
[0080] In an eighth aspect, a device for connecting a household appliance to a wireless network is provided, wherein a Wi-Fi module of the household appliance only supports connecting to a wireless network through a 2.4 GHZ access point, and a Wi-Fi module of a user's mobile device supports connecting to a wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and a product application is installed on the user's mobile device. The device is applied to the Wi-Fi module of the household appliance, and the device includes:
[0081] The connection unit connects to the wireless network through the 2.4 GHZ access point according to the received network configuration information;
[0082] Among them, the product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: several SSIDs, and the BSSID of the access point provided by each SSID; if it is determined that the SSID specified by the user for the network configuration of the home appliance product does not provide a 2.4GHZ access point, then from the user-side wireless network list, the BSSID of the access point provided by the user-specified SSID is obtained as the first BSSID; within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID is determined as the second BSSID; using the communication connection between the user's mobile device and the home appliance product, the network configuration information containing the second BSSID is sent to the home appliance product.
[0083] In a ninth aspect, a device for connecting a household appliance to a wireless network is provided, wherein a Wi-Fi module of the household appliance only supports connecting to a wireless network through a 2.4 GHZ access point, and a Wi-Fi module of a user's mobile device supports connecting to a wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and a product application is installed on the user's mobile device, and the device is applied to the product application, and the device includes:
[0084] An acquisition unit is configured to acquire a user-side wireless network list; the user-side wireless network list is obtained by scanning various wireless networks that can be currently connected by a Wi-Fi module of the user's mobile device; the user-side wireless network list includes: a plurality of SSIDs, and a BSSID of an access point provided by each SSID;
[0085] The processing unit determines the BSSID of the access point provided by the SSID specified by the user for the network configuration of the home appliance product as the first BSSID; and determines the BSSID most similar to the first BSSID in the range of each BSSID other than the first BSSID in the user-side wireless network list as the second BSSID;
[0086] The sending unit uses the communication connection between the user mobile device and the home appliance to send the network configuration information including the first BSSID and the second BSSID to the home appliance; so that the Wi-Fi module of the home appliance is connected to the wireless network through a 2.4GHZ access point according to the first BSSID or the second BSSID in the network configuration information.
[0087] In a tenth aspect, a device for connecting a household appliance to a wireless network is provided, wherein a Wi-Fi module of the household appliance only supports connecting to a wireless network through a 2.4 GHZ access point, and a Wi-Fi module of a user's mobile device supports connecting to a wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and a product application is installed on the user's mobile device. The device is applied to the Wi-Fi module of the household appliance, and the device includes:
[0088] A connecting unit, connected to a wireless network through a 2.4 GHz access point according to the first BSSID or the second BSSID in the received network configuration information;
[0089] Among them, the product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: several SSIDs, and the BSSID of the access point provided by each SSID; from the user-side wireless network list, the BSSID of the access point provided by the SSID specified by the user for the home appliance product network configuration is determined as the first BSSID; within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID is determined as the second BSSID; using the communication connection between the user's mobile device and the home appliance product, the network configuration information containing the first BSSID and the second BSSID is sent to the home appliance product.
[0090] In an eleventh aspect, a household appliance product using the method embodiment provided in the present disclosure is provided.
[0091] In a twelfth 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 embodiment provided in the present disclosure is implemented.
[0092] In a thirteenth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the function of the Wi-Fi module of the household appliance product in the method embodiment provided in the present disclosure is implemented.
[0093] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0094] 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.
[0095] Figure 1 It is a flowchart of a method for connecting a household appliance to a wireless network provided by the present disclosure;
[0096] Figure 2 It is a flowchart of another method for connecting a home appliance to a wireless network provided by the present disclosure. DETAILED DESCRIPTION
[0097] 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.
[0098] The household appliances described in this specification 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 also have a Wi-Fi module. The Wi-Fi module here can be understood as a communication module with only Wi-Fi function, or it can be understood as a communication module with not only Wi-Fi function but also NFC function or Bluetooth function. In practical applications, a module integrating Wi-Fi function and Bluetooth function can also be called a Combo module.
[0099] Routers are usually connected to the public network through wired means. Routers can be used to create one or more wireless networks (belonging to local area networks). Wireless networks provide access points. Networked devices actually connect to access points first and then to wireless networks. The types of access points provided by wireless networks include 2.4GHZ access points and 5GHZ access points.
[0100] Some routers on the market only support single frequency, that is, the wireless network created by this type of router will only provide 2.4GHZ access points, and networked devices (such as user mobile devices, home appliances, etc.) can only connect to the wireless network through 2.4GHZ access points.
[0101] In addition, there are routers on the market that support dual band, that is, this type of router will not only create a wireless network that provides 2.4GHZ access points, but also a wireless network with 5GHZ access points.
[0102] The Wi-Fi modules of networked devices may have different standards. Some Wi-Fi modules only support connecting to wireless networks through 2.4GHZ access points and cannot connect to wireless networks that provide 5GHZ access points. Some Wi-Fi modules support connecting to wireless networks through 5GHZ access points. It should be noted that Wi-Fi modules that support 5GHZ access points often also support 2.4GHZ access points, such as the Wi-Fi modules of user mobile devices. Wi-Fi modules that only support 2.4GHZ access points are relatively low in cost and are commonly used in various home appliances.
[0103] A wireless network has its own wireless network identification SSID. It should be noted that for the same dual-band router, the wireless network that provides 5GHZ access points and the wireless network that provides 2.4GHZ access points can use different SSIDs. In this case, the same dual-band router actually provides two SSIDs to the outside world, and each SSID corresponds to only one wireless network, which either only provides 2.4GHZ access points or only provides one SSID to provide 5GHZ access points. In addition, for the same dual-band router, the wireless network that provides 5GHZ access points and the wireless network that provides 2.4GHZ access points can also use the same SSID. In this case, the same dual-band router actually provides one SSID to the outside world, and the SSID corresponds to two wireless networks, one of which provides 2.4GHZ access points and the other provides 5GHZ access points.
[0104] In actual applications, if the wireless networks created by the router that provide access points of different frequencies have different SSIDs, the two SSIDs may be relatively similar or very different. Routers generally support users to modify SSIDs, and users may modify the two SSIDs of the same router that provide different access points to be very different. In this case, if the SSID specified by the user for network configuration of home appliances does not provide a 2.4GHZ access point, it is difficult for the home appliances to match other similar SSIDs based on the SSID, as the SSID of the same router that provides a 2.4GHZ access point, which will cause the user to fail to configure the network for the home appliances.
[0105] One solution to the above technical problem is that if the product application determines that the SSID specified by the user for the home appliance product does not provide a 2.4GHZ access point, the product application can prompt the user to re-specify an SSID that provides a 2.4GHZ access point. This method will cause some disturbance to the user, and the user needs to cooperate in switching the specified SSID.
[0106] For example, the product application can use the SSID of the wireless network that the user's mobile device is currently connected to as the SSID specified by the user for network configuration of home appliances. Currently, user mobile devices on the market often connect to wireless networks through 5GHZ access points by default. If the wireless network that provides a 5GHZ access point and the wireless network that provides a 2.4GHZ access point created by the target router specified by the user do not share the SSID, then in this case, the product application will often use the SSID that provides the 5GHZ access point as the user-specified SSID. Once the product application finds that the user-specified SSID does not provide a 2.4GHZ access point, it will prompt the user to reconnect their user mobile device to the wireless network created by the target router through the 2.4GHZ access point. After the user cooperates to reconnect the user mobile device to the wireless network that provides a 2.4GHZ access point, the product application re-acquires the SSID that the user's mobile device is currently connected to and sends the SSID to the home appliance for network configuration.
[0107] In addition, there are other ways to solve the above technical problems.
[0108] The access points provided by the wireless network have physical addresses BSSID. The BSSIDs of different frequency access points of the same router are often different, but they are relatively similar. In other words, the similarity between the BSSID of a 2.4GHZ access point of a router and the BSSID of the 5GHZ access point of the same router is significantly greater than the similarity between the BSSID of the 2.4GHZ access point of the router and the BSSID of the access points of other routers.
[0109] In actual applications, the format of BSSID is usually a 48-bit binary identifier; the BSSID of a 5 GHz access point and the BSSID of a 2.4 GHz access point of the same router have at least the same first 40 bits of binary identifier. In addition, routers generally do not support users to modify the BSSID of access points.
[0110] The Wi-Fi module of the home appliance can directly connect to the wireless network based on the BSSID of the 2.4GHZ access point without relying on the SSID. Therefore, in the technical solution disclosed in the present invention, the BSSID of the 2.4GHZ access point is determined based on the SSID specified by the user for the network configuration of the home appliance, and the BSSID of the 2.4GHZ access point is transmitted to the Wi-Fi module of the home appliance. In this way, on the one hand, it is possible to avoid matching the two SSIDs of the same router (the two SSIDs of the same router are often not similar), and on the other hand, the similarity between the BSSIDs of the two access points of the same router can be used to ensure that the BSSID of the 2.4GHZ access point is transmitted to the Wi-Fi module of the home appliance, thereby improving the success rate of network configuration.
[0111] The above basic technical concept derives two specific technical concepts, one of which is that, when the SSID specified by the user only provides a 5GHZ access point, the similarity between the BSSID of the 5GHZ access point and the BSSID of the 2.4GHZ access point corresponding to the same router can be used to match the BSSID of the 2.4GHZ access point of the same router according to the SSID of the 5GHZ access point, thereby enabling the home appliance product to connect to the wireless network that provides a 2.4GHZ access point created by the same router according to the BSSID of the matched 2.4GHZ access point, thus achieving the effect of connecting the home appliance product to the same router. Based on such specific technical concepts, the present disclosure provides the following technical solutions:
[0112] The product application can utilize the scanning capability of the Wi-Fi module of the user's mobile device to obtain the user-side wireless network list. Since the Wi-Fi module of the user's corresponding device can connect to both the wireless network that provides 2.4GHZ access points and the wireless network that provides 5GHZ access points, the user-side wireless network list includes both the SSID that provides 2.4GHZ access points and the SSID that provides 5GHZ access points. In addition, the user-side wireless network list also includes the BSSID of each access point.
[0113] If the SSID specified by the user for the home appliance does not provide a 2.4GHZ access point, it means that the home appliance cannot connect to the wireless network corresponding to the SSID specified by the user. In this case, it often means that the SSID specified by the user provides a 5GHZ access point, which means that the router that created the SSID has dual-band function. In addition to creating a wireless network that provides a 5GHZ access point, the router also creates a wireless network that provides a 2.4GHZ access point.
[0114] For users, their essential demand is to connect home appliances to the wireless network created by the target router (the router specified by the user). Whether the home appliances are connected to the wireless network through a 2.4GHZ access point or a 5GHZ access point is not what the user cares about. It is just that the user happens to specify the SSID created by the target router that only supports 5GHZ access points, and does not specify the SSID created by the target router that supports 2.4GHZ access points. If the home appliances can be connected to the wireless network created by the target router that provides a 2.4GHZ access point, then the user's needs can be met.
[0115] Even if the wireless network that provides a 2.4GHZ access point and the wireless network that provides a 5GHZ access point created by the same router have different SSIDs, the BSSIDs of the access points provided by these two SSIDs are often similar. Therefore, the product application can determine the second BSSID that is most similar to the first BSSID from the user-side wireless network list based on the BSSID of the 5GHZ access point provided by the SSID specified by the user (recorded as the first BSSID). The second BSSID is often the physical address of the 2.4GHZ access point, and the SSID that provides the 2.4GHZ access point and the SSID originally specified by the user are both created by the target router.
[0116] The network configuration information including the second BSSID is sent to the home appliance. The Wi-Fi module of the home appliance can use the second BSSID to connect to the corresponding 2.4GHZ access point, and then connect to the wireless network that provides the 2.4GHZ access point, and can also achieve the purpose of accessing the public network through the target router.
[0117] Through the above technical solution, even if the SSID specified by the user for the network configuration of the home appliance does not provide a 2.4GHZ access point, it will not cause the network configuration of the home appliance to fail, and will not bring a bad experience to the user.
[0118] Figure 1 The present invention provides a flow chart of a method for connecting a household appliance to a wireless network, comprising the following steps:
[0119] S100: The product application obtains a user-side wireless network list.
[0120] 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.
[0121] Product applications can usually interact with product servers. The product server described in this article refers to the server maintained by the manufacturer of home appliance products. On the one hand, product applications can interact with product servers over the network. For example, after a user operates a mobile device to start a product application, he or she can log in to the product server through the product application. In this case, the product application is equivalent to a binding relationship between the user ID of the user. On the other hand, when the home appliance is connected to the network, the product server can interact with the home appliance. The product server can monitor the operation of the home appliance by obtaining the operating parameters uploaded by the home appliance, and can also issue control instructions to the home appliance to control the home appliance to perform corresponding operations.
[0122] 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.
[0123] 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.
[0124] The product application can request the operating system of the user's mobile device, and the operating system can control the Wi-Fi module of the user's mobile device to scan various wireless networks that can be connected to at present, and obtain a user-side wireless network list. The user-side wireless network list may include several wireless network identifiers SSID, and the physical address BSSID of the access point provided by each SSID.
[0125] It should be noted that, considering that some SSIDs may correspond to only one wireless network and some SSIDs may correspond to two wireless networks, the BSSID of the access point corresponding to each SSID in the user-side wireless network list may be one (the BSSID of the 2.4GHZ access point, or the BSSID of the 5GHZ access point) or two (the BSSID of the 2.4GHZ access point and the BSSID of the 5GHZ access point).
[0126] It should also be noted that the wireless networks that can be scanned by the Wi-Fi module are often the wireless networks supported by the standard of the Wi-Fi module.
[0127] If the Wi-Fi module supports connecting to a wireless network through a 5GHZ access point and a 2.4GHZ access point, the wireless network list scanned by the Wi-Fi module may include a full set of SSIDs in the surrounding environment and a full set of BSSIDs corresponding to each SSID. The user-side wireless network list is such a wireless network list.
[0128] If the Wi-Fi module only supports connecting to a wireless network through a 2.4GHZ access point, the wireless network list scanned by the Wi-Fi module may only include the SSIDs of 2.4GHZ access points in the surrounding environment, and the BSSIDs of 2.4GHZ access points provided by each SSID, and often does not include the SSIDs of 5GHZ access points in the surrounding environment, and the BSSIDs of 5GHZ access points. The product-side wireless network list scanned by the Wi-Fi module of a home appliance is such a wireless network list.
[0129] S102: The product application determines whether the SSID specified by the user for the home appliance product network configuration provides a 2.4 GHZ access point. If so, execute step S104; if not, execute steps S106-S110.
[0130] In some implementations, the way in which the product application obtains the SSID specified by the user for the home appliance product network configuration may include:
[0131] The product application displays a network configuration interface to the user; the network configuration interface includes each SSID in the user-side wireless network list; the product application determines the SSID selected by the user in the network configuration interface as the SSID specified by the user for the network configuration of the home appliance product.
[0132] In the design of the network configuration process, the product application can prompt the user to select an SSID from the user-side wireless network list as the SSID designated for the home appliance network configuration. Since the user's mobile device and the home appliance are often in the same environment, the wireless network that the Wi-Fi module of the user's mobile device can connect to often also covers the area where the home appliance is located.
[0133] In some other implementations, the product application acquires the SSID specified by the user for the home appliance product network configuration in the following manners:
[0134] The product application obtains, from the operating system of the user's mobile device, the SSID of the wireless network to which the Wi-Fi module of the user's mobile device is currently connected; the product application uses the SSID obtained from the operating system as the SSID specified by the user for network configuration of the home appliance product.
[0135] In the design of the network configuration process, the SSID of the wireless network currently connected to the Wi-Fi module of the user's mobile device can be used as the SSID specified by the user for the network configuration of the home appliance. Since the user's mobile device and the home appliance are often in the same environment, the wireless network that the Wi-Fi module of the user's mobile device can connect to often also covers the area where the home appliance is located.
[0136] In addition, those skilled in the art may think of some technical means to implement product application to determine whether the SSID specified by the network distribution of the home appliance product provides a 2.4 GHZ access point.
[0137] For example, a product application can determine whether a 2.4 GHZ access point is provided from the name of the SSID specified by the user. In actual applications, sometimes the SSID that provides a 2.4 GHZ access point does not include the word "2.4 GHZ" in the name.
[0138] As another example, a product application may ask a user whether the specified SSID provides a 2.4 GHZ access point.
[0139] In addition to the conventional technical means that can be thought of by those skilled in the art, the present disclosure also provides the following technical means:
[0140] In some implementations, whether any SSID provides a 2.4 GHZ access point may be determined in the following manner:
[0141] The product application obtains remark information from the operating system of the user's mobile device, where the remark information is used to determine the type of access point provided by each SSID in the user-side wireless network list;
[0142] The product application determines whether any SSID provides a 2.4 GHZ access point based on the remark information.
[0143] If the product application has the authority to obtain the type of access point provided by each SSID in the user-side wireless network list from the operating system of the user's mobile device, it can determine whether any SSID provides a 2.4GHZ access point based on the remark information provided by the operating system.
[0144] In some implementations, whether any SSID supports a 2.4 GHZ access point may be determined in the following manner:
[0145] The product application obtains a product-side wireless network list from the home appliance through the communication connection; the product-side wireless network list is obtained by the Wi-Fi module of the home appliance scanning various wireless networks that can currently be connected; the product-side wireless network list includes: a plurality of SSIDs, and a BSSID of an access point provided by each SSID;
[0146] The product application compares the user-side wireless network list with the product-side wireless network list, and determines the SSID included in the user-side wireless network list but not included in the product-side wireless network list as an SSID that does not provide a 2.4GHZ access point, and determines the SSID included in the product-side wireless network list as an SSID that provides a 2.4GHZ access point.
[0147] The Wi-Fi module of the home appliance product only supports connecting to the wireless network through a 2.4GHZ access point. Therefore, each SSID in the product-side wireless network list scanned by the Wi-Fi module of the home appliance product is an SSID that provides a 2.4GHZ access point, and the product-side wireless network list does not include SSIDs that only provide 5GHZ access points. By comparing the user-side wireless network list with the product-side wireless network list, you can determine which SSIDs provide 2.4GHZ access points and which SSIDs do not provide 2.4GHZ access points.
[0148] S104: Using the communication connection between the user mobile device and the home appliance, the network configuration information including the SSID is sent to the home appliance.
[0149] If the SSID specified by the user can provide a 2.4 GHZ access point, the product application can directly send the SSID to the home appliance, and the home appliance can directly connect to the wireless network based on the SSID.
[0150] S106: Acquire, from the user-side wireless network list, a BSSID of an access point provided by the SSID specified by the user as a first BSSID.
[0151] S108: Determine, within the range of each BSSID except the first BSSID in the user-side wireless network list, a BSSID that is most similar to the first BSSID as the second BSSID.
[0152] S110: Using the communication connection between the user mobile device and the home appliance, the network configuration information including the second BSSID is sent to the home appliance.
[0153] If the SSID specified by the user does not provide a 2.4GHZ access point but provides a 5GHZ access point, it means that the router that created the SSID must be dual-band, and the router has also created other SSIDs that provide 2.4GHZ access points. Considering that the two SSIDs created by the same router may not be similar enough and difficult to match, the product application needs to use the similarity between the BSSIDs of the two access points of the same router through steps S106-S110, and match the BSSID (first BSSID) of the 5GHZ access point provided by the user-specified SSID in the user-side wireless network list with the BSSID (second BSSID) of the 2.4GHZ access point provided by the same router, and send the network configuration information containing the second BSSID to the home appliance product.
[0154] The communication connection between the user's mobile device and the home appliance may be an NFC connection, a Bluetooth connection, or a connection between a hotspot created by a Wi-Fi module of the home appliance and a Wi-Fi module of the user's mobile device.
[0155] S112: The Wi-Fi module of the home appliance product is connected to the wireless network through the 2.4 GHZ access point according to the network configuration information.
[0156] In some implementations, the network configuration information further includes: an SSID specified by the user for the home appliance to configure the network. In this way, the notification module of the home appliance can send a network configuration success notification including the SSID to the user.
[0157] In addition to the second BSSID, the network configuration information may also include the SSID specified by the user. In this way, the notification module of the home appliance product can send a network configuration success notification containing the SSID to the user. The user does not need to know that the Wi-Fi module of the home appliance product is actually connected to the wireless network through the second BSSID. The user will think that the home appliance product is connected to the wireless network through the SSID specified by the user. This can give the user feedback that "the connection is very smooth", thereby improving the user experience.
[0158] In some implementations, the network configuration information may also include: a wireless network password corresponding to the SSID specified for the home appliance network configuration. Some wireless networks require connection verification, in which case the wireless network password also needs to be sent to the home appliance.
[0159] In some embodiments, for each SSID in the user-side wireless network list except the SSID specified by the user, if it is determined that the SSID supports a 2.4GHZ access point, the similarity between the BSSID of the 2.4GHZ access point and the first BSSID is determined; and the BSSID of the 2.4GHZ access point with the greatest similarity is used as the second BSSID.
[0160] That is to say, the SSID that only provides 5GHZ access points can be excluded from the user-side wireless network list, and the BSSIDs corresponding to the remaining SSIDs that provide 2.4GHZ access points can be traversed, which can save calculation amount and improve calculation efficiency.
[0161] In addition, the present disclosure also provides another specific technical concept, as follows:
[0162] The product application can utilize the scanning capability of the Wi-Fi module of the user's mobile device to obtain the user-side wireless network list. Since the Wi-Fi module of the user's corresponding device can connect to both the wireless network that provides 2.4GHZ access points and the wireless network that provides 5GHZ access points, the user-side wireless network list includes both the SSID that provides 2.4GHZ access points and the SSID that provides 5GHZ access points. In addition, the user-side wireless network list also includes the BSSID of each access point.
[0163] The product application does not need to determine whether the SSID specified by the user for the network configuration of the home appliance product provides a 2.4GHZ access point. The SSID specified by the user may provide a 2.4GHZ access point or may only provide a 5GHZ access point. The BSSID of the access point provided by the SSID is used as the first BSSID, and the product application searches for the BSSID that is most similar to the first BSSID in the user-side wireless network list as the second BSSID. The access point corresponding to the second BSSID may be a 2.4GHZ access point or a 5GHZ access point. Even the access point corresponding to the second BSSID and the access point corresponding to the first BSSID may not belong to the same router (in this case, it often means that the access point corresponding to the first BSSID is a 2.4GHZ access point).
[0164] After the product application sends the network configuration information including the first BSSID and the second BSSID to the home appliance, the Wi-Fi module of the home appliance can always connect to the 2.4GHZ access point based on the first BSSID or the second BSSID, and then connect to the wireless network that provides the 2.4GHZ access point.
[0165] Through the above technical solution, even if the SSID specified by the user for the network configuration of the home appliance does not provide a 2.4GHZ access point, it will not cause the network configuration of the home appliance to fail, and will not bring a bad experience to the user.
[0166] Figure 2 This is a flow chart of another method for connecting a household appliance to a wireless network provided by the present disclosure, comprising the following steps:
[0167] S200: The product application obtains a user-side wireless network list.
[0168] S202: The product application determines, from the user-side wireless network list, a BSSID of an access point provided by the user for the SSID designated by the user for network configuration of the home appliance product as a first BSSID.
[0169] S204: The product application determines, within the range of each BSSID except the first BSSID in the user-side wireless network list, a BSSID most similar to the first BSSID as the second BSSID.
[0170] S206: The product application uses the communication connection between the user mobile device and the home appliance to send the network configuration information including the first BSSID and the second BSSID to the home appliance.
[0171] S208: The Wi-Fi module of the home appliance is connected to a wireless network through a 2.4 GHZ access point according to the first BSSID or the second BSSID in the network configuration information.
[0172] Please refer to the previous article for Figure 1 Description of the method flow shown, understanding Figure 2 The method flow shown is not described in detail.
[0173] Figure 2 The method flow shown is similar to Figure 1 The main difference between the method flow shown is that the product application does not need to determine whether the SSID specified by the user for the home appliance product provides 2.4GHZ, but directly matches the BSSID (second BSSID) that is most similar to the BSSID (first SSID) of the access point provided by the SSID in the user-side wireless network list. In this case, the product application cannot actually distinguish between the first BSSID and the second BSSID, which is the BSSID of the 2.4GHZ access point of the user's target router, but this is not important. What is important is that the BSSID of the 2.4GHZ access point of the target router must exist in the first BSSID and the second BSSID. The product application only needs to send both the first BSSID and the second BSSID to the home appliance product.
[0174] In some embodiments, the Wi-Fi module of the home appliance product can try to connect to the wireless network according to the first BSSID in the network configuration information; if the connection fails, it can connect to the wireless network through a 2.4GHZ access point according to the second BSSID in the network configuration information.
[0175] The access point corresponding to the second BSSID and the access point corresponding to the first BSSID may not belong to the same router. It is possible that the access point corresponding to the first BSSID is the 2.4GHZ access point of the target router, and the access point corresponding to the second BSSID is the 2.4GHZ access point of the non-target router. In theory, the Wi-Fi module of the home appliance can connect to the wireless network created by the target router or the wireless network created by the non-target router. However, the essential purpose of the user is to connect the Wi-Fi module of the home appliance to the wireless network created by the target router. Therefore, you can try to connect according to the first BSSID first. If the connection is successful, it means that the access point corresponding to the first BSSID is the 2.4GHZ access point of the target router, and the home appliance can be successfully connected to the wireless network created by the target router. If the connection fails, it means that the access point corresponding to the first BSSID is the 5GHZ access point of the target router, and the access point corresponding to the second BSSID must be the 2.4GHZ access point of the target router, and the wireless network created by the target router can be connected according to the second BSSID.
[0176] In some implementations, the network configuration information may further include: a wireless network password corresponding to the SSID specified by the user for network configuration of the home appliance.
[0177] Some wireless networks require connection verification, in which case the wireless network password also needs to be sent to the home appliance. In addition, if the access point corresponding to the first BSSID is the 2.4GHZ access point of the target router, and the access point corresponding to the second BSSID is the 2.4GHZ access point of the non-target router, the home appliance will not be connected to the wireless network created by the non-target router, because the wireless network password in the network configuration information cannot be verified by the non-target router.
[0178] In addition, the present disclosure provides a device for connecting a home appliance to a wireless network, wherein the Wi-Fi module of the home appliance only supports connecting to a wireless network through a 2.4 GHZ access point, and the Wi-Fi module of a user's mobile device supports connecting to a wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and a product application is installed on the user's mobile device, and the device is applied to the product application, and the device includes:
[0179] An acquisition unit is configured to acquire a user-side wireless network list; the user-side wireless network list is obtained by scanning various wireless networks that can be currently connected by a Wi-Fi module of the user's mobile device; the user-side wireless network list includes: a plurality of SSIDs, and a BSSID of an access point provided by each SSID;
[0180] The processing unit, if it is determined that the SSID specified by the user for the network configuration of the home appliance does not provide a 2.4 GHZ access point, obtains the BSSID of the access point provided by the SSID specified by the user from the user-side wireless network list as the first BSSID; and determines, within the range of each BSSID other than the first BSSID in the user-side wireless network list, a BSSID most similar to the first BSSID as the second BSSID;
[0181] The sending unit uses the communication connection between the user mobile device and the home appliance to send the network configuration information including the second BSSID to the home appliance; so that the Wi-Fi module of the home appliance is connected to the wireless network through the 2.4GHZ access point according to the network configuration information.
[0182] The present disclosure provides a device for connecting a home appliance to a wireless network. The Wi-Fi module of the home appliance only supports connecting to the wireless network through a 2.4 GHZ access point. The Wi-Fi module of a user's mobile device supports connecting to the wireless network through a 2.4 GHZ access point and a 5 GHZ access point. The user's mobile device is installed with a product application. The device is applied to the Wi-Fi module of the home appliance. The device includes:
[0183] The connection unit connects to the wireless network through the 2.4 GHZ access point according to the received network configuration information;
[0184] Among them, the product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: several SSIDs, and the BSSID of the access point provided by each SSID; if it is determined that the SSID specified by the user for the network configuration of the home appliance product does not provide a 2.4GHZ access point, then from the user-side wireless network list, the BSSID of the access point provided by the user-specified SSID is obtained as the first BSSID; within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID is determined as the second BSSID; using the communication connection between the user's mobile device and the home appliance product, the network configuration information containing the second BSSID is sent to the home appliance product.
[0185] The present disclosure provides a device for connecting a home appliance to a wireless network. The Wi-Fi module of the home appliance only supports connecting to the wireless network through a 2.4 GHZ access point. The Wi-Fi module of a user's mobile device supports connecting to the wireless network through a 2.4 GHZ access point and a 5 GHZ access point. The user's mobile device is installed with a product application. The device is applied to the product application. The device includes:
[0186] An acquisition unit is configured to acquire a user-side wireless network list; the user-side wireless network list is obtained by scanning various wireless networks that can be currently connected by a Wi-Fi module of the user's mobile device; the user-side wireless network list includes: a plurality of SSIDs, and a BSSID of an access point provided by each SSID;
[0187] The processing unit determines the BSSID of the access point provided by the SSID specified by the user for the network configuration of the home appliance product as the first BSSID; and determines the BSSID most similar to the first BSSID in the range of each BSSID other than the first BSSID in the user-side wireless network list as the second BSSID;
[0188] The sending unit uses the communication connection between the user mobile device and the home appliance to send the network configuration information including the first BSSID and the second BSSID to the home appliance; so that the Wi-Fi module of the home appliance is connected to the wireless network through a 2.4GHZ access point according to the first BSSID or the second BSSID in the network configuration information.
[0189] The present disclosure provides a device for connecting a home appliance to a wireless network. The Wi-Fi module of the home appliance only supports connecting to the wireless network through a 2.4 GHZ access point. The Wi-Fi module of a user's mobile device supports connecting to the wireless network through a 2.4 GHZ access point and a 5 GHZ access point. The user's mobile device is installed with a product application. The device is applied to the Wi-Fi module of the home appliance. The device includes:
[0190] A connecting unit, connected to a wireless network through a 2.4 GHz access point according to the first BSSID or the second BSSID in the received network configuration information;
[0191] Among them, the product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: several SSIDs, and the BSSID of the access point provided by each SSID; from the user-side wireless network list, the BSSID of the access point provided by the SSID specified by the user for the home appliance product network configuration is determined as the first BSSID; within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID is determined as the second BSSID; using the communication connection between the user's mobile device and the home appliance product, the network configuration information containing the first BSSID and the second BSSID is sent to the home appliance product.
[0192] The present disclosure provides a household appliance product using a method embodiment provided by the present disclosure.
[0193] The present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the function of the product application in the method embodiment provided by the present disclosure is realized.
[0194] The present disclosure provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the function of the Wi-Fi module of the household appliance in the method embodiment provided by the present disclosure is realized.
[0195] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0196] 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.
[0197] 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.
[0198] 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.
[0199] 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 wireless network, characterized in that: The Wi-Fi module of the household appliance only supports connecting to a wireless network through a 2.4 GHZ access point, the Wi-Fi module of the user's mobile device supports connecting to a wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and the user's mobile device has a product application installed on it, and the method includes: The product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: a number of wireless network identifiers SSID, and the physical address BSSID of the access point provided by each SSID; If the product application determines that the SSID specified by the user for the network configuration of the home appliance product does not provide a 2.4 GHZ access point, the BSSID of the access point provided by the SSID specified by the user is obtained from the user-side wireless network list as the first BSSID; within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID is determined as the second BSSID; The product application uses the communication connection between the user mobile device and the home appliance to send the network configuration information including the second BSSID to the home appliance; The Wi-Fi module of the household appliance product is connected to the wireless network through a 2.4 GHZ access point according to the network configuration information.
2. The method according to claim 1, characterized in that: Determine whether any SSID provides a 2.4GHZ access point by: The product application obtains remark information from the operating system of the user's mobile device, where the remark information is used to determine the type of access point provided by each SSID in the user-side wireless network list; The product application determines whether any SSID provides a 2.4 GHZ access point based on the remark information.
3. The method according to claim 1, characterized in that: Determine whether any SSID supports 2.4GHZ access points by: The product application obtains a product-side wireless network list from the home appliance through the communication connection; the product-side wireless network list is obtained by the Wi-Fi module of the home appliance scanning various wireless networks that can currently be connected; The product-side wireless network list includes: a number of SSIDs, and the BSSID of the access point provided by each SSID; The product application compares the user-side wireless network list with the product-side wireless network list, and determines the SSID included in the user-side wireless network list but not included in the product-side wireless network list as an SSID that does not provide a 2.4GHZ access point, and determines the SSID included in the product-side wireless network list as an SSID that provides a 2.4GHZ access point.
4. The method according to claim 1, characterized in that: Also includes: If the product application determines that the user provides a 2.4 GHZ access point for the SSID specified by the home appliance product, the network configuration information including the SSID is sent to the home appliance product by utilizing the communication connection between the user's mobile device and the home appliance product.
5. The method according to claim 1, characterized in that: The network distribution information also includes: The user specifies the SSID for the home appliance network configuration; The method further comprises: The notification module of the home appliance sends a network configuration success notification containing the SSID to the user.
6. The method according to claim 1, characterized in that: The network distribution information also includes: The wireless network password corresponding to the SSID specified by the user for the home appliance product to be networked.
7. The method according to claim 1, characterized in that: The method for the product application to obtain the SSID specified by the user for the home appliance product network configuration includes: The product application displays a network configuration interface to the user; the network configuration interface includes each SSID in the user-side wireless network list; The product application determines the SSID selected by the user in the network configuration interface as the SSID specified by the user for network configuration of the home appliance product.
8. The method according to claim 1, characterized in that: The method for the product application to obtain the SSID specified by the user for the home appliance product network configuration includes: The product application obtains, from the operating system of the user's mobile device, the SSID of the wireless network to which the Wi-Fi module of the user's mobile device is currently connected; The product application uses the SSID obtained from the operating system as the SSID specified by the user for network configuration of the home appliance product.
9. The method according to claim 1, characterized in that: Determining, within the range of each BSSID other than the first BSSID in the user-side wireless network list, a BSSID most similar to the first BSSID, comprising: For each SSID in the user-side wireless network list except the SSID specified by the user, if it is determined that the SSID supports a 2.4 GHz access point, determine the similarity between the BSSID of the 2.4 GHz access point and the first BSSID; The BSSID of the 2.4 GHZ access point with the greatest similarity is used as the second BSSID.
10. A method for connecting a household appliance to a wireless network, characterized in that: The Wi-Fi module of the household appliance only supports connecting to a wireless network through a 2.4 GHZ access point, the Wi-Fi module of the user's mobile device supports connecting to a wireless network through a 2.4 GHZ access point and a 5 GHZ access point, and the user's mobile device has a product application installed on it, and the method includes: The product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: a number of SSIDs, and the BSSID of the access point provided by each SSID; The product application determines, from the user-side wireless network list, the BSSID of the access point provided by the user for the SSID specified by the user for the network configuration of the home appliance product as the first BSSID; and determines, within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID as the second BSSID; The product application uses the communication connection between the user mobile device and the home appliance to send the network configuration information including the first BSSID and the second BSSID to the home appliance; The Wi-Fi module of the home appliance is connected to a wireless network through a 2.4 GHZ access point according to the first BSSID or the second BSSID in the network configuration information.
11. The method according to claim 10, characterized in that: The Wi-Fi module of the home appliance is connected to a wireless network through a 2.4 GHz access point according to the first BSSID or the second BSSID in the network configuration information, including: The Wi-Fi module of the home appliance product attempts to connect to the wireless network according to the first BSSID in the network configuration information; if the connection fails, it connects to the wireless network through a 2.4 GHZ access point according to the second BSSID in the network configuration information.
12. The method according to claim 10, characterized in that: The network distribution information also includes: The wireless network password corresponding to the SSID specified by the user for the home appliance product to be networked.
13. A device for connecting a household appliance to a wireless network, characterized in that: The Wi-Fi module of the household appliance only supports connecting to a wireless network through a 2.4GHZ access point, and the Wi-Fi module of the user's mobile device supports connecting to a wireless network through a 2.4GHZ access point and a 5GHZ access point. The user's mobile device has a product application installed thereon, and the device is applied to the product application, and the device includes: An acquisition unit is configured to acquire a user-side wireless network list; the user-side wireless network list is obtained by scanning various wireless networks that can be currently connected by a Wi-Fi module of the user's mobile device; the user-side wireless network list includes: a plurality of SSIDs, and a BSSID of an access point provided by each SSID; The processing unit, if it is determined that the SSID specified by the user for the network configuration of the home appliance does not provide a 2.4 GHZ access point, obtains the BSSID of the access point provided by the SSID specified by the user from the user-side wireless network list as the first BSSID; and determines, within the range of each BSSID other than the first BSSID in the user-side wireless network list, a BSSID most similar to the first BSSID as the second BSSID; The sending unit uses the communication connection between the user mobile device and the home appliance to send the network configuration information including the second BSSID to the home appliance; so that the Wi-Fi module of the home appliance is connected to the wireless network through the 2.4GHZ access point according to the network configuration information.
14. A device for connecting a household appliance to a wireless network, characterized in that: The Wi-Fi module of the home appliance only supports connecting to the wireless network through a 2.4GHZ access point, and the Wi-Fi module of the user's mobile device supports connecting to the wireless network through a 2.4GHZ access point and a 5GHZ access point. The user's mobile device has a product application installed on it, and the device is applied to the Wi-Fi module of the home appliance, and the device includes: The connection unit connects to the wireless network through the 2.4 GHZ access point according to the received network configuration information; Among them, the product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: several SSIDs, and the BSSID of the access point provided by each SSID; if it is determined that the SSID specified by the user for the network configuration of the home appliance product does not provide a 2.4GHZ access point, then from the user-side wireless network list, the BSSID of the access point provided by the user-specified SSID is obtained as the first BSSID; within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID is determined as the second BSSID; using the communication connection between the user's mobile device and the home appliance product, the network configuration information containing the second BSSID is sent to the home appliance product.
15. A device for connecting a household appliance to a wireless network, characterized in that: The Wi-Fi module of the household appliance only supports connecting to a wireless network through a 2.4GHZ access point, and the Wi-Fi module of the user's mobile device supports connecting to a wireless network through a 2.4GHZ access point and a 5GHZ access point. The user's mobile device has a product application installed thereon, and the device is applied to the product application, and the device includes: An acquisition unit is configured to acquire a user-side wireless network list; the user-side wireless network list is obtained by scanning various wireless networks that can be currently connected by a Wi-Fi module of the user's mobile device; the user-side wireless network list includes: a plurality of SSIDs, and a BSSID of an access point provided by each SSID; The processing unit determines the BSSID of the access point provided by the SSID specified by the user for the network configuration of the home appliance product as the first BSSID; and determines the BSSID most similar to the first BSSID in the range of each BSSID other than the first BSSID in the user-side wireless network list as the second BSSID; The sending unit uses the communication connection between the user mobile device and the home appliance to send the network configuration information including the first BSSID and the second BSSID to the home appliance; so that the Wi-Fi module of the home appliance is connected to the wireless network through a 2.4GHZ access point according to the first BSSID or the second BSSID in the network configuration information.
16. A device for connecting a household appliance to a wireless network, characterized in that: The Wi-Fi module of the home appliance only supports connecting to the wireless network through a 2.4GHZ access point, and the Wi-Fi module of the user's mobile device supports connecting to the wireless network through a 2.4GHZ access point and a 5GHZ access point. The user's mobile device has a product application installed on it, and the device is applied to the Wi-Fi module of the home appliance, and the device includes: A connecting unit, connected to a wireless network through a 2.4 GHZ access point according to the first BSSID or the second BSSID in the received network configuration information; Among them, the product application obtains a user-side wireless network list; the user-side wireless network list is obtained by the Wi-Fi module of the user's mobile device scanning various wireless networks that can currently be connected; the user-side wireless network list includes: several SSIDs, and the BSSID of the access point provided by each SSID; from the user-side wireless network list, the BSSID of the access point provided by the SSID specified by the user for the home appliance product network configuration is determined as the first BSSID; within the range of each BSSID other than the first BSSID in the user-side wireless network list, the BSSID most similar to the first BSSID is determined as the second BSSID; using the communication connection between the user's mobile device and the home appliance product, the network configuration information containing the first BSSID and the second BSSID is sent to the home appliance product.
17. A household appliance as claimed in any one of claims 1 to 12.
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 product application in any of the methods described in claims 1-12 is realized.
19. 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 of the household appliance in the method of any one of claims 1 to 12 is realized.
