Multi-medium-based dynamic ad hoc network method for WLAN (Wireless Local Area Network) network
By enabling automatic networking based on device roles and dynamic self-organizing networks using multiple media, the cumbersome networking process of wireless LANs has been resolved, enabling plug-and-play functionality and rapid self-recovery for small and medium-sized networks, and improving network stability.
Patent Information
- Application Number
- CN202411357596.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-10
AI Technical Summary
In existing wireless LANs, networking and access require configuration of each device individually or by the main control device, making the networking process cumbersome. Furthermore, wireless mesh networks are complex to set up.
By collecting device information, setting device roles, automatically forming a network, and displaying the device topology in real time, a dynamic self-organizing network is established using multiple media (wired, wireless, 4G/5G) to ensure stability and self-recovery from faults, while limiting the number of wireless hops to no more than 2.
It enables plug-and-play functionality for small and medium-sized wireless networks, improves network stability and self-recovery speed after failures, and ensures the stability and flexibility of the network structure.
Smart Images

Figure CN119300179A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for dynamically self-organizing a WLAN network based on multiple media, belonging to the technical field of wireless local area network communication. Background Art
[0002] Small wireless networks based on multiple wireless access points (APs) are the current mainstream LAN type. In most cases, these wireless access points need to be configured with related networks one by one, or the network can be configured by the main control device before it can operate normally.
[0003] In a traditional wireless local area network (WLAN), each client accesses the network through a wireless link connected to an AP, forming a local BSS. If a user needs network communication, he must first access a fixed access point (AP) before subsequent communication can be carried out.
[0004] In view of the problems of networking and access, a wireless mesh network has emerged in the wireless field. Any wireless device node can act as an AP and a router at the same time. Each node in the network can send and receive signals, and each node can communicate directly with one or more peer nodes. However, networking is a relatively cumbersome process. Summary of the invention
[0005] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method for dynamically organizing a WLAN network based on multiple media.
[0006] The purpose of the present invention is achieved through the following technical solutions:
[0007] The method of dynamic self-organizing network of WLAN network based on multiple media is characterized by comprising the following steps:
[0008] (2) Collect device information and set device roles;
[0009] (2) Each device forms an ad hoc network based on its own role;
[0010] Based on the collected information, each device automatically forms a network during operation, and displays the networked devices and topology in real time;
[0011] 2a) For the root device, as the exit device of the LAN, the root device first establishes a link with the external network. When the uplink is unobstructed, the local LAN is established, supporting both wired and wireless access. In addition, a hidden SSID is opened as the backhaul link for other wireless access devices.
[0012] 2b) For backbone devices, devices using wired networks mark their own hop count as 0, and simultaneously open the local network to support wired and wireless inputs. A hidden SSID is also opened synchronously as a backhaul link for other wireless access devices.
[0013] 2c) For common devices, if there is a wired uplink, use the wired uplink; if there is no wired link, start wireless search, find the agreed hidden SSID, access the hidden SSID as the uplink, and obtain the wireless hop count of the current device from the upper device; after confirming that the uplink is unblocked, release the SSID for the user; at the same time, confirm that the current hop count is less than 2, release the hidden SSID as the backhaul link for other devices;
[0014] 2d) For the backup root device, when it is confirmed that all uplinks are unavailable, in an emergency, its own 4G / 5G uplink is enabled, and its own LAN-side WLAN is turned on to allow some users to access, which is used as an emergency exit for the network;
[0015] (3) Monitor the normal operation of each device;
[0016] (4) Limitation on the formation of self-organizing networks on WLAN networks.
[0017] Furthermore, in the above-mentioned method for dynamic self-organizing WLAN network based on multiple media, step (1) specifically includes the following steps:
[0018] 1a) Determine whether there is any existing related configuration;
[0019] After the device is powered on, check whether there is an existing network configuration. If so, check whether the relevant uplink can be connected normally. If the connection is normal, switch to normal working mode. If the connection is not normal, go to step 1b). If there is no relevant network configuration, go directly to step 1b);
[0020] 1b) Check the network support of the device;
[0021] For newly added devices, self-check their own status and check whether the WAN side link is accessible. The link may be an optical fiber or an Ethernet interface. If it is accessible, it is marked as a root device and no other access methods are checked.
[0022] For devices without links on the WAN side, check whether they support 4G / 5G uplink and whether they are available. If available, mark them as backup root devices. At the same time, check whether the upstream side of their own wired links is unobstructed. The wired links may be optical fibers or Ethernet interfaces of FTTR. If so, mark them as backbone devices. In other cases, mark them as ordinary devices.
[0023] Furthermore, in the above-mentioned method for dynamic self-organizing WLAN network based on multiple media, step (3) specifically includes the following steps:
[0024] 3a) For the root device, monitor the link status of its own WAN side. When the link status of the WAN side is abnormal, shut down the WLAN network and subordinate FTTR links on the LAN side, and reopen them after the WAN side network is restored;
[0025] 3b) For backbone devices, monitor the status of their own uplinks. When the uplink is unavailable, search for the SSID of the backhaul link. If they can connect to the backhaul link, perform the operations of ordinary devices. Otherwise, shut down their own network and monitor the link status until the network is restored.
[0026] 3c) For other devices, when the uplink is unavailable, shut down their own network and monitor the link status until the network is restored.
[0027] Furthermore, in the above-mentioned method for dynamic self-organizing WLAN network based on multiple media, step (4) specifically includes the following steps:
[0028] 4a) Preset the SSID and corresponding key of the backhaul link to be accessed. The default key and default SSID are used for initial access.
[0029] 4b) Limit the signal strength of the backhaul link accessed from the gateway to prevent access to a backhaul link with a too weak signal;
[0030] 4c) Dynamically adjust the connection device of the backhaul link, select the device with the smallest hop number from the received SSID for connection, and the maximum hop number does not exceed 2 hops;
[0031] 4d) Each device records the path of the formed network and uses it first when starting next time;
[0032] 4e) Record the SSID-related information of other accessible backhaul links, and limit the line switching to a certain period of time when the current link does not reach the lower limit of signal quality to prevent network fluctuations.
[0033] Furthermore, in the above-mentioned method for dynamic self-organizing WLAN networks based on multiple media, the wired network is FTTR optical fiber networking or Ethernet.
[0034] Compared with the prior art, the present invention has significant advantages and beneficial effects, which are specifically embodied in the following aspects:
[0035] The present invention is based on a method for dynamic self-organizing WLAN networks of multiple media, which improves the network structure and networking stability of WLAN equipment self-organizing networks; the networking scheme is a small and medium-sized wireless network, and the wireless default does not exceed 2 hops when the relevant network equipment is networked, and there is no restriction on the wired medium. For small and medium-sized networks, automatic networking is achieved in the case of multiple link media, and plug-and-play is achieved. The stability of the self-organizing network and the speed of self-recovery after a fault are guaranteed.
[0036] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by practicing the specific embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 : Schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0039] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
[0040] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, directional terms and order terms are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0041] like Figure 1As shown in the figure, the method of dynamic self-organizing WLAN network based on multiple media, each device initializes and checks whether it has configuration, if it has configuration, it will first run according to the existing configuration; if it has no configuration, it will execute the device self-check mode to confirm its own device role; run according to its own device role and enter the normal operation state; monitor the relevant status changes in the current network environment, and update the relevant information at regular intervals, so that the network can be quickly restored after power failure, restart or other unexpected situations. The specific steps are as follows:
[0042] (1) Collect device information and set device roles;
[0043] 1a) Determine whether there is any existing related configuration;
[0044] After the device is powered on, check whether there is an existing network configuration. If so, check whether the relevant uplink can be connected normally. If the connection is normal, switch to normal working mode. If the connection is not normal, go to step 1b). If there is no relevant network configuration, go directly to step 1b);
[0045] 1b) Check the network support of the device;
[0046] For newly added devices, self-check their own status and check whether the WAN side link is accessible. The link may be an optical fiber or an Ethernet interface. If it is accessible, it is marked as a root device and no other access methods are checked.
[0047] For devices without links on the WAN side, check whether they support 4G / 5G uplink and whether they are available. If they are available, mark them as backup root devices. At the same time, check whether their own wired link uplink is unobstructed. The wired link may be the optical fiber or Ethernet interface of FTTR. If it is unobstructed, mark them as backbone devices. In other cases, mark them as ordinary devices.
[0048] (2) Each device forms an ad hoc network based on its own role;
[0049] Based on the collected information, each device automatically forms a network during operation, and displays the networked devices and related topology in real time;
[0050] 2a) Root device: As the exit device of the LAN, the root device first establishes a link with the external network. When the uplink is unobstructed, the local LAN is established, supporting both wired and wireless access. In addition, a hidden SSID is opened as the backhaul link for other wireless access devices.
[0051] 2b) Backbone equipment, using wired network (including FTTR fiber or Ethernet) equipment, marks its own hop count as 0, and opens the local network at the same time, supports wired and wireless input, and also simultaneously opens a hidden SSID as the backhaul link for other wireless access devices;
[0052] 2c) For common devices, if there is a wired uplink, use the wired uplink; if there is no wired link, start wireless search, find the agreed hidden SSID, access the hidden SSID as the uplink, and obtain the wireless hop count of the current device from the upper device; after confirming that the uplink is unblocked, release the SSID for the user; at the same time, confirm that the current hop count is less than 2, release the hidden SSID as the backhaul link for other devices;
[0053] 2d) When the backup root device is confirmed to be unavailable, in an emergency, it will enable its own 4G / 5G uplink and open its own LAN-side WLAN to allow some users to access it, which will be used as an emergency exit for the network;
[0054] (3) Processing of each device during normal operation;
[0055] 3a) For the root device, monitor the link status of its own WAN side. When the link status of the WAN side is abnormal, shut down the WLAN network and subordinate FTTR links on the LAN side, and reopen them after the WAN side network is restored;
[0056] 3b) For backbone devices, monitor the status of their own uplinks. When the uplink is unavailable, search for the SSID of the backhaul link. If they can connect to the backhaul link, perform the operations of ordinary devices. Otherwise, shut down their own network and monitor the link status until the network is restored.
[0057] 3c) For other devices, when the uplink is unavailable, shut down their own network and monitor the link status until the network is restored;
[0058] (4) Limitations of WLAN networks forming ad hoc networks;
[0059] 4a) Preset the SSID and corresponding key of the backhaul link to be accessed. The default key and default SSID are used for initial access.
[0060] 4b) Limit the signal strength of the backhaul link accessed from the gateway to prevent access to a backhaul link with a too weak signal;
[0061] 4c) Dynamically adjust the connection device of the backhaul link, select the device with the smallest hop number from the received SSID for connection, and the maximum hop number does not exceed 2 hops;
[0062] 4d) Each device records the path of the formed network and uses it first when starting next time;
[0063] 4e) To ensure the stability of the ad hoc network, record the SSID information of other accessible backhaul links, and limit the current link to a certain period of time without reaching the lower limit of signal quality, so as to prevent network fluctuations.
[0064] In summary, the present invention is based on a method for dynamic self-organizing WLAN networks of multiple media, which improves the network structure and networking stability of WLAN equipment self-organizing networks; the networking scheme is a small and medium-sized wireless network, and the wireless default does not exceed 2 hops when the relevant network equipment is networked, and there is no restriction on wired media. For small and medium-sized networks, automatic networking is achieved in the case of multiple link media, and plug-and-play is achieved. The stability of its self-organizing network and the speed of self-recovery after failure are guaranteed.
[0065] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. 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. It should be noted that similar numbers and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0066] The above is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
[0067] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A method for dynamic self-organizing WLAN network based on multiple media, characterized in that: The following steps are involved: (1) Collect device information and set device roles; (2) Each device forms an ad hoc network based on its own role; Based on the collected information, each device automatically forms a network during operation, and displays the networked devices and topology in real time; 2a) For the root device, as the exit device of the LAN, the root device first establishes a link with the external network. When the uplink is unobstructed, the local LAN is established, supporting both wired and wireless access. In addition, a hidden SSID is opened as the backhaul link for other wireless access devices. 2b) For backbone devices, devices using wired networks mark their own hop count as 0, and simultaneously open the local network to support wired and wireless inputs. A hidden SSID is also opened synchronously as a backhaul link for other wireless access devices. 2c) For common devices, if there is a wired uplink, use the wired uplink; if there is no wired link, start wireless search, find the agreed hidden SSID, access the hidden SSID as the uplink, and obtain the wireless hop count of the current device from the upper device; after confirming that the uplink is unblocked, release the SSID for the user; at the same time, confirm that the current hop count is less than 2, release the hidden SSID as the backhaul link for other devices; 2d) For the backup root device, when it is confirmed that all uplinks are unavailable, in an emergency, its own 4G / 5G uplink is enabled, and its own LAN-side WLAN is turned on to allow some users to access, which is used as an emergency exit for the network; (3) Monitor the normal operation of each device; (4) Limitation on the formation of self-organizing networks on WLAN networks.
2. The method for dynamic self-organizing WLAN network based on multiple media according to claim 1 is characterized in that: Step (1) specifically comprises the following steps: 1a) Determine whether there is any existing related configuration; After the device is powered on, check whether there is an existing network configuration. If so, check whether the relevant uplink can be connected normally. If the connection is normal, switch to normal working mode. If the connection is not normal, go to step 1b). If there is no relevant network configuration, go directly to step 1b); 1b) Check the network support of the device; For newly added devices, self-check their own status and check whether the WAN side link is accessible. The link may be an optical fiber or an Ethernet interface. If it is accessible, it is marked as a root device and no other access methods are checked. For devices without links on the WAN side, check whether they support 4G / 5G uplink and whether they are available. If available, mark them as backup root devices. At the same time, check whether the upstream side of their own wired links is unobstructed. The wired links may be optical fibers or Ethernet interfaces of FTTR. If so, mark them as backbone devices. In other cases, mark them as ordinary devices.
3. The method for dynamic self-organizing WLAN network based on multiple media according to claim 1, characterized in that: Step (3) specifically includes the following steps: 3a) For the root device, monitor the link status of its own WAN side. When the link status of the WAN side is abnormal, shut down the WLAN network and subordinate FTTR links on the LAN side, and reopen them after the WAN side network is restored; 3b) For backbone devices, monitor the status of their own uplinks. When the uplink is unavailable, search for the SSID of the backhaul link. If they can connect to the backhaul link, perform the operations of ordinary devices. Otherwise, shut down their own network and monitor the link status until the network is restored. 3c) For other devices, when the uplink is unavailable, shut down their own network and monitor the link status until the network is restored.
4. The method for dynamic self-organizing WLAN network based on multiple media according to claim 1, characterized in that: Step (4) specifically includes the following steps: 4a) Preset the SSID and corresponding key of the backhaul link to be accessed. The default key and default SSID are used for initial access. 4b) Limit the signal strength of the backhaul link accessed from the gateway to prevent access to a backhaul link with a too weak signal; 4c) Dynamically adjust the connection device of the backhaul link, select the device with the smallest hop number from the received SSID for connection, and the maximum hop number does not exceed 2 hops; 4d) Each device records the path of the formed network and uses it first when starting next time; 4e) Record the SSID-related information of other accessible backhaul links, and limit the line switching to a certain period of time when the current link does not reach the lower limit of signal quality to prevent network fluctuations.
5. The method for dynamic self-organizing WLAN network based on multiple media according to claim 1, characterized in that: The wired network is FTTR optical fiber networking or Ethernet.