A method and system for realizing fast networking of WiFi Mesh devices through a dip switch

By setting the same model of DIP switches on WiFi Mesh devices to generate channel IDs and SSIDs, automatic networking of WiFi Mesh devices is realized, which solves the problems of cumbersome networking and difficult installation, and improves installation efficiency and construction personnel's operations. Simplicity.

CN114900873BActive Publication Date: 2024-09-24WUHAN MIAOKAI NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210590252.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2024-09-24
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

The WiFi Mesh network construction process is cumbersome, requires highly skilled construction personnel and requires a networked environment on site, resulting in difficult installation and low efficiency.

Method used

By setting the same model of DIP switch on each WiFi Mesh device, setting the same DIP switch code, and generating the channel ID and SSID, the device can automatically network and achieve fast networking without the need for networking.

Benefits of technology

It simplifies the networking process, reduces the skill requirements of construction personnel and the difficulty of installation, enables equipment networking to be completed in an environment without power or networking, and improves installation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114900873B
    Figure CN114900873B
Patent Text Reader

Abstract

The present invention discloses a method for realizing fast networking of WiFi Mesh devices through a dip switch, the method comprising: setting the same number and same model of dip switches on each WiFi Mesh device; setting the same dip switch code for each WiFi Mesh device through the dip switch; each WiFi Mesh device respectively identifies and processes the dip switch code to generate a corresponding channel ID and SSID; each WiFi Mesh device scans the same channel ID and SSID, and realizes automatic networking of WiFi Mesh devices according to the same channel ID and SSID. The present invention adds a dip switch to each WiFi Mesh device that needs to be networked, and by setting the same dip switch code, the channel ID and SSID of each WiFi Mesh device are consistent, realizing automatic networking of WiFi Mesh devices, the whole process is intuitive and easy to operate, can quickly realize WiFi Mesh device networking, avoids the cumbersome networking configuration process, can solve the debugging complexity problem of on-site installers, and greatly reduces the skill requirements and installation difficulty of construction personnel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of Internet of Things, and in particular relates to a method and a system for realizing rapid networking of WiFi Mesh devices through a DIP switch. Background Art

[0002] WiFi Mesh network is different from traditional AC+AP WiFi network, where AP is centrally managed by AC. All nodes in WiFi Mesh network are connected to each other, and each node is connected to at least one other node, forming an integrated network between all nodes. In this network, nodes are all on the same channel and have the same SSID. Nodes can freely find nodes with the best signal to connect and transmit data, and the network can heal itself. Due to these characteristics, it is widely used in the Internet of Things (using the 2.4G frequency band), and the most typical application is smart home device application.

[0003] Smart homes generally include single-channel or multi-channel smart switches, smart on-off switches, smart remote controls, smart gateways, smart voice and other devices. The number of networking devices is generally between a few and dozens, and the workload of engineering installation and networking debugging is relatively large. Under normal circumstances, the networking of WiFi Mesh networks requires networking configuration based on the device MAC address on the system background or on-site networking configuration using a dedicated APP, which not only requires construction personnel to have high skills, but also requires an on-site networking environment, which brings many inconveniences to on-site networking debugging.

[0004] Therefore, a simple and easy WiFi Mesh fast networking solution is needed to meet the construction needs of intelligent systems in some occasions and industries. Summary of the invention

[0005] In view of this, the present invention proposes a method and system for realizing rapid networking of WiFi Mesh devices through a DIP switch, which is used to solve the problem of complicated configuration when networking WiFi Mesh devices.

[0006] In a first aspect, the present invention discloses a method for realizing fast networking of WiFi Mesh devices by using a dip switch, the method comprising:

[0007] Set the same number and model of dip switches on each WiFi Mesh device;

[0008] Set the same dip switch code for each WiFi Mesh device via the dip switch;

[0009] Each WiFi Mesh device identifies and processes the DIP switch code to generate the corresponding channel ID and SSID;

[0010] Each WiFi Mesh device scans the same channel ID and SSID, and automatically forms a network of WiFi Mesh devices based on the same channel ID and SSID.

[0011] On the basis of the above technical solution, preferably, the same number and same model of dip switches are set on each WiFi Mesh device as follows:

[0012] Set up at least 2 10-position dip switches on each WiFi Mesh device.

[0013] Based on the above technical solution, preferably, the same dip switch code is set for each WiFi Mesh device through the dip switch:

[0014] For each WiFi Mesh device, the combination of the code values ​​on each dip switch is the dip switch code of the corresponding WiFi Mesh device;

[0015] Set the DIP switch codes of different WiFi Mesh devices to the same.

[0016] On the basis of the above technical solution, preferably, each WiFi Mesh device identifies and processes the DIP switch code respectively, and generates the corresponding channel ID and SSID specifically including:

[0017] Identify the DIP switch code through the I / O interface of the MCU on the WiFi Mesh device;

[0018] Take the modulus of 13 from the DIP switch code, and the remainder is the channel ID of the WiFi Mesh device.

[0019] The SSID of the WiFi Mesh device is: fixed prefix + DIP switch code.

[0020] Based on the above technical solution, preferably, the conditions for the automatic networking of the WiFi Mesh device are:

[0021] The WiFi channel ID of WiFi Mesh devices within a certain distance must be the same on the same channel, and the SSID of the WiFi Mesh devices must be the same.

[0022] On the basis of the above technical solution, preferably, in order to avoid adjacent channel interference, when setting the dip switch codes of adjacent WiFi Mesh devices that need to be networked, the remainders of the dip switch codes of the adjacent WiFi Mesh devices that need to be networked after taking the remainder of 13 are different.

[0023] On the basis of the above technical solution, preferably, each WiFi Mesh device scans the same channel ID and SSID, and according to the same channel ID and SSID, the automatic networking is realized specifically including:

[0024] WiFi Mesh devices scan SSIDs periodically when they are powered on and during operation, looking for devices with the same SSID. Only WiFi Mesh devices with the same channel ID and SSID will be scanned;

[0025] Automatically calculate the WiFi signal strength of the scanned WiFi Mesh devices;

[0026] Select the WiFi Mesh device with the strongest signal to access the network;

[0027] Continue to search for devices with the same SSID until all WiFiMesh devices with the same channel ID and SSID within the scanning range form a WiFi Mesh network.

[0028] Based on the above technical solution, preferably, each device will record the corresponding MAC address when it joins the network, and maintain a MAC address list. When a new WiFi Mesh device joins or a WiFi Mesh device exits the mesh network, the MAC address list is automatically maintained.

[0029] On the basis of the above technical solution, preferably, the method further comprises:

[0030] The WiFi Mesh device is calibrated and named according to its MAC address, so that operators can identify the device and control it.

[0031] In a second aspect of the present invention, a system for realizing rapid networking of WiFi Mesh devices through a dip switch is provided, the system comprising: a plurality of WiFi Mesh devices and a plurality of dip switches;

[0032] Wherein, a plurality of dip switches of the same number and model are set on each WiFi Mesh device, and the dip switches on each WiFi Mesh device have the same coding;

[0033] Each WiFi Mesh device communicates with the corresponding DIP switch through the MCU's I / O interface;

[0034] The WiFi Mesh device is used to identify and process the DIP switch codes through the MCU's I / O interface, generate the corresponding channel ID and SSID, scan the same channel ID and SSID, and realize automatic networking of WiFi Mesh devices based on the same channel ID and SSID.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] 1) The present invention adds a dip switch to each WiFi Mesh device that needs to be networked. By setting the same dip switch code, the channel ID and SSID of each WiFi Mesh device are consistent, and the WiFi Mesh device is automatically networked. The whole process is intuitive and easy to operate, and the WiFi Mesh device networking can be quickly realized;

[0037] 2) The present invention can be completed without power supply, and does not even require an on-site networking environment. Installers can put devices in the same MESH network without using any computers or mobile devices or other network distribution tools, thus avoiding the tedious networking configuration process, solving the debugging complexity problem for on-site installers, and greatly reducing the skill requirements and installation difficulty for construction personnel, which has good promotion value. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0039] Figure 1 This is a flow chart of a method for realizing fast networking of WiFi Mesh devices through a DIP switch in the present invention;

[0040] Figure 2 This is a structural schematic diagram of setting two 10-bit DIP switches on a WiFi Mesh device in the present invention;

[0041] Figure 3 Flowchart for automatic networking of WiFi Mesh devices. DETAILED DESCRIPTION

[0042] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] See also Figure 1 The present invention proposes a method for realizing fast networking of WiFi Mesh devices by using a dip switch, the method comprising:

[0044] S1. Set the same number and model of dip switches on each WiFi Mesh device.

[0045] like Figure 2 As shown, it is generally recommended to use at least two 10-bit dip switches on each WiFi Mesh device. Two 10-bit dip switches can provide 99 codes from 01 to 99. The combination of two 10-bit dip switches can basically meet the needs of smart home use in most occasions. If three 10-bit dip switches are used, a total of 999 codes from 001 to 999 can be provided, which fully meets the needs of all WiFi Mesh occasions.

[0046] S2. Set the same dip switch code for each WiFi Mesh device through the dip switch.

[0047] For each WiFi Mesh device, the combination of the code values ​​on each dip switch is the dip switch code of the corresponding WiFi Mesh device. For example, if two dip switches are set to 1 and 5 respectively, the code number is 15. Set the dip switch codes of different WiFi Mesh devices that need to form a network to be the same.

[0048] S3. Each WiFi Mesh device recognizes and processes the DIP switch code to generate a corresponding channel ID and SSID.

[0049] Within a certain distance range, the conditions for WiFi Mesh devices to automatically form a network are:

[0050] (1) The WiFi channel ID of WiFi Mesh devices must be the same on the same channel;

[0051] (2) The SSIDs of WiFi Mesh devices are the same.

[0052] By setting the same dip switch code for each WiFi Mesh device, the same channel ID and SSID can be generated. The principle is:

[0053] The dip switch has an I / O interface with the MCU on the WiFi Mesh device. By programming to match the I / O interface of the MCU on the WiFi Mesh device, the WiFi Mesh device identifies the dip switch code through the I / O interface of the MCU.

[0054] After identifying the DIP switch code, the WiFi Mesh device automatically generates the channel ID and SSID.

[0055] The modulo processing is performed on the code pair of the dip switch by 13, and the remainder is the channel ID of the WiFi Mesh device. The modulo processing is performed on the code pair of the dip switch by 13 because there are 13 available channels in total.

[0056] For example, if the two dip switches of a WiFi Mesh device are set to 1 and 5 respectively, the dip switch code is 15, the remainder is 2, and the channel ID assigned to this device is 2. Similarly, if the two dip switches of a WiFi Mesh device are set to 2 and 0 respectively, the dip switch code is 20, the remainder is 7, and the channel ID is 7.

[0057] To avoid interference between adjacent channels, the codes of the adjacent WiFi Mesh devices that need to be networked can be set to 20 (remainder 7, channel 7) and 25 (remainder 12, channel 12), and channels 2, 7, and 12 are non-overlapping channel combinations. In general, adjacent channels can have different channel IDs within 100 meters, but there is no such restriction if the channel IDs are more than 100 meters. Even if the channel IDs are the same, they will not interfere with each other.

[0058] The SSID of a WiFi Mesh device is: fixed prefix + DIP switch code. For example, the SSID of a device with a code number of 15 is: MQ-15, where "MQ-" is the prefix and "15" is the code.

[0059] Therefore, as long as the same dip switch code is set for a group of WiFi Mesh devices, the WiFi Mesh devices will assign the same WiFi channel ID and SSID to them, and they can automatically complete the Mesh networking.

[0060] S4. Each WiFi Mesh device scans the same channel ID and SSID, and automatically forms a WiFi Mesh network based on the same channel ID and SSID.

[0061] After manually setting the DIP switch code, power on the WiFi Mesh device, and the WiFi Mesh device will generate the corresponding channel ID and SSID to automatically complete the networking work.

[0062] Figure 3The figure shows the automatic networking flow chart of WiFi Mesh devices, and the corresponding step S4 specifically includes the following sub-steps:

[0063] S41. WiFi Mesh devices scan SSIDs regularly when they are powered on and during operation to find devices with the same SSID. Only WiFi Mesh devices with the same channel ID and SSID will be scanned.

[0064] S42, automatically calculating the WiFi signal strength of the scanned WiFi Mesh device;

[0065] S43. Select the WiFi Mesh device with the strongest signal to access the network;

[0066] S44, the newly added WiFi Mesh device continues to scan the same SSID, selects the device with the strongest signal to join the network (filters the devices that have already joined the network), and repeats the operations of S42 and S43 until all WiFi Mesh devices with the same SSID and channel ID within the nearby scanning range form a WiFi Mesh network.

[0067] When each device joins the network, the corresponding MAC address will be recorded and a MAC address list will be maintained. When a new WiFi Mesh device joins or a WiFi Mesh device exits the Mesh network, the MAC address list will be automatically maintained.

[0068] Since the SSID is the same, each device connected to the network will also record the corresponding MAC address. The system will automatically maintain this MAC table when a new device joins or leaves the mesh network.

[0069] In addition, in the system management background, you can also calibrate the device attributes (such as device type, model, installation location, etc.) and name it according to the MAC address of the WiFi Mesh device, so that operators can identify the device and control it.

[0070] Corresponding to the above method embodiment, the present invention discloses a system for realizing fast networking of WiFi Mesh devices through a dip switch, the system comprising: a plurality of WiFi Mesh devices and a plurality of dip switches;

[0071] Wherein, a plurality of dip switches of the same number and model are set on each WiFi Mesh device, and the dip switches on each WiFi Mesh device have the same coding;

[0072] Each WiFi Mesh device communicates with the corresponding DIP switch through the MCU's I / O interface;

[0073] The WiFi Mesh device is used to identify and process the DIP switch codes through the MCU's I / O interface, generate the corresponding channel ID and SSID, scan the same channel ID and SSID, and realize automatic networking of WiFi Mesh devices based on the same channel ID and SSID.

[0074] The above system embodiments are implemented based on the above method embodiments. Please refer to the method embodiments for a brief description of the system embodiments.

[0075] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be distributed to multiple network units. A person skilled in the art may select some or all of the modules according to actual needs to achieve the purpose of the solution of this embodiment without creative effort.

[0076] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for realizing fast networking of WiFi Mesh devices through a dip switch, characterized in that: The method comprises: Set the same number and model of dip switches on each WiFi Mesh device; Set the same dip switch code for each WiFi Mesh device via the dip switch; Each WiFi Mesh device identifies and processes the DIP switch code to generate the corresponding channel ID and SSID; Each WiFi Mesh device scans the same channel ID and SSID, and automatically forms a WiFi Mesh network based on the same channel ID and SSID; The specific steps of setting the same number and model of DIP switches on each WiFi Mesh device are as follows: Set at least 2 10-bit dip switches on each WiFi Mesh device; The specific method of setting the same dip switch code for each WiFi Mesh device through the dip switch is: For each WiFi Mesh device, the combination of the code values ​​on each dip switch is the dip switch code of the corresponding WiFi Mesh device; Set the DIP switch codes of different WiFi Mesh devices to the same; Each WiFi Mesh device identifies and processes the DIP switch code to generate the corresponding channel ID and SSID, specifically including: Identify the DIP switch code through the I / O interface of the MCU on the WiFi Mesh device; Take the modulus of 13 from the DIP switch code, and the remainder is the channel ID of the WiFi Mesh device. The SSID of the WiFi Mesh device is: fixed prefix + DIP switch code; The conditions for the automatic networking of the WiFi Mesh device are: Within a certain distance range, the WiFi Mesh devices must have the same WiFi channel ID in the same channel, and the WiFi Mesh devices must have the same SSID; In order to avoid interference between adjacent channels, when setting the DIP switch codes of the adjacent WiFi Mesh devices that need to be networked, make the remainders of the DIP switch codes of the adjacent WiFi Mesh devices that need to be networked different after taking the remainder of 13; Each WiFi Mesh device scans the same channel ID and SSID, and the automatic networking is realized according to the same channel ID and SSID, specifically including: WiFi Mesh devices scan SSIDs periodically when they are powered on and during operation, looking for devices with the same SSID. Only WiFi Mesh devices with the same channel ID and SSID will be scanned; Automatically calculate the WiFi signal strength of the scanned WiFi Mesh devices; Select the WiFi Mesh device with the strongest signal to access the network; Continue to search for devices with the same SSID until all WiFi Mesh devices with the same channel ID and SSID within the scanning range form a WiFi Mesh network; When each device joins the network, the corresponding MAC address will be recorded and a MAC address list will be maintained. When a new WiFi Mesh device joins or a WiFi Mesh device exits the mesh network, the MAC address list will be automatically maintained; The method further comprises: The WiFi Mesh device is calibrated and named according to its MAC address, so that operators can identify the device and control it.

2. A system for realizing fast networking of WiFi Mesh devices through a dip switch using the method of claim 1, characterized in that: The system includes: a plurality of WiFi Mesh devices and a plurality of dip switches; Wherein, a plurality of dip switches of the same number and model are set on each WiFi Mesh device, and the dip switch codes on each WiFi Mesh device are the same; Each WiFi Mesh device communicates with the corresponding DIP switch through the MCU's I / O interface; The WiFi Mesh device is used to identify and process the DIP switch codes through the MCU's I / O interface, generate the corresponding channel ID and SSID, scan the same channel ID and SSID, and realize automatic networking of WiFi Mesh devices based on the same channel ID and SSID.