Wireless mesh network device configuration method and apparatus, electronic device, and medium

By automatically setting the master device identifier and scanning and configuring slave devices, the cumbersome device configuration problem during wireless mesh network networking is solved, and efficient automatic configuration of wireless mesh network devices is achieved.

CN116367177BActive Publication Date: 2025-12-05SHENZHEN SKYWORTH DIGITAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310396776.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-04
Publication Date
2025-12-05
Estimated Expiration
2043-04-04

AI Technical Summary

Technical Problem

The configuration process for wireless mesh network devices is cumbersome, requiring users to manually select the host and slave devices.

Method used

By detecting whether wireless network devices are connected to the network, the system automatically sets the master device identifier and adds the master device identifier to beacon frames and exploration frames, scans and configures slave devices, and realizes automatic configuration of master and slave devices.

Benefits of technology

It simplifies the networking process for wireless mesh network devices, improves production efficiency and user experience, and avoids the tedious operation of manual configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116367177B_ABST
    Figure CN116367177B_ABST
Patent Text Reader

Abstract

The application discloses a wireless mesh network device configuration method and device, electronic equipment and medium. The wireless mesh network device configuration method comprises the following steps: when a first wireless network device is connected to a network and a network configuration instruction is detected, setting a device type as a master device according to the network configuration instruction, and sending a network configuration signal with a master device identifier; when a second wireless network device detects a network configuration instruction, performing signal scanning through the second wireless network device; and if the second wireless network device scans the master device identifier, setting a device type as a slave device. The application solves the technical problem that the device configuration process of the wireless mesh network device is complicated when networking.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of network communication, and particularly relates to a wireless mesh network device configuration method and device, electronic equipment and medium. BACKGROUND

[0002] With the rapid development of wireless network communication, a Mesh (wireless mesh) network forms a self-organizing network through a multi-hop interconnection mode, and provides higher reliability, wider service coverage and lower initial investment cost for wireless network networking. When the network coverage of the current Mesh networking environment cannot meet the needs, a new Mesh node needs to be added, and the WPS (Wi-Fi Protected Setup, Wi-Fi protection setting) button is usually clicked to add. The specific operation is to press the WPS keys of the Mesh node device already connected to the networking environment and the WPS key of the newly added Mesh node device. However, when the WPS button is used for networking, the user needs to manually configure the already networked Mesh device as a host device and the newly added Mesh node device as a slave device, which leads to a cumbersome device configuration process of the wireless mesh network device when networking. SUMMARY

[0003] The main purpose of the present application is to provide a wireless mesh network device configuration method, device, electronic equipment and medium, which aims to solve the technical problem of a cumbersome device configuration process of the wireless mesh network device when networking.

[0004] To achieve the above purpose, the present application provides a wireless mesh network device configuration method, which comprises the following steps:

[0005] When the first wireless network device is connected to the network and detects a network configuration instruction, the device type is set to a master device according to the network configuration instruction, and a network configuration signal with a master device identifier is sent;

[0006] When the second wireless network device detects a user input network configuration instruction, the second wireless network device performs signal scanning;

[0007] If the second wireless network device scans the master device identifier, the device type is set to a slave device.

[0008] Optionally, the network configuration signal comprises one of a beacon frame and an explorer frame;

[0009] Before the step of when the first wireless network device is connected to the network and detects a network configuration instruction, the device type is set to a master device according to the network configuration instruction, and a network configuration signal with a master device identifier is sent, the present application further comprises the following steps:

[0010] Add the master device identifier to the beacon frame and / or explore frame of the first wireless network device.

[0011] Optionally, the network distribution command is a WPS command;

[0012] The step of performing signal scanning through the second wireless network device when it detects a network configuration command includes:

[0013] When the second wireless network device receives a WPS command triggered by the user, it scans the device signals in the network environment.

[0014] Optionally, the step of setting the device type to a sub-device if the second wireless network device scans the master device identifier includes:

[0015] If a device signal carrying WSC information is detected, it is determined whether the WSC information carries the master device identifier.

[0016] If so, the wireless network device corresponding to the WSC information is determined to be the host device, and the second wireless network device is set as the slave device.

[0017] Optionally, after the step of scanning device signals in the network environment by the second wireless network device when it receives a WPS command triggered by the user, the method further includes:

[0018] If no WSC information including the master device identifier is detected within the preset time period, the scanning will stop.

[0019] After the second wireless network device stops scanning, if the second wireless network device receives a WPS command input by the user, it will scan the device signals in the network environment again through the second wireless network device.

[0020] Optionally, the network distribution command is a WPS command;

[0021] After the step of setting the device type to a sub-device if the second wireless network device detects the master device identifier, the method further includes:

[0022] Based on the WPS command, a network configuration process is executed on the host device corresponding to the sub-device and the master device identifier. The network configuration process is used to add the sub-device to the node of the wireless mesh network where the master device is located.

[0023] Optionally, after the step of performing a network configuration process on the host device corresponding to the slave device and the master device identifier based on the WPS command, the method further includes:

[0024] By detecting the network configuration progress of the sub-devices, it can be determined whether the sub-devices have been successfully networked.

[0025] If the sub-devices have been successfully networked, then the master device identifier is added to the transmission signal of the sub-devices.

[0026] This application also provides a wireless mesh network device configuration apparatus, which is applied to a wireless mesh network device configuration device, and the wireless mesh network device configuration apparatus includes:

[0027] The host setting module is used to set the device type to master device according to the network configuration command when the first wireless network device connects to the network and detects the network configuration command, and send a network configuration signal with master device identifier;

[0028] The signal scanning module is used to perform signal scanning through the second wireless network device when the second wireless network device detects a network configuration command;

[0029] The sub-device setting module is used to set the device type to sub-device if the second wireless network device scans the master device identifier.

[0030] Optionally, the host setting module is further configured to:

[0031] Add the master device identifier to the beacon frame and / or explore frame of the first wireless network device.

[0032] Optionally, the signal scanning module is further configured to:

[0033] When the second wireless network device receives a WPS command triggered by the user, it scans the device signals in the network environment.

[0034] Optionally, the signal scanning module is further configured to:

[0035] If a device signal carrying WSC information is detected, it is determined whether the WSC information carries the master device identifier.

[0036] If so, the wireless network device corresponding to the WSC information is determined to be the host device, and the second wireless network device is set as the slave device.

[0037] Optionally, the signal scanning module is further configured to:

[0038] If no WSC information including the master device identifier is detected within the preset time period, the scanning will stop.

[0039] After the second wireless network device stops scanning, if the second wireless network device receives a WPS command input by the user, it will scan the device signals in the network environment again through the second wireless network device.

[0040] Optionally, the sub-device module is further configured to:

[0041] Based on the WPS command, a network configuration process is executed on the host device corresponding to the sub-device and the master device identifier. The network configuration process is used to add the sub-device to the node of the wireless mesh network where the master device is located.

[0042] Optionally, the sub-device module is further configured to:

[0043] By detecting the network configuration progress of the sub-devices, it can be determined whether the sub-devices have been successfully networked.

[0044] If the sub-devices have been successfully networked, then the master device identifier is added to the transmission signal of the sub-devices.

[0045] This application also provides an electronic device, which is a physical device, comprising: a memory, a processor, and a program for the wireless mesh network device configuration method stored in the memory and executable on the processor. When the program for the wireless mesh network device configuration method is executed by the processor, it can implement the steps of the wireless mesh network device configuration method as described above.

[0046] This application also provides a computer-readable storage medium storing a program implementing a wireless mesh network device configuration method, wherein when the program is executed by a processor, it implements the steps of the wireless mesh network device configuration method as described above.

[0047] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the wireless mesh network device configuration method described above.

[0048] This application provides a method, apparatus, electronic device, and medium for configuring wireless mesh network devices. First, when a first wireless network device is detected to be connected to the network and a network configuration command is detected, the device type is set to master device according to the network configuration command, and a network configuration signal with a master device identifier is sent. When a second wireless network device detects a network configuration command input by the user, it performs a signal scan. If the second wireless network device scans the master device identifier, the device type is set to slave device. This technical solution sets a wireless network device already connected to an external network as a master device and adds a master device identifier for scanning by the wireless network device to be added, thereby determining the slave device identity of the wireless network device to be added. This achieves automatic configuration of master and slave devices in the wireless mesh network, overcoming the technical defect in the prior art that requires manual operation by the user to configure each wireless network device in the network environment, and solving the technical problem of the cumbersome device configuration process during wireless mesh network setup. Attached Figure Description

[0049] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0050] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0051] Figure 1 This is a flowchart illustrating the first embodiment of the wireless mesh network device configuration method of this application;

[0052] Figure 2 This is a scenario diagram of the first embodiment of the wireless mesh network device configuration method of this application;

[0053] Figure 3 This is a flowchart illustrating steps S21 to S25 in the first embodiment of the wireless mesh network device configuration method of this application.

[0054] Figure 4 This is a timing diagram of one implementation of the wireless mesh network device configuration method in the first embodiment of this application;

[0055] Figure 5 This is a flowchart illustrating the second embodiment of the wireless mesh network device configuration method of this application;

[0056] Figure 6 This is a schematic diagram of the composition structure of the wireless mesh network device in the embodiments of this application;

[0057] Figure 7 This is a schematic diagram of the hardware operating environment involved in the wireless mesh network device configuration method in this application embodiment.

[0058] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0059] To make the above-mentioned objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0060] Example 1

[0061] Mesh networks typically consist of two or more wireless routers. The mesh network devices form a unified network, effectively solving problems such as dead zones and slow internet speeds for users, especially those with complex floor plans or large apartments, when using WiFi. Mesh networks offer advantages such as high bandwidth and low latency. Furthermore, mesh networks can be set up via wired or wireless connections. Wireless mesh networking, with its advantages of rapid deployment, ease of installation, no wiring required, and flexible setup, is more commonly used in practice. In practice, if the current mesh network coverage is insufficient and a new mesh node needs to be added, the common practice is for the user to add the mesh node by pressing the WPS button. Specifically, during the initial network setup, the user presses the WPS button on both the existing mesh network device and the newly added device. The two buttons can be pressed simultaneously or separately; if not simultaneously, the interval between pressing them should not exceed a preset time. Because WPS button configuration requires one device to be a Controller (master device) and one device to be an Agent (slave device), it necessitates a master-slave configuration at the factory, which is highly detrimental to production efficiency. If all devices are either master or slave devices during production, users need to explicitly assign them through configuration, resulting in a poor user experience. Therefore, Mesh networking urgently needs a zero-configuration wireless mesh network device configuration method.

[0062] This application provides a method for configuring a wireless mesh network device. In the first embodiment of this method, refer to... Figure 1 The wireless mesh network device configuration method includes:

[0063] Step S10: When the first wireless network device connects to the network and detects a network configuration command, it sets the device type to master device according to the network configuration command and sends a network configuration signal with a master device identifier.

[0064] Step S20: When the second wireless network device detects the network configuration command input by the user, it performs a signal scan through the second wireless network device;

[0065] Step S30: If the second wireless network device detects the master device identifier, then set the device type to slave device.

[0066] In the embodiments of this application, it should be noted that, referring to Figure 2 The first wireless network device and the second wireless network are Mesh devices. The first wireless network device is the device that has already connected to the external network, i.e., the host device. The second wireless network device is a sub-device that needs to be added to the host device for network configuration. 1 represents the WPS button on the first wireless network device, 2 represents the signal carrying the host device identifier transmitted by the first network device, and 3 represents the WPS button on the second wireless network device. The host device identifier is used to identify that the corresponding network device is the host device. The network connectivity standard for the first wireless network device includes whether the wireless network device is connected to one of the following: fiber optic cable, cable TV cable, or network cable. The network configuration command can be the command corresponding to the user clicking the WPS button, i.e., the command to enable Wi-Fi protection settings. The second wireless network device is a Mesh node device that needs to be added to the Mesh networking environment during the wireless mesh network configuration process. Before step S10, the user connects the first wireless network device to an optical fiber, cable TV cable, or network cable to connect to the network. In the technical solution of this application embodiment, the newly added Mesh node device performs signal scanning. If a signal emitted by another Mesh device with the main device identifier is detected, the newly added Mesh node device is automatically configured as a slave device, so that the user can complete the Mesh networking without manual configuration.

[0067] In this embodiment of the application, in the wireless mesh network configuration, the device connected to the external Internet is the host device, namely the first wireless network device. In this embodiment of the application, it can be the first Mesh device. When the first Mesh device is connected to the external Internet, the first Mesh device can be used as the host device to perform wireless mesh network configuration. This embodiment of the application provides a method for determining the host device. By determining whether the wireless network device is connected to the network, the host device is automatically determined and a host device identifier is added, thus completing the automatic configuration of the host device and simplifying the device configuration process of the wireless mesh network device when forming a network.

[0068] As an example, steps S10 to S30 include: detecting the network connection status of the first Mesh device; if the first Mesh device detects that it is connected to an external network and detects a network configuration command input by the user via the WPS key, then the first Mesh device is set as a host device, and a host device identifier is added to the WSC information issued by the first Mesh device; when the second Mesh device detects a network configuration command input by the user via the WPS key, the second Mesh device performs a signal scan in the network configuration environment to determine whether the WSC information of the Mesh devices in the network configuration environment carries the host device identifier; if a Mesh device carrying WSC information including the host device identifier is detected in the network configuration environment, then the device type of the second Mesh device is set as a slave device.

[0069] The transmitted signal includes at least one of a beacon frame and a probe frame; prior to the step of setting the device type to master device according to the master device command and sending a master device identifier when the first wireless network device connects to the network and detects the network configuration command, the method further includes:

[0070] Step A10: Add the master device identifier to the information corresponding to the beacon frame and / or explore frame of the first wireless network device.

[0071] In this embodiment, by adding the master device identifier to the WSC information of the beacon frame (beacon) and probe frame (detection signal) of the first wireless network device, the first wireless network device can be scanned by other wireless network devices, so that other wireless network devices can use the first wireless network device as the corresponding host device to complete the configuration of Mesh networking, thereby improving the configuration efficiency of wireless mesh network devices.

[0072] The network distribution command is a WPS command, as referred to Figure 3 The step of performing signal scanning through the second wireless network device when it detects a network configuration command includes:

[0073] Step S21: When the second wireless network device receives a WPS command triggered by the user, it scans the device signals in the network environment through the second wireless network device.

[0074] Additionally, the step of setting the device type to a sub-device if the second wireless network device scans the master device identifier includes:

[0075] Step S22: If a device signal carrying WSC information is detected, determine whether the WSC information carries the master device identifier.

[0076] Step S23: If yes, then determine that the wireless network device corresponding to the WSC information is a host device, and set the second wireless network device as a slave device.

[0077] In this embodiment, it should be noted that the second wireless network device can be a Mesh device. After the user has connected the first Mesh device in the network environment to the Internet, they can press the WPS button on the second Mesh device to complete the device configuration of the first Mesh device and the second Mesh device. The user does not need to set the host and sub-device identities of each Mesh device, realizing zero-configuration network configuration. It also overcomes the technical defects of the prior art, which requires one device to be the controller (host) and the other to be the agent (sub-device) when configuring the network with the WPS button. This results in the Mesh device being manufactured as a sub-host or the host and sub-device being produced in batches. The existence of two production models is very detrimental to improving production efficiency. Based on the wireless mesh network device configuration method, Mesh devices do not need to be manufactured separately in the form of host and sub-device, which effectively improves production efficiency.

[0078] As an example, steps S21 to S23 include: when the WPS button of the second Mesh device receives a click command input by the user, signal scanning of the second Mesh device is started to scan for device signals emitted by other Mesh devices in the network environment; if a device signal including Wi-Fi simple configuration information is detected, the Wi-Fi simple configuration information is parsed to determine whether the Wi-Fi simple configuration information carries a master device identifier; if the Wi-Fi simple configuration information carries a master device identifier, the second Mesh device is set as a slave device of the Mesh device corresponding to the Wi-Fi simple configuration information; if the Wi-Fi simple configuration information does not carry a master device identifier, the scanning of device signals in the network environment continues until Wi-Fi simple configuration information carrying a master device identifier is detected or the scanning time reaches a preset time.

[0079] Among them, reference Figure 3 After the step of scanning device signals in the network environment by the second wireless network device when it receives a WPS command triggered by the user, the method further includes:

[0080] Step S24: If no WSC information including the master device identifier is scanned within a preset time period, the scanning is stopped;

[0081] Step S25: After the second wireless network device stops scanning, if the second wireless network device receives a WPS command input by the user, it will scan the device signals in the network environment again through the second wireless network device.

[0082] In this embodiment of the application, it should be noted that if the second wireless network device fails to scan the WSC information including the main device identifier within a preset time period after scanning the device signals in the network environment, it indicates that there is no Mesh device that has been connected to the external Internet in the network environment. The preset time period can be set according to the time required for a full scan of all device signals in the network environment under normal circumstances, or it can be set according to the specific needs of the user, thereby avoiding the waste of resources caused by the Mesh device performing signal scanning for a long time.

[0083] As an example, steps S24 to S25 include: if the second Mesh device does not detect a device signal containing WSC information of the main device identifier within a preset time period, the scanning is stopped and a prompt message is issued to prompt the user to check the network connection status of the main device; when a WPS command is received from the user via the WPS key, the second wireless network device is used again to scan the device signals in the network environment to find device signals containing WSC information of the main device identifier in the network environment.

[0084] In another embodiment, refer to Figure 4 The wireless mesh network device configuration method includes: S1, the user connects the first Mesh device to the network; S2, the user clicks the WPS button on the first Mesh device; S3, the first Mesh device adds a master device identifier to the Beacon and Prob RSP frames of its own device signal, and transmits a signal carrying the master device identifier for other Mesh devices to scan; S4, the user clicks the WPS button on the second Mesh device to be configured; S5, the second Mesh device starts active signal scanning, and if it detects a device signal carrying the master device identifier, it sets its own status to slave; S6, the first Mesh device and the second Mesh device start network configuration according to the WPS network configuration specification.

[0085] This application provides a method for configuring wireless mesh network devices. First, when a first wireless network device is detected to be connected to the network and receives a network configuration command, the first wireless network device is set as a host device, and a master device identifier is added to the host device. When a second wireless network device receives a network configuration command input by the user, the second wireless network device performs a signal scan. If the master device identifier is detected, the second wireless network device is set as a slave device. The technical solution mentioned in this application sets a wireless network device already connected to an external network as a host device and adds a master device identifier for scanning by the wireless network device to be added, thereby determining the slave device identity of the wireless network device to be added. This achieves automatic configuration of host and slave devices in the wireless mesh network, overcoming the technical defect in the prior art that requires manual operation by the user to configure each wireless network device in the network environment, and solving the technical problem of the cumbersome device configuration process during wireless mesh network setup.

[0086] Example 2

[0087] Furthermore, based on the first embodiment of this application, in another embodiment of this application, the same or similar content as in Embodiment 1 can be referred to the above description, and will not be repeated hereafter. Based on this, refer to... Figure 5 After the step of setting the device type to a sub-device if the second wireless network device detects the master device identifier, the method further includes:

[0088] Step S40: Based on the WPS command, perform a network configuration process on the host device corresponding to the slave device and the master device identifier. The network configuration process is used to add the slave device to the node of the wireless mesh network where the master device is located.

[0089] In this application embodiment, a method for automatically configuring wireless mesh network devices after configuration is completed is provided. Based on the identified host and slave devices and WPS commands, the slave devices are configured into the Mesh networking environment where the host device is located, realizing zero-configuration automatic networking and improving the user's networking experience.

[0090] As an example, step S40 includes: obtaining the network name (SSID, Service Set Identifier) ​​and WPA2 (Wi-Fi Protected Access) security key corresponding to the host device through the WPS command; and connecting the slave device to the Mesh node where the host device is located based on the network name and the WPA2 security key to complete the Mesh networking.

[0091] After the step of performing the network configuration process on the host device corresponding to the sub-device and the master device identifier based on the WPS command, the method further includes:

[0092] Step S50: By detecting the network configuration progress of the sub-device, it is determined whether the sub-device has been successfully networked.

[0093] Step S60: If the sub-device has been successfully networked, add the master device identifier to the transmission signal of the sub-device.

[0094] In this embodiment, it should be noted that when a slave device successfully joins the Mesh network where the host device is located, it is also connected to the external Internet. At this time, the slave device can also act as a host device to network new devices. Therefore, in this embodiment, after the slave device successfully joins the network, a host device identifier is added to the transmitted signal to indicate that the slave device can now act as a host device to access other new slave devices (Mesh devices). This completes the automatic configuration of the wireless mesh network devices without the need for manual configuration of the host device and slave devices, thus improving network configuration efficiency.

[0095] As an example, steps S50 to S60 include: detecting whether the sub-device has been connected to the Mesh network where the host device corresponding to the master device identifier is located; if the sub-device has been connected to the Mesh network where the host device corresponding to the master device identifier is located, then it is determined that the sub-device has successfully formed a network; adding a master device identifier to the WSC information of the sub-device's transmitted signal to indicate that the sub-device's identity has been switched to a master device, and it can be connected to other new sub-devices.

[0096] This application provides a method for automatically configuring wireless mesh network devices after configuration. Based on the WPS command, automatic configuration is performed on the host devices corresponding to the sub-devices and the host device identifiers, adding the sub-devices to the nodes of the wireless mesh network where the host device resides. This achieves zero-configuration configuration, eliminating the need for users to manually set the host and sub-device identities for each mesh device. This overcomes the technical shortcomings of existing technologies where WPS button configuration requires mesh devices to be divided into sub-host forms or produced in batches for hosts and sub-devices. The method of automatically configuring mesh devices after configuration allows equipment manufacturers to produce mesh devices using the same production standards, effectively improving production efficiency.

[0097] Example 3

[0098] This application also provides a wireless mesh network device configuration apparatus, which is applied to a wireless mesh network device configuration device, as described above. Figure 6 The wireless mesh network device configuration device includes:

[0099] The host setting module 101 is used to set the device type to master device according to the network configuration command when the first wireless network device connects to the network and detects the network configuration command, and send a network configuration signal with master device identifier;

[0100] The signal scanning module 102 is used to perform signal scanning through the second wireless network device when the second wireless network device detects a network configuration command;

[0101] The sub-device setting module 103 is used to set the device type to sub-device if the second wireless network device scans the master device identifier.

[0102] Optionally, the host setting module is further configured to:

[0103] Add the master device identifier to the beacon frame and / or explore frame of the first wireless network device.

[0104] Optionally, the signal scanning module is further configured to:

[0105] When the second wireless network device receives a WPS command triggered by the user, it scans the device signals in the network environment.

[0106] Optionally, the signal scanning module is further configured to:

[0107] If a device signal carrying WSC information is detected, it is determined whether the WSC information carries the master device identifier.

[0108] If so, the wireless network device corresponding to the WSC information is determined to be the host device, and the second wireless network device is set as the slave device.

[0109] Optionally, the signal scanning module is further configured to:

[0110] If no WSC information including the master device identifier is detected within the preset time period, the scanning will stop.

[0111] After the second wireless network device stops scanning, if the second wireless network device receives a WPS command input by the user, it will scan the device signals in the network environment again through the second wireless network device.

[0112] Optionally, the sub-device module is further configured to:

[0113] Based on the WPS command, a network configuration process is executed on the host device corresponding to the sub-device and the master device identifier. The network configuration process is used to add the sub-device to the node of the wireless mesh network where the master device is located.

[0114] Optionally, the sub-device module is further configured to:

[0115] By detecting the network configuration progress of the sub-devices, it can be determined whether the sub-devices have been successfully networked.

[0116] If the sub-devices have been successfully networked, then the master device identifier is added to the transmission signal of the sub-devices.

[0117] The wireless mesh network device configuration apparatus provided in this application adopts the wireless mesh network device configuration method in the above embodiments, solving the technical problem of cumbersome device configuration process during wireless mesh network networking. Compared with the prior art, the beneficial effects of the wireless mesh network device configuration apparatus provided in this application are the same as the beneficial effects of the wireless mesh network device configuration method provided in the above embodiments, and other technical features in this wireless mesh network device configuration apparatus are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0118] Example 4

[0119] This application provides an electronic device, which includes: at least one processor; and a memory communicatively linked to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the wireless mesh network device configuration method in the first embodiment described above.

[0120] The following is for reference. Figure 7 The diagram illustrates a structural schematic of an electronic device suitable for implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable media players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0121] like Figure 7As shown, an electronic device may include a processing unit (such as a central processing unit, graphics processing unit, etc.) that can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) or loaded from storage devices into random access memory (RAM). The RAM also stores various programs and data required for the operation of the electronic device. The processing unit, ROM, and RAM are interconnected via a bus. Input / output (I / O) interfaces are also linked to the bus.

[0122] Typically, the following systems can be linked to the I / O interface: input devices such as touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices such as liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices such as magnetic tapes, hard drives, etc.; and communication devices. Communication devices allow electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although electronic devices with various systems are shown in the figures, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems may be implemented alternatively.

[0123] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, it performs the functions defined above in the methods of embodiments of this disclosure.

[0124] The electronic device provided in this application, employing the wireless mesh network device configuration method in the above embodiments, solves the technical problem of cumbersome device configuration during wireless mesh network networking. Compared with the prior art, the beneficial effects of the electronic device provided in this application are the same as those of the wireless mesh network device configuration method provided in Embodiment 1 above, and other technical features of this electronic device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0125] It should be understood that various parts of this disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.

[0126] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0127] Example 5

[0128] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, which are used to execute the wireless mesh network device configuration method in Embodiment 1 above.

[0129] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical link having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM, or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0130] The aforementioned computer-readable storage medium may be included in an electronic device or may exist independently without being assembled into an electronic device.

[0131] The aforementioned computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: when a first wireless network device connects to the network and detects a network configuration command, set the device type to a master device according to the network configuration command and send a network configuration signal with a master device identifier; when a second wireless network device detects a network configuration command, perform a signal scan through the second wireless network device; and if the second wireless network device scans the master device identifier, set the device type to a slave device.

[0132] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be linked to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be linked to an external computer (e.g., via the Internet using an Internet service provider).

[0133] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0134] The modules described in the embodiments of this disclosure can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0135] The computer-readable storage medium provided in this application stores computer-readable program instructions for executing the above-described wireless mesh network device configuration method, thus solving the technical problem of cumbersome device configuration process during wireless mesh network device networking. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application embodiment are the same as the beneficial effects of the wireless mesh network device configuration method provided in the above embodiments, and will not be repeated here.

[0136] Example 6

[0137] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the wireless mesh network device configuration method described above.

[0138] The computer program product provided in this application solves the technical problem of cumbersome device configuration process during wireless mesh network device networking. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiments of this application are the same as the beneficial effects of the wireless mesh network device configuration method provided in the above embodiments, and will not be repeated here.

[0139] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.

Claims

1. A method of configuring a wireless mesh network device, the method comprising: The wireless mesh network device configuration method comprises: When the first wireless network device has connected to an external network and detected a network configuration instruction, setting the device type as a master device according to the network configuration instruction, and sending a network configuration signal with a master device identifier, wherein the network configuration instruction is an instruction corresponding to a user clicking a WPS button; When the second wireless network device detects a network configuration instruction, performing signal scanning by the second wireless network device; If the second wireless network device scans the master device identifier, setting the device type as a slave device.

2. The method of claim 1, wherein the configuration information includes a list of neighboring wireless mesh network devices. The network configuration signal comprises at least one of a beacon frame and an explorer frame; Before the step of when the first wireless network device has connected to an external network and detected a network configuration instruction, setting the device type as a master device according to the network configuration instruction, and sending a network configuration signal with a master device identifier, the method further comprises: Adding the master device identifier in the beacon frame and / or the explorer frame of the first wireless network device.

3. The method of claim 1, wherein the configuration information includes a list of neighboring wireless mesh network devices. The network configuration instruction is a WPS instruction; The step of when the second wireless network device detects a network configuration instruction, performing signal scanning by the second wireless network device, comprises: When the second wireless network device receives a WPS instruction triggered by a user, scanning device signals in a networking environment by the second wireless network device.

4. The method of claim 1, wherein the configuration information includes a list of neighboring wireless mesh network devices. The step of if the second wireless network device scans the master device identifier, setting the device type as a slave device, comprises: If a device signal carrying WSC information is scanned, determining whether the master device identifier is carried in the WSC information; If yes, determining that a wireless network device corresponding to the WSC information is a master device, and setting the second wireless network device as a slave device.

5. The method of claim 3, wherein the configuration information includes a list of neighboring wireless mesh network devices. After the step of when the second wireless network device receives a WPS instruction triggered by a user, scanning device signals in a networking environment by the second wireless network device, the method further comprises: If WSC information including the master device identifier is not scanned within a preset time length, stopping scanning; After the second wireless network device stops scanning, if the second wireless network device receives a WPS instruction input by a user, scanning device signals in a networking environment by the second wireless network device again.

6. The method of claim 1, wherein the configuration information includes a list of neighboring wireless mesh network devices. The network configuration instruction is a WPS instruction; After the step of if the second wireless network device scans the master device identifier, setting the device type as a slave device, the method further comprises: Based on the WPS instruction, performing a network configuration process on the slave device and a master device corresponding to the master device identifier, wherein the network configuration process is used for adding the slave device to a node of a wireless mesh network in which the master device is located.

7. The method of claim 6, wherein the configuration information includes a list of neighboring wireless mesh network devices. After the step of based on the WPS instruction, performing a network configuration process on the slave device and a master device corresponding to the master device identifier, the method further comprises: By detecting a network configuration progress of the slave device, determining whether the slave device has successfully networked; If the slave device has successfully networked, adding the master device identifier in a transmission signal of the slave device.

8. A wireless mesh network device configuration apparatus, comprising: The wireless mesh network device configuration apparatus comprises: The host setting module is configured to set the device type as a master device according to the network configuration instruction when the first wireless network device has connected to an external network and the network configuration instruction is detected, and send a network configuration signal with a master device identifier, wherein the network configuration instruction is an instruction corresponding to a user clicking a WPS button. The signal scanning module is configured to perform signal scanning by the second wireless network device when the second wireless network device detects the network configuration instruction. The slave setting module is configured to set the device type as a slave device if the second wireless network device scans the master device identifier.

9. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory communicatively linked to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the wireless mesh network device configuration method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a program for implementing the wireless mesh network device configuration method, and the program is executed by a processor to implement the steps of the wireless mesh network device configuration method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Wireless mesh network establishment method, apparatus and system of electronic device system

    CN108882228A

  • Networking method and device, equipment and storage medium

    CN115884201A