Matter device distribution methods and systems

By obtaining a unique identifier from the Matter device's WiFi broadcast packet, and requesting network configuration parameters and keys from the cloud server, Matter devices can be configured for network without scanning codes. This solves the problems of high hardware configuration and security in existing technologies, and improves network configuration efficiency and security.

CN115942331BActive Publication Date: 2025-10-31HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing Matter device configuration process requires scanning a code to obtain the configuration key, which has high hardware requirements, poses security issues, and is cumbersome and inconvenient.

Method used

A unique identifier is obtained by sending a WiFi broadcast packet from the Matter device, requesting network configuration parameters and keys from the cloud server, and then configuring the network using the already configured device or client to achieve network configuration without scanning a code.

Benefits of technology

It simplifies the network configuration process, reduces the hardware configuration requirements for clients, improves network configuration efficiency and security, and supports batch network configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115942331B_ABST
    Figure CN115942331B_ABST
Patent Text Reader

Abstract

This application relates to a network configuration method and system for Matter devices. The method, applied to already configured devices, includes: obtaining a unique identifier corresponding to the Matter device via a WiFi broadcast packet sent by the Matter device; requesting network configuration parameters and a network configuration key from a cloud server using the unique identifier; obtaining the network configuration parameters and the network configuration key; and configuring the Matter device's network based on the network configuration parameters and the network configuration key to obtain a configuration result. According to the network configuration scheme provided in this application, the network configuration parameters and the unique identifier corresponding to the network configuration key are placed in the WiFi broadcast packet. By receiving and parsing the WiFi broadcast packet, the network configuration parameters and the unique identifier can be obtained, thus eliminating the need to scan the Matter device's QR code to configure the network. Furthermore, during the network configuration process, for situations where the client cannot directly obtain the network configuration parameters and the unique identifier corresponding to the network configuration key from the WiFi broadcast packet, the requirements for client protocol support are reduced, making the network configuration scheme more widely applicable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart home technology, and in particular to a network configuration method and system for Matter devices. Background Technology

[0002] The Matter protocol is an open-source standard project for smart homes, jointly initiated by Amazon, Apple, Google, and the ZigBee Alliance. It aims to develop and promote a new link protocol that is free of patent fees, and devices that comply with the Matter protocol are referred to as Matter devices.

[0003] In existing technologies, configuring Matter devices, such as smart home devices, requires the smart home system to have a QR code. Client devices must scan this QR code on the smart home device to obtain the configuration key. The Matter device also has a communication module, such as a Bluetooth module. During configuration, the Bluetooth module transmits configuration parameters to the client via broadcast data packets. The client then uses the configuration key obtained from the QR code and the configuration parameters obtained from the Bluetooth module to complete the configuration of the Matter device.

[0004] In addition, during the configuration process of Matter devices, the next device can only be scanned after the configuration of one device has been completed. Summary of the Invention

[0005] The inventors discovered that during the network configuration process for Matter devices, existing technologies require scanning QR codes, necessitating that client devices be equipped with devices capable of scanning QR codes, thus placing high demands on client hardware configuration. Furthermore, since the network configuration key is obtained through scanning QR codes, any client can obtain the network configuration key by scanning QR codes, posing a security problem. In addition, network configuration must be done one by one, making the process extremely cumbersome and inconvenient.

[0006] To address the aforementioned problems, according to the first aspect of this application, a method for configuring a Matter device for network distribution is provided, applicable to already configured network devices, characterized by comprising:

[0007] Obtain the unique identifier corresponding to the Matter device by using the WiFi broadcast packets sent by the Matter device;

[0008] The unique identifier is used to request network configuration parameters and network configuration key from the cloud server.

[0009] Obtain the network configuration parameters and network configuration key that match the unique identifier; and

[0010] The Matter device is configured with network parameters and network key to obtain the network configuration result of the Matter device.

[0011] According to a second aspect of this application, a method for configuring a Matter device for network distribution is provided, applied to already configured network devices, characterized in that it includes:

[0012] Obtain the unique identifier corresponding to the Matter device by using the WiFi broadcast packets sent by the Matter device;

[0013] The unique identifier is used to request network configuration parameters and network configuration key from the cloud server.

[0014] Obtain the network configuration parameters and network configuration key that match the unique identifier; and

[0015] The network configuration parameters and the network configuration key are sent to the client, so that the client can perform network configuration on the Matter device according to the network configuration parameters and the network configuration key, and obtain the network configuration result of the Matter device.

[0016] According to a third aspect of this application, a method for configuring a Matter device for network distribution is provided, applied to already configured network devices, characterized in that it includes:

[0017] Obtain the unique identifier corresponding to the Matter device by using the WiFi broadcast packets sent by the Matter device;

[0018] The unique identifier is sent to the client, enabling the client to obtain network configuration parameters and a network configuration key from the cloud server based on the unique identifier, and to perform network configuration on the Matter device based on the network configuration parameters and the network configuration key, thereby obtaining the network configuration result of the Matter device.

[0019] According to a fourth aspect of this application, a network distribution system for Matter devices is provided, characterized in that it includes Matter devices, network-distributed devices, client devices, and a cloud server, wherein:

[0020] The Matter device is used to send WiFi broadcast packets, and the WiFi broadcast contains a unique identifier corresponding to the Matter device;

[0021] The network-connected equipment performs the method described in the first aspect;

[0022] The client receives the network configuration result and updates the network configuration information of the Matter device; and

[0023] The cloud server is used to respond to the unique identifier received from the network-configured device and send the network configuration parameters and network configuration key that match the unique identifier to the network-configured device.

[0024] According to a fifth aspect of this application, a network distribution system for Matter devices is provided, characterized in that it includes Matter devices, network-distributed devices, client devices, and a cloud server, wherein:

[0025] The Matter device is used to send WiFi broadcast packets, and the WiFi broadcast contains a unique identifier corresponding to the Matter device;

[0026] The network-connected equipment performs the method described in the second aspect;

[0027] The client configures the Matter device's network based on the network configuration parameters and the network configuration key, and obtains the network configuration result of the Matter device; and

[0028] The cloud server is used to respond to the unique identifier received from the network-configured device and send the network configuration parameters and network configuration key that match the unique identifier to the network-configured device.

[0029] According to a sixth aspect of this application, a network distribution system for Matter devices is provided, characterized in that it includes Matter devices, network-distributed devices, client devices, and a cloud server, wherein:

[0030] The Matter device is used to send WiFi broadcast packets, and the WiFi broadcast contains a unique identifier corresponding to the Matter device;

[0031] The network-connected equipment performs the method described in the third aspect;

[0032] The client obtains network configuration parameters and a network configuration key from the cloud server based on the unique identifier, and performs network configuration on the Matter device according to the network configuration parameters and the network configuration key to obtain the network configuration result of the Matter device; and

[0033] The cloud server is used to respond to the unique identifier received from the client and send the network configuration parameters and network configuration key that match the unique identifier to the client.

[0034] According to a seventh aspect of this application, an electronic device is provided, comprising:

[0035] A processor and a memory. The memory stores computer instructions that, when executed by the processor, perform the methods described in the first, second, or third aspect.

[0036] According to an eighth aspect of this application, a non-transitory computer storage medium is provided, which stores a computer program that, when executed by a plurality of processors, causes the processors to perform the method as described in the first, second, or third aspect.

[0037] According to the network configuration scheme for Matter devices provided in this application, by embedding the unique identifier of the Matter device into the WiFi broadcast packet, the unique identifier can be obtained by receiving and parsing the WiFi broadcast packet. The unique identifier is then used to obtain the network configuration parameters and network configuration key from the cloud server, and network configuration is performed based on the network configuration parameters and network configuration key. Therefore, network configuration of the Matter device can be achieved without scanning the Matter device's QR code, and the device performing the network configuration does not need to be equipped with a camera. Furthermore, in the process of network configuration, for situations where the client cannot directly obtain the unique identifier of the Matter device from the WiFi broadcast packet, this application sets up a pre-configured device, which obtains the unique identifier of the Matter device from the WiFi broadcast packet and then forwards it to the client. This reduces the requirements for client protocol support and makes the network configuration scheme more widely applicable. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings, without exceeding the scope of protection claimed by this application.

[0039] Figure 1 This is a schematic diagram of an Internet of Things (IoT) communication system according to this application.

[0040] Figure 2 This is a schematic diagram of the distribution network system of the Matter device according to the first example of this application.

[0041] Figure 3 This is a flowchart of the network configuration method for the Matter device according to the first example of this application.

[0042] Figure 4 This is a schematic diagram of the distribution network system of the Matter device according to the second example of this application.

[0043] Figure 5This is a flowchart of the network configuration method for the Matter device according to the second example of this application.

[0044] Figure 6 This is a schematic diagram of the distribution network system of the Matter device according to the third example of this application.

[0045] Figure 7 This is a flowchart of the network configuration method for the Matter device according to the third example of this application.

[0046] Figure 8 This is a structural diagram of an electronic device provided in this application. Detailed Implementation

[0047] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0048] Figure 1 This is a schematic diagram of an Internet of Things (IoT) communication system according to this application. Figure 1 This includes two types of cloud ecosystems. The dashed line delineates the on-premises or internal cloud ecosystem, while the area outside the dashed line represents the third-party cloud ecosystem. For example... Figure 1As shown, the internal cloud ecosystem can be described as a graffiti-style cloud ecosystem, which includes the cloud, clients, routers, gateways / hubs, WiFi devices, Bluetooth devices, Zigbee devices, and Thread devices. Clients can be terminal devices such as mobile phones and tablets, which run apps (applications) for WiFi devices, Bluetooth devices, Zigbee devices, and Thread devices to access the cloud and interact with it, including adding and deleting devices. Routers provide internet access channels, and gateways / hubs are used for protocol conversion and device management, including adding and deleting devices and managing device online and offline status. The Matter protocol supports both Wi-Fi and Thread protocols. Wi-Fi and Thread devices can directly access the cloud via the Matter protocol. Wi-Fi devices can access the cloud directly through a router; Thread devices access the cloud through a router and gateway, without requiring protocol conversion by the gateway. The gateway's role is simply to pass information transparently. Devices that support the Matter protocol are referred to as Matter devices. For protocols not supported by Matter, such as Bluetooth and Zigbee, Bluetooth and Zigbee devices require protocol conversion by a gateway when accessing the cloud. Devices that do not support the Matter protocol are referred to as non-Matter devices.

[0049] Figure 1 The diagram illustrates the connectivity and data transmission relationships between the various components or devices of the internal cloud ecosystem, as well as the connectivity relationships between the internal cloud ecosystem and the cloud, Wi-Fi devices, and thread devices of the third-party cloud ecosystem. When the internal cloud ecosystem is not associated with the third-party cloud ecosystem, communication and data processing can be performed between the cloud and devices, and between devices themselves, according to an internal protocol (for example, for Tuya's internal cloud ecosystem, the internal protocol is Tuya's custom protocol). When the internal cloud ecosystem is associated with the third-party cloud ecosystem, interconnection between the two cloud ecosystems is achieved through the Matter protocol.

[0050] exist Figure 1In this context, for clients within the internal cloud ecosystem controlling third-party Matter devices (including WiFi and thread devices), according to one embodiment, the client can control the third-party Matter devices via the cloud, routers, and gateways; according to another embodiment, the client can control the third-party Matter devices via routers and gateways. During the process of client control of third-party Matter devices, the Matter protocol is used to achieve interconnection between the two cloud ecosystems, enabling clients in the internal cloud ecosystem to control third-party Matter devices. Similarly, or correspondingly, clients in the third-party cloud ecosystem can also control Matter devices in the internal cloud ecosystem via the Matter protocol.

[0051] exist Figure 1 In order to gain control of other cloud ecosystems, non-Matter devices (including Bluetooth and Zigbee devices) need to be mapped to a Matter gateway via a gateway.

[0052] This application is Figure 1 The system shown presents a proposed solution for network configuration of Matter devices. In general, this application provides a network configuration solution for Matter devices. In this solution, the configured device obtains the configuration parameters and unique identifier of the Matter device from the Matter device's WiFi broadcast packet. The configured device then sends the unique identifier to a cloud server to request a configuration key. After obtaining the configuration key, the configured device can configure the Matter device according to the configuration parameters and the configuration key, and then share the configuration result with the client, synchronizing the Matter device's network configuration-related data to the cloud server. Alternatively, the configured device can send the configuration parameters and the configuration key to the client, and the client can configure the Matter device's network according to the configuration parameters and the configuration key, obtaining the Matter device's network configuration result, and then synchronizing the network configuration-related data to the cloud server. According to the solution in this application, network configuration of Matter devices can be achieved without scanning the device's QR code, and the device performing the configuration does not need to be equipped with a camera. Furthermore, during the configuration process, in cases where the client cannot directly obtain the configuration parameters and the unique identifier corresponding to the configuration key from the WiFi broadcast packet, the already configured device can obtain the configuration parameters and the unique identifier corresponding to the configuration key through the WiFi broadcast packet, reducing the requirements for client protocol support and making the configuration solution more widely applicable. In addition, by receiving and parsing WiFi broadcast packets sent by multiple Matter devices, the configuration parameters and configuration keys of multiple Matter devices can be obtained simultaneously, thereby achieving batch configuration of multiple Matter devices and improving configuration efficiency.

[0053] Figure 2 This is a schematic diagram of the distribution network system for the Matter device according to the first example of this application. For example... Figure 2 As shown, the system includes a cloud server, network-connected devices, clients, and Matter devices. Clients include, but are not limited to, mobile phones, tablets, and computers. Matter devices are devices that conform to the Matter protocol; there can be multiple Matter devices. Additionally, Matter devices can be configured with Bluetooth and / or WiFi communication modules, or other communication modules. Network-connected devices are devices currently registered under the Matter device's username; these devices have established a connection with the cloud server and can be either Matter devices or non-Matter devices.

[0054] To configure a Matter device for network access, the already configured device needs to obtain the corresponding configuration parameters and key. Then, the network configuration for the Matter device is completed using these parameters and key. Figure 3 The system shown below executes the following steps for distribution network operation.

[0055] Step 1: After the network configuration device enters the network configuration page, a list of Matter devices that can be configured will be automatically displayed. The list will show one or more Matter devices that need to be configured.

[0056] Step 2: Enable Bluetooth and / or WiFi permissions for the network-configured devices. Select the Matter devices that need to be configured to enter the network configuration process. Multiple Matter devices can be selected simultaneously.

[0057] Step 3: When the Matter device broadcasts a Bluetooth / WiFi broadcast packet, the configured network device receives the Bluetooth / WiFi broadcast packet and obtains the Matter device's unique identifier through the Bluetooth / WiFi broadcast packet; when the Matter device broadcasts a WiFi broadcast packet, the configured network device receives the WiFi broadcast packet and obtains the Matter device's unique identifier through the WiFi broadcast packet. The Matter device's unique identifier includes a UUID (Universally Unique Identifier) ​​field or other fields that distinguish the Matter device from other devices, such as a MAC address or a pre-set serial number.

[0058] Step 4: The network-configured device requests the network configuration parameters and network configuration key from the cloud server using the Matter device's unique identifier. The network configuration parameters include parameters such as disciritor, vendorId, productId, product ID, and manufacturer ID. The network configuration key includes parameters such as passcode.

[0059] Step 5: After receiving the unique identifier of the Matter device, the cloud server queries the correspondence between the unique identifier and the configuration parameters and key to obtain the configuration parameters and key, and then sends them to the configured device. The configured device completes the configuration process for the Matter device using the obtained configuration parameters and key.

[0060] Step 6: After successful network configuration, the configured device sends the configuration result to the client. The client updates its current network configuration to ensure that the configuration result obtained by the configured device is consistent with the result obtained by the client itself through network configuration.

[0061] based on Figure 2 The system shown also provides a method for distributing Matter devices according to one aspect of this application. Figure 3 This is a flowchart of a network configuration method for a Matter device according to the first embodiment of this application. For example... Figure 3 As shown, the method includes the following steps.

[0062] Step S301: Obtain the unique identifier corresponding to the Matter device through the WiFi broadcast packet sent by the Matter device.

[0063] Matter devices can be configured with Bluetooth and / or WiFi modules, or other communication modules. Depending on the type of Matter device, the network-connected devices obtain the network configuration parameters and unique identifiers corresponding to the Matter device in different ways.

[0064] According to some embodiments of this application, when a Matter device broadcasts a WiFi broadcast packet, a network-connected device receives the WiFi broadcast packet and obtains the Matter device's unique identifier through the WiFi broadcast packet. The Matter device's unique identifier includes a UUID field or other fields that distinguish the Matter device from other devices, such as a MAC address or a pre-set serial number.

[0065] For client devices such as mobile phones and tablets, for security reasons, their systems restrict any application from directly obtaining relevant information from WiFi broadcast packets. This application aims to achieve code-free network configuration while ensuring security by configuring the configured device to obtain relevant information from WiFi broadcast packets. In this way, through the bridging function of the configured device, code-free network configuration of Matter devices can be achieved. Furthermore, since the configured device is registered under the current user's name, it has established a secure connection with the cloud server, and the cloud server has also established a secure connection with the client. Therefore, sending the network configuration information obtained from WiFi broadcast packets and the cloud to the client through the configured device also ensures network configuration security.

[0066] Step S302: Request network configuration parameters and network configuration key from the cloud server using the unique identifier.

[0067] According to one embodiment, the network-configured device requests network configuration parameters and a network configuration key from the cloud server using the unique identifier of the Matter device. The network configuration parameters include parameters such as disciritor, vendorId, productId, product ID, and manufacturer ID, and the network configuration key includes parameters such as passcode.

[0068] Step S303: Obtain the network distribution parameters and network distribution key that match the unique identifier.

[0069] Step S304: Configure the Matter device according to the network configuration parameters and the network configuration key to obtain the network configuration result of the Matter device.

[0070] According to one embodiment, after receiving the unique identifier of the Matter device, the cloud server queries the correspondence between the unique identifier of the Matter device and the configuration parameters and configuration key to obtain the configuration parameters and configuration key, and then sends the configuration parameters and configuration key to the configured device. The configured device completes the configuration process for the Matter device using the obtained configuration parameters and configuration key.

[0071] According to one embodiment, after successful network configuration, the configured device sends the configuration result to the client. The client updates its current network configuration so that the configuration result obtained by the configured device is consistent with the result obtained by the client itself through network configuration.

[0072] so, Figure 3 The method shown may further include: sending the network configuration result to the client, so that the client updates the network configuration information of the Matter device.

[0073] The above describes the process of configuring a single Matter device. When configuring multiple Matter devices, the configured device can simultaneously receive WiFi broadcast packets from multiple Matter devices, obtain the unique identifier of each Matter device, and then obtain configuration parameters and configuration keys through these unique identifiers. This allows for batch configuration of multiple Matter devices. In one specific embodiment, the configured device can establish a cache for multiple Matter devices to be configured. This cache stores a list of Matter devices to be configured, displaying the devices and their corresponding configuration keys and parameters. Based on this list, the configured device can automatically configure multiple Matter devices one by one or configure one or more devices from multiple Matter devices under user instructions. This not only simplifies the configuration process for a single Matter device, but also greatly simplifies the configuration process, improves configuration efficiency, and enhances user experience in scenarios with multiple Matter devices (e.g., construction sites).

[0074] Figure 4 This is a schematic diagram of the power distribution system for the Matter device according to the second example of this application. Figure 2 The difference is that, in Figure 4 In this process, after obtaining the network configuration key and parameters, the already configured device does not directly perform network configuration. Instead, it sends the network configuration key and parameters to the client. The client then configures the Matter device according to the network configuration key and parameters and obtains the configuration result.

[0075] based on Figure 4 The system shown also provides a method for distributing Matter devices according to one aspect of this application. Figure 5 This is a flowchart of a network configuration method for a Matter device according to a second embodiment of this application. Figure 5 As shown, the method includes steps S501, S502, S503, and S504. Steps S501, S502, and S503 are... Figure 3 Steps S301, S302, and S303 are the same and will not be repeated here. Specifically, for Figure 5Step S504: The network configuration parameters and the network configuration key are sent to the client, enabling the client to perform network configuration on the Matter device based on the network configuration parameters and the network configuration key, and obtain the network configuration result of the Matter device. After obtaining the network configuration key and parameters, the already configured device does not directly perform network configuration, but instead sends the network configuration key and parameters to the client. The client then performs network configuration on the Matter device based on the network configuration key and parameters, and obtains the network configuration result.

[0076] Figure 6 This is a schematic diagram of the distribution network system for the Matter device according to the third example of this application. Figure 4 The difference is that, in Figure 6 In this process, after obtaining the unique identifier corresponding to the Matter device, the network-configured device does not directly obtain the network configuration key and network configuration parameters from the cloud server. Instead, it sends the unique identifier to the client. The client obtains the network configuration parameters and network configuration key from the cloud server based on the unique identifier, and performs network configuration on the Matter device based on the network configuration parameters and network configuration key to obtain the network configuration result of the Matter device.

[0077] based on Figure 6 The system shown also provides a method for configuring a Matter device according to another aspect of this application. Figure 7 This is a flowchart of a network configuration method for a Matter device according to a third embodiment of this application. Figure 7 As shown, the method includes steps S701 and S702. Step S701 and... Figure 5 The steps in S501 are the same and will not be repeated here. Specifically, for Figure 7 Step S702: The unique identifier is sent to the client, enabling the client to obtain network configuration parameters and a network configuration key from the cloud server based on the unique identifier, and to perform network configuration on the Matter device based on the network configuration parameters and the network configuration key, thereby obtaining the network configuration result of the Matter device. After obtaining the unique identifier corresponding to the Matter device, the configured device does not directly obtain the network configuration key and network configuration parameters from the cloud server, but instead sends the unique identifier to the client. The client then obtains the network configuration parameters and a network configuration key from the cloud server based on the unique identifier, and performs network configuration on the Matter device based on the network configuration parameters and the network configuration key, thereby obtaining the network configuration result of the Matter device.

[0078] According to the Matter device configuration system and method provided in this application, by embedding the unique identifier of the Matter device into the WiFi broadcast packet, the unique identifier can be obtained by receiving and parsing the WiFi broadcast packet. The configuration parameters and configuration key can be obtained from the cloud server through the unique identifier, and network configuration can be performed according to the configuration parameters and configuration key. Therefore, the configuration of the Matter device can be achieved without scanning the QR code of the Matter device, and the device performing the configuration does not need to be equipped with a camera. Furthermore, in the process of configuration, in cases where the client cannot directly obtain the unique identifier of the Matter device from the WiFi broadcast packet, the configured device can obtain the unique identifier of the Matter device through the WiFi broadcast packet, reducing the requirements for client protocol support and making the configuration solution more widely applicable.

[0079] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0080] It should be noted that in this solution, the device's broadcast packets can also be delivered via Bluetooth. The device to be configured and the client do not need to establish a Bluetooth connection; instead, they can directly obtain the unique identifier from the Bluetooth broadcast packet. This application improves the capacity of the Bluetooth broadcast packet, allowing it to encompass more information, thus enabling the unique identifier to be sent within the Bluetooth broadcast packet.

[0081] See Figure 8 , Figure 8 An electronic device is provided, including a processor and a memory. The memory stores computer instructions, which, when executed by the processor, cause the processor to perform the computer instructions to achieve the following: Figure 3 , Figure 5 and Figure 7 The method and its detailed scheme are shown.

[0082] It should be understood that the above-described device embodiments are merely illustrative, and the device disclosed in this invention can be implemented in other ways. For example, the division of units / modules described in the above embodiments is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units, modules, or components may be combined, integrated into another system, or some features may be ignored or not executed.

[0083] Furthermore, unless otherwise specified, the functional units / modules in the various embodiments of the present invention can be integrated into one unit / module, or each unit / module can exist physically separately, or two or more units / modules can be integrated together. The integrated units / modules described above can be implemented in hardware or as software program modules.

[0084] If the integrated unit / module is implemented in hardware, the hardware can be digital circuits, analog circuits, etc. The physical implementation of the hardware structure includes, but is not limited to, transistors, memristors, etc. Unless otherwise specified, the processor or chip can be any suitable hardware processor, such as a CPU, GPU, FPGA, DSP, and ASIC, etc. Unless otherwise specified, the on-chip cache, off-chip memory, and storage can be any suitable magnetic or magneto-optical storage medium, such as resistive random access memory (RRAM), dynamic random access memory (DRAM), static random access memory (SRAM), enhanced dynamic random access memory (EDRAM), high-bandwidth memory (HBM), hybrid memory cube (HMC), etc.

[0085] If the integrated unit / module is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0086] This application embodiment also provides a non-transitory computer storage medium storing a computer program, which, when executed by multiple processors, causes the processors to perform actions such as... Figure 3 , Figure 5 and Figure 7 The method and its detailed scheme are shown.

[0087] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.

[0088] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. Furthermore, any changes or modifications made by those skilled in the art based on the ideas of this application, and on the specific implementation methods and application scope of this application, are all within the scope of protection of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for distributing Matter devices to a network, applied to already distributed network devices, characterized in that, include: Obtain the unique identifier corresponding to the Matter device by using the WiFi broadcast packets sent by the Matter device; The unique identifier is used to request network configuration parameters and network configuration key from the cloud server. Obtain the network distribution parameters and network distribution key that match the unique identifier; as well as The Matter device is configured with network parameters and network key to obtain the network configuration result of the Matter device. The method further includes: By receiving and parsing WiFi broadcast packets sent by multiple Matter devices, the unique identifier of each Matter device can be obtained; Obtain the network distribution parameters and network distribution key by using the unique identifier of each Matter device; Based on the network configuration parameters and the network configuration key, network configuration is performed on each Matter device to obtain the network configuration results of each Matter device; The network distribution parameters include the disciritor parameter, vendorId parameter, productId parameter, product ID, and manufacturer ID; the network distribution key includes the passcode parameter.

2. The method as described in claim 1, characterized in that, Also includes: The network configuration result is sent to the client, so that the client updates the network configuration information of the Matter device.

3. A method for distributing Matter devices to a network, applied to already distributed network devices, characterized in that, include: Obtain the unique identifier corresponding to the Matter device by using the WiFi broadcast packets sent by the Matter device; The unique identifier is used to request network configuration parameters and network configuration key from the cloud server. Obtain the network distribution parameters and network distribution key that match the unique identifier; as well as The network configuration parameters and the network configuration key are sent to the client, so that the client can perform network configuration on the Matter device according to the network configuration parameters and the network configuration key, and obtain the network configuration result of the Matter device; The method further includes: By receiving and parsing WiFi broadcast packets sent by multiple Matter devices, the unique identifier of each Matter device can be obtained; Obtain the network distribution parameters and network distribution key by using the unique identifier of each Matter device; Based on the network configuration parameters and the network configuration key, network configuration is performed on each Matter device to obtain the network configuration results of each Matter device; The network distribution parameters include the disciritor parameter, vendorId parameter, productId parameter, product ID, and manufacturer ID; the network distribution key includes the passcode parameter.

4. The method as described in claim 3, characterized in that, The network-connected devices support the WiFi protocol.

5. A method for distributing Matter devices to a network, applied to already distributed network devices, characterized in that, include: Obtain the unique identifier corresponding to the Matter device by using the WiFi broadcast packets sent by the Matter device; The unique identifier is sent to the client, enabling the client to obtain network configuration parameters and a network configuration key from the cloud server based on the unique identifier, and to perform network configuration on the Matter device based on the network configuration parameters and the network configuration key, thereby obtaining the network configuration result of the Matter device; The method further includes: By receiving and parsing WiFi broadcast packets sent by multiple Matter devices, the unique identifier of each Matter device can be obtained; Obtain the network distribution parameters and network distribution key by using the unique identifier of each Matter device; Based on the network configuration parameters and the network configuration key, network configuration is performed on each Matter device to obtain the network configuration results of each Matter device; The network distribution parameters include the disciritor parameter, vendorId parameter, productId parameter, product ID, and manufacturer ID; the network distribution key includes the passcode parameter.

6. A distribution network system for Matter devices, characterized in that, This includes Matter devices, network-connected devices, client devices, and cloud servers, among which: The Matter device is used to send WiFi broadcast packets, and the WiFi broadcast contains a unique identifier corresponding to the Matter device; The network-connected equipment performs the method according to claim 1 or 2; The client receives the network configuration result and updates the network configuration information of the Matter device; and The cloud server is used to respond to the unique identifier received from the network-configured device and send the network configuration parameters and network configuration key that match the unique identifier to the network-configured device.

7. A distribution network system for Matter devices, characterized in that, This includes Matter devices, network-connected devices, client devices, and cloud servers, among which: The Matter device is used to send WiFi broadcast packets, and the WiFi broadcast contains a unique identifier corresponding to the Matter device; The network-connected equipment performs the method described in claim 3 or 4; The client configures the Matter device's network based on the network configuration parameters and the network configuration key, and obtains the network configuration result of the Matter device; and The cloud server is used to respond to the unique identifier received from the network-configured device and send the network configuration parameters and network configuration key that match the unique identifier to the network-configured device.

8. A distribution network system for Matter devices, characterized in that, This includes Matter devices, network-connected devices, client devices, and cloud servers, among which: The Matter device is used to send WiFi broadcast packets, and the WiFi broadcast contains a unique identifier corresponding to the Matter device; The network-connected equipment performs the method described in claim 5; The client obtains network configuration parameters and a network configuration key from the cloud server based on the unique identifier, and performs network configuration on the Matter device according to the network configuration parameters and the network configuration key to obtain the network configuration result of the Matter device; and The cloud server is used to respond to the unique identifier received from the client and send the network configuration parameters and network configuration key that match the unique identifier to the client.

9. An electronic device, characterized in that, include: processor; as well as A memory storing computer instructions that, when executed by the processor, cause the processor to perform the method according to any one of claims 1-5.

10. A non-transitory computer storage medium storing a computer program, characterized in that, When the computer program is executed by a plurality of processors, the processors perform the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Network configuration method, device, equipment and system

    CN113099440A