CN114245413A - Traffic processing method and AP - Google Patents

Traffic processing method and AP Download PDF

Info

Publication number
CN114245413A
CN114245413A CN202111425475.1A CN202111425475A CN114245413A CN 114245413 A CN114245413 A CN 114245413A CN 202111425475 A CN202111425475 A CN 202111425475A CN 114245413 A CN114245413 A CN 114245413A
Authority
CN
China
Prior art keywords
terminal
audio
radio
traffic
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202111425475.1A
Other languages
Chinese (zh)
Inventor
单丽娜
张海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Big Data Technologies Co Ltd
Original Assignee
New H3C Big Data Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Big Data Technologies Co Ltd filed Critical New H3C Big Data Technologies Co Ltd
Priority to CN202111425475.1A priority Critical patent/CN114245413A/en
Publication of CN114245413A publication Critical patent/CN114245413A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present specification provides a traffic processing method and an AP, where the method includes: when a first terminal with audio and video flow is detected by using a Deep Packet Inspection (DPI), a first identifier is marked for the first terminal, the first identifier is used for representing the terminal with the audio and video flow, and when the channel utilization rate of Radio frequency Radio accessed by the first terminal exceeds a preset threshold value, the service speed of a second terminal which is accessed to the Radio and is not marked with the first identifier is limited. By the method, the technical problem that the audio and video flow is delayed too high due to the fact that the audio and video flow competes for air interface resources with the common flow because the wireless audio and video flow does not have priority can be solved.

Description

Traffic processing method and AP
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a traffic processing method and an AP.
Background
In a wireless network, voice and video services belong to delay sensitive services, and once network congestion occurs, the voice and video will be blocked and call will be delayed, which will seriously affect the user experience.
Disclosure of Invention
The disclosure provides a traffic processing method and an AP (access point), and the method can solve the technical problem that audio and video traffic and common traffic compete for air interface resources due to the fact that the wireless audio and video traffic does not have priority, and therefore audio and video traffic is delayed too much.
The present disclosure provides a method for processing traffic, including:
when a first terminal with audio and video flow is detected by using a Deep Packet Inspection (DPI), marking a first identifier for the first terminal, wherein the first identifier is used for representing the terminal with the audio and video flow;
and when the channel utilization rate of the Radio frequency Radio accessed by the first terminal exceeds a preset threshold value, limiting the service speed of a second terminal which is accessed to the Radio and is not marked with the first identification.
When a first terminal with audio/video flow is detected by using Deep Packet Inspection (DPI), the method comprises the following steps:
and marking the high priority for the uplink flow and/or the downlink flow of the first terminal.
When a first terminal with audio/video flow is detected by using Deep Packet Inspection (DPI), the method comprises the following steps:
and starting to monitor the utilization rate of the Radio channel at regular time, comparing the monitoring result with a preset threshold value, and judging whether the monitoring result exceeds the preset threshold value.
When the channel utilization rate of the Radio frequency Radio accessed by the first terminal exceeds a preset threshold, the method further comprises:
and performing effect processing on the audio and video traffic received and transmitted by the first terminal to reduce the audio and video traffic.
The service speed limit for the second terminal which is accessed to the Radio and not marked with the first identifier comprises the following steps:
and limiting the TCP flow of the second terminal which is accessed to the Radio and not marked with the first mark.
According to the embodiments, the first terminal with the audio and video traffic can be marked in the scheme, so that the traffic sent and received by the first terminal with the mark can be processed in a high priority mode, and the problem that the audio and video traffic is delayed too much due to the fact that the audio and video traffic does not have the priority is solved.
The present disclosure also provides an AP, including:
the detection module is used for marking a first identifier for a first terminal when the DPI is used for detecting the first terminal with audio and video flow, wherein the first identifier is used for indicating the terminal with the audio and video flow;
and the processing module is used for limiting the service speed of a second terminal which is accessed to the Radio and not marked with the first identifier when the channel utilization rate of the Radio accessed by the first terminal exceeds a preset threshold value.
The detection module is further configured to mark a high priority for the uplink traffic and/or the downlink traffic of the first terminal.
The detection module is further configured to start timing monitoring of the utilization rate of the Radio channel, compare the monitoring result with a preset threshold, and determine whether the monitoring result exceeds the preset threshold.
The processing module is further configured to perform effect processing on the audio/video traffic received and transmitted by the first terminal when the channel utilization rate of the Radio frequency Radio accessed by the first terminal exceeds a preset threshold, so as to reduce the audio/video traffic.
The processing module is further configured to limit the TCP flow of the second terminal accessing the Radio, where the second terminal is not marked with the first identifier.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present specification and together with the description, serve to explain the principles of the specification.
Fig. 1 is a schematic flow chart of a traffic processing method according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the specification, as detailed in the appended claims.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present specification. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
At present, when audio/video traffic is processed, priority mapping in the traffic is mainly used for implementation.
The priority mapping is used to realize the conversion between the QoS priority carried by the traffic and the local priority of the device (i.e. the service level of the packet differentiated inside the device), and then the device provides differentiated QoS service according to the local priority.
After the traffic carrying QoS priority arrives at the device, the external priority (e.g. 802.1p, DSCP) is mapped to the local priority of the device, so that the device can recognize how to process the packet. When the traffic leaves the device, the local priority is mapped into the external priority, so that the device can continue to provide differentiated services according to the priority field in the traffic when the traffic reaches the next device. That is, classifying traffic by priority mapping is the basis, which is a prerequisite for implementing services differently.
However, at present, audio and video traffic uplinked by a plurality of terminals is not provided with priority, and at this time, air interface resources can be just in fair competition with other common traffic (non-audio and video traffic), and once the common traffic is large, the audio and video traffic is affected, so that extremely poor user experience is caused.
In a wireless local area network, an air interface can be understood as a virtual logic interface on an AP and an STA (terminal), wireless transmission is in a half-duplex mode, uplink traffic and downlink traffic occupy air interface resources together, and when the air interface resources are in shortage, application traffic requiring high-priority processing cannot acquire enough bandwidth.
In order to solve the above technical problem, an embodiment of the present disclosure provides a method for processing traffic, as shown in fig. 1, the method includes:
s101, when a first terminal with audio and video flow is detected by Deep Packet Inspection (DPI), marking a first identifier for the first terminal, wherein the first identifier is used for representing the terminal with the audio and video flow;
s102, when the channel utilization rate of the Radio frequency Radio accessed by the first terminal exceeds a preset threshold value, limiting the service speed of a second terminal accessed to the Radio and not marked with a first mark.
It should be noted that in order to meet the QoS requirements of different WLAN vendors, the Wi-Fi organization defines a WMM (Wi-Fi Multimedia) protocol. The WMM protocol is used for ensuring that high-priority flow is sent preferentially, so that better service quality of voice, video and other applications in a wireless network is ensured.
In the 802.11 protocol, DCF (Distributed Coordination Function) specifies that the AP and the terminal use CSMA/CA (Carrier Sense Multiple Access with connectivity Access) Access mode. The AP or terminal listens to the channel before it sends data on the occupied channel. And when the idle time of the channel is greater than or equal to the specified idle waiting time, the AP or the terminal randomly selects the back-off time within the range of the contention window to back off. The device that first ends the backoff contends for the channel. In the 802.11 protocol, since the idle waiting time and the contention window of all the devices are the same, the channel contention opportunities of the devices in the whole network are the same.
The WMM protocol changes the completely fair competition mode of the whole network by improving the 802.11 protocol, and divides the data packets in the BSS (Basic Service Set) into 4 ACs (Access categories), and the probability that the packets in the high-priority AC occupy the channel is greater than that of the packets in the low-priority AC, so that different ACs obtain services of different levels.
AC (Access Category), WMM defines four Access types, and there are corresponding priority queues, and these queues are divided into AC-VO (voice queue), AC-VI (video queue), AC-BE (best effort queue), and AC-BK (background queue) in order of priority from high to low. The higher the message in the priority queue, the stronger the channel seizing ability.
In step S101, an audio/video traffic of the terminal is identified by using a feature library supported by a DPI (Deep Packet Inspection), where the audio/video traffic may include: SIP voice, RTP voice, QQ, Lync, WeChat, Skype, Youko, Aiqiyi, trembler, etc.
When the fact that the flow forwarded by the AP is the audio and video flow is detected, a first identification is marked for a first terminal corresponding to the audio and video flow, the first identification is used for representing the terminal with the audio and video flow, and the first identification is Radio.
Meanwhile, after the first identifier is marked on the first terminal, when uplink and downlink traffic for the first terminal exists, high priority is marked on the uplink and downlink traffic so that an AP (terminal) can process the uplink and downlink traffic preferentially.
In one embodiment, when the first terminal sends the uplink traffic, the uplink traffic is forwarded to the wired traffic through the AP, and the IP priority of the IP packet is set to be the high priority.
And when the downlink traffic is directed to the first terminal, forwarding the downlink traffic to be wireless traffic through the AP, and placing the wireless message in an AC-VO (voice queue) and an AC-VI (video queue) according to WMM.
In this embodiment, the Radio channel utilization rate of the first terminal is monitored, and when the utilization rate reaches a preset threshold, it indicates that the Radio channel is busy, where the preset threshold may be 70% or 80%.
In an embodiment, after the Radio channel utilization of the first terminal reaches a preset threshold, the first terminal may be notified to perform effect processing on uplink traffic, or the AP may perform effect processing on the uplink traffic and the downlink traffic of the first terminal, for example, an effect processing manner such as reducing video resolution, reducing audio saturation, and the like, so that the processed audio/video traffic is reduced.
In step S202, after the Radio channel utilization of the first terminal reaches the preset threshold, the AP identifies whether there is traffic sent by other terminals in the traffic forwarded by the AP, and at the same time, detects whether the other terminals are marked with the first identifier, and if not, performs service speed limitation on the traffic sent by the other terminals.
In one embodiment, in order not to greatly affect the terminals, the speed of the TCP traffic is limited.
In this embodiment, the reason for limiting the TCP flow rate to other terminals is that the sliding window function of the TCP protocol ensures that the receiving party and the sending party negotiate a reasonable speed, and a large amount of retransmission messages are not generated, so that resources are further preempted.
In this embodiment, the AP limits the uplink and downlink traffic of the terminal not marked with the first identifier, so that the number of competitors for air interface resources is reduced, and the first terminal obtains more opportunities to seize the air interface.
Meanwhile, the TCP flow of the terminal which is not marked with the first identifier is limited, so that the speed of the downlink flow of the application server is limited in a phase-changing manner, and the purpose of limiting the uplink flow and the downlink flow is achieved.
In this embodiment, when the AP cannot detect that the first terminal has uplink and downlink traffic within the preset time, the AP may cancel the flag of the first identifier of the first terminal, and if there is traffic limited by speed, may also cancel speed limitation, and ensure the use experience of other terminals in time.
Based on the foregoing method embodiments, the present disclosure further provides an AP, where the AP includes:
the detection module is used for marking a first identifier for a first terminal when the DPI is used for detecting the first terminal with audio and video flow, wherein the first identifier is used for indicating the terminal with the audio and video flow;
and the processing module is used for limiting the service speed of a second terminal which is accessed to the Radio and not marked with the first identifier when the channel utilization rate of the Radio accessed by the first terminal exceeds a preset threshold value.
The detection module is further configured to mark a high priority for the uplink traffic and/or the downlink traffic of the first terminal.
The detection module is further configured to start timing monitoring of the utilization rate of the Radio channel, compare the monitoring result with a preset threshold, and determine whether the monitoring result exceeds the preset threshold.
The processing module is further configured to perform effect processing on the audio/video traffic received and transmitted by the first terminal when the channel utilization rate of the Radio frequency Radio accessed by the first terminal exceeds a preset threshold, so as to reduce the audio/video traffic.
The processing module is further configured to limit the TCP flow of the second terminal accessing the Radio, where the second terminal is not marked with the first identifier.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Other embodiments of the present description will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following, in general, the principles of the specification and including such departures from the present disclosure as come within known or customary practice within the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A method for processing traffic, the method comprising:
when a first terminal with audio and video flow is detected by using a Deep Packet Inspection (DPI), marking a first identifier for the first terminal, wherein the first identifier is used for representing the terminal with the audio and video flow;
and when the channel utilization rate of the Radio frequency Radio accessed by the first terminal exceeds a preset threshold value, limiting the service speed of a second terminal which is accessed to the Radio and is not marked with the first identification.
2. The method according to claim 1, wherein when the first terminal with the presence of audio/video traffic is detected by Deep Packet Inspection (DPI), the method comprises:
and marking the high priority for the uplink flow and/or the downlink flow of the first terminal.
3. The method according to claim 1, wherein when the first terminal with the presence of audio/video traffic is detected by Deep Packet Inspection (DPI), the method comprises:
and starting to monitor the utilization rate of the Radio channel at regular time, comparing the monitoring result with a preset threshold value, and judging whether the monitoring result exceeds the preset threshold value.
4. The method according to claim 1, wherein when the channel utilization rate of the Radio frequency Radio accessed by the first terminal exceeds a preset threshold, the method further comprises:
and performing effect processing on the audio and video traffic received and transmitted by the first terminal to reduce the audio and video traffic.
5. The method of claim 1, wherein the limiting the traffic speed for the second terminal accessing the Radio and not marked with the first identifier comprises:
and limiting the TCP flow of the second terminal which is accessed to the Radio and not marked with the first mark.
6. An AP, the AP comprising:
the detection module is used for marking a first identifier for a first terminal when the DPI is used for detecting the first terminal with audio and video flow, wherein the first identifier is used for indicating the terminal with the audio and video flow;
and the processing module is used for limiting the service speed of a second terminal which is accessed to the Radio and not marked with the first identifier when the channel utilization rate of the Radio accessed by the first terminal exceeds a preset threshold value.
7. The AP of claim 6,
the detection module is further configured to mark a high priority for the uplink traffic and/or the downlink traffic of the first terminal.
8. The AP of claim 6,
the detection module is further used for starting the timing monitoring of the utilization rate of the Radio channel, comparing the monitoring result with a preset threshold value and judging whether the monitoring result exceeds the preset threshold value or not.
9. The AP of claim 6,
the processing module is further configured to perform effect processing on the audio and video traffic received and transmitted by the first terminal when the channel utilization rate of the Radio frequency Radio accessed by the first terminal exceeds a preset threshold, so as to reduce the audio and video traffic.
10. The AP of claim 6,
and the processing module is also used for limiting the TCP flow of the second terminal which is accessed to the Radio and not marked with the first identifier.
CN202111425475.1A 2021-11-26 2021-11-26 Traffic processing method and AP Withdrawn CN114245413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111425475.1A CN114245413A (en) 2021-11-26 2021-11-26 Traffic processing method and AP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111425475.1A CN114245413A (en) 2021-11-26 2021-11-26 Traffic processing method and AP

Publications (1)

Publication Number Publication Date
CN114245413A true CN114245413A (en) 2022-03-25

Family

ID=80751596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111425475.1A Withdrawn CN114245413A (en) 2021-11-26 2021-11-26 Traffic processing method and AP

Country Status (1)

Country Link
CN (1) CN114245413A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651967A (en) * 2009-09-21 2010-02-17 杭州华三通信技术有限公司 Method and equipment for adjusting flow speed in wireless local area network
CN107148066A (en) * 2017-06-20 2017-09-08 上海斐讯数据通信技术有限公司 Network resource optimization device and method and WAP
CN107276786A (en) * 2017-05-05 2017-10-20 北京星网锐捷网络技术有限公司 A kind of wireless method for limiting speed and system based on wlan
CN109617637A (en) * 2019-01-22 2019-04-12 新华三技术有限公司 A kind of information processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651967A (en) * 2009-09-21 2010-02-17 杭州华三通信技术有限公司 Method and equipment for adjusting flow speed in wireless local area network
CN107276786A (en) * 2017-05-05 2017-10-20 北京星网锐捷网络技术有限公司 A kind of wireless method for limiting speed and system based on wlan
CN107148066A (en) * 2017-06-20 2017-09-08 上海斐讯数据通信技术有限公司 Network resource optimization device and method and WAP
CN109617637A (en) * 2019-01-22 2019-04-12 新华三技术有限公司 A kind of information processing method and device

Similar Documents

Publication Publication Date Title
JP4937995B2 (en) Method for prioritizing video distributed in a wireless LAN and apparatus implementing the method
KR100914940B1 (en) Method and apparatus for controlling wireless medium congestion by adjusting contention window size and disassociating selected mobile stations
EP2974093B1 (en) Airtime-aware scheduling for wireless local-area network
US7873049B2 (en) Multi-user MAC protocol for a local area network
KR100590772B1 (en) Apparatus and method of media access control processor for guaranteeing quality of service in wireless LAN
WO2017107699A1 (en) Access method and apparatus
US9544922B2 (en) Quality of service scheme for collision-based wireless networks
EP1968262B1 (en) Wireless communication terminal and wireless communication method
US8369350B2 (en) Method for transmitting and receiving frame in wireless LAN
US20060120339A1 (en) Method of controlling quality of service for a wireless LAN base station apparatus
EP4213446A1 (en) Wifi chip, wifi device and queue scheduling method
US20070165665A1 (en) System and method for access control in wireless networks
CN114430591A (en) Wi-Fi chip, Wi-Fi equipment and queue scheduling method
US9253792B2 (en) Method and apparatus of frame scheduling in wireless local area network system
CN116097900A (en) Sharing EDCA TXOP with RTA traffic
CN107613570B (en) Service quality optimization method and system based on ZigBee network
CN117412383A (en) Bandwidth allocation method, system, electronic equipment and storage medium
CN114245413A (en) Traffic processing method and AP
Yu et al. Distributed resource reservation mechanism for IEEE 802.11 e-based networks
TWI789116B (en) Mesh network system and communication method of the same having data flow transmission sorting mechanism
KR20050082598A (en) Method for priority-based backoff number assignment in wireless local area network under distributed coordination function
KR101565707B1 (en) Method of Data Transmitting/Receiving for Vehicular terminal
CN114980350A (en) Count value configuration method and device
Min et al. Design and evaluation of a medium access control scheme in wireless local area home networks
KR101727738B1 (en) Method and apparatus for transmitting packet in wireless communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220325