Method and system for realizing time sensitive protocol on Wi-Fi network
By prioritizing packet identification and dynamic bandwidth adjustment in Wi-Fi networks, time-sensitive protocol latency and reliability problems in Wi-Fi networks are solved, and data transmission with low latency and high reliability is achieved.
Patent Information
- Application Number
- CN202411814366.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-04-11
AI Technical Summary
Existing Wi-Fi protocols are difficult to meet the strict requirements of latency and reliability for real-time applications, especially in high load and congested network environments, resulting in the real-time and reliability of time-sensitive protocols being affected.
The packet is transmitted according to the priority of the queue by identifying the packets to determine their priority and assigning the packets to queues of different priorities. At the same time, bandwidth allocation is dynamically adjusted according to real-time network status and application requirements to ensure low latency transmission of time-sensitive packets.
It realizes priority processing of time-sensitive data packets on Wi-Fi networks, ensuring low latency transmission while improving the reliability of data transmission.
Smart Images

Figure CN119815558A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technologies, and in particular to a method and system for implementing a time-sensitive protocol on a Wi-Fi network. Background Art
[0002] As the demand for real-time applications continues to grow, traditional Wi-Fi protocols often have difficulty meeting the strict requirements for latency and reliability. Existing solutions do not prioritize time-sensitive data and cannot fully address the challenges of network congestion, interference, and variable latency in Wi-Fi environments. At the same time, there are certain difficulties in implementing time-sensitive protocols on WiFi networks. In a high-load and congested network environment, the delay and jitter of data transmission through the WiFi network will increase, which will affect the real-time requirements of time-sensitive protocols and reduce the reliability of data transmission; and the bandwidth and latency of Wi-Fi networks are affected by many factors, such as signal interference and multipath effects, which cannot meet the requirements of time-sensitive protocols to accurately control the sending and receiving time of data packets, resulting in delays and data packet loss. Therefore, there is an urgent need for a method to overcome the existing difficulties and implement time-sensitive protocols on Wi-Fi networks. Summary of the invention
[0003] In view of this, the present invention provides a method and system for implementing a time-sensitive protocol on a Wi-Fi network to solve the technical problems of low data transmission reliability and high latency in existing data transmission via WiFi.
[0004] The technical solution adopted by the present invention to solve its technical problem is: A method for implementing a time-sensitive protocol on a Wi-Fi network, comprising the following steps: S1. Identify a data packet to determine the priority of the data packet; S2, allocating data packets to queues of different priorities according to the priorities of the data packets, and transmitting the data packets according to the priorities of the queues, wherein time-sensitive data packets are allocated to the queue with the highest priority; S3, dynamically adjust bandwidth allocation based on real-time network status and application requirements to ensure low-latency transmission of time-sensitive data packets.
[0005] Preferably, in step S1, data packets are classified according to predefined standards using deep packet inspection technology and application-aware network policies to determine the priority of the data packets.
[0006] Preferably, in step S2, the transmission order of data packets in different queues is controlled according to a traffic shaping algorithm.
[0007] Preferably, in step S1, the network status is monitored in real time, and the priority of the data packet is dynamically adjusted according to the network performance index.
[0008] Preferably, in step S3, dynamically adjusting bandwidth allocation according to real-time network status and application requirements includes: S31. Continuously monitor network status; S32, assigning priorities to applications based on their sensitivity to latency and bandwidth requirements; S33. Dynamically allocate bandwidth to applications based on their priority and current network conditions.
[0009] Preferably, the method further comprises: S4. Dynamically adjust the error correction level of the data packet according to the real-time network status and the data packet error rate, and perform error correction on the data packet according to the error correction level.
[0010] Preferably, in step S4, the error correction level of the data packet is dynamically adjusted according to the real-time network status and the error rate of the data packet, and the error correction of the data packet according to the error correction level includes: S41, predicting optimal forward error correction parameters required for different network conditions; S42, determining the priority of the data packet recovery queue according to the priority of the queue where the data packet is located; S43. When a data packet error is detected, a partial retransmission is initiated for the erroneous segment according to the priority of the data packet recovery queue, and a copy of the critical data packet is sent through a different path.
[0011] The present invention also provides a system for implementing a time-sensitive protocol on a Wi-Fi network, which uses the method for implementing a time-sensitive protocol on a Wi-Fi network as described above, including: A data packet classification unit, used for identifying the data packets to determine the priority of the data packets; A priority queue manager is used to allocate data packets to queues of different priorities according to the priorities of the data packets, and transmit the data packets according to the priorities of the queues, wherein time-sensitive data packets are allocated to the queue with the highest priority; Adaptive bandwidth allocation unit, used to dynamically adjust bandwidth allocation according to real-time network status and application requirements when transmitting time-sensitive packets.
[0012] Preferably, the system further comprises: a data error correction unit, configured to dynamically adjust the error correction level of the data packet according to the real-time network status and the error rate of the data packet, and perform error correction on the data packet according to the error correction level.
[0013] Preferably, the system further comprises: a data packet dynamic adjustment module, which is used to monitor the network status in real time and dynamically adjust the priority of the data packet according to the network performance index.
[0014] Compared with the prior art, the present invention has the following beneficial effects: The present invention identifies data packets to determine their priorities; allocates data packets to queues of different priorities according to their priorities, and transmits data packets according to the priorities of the queues, thereby identifying and giving priority to data packets that require low latency, and prioritizing time-sensitive data packets; and dynamically adjusts bandwidth allocation according to real-time network status and application requirements, ensuring that time-sensitive data packets obtain necessary network resources to operate in an optimal manner, thereby ensuring low-latency transmission of time-sensitive data packets while improving the reliability of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 The present invention is a flow chart of a method for implementing a time-sensitive protocol on a Wi-Fi network.
[0016] Figure 2 It is a system architecture diagram of the present invention. DETAILED DESCRIPTION
[0017] The technical solutions and technical effects of the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings of the present invention.
[0018] Please see Figure 1 , a method for implementing a time-sensitive protocol on a Wi-Fi network, comprising the following steps: S1. Identify a data packet to determine the priority of the data packet; S2, allocating data packets to queues of different priorities according to the priorities of the data packets, and transmitting the data packets according to the priorities of the queues, wherein time-sensitive data packets are allocated to the queue with the highest priority; S3, dynamically adjust bandwidth allocation based on real-time network status and application requirements to ensure low-latency transmission of time-sensitive data packets.
[0019] The present invention identifies data packets to determine their priorities; allocates data packets to queues of different priorities according to their priorities, and transmits data packets according to the priorities of the queues, thereby identifying and giving priority to data packets that require low latency, and prioritizing time-sensitive data packets; and dynamically adjusts bandwidth allocation according to real-time network status and application requirements, ensuring that time-sensitive data packets obtain necessary network resources to operate in an optimal manner, thereby ensuring low-latency transmission of time-sensitive data packets while improving the reliability of data transmission.
[0020] In some implementations, time-sensitive applications include applications that require real-time communication and consistent and low-latency network performance, such as Voice over IP (VoIP), video conferencing, industrial automation, video conferencing, online gaming, and telemedicine. Products that use this solution include network access devices and wireless communication terminals that use 802.11, such as routers, wireless access points, CPE, DTU, modules, tablets, handheld devices, helmets, robots, drones, and cameras.
[0021] Further, in step S1, according to predefined criteria, deep packet inspection technology and application-aware network policies are used to classify data packets and determine the priority of data packets. Specifically, a marking system is introduced for data packets to identify them as time-sensitive data packets, allowing routers and access points to prioritize time-sensitive data packets over non-time-sensitive data packets. Time-sensitive data packets are identified by a data packet classification unit according to predefined criteria, wherein the predefined criteria include source / destination IP addresses, port numbers, or application types, etc. Deep packet inspection technology captures each data packet passing through a network node, and these data packets include information such as protocols, headers, and payloads. The content of the data packet, including protocols, headers, and payloads, is analyzed by deep packet inspection technology. By parsing this information, applications, users, and traffic patterns can be identified. Then, according to predefined criteria and patterns, combined with application-aware network policies, data packets are prioritized and classified. For example, when it is identified that a data packet belongs to a real-time communication application, the data packet can be classified as a time-sensitive data packet; when it is identified that a data packet belongs to a life service application, that is, a non-time-sensitive application, the data packet can be classified as a non-time-sensitive data packet. Thus, through the mechanism of prioritizing time-sensitive data packets, data packets that require low latency are identified and prioritized to ensure their timely transmission while optimizing overall network performance.
[0022] In some implementations, the TSN time-sensitive devices and flows can be determined through the CLS-API console application interface using scripts or interface configuration, that is, the predefined standards for priority classification and the application-aware network policy can be determined, and the TSN time-sensitive devices and flow information can be set to the Netfilter network filter as needed. The Netfilter network filter uses a machine learning model for flow identification learning and data packet identification, so as to accurately classify the data packets, unload time-sensitive data packets to the software acceleration path, and non-time-sensitive data packets take the software path by default. The differential service code point of the TSN time-sensitive device is reset according to the needs of the time-sensitive application, where the differential service code point (Differentiated Services Code Point, DSCP) uses the used 6 bits and unused 2 bits in the service category TOS identification byte of the IP header of each data packet to distinguish the priority through the encoding value. Then, the TSN time-sensitive device, data flow rules, and DSCP rules are set to the priority queue configuration module as needed to allow the data packet to enter the hardware acceleration path.
[0023] Further, in step S2, the transmission order of data packets from different queues is controlled according to the traffic shaping algorithm. First, a plurality of queues with different priorities are managed by a priority queue manager, and data packets are assigned to different queues according to the priority of the data packets, wherein time-sensitive data packets are placed in queues with higher priorities. For example, real-time video and voice data may be placed in queues with the highest priority. Secondly, a traffic shaping algorithm is used by the scheduler to control the transmission order of data packets from different queues, and queues with higher priority are transmitted first. Among them, the traffic shaping algorithm includes the use of weighted fair queues, strict priority queues and other algorithms to ensure that data packets with higher priority are transmitted first.
[0024] Furthermore, in step S1, the network status is monitored in real time, and the priority of the data packet is dynamically adjusted according to the network performance index. Specifically, after the priority of the data packet is determined, the network status needs to be monitored in real time, and the priority of the data packet is dynamically adjusted according to real-time factors such as network congestion and packet loss, so as to effectively ensure that time-sensitive data packets can be transmitted first.
[0025] Further, in step S3, dynamically adjusting bandwidth allocation according to real-time network status and application requirements includes: S31. Continuously monitor network status; S32, assigning priorities to applications based on their sensitivity to latency and bandwidth requirements; S33. Dynamically allocate bandwidth to applications based on their priority and current network conditions.
[0026] In some embodiments, a bandwidth monitor is used to provide continuous feedback on network performance indicators, and the network status, including available bandwidth, delay, and packet loss, is continuously monitored through the bandwidth monitor. Based on the sensitivity of the application to delay and bandwidth requirements, the application identifier uses deep packet inspection and heuristic methods to identify and classify applications, thereby assigning priorities to the applications. Finally, the adaptive allocator uses algorithms such as weighted fair queues and proportional fairness to adjust bandwidth allocation in real time according to the priority of the application and the current network conditions, ensuring that high-priority, time-sensitive applications obtain sufficient resources. In addition, its allocation strategy can be continuously updated based on real-time feedback from the bandwidth monitor and application identifier. Therefore, by dynamically adjusting bandwidth allocation according to real-time network conditions and application requirements, it is ensured that time-sensitive data packets obtain the necessary network resources to operate in the best manner, further ensuring low-latency transmission of data packets.
[0027] Furthermore, the method also includes: S4, dynamically adjusting the error correction level of the data packet according to the real-time network status and the data packet error rate, and correcting the data packet according to the error correction level. By tailoring the error correction method for the Wi-Fi network, focusing on time-sensitive data packets, thereby minimizing data packet loss to reduce retransmission, ensuring fast and accurate data delivery to reduce latency and improve reliability.
[0028] Further, in step S4, the error correction level of the data packet is dynamically adjusted according to the real-time network status and the error rate of the data packet, and the error correction of the data packet according to the error correction level includes: S41, predicting optimal forward error correction parameters required for different network conditions; S42, determining the priority of the data packet recovery queue according to the priority of the queue where the data packet is located; S43. When a data packet error is detected, a partial retransmission is initiated for the erroneous segment according to the priority of the data packet recovery queue, and a copy of the critical data packet is sent through a different path.
[0029] Specifically, first, a machine learning algorithm is used to predict the optimal forward error correction parameters required for different network conditions. By analyzing historical data and real-time feedback, the system adjusts the error correction level to balance overhead and reliability. Among them, forward error correction (FEC) is a method that adds redundant information to data packets during network transmission so that the receiving end can directly recover the lost data packets using these redundant information after packet loss occurs in the network. Advanced forward error correction methods are implemented to ensure that time-sensitive data packets can be accurately transmitted even in the presence of interference. In some embodiments, the FEC redundancy coefficient can be dynamically adjusted according to factors such as network conditions and packet loss rate. When the network condition is poor and the packet loss rate is high, the FEC redundancy coefficient can be increased to improve the reliability of data transmission; conversely, when the network condition is good and the packet loss rate is low, the FEC redundancy coefficient can be appropriately reduced to save bandwidth resources.
[0030] Secondly, a priority queue for packet recovery is implemented, which determines the priority of the packet recovery queue according to the priority of the queue the packet is in. This ensures that time-sensitive packets are retransmitted and corrected before other data, and ensures that high-priority, time-sensitive packets are recovered faster than less important data, thus achieving a priority queue for time-sensitive packets.
[0031] Finally, the error correction level is dynamically adjusted based on real-time network conditions and packet error rates. A hybrid hybrid ARQ system is used to combine FEC with partial retransmission based on early error detection, where partial retransmission can be initiated based on early error detection. When an error is detected in a packet, the system immediately initiates a partial retransmission for the erroneous segment, thereby reducing the time required for a full retransmission. Copies of critical packets are sent over different paths to ensure that at least one copy arrives intact, thereby reducing the impact of packet loss and errors, thereby utilizing multiple paths to transmit critical packets to improve reliability and reduce latency.
[0032] The present invention also provides a system for implementing a time-sensitive protocol on a Wi-Fi network, which uses the method for implementing a time-sensitive protocol on a Wi-Fi network as described above, including: A data packet classification unit, used for identifying the data packets to determine the priority of the data packets; A priority queue manager is used to allocate data packets to queues of different priorities according to the priorities of the data packets, and transmit the data packets according to the priorities of the queues, wherein time-sensitive data packets are allocated to the queue with the highest priority; Adaptive bandwidth allocation unit, used to dynamically adjust bandwidth allocation according to real-time network status and application requirements when transmitting time-sensitive packets.
[0033] Furthermore, the system also includes: a data error correction unit, which is used to dynamically adjust the error correction level of the data packet according to the real-time network status and the data packet error rate, and correct the data packet according to the error correction level.
[0034] Furthermore, the system also includes: a data packet dynamic adjustment module, which is used to monitor the network status in real time and dynamically adjust the priority of the data packet according to the network performance index.
[0035] The system can be integrated into existing Wi-Fi routers and access points via firmware updates.
[0036] In some embodiments, in combination Figure 2 The specific process of the method for implementing a time-sensitive protocol on a Wi-Fi network of the present invention is further described. Figure 2 The system architecture shown includes CLS-API console application interface, Netfilter network filter, CLS-Qos / CLS-NAT service quality / network address translation configuration module, NPE priority queue configuration, WLAN FW, and WMAC. Among them, through the CLS-API console application interface, TSN time-sensitive devices and flows are determined using scripts or interface configuration, that is, predefined standards for priority classification and application-aware network policies are determined, which can provide a user interface for network administrators to configure and monitor time-sensitive protocol settings. TSN time-sensitive device and flow information is set to the Netfilter network filter on demand. The Netfilter network filter uses a machine learning model to perform flow identification learning and packet identification, so as to accurately classify the data packets, unload time-sensitive data packets to the soft acceleration path, and non-time-sensitive data packets use the software path by default. The differential service code point of the TSN time-sensitive device is reset according to the needs of the time-sensitive application, wherein the differential service code point (DSCP) uses the used 6 bits and unused 2 bits in the service category TOS identification byte of the IP header of each data packet to distinguish the priority through the encoding value. Then, the TSN time-sensitive devices, data flow rules, and DSCP rules are set to the priority queue configuration module as needed, so that the data packets enter the hardware acceleration path. The NPE priority queue configuration resets the TSN time-sensitive device DSCP as needed and assigns it to different priority queues. Among them, the downlink WiFI channel supports 64 priority queues, and the uplink WiFi supports 8 priority queues.
[0037] Furthermore, the DSCP to WMM rematch is implemented through WLAN FW. Among them, WiFi Multimedia (WMM) is a subset of the 802.11e standard, which allows different priorities to be assigned to different data streams through the packet queuing mechanism on the wireless network. WMM defines four access categories, each with different priorities. The traffic can be mapped to the 4 access categories of WMM through the value of DSCP, and then the data packets are assigned to different queues according to the priority of the data packets through WMM. For example, real-time video and voice data may be placed in the highest priority queue. At the same time, algorithms such as weighted fair queues or strict priority queues are used to ensure that higher priority data packets are transmitted first. In order for the WMM function to work, the wireless client must also support WMM. When it is turned on, the performance of wireless multimedia data transmission can be improved. When the access point receives an uplink message carrying WMM parameters sent by the wireless terminal, it will forward the uplink message based on the DSCP priority corresponding to the WMM parameters carried in the uplink message.
[0038] In addition, the OFDMA frequency band, bandwidth, and time slot path of the wireless access point / router of TSN time-sensitive devices are optimized on demand through the Wireless Media Access Control (WMAC) protocol. Specifically, the network status, including available bandwidth, latency, and packet loss, is continuously monitored through the bandwidth monitor. Based on the sensitivity of the application to latency and bandwidth requirements, the application identifier uses deep packet inspection and heuristic methods to identify and classify applications. Finally, the adaptive allocator uses algorithms such as weighted fair queues and proportional fairness to adjust bandwidth allocation in real time to ensure that high-priority, time-sensitive applications obtain sufficient resources. Therefore, by dynamically adjusting bandwidth allocation according to real-time network conditions and application requirements, it is ensured that time-sensitive data packets obtain the necessary network resources to operate in the best manner, further ensuring low-latency transmission of data packets.
[0039] What is disclosed above is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of rights of the present invention. A person skilled in the art can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.
Claims
1. A method for implementing a time-sensitive protocol on a Wi-Fi network, characterized in that: The following steps are involved: S1. Identify a data packet to determine the priority of the data packet; S2, allocating data packets to queues of different priorities according to the priorities of the data packets, and transmitting the data packets according to the priorities of the queues, wherein time-sensitive data packets are allocated to the queue with the highest priority; S3, dynamically adjust bandwidth allocation based on real-time network status and application requirements to ensure low-latency transmission of time-sensitive data packets.
2. The method for implementing a time-sensitive protocol on a Wi-Fi network according to claim 1, characterized in that: In step S1, according to predefined criteria, deep packet inspection technology and application-aware network policies are used to classify data packets and determine the priority of the data packets.
3. The method for implementing a time-sensitive protocol on a Wi-Fi network according to claim 2, characterized in that: In step S2, the transmission order of data packets in different queues is controlled according to the traffic shaping algorithm.
4. The method for implementing a time-sensitive protocol on a Wi-Fi network according to claim 3, characterized in that: In step S1, the network status is monitored in real time, and the priority of the data packet is dynamically adjusted according to the network performance index.
5. The method for implementing a time-sensitive protocol on a Wi-Fi network according to claim 1, characterized in that: In step S3, dynamically adjusting bandwidth allocation according to real-time network status and application requirements includes: S31. Continuously monitor network status; S32, assigning priorities to applications based on their sensitivity to latency and bandwidth requirements; S33. Dynamically allocate bandwidth to applications based on their priority and current network conditions.
6. The method for implementing a time-sensitive protocol on a Wi-Fi network according to any one of claims 1 to 5, characterized in that: The method further comprises: S4. Dynamically adjust the error correction level of the data packet according to the real-time network status and the data packet error rate, and perform error correction on the data packet according to the error correction level.
7. The method for implementing a time-sensitive protocol on a Wi-Fi network according to claim 6, characterized in that: In step S4, the error correction level of the data packet is dynamically adjusted according to the real-time network status and the error rate of the data packet. Correcting the data packet according to the error correction level includes: S41, predicting optimal forward error correction parameters required for different network conditions; S42, determining the priority of the data packet recovery queue according to the priority of the queue where the data packet is located; S43. When a data packet error is detected, a partial retransmission is initiated for the erroneous segment according to the priority of the data packet recovery queue, and a copy of the critical data packet is sent through a different path.
8. A system for implementing a time-sensitive protocol on a Wi-Fi network, using the method for implementing a time-sensitive protocol on a Wi-Fi network as claimed in any one of claims 1 to 7, characterized in that: include: A data packet classification unit, used for identifying the data packets to determine the priority of the data packets; A priority queue manager is used to allocate data packets to queues of different priorities according to the priorities of the data packets, and transmit the data packets according to the priorities of the queues, wherein time-sensitive data packets are allocated to the queue with the highest priority; Adaptive bandwidth allocation unit, used to dynamically adjust bandwidth allocation according to real-time network status and application requirements when transmitting time-sensitive packets.
9. The system for implementing a time-sensitive protocol on a Wi-Fi network according to claim 8, characterized in that: The system further comprises: a data error correction unit, which is used to dynamically adjust the error correction level of the data packet according to the real-time network status and the error rate of the data packet, and to correct the data packet according to the error correction level.
10. The system for implementing a time-sensitive protocol on a Wi-Fi network according to claim 9, characterized in that: The system also includes: a data packet dynamic adjustment module, which is used to monitor the network status in real time and dynamically adjust the priority of the data packet according to the network performance index.
Citation Information
Cited By
High-safety engineering construction collaborative supervision method and system based on BIM model
CN120238501A
Priority-based data packet forwarding method and device, equipment and storage medium
CN120639715A