CN115942331A - Network distribution method and system of Matter equipment - Google Patents

Network distribution method and system of Matter equipment Download PDF

Info

Publication number
CN115942331A
CN115942331A CN202211363272.9A CN202211363272A CN115942331A CN 115942331 A CN115942331 A CN 115942331A CN 202211363272 A CN202211363272 A CN 202211363272A CN 115942331 A CN115942331 A CN 115942331A
Authority
CN
China
Prior art keywords
distribution network
equipment
network
matter
unique identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211363272.9A
Other languages
Chinese (zh)
Inventor
杨克勤
马海涛
夏长浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202211363272.9A priority Critical patent/CN115942331A/en
Publication of CN115942331A publication Critical patent/CN115942331A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application relates to a network distribution method and a system of Matter equipment, wherein the method is applied to the distributed network equipment and comprises the following steps: acquiring a unique identifier corresponding to the Matter equipment through a WiFi broadcast packet sent by the Matter equipment; requesting a distribution network parameter and a distribution network key from a cloud server through the unique identifier; acquiring a distribution network parameter and a distribution network secret key; and carrying out network configuration on the Matter equipment according to the distribution network parameters and the distribution network secret key to obtain a configuration result. According to the distribution network scheme provided by the application, the distribution network parameters and the unique identifier corresponding to the distribution network key are placed in the WiFi broadcast packet, and the distribution network parameters and the unique identifier can be obtained by receiving and analyzing the WiFi broadcast packet, so that the distribution network of the Matter equipment can be realized without scanning the two-dimensional code of the Matter equipment; in addition, in the process of network distribution, the requirement on the client on protocol support is reduced aiming at the situation that the client cannot directly obtain the distribution network parameters and the unique identifier corresponding to the distribution network key from the WiFi broadcast packet, so that the distribution network scheme is more widely applied.

Description

Network distribution method and system of Matter equipment
Technical Field
The application relates to the technical field of smart home, in particular to a network distribution method and system of Matter equipment.
Background
The Matter protocol is an open-source standard project of smart home, is jointly initiated by amazon, apple, google and ZigBee alliance, aims to develop and popularize a new link protocol for avoiding special interest fee, and refers to Matter equipment for short for equipment following the Matter protocol.
In the prior art, a network is distributed to Matter equipment, for example, a network is distributed to a smart home, the smart home needs to be provided with two-dimensional codes, client equipment must scan the two-dimensional codes on the smart home when the network is distributed, and a network distribution key is obtained by scanning the two-dimensional codes. And the Matter equipment is also provided with a communication module, such as a Bluetooth module, and in the process of distribution network, the Bluetooth module transmits distribution network parameters to the client through a broadcast data packet. And the client side adopts the distribution network key obtained by scanning the codes and the distribution network parameters obtained by the Bluetooth module to complete the distribution network of the Matter equipment.
In addition, in the process of distributing the network to the Matter device, the next device can be distributed by scanning the code after the network distribution of one device is finished.
Disclosure of Invention
The inventor finds that in the process of distributing the network to the Matter device, because the code must be scanned according to the requirement of the prior art, the client device must be provided with a device capable of scanning the two-dimensional code, and the hardware configuration requirement of the client is met; in addition, as the distribution network key is obtained by scanning the code, any client can obtain the distribution network key by scanning the code, so that the security problem exists; in addition, the distribution networks need to be distributed one by one and one by one, and the distribution process is very complicated and inconvenient.
In view of the above problem, according to a first aspect of the present application, there is provided a network distribution method for a mate device, which is applied to a distributed network device, and includes:
acquiring a unique identifier corresponding to Matter equipment through a WiFi broadcast packet sent by the Matter equipment;
requesting a distribution network parameter and a distribution network secret key from a cloud server through the unique identifier;
acquiring a distribution network parameter and a distribution network secret key matched with the unique identifier; and
and carrying out network configuration on the Matter equipment according to the distribution network parameters and the distribution network key to obtain a network configuration result of the Matter equipment.
According to a second aspect of the present application, there is provided a network distribution method for a mate device, which is applied to a distributed device, and includes:
acquiring a unique identifier corresponding to Matter equipment through a WiFi broadcast packet sent by the Matter equipment;
requesting a distribution network parameter and a distribution network secret key from a cloud server through the unique identifier;
acquiring distribution network parameters and a distribution network key matched with the unique identifier; and
and sending the distribution network parameters and the distribution network key to a client, so that the client performs network configuration on the Matter equipment according to the distribution network parameters and the distribution network key to obtain a network configuration result of the Matter equipment.
According to a third aspect of the present application, there is provided a network distribution method for a mate device, which is applied to a distributed device, and includes:
acquiring a unique identifier corresponding to Matter equipment through a WiFi broadcast packet sent by the Matter equipment;
and sending the unique identifier to a client, so that the client acquires a distribution network parameter and a distribution network key from a cloud server according to the unique identifier, and performs network configuration on the Matter equipment according to the distribution network parameter and the distribution network key to obtain a network configuration result of the Matter equipment.
According to the fourth aspect of the application, provide a net distribution system of Matter equipment, its characterized in that includes Matter equipment, has distributed net equipment, customer premise equipment and high in the clouds server, wherein:
the Matter equipment is used for sending a WiFi broadcast packet, and the WiFi broadcast packet contains a unique identifier corresponding to the Matter equipment;
the distributed network device performs the method of the first aspect;
the client receives the network configuration result and updates the network configuration information of the Matter equipment; and
the cloud server is used for responding to the unique identifier received from the distributed network equipment and sending the distribution network parameters and the distribution network key matched with the unique identifier to the distributed network equipment.
According to the fifth aspect of the application, provide a net distribution system of Matter equipment, its characterized in that includes Matter equipment, has distributed net equipment, customer premise equipment and high in the clouds server, wherein:
the Matter equipment is used for sending a WiFi broadcast packet, and the WiFi broadcast packet contains a unique identifier corresponding to the Matter equipment;
the distributed network device performs the method of the second aspect;
the client performs network configuration on the Matter equipment according to the distribution network parameters and the distribution network key to obtain a network configuration result of the Matter equipment; and
the cloud server is used for responding to the unique identifier received from the distributed network equipment and sending the distribution network parameters and the distribution network secret key matched with the unique identifier to the distributed network equipment.
According to a sixth aspect of the present application, a network distribution system of a Matter device is provided, which is characterized by comprising the Matter device, a distributed network device, a client device and a cloud server, wherein:
the Matter equipment is used for sending a WiFi broadcast packet, and the WiFi broadcast packet contains a unique identifier corresponding to the Matter equipment;
the distributed network equipment executes the method of the third aspect;
the client acquires a distribution network parameter and a distribution network key from a cloud server according to the unique identifier, and performs network configuration on the Matter equipment according to the distribution network parameter and the distribution network key to acquire a network configuration result of the Matter equipment; and
and the cloud server is used for responding to the unique identifier received from the client and sending the distribution network parameters and the distribution network key matched with the unique identifier to the client.
According to a seventh aspect of the present application, there is provided an electronic device comprising:
a processor and a memory. The memory stores computer instructions which, when executed by the processor, perform the method of the first, second or third aspect.
According to an eighth aspect of the present application, there is provided a non-transitory computer storage medium storing a computer program which, when executed by a plurality of processors, causes the processors to perform the method according to the first, second or third aspect.
According to the distribution network scheme of the Matter equipment, the unique identifier of the Matter equipment is placed in the WiFi broadcast packet, the unique identifier can be obtained by receiving and analyzing the WiFi broadcast packet, the distribution network parameters and the distribution network key are obtained from the cloud server through the unique identifier, network configuration is executed according to the distribution network parameters and the distribution network key, so that the distribution network of the Matter equipment can be realized without scanning the two-dimensional code of the Matter equipment, and the equipment executing the distribution network is not required to be configured with a camera; in addition, in the process of distribution, aiming at the situation that the client cannot directly obtain the unique identifier of the Matter device from the WiFi broadcast packet, the distributed network device is arranged, the unique identifier of the Matter device is obtained from the WiFi broadcast packet through the distributed network device and then is forwarded to the client, so that the requirement of the client on protocol support is reduced, and the application of the distribution network scheme is wider.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without exceeding the protection scope of the present application.
Fig. 1 is a schematic diagram of an internet of things communication system according to the application.
Fig. 2 is a schematic diagram of a distribution network system of a Matter device according to a first example of the present application.
Fig. 3 is a flowchart of a network distribution method of a mate device according to a first example of the present application.
Fig. 4 is a schematic diagram of a distribution network system of a Matter device according to a second example of the present application.
Fig. 5 is a flow chart of a network distribution method of a mate device according to a second example of the present application.
Fig. 6 is a schematic diagram of a distribution network system of a Matter device according to a third example of the present application.
Fig. 7 is a flowchart of a network distribution method of a mate device according to a third example of the present application.
Fig. 8 is a block diagram of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic diagram of an internet of things communication system according to the application. Fig. 1 includes two cloud ecosystems, wherein a local or internal cloud ecosystem is bounded by a dotted line, and a third party cloud ecosystem is outside the dotted line. As shown in fig. 1, the internal cloud ecosystem may be a doodle cloud ecosystem, which includes a cloud end, a client, a router, a gateway/Hub, a WiFi device, a bluetooth device, a zigbee device, and a thread device, where the client may be a terminal device such as a mobile phone and a tablet computer, and runs an App (Application) for cloud-going and interaction with the cloud end of the WiFi device, the bluetooth device, the zigbee device thread device, and other devices, including adding and deleting devices; the router provides an internet access channel, and the gateway/Hub is used for protocol conversion and device management, including adding and deleting devices, online and offline device management and the like. The Matter protocol can support a Wifi protocol and a thread protocol, wifi equipment and thread equipment can be directly subjected to cloud-up and other operations through the Matter protocol, wherein for the Wifi equipment, the Wifi equipment can be directly subjected to cloud-up through a router; for the thread equipment, the cloud is acquired through the router and the gateway, the gateway does not need to perform protocol conversion, and the gateway plays a role in transparently transmitting information; the equipment capable of supporting the Matter protocol is called Matter equipment for short; for protocols which are not supported by the Matter protocol, such as Bluetooth and zigbee, when a Bluetooth device and a zigbee device are connected to the internet and are in cloud, protocol conversion through a gateway is needed, and a device which does not support the Matter protocol is referred to as a non-Matter device for short.
Fig. 1 illustrates a connection relationship or a data transmission relationship between components or devices of the internal cloud ecosystem and connection relationships between the internal cloud ecosystem and cloud terminals, wifi devices, and thread devices of the third party cloud ecosystem, where when the internal cloud ecosystem is not associated with the third party cloud ecosystem, communication and data processing can be performed between the cloud terminals and the devices and between the devices according to an internal protocol (for example, for a doodle internal cloud ecosystem, the internal protocol is a doodle-defined protocol); when the internal cloud ecosystem is associated with a third-party cloud ecosystem, interconnection and intercommunication between the two cloud ecosystems need to be achieved through a Matter protocol.
In fig. 1, for a client of an internal cloud ecosystem to control a third-party Matter device (including a WiFi device and a thread device), according to one embodiment, the client may implement control of the third-party Matter device via a cloud, a router, and a gateway; according to another embodiment, the client may implement control of the third party Matter device via a router and a gateway. In the process that the client controls the third-party Matter equipment, the Matter protocol is adopted to realize the intercommunication and interconnection between the two cloud ecosystems, so that the client of the internal cloud ecosystem can control the third-party Matter equipment. Similarly or correspondingly, the client of the third-party cloud ecosystem can also realize the control of the Matter device of the internal cloud ecosystem through the Matter protocol.
In fig. 1, for non-Matter devices (including bluetooth devices and zigbee devices), in order to obtain control of other cloud ecosystems, mapping on the Matter gateway through the gateway is required.
The application is a scheme provided in the distribution network aspect of Matter equipment in the system shown in FIG. 1. In general, the present application provides a distribution network scheme for a mate device, in which a configured device acquires a distribution network parameter and a unique identifier of the mate device from a WiFi broadcast packet of the mate device, the configured device sends the unique identifier to a cloud server to request a distribution network key, after acquiring the distribution network key, the configured device may distribute a network to the mate device according to the distribution network parameter and the distribution network key, share a distribution network result to a client, and synchronize data related to network configuration of the mate device to the cloud server; or, the distributed network equipment can send the distribution network parameters and the distribution network key to the client, and the client performs network configuration on the Matter equipment according to the distribution network parameters and the distribution network key to obtain a network configuration result of the Matter equipment, and then synchronizes data related to the network configuration to the cloud server. According to the scheme, the distribution network of the Matter equipment can be realized without scanning the two-dimensional code of the Matter equipment, and the equipment for executing the distribution network is not required to be configured with a camera; in the process of network distribution, aiming at the situation that the client cannot directly obtain the parameters of the distribution network and the unique identifier corresponding to the key of the distribution network from the WiFi broadcast packet, the distributed network equipment can obtain the parameters of the distribution network and the unique identifier corresponding to the key of the distribution network through the WiFi broadcast packet, so that the requirement on protocol support of the client is reduced, and the application of the scheme of the distribution network is wider; in addition, by receiving and analyzing the WiFi broadcast packets sent by the Matter devices, the distribution network parameters and the distribution network key of the Matter devices can be obtained at the same time, so that the batch distribution of the Matter devices is realized, and the distribution network efficiency is improved.
Fig. 2 is a schematic diagram of a distribution network system of a Matter device according to a first example of the present application. As shown in fig. 2, the system includes a cloud server, a configured network device, a client, and a Matter device. The client includes, but is not limited to, a mobile phone, a tablet, a computer, and the like, the Matter device is a device following the Matter protocol, the number of the Matter device may be multiple, and in addition, the Matter device may be configured with a bluetooth module and/or a WiFi communication module, or other communication modules. The distributed device is a device under the current user name of the Matter device, the device is connected with the cloud server, and the device can be the Matter device or a non-Matter device.
In order to realize the network distribution of the Matter equipment, the distributed equipment needs to obtain distribution network parameters corresponding to the Matter equipment and also needs to obtain a distribution network key corresponding to the Matter equipment, and then the network configuration of the Matter equipment is completed through the distribution network parameters and the distribution network key. According to the system shown in fig. 3, the steps for implementing the distribution network are as follows.
Step one, after the distributed network equipment enters a distribution network page, automatically displaying a Matter equipment list of the available distribution network, and displaying one or more Matter equipment needing distribution network in the list.
And step two, bluetooth permission starting and/or WiFi permission starting of the distributed network equipment, selecting Matter equipment needing to be distributed, entering a distribution network flow, and selecting a plurality of Matter equipment at the same time.
Step three, when the Matter equipment broadcasts a Bluetooth WiFi broadcast packet, the distributed network equipment receives the Bluetooth WiFi broadcast packet and obtains a unique identifier of the Matter equipment through the Bluetooth WiFi broadcast packet; when the Matter device broadcasts the WiFi broadcast packet, the distributed network device receives the WiFi broadcast packet, and the unique identifier of the Matter device is obtained through the WiFi broadcast packet. The Unique Identifier of the Matter device includes a UUID (Universally Unique Identifier) field or other fields that distinguish the Matter device from other devices, such as a MAC address, a preset serial number, and the like.
And step four, the distributed network equipment requests a distribution network parameter and a distribution network key used by the distribution network from the cloud server through the unique identifier of the Matter equipment, wherein the distribution network parameter comprises a discrimiitor, a vendord, a productId parameter, a product ID, a manufacturer ID and the like, and the distribution network key comprises a passcode parameter, for example.
And step five, after receiving the unique identifier of the Matter device, the cloud server inquires the corresponding relation between the unique identifier of the Matter device and the distribution network parameters and the distribution network key to obtain the distribution network parameters and the distribution network key, and sends the distribution network parameters and the distribution network key to the distributed network device. And the distributed network equipment completes the network distribution process of the Matter equipment through the acquired network distribution parameters and the network distribution key.
And step six, after the network distribution is successful, the distributed network equipment sends the distribution network result to the client, and the client updates the current network configuration, so that the distribution network result obtained by the distributed network equipment is consistent with the result obtained by the client for performing network configuration.
Based on the system shown in fig. 2, according to an aspect of the present application, a network distribution method for a mate device is also provided. Fig. 3 is a flowchart of a network distribution method of a Matter device according to a first embodiment of the present application. As shown in fig. 3, the method includes the following steps.
Step S301, a unique identifier corresponding to the Matter device is obtained through a WiFi broadcast packet sent by the Matter device.
The Matter device can be configured with a Bluetooth module and/or a WiFi module or other communication modules, and according to different types of the Matter device, the configured network device obtains the distribution network parameters and the unique identifier corresponding to the Matter device in different modes.
According to some embodiments of the present application, when the Matter device broadcasts the WiFi broadcast packet, the distributed network device receives the WiFi broadcast packet, and obtains the unique identifier of the Matter device through the WiFi broadcast packet. The unique identifier of the Matter device includes a UUID field or other fields for distinguishing the Matter device from other devices, such as a MAC address, a preset serial number, and the like.
For the client, such as a mobile phone, a tablet computer, etc., due to security considerations, the system restricts that any APP (Application) cannot directly obtain relevant information from a WiFi broadcast packet. In order to realize the code scanning-free distribution network, on the premise of ensuring safety, the method acquires relevant information from the WiFi broadcast packet by setting the distributed network equipment. Therefore, code scanning-free distribution of the Matter equipment can be realized through the bridging effect of the distributed equipment; in addition, since the configured network equipment is the equipment under the current user name, the configured network equipment establishes a secure connection with the cloud server, and the cloud server also establishes a secure connection with the client, the network distribution information acquired from the WiFi broadcast packet and the cloud is sent to the client through the configured network equipment, and the security of the network distribution can be ensured.
Step S302, requesting a distribution network parameter and a distribution network key from the cloud server through the unique identifier.
According to one embodiment, the distributed network equipment requests distribution network parameters and a distribution network key for distribution network use from a cloud server through a unique identifier of a Matter device, wherein the distribution network parameters comprise numbers such as discirmitrer, vendord, productId, product ID, and vendor ID, and the distribution network key comprises passcode parameters.
Step S303, obtaining the distribution network parameter and the distribution network key matched with the unique identifier.
Step S304, carrying out network configuration on the Matter device according to the distribution network parameters and the distribution network key, and obtaining a network configuration result of the Matter device.
According to one embodiment, after receiving the unique identifier of the Matter device, the cloud server queries the corresponding relationship between the unique identifier of the Matter device and the distribution network parameters and the distribution network key to obtain the distribution network parameters and the distribution network key, and sends the distribution network parameters and the distribution network key to the distributed network device. And the distributed network equipment completes the network distribution process of the Matter equipment through the acquired network distribution parameters and the network distribution key.
According to one embodiment, after the network distribution is successful, the distributed network equipment sends the distribution network result to the client, and the client updates the current network configuration, so that the distribution network result obtained by the distributed network equipment is consistent with the result obtained by the client for carrying out network configuration.
Thus, the method shown in fig. 3 may further include: and sending the network configuration result to a client, so that the client updates the network configuration information of the Matter device.
The above describes a process of distributing a network to one Matter device, and in a process of distributing a network to a plurality of Matter devices, a distributed network device may receive WiFi broadcast packets sent by the plurality of Matter devices at the same time, obtain unique identifiers of the Matter devices, and obtain distribution network parameters and a distribution network key through the unique identifiers of the Matter devices, so that a network can be distributed to the plurality of Matter devices, and a batch distribution network is realized. In a specific embodiment, the configured network device may establish a cache for a plurality of mat devices to be configured, where the cache stores a list of the mat devices to be configured, the list displays the mat devices to be configured, and corresponding distribution network keys and distribution network parameters thereof, and according to the list, the configured network device may automatically and one by one configure the network for the plurality of mat devices or configure one or more devices of the plurality of mat devices under an instruction of a user. Therefore, the distribution network process of a single Matter device is simplified, and for the situation (such as a construction site scene) with a plurality of Matter devices, the scheme of the application greatly simplifies the distribution network process, improves the distribution network efficiency and improves the user experience.
Fig. 4 is a schematic diagram of a distribution network system of a Matter device according to a second example of the present application. Different from fig. 2, in fig. 4, after the network-distributed device obtains the network-distribution key and the network-distribution parameters, the network is not directly distributed, but the network-distribution key and the network-distribution parameters are sent to the client, and the client distributes the network to the mate device according to the network-distribution key and the network-distribution parameters, so as to obtain a network-distribution result.
Based on the system shown in fig. 4, according to an aspect of the present application, a network distribution method for a mate device is also provided. Fig. 5 is a flowchart of a network distribution method of a mate device according to a second embodiment of the present application. As shown in fig. 5, the method includes step S501, step S502, step S503, and step S504. Step S501, step S502, and step S503 are the same as step S301, step S302, and step S303 of fig. 3, and are not described again here. Wherein, for step S504 of fig. 5: and sending the distribution network parameters and the distribution network key to a client, so that the client performs network configuration on the Matter equipment according to the distribution network parameters and the distribution network key to obtain a network configuration result of the Matter equipment. After the distribution network equipment obtains the distribution network key and the distribution network parameters, the distribution network is not directly carried out, the distribution network key and the distribution network parameters are sent to the client side, and the client side carries out distribution network on the Matter equipment according to the distribution network key and the distribution network parameters to obtain a distribution network result.
Fig. 6 is a schematic diagram of a distribution network system of a Matter device according to a third example of the present application. Different from fig. 4, in fig. 6, after the network-configured device obtains the unique identifier corresponding to the mate device, the unique identifier is sent to the client instead of directly obtaining the distribution network key and the distribution network parameter from the cloud server, and the client obtains the distribution network parameter and the distribution network key from the cloud server according to the unique identifier and performs network configuration on the mate device according to the distribution network parameter and the distribution network key to obtain a network configuration result of the mate device.
Based on the system shown in fig. 6, according to another aspect of the present application, a network distribution method for a mate device is also provided. Fig. 7 is a flowchart of a network distribution method of a mate device according to a third embodiment of the present application. As shown in fig. 7, the method includes step S701 and step S702. Step S701 is the same as step S501 in fig. 5, and is not described herein again. Wherein, for step S702 of fig. 7: and sending the unique identifier to a client, so that the client acquires a distribution network parameter and a distribution network key from a cloud server according to the unique identifier, and performs network configuration on the Matter equipment according to the distribution network parameter and the distribution network key to obtain a network configuration result of the Matter equipment. After the distribution network equipment obtains the unique identifier corresponding to the Matter equipment, the unique identifier is not directly obtained from the cloud server, but is sent to the client side, the client side obtains the distribution network parameters and the distribution network key from the cloud server according to the unique identifier, network configuration is carried out on the Matter equipment according to the distribution network parameters and the distribution network key, and a network configuration result of the Matter equipment is obtained.
According to the distribution network system and method of the Matter equipment, the unique identifier of the Matter equipment is placed in the WiFi broadcast packet, the unique identifier can be obtained by receiving and analyzing the WiFi broadcast packet, the distribution network parameters and the distribution network key are obtained from the cloud server through the unique identifier, network configuration is executed according to the distribution network parameters and the distribution network key, therefore, the distribution network of the Matter equipment can be realized without scanning the two-dimensional code of the Matter equipment, and the equipment executing the distribution network is not required to be configured with a camera; moreover, in the process of distribution, aiming at the situation that the client cannot directly obtain the unique identifier of the Matter device from the WiFi broadcast packet, the distributed equipment can obtain the unique identifier of the Matter device through the WiFi broadcast packet, so that the requirement on protocol support of the client is reduced, and the application of the distribution scheme is wider.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
It should be noted that, in this scheme, the broadcast packet mode of the device may also be bluetooth broadcast. The device to be distributed and the client do not need to establish a Bluetooth link, but can directly obtain a unique identifier from a Bluetooth broadcast packet. By improving the capacity of the Bluetooth broadcast packet, more information can be covered, so that the unique identifier can be transmitted in the Bluetooth broadcast packet.
Referring to fig. 8, fig. 8 provides an electronic device including a processor and a memory. The memory stores computer instructions which, when executed by the processor, cause the processor to execute the computer instructions to implement the method and refinement scheme as shown in figures 3, 5 and 7.
It should be understood that the above-described device embodiments are merely exemplary, and that the devices disclosed herein may be implemented in other ways. For example, the division of the units/modules in the above embodiments is only one logical function division, and there may be another division manner in actual implementation. For example, multiple units, modules, or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented.
In addition, unless otherwise specified, each functional unit/module in each embodiment of the present invention may be integrated into one unit/module, each unit/module may exist alone physically, or two or more units/modules may be integrated together. The integrated units/modules may be implemented in the form of hardware or software program modules.
If the integrated unit/module is implemented in hardware, the hardware may be digital circuits, analog circuits, etc. Physical implementations of hardware structures include, but are not limited to, transistors, memristors, and the like. The processor or chip may be any suitable hardware processor, such as a CPU, GPU, FPGA, DSP, ASIC, etc., unless otherwise specified. The on-chip cache, the off-chip Memory, and the Memory may be any suitable magnetic storage medium 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 Cubic (HMC), or the like, unless otherwise specified.
The integrated units/modules, if implemented in the form of software program modules and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
Embodiments of the present application also provide a non-transitory computer storage medium storing a computer program that, when executed by a plurality of processors, causes the processors to perform the methods and refinement schemes shown in fig. 3, 5 and 7.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that the acts and modules referred to are not necessarily required in this application.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the description of the embodiments is only intended to facilitate the understanding of the methods and their core concepts of the present application. Meanwhile, a person skilled in the art should, according to the idea of the present application, change or modify the embodiments and applications of the present application based on the scope of the present application. In view of the above, the description should not be taken as limiting the application.

Claims (10)

1. A network distribution method of Matter equipment is applied to the distributed equipment and is characterized by comprising the following steps:
acquiring a unique identifier corresponding to Matter equipment through a WiFi broadcast packet sent by the Matter equipment;
requesting a distribution network parameter and a distribution network secret key from a cloud server through the unique identifier;
acquiring a distribution network parameter and a distribution network secret key matched with the unique identifier; and
and carrying out network configuration on the Matter equipment according to the distribution network parameters and the distribution network key to obtain a network configuration result of the Matter equipment.
2. The method of claim 1, further comprising:
and sending the network configuration result to a client side, so that the client side updates the network configuration information of the Matter equipment.
3. A network distribution method of Matter equipment is applied to the distributed equipment and is characterized by comprising the following steps:
acquiring a unique identifier corresponding to Matter equipment through a WiFi broadcast packet sent by the Matter equipment;
requesting a distribution network parameter and a distribution network secret key from a cloud server through the unique identifier;
acquiring a distribution network parameter and a distribution network secret key matched with the unique identifier; and
and sending the distribution network parameters and the distribution network key to a client, so that the client performs network configuration on the Matter equipment according to the distribution network parameters and the distribution network key, and obtaining a network configuration result of the Matter equipment.
4. The method of claim 3, wherein the distributed network device supports a WiFi protocol.
5. A network distribution method of Matter equipment is applied to the distributed equipment and is characterized by comprising the following steps:
acquiring a unique identifier corresponding to Matter equipment through a WiFi broadcast packet sent by the Matter equipment;
and sending the unique identifier to a client, so that the client acquires a distribution network parameter and a distribution network key from a cloud server according to the unique identifier, and performs network configuration on the Matter equipment according to the distribution network parameter and the distribution network key to obtain a network configuration result of the Matter equipment.
6. The utility model provides a net system is joined in marriage to Matter equipment which characterized in that, includes Matter equipment, has joined in marriage net equipment, client equipment and cloud end server, wherein:
the Matter equipment is used for sending a WiFi broadcast packet, and the WiFi broadcast packet contains a unique identifier corresponding to the Matter equipment;
the distributed network device performing the method of claim 1 or 2;
the client receives the network configuration result and updates the network configuration information of the Matter equipment; and
the cloud server is used for responding to the unique identifier received from the distributed network equipment and sending the distribution network parameters and the distribution network secret key matched with the unique identifier to the distributed network equipment.
7. The utility model provides a net system is joined in marriage to Matter equipment which characterized in that, includes Matter equipment, has joined in marriage net equipment, client equipment and cloud end server, wherein:
the Matter equipment is used for sending a WiFi broadcast packet, and the WiFi broadcast packet contains a unique identifier corresponding to the Matter equipment;
the distributed network device performing the method of claim 3 or 4;
the client performs network configuration on the Matter equipment according to the distribution network parameters and the distribution network key to obtain a network configuration result of the Matter equipment; and
the cloud server is used for responding to the unique identifier received from the distributed network equipment and sending the distribution network parameters and the distribution network secret key matched with the unique identifier to the distributed network equipment.
8. The utility model provides a net system is joined in marriage to Matter equipment which characterized in that, includes Matter equipment, has joined in marriage net equipment, client equipment and cloud end server, wherein:
the Matter equipment is used for sending a WiFi broadcast packet, and the WiFi broadcast packet contains a unique identifier corresponding to the Matter equipment;
the distributed network device performing the method of claim 5;
the client acquires a distribution network parameter and a distribution network key from a cloud server according to the unique identifier, and performs network configuration on the Matter equipment according to the distribution network parameter and the distribution network key to acquire a network configuration result of the Matter equipment; and
and the cloud server is used for responding to the unique identifier received from the client and sending the distribution network parameters and the distribution network key matched with the unique identifier to the client.
9. An electronic device, comprising:
a processor; and
a memory storing computer instructions that, when executed by the processor, cause the processor to perform the method of any of claims 1-5.
10. A non-transitory computer storage medium storing a computer program, which when executed by a plurality of processors causes the processors to perform the method of any one of claims 1-5.
CN202211363272.9A 2022-11-02 2022-11-02 Network distribution method and system of Matter equipment Pending CN115942331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211363272.9A CN115942331A (en) 2022-11-02 2022-11-02 Network distribution method and system of Matter equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211363272.9A CN115942331A (en) 2022-11-02 2022-11-02 Network distribution method and system of Matter equipment

Publications (1)

Publication Number Publication Date
CN115942331A true CN115942331A (en) 2023-04-07

Family

ID=86699753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211363272.9A Pending CN115942331A (en) 2022-11-02 2022-11-02 Network distribution method and system of Matter equipment

Country Status (1)

Country Link
CN (1) CN115942331A (en)

Similar Documents

Publication Publication Date Title
CN109315004B (en) PDU type setting method and related entity
US10110706B2 (en) Remote access method and device
CN110636483A (en) Network distribution method and system
CN106656547B (en) Method and device for updating network configuration of household electrical appliance
CN109996260B (en) Configuration system, client device, embedded device configuration method and storage medium
WO2018024121A1 (en) Network function (nf) management method and nf management device
EP3447996A1 (en) Resource subscription method, resource subscription device, and resource subscription system
US10419543B2 (en) Method and system for establishing a connection between a seeker device and a target device
CN112566113B (en) Key generation and terminal network distribution method, device and equipment
WO2015065210A1 (en) Secure mobile access to resources within a private network
CN109547824B (en) Video service method and system, storage medium and VPN server
US20160261994A1 (en) Method and Device for Realizing Terminal WIFI Talkback
CN109561054B (en) Data transmission method, controller and access device
WO2017101186A1 (en) Method for establishing wireless connection for application of user equipment
JP5551805B2 (en) Method and apparatus for accessing the Internet
WO2019047117A1 (en) Network access method, terminal device and network device
TW201517668A (en) Network sharing device, system and method
WO2022183350A1 (en) Network configuration method for internet of things device, terminal device, and internet of things device
CN110535746B (en) Virtual private network VPN sharing method and device, electronic equipment and storage medium
CN105072669B (en) The connection control method and device of website
CN115942331A (en) Network distribution method and system of Matter equipment
EP3292457A1 (en) Wireless control of devices
CN105163399B (en) Data sharing method and device
CN111901648B (en) Data sharing method and related device
CN115396247B (en) Distribution network method, device and system of Matter equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination