Wireless network configuration method, wireless network configuration system, and electronic device

By selecting a primary second device and establishing a communication connection with it, the first device sends a network distribution command to the primary second device. The primary second device then establishes a communication connection with the secondary second device and sends network distribution data. This solves the problem of time-consuming and labor-intensive network distribution in existing IoT products, enabling multiple devices to distribute networks simultaneously, thus improving network distribution efficiency and user experience.

WO2026233108A1PCT designated stage Publication Date: 2026-11-12ANKER INNOVATIONS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/092072
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-06
Filing Date
2026-04-21
Publication Date
2026-11-12

AI Technical Summary

Technical Problem

Existing IoT products require users to manually scan a code to add them during the network configuration process, which is time-consuming and laborious, affecting the user experience.

Method used

The first device selects a master second device and establishes a communication connection with it, sends a network distribution command to the master second device, and then the master second device establishes a communication connection with the slave second device and sends network distribution data, thus enabling multiple devices to distribute data simultaneously.

Benefits of technology

It improves network distribution efficiency and user experience, enabling multiple devices to be distributed simultaneously.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026092072_12112026_PF_FP_ABST
    Figure CN2026092072_12112026_PF_FP_ABST
Patent Text Reader

Abstract

A wireless network configuration method, a wireless network configuration system, and an electronic device. The method comprises: a first device receiving first network configuration information sent by at least two second devices; the first device selecting any second device from among the at least two second devices to serve as a master second device, and establishing a first communication connection with the master second device, wherein the remaining second devices among the at least two second devices serve as at least one slave second device; the first device sending a network configuration instruction to the master second device, such that the master second device performs network configuration on the basis of the network configuration instruction; and the first device sending to the master second device a first network configuration information list corresponding to the at least one slave second device, such that the master second device establishes a second communication connection with the at least one slave second device, wherein the master second device sends network configuration data to the at least one slave second device by means of the second communication connection, such that the at least one slave second device performs network configuration on the basis of the network configuration data.
Need to check novelty before this filing date? Find Prior Art

Description

Wireless network configuration methods, wireless network configuration systems and electronic devices Technical Field

[0001] The embodiments disclosed in this application relate to the field of wireless communication technology, and more specifically, to a wireless distribution network method, a wireless distribution network system, and an electronic device. Background Technology

[0002] Currently, most IoT (Internet of Things) products on the market require a network configuration process. Users must connect to the network before using the device, such as connecting it to a nearby hotspot. Because products vary in their application scenarios and need to be placed in different locations—for example, solar power conversion devices might be placed on a balcony, doorbells at the entrance, and household electricity measurement devices in a basement distribution box—manually requiring users to scan codes and add these devices individually via an app for network configuration is time-consuming and laborious, significantly impacting the user experience. Summary of the Invention

[0003] According to embodiments of this application, this application proposes a wireless network distribution method, a wireless network distribution system, and an electronic device to solve the above-mentioned problems.

[0004] The first aspect of this application discloses a wireless network configuration method applied to a first device. The method includes: the first device receiving first network configuration information sent by at least two second devices; the first device selecting any second device from the at least two second devices as a master second device and establishing a first communication connection with the master second device, wherein the remaining second devices among the at least two second devices are at least one slave second device; the first device sending a network configuration instruction to the master second device, causing the master second device to perform network configuration based on the network configuration instruction; in response to the master second device successfully performing network configuration, the first device sending a list of first network configuration information corresponding to the at least one slave second device to the master second device, so that the master second device establishes a second communication connection with the at least one slave second device; wherein the master second device sends network configuration data to the at least one slave second device through the second communication connection, so that the at least one slave second device performs network configuration based on the network configuration data.

[0005] In some embodiments, the first device receives the network configuration result from the primary second device, wherein the network configuration result of the primary second device is used to indicate that the primary second device has successfully configured the network.

[0006] In some embodiments, the first device receives the network distribution results of the at least one slave device from the master second device, wherein the network distribution results of the at least one slave device are sent to the master second device after the network distribution is completed.

[0007] In some embodiments, the first device selects one of the at least two slave devices as a slave device and displays the distribution results of the slave device.

[0008] A second aspect of this application discloses a wireless network configuration method applied to a master second device, wherein the master second device is any second device selected by a first device from at least two second devices, and the remaining second devices among the at least two second devices serve as at least one slave second device. The method includes: the master second device establishing a first communication connection with the first device; the master second device receiving a network configuration instruction from the first device through the first communication connection and performing network configuration based on the network configuration instruction; in response to the master second device successfully configuring the network, the master second device receiving a first network configuration information list corresponding to the at least one slave second device from the first device, so as to establish a second communication connection between the master second device and the at least one slave second device; and the master second device sending network configuration data to the at least one slave second device through the second communication connection, so as to enable the at least one slave second device to perform network configuration based on the network configuration data.

[0009] In some embodiments, in response to receiving a connection initiation command sent by the first device, the primary second device establishes the first communication connection with the first device, wherein the connection initiation command is sent by the first device to the primary second device after receiving first network distribution information from the at least two second devices.

[0010] In some embodiments, the establishment of a second communication connection between the master second device and the at least one slave second device includes: the master second device receiving second distribution network information sent by the at least one slave second device; based on the first distribution network information list and the second distribution network information, the master second device performing a full channel search operation to enable the at least one slave second device to synchronize the channel with the master second device; in response to the at least one slave second device synchronizing the channel with the master second device, the master second device sending the distribution network data to the at least one slave second device through a preset management frame.

[0011] In some embodiments, the primary second device performs a full-channel search operation, including: the primary second device sends target distribution network information across all channels to find one of the at least one secondary second devices, such that the secondary second device uses the channel where the primary second device is located, wherein when the number of the at least one secondary second device is greater than 1, the remaining secondary second devices among the at least one secondary second devices perform a channel switch to the channel where the primary second device is located in response to receiving the target distribution network information.

[0012] In some embodiments, the distribution network data includes first distribution network data and second distribution network data; the master second device sends the distribution network data to the at least one slave second device through a preset management frame, including: the master second device first sends the preset management frame to the at least one slave second device, wherein the first sent preset management frame includes the first distribution network data of the at least one slave second device; in response to receiving a response data packet corresponding to the first distribution network data from the at least one slave second device, the master second device sends the preset management frame to the at least one slave second device for the second time, wherein the second sent preset management frame includes the second distribution network data of the at least one slave second device; wherein the first distribution network data and the second distribution network data are used by the at least one slave second device to perform distribution network.

[0013] In some embodiments, the primary second device sends distribution network data to the at least one secondary second device via a preset management frame, further comprising: in response to receiving a response data packet corresponding to the first distribution network data from some of the at least one secondary second devices, and when the number of the at least one secondary second devices is greater than 1, the primary second device sends the preset management frame to the at least one secondary second device for a third time, the preset management frame sent for the third time including the second distribution network data of the some secondary second devices and the first distribution network data of the remaining secondary second devices; in response to receiving a response data packet corresponding to the second distribution network data from the some secondary second devices and receiving a response data packet corresponding to the first distribution network data from the remaining secondary second devices, the primary second device sends the preset management frame to the at least one secondary second device for a fourth time, the preset management frame sent for the fourth time including the second distribution network data of the remaining secondary second devices; and receiving a response data packet corresponding to the second distribution network data from the remaining secondary second devices to determine that the at least one secondary second device has successfully received the first distribution network data and the second distribution network data.

[0014] In some embodiments, in response to not receiving a response data packet corresponding to the first distribution network data from the at least one slave second device, the master second device retransmits the preset management frame, the retransmitted preset management frame including the first distribution network data of the at least one slave second device; and / or in response to not receiving a response data packet corresponding to the second distribution network data from the at least one slave second device, the master second device retransmits the preset management frame, the retransmitted preset management frame including the second distribution network data of the at least one slave second device.

[0015] A third aspect of this application discloses a wireless network distribution method applied to a second device, wherein the second device is any one of at least two second devices other than a primary second device, and the primary second device is any second device selected by a first device from the at least two second devices. The method includes: the second device establishing a second communication connection with the primary second device; and the second device receiving network distribution data from the primary second device through the second communication connection, thereby performing network distribution based on the network distribution data.

[0016] This application discloses a wireless network distribution method for use in a wireless network distribution system, the wireless network distribution system including a first device and at least two second devices. The method includes: the first device receiving first network distribution information sent by at least two second devices; the first device selecting any second device from the at least two second devices as a master second device and establishing a first communication connection with the master second device, wherein the remaining second devices among the at least two second devices are at least one slave second device; the first device sending a network distribution instruction to the master second device; the master second device receiving and performing network distribution based on the network distribution instruction; in response to the master second device successfully performing network distribution, the first device sending a list of first network distribution information corresponding to the at least one slave second device to the master second device; the master second device establishing a second communication connection with the at least one slave second device based on the first network distribution information list; the master second device sending network distribution data to the at least one slave second device through the second communication connection; and the at least one slave second device performing network distribution based on the network distribution data.

[0017] In some embodiments, in response to receiving a connection initiation command sent by the first device, the primary second device establishes the first communication connection with the first device, wherein the connection initiation command is sent by the first device to the primary second device after receiving first network distribution information from the at least two second devices.

[0018] In some embodiments, the first device receives the network distribution results of the at least one slave device from the master second device, wherein the network distribution results of the at least one slave device are sent to the master second device after the network distribution is completed.

[0019] The fifth aspect of this application discloses a wireless network distribution system, comprising at least: a first device for executing the wireless network distribution method described in the first aspect; at least two second devices, the at least two second devices including a master second device and at least one slave second device, the master second device being any second device selected by the first device from the at least two second devices, and the at least one slave second device being the remaining second device among the at least two second devices; wherein the master second device is used to execute the wireless network distribution method described in the second aspect; and the at least one slave second device is used to execute the wireless network distribution method described in the third aspect.

[0020] The sixth aspect of this application discloses an electronic device including a memory and a processor coupled to each other, the processor being configured to execute program instructions stored in the memory to implement the wireless network distribution method described in the first, second and / or third aspects.

[0021] The beneficial effects of this application are as follows: A first device selects any one of at least two second devices as a master second device and establishes a first communication connection with the master second device, wherein the remaining second devices among the at least two second devices are at least one slave second device. The first device sends a network distribution command to the master second device so that the master second device performs network distribution based on the network distribution command. In response to the master second device successfully performing network distribution, the first device sends a first network distribution information list corresponding to at least one slave second device to the master second device so that the master second device establishes a second communication connection with at least one slave second device. The master second device sends network distribution data to at least one slave second device through the second communication connection so that at least one slave second device performs network distribution based on the network distribution data, thereby realizing simultaneous network distribution of multiple devices, thereby improving network distribution efficiency and user experience. Attached Figure Description

[0022] The present application will be further described below with reference to the accompanying drawings and embodiments. In the drawings:

[0023] Figure 1 is a flowchart illustrating a wireless network configuration method according to an embodiment of this application;

[0024] Figure 2 is a flowchart illustrating a wireless network configuration method according to another embodiment of this application;

[0025] Figure 3 is a schematic diagram of the data frame corresponding to the preset management frame in an embodiment of this application;

[0026] Figure 4 is a partial timing interaction diagram of a wireless network configuration method according to an embodiment of this application;

[0027] Figure 5 is a flowchart illustrating a wireless network configuration method according to another embodiment of this application;

[0028] Figure 6 is an interactive schematic diagram of a wireless network configuration method according to an embodiment of this application;

[0029] Figure 7 is a flowchart illustrating the wireless network configuration method according to an embodiment of this application;

[0030] Figure 8 is a schematic diagram of the structure of the wireless distribution network system according to an embodiment of this application;

[0031] Figure 9 is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0032] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0033] In this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Additionally, the character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, "many" in this application means two or more. Moreover, the term "at least one" in this application means any combination of at least two of any one or more of a plurality of objects. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C. Furthermore, the terms "first," "second," and "third" in this application are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features.

[0034] To enable those skilled in the art to better understand the technical solution of this application, the technical solution of this application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0035] Please refer to Figure 1. Figure 1 is a flowchart illustrating a wireless network configuration method according to an embodiment of this application. The method is applied to a first device. The executing entity of this method (i.e., the first device) can be an electronic device with computing capabilities, such as a laptop, tablet, mobile phone, or other mobile devices.

[0036] It should be noted that if substantially the same result is obtained, the method of this application is not limited to the process sequence shown in Figure 1.

[0037] In some possible implementations, this method can be implemented by the processor calling computer-readable instructions stored in memory, as shown in Figure 1. The method may include the following steps:

[0038] S11: The first device receives the first distribution network information sent by at least two second devices.

[0039] The second device can be an electronic device that is not yet connected to the network, such as audio-visual equipment, lighting systems, curtain controls, air conditioning controls, security systems, digital cinema systems, audio-visual servers, media storage systems, and networked home appliances.

[0040] The first device receives first network configuration information sent by at least two second devices. For example, after the relevant button of at least two second devices is pressed, they enter a pairable state. Then, at least two second devices can broadcast their own network configuration information via Bluetooth, namely the first network configuration information. For example, the first network configuration information includes, but is not limited to, Bluetooth Media Access Control address (bt_mac), Stock Keeping Unit (SKU), Universally Unique Identifier (UUID), quick network configuration capability, Serial Number (SN), Pseudo-Noise Code (PN), device type, and other device information.

[0041] S12: The first device selects any one of the at least two second devices as the master second device and establishes a first communication connection with the master second device, wherein the remaining second device among the at least two second devices serves as at least one slave second device.

[0042] The first device receives network configuration information from at least two second devices, such as obtaining a scanned list of Bluetooth devices (e.g., a list of bt_mac devices). Further, the first device selects any one of the at least two second devices as the master second device and establishes a first communication connection with it. For example, a user can arbitrarily select one of the at least two second devices on the first device for a Bluetooth connection, and this second device becomes the master second device. The first device initiates the Bluetooth connection, and performs encrypted procedures such as Bluetooth connection, key negotiation, and authentication with the master second device. The remaining second devices among the at least two serve as at least one slave second device; that is, after the user arbitrarily selects one of the at least two second devices on the first device for a Bluetooth connection, the unselected second devices become slave second devices, waiting for network configuration.

[0043] S13: The first device sends a network distribution command to the second device so that the second device can perform network distribution based on the network distribution command.

[0044] The first device sends a network configuration command to the second device, enabling the second device to configure the network based on the command. For example, the first device sends the network configuration command to the second device via a Bluetooth channel. The network configuration command includes Wi-Fi information, a specified SSID (Service Set Identifier), and a password, thereby enabling the second device to connect to the user-specified router.

[0045] S14: In response to the successful network configuration of the primary second device, the first device sends a first network configuration information list corresponding to at least one secondary second device to the primary second device, so that the primary second device can establish a second communication connection with at least one secondary second device.

[0046] In response to the successful network configuration of the primary and secondary devices, such as when the primary and secondary devices successfully connect to the network, the primary and secondary devices send a network configuration success message to the primary device via the Bluetooth channel. Further, the primary device sends at least one list of primary network configuration information corresponding to a secondary device to the primary and secondary devices. For example, the primary device authorizes the issuance of network configuration information, sending a list of information about devices to be configured (e.g., a list of BT_MAC addresses) to the primary and secondary devices. Thus, the primary and secondary devices can establish a second communication connection with at least one secondary device based on the first network configuration information list. This second communication connection can be based on the 802.11 management frame connection method, utilizing the management frame channel for connection and data transmission.

[0047] The primary second device can send distribution network data to at least one secondary second device through a second communication connection, so that at least one secondary second device can perform simultaneous distribution network based on the distribution network data. The distribution network data includes WIFI connection information, regional distribution network information, etc.

[0048] In this embodiment, the first device selects any one of the at least two second devices as the master second device and establishes a first communication connection with the master second device. The remaining second devices among the at least two second devices serve as at least one slave second device. The first device sends a network distribution command to the master second device, enabling the master second device to perform network distribution based on the network distribution command. In response to the master second device successfully performing network distribution, the first device sends a first network distribution information list corresponding to at least one slave second device to the master second device, enabling the master second device to establish a second communication connection with at least one slave second device. The master second device sends network distribution data to at least one slave second device through the second communication connection, enabling at least one slave second device to perform network distribution based on the network distribution data. This achieves simultaneous network distribution by multiple devices, thereby improving network distribution efficiency and user experience.

[0049] In some embodiments, the first device receives the network configuration result from the second device, wherein the network configuration result of the second device is used to indicate that the second device has successfully configured the network.

[0050] In some examples, the first device sends a network configuration command to the primary second device via Bluetooth, scans Wi-Fi information, and the user selects and connects to the specified SSID (Service Set Identifier) ​​and enters a password. This allows the primary second device to connect to the user-specified router. Furthermore, the primary second device sends a successful network configuration result to the first device via Bluetooth. Upon receiving the network configuration result from the primary second device, the first device sends at least one list of first network configuration information corresponding to the second device to the primary second device. The network configuration result from the primary second device can be used to indicate that the primary second device has successfully configured its network.

[0051] In some embodiments, the first device receives at least one distribution result from a slave device from the master second device, wherein the distribution result from the slave device is sent to the master second device by the slave device after the distribution is completed.

[0052] The first device receives network configuration results from at least one slave device from the master second device. In some examples, the network configuration results from at least one slave device are sent to the master second device after the network configuration process is completed. For example, the master second device sends network configuration data to at least one slave device through a second communication connection so that at least one slave device performs network configuration based on the network configuration data. After the network configuration process is completed, at least one slave device sends the network configuration results to the master second device through a management frame channel, and then the master second device broadcasts them to the first device through a Bluetooth channel. The network configuration results from at least one slave device include network configuration success, network configuration failure, the number of devices with successful network configuration, and the number of devices with failed network configuration.

[0053] In some embodiments, the first device selects one of at least two slave devices and displays the distribution results of the slave device.

[0054] In some examples, the first device receives the network configuration results of at least one slave device from the master second device. The first device can select one of the slave devices from the at least one slave device and display the network configuration result of that slave device. For example, after a network configuration process is completed, the user can trigger an instruction to select a slave device, thereby displaying the network configuration result of that slave device on the first device, and determining whether the network configuration is completed or needs to be reconfigured.

[0055] Please refer to Figure 2, which is a flowchart illustrating a wireless network configuration method according to another embodiment of this application. The method is applied to a primary second device. The executing entity of this method (i.e., the primary second device) can be an electronic device with computing capabilities, such as audio-visual equipment, lighting systems, curtain controls, air conditioning controls, security systems, digital cinema systems, audio-visual servers, media cabinet systems, networked home appliances, and other electronic devices.

[0056] The second device can be an electronic device that is not yet connected to the network, such as audio-visual equipment, lighting systems, curtain controls, air conditioning controls, security systems, digital cinema systems, audio-visual servers, media storage systems, networked home appliances, etc. The primary second device is any second device selected by the first device from at least two second devices, wherein the first device can be a mobile device such as a tablet or mobile phone, and the remaining second devices among the at least two second devices serve as at least one secondary second device.

[0057] It should be noted that if substantially the same result is obtained, the method of this application is not limited to the process sequence shown in Figure 2.

[0058] In some possible implementations, this method can be implemented by the processor calling computer-readable instructions stored in memory, as shown in Figure 2. The method may include the following steps:

[0059] S21: The primary second device establishes a first communication connection with the primary device.

[0060] The primary second device establishes a first communication connection with the primary device. For example, a user can arbitrarily select one of at least two secondary devices from the primary device for Bluetooth connection, and this secondary device serves as the primary second device. The primary device initiates the Bluetooth connection, and further, the primary device and the primary second device perform encrypted processes such as Bluetooth connection, key negotiation, and authentication, thereby establishing the first communication connection between the primary second device and the primary device.

[0061] S22: The main second device receives the network distribution instruction from the first device through the first communication connection and performs network distribution based on the network distribution instruction.

[0062] The primary second device receives a network configuration command from the primary device through a first communication connection. For example, the primary device sends a network configuration command to the primary second device through a Bluetooth channel. The network configuration command includes Wi-Fi information, a specified SSID (Service Set Identifier), and a password, thereby enabling the primary second device to connect to the user-specified router.

[0063] S23: In response to the successful network configuration of the primary second device, the primary second device receives a first network configuration information list corresponding to at least one secondary second device from the primary device, so as to enable the primary device to establish a second communication connection with at least one secondary second device.

[0064] In response to successful network configuration of the primary and secondary devices, such as when the primary and secondary devices successfully connect to the network, the primary and secondary devices send a network configuration success message to the primary device via the Bluetooth channel. Further, the primary and secondary devices receive a first network configuration information list corresponding to at least one secondary device from the primary device. For example, after confirming successful network configuration of the primary and secondary devices, the primary device authorizes the issuance of network configuration information, sending a list of information about devices to be configured (e.g., a list of BT_MAC addresses) to the primary and secondary devices. Thus, the primary and secondary devices can establish a second communication connection with at least one secondary device based on the first network configuration information list. This second communication connection can be based on the 802.11 management frame connection method, utilizing the management frame channel for connection and data transmission.

[0065] S24: The master second device sends distribution network data to at least one slave second device through the second communication connection, so that at least one slave second device performs distribution network based on the distribution network data.

[0066] The primary second device sends distribution network data to at least one secondary second device through a second communication connection, so that at least one secondary second device can perform simultaneous distribution network based on the distribution network data, wherein the distribution network data includes WIFI connection information, regional distribution network information, etc.

[0067] In this embodiment, the primary second device establishes a first communication connection with the primary device. The primary second device receives a network distribution instruction from the primary device through the first communication connection and performs network distribution based on the instruction. In response to the primary second device's successful network distribution, the primary second device receives a first network distribution information list corresponding to at least one secondary second device from the primary device, thereby enabling the primary second device to establish a second communication connection with at least one secondary second device. The primary second device sends network distribution data to at least one secondary second device through the second communication connection, allowing at least one secondary second device to perform network distribution simultaneously based on the data. This achieves simultaneous network distribution by multiple devices, thereby improving network distribution efficiency and user experience.

[0068] In some embodiments, in response to receiving a connection initiation command sent by a first device, a master second device establishes a first communication connection with the first device, wherein the connection initiation command is sent by the first device to the master second device after receiving first network distribution information from at least two second devices.

[0069] In some examples, the first device receives first network configuration information from at least two second devices. For instance, after a relevant button is pressed, at least two second devices enter a pairable state and can broadcast their own network configuration information, i.e., the first network configuration information, via Bluetooth. Further, the first device selects any one of the at least two second devices as the master second device and establishes a first communication connection with it. For example, a user can arbitrarily select one of the at least two second devices on the first device for a Bluetooth connection, and that second device becomes the master second device. The master second device establishes the first communication connection in response to receiving a connection initiation command from the first device. For example, the first device initiates the Bluetooth connection, and the first device and the master second device perform encryption procedures such as Bluetooth connection, key negotiation, and authentication to establish the first communication connection.

[0070] In some embodiments, establishing a second communication connection between a master second device and at least one slave second device includes: the master second device receiving second distribution network information sent by at least one slave second device; performing a full-channel search operation based on a first distribution network information list and the second distribution network information, so that at least one slave second device synchronizes the channel with the master second device; and in response to at least one slave second device synchronizing the channel with the master second device, the master second device sending distribution network data to at least one slave second device through a preset management frame.

[0071] The primary second device receives at least one secondary network configuration information sent by a secondary second device. For example, after the primary second device successfully configures the network, the primary device authorizes the issuance of network configuration information, sending a list of information of devices to be configured (e.g., a list of bt_mac) to the primary second device. Thus, the primary second device can receive at least one secondary network configuration information sent by a secondary second device. The secondary network configuration information can be sent by at least one secondary second device through continuous management frame broadcast. The secondary network configuration information includes, but is not limited to, device information such as the Bluetooth address (Bluetooth Media Access Control address, bt_mac), WIFI address (WIFI Media Access Control Address, WiFi_mac), serial number (SN), pseudo-random code (PN), and device type of at least one secondary second device.

[0072] In some examples, the primary and secondary devices cache the first and second network configuration information lists. For instance, after successful network configuration by the primary and secondary devices, the primary device authorizes the distribution of network configuration information, sending a list of devices to be configured (e.g., a list of 'bt_mac' devices) to the primary and secondary devices, and receiving the second network configuration information from at least one secondary device. The primary and secondary devices can generate a mapping table between the 'bt_mac' and 'WiFi_mac' of at least one secondary device based on the first and second network configuration information lists. The primary and secondary devices perform a full-channel search operation to synchronize the channel between at least one secondary device and the primary and secondary devices.

[0073] Furthermore, in response to at least one slave device synchronizing with the master device via a channel, for example, at least one slave device and the master device are currently on the same channel, so that the master device can send distribution network data to at least one slave device via a preset management frame.

[0074] As shown in Figure 3, which is a schematic diagram of the data framework corresponding to the preset management frame in this embodiment, a single preset management frame carries N custom elements, each of which may include a network configuration data from a second device. For example, in a single preset management frame, the N custom elements may include data 1 from device 1, data 1 from device 2, ..., data 1 from device n. It can be understood that a single preset management frame contains data from multiple devices (Ventor IEs). By quickly carrying and sending all the necessary data simultaneously, i.e., sending N custom data, the interaction time remains essentially unchanged in scenarios with more devices, thus optimizing the network configuration process and improving network configuration efficiency.

[0075] In some embodiments, the master second device performs a full-channel search operation, including: the master second device sends target distribution network information across all channels to find one of the at least one slave second devices, such that the slave second device uses the channel where the master second device is located, wherein when the number of at least one slave second device is greater than 1, the remaining slave second devices among the at least one slave second devices perform a channel switch to the channel where the master second device is located in response to receiving the target distribution network information.

[0076] For example, there are three secondary devices: secondary device A, secondary device B, and secondary device C. The primary secondary device is currently on channel 6, secondary device A is on channel 3, secondary device B is on channel 9, and secondary device C is on channel 1. The primary secondary device performs a full-channel search operation. In some examples, the primary secondary device searches for secondary device A across all channels, causing secondary device A to switch from channel 3 to channel 6 for data transmission, thus establishing a second communication connection between the primary and secondary devices. Simultaneously, in response to receiving the target network distribution information from the primary secondary device searching for secondary device A, secondary devices B and C both switch to channel 6 of the primary secondary device and send a switching information to the primary secondary device on channel 6. This indicates that the MAC addresses of secondary devices B and C have switched to the primary secondary device's channel. Upon receiving this switching information, the primary secondary device, when establishing a connection with secondary devices B or C, no longer needs to perform a full-channel transmission; it only needs to transmit on its own channel, saving channel scanning time and enabling simultaneous communication between multiple devices.

[0077] In some embodiments, the distribution network data includes first distribution network data and second distribution network data; the master second device sends the distribution network data to at least one slave second device through a preset management frame, including: the master second device first sends a preset management frame to at least one slave second device, wherein the first sent preset management frame includes the first distribution network data of at least one slave second device; in response to receiving a response data packet corresponding to the first distribution network data from at least one slave second device, the master second device sends a preset management frame to at least one slave second device for the second time, wherein the second sent preset management frame includes the second distribution network data of at least one slave second device; wherein the first distribution network data and the second distribution network data are used by at least one slave second device to perform distribution network.

[0078] The distribution network data includes first distribution network data and second distribution network data, for example, the first distribution network data is data 1 and the second distribution network data is data 2. The master second device sends the distribution network data to at least one slave second device through a preset management frame. In some examples, the master second device sends the distribution network data to slave second device A and slave second device B through the preset management frame. Specifically, the master second device first sends the preset management frame to at least one slave second device; for example, the master second device sends preset management frame 1 to slave second device A and slave second device B. Preset management frame 1 includes data 1 from slave second device A and data 1 from slave second device B. Further, in response to the master second device receiving a response data packet corresponding to data 1 from slave second device A and slave second device B, the master second device sends preset management frame 2 to slave second device A and slave second device B. Preset management frame 2 includes data 2 from slave second device A and data 2 from slave second device B. The first distribution network data and the second distribution network data are used for at least one second device to perform distribution network. For example, second device A and second device B can be matched based on data 1 and data 2. Data 1 can be WIFI connection information, that is, specifying the WIFI address to be connected, connection password, etc., and data 2 can be regional distribution network information, etc.

[0079] In some examples, the primary secondary device sends network distribution data to n secondary secondary devices via a preset management frame. The primary secondary device needs to send m data items to each secondary secondary device, with each data item retransmitted r times at intervals of t milliseconds. For instance, establishing a second communication connection between the primary secondary device and any secondary secondary device takes S milliseconds. The primary secondary device generates SSID, password, domain name, and local IP address information, and sends this information to all secondary secondary devices via m data items. If all m data items are successfully sent at once, the time required is m*t. Therefore, the primary secondary device only needs S+m*t to send m data items to the n secondary secondary devices via the preset management frame. For example, if S = 4000, m = 2, r = 3, and t = 100, then regardless of the value of n, the total duration is S+m*t = 4200 ms.

[0080] In some embodiments, the master second device sends distribution network data to at least one slave second device via a preset management frame, further comprising: in response to receiving a response data packet corresponding to the first distribution network data from some of the at least one slave second device, and when the number of at least one slave second device is greater than 1, the master second device sends a preset management frame to at least one slave second device for the third time, the preset management frame sent for the third time including the second distribution network data of some of the slave second devices and the first distribution network data of the remaining slave second devices among the at least one slave second device; in response to receiving a response data packet corresponding to the second distribution network data from some of the slave second devices and receiving a response data packet corresponding to the first distribution network data from the remaining slave second devices, the master second device sends a preset management frame to at least one slave second device for the fourth time, the preset management frame sent for the fourth time including the second distribution network data of the remaining slave second devices among the at least one slave second device; receiving a response data packet corresponding to the second distribution network data from the remaining slave second devices to determine that at least one slave second device has successfully received the first distribution network data and the second distribution network data.

[0081] When the master second device sends network distribution data to at least one slave second device through a preset management frame and the number of slave second devices is greater than 1, in some examples, the number of slave second devices is 3, including slave second device A, slave second device B and slave second device C. The master second device can send network distribution data to slave second device A, slave second device B and slave second device C through a preset management frame, as shown in Figure 4. Figure 4 is a partial timing interaction diagram of a wireless network distribution method according to an embodiment of this application. The transmission time interval of the preset management frame can be 100ms.

[0082] The primary second device sends distribution network data to at least one secondary second device via a preset management frame. This distribution network data includes first distribution network data and second distribution network data; for example, the first distribution network data is data 1, and the second distribution network data is data 2. For instance, the primary second device sends a preset management frame 1 to secondary second devices A, B, and C. Preset management frame 1 includes data 1 from secondary second device A, data 1 from secondary second device B, and data 1 from secondary second device C. In response to receiving response data packets corresponding to the first distribution network data from some of the secondary second devices, for example, the primary second device receives response data packets from secondary second devices A and B regarding data 1, but does not receive a response data packet from secondary second device C regarding data 1. This is because secondary second device C may have encountered interference or other problems, causing data parsing failure and preventing it from sending a data response packet to the primary second device.

[0083] At this time, the master second device sends a preset management frame to at least one slave second device for the third time. For example, the master second device sends a preset management frame 2 to slave second device A, slave second device B and slave second device C. The preset management frame sent for the third time includes some of the second distribution network data of the slave second devices and the remaining first distribution network data of at least one slave second device. That is, the preset management frame 2 includes data 2 of slave second device A, data 2 of slave second device B and data 1 of slave second device C.

[0084] Further, in response to receiving response data packets corresponding to the second distribution network data from a portion of the second devices and receiving response data packets corresponding to the first distribution network data from the remaining second devices, for example, the master second device receives response data packets regarding data 2 from second devices A and B, and receives a response data packet regarding data 1 from second device C. Then, the master second device sends a fourth preset management frame to at least one second device, for example, the master second device sends a preset management frame 3 to second devices A, B, and C. This fourth preset management frame includes the second distribution network data from the remaining second devices, i.e., preset management frame 3 only includes data 2 from second device C. Since preset management frame 3 only includes data 2 from second device C, second devices A and B are not processed. At this time, the master second device receives response data packets corresponding to the second distribution network data from the remaining second devices, i.e., the master second device receives the response data packet corresponding to data 2 from second device C. At least one device successfully receives the first distribution network data and the second distribution network data. For example, data 1 and data 2 are successfully received from second device A, second device B and second device C, and then distribution network can be performed from second device A, second device B and second device C based on data 1 and data 2.

[0085] In some embodiments, in response to not receiving a response data packet corresponding to the first distribution network data from at least one secondary device, the primary secondary device retransmits a preset management frame, the retransmitted preset management frame including the first distribution network data from at least one secondary device; and / or in response to not receiving a response data packet corresponding to the second distribution network data from at least one secondary device, the primary secondary device retransmits a preset management frame, the retransmitted preset management frame including the second distribution network data from at least one secondary device.

[0086] In some examples, at least one secondary device includes secondary device A, secondary device B, and secondary device C. The primary secondary device sends a preset management frame 1 to secondary devices A, B, and C. The preset management frame 1 includes data 1 from secondary devices A, B, and C. In response to not receiving a response data packet corresponding to the first distribution network data from at least one secondary device, the primary secondary device retransmits a preset management frame. This retransmitted preset management frame includes the first distribution network data from at least one secondary device; that is, the primary secondary device sends a preset management frame 2 to secondary devices A, B, and C. The preset management frame 2 includes data 1 from secondary devices A, B, and C.

[0087] Further, the master second device sends a preset management frame 3 to slave second devices A, B, and C. The preset management frame 3 includes data 2 from slave second devices A, B, and C. In response to not receiving a response data packet corresponding to the second distribution network data from at least one slave second device, the master second device sends another preset management frame. This second preset management frame includes the second distribution network data from at least one slave second device. That is, the master second device sends a preset management frame 4 to slave second devices A, B, and C. The preset management frame 4 includes data 2 from slave second devices A, B, and C.

[0088] Please refer to Figure 5, which is a flowchart illustrating another embodiment of the wireless network configuration method of this application. The method is applied to a second device. The execution subject of this method (i.e., the second device) can be an electronic device with computing capabilities, such as audio-visual equipment, lighting systems, curtain controls, air conditioning controls, security systems, digital cinema systems, audio-visual servers, media cabinet systems, networked home appliances, and other electronic devices.

[0089] The second device can be an electronic device that is not yet connected to the network, such as audio-visual equipment, lighting systems, curtain controls, air conditioning controls, security systems, digital cinema systems, audio-visual servers, media storage systems, networked home appliances, etc. The primary second device is any second device selected by the first device from at least two second devices, wherein the first device can be a mobile device such as a tablet or mobile phone, and at least one secondary second device is the remaining second device among at least two second devices.

[0090] It should be noted that if substantially the same result is obtained, the method of this application is not limited to the process sequence shown in Figure 5.

[0091] In some possible implementations, this method can be implemented by the processor calling computer-readable instructions stored in memory, as shown in Figure 5. The method may include the following steps:

[0092] S51: Establish a second communication connection between the second device and the main second device.

[0093] In response to the successful network configuration of the primary second device, the primary second device obtains at least one first network configuration information list and second network configuration information corresponding to the secondary second device. Furthermore, the secondary second device can establish a second communication connection with the primary second device. The second communication connection can be a connection method based on 802.11 management frames, using the management frame channel for connection and data transmission.

[0094] S52: Receive distribution network data from the main second device through the second communication connection, and then perform distribution network based on the distribution network data.

[0095] The second device receives distribution network data from the main second device via a second communication connection; that is, the second device receives distribution network data sent by the main second device. The second device performs distribution network operations based on the distribution network data, which includes Wi-Fi connection information, regional distribution network information, etc.

[0096] In this embodiment, a second communication connection is established between the second device and the main second device. The second device receives distribution network data from the main second device through the second communication connection, and then performs distribution network based on the distribution network data to realize simultaneous distribution network by multiple devices, thereby improving distribution network efficiency and user experience.

[0097] In some embodiments, establishing a second communication connection between the second device and the main second device includes: sending second distribution network information from the second device to the main second device, so that the main second device performs a full-channel search operation based on the first distribution network information list and the second distribution network information, thereby synchronizing the channel between the second device and the main second device; in response to synchronizing the channel between the second device and the main second device, receiving distribution network data sent by the main second device through a preset management frame from the second device.

[0098] The second device sends second network configuration information to the master second device. For example, the second network configuration information can be broadcast by the second device via a continuous management frame. This information includes, but is not limited to, the second device's Bluetooth Media Access Control address (bt_mac), Wi-Fi address (Wi-Fi Media Access Control Address, Wi-Fi_mac), serial number (SN), pseudo-random code (PN), device type, and other device information. Further, the master second device performs a full-channel search operation based on the first network configuration information list and the second network configuration information, thereby synchronizing the channel between the second device and the master second device. For example, the master second device can generate at least one bt_mac and Wi-Fi_mac mapping table for the second device based on the first and second network configuration information lists. The master second device performs a full-channel search operation based on the bt_mac and Wi-Fi_mac mapping table, enabling the second device to synchronize the channel with the master second device. In response to the second device synchronizing the channel with the master second device, for example, if the second device and the master second device are currently on the same channel, the second device receives network configuration data sent by the master second device via a preset management frame.

[0099] In some embodiments, in response to receiving target distribution network information from the second device, a channel switch is performed to the channel where the primary second device is located, wherein the target distribution network information is transmitted by the primary second device across all channels.

[0100] The primary second device transmits target network distribution information across all channels to find at least one secondary second device to establish a connection with any secondary second device, allowing any secondary second device to use the channel where the primary second device is located. Furthermore, in response to a secondary second device receiving the target network distribution information, it performs a channel switch to the channel where the primary second device is located. It's important to note that the target network distribution information received by a secondary second device does not carry its own device information; the secondary second device will still perform a channel switch to unify with the channel where the primary second device is located.

[0101] In some embodiments, a preset management frame sent by a master second device is received from the second device, wherein the preset management frame includes network distribution data from the second device; and a response data packet corresponding to the preset management frame is sent from the second device.

[0102] In some examples, the distribution network data includes first distribution network data and second distribution network data. For example, a second device receives a preset management frame 1 sent by a master second device and sends a corresponding response data packet for the preset management frame 1, wherein the preset management frame 1 includes the first distribution network data from the second device. Or, a second device receives a preset management frame 2 sent by a master second device and sends a corresponding response data packet for the preset management frame 2, wherein the preset management frame 2 includes the second distribution network data from the second device.

[0103] In some embodiments, after the distribution network is completed, the second device sends the distribution network result to the main second device through a second communication connection.

[0104] For example, after the network configuration process is completed, the second device sends the network configuration result to the main second device through the management frame channel, and then the main second device broadcasts it to the first device through the Bluetooth channel. The network configuration result from the second device includes whether the network configuration was successful or failed.

[0105] In some examples, as shown in Figure 6, which is an interactive schematic diagram of a wireless network configuration method according to an embodiment of this application, the communication method described in this embodiment may include the following steps:

[0106] S601: At least two second devices broadcast first network configuration information. For example, after the relevant button is pressed, at least two second devices enter a pairable state, and at least two second devices can broadcast their own network configuration information via Bluetooth, i.e., first network configuration information. For example, first network configuration information includes, but is not limited to, Bluetooth Media Access Control address (bt_mac), Stock Keeping Unit (SKU), Universally Unique Identifier (UUID), quick network configuration capability, Serial Number (SN), Pseudo-Noise Code (PN), device type, and other device information.

[0107] S602: The first device obtains network configuration information. The first device receives network configuration information from at least two second devices, such as the first device obtaining a list of scanned Bluetooth devices (e.g., a list of bt_macs).

[0108] S603: The first device initiates a Bluetooth connection to the master second device. For example, a user can arbitrarily select one of at least two second devices on the first device to connect via Bluetooth. This second device acts as the master second device, and the Bluetooth connection is initiated by the first device.

[0109] S604: The first device establishes a first communication connection with the master / second device. The first device and the master / second device perform encryption processes such as Bluetooth connection, key negotiation, and authentication.

[0110] S605: The first device calls the Bluetooth tethering interface.

[0111] S606: The first device sends a connection command. The connection command may include the specified SSID information.

[0112] S607: The first device sends a binding command. The binding command may include server information, quick network configuration parameters, etc.

[0113] S608: The primary and secondary devices perform the first network configuration operation. That is, register / activate the primary and secondary WIFI devices and obtain specific network configuration information, such as {src_bt_mac(6),sn,pn,src_wifi_mac(6)}.

[0114] S609: The primary and secondary devices send a successful network configuration message via the Bluetooth channel.

[0115] S610: The first device sends the first network distribution information list. The first device authorizes the distribution of network information, such as the list of devices to be distributed {bt_mac}.

[0116] S611: Broadcast second network configuration information from the second device. The second device continuously broadcasts the second network configuration information via management frames. The second network configuration information includes, but is not limited to, at least one device information from the second device, such as Bluetooth Media Access Control address (bt_mac), WIFI address (WIFI Media Access Control Address, WIFI_mac), serial number (SN), pseudo-random code (PN), and device type.

[0117] S612: The primary and secondary devices cache the network configuration information mapping table. For example, the primary and secondary devices can generate at least one mapping table between bt_mac and wifi_mac from the secondary device based on the first network configuration information list and the second network configuration information.

[0118] S613: The master second device establishes a second communication connection with the slave second device. The master second device performs a full channel search operation to ensure that at least one slave second device synchronizes the channel with the master second device.

[0119] S614: The primary second device sends a connection command. The primary second device sends network distribution data to at least one secondary second device through a preset management frame. The network distribution data includes WIFI connection information, regional network distribution information, etc.

[0120] S615: Performs a second network configuration operation from a second device. For example, it calls the Bluetooth interface and activates Wi-Fi from the second device to unify the interfaces.

[0121] S616: The network distribution result is sent from the second device through the management frame channel. The network distribution result from the second device includes network distribution success and network distribution failure.

[0122] S617: The primary device sends the network configuration results via the Bluetooth channel. The network configuration results sent by the primary device include the network configuration results from the secondary device, the number of devices that successfully configured, and the number of devices that failed to configure.

[0123] S618: The first device displays the network configuration result. When the first device displays the network configuration result, the user can choose whether to complete the process or continue retrying. After the user completes the process, the first device can disconnect from the main second device via Bluetooth.

[0124] Please refer to Figure 7, which is a flowchart illustrating a wireless network configuration method according to an embodiment of this application. The method is applied to a wireless network configuration system, which includes the aforementioned first device and at least two of the aforementioned second devices. It should be noted that if substantially the same result is achieved, the method of this application is not limited to the sequence of processes shown in Figure 7.

[0125] In some possible implementations, this method can be implemented by the processor calling computer-readable instructions stored in memory, as shown in Figure 7. The method may include the following steps:

[0126] S71: The first device receives first distribution network information sent by at least two second devices.

[0127] The first device receives first network configuration information sent by at least two second devices. For example, after the relevant button is pressed, the at least two second devices enter a pairable state. The at least two second devices can broadcast their own network configuration information via Bluetooth, namely the first network configuration information. For example, the first network configuration information includes, but is not limited to, Bluetooth Media Access Control address (bt_mac), Stock Keeping Unit (SKU), Universally Unique Identifier (UUID), quick network configuration capability, Serial Number (SN), Pseudo-Noise Code (PN), device type, and other device information.

[0128] S72: The first device selects any one of the at least two second devices as the master second device and establishes a first communication connection with the master second device, wherein the remaining second device among the at least two second devices serves as at least one slave second device.

[0129] The first device receives network configuration information from at least two second devices, such as obtaining a scanned list of Bluetooth devices (e.g., a list of bt_mac devices). Further, the first device selects any one of the at least two second devices as the master second device and establishes a first communication connection with it. For example, a user can arbitrarily select one of the at least two second devices on the first device for a Bluetooth connection, and this second device becomes the master second device. The first device initiates the Bluetooth connection, and performs encrypted procedures such as Bluetooth connection, key negotiation, and authentication with the master second device. The remaining second devices among the at least two serve as at least one slave second device; that is, after the user arbitrarily selects one of the at least two second devices on the first device for a Bluetooth connection, the unselected second devices become slave second devices, waiting for network configuration.

[0130] S73: The first device sends a network distribution command to the main second device.

[0131] S74: The primary and secondary equipment perform network distribution based on the network distribution command.

[0132] The first device sends a network configuration command to the second device, enabling the second device to configure the network based on the command. For example, the first device sends the network configuration command to the second device via Bluetooth, scans Wi-Fi information, and the user selects to connect to the specified SSID (Service Set Identifier) ​​and enters the password, thereby connecting the second device to the router specified by the user.

[0133] S75: In response to the successful network configuration of the primary and secondary devices, the primary device sends at least one list of primary network configuration information corresponding to the secondary device to the primary and secondary devices.

[0134] In response to successful network configuration of the primary and secondary devices, such as when the primary and secondary devices successfully connect to the network, the primary and secondary devices send a network configuration success message to the primary device via Bluetooth. Further, the primary device sends at least one list of primary network configuration information corresponding to the secondary device to the primary and secondary devices. For example, the primary device authorizes the issuance of network configuration information, sending a list of information about devices to be configured (e.g., a list of 'bt_mac' devices) to the primary and secondary devices.

[0135] S76: The primary second device establishes a second communication connection with at least one secondary second device based on the first distribution network information list.

[0136] The primary second device can establish a second communication connection with at least one secondary second device based on the first distribution network information list. For example, the second communication connection can be based on the 802.11 management frame connection method, using the management frame channel for connection and data transmission.

[0137] S77: The primary second device sends distribution network data to at least one secondary second device through a second communication connection.

[0138] S78: At least one device performs distribution based on distribution network data from the second device.

[0139] The primary second device sends distribution network data to at least one secondary second device through a second communication connection, so that at least one secondary second device can perform simultaneous distribution network based on the distribution network data, wherein the distribution network data includes WIFI connection information, regional distribution network information, etc.

[0140] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0141] Please refer to Figure 8, which is a schematic diagram of the structure of a wireless distribution network system according to an embodiment of this application. The wireless distribution network system 80 includes a first device 81 and at least two second devices. The at least two second devices include a master second device 82 and at least one slave second device. The master second device 82 is any second device selected by the first device from the at least two second devices. The at least one slave second device is the remaining second device among the at least two second devices. For example, the at least one slave second device includes slave second device 831, slave second device 832, ..., slave second device 83n. As shown in Figure 8, a Bluetooth connection is established between the first device 81 and the master second device 82. The first device 81 sends a network configuration command to the master second device 82 so that the master second device 82 can configure the network based on the network configuration command. The first device 81 sends a first network configuration information list corresponding to at least one slave second device to the master second device 82 so that the master second device can establish a second communication connection with at least one slave second device. Further, the master second device sends network configuration data to at least one slave second device through the second communication connection so that at least one slave second device can perform network configuration simultaneously based on the network configuration data. Here, network configuration means connecting to the network end, for example, slave second device 831, slave second device 832... slave second device 83n connect to the router.

[0142] In some embodiments, in response to receiving a connection initiation command sent by a first device, a master second device establishes a first communication connection with the first device, wherein the connection initiation command is sent by the first device to the master second device after receiving first network distribution information from at least two second devices.

[0143] In some examples, the first device receives first network configuration information from at least two second devices. For instance, after a relevant button is pressed, at least two second devices enter a pairable state and can broadcast their own network configuration information, i.e., the first network configuration information, via Bluetooth. Further, the first device selects any one of the at least two second devices as the master second device and establishes a first communication connection with it. For example, a user can arbitrarily select one of the at least two second devices on the first device for a Bluetooth connection, and that second device becomes the master second device. The master second device establishes the first communication connection in response to receiving a connection initiation command from the first device. For example, the first device initiates the Bluetooth connection, and the first device and the master second device perform encryption procedures such as Bluetooth connection, key negotiation, and authentication to establish the first communication connection.

[0144] In some embodiments, the first device receives at least one distribution result from a slave device from the master second device, wherein the distribution result from the slave device is sent to the master second device by the slave device after the distribution is completed.

[0145] The first device receives network configuration results from at least one slave device from the master second device. In some examples, the network configuration results from at least one slave device are sent to the master second device after the network configuration process is completed. For example, the master second device sends network configuration data to at least one slave device through a second communication connection so that at least one slave device performs network configuration based on the network configuration data. After the network configuration process is completed, at least one slave device sends the network configuration results to the master second device through a management frame channel, and then the master second device broadcasts them to the first device through a Bluetooth channel. The network configuration results from at least one slave device include network configuration success, network configuration failure, the number of devices with successful network configuration, and the number of devices with failed network configuration.

[0146] Please refer to Figure 9, which is a schematic diagram of the structure of an electronic device according to an embodiment of this application. The electronic device 90 includes a memory 91 and a processor 92 coupled to each other. The processor 92 is used to execute program instructions stored in the memory 91 to implement the steps of the wireless network configuration method embodiment described above.

[0147] Specifically, processor 92 controls itself and memory 91 to implement the steps of the wireless network distribution method embodiments described above. Processor 92 may also be referred to as a CPU (Central Processing Unit), and may be an integrated circuit chip with signal processing capabilities. Processor 92 may also be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or any conventional processor. Furthermore, processor 92 may be implemented using integrated circuit chips. In some examples, the non-volatile computer-readable storage medium of this application embodiment is used to store a computer program, which, when executed by a processor, such as processor 92, can be used to implement the steps of the wireless network distribution method embodiments described above.

[0148] The description of the various embodiments above tends to emphasize the differences between the various embodiments. The similarities or similarities between them can be referred to, and for the sake of brevity, they will not be repeated here.

[0149] In the several embodiments provided in this application, it should be understood that the disclosed methods and related devices can be implemented in other ways. For example, the related device implementations described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication disconnection shown or discussed may be indirect coupling or communication disconnection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0150] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0151] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, 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 storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0152] Those skilled in the art will readily recognize that numerous modifications and variations can be made to the apparatus and method while maintaining the teachings of this application. Therefore, the above disclosure should be considered limited only by the scope of the appended claims.

Claims

1. A wireless network configuration method, characterized in that, Applied to a first device, the method includes: The first device receives first distribution network information sent by at least two second devices; The first device selects any one of the at least two second devices as the master second device and establishes a first communication connection with the master second device, wherein the remaining second device among the at least two second devices is at least one slave second device. The first device sends a network distribution command to the main second device, so that the main second device can perform network distribution based on the network distribution command; In response to the successful network configuration of the primary second device, the first device sends a first network configuration information list corresponding to the at least one secondary second device to the primary second device, so that the primary second device and the at least one secondary second device can establish a second communication connection; The primary second device sends distribution network data to the at least one secondary second device through the second communication connection, so that the at least one secondary second device performs distribution network based on the distribution network data.

2. The method according to claim 1, characterized in that, Also includes: The first device receives the network configuration result from the main second device, wherein the network configuration result of the main second device is used to indicate that the main second device has successfully configured the network.

3. The method according to claim 1, characterized in that, Also includes: The first device receives the network distribution results of the at least one slave device from the master second device, wherein the network distribution results of the at least one slave device are sent to the master second device after the network distribution is completed.

4. The method according to claim 3, characterized in that, Also includes: The first device selects one of the at least two second devices as a slave device and displays the distribution results of that slave device.

5. A wireless network configuration method, characterized in that, The method, applied to a primary second device, wherein the primary second device is any second device selected by a first device from at least two second devices, wherein the remaining second devices among the at least two second devices serve as at least one secondary second device, includes: The main second device establishes a first communication connection with the first device; The primary second device receives a network distribution instruction from the first device through the first communication connection, and performs network distribution based on the network distribution instruction; In response to the successful network configuration of the primary second device, the primary second device receives a first network configuration information list corresponding to the at least one secondary second device from the first device, so as to establish a second communication connection between the primary second device and the at least one secondary second device; The primary second device sends distribution network data to the at least one secondary second device through the second communication connection, so that the at least one secondary second device performs distribution network based on the distribution network data.

6. The method according to claim 5, characterized in that, In response to receiving a connection initiation command sent by the first device, the primary second device establishes the first communication connection with the first device, wherein the connection initiation command is sent by the first device to the primary second device after receiving first network distribution information from the at least two second devices.

7. The method according to claim 6, characterized in that, The establishment of a second communication connection between the master second device and the at least one slave second device includes: The primary second device receives the second distribution network information sent by at least one secondary device; Based on the first distribution network information list and the second distribution network information, the master second device performs a full channel search operation to enable the at least one slave second device to synchronize channels with the master second device; In response to the synchronization channel between the at least one slave device and the master device, the master device sends the distribution network data to the at least one slave device through a preset management frame.

8. The method according to claim 7, characterized in that, The primary and secondary devices perform a full-channel search operation, including: The primary second device transmits target distribution network information across all channels to find one of the at least one secondary second devices, such that the secondary second device uses the channel where the primary second device is located. When the number of the at least one secondary second device is greater than 1, the remaining secondary second devices among the at least one secondary second devices switch channels to the channel where the primary second device is located in response to receiving the target distribution network information.

9. The method according to claim 7, characterized in that, The distribution network data includes first distribution network data and second distribution network data; The primary second device sends distribution network data to at least one secondary second device through a preset management frame, including: The primary second device sends the preset management frame to the at least one secondary second device for the first time, wherein the preset management frame sent for the first time includes the first distribution network data of the at least one secondary second device; In response to receiving a response data packet corresponding to the first distribution network data from the at least one slave second device, the master second device sends the preset management frame to the at least one slave second device for the second time, the preset management frame sent for the second time including the second distribution network data of the at least one slave second device; The first distribution network data and the second distribution network data are used for distribution network from the at least one second device.

10. The method according to claim 7 or 9, characterized in that, The primary second device sends distribution network data to the at least one secondary second device via a preset management frame, and further includes: In response to receiving a response data packet corresponding to the first distribution network data from some of the at least one slave second devices, and when the number of the at least one slave second devices is greater than 1, the master second device sends the preset management frame to the at least one slave second device for the third time. The preset management frame sent for the third time includes the second distribution network data of the partial slave second devices and the first distribution network data of the remaining slave second devices among the at least one slave second devices. In response to receiving a response data packet corresponding to the second distribution network data from the portion of the second device and receiving a response data packet corresponding to the first distribution network data from the remaining second devices, the master second device sends the preset management frame to the at least one slave second device for the fourth time. The preset management frame sent for the fourth time includes the second distribution network data of the remaining slave second devices among the at least one slave second devices. The remaining response data packets corresponding to the second distribution network data are received from the second device to determine that the at least one device has successfully received the first distribution network data and the second distribution network data.

11. The method according to claim 7 or 9, characterized in that, In response to not receiving a response data packet corresponding to the first distribution network data from the at least one slave second device, the master second device resends the preset management frame, the resent preset management frame including the first distribution network data from the at least one slave second device; and / or In response to not receiving a response data packet corresponding to the second distribution network data from the at least one slave second device, the master second device retransmits the preset management frame, the retransmitted preset management frame including the second distribution network data from the at least one slave second device.

12. A wireless network configuration method, characterized in that, The method is applied to a second device, wherein the second device is any one of at least two remaining second devices excluding the primary second device, and the primary second device is any second device selected by the first device from the at least two second devices. The method includes: The second device establishes a second communication connection with the main second device; The second device receives distribution network data from the main second device through the second communication connection, and then performs distribution network based on the distribution network data.

13. A wireless network configuration method, wherein, Applied to a wireless distribution network system, the wireless distribution network system including a first device and at least two second devices, the method includes: The first device receives first distribution network information sent by at least two second devices; The first device selects any one of the at least two second devices as the master second device and establishes a first communication connection with the master second device, wherein the remaining second device among the at least two second devices is at least one slave second device. The first device sends a network distribution command to the main second device; The primary second device receives and performs network distribution based on the network distribution command; In response to the successful network configuration of the primary second device, the first device sends the first network configuration information list corresponding to the at least one secondary second device to the primary second device; The primary second device establishes a second communication connection with at least one secondary second device based on the first distribution network information list; The primary second device sends distribution network data to the at least one secondary second device through the second communication connection; The at least one device performs network distribution based on the distribution network data.

14. The method according to claim 13, characterized in that, In response to receiving a connection initiation command sent by the first device, the primary second device establishes the first communication connection with the first device, wherein the connection initiation command is sent by the first device to the primary second device after receiving first network distribution information from the at least two second devices.

15. The method according to claim 13, characterized in that, The first device receives the network distribution results of the at least one slave device from the master second device, wherein the network distribution results of the at least one slave device are sent to the master second device after the network distribution is completed.

16. A wireless distribution network system, characterized in that, At least including: A first device is configured to perform the wireless network configuration method as described in any one of claims 1 to 4; At least two second devices, the at least two second devices including a master second device and at least one slave second device, the master second device being any second device selected by the first device from the at least two second devices, and the at least one slave second device being the remaining second device among the at least two second devices; The main second device is used to perform the wireless network distribution method as described in any one of claims 5 to 11; The at least one device is used to perform the wireless network distribution method as described in claim 12.

17. An electronic device, characterized in that, It includes a memory and a processor coupled to each other, the processor being used to execute program instructions stored in the memory to implement the wireless network distribution method according to any one of claims 1 to 4, or 5 to 11, or 12.