An Internet of Things System Based on Dual-Band Wi-Fi Mesh Technology
By introducing dual-band Wi-Fi Mesh technology and intelligent control modules into Wi-Fi Internet of Things systems, the defect of existing systems not supporting Mesh networks and high frequency bands is solved, and efficient, stable and flexible resource utilization of the network is achieved, and application scenarios that meet high bandwidth requirements are met.
Patent Information
- Application Number
- CN202411105863.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2025-04-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing Wi-Fi Internet of Things system does not support Mesh networks, and only supports single-frequency 2.4G frequency band, which cannot meet the application scenarios of high bandwidth requirements, and does not support compatible use of AP and Mesh interfaces.
Design an IoT system based on dual-band Wi-Fi Mesh technology, adopting several dual-band Mesh nodes, AP interfaces and control modules. Through the coordinated work of the acquisition unit, judgment unit, processing unit and adjustment unit, it automatically identifies whether the device supports the Mesh protocol, and flexibly selects the Mesh or AP connection mode according to the task requirements and status of the device, and dynamically adjusts the connection frequency band and channel.
The network coverage is expanded through dual-band Mesh technology, which improves the redundancy and stability of the network, supports the compatible operation of AP and Mesh interfaces, realizes the optimal utilization of network resources and the best experience of device access, avoids frequency band conflicts and bandwidth bottlenecks, and ensures efficient data transmission.
Smart Images

Figure CN118695334B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to an Internet of Things system based on dual-band Wi-Fi Mesh technology. Background Art
[0002] With the rapid development of the Internet of Things (IoT), more and more devices need to be connected to the Internet to achieve intelligent control and data transmission. However, the traditional Wi-Fi network architecture has many limitations when dealing with large-scale device access and high-density application scenarios. For example, in homes, offices, and industrial environments, the access of a large number of devices can lead to network congestion, signal interference, and insufficient bandwidth. In order to solve these problems, Wi-Fi Mesh technology came into being. Wi-Fi Mesh technology is a multi-hop wireless network architecture that connects multiple Mesh nodes to form a self-organizing, self-healing network. Compared with traditional single access point (AP) networks, Mesh networks can provide wider coverage and higher redundancy, significantly improving the reliability and stability of the network.
[0003] However, many current Wi-Fi networks only support the 2.4GHz frequency band, which makes channel conflicts and interference problems prone to occur in high-density environments. Although the 5GHz frequency band can provide higher bandwidth and less interference, its coverage is relatively small and its signal penetration is weak. In addition, in traditional Wi-Fi networks, devices can usually only connect to one AP or router, and the fixed access mode lacks flexibility and efficiency in multi-device and dynamic network environments. Many IoT devices and systems can only use one of the AP interface or the Mesh interface, and cannot take advantage of the advantages of both for optimization.
[0004] Therefore, it is necessary to design an Internet of Things system based on dual-band Wi-Fi Mesh technology to solve the problems existing in current technology. Summary of the invention
[0005] In view of this, the present invention proposes an Internet of Things system based on dual-band Wi-Fi Mesh technology, aiming to solve the problem that the current common Wi-Fi Internet of Things system does not support Mesh, or even if it does, it only has a single-band 2.4G, does not support 5G, cannot meet application scenarios with high bandwidth requirements, and does not support other interfaces.
[0006] The present invention proposes an Internet of Things system based on dual-band Wi-Fi Mesh technology, comprising:
[0007] A plurality of dual-band Mesh nodes, an AP interface and a control module, wherein the control module is electrically connected to the plurality of dual-band Mesh nodes and the AP interface, and the control module comprises:
[0008] A collection unit is configured to collect protocol information of a device to be connected, and determine whether to perform a network access mode judgment according to the protocol information; when the device to be connected has a Mesh protocol, determine to perform a network access mode judgment;
[0009] A judgment unit is configured to collect a task list of the device to be connected, obtain a task score according to the task list and the state of the device to be connected, and determine a network access mode according to the task score;
[0010] A processing unit, configured to determine the frequency band and channel for the device to be connected to be connected according to the state of the device to be connected, the relationship between the task score and the historical task status when the judgment unit determines to adopt the Mesh node connection;
[0011] The adjustment unit is configured to collect real-time task transmission conditions after the processing unit determines the frequency band and channel to which the device to be connected is connected, and determine whether to adjust the frequency band and channel to which the device to be connected is connected according to the transmission conditions.
[0012] Further, when the acquisition unit determines whether to perform network access mode judgment according to the protocol information, it includes:
[0013] The acquisition unit traverses the protocol information;
[0014] When the protocol information includes the Mesh protocol, the collection unit determines to perform network access mode judgment;
[0015] When the protocol information does not include the Mesh protocol, the acquisition unit determines not to perform network access mode judgment, and controls the device to be connected to access the network through the AP interface.
[0016] Further, when the acquisition unit determines not to perform network access mode judgment and controls the device to be connected to access the network through the AP interface, it includes:
[0017] The AP interface receives a detection request frame of the device to be connected, and parses and verifies the detection request frame;
[0018] After the AP interface verifies that the detection request frame is qualified, it sends a detection response frame to the device to be connected, allowing the device to be connected to access the network through the AP interface and collect the signal quality of the device to be connected, determines the frequency band of the device to be connected according to the signal quality, and determines the channel of the device to be connected according to the real-time channel interference.
[0019] Further, when the acquisition unit determines to perform network access mode judgment, it includes:
[0020] The judgment unit collects the task list of the device to be connected, and obtains a task score according to the task list and the state of the device to be connected. The task score is calculated by the following formula:
[0021]
[0022] Among them, R represents the task score, Q represents the signal strength of the device to be connected, B represents the amount of tasks in the task list, L represents the delay sensitivity of the device to be connected, a, b, c represent weight coefficients, and α and β represent exponents for controlling the nonlinear strength of the power function.
[0023] Further, when the judgment unit determines the network access mode according to the task score, it includes:
[0024] The judgment unit compares the task score with a preset task score threshold, and determines the network access mode according to the comparison result;
[0025] When the task score is greater than the task score threshold, the judgment unit determines that the device to be connected accesses the network through the dual-band Mesh node;
[0026] When the task score is less than or equal to the task score threshold, the judgment unit determines that the device to be connected accesses the network through the AP interface.
[0027] Further, when the processing unit determines the frequency band and channel to which the device to be connected is connected according to the state of the device to be connected, the relationship between the task score and the historical task situation, it includes:
[0028] The historical task status includes the task score of the historical task, the status of the device to be connected in the historical task, and the frequency band and channel for processing the historical task;
[0029] The processing unit establishes a cluster set, the cluster set includes the state of the device to be connected, the task score, the task score of the historical task and the state of the device to be connected in the historical task, and each group of device states in the cluster set corresponds to the task score;
[0030] Determine the expected number of clusters k, k=2, and randomly select two data points as the initial cluster centers;
[0031] Calculate the distance between each remaining data point in the cluster set and the initial cluster center, and assign the data point to the nearest cluster center;
[0032] Update the center of each cluster to the mean of all data points assigned to the cluster;
[0033] Repeat the calculation and allocation steps until the cluster center no longer changes or the maximum number of iterations is reached;
[0034] When the historical task situations include tasks in the same cluster as the current task situation, the processing unit establishes the historical task situations in the same cluster as the current task situation as a similar set, and determines the frequency band and channel to which the device to be connected is connected according to the similar set;
[0035] When the historical task situation does not include the same cluster as the current task situation, the processing unit obtains the commonly used frequency bands and channels in processing historical tasks according to the historical task situation, and uses the commonly used frequency bands and channels as the frequency bands and channels for connecting the device to be connected.
[0036] Further, when the processing unit determines the frequency band and channel to which the to-be-connected device is connected according to the similarity set, it includes:
[0037] The processing unit obtains the similarity between the current task situation and each historical task in the similarity set according to the state of the device to be connected and the task score, and selects the historical task situation with the greatest similarity to determine the frequency band and channel for the device to be connected.
[0038] Furthermore, the similarity is calculated by the following formula:
[0039]
[0040] in, represents similarity, R represents task score, Ri represents the score of the ith task in the similarity set, Zj represents the jth state index in the state of the device to be connected, Zij represents the jth state index in the ith device in the similarity set, w1 and w2 represent weight coefficients, and w1+w2=1, and m represents the number of device states.
[0041] Furthermore, the adjustment unit collects the real-time task transmission status, and determines whether to adjust the frequency band and channel to which the device to be connected is connected according to the transmission status, including:
[0042] The adjustment unit collects the real-time task transmission speed, and compares the task transmission speed with a preset transmission speed threshold, and determines whether to adjust the frequency band and channel of the device to be connected according to the comparison result;
[0043] When the real-time task transmission speed is less than the transmission speed threshold, the adjustment unit determines to adjust the frequency band and channel of the device to be connected;
[0044] When the real-time task transmission speed is greater than or equal to the transmission speed threshold, the adjustment unit determines not to adjust the frequency band and channel to which the to-be-connected device is connected.
[0045] Further, when the adjustment unit determines to adjust the frequency band and channel to which the to-be-connected device is connected, it includes:
[0046] The adjustment unit controls the device to be connected to change the connection channel under the current connection frequency band, and collects the real-time task transmission speed;
[0047] When the real-time task transmission speed is still less than the transmission speed threshold, the adjustment unit controls the device to be connected to disconnect the current connection frequency band and select another frequency band for connection in the current network access mode.
[0048] Compared with the prior art, the beneficial effect of the present invention is that the use of dual-frequency Mesh nodes not only expands the network coverage, but also improves the redundancy and stability of the network through multi-hop transmission and automatic routing selection. It supports the operation of both AP and Mesh interfaces at the same time, allowing the device to use the high-performance connection of the AP mode when needed, while using the flexible scalability and self-organizing ability of the Mesh mode. It takes advantage of different interfaces to achieve the optimal utilization of network resources and the best experience of device access. Through the collaborative work of the acquisition unit and the judgment unit, it automatically identifies whether the device to be connected supports the Mesh protocol, and flexibly chooses whether to use Mesh connection or AP connection according to the task requirements and status of the device. Compared with the single fixed access mode in the traditional network, the utilization efficiency of network resources and the flexibility of device access are improved. The processing unit determines the best connection frequency band and channel based not only on the task score and status of the device, but also on the historical task data. It effectively avoids frequency band conflicts and bandwidth bottlenecks and ensures efficient data transmission. The adjustment unit automatically adjusts the connection frequency band and channel of the device by continuously monitoring the transmission of real-time tasks when the network performance decreases or the device requirements change. This ensures that the network can respond to dynamic changes in a timely manner and maintain optimal transmission effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0050] Figure 1 A structural block diagram of an Internet of Things system based on dual-band Wi-Fi Mesh technology provided by an embodiment of the present invention;
[0051] Figure 2 This is a functional block diagram of a control module in an Internet of Things system based on dual-band Wi-Fi Mesh technology provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0053] With the rapid development of the Internet of Things (IoT), more and more devices in homes, offices, industries and other environments need to access the Internet to achieve intelligent control, data transmission and automated operation. Typical application scenarios include smart homes, industrial automation, smart cities, etc. In each scenario, hundreds of devices require stable and efficient network connections to achieve real-time data interaction and response. However, the traditional Wi-Fi network architecture has shown its limitations when facing these high-density and high-demand scenarios: in a high-density device access environment, a large number of devices compete for limited network resources, resulting in network congestion, which in turn causes connection delays and low data transmission efficiency. Especially in the traditional 2.4GHz frequency band, channel resources are limited and susceptible to interference, and signal conflicts and interference between devices are particularly serious. Many existing IoT devices can only work in AP mode or Mesh mode, and cannot take advantage of the advantages of both modes at the same time. This limitation prevents network resources from being optimally allocated and utilized. In addition, most traditional Wi-Fi networks rely on a single 2.4GHz frequency band, which provides good coverage, but when facing applications with high bandwidth requirements, such as high-definition video streaming and real-time monitoring, the 2.4GHz frequency band is stretched. Although the 5GHz band can provide higher bandwidth and lower interference, its coverage is relatively small and its signal penetration is weak, making it difficult to ensure a stable connection in some complex environments. Traditional Wi-Fi networks usually rely on a single access point (AP) or router, and devices can only connect to a fixed AP. This architecture is difficult to respond quickly when the device moves or the network changes dynamically, resulting in connection interruption or performance degradation. Especially in large buildings, industrial environments, or scenarios that require seamless roaming, the fixed AP mode cannot meet the needs of efficient access for multiple devices. Therefore, it is necessary to design an IoT system based on dual-band Wi-Fi Mesh technology to solve the current problems.
[0054] In some embodiments of the present application, see Figure 1-2As shown, an Internet of Things system based on dual-band Wi-Fi Mesh technology includes: a plurality of dual-band Mesh nodes, an AP interface and a control module, wherein the control module is electrically connected to the plurality of dual-band Mesh nodes and the AP interface.
[0055] The collection unit is configured to collect protocol information of the device to be connected, and determine whether to perform network access mode judgment according to the protocol information. When the device to be connected has the Mesh protocol, it is determined to perform network access mode judgment.
[0056] The judgment unit is configured to collect a task list of the device to be connected, obtain a task score according to the task list and the state of the device to be connected, and determine a network access mode according to the task score.
[0057] The processing unit is configured to determine the frequency band and channel for the device to be connected according to the relationship between the state of the device to be connected, the task score and the historical task status when the judgment unit determines to adopt the Mesh node connection.
[0058] The adjustment unit is configured to collect real-time task transmission conditions after the processing unit determines the frequency band and channel to which the device to be connected is connected, and determine whether to adjust the frequency band and channel to which the device to be connected is connected according to the transmission conditions.
[0059] Specifically, the control module is responsible for coordinating and managing the connection and resource allocation of the entire system. It is electrically connected to the dual-band Mesh node and the AP interface, and contains multiple submodules, each responsible for different functions. The acquisition unit collects the protocol information of the device to be connected (such as the supported Wi-Fi protocol, frequency band, etc.) to determine whether the device supports the Mesh protocol. If the device supports the Mesh protocol, it is considered that the device can participate in the connection and communication of the Mesh network, otherwise it is connected to the network through the AP interface as a normal device. The judgment unit collects the task list and device status of the device to be connected and calculates the task score. According to the task list (such as the task priority, data transmission volume, delay requirements, etc. of the device) and the device status (such as power, signal strength, etc.), the judgment unit calculates a task score. It is used to determine which network access mode (Mesh connection or AP connection) the device should use to access the network. When the judgment unit determines that the device is connected through Mesh, the processing unit is responsible for selecting the appropriate frequency band and channel. The processing unit selects the best frequency band and channel based on the task score, current status and historical task data of the device. Historical task data helps the processing unit understand which frequency band and channel combinations are most suitable for the connection needs of the current device under similar conditions. After the device is connected to the specified frequency band and channel, the adjustment unit is responsible for monitoring the transmission performance of the device and adjusting the connection parameters when necessary. By monitoring the transmission status of the device in real time (such as throughput, latency, packet loss rate, etc.), the adjustment unit determines whether the current connection meets the expected performance. If problems are found, the frequency band and channel are dynamically adjusted to optimize the transmission effect. This ensures the continuous and efficient operation of the network and adapts to the ever-changing network conditions and device requirements.
[0060] It is understandable that the IoT system based on dual-band Wi-Fi Mesh technology integrates network management and optimization technologies, and solves the challenges faced by traditional Wi-Fi networks in high-density device access and dynamic environments through intelligent access selection, optimized resource allocation and real-time adjustment mechanisms. Dual-band Mesh nodes expand network coverage and improve network reliability and redundancy through multi-hop transmission and automatic routing. Compared with the single AP mode, the Mesh network can better adapt to large environments and dynamic device distribution. According to the protocol support and task requirements of the device, Mesh or AP is intelligently selected as the network access mode. Flexible access methods enable the network to use resources more efficiently and meet the connection needs of different devices. The processing unit intelligently selects the best frequency band and channel based on the current and historical tasks of the device. It helps to avoid frequency band conflicts and insufficient bandwidth problems and ensure efficient transmission of the network. The adjustment unit automatically adjusts the connection parameters when network conditions change by continuously monitoring and analyzing the transmission performance of the device. It ensures the continuous stability and efficient operation of the network, especially when the device moves or the environment changes.
[0061] In some embodiments of the present application, when the collection unit determines whether to perform network access mode judgment according to the protocol information, it includes: the collection unit traverses the protocol information. When the protocol information includes the Mesh protocol, the collection unit determines to perform network access mode judgment. When the protocol information does not include the Mesh protocol, the collection unit determines not to perform network access mode judgment, and controls the device to be connected to access the network through the AP interface.
[0062] In some embodiments of the present application, when the acquisition unit determines not to perform network access mode judgment and controls the device to be connected to access the network through the AP interface, it includes: the AP interface receives the detection request frame of the device to be connected, and parses and verifies the detection request frame. After the AP interface verifies that the detection request frame is qualified, it sends a detection response frame to the device to be connected, allowing the device to be connected to access the network through the AP interface and collect the signal quality of the device to be connected, determining the frequency band of the device to be connected according to the signal quality, and determining the channel of the device to be connected according to the real-time channel interference.
[0063] It is understandable that the acquisition unit will traverse the protocol information of the device to be connected and check whether the device supports the Mesh protocol. If the protocol information contains the Mesh protocol, it means that the device supports Mesh network connection, and further network access mode judgment will be performed to determine the specific connection frequency band and channel. If the protocol information does not contain the Mesh protocol, the system directly determines that the device does not support Mesh connection, and controls the device to connect through the AP interface (i.e., the traditional Wi-Fi access point). When the device attempts to connect to the network through the AP interface, it sends a probe request frame. After receiving the request, the AP interface verifies the device. The AP interface parses the content of the probe request frame and checks the basic information and request parameters of the device. Verify whether the request frame meets the access requirements of the AP (such as the correct SSID, encryption method, etc.). If the verification is successful, the AP interface will send a probe response frame to the device to be connected, indicating that the device can continue to connect. During the device connection process, the AP interface will collect the signal quality of the device (such as signal strength, stability, etc.). Based on the collected signal quality, the AP interface determines the connection frequency band of the device. Generally, when the signal is weak, the 2.4GHz band is selected to obtain wider coverage, and when the signal is strong, the 5GHz band is selected to provide higher bandwidth. The AP interface will also select the most suitable wireless channel for connection based on the real-time channel usage to avoid channel interference and improve connection quality.
[0064] It is understandable that by determining whether the device supports the Mesh protocol, it is compatible with a wider range of devices, including those that only support traditional Wi-Fi connections. Automatically detect and determine the protocol capabilities of the device without the need for users to perform complex manual configuration. It simplifies the process of device access and improves user experience and system availability. In AP mode, the best frequency band and channel are dynamically selected based on the real-time collected signal quality and channel usage. It effectively reduces signal interference and improves network stability and transmission performance, especially in high-density device environments.
[0065] In some embodiments of the present application, when the collection unit determines to perform network access mode judgment, it includes: the judgment unit collects a task list of the device to be connected, obtains a task score according to the task list and the state of the device to be connected, and the task score is calculated by the following formula:
[0066]
[0067] Among them, R represents the task score, Q represents the signal strength of the device to be connected, B represents the amount of tasks in the task list, L represents the delay sensitivity of the device to be connected, a, b, c represent weight coefficients, and α and β represent exponents that control the nonlinear strength of the power function.
[0068] In some embodiments of the present application, when the judgment unit determines the network access mode according to the task score, it includes: the judgment unit compares the task score with a preset task score threshold, and determines the network access mode according to the comparison result.
[0069] Specifically, when the task score is greater than the task score threshold, the judgment unit determines that the device to be connected accesses the network through the dual-band Mesh node. When the task score is less than or equal to the task score threshold, the judgment unit determines that the device to be connected accesses the network through the AP interface.
[0070] It is understandable that the most suitable connection mode is intelligently selected by dynamically calculating the task score according to the actual task requirements and status of the device. This enables the system to automatically adjust the connection mode to provide the best network service when facing various complex devices and tasks. For devices with high task requirements, Mesh nodes are preferred. This multi-hop self-organizing network provides higher stability and performance, and is suitable for application scenarios that require high bandwidth and low latency, such as video surveillance and real-time data transmission. For devices with general task requirements, the AP interface is selected, using its wide compatibility and simple connection characteristics to ensure that the device can quickly and conveniently access the network, which is suitable for common low-bandwidth or latency-insensitive tasks, such as environmental monitoring and general data upload. By reasonably allocating devices to different connection modes, network resources are effectively utilized, and devices with high task requirements and low task requirements are prevented from competing for the same network resources, thereby optimizing the overall network utilization efficiency and performance. The weight coefficient and index parameter in the task score calculation formula can be adjusted according to the actual application scenario, so that the system can flexibly adapt to different application environments and demand changes.
[0071] In some embodiments of the present application, when the processing unit determines the frequency band and channel for the device to be connected based on the relationship between the status of the device to be connected, the task score and the historical task status, it includes: the historical task status includes the task score of the historical task, the status of the device to be connected in the historical task, and the frequency band and channel for processing the historical task.
[0072] Specifically, the processing unit establishes a cluster set, which includes the status of the device to be connected, the task score, the task score of the historical task, and the status of the device to be connected in the historical task, and each group of device status in the cluster set corresponds to the task score.
[0073] Determine the expected number of clusters k, k=2, and randomly select two data points as the initial cluster centers.
[0074] Calculate the distance from each remaining data point in the cluster set to the initial cluster center and assign the data point to the nearest cluster center.
[0075] Update the center of each cluster to the mean of all data points assigned to that cluster.
[0076] The calculation and assignment steps are repeated until the cluster center no longer changes or the maximum number of iterations is reached.
[0077] When the historical task situations include those in the same cluster as the current task situation, the processing unit establishes the historical task situations in the same cluster as the current task situation as a similarity set, and determines the frequency band and channel to which the to-be-connected device is connected according to the similarity set.
[0078] When the historical task situation does not include the same cluster as the current task situation, the processing unit obtains the common frequency bands and channels in processing the historical tasks according to the historical task situation, and uses the common frequency bands and channels as the frequency bands and channels for connecting the device to be connected.
[0079] It is understandable that cluster analysis and historical task data can be used to make smarter and more personalized decisions based on actual conditions. The choice of device connection mode not only depends on the current status and task requirements, but also comprehensively considers the influence of historical data, thereby improving the accuracy and effectiveness of decision-making. Based on the historical task conditions in the similar set, the frequency band and channel that best suits the current device and task requirements are selected. The device connection quality and network performance are significantly improved, especially in high-load or complex network environments. Through cluster analysis, different device states and task requirements can be adapted, whether these devices and tasks are common or unconventional. Even if the current task situation does not match the historical data, the reliability of the connection can be guaranteed based on the commonly used frequency bands and channels. In a complex IoT environment, conflicts and interference between frequency bands and channels are common problems. By accurately selecting and dynamically adjusting frequency bands and channels, this interference can be effectively reduced, improving the efficiency and stability of the overall network. The frequency band and channel selection for device connection can be automatically processed, reducing the need for manual intervention. At the same time, clustering and historical data analysis enable the system to adaptively adjust and optimize the connection strategy to adapt to the changing network environment and task requirements.
[0080] In some embodiments of the present application, when the processing unit determines the frequency band and channel to which the device to be connected is connected based on a similarity set, it includes: the processing unit obtains the similarity between the current task situation and each historical task in the similarity set based on the state of the device to be connected and the task score, and selects the historical task situation with the greatest similarity to determine the frequency band and channel to which the device to be connected is connected.
[0081] In some embodiments of the present application, the similarity is calculated by the following formula:
[0082]
[0083] in, represents similarity, R represents task score, Ri represents the score of the ith task in the similarity set, Zj represents the jth state index in the state of the device to be connected, Zij represents the jth state index in the ith device in the similarity set, w1 and w2 represent weight coefficients, and w1+w2=1, and m represents the number of device states.
[0084] It is understandable that the combination of task scoring and device status can comprehensively evaluate the similarity between the current task and historical tasks. It ensures that the decision-making process can accurately reflect the complexity of task requirements and device characteristics. By calculating similarities, the useful information in historical data can be fully utilized. When facing new tasks and device states, it is possible to learn from past successful experiences and improve the accuracy and reliability of current connection selection. Similarity calculation and weight adjustment can flexibly adapt to different tasks and device states. Under different network environments and task requirements, the frequency band and channel selection can be adjusted in an automated manner to ensure the best connection performance. By accurately selecting frequency bands and channels, channel conflicts and interference can be effectively reduced and the utilization of network resources can be optimized.
[0085] In some embodiments of the present application, the adjustment unit collects real-time task transmission status and determines whether to adjust the frequency band and channel to which the connected device is connected based on the transmission status, including: the adjustment unit collects the real-time task transmission speed, and compares the task transmission speed with a pre-set transmission speed threshold, and determines whether to adjust the frequency band and channel to which the connected device is connected based on the comparison result.
[0086] Specifically, when the real-time task transmission speed is less than the transmission speed threshold, the adjustment unit determines to adjust the frequency band and channel of the device to be connected. When the real-time task transmission speed is greater than or equal to the transmission speed threshold, the adjustment unit determines not to adjust the frequency band and channel of the device to be connected.
[0087] In some embodiments of the present application, when the adjustment unit determines that the frequency band and channel to which the device to be connected is connected are adjusted, it includes: the adjustment unit controls the device to be connected to change the connection channel under the current connection frequency band, and collects the real-time task transmission speed. When the real-time task transmission speed is still less than the transmission speed threshold, the adjustment unit controls the device to be connected to disconnect the current connection frequency band and select another frequency band to connect in the current network access mode.
[0088] Specifically, the adjustment unit collects the transmission speed of the current task in real time, and the transmission speed is a key indicator that is continuously monitored during operation. The real-time data of the transmission speed can reflect the current performance of the network and the quality of the connection. The adjustment unit compares the collected real-time transmission speed with a pre-set transmission speed threshold. This threshold is the performance baseline of the system and is used to evaluate whether the current connection can meet the needs of the task. When making adjustments, the adjustment unit first tries to change the channel on the frequency band of the current connection. This is a relatively lightweight adjustment method, which only requires finding a channel with less interference and better performance in the same frequency band. If the real-time transmission speed is still lower than the threshold after changing the channel, the adjustment unit will take more thorough measures to control the device to switch to another frequency band (for example, from 2.4GHz to 5GHz or vice versa). Especially when the current frequency band is severely interfered.
[0089] It is understandable that the connection is optimized by adjusting the channel or frequency band according to the real-time monitored transmission speed. It ensures that the device is always in the best connection state and improves the overall performance of the network. By giving priority to trying to change channels within the current frequency band, performance can be improved without changing the frequency band. It helps to maximize the use of existing resources and reduce potential interruptions caused by frequency band switching. In high-density environments or scenarios with severe interference, switching to a frequency band with less interference improves transmission speed and connection quality. More effectively deal with complex network environments and congestion problems. Through continuous monitoring and timely adjustments, task interruptions or failures caused by reduced connection performance can be reduced, ensuring higher network stability and reliability.
[0090] The use of dual-frequency Mesh nodes in the above embodiments not only expands the network coverage, but also improves the redundancy and stability of the network through multi-hop transmission and automatic routing selection. It supports the operation of both AP and Mesh interfaces at the same time, allowing the device to use the high-performance connection of AP mode when needed, while using the flexible scalability and self-organizing ability of Mesh mode. The advantages of different interfaces are brought into play to achieve the optimal utilization of network resources and the best experience of device access. Through the collaborative work of the acquisition unit and the judgment unit, it automatically identifies whether the device to be connected supports the Mesh protocol, and flexibly chooses whether to use Mesh connection or AP connection according to the task requirements and status of the device. Compared with the single fixed access mode in the traditional network, the utilization efficiency of network resources and the flexibility of device access are improved. The processing unit determines the best connection frequency band and channel based on not only the task score and status of the device, but also the historical task data. It effectively avoids frequency band conflicts and bandwidth bottlenecks and ensures efficient data transmission. The adjustment unit automatically adjusts the connection frequency band and channel of the device by continuously monitoring the transmission of real-time tasks when network performance decreases or device requirements change. It ensures that the network can respond to dynamic changes in a timely manner and maintain the optimal transmission effect.
[0091] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0092] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0093] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. An Internet of Things system based on dual-band Wi-Fi Mesh technology, characterized in that: include: A plurality of dual-band Mesh nodes, an AP interface and a control module, wherein the control module is electrically connected to the plurality of dual-band Mesh nodes and the AP interface, and the control module comprises: A collection unit is configured to collect protocol information of a device to be connected, and determine whether to perform a network access mode judgment according to the protocol information; when the device to be connected has a Mesh protocol, determine to perform a network access mode judgment; A judgment unit is configured to collect a task list of the device to be connected, obtain a task score according to the task list and the state of the device to be connected, and determine a network access mode according to the task score; The judgment unit collects the task list of the device to be connected, and obtains a task score according to the task list and the state of the device to be connected. The task score is calculated by the following formula: Wherein, R represents the task score, Q represents the signal strength of the device to be connected, B represents the amount of tasks in the task list, L represents the delay sensitivity of the device to be connected, a, b, c represent weight coefficients, and α and β represent exponents that control the nonlinear strength of the power function; A processing unit, configured to determine the frequency band and channel for the device to be connected to be connected according to the state of the device to be connected, the relationship between the task score and the historical task status when the judgment unit determines to adopt the Mesh node connection; The processing unit obtains the similarity between the current task situation and each historical task in the similarity set according to the state of the device to be connected and the task score, and selects the historical task situation with the greatest similarity to determine the frequency band and channel for the device to be connected; The similarity is calculated by the following formula: Wherein, Ei represents the similarity between the current task situation and the i-th historical task in the similarity set, R represents the task score, Ri represents the task score of the i-th historical task in the similarity set, Zj represents the j-th state index of the device to be connected in the state, Zij represents the j-th state index of the historical device to be connected in the i-th historical task in the similarity set, w1 and w2 represent weight coefficients, and w1+w2=1, and m represents the number of device states; The adjustment unit is configured to collect real-time task transmission conditions after the processing unit determines the frequency band and channel to which the device to be connected is connected, and determine whether to adjust the frequency band and channel to which the device to be connected is connected according to the transmission conditions.
2. The Internet of Things system based on dual-band Wi-Fi Mesh technology according to claim 1, characterized in that: When the acquisition unit determines whether to perform network access mode judgment according to the protocol information, it includes: The acquisition unit traverses the protocol information; When the protocol information includes the Mesh protocol, the collection unit determines to perform network access mode judgment; When the protocol information does not include the Mesh protocol, the acquisition unit determines not to perform network access mode judgment, and controls the device to be connected to access the network through the AP interface.
3. The Internet of Things system based on dual-band Wi-Fi Mesh technology according to claim 2, characterized in that: When the acquisition unit determines not to perform network access mode judgment and controls the device to be connected to access the network through the AP interface, it includes: The AP interface receives a detection request frame of the device to be connected, and parses and verifies the detection request frame; After the AP interface verifies that the detection request frame is qualified, it sends a detection response frame to the device to be connected, allowing the device to be connected to access the network through the AP interface and collect the signal quality of the device to be connected, determines the frequency band of the device to be connected according to the signal quality, and determines the channel of the device to be connected according to the real-time channel interference.
4. The Internet of Things system based on dual-band Wi-Fi Mesh technology according to claim 1, characterized in that: When the judging unit determines the network access mode according to the task score, it includes: The judgment unit compares the task score with a preset task score threshold, and determines the network access mode according to the comparison result; When the task score is greater than the task score threshold, the judgment unit determines that the device to be connected accesses the network through the dual-band Mesh node; When the task score is less than or equal to the task score threshold, the judgment unit determines that the device to be connected accesses the network through the AP interface.
5. The Internet of Things system based on dual-band Wi-Fi Mesh technology according to claim 4, characterized in that: When the processing unit determines the frequency band and channel to which the device to be connected is connected according to the state of the device to be connected, the relationship between the task score and the historical task situation, it includes: The historical task status includes the task score of the historical task, the status of the device to be connected in the historical task, and the frequency band and channel for processing the historical task; The processing unit establishes a cluster set, the cluster set includes the state of the device to be connected, the task score, the task score of the historical task and the state of the device to be connected in the historical task, and each group of device states in the cluster set corresponds to the task score; Determine the expected number of clusters k, k = 2, and randomly select two data points as the initial cluster centers; Calculate the distance between each remaining data point in the cluster set and the initial cluster center, and assign the data point to the nearest cluster center; Update the center of each cluster to the mean of all data points assigned to the cluster; Repeat the calculation and allocation steps until the cluster center no longer changes or the maximum number of iterations is reached; When the historical task situations include tasks in the same cluster as the current task situation, the processing unit establishes the historical task situations in the same cluster as the current task situation as a similar set, and determines the frequency band and channel to which the device to be connected is connected according to the similar set; When the historical task status and the current task status are not in the same cluster, the processing unit obtains the commonly used frequency bands and channels in processing historical tasks according to the historical task status, and uses the commonly used frequency bands and channels as the frequency bands and channels for connecting the device to be connected.
6. The Internet of Things system based on dual-band Wi-Fi Mesh technology according to claim 1, characterized in that: The adjusting unit collects the real-time task transmission situation, and determines whether to adjust the frequency band and channel to which the to-be-connected device is connected according to the transmission situation, including: The adjustment unit collects the real-time task transmission speed, and compares the task transmission speed with a preset transmission speed threshold, and determines whether to adjust the frequency band and channel of the device to be connected according to the comparison result; When the real-time task transmission speed is less than the transmission speed threshold, the adjustment unit determines to adjust the frequency band and channel of the device to be connected; When the real-time task transmission speed is greater than or equal to the transmission speed threshold, the adjustment unit determines not to adjust the frequency band and channel to which the to-be-connected device is connected.
7. The Internet of Things system based on dual-band Wi-Fi Mesh technology according to claim 6, characterized in that: When the adjustment unit determines that the frequency band and channel to which the to-be-connected device is connected are adjusted, it includes: The adjustment unit controls the device to be connected to change the connection channel under the current connection frequency band, and collects the real-time task transmission speed; When the real-time task transmission speed is still less than the transmission speed threshold, the adjustment unit controls the device to be connected to disconnect the current connection frequency band and select another frequency band for connection in the current network access mode.
Citation Information
Patent Citations
Wireless Mesh adaptive channel selection method and system based on interference coordination
CN114268999A
Multi-band wireless communication optimization method and network access point equipment
CN118317335A