Intelligent household equipment network distribution method, intelligent household equipment and intelligent access point

CN121486121APending Publication Date: 2026-02-06QINGDAO HAIER TECH +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511655275.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-11
Publication Date
2026-02-06

AI Technical Summary

Technical Problem

[0003]然而,若用户修改了WiFi路由器或者其他AP的服务集标识符(Service SetIdentifier,ssid)和密码(password),需通过手机为多个智能家居设备逐个进行重新配网,导致重新配网的过程繁琐,效率较低

Benefits of technology

[0036]本申请提供的智能家居设备配网方法、智能家居设备及智能接入点,通过智能接入点可以响应于智能接入点的网络连接参数待变更,在第一时刻基于变更前的第二网络连接参数将变更后的第一网络连接参数发送至智能家居设备列表中的目标智能家居设备,使得目标设备能够预先获取新的网络连接参数。然后,在第二时刻通过广播认证关系终止报文,使目标智能家居设备与智能接入点停止连接后,能够基于已获取的第一网络连接参数重新与智能接入点连接。通过上述方法,在智能AP的网络连接参数变更后,无需依赖蓝牙传输功能,也不依赖MAC认证的智能家居设备,即可对目标智能家居设备实现自动配网,因此提高了目标智能家居设备自动配网的适用性,且因为不需用户操作重新配网,因此提高了目标智能家居设备配网的效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121486121A_ABST
    Figure CN121486121A_ABST
Patent Text Reader

Abstract

The invention discloses a smart home equipment network distribution method, smart home equipment and a smart access point, and relates to the technical field of smart home / smart home, and the smart home equipment network distribution method comprises the steps that the smart access point responds to a network connection parameter to be changed into a first network connection parameter, and the first network connection parameter is changed into a second network connection parameter at a first moment; based on a second network connection parameter used before the change, sending the first network connection parameter to a target smart home device in a smart home device list; the smart home equipment list is used for storing identifiers of smart home equipment of a preset manufacturer; and the intelligent access point broadcasts an authentication relationship termination message at a second moment, so that the target intelligent household equipment stops connection with the intelligent access point in response to the authentication relationship termination message, and is connected with the intelligent access point based on the first network connection parameter. The network distribution efficiency of the smart home equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of smart home devices, in particular to a smart home device network configuration method, a smart home device and a smart access point. BACKGROUND

[0002] With the popularity of smart home devices, there are more and more smart home devices connected through WiFi routers and other access points (APs). Usually, most of the smart home devices connected through WiFi have no user interface (UI), that is, the user needs to use a mobile phone or other device to configure the network and bind the cloud platform or background server for the smart home device through Bluetooth, softap or other wireless communication means.

[0003] However, if the user changes the service set identifier (SSID) and password of the WiFi router or other AP, the user needs to reconfigure the network for multiple smart home devices one by one through the mobile phone, which makes the reconfiguration process tedious and inefficient. SUMMARY

[0004] The present application provides a smart home device network configuration method, a smart home device and a smart access point, which can improve the network configuration efficiency of smart home devices.

[0005] In a first aspect, the present application provides a smart home device network configuration method applied to a smart access point, the method comprising:

[0006] In response to the network connection parameter of the smart access point being changed to a first network connection parameter, at a first time, based on a second network connection parameter used by the smart access point before changing the network connection parameter, the first network connection parameter is sent to a target smart home device in a smart home device list; the smart home device list is used to store the identification of the smart home device of a pre-set manufacturer;

[0007] At a second time, an authentication relationship termination message is broadcasted, so that the target smart home device stops connecting with the smart access point in response to the authentication relationship termination message, and sends a network connection request to the smart access point based on the first network connection parameter;

[0008] In response to the network connection request, a connection is established with the target smart home device.

[0009] Optionally, before the step of sending the first network connection parameter to a target smart home device in the smart home device list based on the second network connection parameter used before the smart access point changes the network connection parameter at the first time, the method further comprises:

[0010] receiving an association request frame sent by the target smart home device; the association request frame comprises extension information used to represent the manufacturer identity of the smart home device;

[0011] in response to determining that the target smart home device is the smart home device of the preset manufacturer based on the extension information, storing the identification of the target smart home device into the smart home device list.

[0012] Optionally, the step of storing the identification of the target smart home device into the smart home device list in response to determining that the target smart home device is the smart home device of the preset manufacturer based on the extension information comprises:

[0013] in response to determining that the target smart home device is the smart home device of the preset manufacturer based on the extension information, performing security authentication on the target smart home device based on the pre-shared key of wireless protection access;

[0014] in response to the security authentication of the target smart home device being passed, storing the identification of the target smart home device into the smart home device list.

[0015] Optionally, before the step of sending the first network connection parameter to a target smart home device in the smart home device list based on the second network connection parameter used before the smart access point changes the network connection parameter at the first time, the method further comprises:

[0016] starting a transmission control protocol (TCP) service;

[0017] the step of sending the first network connection parameter to a target smart home device in the smart home device list based on the second network connection parameter used before the smart access point changes the network connection parameter at the first time comprises:

[0018] at the first time, sending the first network connection parameter to the target smart home device based on the second network connection parameter through the TCP service.

[0019] Optionally, the method further comprises:

[0020] if, at the first time, sending the first network connection parameter to the target smart home device based on the second network connection parameter fails, an action frame is received from the target smart home device, the action frame carrying: extension information for representing the manufacturer identity of the target smart home device, and encrypted network connection parameter;

[0021] in response to the action frame carrying the extension information, decrypting the encrypted network connection parameter to obtain decrypted network connection parameter;

[0022] in response to the decrypted network connection parameter being the second network connection parameter, sending the first network connection parameter to the target smart home device, so that the target smart home device connects with the smart access point based on the first network connection parameter.

[0023] In a second aspect, the present application provides a smart home device, and a smart access point stores a smart home device list, a target smart home device in the smart home device list is configured to:

[0024] receive a first network connection parameter from the smart access point, the first network connection parameter being sent by the smart access point to the target smart home device in the smart home device list at a first time based on a second network connection parameter used by the smart access point before changing the network connection parameter to the first network connection parameter in response to the network connection parameter of the smart access point being changed; and the smart home device list is used to store the identification of the smart home device of a preset manufacturer;

[0025] in response to an authentication relationship termination message broadcasted by the smart access point at a second time, stop connecting with the smart access point, and send a network connection request to the smart access point based on the first network connection parameter, so that the smart access point establishes a connection with the target smart home device in response to the network connection request.

[0026] Optionally, the target smart home device is further configured to:

[0027] in response to the termination of the authentication relationship with the smart access point and the failure of the connection with the smart access point, send an action frame to the smart access point, the action frame carrying: extension information for representing the manufacturer identity of the target smart home device, and encrypted network connection parameter;

[0028] receive the first network connection parameter from the smart access point, and connect with the smart access point based on the first network connection parameter; the first network connection parameter is determined by the smart access point in response to the action frame carrying the extended information, decrypting the encrypted network connection parameter to obtain a decrypted network connection parameter, and determining that the decrypted network connection parameter is the second network connection parameter, and then sending to the target smart home device;

[0029] connect with the smart access point based on the first network connection parameter.

[0030] In a third aspect, the present application provides a smart access point, which is configured to:

[0031] in response to the network connection parameter of the smart access point being changed to a first network connection parameter, at a first time, sending the first network connection parameter to a target smart home device in a smart home device list based on a second network connection parameter used by the smart access point before changing the network connection parameter; the smart home device list is used to store the identification of the smart home device of a preset manufacturer;

[0032] at a second time, broadcasting an authentication relationship termination message, so that the target smart home device stops connecting with the smart access point in response to the authentication relationship termination message, and sends a network connection request to the smart access point based on the first network connection parameter;

[0033] in response to the network connection request, establishing a connection with the target smart home device.

[0034] In a fourth aspect, the present application provides a computer readable storage medium, which includes a stored program, wherein the program runs to perform the smart home device network configuration method of any one of the first aspect.

[0035] In a fifth aspect, the present application provides a computer program product, which includes a computer program, and the computer program is executed by a processor to realize the smart home device network configuration method of any one of the first aspect.

[0036] The smart home device network configuration method, the smart home device and the smart access point provided by the application can respond to the change of the network connection parameter of the smart access point, send the changed first network connection parameter to the target smart home device in the smart home device list based on the second network connection parameter before the change at the first time, so that the target device can obtain the new network connection parameter in advance. Then, at the second time, the target smart home device and the smart access point stop connecting by broadcasting the authentication relationship termination message, and can be reconnected with the smart access point based on the obtained first network connection parameter. Through the above method, after the network connection parameter of the smart AP is changed, the target smart home device can be automatically network configured without relying on the Bluetooth transmission function and the MAC authentication smart home device, thereby improving the applicability of the automatic network configuration of the target smart home device, and improving the efficiency of the network configuration of the target smart home device because the user does not need to operate the network configuration again. BRIEF DESCRIPTION OF DRAWINGS

[0037] The accompanying drawings, which are incorporated herein and constitute part of the specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, those skilled in the art can obtain other drawings according to these drawings without any creative effort.

[0039] Figure 1 It is a hardware environment schematic diagram of an interaction method of a smart device according to an embodiment of the application;

[0040] Figure 2 It is a flowchart of a smart home device network configuration method provided by the application;

[0041] Figure 3 It is a schematic diagram of a smart home device identity recognition process provided by the application;

[0042] Figure 4 It is a flowchart of a network connection parameter distribution provided by the application;

[0043] Figure 5 It is a structural schematic diagram of a smart home device network configuration device provided by the application;

[0044] Figure 6 It is a hardware structure schematic diagram of an electronic device provided by the application. DETAILED DESCRIPTION

[0045] In the following, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application, so that those skilled in the art can better understand the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work should fall within the scope of protection of the present application.

[0046] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0047] According to an aspect of the embodiments of the present application, a network configuration method of a smart home device is provided. The network configuration method of the smart home device is widely applied to smart home, smart home, smart home device ecology, intelligence house ecology and other whole-house intelligent digital control application scenarios. Optionally, in the present embodiment, the network configuration method of the smart home device can be applied to the hardware environment composed of the smart home device 102 (i.e. smart home device) and the server 104 as shown in Figure 1 As shown in Figure 1 The server 104 is connected with the smart home device 102 through the network, which can be used to provide services (such as application services, etc.) for the smart home device or the client installed on the smart home device, a database can be set on the server or independently of the server, which is used to provide data storage services for the server 104, cloud computing and / or edge computing services can be configured on the server or independently of the server, which is used to provide data operation services for the server 104.

[0048] The network can include, but is not limited to, at least one of the following: a wired network, a wireless network. The wired network can include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, a local area network. The wireless network can include, but is not limited to, at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The smart home device 102 can include, but is not limited to, a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart oven, a smart refrigerator, a smart oven, a smart oven, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart television, a smart clothesline, a smart curtain, a smart audio and video, a smart socket, a smart sound, a smart sound box, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen, a smart purifier, a smart water dispenser, a smart door lock, and the like.

[0049] With the popularity of smart home devices, more and more smart home devices are accessed through access points such as WiFi routers. Usually, most WiFi-accessed smart home devices have no user interface, that is, the user needs to use Bluetooth, a software access point, or other wireless communication means to configure the network and bind the cloud platform or background server for the smart home device through a mobile phone or the like.

[0050] However, if the user modifies the ssid and password of the WiFi router or other AP, the user needs to reconfigure the network for multiple smart home devices one by one through a mobile phone, resulting in a tedious and inefficient reconfiguration process.

[0051] Currently, some embodiments propose a password back connection mechanism based on Bluetooth broadcast or MAC authentication mode to improve the efficiency of reconfiguration.

[0052] Among them, the Bluetooth broadcast mode is to reconfigure a single WiFi smart home device, and simultaneously broadcast the new WiFi ssid and password to other WiFi smart home devices through the Bluetooth communication capability of the WiFi smart home device through a broadcast mode to realize password-free back connection (i.e., no need to reconfigure the network again).

[0053] However, the Bluetooth broadcast mode requires the smart home device to support both WiFi and Bluetooth wireless communication capabilities, which is not applicable to smart home devices without Bluetooth communication function. Therefore, the password-free back connection based on the Bluetooth broadcast mode has the problem of poor applicability. In addition, in a multi-AP environment, the devices are deployed far apart, and may be in different rooms, and the Bluetooth broadcast transmission distance is limited, resulting in a failure of reconfiguration.

[0054] When the MAC authentication mode is used for the password-free reconnection, an access controller (AC) and an AP network environment are required to be deployed in the home. The MAC authentication is implemented by deploying a radius server, so that the smart home device connected through WiFi can access the network through the MAC authentication after the authentication username and password are modified.

[0055] However, when the MAC authentication mode is used for the password-free reconnection, a radius server needs to be deployed for authentication, and the home WiFi router usually does not have MAC authentication capability, so the method still has the problem of poor applicability.

[0056] In view of the above problems existing in the existing smart home device network configuration method, the present application provides an automatic network configuration method for a smart home device after the network connection parameters of a smart AP are changed, without relying on Bluetooth transmission function and MAC authentication. Through the method, the applicability of automatic network configuration is improved without relying on Bluetooth transmission function and MAC authentication, and the network configuration efficiency is also improved because the user does not need to operate the network configuration again.

[0057] Figure 2 A flowchart of a smart home device network configuration method provided by the present application is shown in FIG. 1. As shown in FIG. 1, the method can include the following steps: Figure 2

[0058] S201, in response to the network connection parameters of the smart AP being changed to the first network connection parameters, at a first time, the smart AP sends the first network connection parameters to the target smart home device in the smart home device list based on the second network connection parameters used by the smart AP before the network connection parameters are changed.

[0059] The smart home device list is used to store the identification of the smart home device of a preset manufacturer.

[0060] The smart AP can be, for example, a WiFi router, a wireless router, or a master node or a sub-node in a Mesh network system deployed in the home.

[0061] The network connection parameters can include, for example, SSID and Password. In some embodiments, the network connection parameters can also include, for example, encryption mode (such as WPA2, WPA3, etc., where WPA2 and WPA3 are encryption mode names), authentication mode, and other network configuration information.

[0062] ​For example, the first network connection parameter can be a new SSID and a new password that the user wants to modify to. The second network connection parameter can be an old SSID and an old password that the smart access point is using before the modification.

[0063] The first time point can be a time point before the smart access point officially enables the first network connection parameter. For example, the smart access point can be provided with a timer, for example, a 2-minute timer. The first time point can be any time point after the user triggers the modification operation and before the timer expires. In some embodiments, the first time point can be immediately after the smart access point receives the modification instruction, or can be after a preset delay, which is not limited in the present application.

[0064] Optionally, the list of smart home devices can be pre-stored in the smart access point, for recording the identities of all smart home devices identified as belonging to the preset manufacturer. For example, the identity of the smart home device of the preset manufacturer can be a MAC address of the smart home device, a device serial number, or any information that can uniquely identify the smart home device.

[0065] The target smart home device can be any smart home device in the list of smart home devices.

[0066] Optionally, the smart access point can transmit the first network connection parameter to the target smart home device in the list of smart home devices through a Transmission Control Protocol (TCP) service.

[0067] Correspondingly, the target smart home device can receive the first network connection parameter from the smart access point.

[0068] S202, the smart access point broadcasts an authentication relationship termination message at a second time point.

[0069] The second time point is later than the first time point. For example, the second time point can be the time point when the timer expires. For example, after the user modifies the SSID and the password, the smart access point starts a 2-minute timer, and continues to communicate using the old second network connection parameter and distributes the new first network connection parameter within 2 minutes (between the first time point and the second time point). After the 2-minute timer expires (at the second time point), the authentication relationship termination message is broadcasted.

[0070] Optionally, the authentication relationship termination message can be a Deauth message. The smart access point can make all terminal devices currently connected thereto (including the target smart home device) disconnect by broadcasting the message.

[0071] S203, the target smart home device stops connecting with the smart access point in response to the authentication relationship termination message.

[0072] After receiving the authentication relationship termination message, the target smart home device can parse the authentication relationship termination message to determine that the authentication relationship termination message is used to indicate disconnection.

[0073] S204, the target smart home device sends a network connection request to the smart access point based on the first network connection parameter.

[0074] The smart access point can enable new first network connection parameters for network connection after broadcasting the authentication relationship termination message. The target smart home device may, for example, generate the network connection request based on the above-mentioned first network connection parameter and the preset network communication protocol, and send it to the smart access point.

[0075] Optionally, the implementation of the target smart home device sending a network connection request to the smart access point based on the first network connection parameter can refer to any existing method of connecting to a router based on network connection parameters, which will not be described here.

[0076] S205, the smart access point establishes connection with the target smart home device in response to the network connection request.

[0077] When the smart access point receives the network connection request from the target smart home device based on the first network connection parameter, it may, for example, reestablish connection with the target smart home device according to the preset network communication protocol (e.g. including the steps of completing authentication, association, etc.).

[0078] In this embodiment, the smart access point can send the changed first network connection parameter to the target smart home device in the smart home device list based on the second network connection parameter before the change at the first time, so that the target device can obtain the new network connection parameter in advance. Then, at the second time, after the target smart home device stops connecting with the smart access point by broadcasting the authentication relationship termination message, it can reconnect with the smart access point based on the obtained first network connection parameter. Through the above method, after the network connection parameter of the smart AP is changed, the target smart home device can be automatically configured without relying on the Bluetooth transmission function and the smart home device relying on MAC authentication, thereby improving the applicability of the target smart home device automatic configuration network, and improving the efficiency of the target smart home device configuration network because no user operation is required to reconfigure the network.

[0079] The following describes how the smart access point constructs the above-mentioned smart home device list:

[0080] As a possible implementation, the smart access point can further receive an association request frame sent by the target smart home device before sending the first network connection parameter to the target smart home device in the smart home device list at the first time based on the second network connection parameter used before the smart access point changes the network connection parameter.

[0081] The association request frame can include extended information representing the manufacturer identity of the smart home device. Optionally, the extended information can include, for example, an Organizationally Unique Identifier (OUI) of a preset manufacturer and the like.

[0082] Optionally, the target smart home device can send the association request frame to the smart access point according to a preset protocol procedure when connecting to the smart access point for the first time.

[0083] The smart access point can store the identity of the target smart home device in the smart home device list in response to determining that the target smart home device is a smart home device of a preset manufacturer based on the extended information.

[0084] Optionally, the smart access point can parse the extended information in the association request frame to obtain the identity of the manufacturer included in the extended information. As a possible implementation, one or more trusted preset manufacturer identities can be pre-stored in the smart access point. The smart access point can compare the parsed extended information (such as OUI) with the pre-stored preset manufacturer identities, and determine that the target smart home device is a smart home device of a preset manufacturer when the preset manufacturer identity is a match to the extended information.

[0085] It should be understood that the present application does not limit the storage manner of the identity of the target smart home device in the smart home device list, and the storage location of the smart home device list.

[0086] Through the above method, the extended information representing the manufacturer identity is added in the association request frame, so that the smart access point can identify whether the target smart home device is a device of a preset manufacturer based on the extended information, and ensure that only the legal target smart home device of the preset manufacturer can perform the password-free reconnection in the future, thereby improving the efficiency of the target smart home device network configuration and ensuring the security of network access.

[0087] In some embodiments, the smart access point can perform security authentication on the target smart home device based on a pre-shared key of wireless protection access in response to determining that the target smart home device is a smart home device of a preset manufacturer based on the extended information.

[0088] For example, the smart access point can implement security authentication of the target smart home device based on a pre-shared key of a wireless protected access, for example, refer to any existing Wi-Fi Protected Access-Pre-Shared Key (wpa-psk) authentication process, which will not be described herein.

[0089] The smart access point can store the identity of the target smart home device to the smart home device list in response to the security authentication of the target smart home device being passed.

[0090] In this embodiment, by adding security authentication based on a pre-shared key of a wireless protected access on the basis of identity recognition, it is ensured that only the target smart home device of the preset manufacturer that passes the security verification can be stored in the smart home device list. Through the dual verification mechanism, the access security is further enhanced while the device identity recognition is realized, unauthorized devices are prevented from obtaining the password-free reconnection service, and the security of the password-free reconnection is further improved.

[0091] As a possible implementation, the smart access point can start a transmission control protocol (TCP) service before sending the first network connection parameter to the target smart home device in the smart home device list based on a second network connection parameter used by the smart access point before the network connection parameter is changed to the first network connection parameter at a first time in response to the network connection parameter of the smart access point being changed to the first network connection parameter.

[0092] The smart access point can send the first network connection parameter to the target smart home device based on the second network connection parameter through the TCP service at the first time.

[0093] Optionally, the smart access point can start a TCP service in the background in silence after the system initialization is completed or after detecting that the smart home device of the preset manufacturer is successfully connected to the network. The TCP service can be used to detect a specific network port, and the first network connection parameter is sent to the target smart home device based on the second network connection parameter through the TCP service.

[0094] Optionally, the smart access point can send the first network connection parameter to the target smart home device based on the second network connection parameter through the TCP service at the first time.

[0095] By starting the TCP service, the reliable point-to-point transmission guarantee provided by the TCP protocol is ensured, and the first network connection parameter can be accurately and completely sent to the target smart home device, and the accuracy of the password-free reconnection is improved.

[0096] As a possible implementation, the target smart home device can also send an action frame to the smart access point in response to termination of the authentication relationship with the smart access point and failure of connection with the smart access point.

[0097] The action frame can carry: extension information for representing the manufacturer identity of the target smart home device, and encrypted network connection parameters.

[0098] For example, the target smart home device can encrypt the network connection parameters currently used by itself through a pairwise transient key (PTK) as the encrypted network connection parameters.

[0099] If the smart access point fails to send the first network connection parameters to the target smart home device based on the second network connection parameters at the first time, and then receives the action frame from the target smart home device, the smart access point can decrypt the encrypted network connection parameters to obtain decrypted network connection parameters in response to the action frame carrying the extension information.

[0100] For example, the target smart home device can decrypt the encrypted network connection parameters through a group temporal key (GTK) to obtain the decrypted network connection parameters.

[0101] The smart access point can send the first network connection parameters to the target smart home device in response to the decrypted network connection parameters being the second network connection parameters. Then, the target smart home device can receive the first network connection parameters from the smart access point and connect with the smart access point based on the first network connection parameters.

[0102] The first network connection parameters can be sent by the smart access point to the target smart home device in response to the action frame carrying the extension information, the encrypted network connection parameters being decrypted to obtain the decrypted network connection parameters, and the decrypted network connection parameters being determined as the second network connection parameters.

[0103] Optionally, the data segment of the extension information can be filled by encrypting the network connection parameters before modification through a PTK, and the action frame carrying the preset manufacturer identifier can be sent to the smart access point.

[0104] After receiving the action frame sent by the target smart home device, the smart access point first verifies whether the action frame carries the preset manufacturer identifier, and then decrypts the data segment of the extension information through a GTK to parse the network connection parameters, and the parsed network connection parameters are consistent with the network connection parameters saved in the preset manufacturer smart device list, and the verification is successful, otherwise the verification fails.

[0105] The smart access point sends the response message carrying the preset manufacturer identifier and the first network connection parameter in the data segment encrypted by the PTK saved in the preset manufacturer smart device list after filling, and the status field is added in the data segment. If the status field is 0, it means that the new first network connection parameter is valid, and if the status field is 1, it means that the new first network connection parameter is invalid.

[0106] After receiving the response message sent by the smart access point, the target smart home device first verifies whether the response message carries the preset manufacturer identifier, and then judges whether the status field in the data segment of the extension information is 0. If the status field is 0, the first network connection parameter in the data segment of the extension information is decrypted by the GTK, and the first network connection parameter is parsed. After parsing, the target smart home device is connected to the smart access point through the first network connection parameter, so as to realize that the user does not need to reconfigure the network after changing the first network connection parameter.

[0107] In the embodiment, after the first network connection parameter distribution fails, the target smart home device can apply for the parameter through the action frame, and successfully obtain the first network connection parameter. Through the above method, when the target smart home device fails to receive the first network connection parameter in time due to power failure or the like, the target smart home device can still obtain the first network connection parameter, so as to guarantee that the target smart home device can realize the password-free reconnection in the abnormal situation, improve the robustness of the smart home device network configuration, and further improve the user experience.

[0108] The network configuration method of the smart home device provided in the present application will be exemplarily described below by taking the identity recognition, ssid and password distribution, and ssid and password application as examples.

[0109] 1. Identity recognition

[0110] The identity recognition is to identify the device identity when the smart home device is connected to the home network, and to identify whether the smart home device is the smart home device of the preset manufacturer. Exemplarily, Figure 3 A schematic diagram of a smart home device identity recognition process provided in the present application.

[0111] For example, Figure 3As shown, the process of associating the smart home device with WiFi is consistent with the non-end pipe cooperation in detecting the network and link authentication (i.e. including the processes of detection request, detection response, authentication request, authentication response, etc.). When the association request is made, the extended information can be carried to represent the manufacturer identity of the smart home device, so as to distinguish the preset manufacturer smart home device and the non-pre-set manufacturer smart home device. The smart AP can feed back the association response to the smart home device. After the wpa-psk authentication is successful, the smart AP stores the information such as the mac address of the smart home device carrying the above-mentioned extended information in the association request stage, the ssid of the current AP, the password, the pairwise transient key (PTK) and the like in the preset manufacturer smart device list, and completes the identity recognition.

[0112] 2. ssid and password distribution

[0113] 1) After the AP (i.e. smart AP) is powered on, a TCP service for distributing the ssid and the password is started.

[0114] 2) After the station (Station, STA, i.e. smart home device) is connected to the AP through the identity recognition, a TCP client (clinet) for receiving the distributed ssid and password is started.

[0115] 3) Figure 4 A flowchart of a network connection parameter distribution provided by the present application is shown. As shown in Figure 4 When the ssid and the password of the AP / WiFi router are modified, the original ssid and password are still used for communication within 2 minutes, and the new ssid and password are sent to each smart home device in the preset manufacturer smart home device list through the TCP mode.

[0116] 4) After the 2-minute timing time is up, a broadcast authentication relationship termination message (deauth message) is sent to kick all the smart home devices connected to the AP / WiFi router offline, and the modified ssid and password of the AP / WIFI router are effective. The smart home device needs to be connected to the network through the new ssid and password to realize the router modification. After the ssid and the password of the router are modified, the customer does not need to reconfigure the network.

[0117] 3. ssid and password application

[0118] Some preset manufacturer's smart home devices may not receive the new ssid and password sent by the AP / WiFi router within 2 minutes after the WiFi router / AP modifies the ssid and password due to power failure or reboot, etc., resulting in failure to reconnect to the AP / WiFi router with the modified ssid and password. The latest ssid and password information can be obtained through an action frame (action auth request / response).

[0119] The process of applying for new ssid information and password through an action frame is as follows:

[0120] 1) The STA carries the foregoing extended information in an action frame. The data segment of the extended information is filled with the modified ssid and password encrypted by PTK (action auth request frame), and the action frame carrying the preset manufacturer's identifier is sent out to apply for new ssid and password.

[0121] 2) After receiving the action auth request sent by the STA, the AP first verifies whether the preset manufacturer's identifier is carried, and then decrypts the data segment of the extended information through the group temporal key (GTK) to parse out the ssid and password. If the parsed ssid and password is consistent with the saved ssid and password in the preset manufacturer's smart device list, the verification is successful, otherwise the verification fails.

[0122] 3) After the AP verification succeeds, the AP sends an action auth response frame carrying the preset manufacturer's identifier, and the data segment is filled with the current AP's ssid and password encrypted by the PTK saved in the preset manufacturer's smart device list. Meanwhile, the data segment is added with a status field. If the status field is 0, it means that the application for new ssid and password is successful and valid, and if the status field is 1, it means that the application for new ssid and password is invalid.

[0123] 4) After receiving the action auth response frame sent by the AP, the STA first verifies whether the preset manufacturer's identifier is carried, and then judges whether the status field in the data segment of the extended information is 0. If the status field is 0, the encrypted ssid and password in the data segment of the extended information are decrypted through the GTK to parse out the ssid and password. After the ssid and password are parsed out, the STA connects to the WiFi through the new ssid and password, so as to realize that the client does not need to reconfigure the network after the router modifies the ssid and password.

[0124] In the embodiment, when the smart home device is first configured with a network, the AP / WiFi router identifies the smart home device and identifies whether it is a smart home device of a preset manufacturer. If it is a smart home device of the preset manufacturer, the AP / WiFi router saves the device in a list of smart terminal devices of the preset manufacturer (identification). When the ssid and password of the AP / WiFi router are modified, the original ssid and password are still used for communication for 2 minutes, and the new ssid and password are sent to each device in the list of smart terminal devices of the preset manufacturer through a data frame. After the 2-minute timing time, a broadcast deauth packet is sent to kick all terminals connected to the AP / WiFi router offline, and the modified ssid and password of the AP / WiFi router take effect. The smart home device is connected to the network through the new ssid and password (ssid and password distribution). If some smart terminal of the preset manufacturer in the 2 minutes does not receive the new ssid and password from the AP / WiFi router due to power failure or restart, etc., the smart terminal cannot be reconnected to the AP / WiFi router with the modified ssid and password. The smart terminal can obtain the latest ssid and password information through the action auth request / response. Through the above method, the smart terminal does not need to use other wireless communication media, and compared with the Bluetooth broadcast mode, the smart terminal can be connected to the network without password, the coverage range is wider through the end-to-end cooperation of WiFi, and the smart terminal that is powered off during the modification of the ssid and password of the router can still be connected to the network through the ssid and password application after being powered on, which greatly reduces the number of devices configured with a network by manual operation, improves the network configuration efficiency, and improves the user experience.

[0125] The application also provides a smart access point. The smart access point can be configured to perform the method capable of being performed by the smart access point according to any one of the preceding embodiments, and the implementation principle and technical effects are similar, and will not be described herein again.

[0126] The application also provides a smart home device. The target smart home device (which can be any smart home device) can be configured to perform the method capable of being performed by the target smart home device according to any one of the preceding embodiments, and the implementation principle and technical effects are similar, and will not be described herein again.

[0127] Figure 5 A structural schematic diagram of a smart home device network configuration device provided by the application is shown in FIG. 5. The smart home device network configuration device 50 can be applied to a smart access point. As shown in FIG. 5, the smart home device network configuration device 50 can include a processor 51, a memory 52, a communication interface 53, and a power supply 54. The processor 51, the memory 52, the communication interface 53, and the power supply 54 are connected to each other through a bus. Figure 5As shown, the smart home device network configuration device 50 can include a sending module 51, and a broadcasting module 52 and a connecting module 53. Wherein,

[0128] The sending module 51 is configured to, in response to the network connection parameter of the smart access point being to be changed to the first network connection parameter, at a first time, send the first network connection parameter to a target smart home device in a smart home device list based on a second network connection parameter used before the smart access point changes the network connection parameter; and the smart home device list is configured to store an identifier of a smart home device of a preset manufacturer.

[0129] The broadcasting module 52 is configured to, at a second time, broadcast an authentication relationship termination message, so that the target smart home device stops connecting with the smart access point in response to the authentication relationship termination message, and sends a network connection request to the smart access point based on the first network connection parameter.

[0130] The connecting module 53 is configured to, in response to the network connection request, establish a connection with the target smart home device.

[0131] Optionally, the device can further include a receiving module 54 and a processing module 55. Optionally, the receiving module 54 is configured to, before the sending module 51 sends the first network connection parameter to the target smart home device in the smart home device list at the first time based on the second network connection parameter used before the smart access point changes the network connection parameter, receive an association request frame sent by the target smart home device; and the association request frame includes extension information used to represent the manufacturer identity of the smart home device.

[0132] The processing module 55 can be configured to, in response to determining, based on the extension information, that the target smart home device is a smart home device of the preset manufacturer, store the identifier of the target smart home device to the smart home device list.

[0133] Optionally, the processing module 55 can be specifically configured to, in response to determining, based on the extension information, that the target smart home device is a smart home device of the preset manufacturer, perform security authentication on the target smart home device based on a pre-shared key of a wireless protected access; and in response to the security authentication of the target smart home device being passed, store the identifier of the target smart home device to the smart home device list.

[0134] Optionally, the processing module 55 can be further configured to, in response to the network connection parameter of the smart access point being to be changed to the first network connection parameter, start a transmission control protocol (TCP) service before the sending module 51 sends the first network connection parameter to the target smart home device in the smart home device list at the first time based on the second network connection parameter used before the smart access point changes the network connection parameter.

[0135] Optionally, the sending module 51 is specifically configured to send, at the first time point, the first network connection parameter to the target smart home device based on the second network connection parameter through the TCP service.

[0136] Optionally, the receiving module 54 is further configured to receive an action frame from the target smart home device after failing to send the first network connection parameter to the target smart home device based on the second network connection parameter at the first time point. The action frame carries: extension information used to represent the manufacturer identity of the target smart home device, and the encrypted network connection parameter.

[0137] Optionally, the processing module 55 is further configured to decrypt the encrypted network connection parameter to obtain a decrypted network connection parameter in response to the action frame carrying the extension information.

[0138] Optionally, the sending module 51 is further configured to send the first network connection parameter to the target smart home device to enable the target smart home device to connect to the smart access point based on the first network connection parameter in response to the decrypted network connection parameter being the second network connection parameter.

[0139] The smart home device network configuration apparatus 50 provided in the present application is used to execute the foregoing smart home device network configuration method embodiments, and has similar implementation principles and technical effects, which will not be described herein again.

[0140] Figure 6 A hardware structure schematic diagram of an electronic device is provided in the present application. The electronic device can be the smart home device described in any of the foregoing embodiments, or the smart access point described in any of the foregoing embodiments. Figure 6 The electronic device 60 shown includes a memory 61, a processor 62, and a communication interface 63. The memory 61, the processor 62, and the communication interface 63 are in communication connection with each other. For example, the memory 61, the processor 62, and the communication interface 63 can be in communication connection in a network connection manner. Alternatively, the foregoing electronic device 60 can further include a bus 64. The memory 61, the processor 62, and the communication interface 63 are in communication connection with each other through the bus 64. Figure 6 The electronic device 60 is such that the memory 61, the processor 62, and the communication interface 63 are in communication connection with each other through the bus 64.

[0141] The memory 61 can be a Read Only Memory (ROM), a static storage device, a dynamic storage device, or a Random Access Memory (RAM). The memory 61 can store programs, when the programs stored in the memory 61 are executed by the processor 62, the processor 62 and the communication interface 63 are configured to execute the smart home device network configuration method of any of the preceding embodiments. The memory can also store data required for the smart home device network configuration method.

[0142] The processor 62 can be a general purpose CPU, a microprocessor, an Application Specific Integrated Circuit (ASIC), a graphics processing unit (GPU), or one or more integrated circuits.

[0143] The processor 62 can also be an integrated circuit chip having a processing capability of signals. In the implementation process, the smart home device network configuration method of the present application can be completed by the integrated logic circuit of hardware in the processor 62 or the instructions in the form of software. The processor 62 described above can also be a general purpose processor, a digital signal processor (DSP), an Application Specific Integrated Circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, which can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware coding processor for execution, or a combination of hardware and software modules in the coding processor for execution. The software module can be located in a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register, or other mature storage media in the art. The storage medium is located in the memory 61, and the processor 62 reads the information in the memory 61, and combines the hardware to complete the smart home device network configuration method of the present application.

[0144] The communication interface 63 uses a transceiver module such as but not limited to a transceiver to realize the communication between the electronic device 60 and other devices or communication networks. For example, the data set can be obtained through the communication interface 63.

[0145] When the electronic device 60 includes the bus 64, the bus 64 can include a path that transmits information between the various components (e.g., the memory 61, the processor 62, the communication interface 63) of the electronic device 60.

[0146] The application further provides a computer readable storage medium, which can include a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes. The computer readable storage medium can store program instructions, and the program instructions are used for the method in the above embodiments.

[0147] The application further provides a program product, which includes execution instructions stored in a readable storage medium. At least one processor of an electronic device can read the execution instructions from the readable storage medium, and the at least one processor executes the execution instructions to make the electronic device implement the smart home device network configuration method provided in the various embodiments.

[0148] The term "a plurality of" in the present document refers to two or more. The term "and / or" in the present document only describes the association relationship of the associated objects, and means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. In addition, the character " / " in the present document generally represents that the associated objects before and after the character " / " are in an "or" relationship; in the formula, the character " / " represents that the associated objects before and after the character " / " are in a "division" relationship. In addition, it should be understood that in the description of the present application, the terms "first", "second", etc. are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance. It can be understood that the various numerical numbers involved in the embodiments of the present application are only distinguished for the convenience of description, and are not used to limit the scope of the embodiments of the present application.

[0149] The above is only the preferred embodiment of the present application, and it should be pointed out that for those skilled in the art, without departing from the principle of the present application, a number of improvements and refinements can be made, and these improvements and refinements should be regarded as the protection scope of the present application.

Claims

1. A method for configuring smart home devices to a network, characterized in that, Applied to smart access points, the method includes: In response to the network connection parameters of the smart access point being changed to the first network connection parameters, at a first moment, based on the second network connection parameters used by the smart access point before the network connection parameters are changed, the first network connection parameters are sent to the target smart home device in the smart home device list; the smart home device list is used to store the identifiers of smart home devices from preset manufacturers; At the second moment, a broadcast authentication relationship termination message is sent, causing the target smart home device to respond to the authentication relationship termination message and stop connecting with the smart access point, and send a network connection request to the smart access point based on the first network connection parameters; In response to the network connection request, a connection is established with the target smart home device.

2. The smart home device network configuration method according to claim 1, characterized in that, Before sending the first network connection parameters to the target smart home device in the smart home device list based on the second network connection parameters used before the smart access point changes the network connection parameters at the first moment, the method further includes: Receive an association request frame sent by the target smart home device; the association request frame includes: extended information for identifying the manufacturer identity of the smart home device; In response to determining that the target smart home device is a smart home device from the preset manufacturer based on the extended information, the identifier of the target smart home device is stored in the smart home device list.

3. The smart home device network configuration method according to claim 2, characterized in that, The step of determining, based on the extended information, that the target smart home device is a smart home device from the preset manufacturer, and storing the identifier of the target smart home device in the smart home device list, includes: In response to determining that the target smart home device is a smart home device from the preset manufacturer based on the extended information, security authentication of the target smart home device is performed based on the pre-shared key of the wireless protection access. In response to the successful security authentication of the target smart home device, the identifier of the target smart home device is stored in the smart home device list.

4. The smart home device network configuration method according to any one of claims 1-3, characterized in that, Before sending the first network connection parameter to the target smart home device in the smart home device list based on the second network connection parameter used before the smart access point changes its network connection parameter to a first network connection parameter at a first moment, the method further includes: Start the Transmission Control Protocol (TCP) service; The step of sending the first network connection parameters to the target smart home devices in the smart home device list based on the second network connection parameters used before the smart access point changed its network connection parameters at the first moment includes: At the first moment, the first network connection parameters are sent to the target smart home device through the TCP service based on the second network connection parameters.

5. The smart home device network configuration method according to any one of claims 1-3, characterized in that, The method further includes: If, at the first moment, after failing to send the first network connection parameters to the target smart home device based on the second network connection parameters, an action frame is received from the target smart home device, the action frame carries: extended information for characterizing the manufacturer identity of the target smart home device, and encrypted network connection parameters; In response to the extended information carried in the action frame, the encrypted network connection parameters are decrypted to obtain the decrypted network connection parameters. In response to the decrypted network connection parameters being the second network connection parameters, the first network connection parameters are sent to the target smart home device so that the target smart home device can connect to the smart access point based on the first network connection parameters.

6. A smart home device, characterized in that, The smart access point stores a list of smart home devices, and the target smart home devices in the list are configured as follows: The system receives a first network connection parameter from a smart access point. This first network connection parameter is a response from the smart access point to a change in its network connection parameter to a second network connection parameter used before the change. At a first moment, the system sends this parameter to the target smart home device in the smart home device list. The smart home device list is used to store identifiers of smart home devices from preset manufacturers. In response to the authentication relationship termination message broadcast by the smart access point at the second moment, the connection with the smart access point is terminated, and a network connection request is sent to the smart access point based on the first network connection parameters, so that the smart access point responds to the network connection request and establishes a connection with the target smart home device.

7. The smart home device according to claim 6, characterized in that, The target smart home device is also configured to: In response to the termination of the authentication relationship with the smart access point and the failure to connect to the smart access point, an action frame is sent to the smart access point. The action frame carries: extended information for characterizing the manufacturer identity of the target smart home device, and encrypted network connection parameters. The system receives the first network connection parameters from the smart access point and connects to the smart access point based on the first network connection parameters. The first network connection parameters are sent by the smart access point to the target smart home device when the smart access point decrypts the encrypted network connection parameters in response to the extended information carried in the action frame, obtains the decrypted network connection parameters, and determines that the decrypted network connection parameters are the second network connection parameters. Connect to the smart access point based on the first network connection parameters.

8. A smart access point, characterized in that, The smart access point is configured as follows: In response to the network connection parameters of the smart access point being changed to the first network connection parameters, at a first moment, based on the second network connection parameters used by the smart access point before the network connection parameters are changed, the first network connection parameters are sent to the target smart home device in the smart home device list; the smart home device list is used to store the identifiers of smart home devices from preset manufacturers; At the second moment, a broadcast authentication relationship termination message is sent, causing the target smart home device to respond to the authentication relationship termination message and stop connecting with the smart access point, and send a network connection request to the smart access point based on the first network connection parameters; In response to the network connection request, a connection is established with the target smart home device.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the smart home device network configuration method according to any one of claims 1-5.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the smart home device network configuration method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Methods and apparatus for solicited activation for protected wireless networking

    CN102577525A

  • A method for accessing wireless network by WIFI smart apparatus with zero-configuration

    CN104202799A

  • Method and device for automatically accessing IOT equipment to WLAN

    CN113260014A

  • Network signaling process sampling method, network access point AP, server and system

    CN118019035A

  • Wireless network switching method and device

    KR102734413B1