A system and method for cluster fast communication based on hybrid mode
Through a cluster fast communication system in promiscuous mode, STA nodes receive and filter multicast address data packets, solving the problems of low efficiency and timing control of polling method when AP connects a large number of STA nodes, and realizing fast and efficient communication control.
Patent Information
- Application Number
- CN202211173287.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-26
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2042-09-26
AI Technical Summary
In WIFI applications, when an AP connects to a large number of STA nodes, the time required for message delivery using the polling method increases linearly, which cannot meet real-time requirements. Furthermore, the polling timing is difficult to control, affecting communication efficiency.
A cluster fast communication system using promiscuous mode enables STA nodes to receive and filter data packets from multicast addresses by setting a protocol, thereby achieving rapid control of multiple STA nodes.
It enables fast and efficient control of a large number of STA nodes under a single AP, solving the problems of long polling time and difficult timing control, and improving communication efficiency.
Smart Images

Figure CN115696647B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless communication, in particular to a cluster fast communication system and method based on a mixed mode. BACKGROUND
[0002] In special WIFI application scenarios, a router AP often needs to connect many STA nodes, for example: an AP needs to connect thousands or even tens of thousands of nodes. This raises the following problems: an AP cannot connect a large number of nodes under normal circumstances, in this case, if a message is issued to all nodes, it is usually necessary to use a polling method to notify the nodes, the polling method is as follows: let the first batch of nodes connect the AP, after receiving the message issued by the AP, the first batch of nodes exit the connection, then let the second batch of nodes connect, and so on. Based on the polling method, the time required for data transmission will linearly increase with the size of the cluster. For real-time messages such as fire and flood warnings, it is difficult to meet the data requirements, and it is also difficult to control the polling timing. Therefore, in view of the above problems, we design a cluster fast communication system and method based on a mixed mode. SUMMARY
[0003] The purpose of the present application is to provide a cluster fast communication system and method based on a mixed mode, which sets a protocol to enable an AP to interact with STA nodes in a mixed mode. After receiving the packet, the STA node filters the data packet belonging to the multicast address and performs the corresponding control operation, thereby achieving the purpose of operating a large number of STA nodes quickly with only one AP, and overcoming the problem of long time required and difficult to control the polling timing in the background technology.
[0004] The embodiments of the present application are implemented by the following technical solutions:
[0005] A cluster fast communication system based on a mixed mode, comprising: N STA nodes, an AP, and a cloud server, the N STA nodes are used to receive data sent by the AP, the AP and the cloud server are connected with each other, wherein the STA nodes are in a mixed mode and obtain all communication data of a set protocol; the AP sends communication data packets in the format of data frames in the set protocol; and the cloud server sends UDP multicast packets at a set timing interval.
[0006] Optionally, the STA node performs analysis on the frame header of the data frame in the communication data packet.
[0007] Optionally, the frame header of the data frame comprises destination MAC address information, AP MAC address information, and cloud server MAC address information.
[0008] Optionally, all of the above-mentioned data are encrypted.
[0009] Optionally, the destination MAC address information may include the multicast address data of the multicast packet.
[0010] Optionally, a set timing interval can be used, specifically 100ms.
[0011] A method for fast cluster communication based on promiscuous mode, applied to the promiscuous mode-based fast cluster communication system described above, the method comprising the following steps:
[0012] The cloud server sends UDP multicast packets to the access point (AP) at set intervals, where the multicast addresses of the UDP multicast packets are 224.1.1.1-239.255.255.255.
[0013] After the AP obtains the UDP multicast packet, it sends the UDP multicast packet to each STA node in the format of the data frame in the set protocol.
[0014] After each STA node obtains the communication data according to the set protocol, it filters the communication data based on the multicast address and performs the corresponding control operation based on the filtered communication data, thus completing the purpose of operating the STA nodes through a unit number of APs.
[0015] The technical solutions of the embodiments of the present invention have at least the following advantages and beneficial effects:
[0016] This embodiment enables an AP to interact with STA nodes in promiscuous mode by setting a protocol. After receiving a packet, the STA node filters the data packets belonging to the multicast address and performs corresponding control operations. This achieves the goal of using only one AP to operate a large number of STA nodes quickly, overcoming the problems of long time required and difficulty in controlling the polling sequence in the background technology. Attached Figure Description
[0017] Figure 1 A schematic diagram of the framework of a system for fast cluster communication based on promiscuous mode provided by the present invention;
[0018] Figure 2 This is a flowchart illustrating a method for fast cluster communication based on promiscuous mode provided by the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0020] This invention provides prior art corresponding to this invention, including the following two categories:
[0021] The first type: The WiFi module is in normal STA mode, not promiscuous mode, which is the traditional polling method described above. The main problem is that it is too slow, and it is also difficult to control the timing of different batches of connections. If the interval is too large, the speed will be very slow, and if it is too short, it will put a lot of burden on the AP.
[0022] The second type: Each module is simultaneously in AP+STA mode. The STA role of the next module connects to the AP role of the previous module, cascading in this way to form a tree structure. For example, each module's AP role can connect to four STA roles, thus the number of modules that can be connected at each level increases exponentially.
[0023] However, the second method has these problems: In a densely populated space, such as when the signal of one access point (AP) can cover thousands of stations (STAs), this operation would result in thousands of AP signals in a very dense space, leading to a large number of data packets. Since this data is running on the 2.4 GHz or 5 GHz ISM bands, the radio frequency signals become difficult to distinguish, severely impacting communication quality, causing network instability, and rendering the network virtually unusable, resulting in problems similar to broadcast storms.
[0024] Even if it's not placed in a dense space, but rather in a relatively spacious middle area, as the network scale increases, the number of connection layers also increases. The time required to transmit data from the highest layer to the lowest layer also increases, and the increased number of links also increases the risk of communication failure.
[0025] Based on this, such as Figure 1As shown, this invention provides one embodiment of a system for fast cluster communication based on promiscuous mode, where the signal range of an AP covers a large number of STAs: N STA nodes, an AP, and a cloud server. The N STA nodes are used to receive data sent by the AP. The AP and the cloud server are interconnected. The STA nodes are in promiscuous mode and acquire all communication data according to a set protocol. The AP sends communication data packets in the format of data frames in the set protocol. The cloud server sends UDP multicast packets at set time intervals.
[0026] like Figure 2 As shown, in one application of this embodiment, STA nodes are distributed among slave nodes around the environment and communicate with the master node according to a predetermined protocol. In this embodiment, all STA nodes are in promiscuous mode, receiving all 802.11 packets. The cloud server or a signal transmitting device connected to the AP sends UDP multicast packets at 100ms intervals. The multicast IP address range is selected as 224.1.1.1-239.255.255.255. Upon receiving the signal from the transmitting device, the AP sends data packets in the format of a data frame according to the 802.11 protocol.
[0027] Furthermore, because the STA node is not connected to the AP, and because the data is encrypted, the STA cannot see the contents of this UDP packet. However, it can parse the frame header of the data frame, which contains information such as the destination MAC address, the AP's MAC address, and the sending device's MAC address.
[0028] In this embodiment, the data sent is a multicast packet, and the multicast address is written into the "Destination MAC Address" (Address1) field. If we use each multicast address to represent one operation, theoretically this method can represent approximately two hundred million different operations. Even considering IP address avoidance and encryption operations, the range of usable operations is still very large.
[0029] Based on this, the STA node in this embodiment is always in promiscuous mode. Once a packet is received, it filters the data packets belonging to the multicast address and performs the corresponding control operations. This achieves the goal of using only one AP to operate a large number of STA nodes quickly.
[0030] The method and system provided in this embodiment are flexible in operation and do not require any changes to the network layer settings. When sending data, it is only necessary to send it to the multicast IP address. Furthermore, the setup cost is low and no additional customization is required. Even considering some IP address avoidance and encryption operations, the scope of use is still very large.
[0031] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A system for fast cluster communication based on promiscuous mode, characterized in that, include: There are N STA nodes, an AP, and a cloud server. The N STA nodes are used to receive data sent by the AP. The AP and the cloud server are interconnected. The STA nodes are in promiscuous mode and acquire all communication data according to the set protocol. The AP sends communication data packets in the format of data frames in the set protocol. The cloud server sends UDP multicast packets at set time intervals.
2. The system for fast cluster communication based on promiscuous mode according to claim 1, characterized in that, The STA node performs the parsing of the data frame header in the communication data packet.
3. The system for fast cluster communication based on promiscuous mode according to claim 2, characterized in that, The header of a data frame includes the destination MAC address, the AP's MAC address, and the cloud server's MAC address.
4. The system for fast cluster communication based on promiscuous mode according to any one of claims 1-3, characterized in that, All the data mentioned above is encrypted.
5. The system for fast cluster communication based on promiscuous mode according to claim 4, characterized in that, The destination MAC address information includes the multicast address data of the multicast packet.
6. The system for fast cluster communication based on promiscuous mode according to claim 1, characterized in that, The interval is set by a timing sequence, specifically 100ms.
7. A method for fast cluster communication based on promiscuous mode, characterized in that, The method, applied to the promiscuous mode-based cluster fast communication system according to any one of claims 1-6, comprises the following steps: The cloud server sends UDP multicast packets to the access point (AP) at set intervals, where the multicast addresses of the UDP multicast packets are 224.1.1.1-239.255.255.
255. After the AP obtains the UDP multicast packet, it sends the UDP multicast packet to each STA node in the format of the data frame in the set protocol. After each STA node obtains the communication data according to the set protocol, it filters the communication data based on the multicast address and performs the corresponding control operation based on the filtered communication data, thus completing the purpose of operating the STA nodes through a unit number of APs.
Citation Information
Patent Citations
Traffic advertisement in neighbor aware network (NAN) data path
CN107005940A
Method, device and system for enabling terminal to be accessed to network
CN107682915A
Management and control instruction receiving and sending method and device, equipment and storage medium
CN111465081A
Gateway, intelligent equipment network distribution processing method, electronic equipment and storage medium
CN114615099A