CN113709891A - Method for processing flow and AP - Google Patents

Method for processing flow and AP Download PDF

Info

Publication number
CN113709891A
CN113709891A CN202110877428.4A CN202110877428A CN113709891A CN 113709891 A CN113709891 A CN 113709891A CN 202110877428 A CN202110877428 A CN 202110877428A CN 113709891 A CN113709891 A CN 113709891A
Authority
CN
China
Prior art keywords
information
queue
quintuple information
data message
quintuple
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
CN202110877428.4A
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 Technologies Co Ltd Chengdu Branch
Original Assignee
New H3C Technologies Co Ltd Chengdu Branch
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 Technologies Co Ltd Chengdu Branch filed Critical New H3C Technologies Co Ltd Chengdu Branch
Priority to CN202110877428.4A priority Critical patent/CN113709891A/en
Publication of CN113709891A publication Critical patent/CN113709891A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • H04W72/569Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient of the traffic information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Landscapes

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

Abstract

The present specification provides a method of processing traffic and an AP, the method comprising: receiving a downlink data message sent by a server to an STA (station), acquiring first quintuple information of the downlink data message, judging whether second quintuple information matched with the first quintuple information exists, if so, loading the service priority into the downlink data message according to the corresponding relation between the second quintuple information and the service priority, and sending the service priority to the STA. By the method, the service priority can be added to the downlink data message sent by the AP to the STA, so that the STA can process the downlink data message according to the service priority.

Description

Method for processing flow and AP
Technical Field
The present disclosure relates to the field of wireless communication technologies, and in particular, to a method for processing traffic and an AP.
Background
With the increasing network scale, the services carried in the network are more and more abundant, and the single network data is converted into multi-service data such as integrated data, voice, video, games and the like. The continuous emergence of new services puts higher requirements on the service capacity of the IP network, such as supporting the provision of dedicated bandwidth for users, reducing the loss rate of messages, managing and avoiding network congestion, regulating and controlling the flow of the network, setting the priority of messages, and the like.
DPI (Deep Packet Inspection) is a mechanism for detecting network traffic passing through a device based on application layer information, and can analyze content above a Packet transmission layer through DPI and identify the type of a service flow by matching with a characteristic character string in the device.
And according to the message identification service analysis function of the DPI, configuring a specific application or service flow as a high-priority flow and processing the flow.
However, with the DPI technology, DPI detection is required for each packet, and although the application type can be accurately identified, time consumption and CPU occupation are increased, which may affect the forwarding efficiency.
Besides the DPI technology, the packet can be processed through priority mapping of the packet, the priority mapping is used to convert the QoS priority carried by the packet to the local priority of the device (i.e., the service level of the packet differentiated inside the device), and then the device provides a differentiated QoS service according to the local priority.
After a message with QoS priority arrives at a 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 message. When the message leaves the equipment, the local priority is mapped into the external priority, so that the equipment can continue to provide differential service according to the priority field in the message when the message reaches the next equipment. That is, classifying packets by priority mapping is the basis, which is a precondition for implementing services differently.
However, in some current mainstream applications, such as flight video and ZOOM, application software reverse downlink messages, that is, messages sent from the server to the terminal are not always prioritized, and in this scenario, video or audio traffic cannot enter a high-priority queue for processing, which affects user experience.
Disclosure of Invention
The disclosure provides a traffic processing method and an AP (access point), and the method can increase the service priority in a downlink data message sent to an STA by the AP.
The present disclosure provides a method for processing traffic, the method is applied to an AP, and the method includes:
receiving a downlink data message sent to the STA by a server;
acquiring first quintuple information of the downlink data message, and judging whether second quintuple information matched with the first quintuple information exists or not;
and if the downlink data packet exists, loading the service priority into the downlink data packet according to the corresponding relation between the second quintuple information and the service priority, and sending the downlink data packet to the STA.
Optionally, the method for acquiring the second quintuple information includes:
receiving an uplink data message sent by the STA to a server;
and generating quintuple information of reverse flow according to the third quintuple information of the uplink data message, and taking the quintuple information of the reverse flow as second quintuple information.
Optionally, the method for establishing the corresponding relationship includes: acquiring wireless multimedia WMM queue information from the uplink data message, and acquiring service priority corresponding to the WMM queue information;
and establishing a corresponding relation between the second quintuple information and the service priority.
Optionally, the acquiring wireless multimedia WMM queue information from the uplink data packet and acquiring a service priority corresponding to the WMM queue information specifically include:
the WMM queue information includes: one or more of a voice queue, a video queue, a best effort queue, a background queue;
and determining the service priority according to different queues in the WMM queue information.
The present disclosure also provides an AP, including:
the receiving module is used for receiving a downlink data message sent to the STA by the server;
the acquisition module acquires first quintuple information of the downlink data message and judges whether second quintuple information matched with the first quintuple information exists or not;
and the processing module loads the service priority into the downlink data message according to the corresponding relation between the second quintuple information and the service priority and sends the downlink data message to the STA.
Optionally, the obtaining module is further configured to send, to the server, an uplink data packet according to the STA received by the receiving module;
and generating quintuple information of reverse flow according to the third quintuple information of the uplink data message, and taking the quintuple information of the reverse flow as second quintuple information.
Optionally, the AP further includes a mapping module,
and the mapping module is used for acquiring wireless multimedia WMM queue information from the uplink data message, acquiring service priority corresponding to the WMM queue information and establishing the corresponding relation between the second quintuple information and the service priority.
Optionally, the WMM queue information includes: one or more of a voice queue, a video queue, a best effort queue, a background queue;
the mapping module is specifically configured to determine service priorities according to different queues in the WMM queue information.
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 method for processing traffic according to an embodiment of the present disclosure.
Fig. 2 is a schematic flow chart of message processing 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.
In order to solve the technical problem that a video or audio traffic cannot enter a high-priority queue for processing and user experience is affected due to the fact that a message sent from a server to an STA has no corresponding high priority, an embodiment of the present disclosure provides a method for processing traffic, where as shown in fig. 1, the method includes:
s101, receiving a downlink data message sent to an STA by a server;
s102, acquiring first quintuple information of the downlink data message, and judging whether second quintuple information matched with the first quintuple information exists or not;
and S103, if the service priority exists, loading the service priority into the downlink data message according to the corresponding relation between the second quintuple information and the service priority, and sending the downlink data message to the STA.
In this embodiment, IEEE 802.11e is involved, wherein 802.11(1997) all services use the same priority, but in practical applications voice call, video playback, audio download have higher network requirements. The IEEE working group introduced an enhanced 802.11 scheme: 802.11e, in 802.11e, different services use different priorities, wherein the different services may include: voice traffic, video traffic, etc.
The IEEE 802.11e adds QoS (Quality of Service) characteristics to the WLAN architecture based on the 802.11 protocol, and before the IEEE 802.11e standardization, the Wi-Fi organization defines the WMM (Wi-Fi Multimedia) standard in order to ensure that devices providing QoS by different WLAN vendors can communicate with each other. The WMM standard provides WLAN networks with the ability to provide QoS services.
802.11e is the MAC layer enhancement protocol of 802.11 protocol, compared with 802.11, in the MAC frame header of 802.11e, add QoS Control field of 2 bytes, wherein the priority bit is 3 bits. The 802.11e priority value range is 0-7.
In step S101, an STA (Station) communicates with a server through an AP, the server processes the service in response to a service requirement sent by the STA, and the service of the server may be diversified, for example, an enterprise server supporting an Tencent service or an enterprise server supporting services such as Payment and Taobao. The STA may include a mobile phone, a tablet, an iPad, etc., and the user may send a data packet to the AP through the APP running in the STA, for example, the user enables a payroll or QQ software in the STA, the corresponding software generates a service packet and sends the service packet to the AP from a wireless port of the STA, the AP may send the service packet to the public network side through a wired port after receiving the service packet, the end server receives and processes the service packet, and sends a reverse service packet (i.e., a reverse traffic) to the STA according to a processing result, and the reverse service packet is a downlink data packet in step S101.
In step S102, the AP may first set a correspondence between the second quintuple information and the service priority.
Wherein, the quintuple may include: a source IP address, a destination IP address, a source port, a destination port, and an IP protocol number, for example, when the AP receives uplink traffic sent from the STA, a five-tuple of the uplink traffic is acquired:
source IP address: 1.1.1.1, destination IP address: 2.2.2.2, source port: 39868, destination port: 443, protocol number: 6 (tcp).
And acquiring a quintuple (namely a second quintuple) of the reverse flow according to the quintuple (namely a third quintuple) of the uplink flow:
source IP address: 2.2.2.2, destination IP address: 1.1.1.1, source port: 443, destination port: 39868, protocol number: 6 (tcp).
In an implementation manner, the AP may establish the corresponding relationship according to an uplink data packet sent by the STA, specifically, generate a quintuple information of a reverse flow according to a third quintuple information of the uplink data packet, and use the quintuple information of the reverse flow as a second quintuple information.
And simultaneously, acquiring wireless multimedia WMM queue information from the uplink data message, acquiring a service priority corresponding to the WMM queue information, and establishing a corresponding relation between the second quintuple information and the service priority.
In the embodiment, in order to meet the requirements of different WLAN vendors for QoS, the Wi-Fi organization defines a WMM (Wi-Fi Multimedia) protocol. The WMM protocol is used for ensuring that a high-priority message is sent preferentially, thereby ensuring that the voice, video and other applications have better service quality in a wireless network
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.
WMM defines four access types, corresponding to respective priority queues, which are classified 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 this embodiment, the WMM queue information may include: and determining service priority according to different queues, for example, when the importance of the voice queue is greater than that of the video queue, the video queue is greater than that of the best effort queue, and the best effort queue is greater than that of the background queue, then the priority of the voice queue is greater than that of the video queue, and the priority of the best effort queue is greater than that of the background queue.
After receiving the service message sent by the STA, the AP determines the service priority of the service message after determining the WMM queue of the service message according to the information carried in the service message, and further establishes the correspondence between the second quintuple information and the service priority.
The second quintuple information may represent a plurality of quintuple information, different second quintuple information may correspond to different service priorities, and the different second quintuple information may be stored in the AP in a corresponding relationship with the different service priorities.
In step S102, the AP may match the acquired first quintuple information with second quintuple information in the corresponding relationship, and may acquire a service priority corresponding to the second quintuple information matched with the first quintuple information if there is quintuple information matched with the first quintuple information in the second quintuple information.
In step S103, the AP may load the corresponding service priority into the downlink data packet and send the downlink data packet to the STA, so as to implement that the STA processes the service packet according to the priority in the received downlink data packet.
In an embodiment combining with practical applications, as shown in fig. 2, when a user uses an APP in a mobile phone (STA), the mobile phone operating system supports setting 802.11e priority and WMM parameters for a specific application or a specific message.
As in an IOS system: the existence of "different standards (802.1p, DSCP, 802.11e/WMM) may help network devices to agree on how to mark different types of traffic to guarantee higher priority. Fast channels greatly simplify this protocol flow between wireless clients, wireless networks, and wired networks, minimizing congestion of application packets and delivering time-efficient traffic (e.g., voice or video) on time. The organization may then install a configuration description file on the iPhone or iPad, allowing only specific enterprise apps to obtain priority. The Cisco network will look for these tags and provide the associated service level. "
When receiving a data message uplink by the STA, the AP acquires WMM queue information in the message, and if the message belongs to a high-priority queue AC-VO (voice queue) and an AC-VI (video queue), records a quintuple of the message, generates a reverse quintuple table entry for storage, and simultaneously stores the WMM queue information in the message and the 802.11e priority.
For a STA flow, an uplink direction is a packet requiring high-priority processing, and a reverse flow also necessarily requires high-priority processing, so that high-quality experience can be brought to a terminal user. Therefore, when the reverse flow reaches the AP, the data of the forward table is directly matched according to the quintuple of the message, if the data is hit, the WMM queue information in the table entry and the 802.11e priority are directly taken to backfill, the traditional priority mapping process is replaced, and the priority of the wireless message is automatically improved.
According to the method, the uplink data message is used for acquiring the corresponding quintuple to generate the reverse flow quintuple, and the corresponding relation between the reverse flow quintuple and the service priority is established, so that the corresponding service priority can be added to the downlink data message, the STA is enabled to process the downlink data message according to the service priority, and the response speed of the STA to the important downlink data message is effectively improved.
Based on the foregoing method embodiment, an embodiment of the present disclosure further provides an AP, where the AP includes:
the receiving module is used for receiving a downlink data message sent to the STA by the server;
the acquisition module acquires first quintuple information of the downlink data message and judges whether second quintuple information matched with the first quintuple information exists or not;
and the processing module loads the service priority into the downlink data message according to the corresponding relation between the second quintuple information and the service priority and sends the downlink data message to the STA.
Optionally, the obtaining module is further configured to send, to the server, an uplink data packet according to the STA received by the receiving module;
and generating quintuple information of reverse flow according to the third quintuple information of the uplink data message, and taking the quintuple information of the reverse flow as second quintuple information.
Optionally, the AP further includes a mapping module, where the mapping module is configured to obtain wireless multimedia WMM queue information from the uplink data packet, obtain a service priority corresponding to the WMM queue information, and establish a correspondence between the second quintuple information and the service priority.
Optionally, the WMM queue information includes: one or more of a voice queue, a video queue, a best effort queue, a background queue;
the mapping module is specifically configured to determine service priorities according to different queues in the WMM queue information.
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 (8)

1. A method for processing traffic, the method being applied to an AP, the method comprising:
receiving a downlink data message sent to the STA by a server;
acquiring first quintuple information of the downlink data message, and judging whether second quintuple information matched with the first quintuple information exists or not;
and if the downlink data packet exists, loading the service priority into the downlink data packet according to the corresponding relation between the second quintuple information and the service priority, and sending the downlink data packet to the STA.
2. The method according to claim 1, wherein the method of acquiring the second quintuple information comprises:
receiving an uplink data message sent by the STA to a server;
and generating quintuple information of reverse flow according to the third quintuple information of the uplink data message, and taking the quintuple information of the reverse flow as second quintuple information.
3. The method of claim 2, wherein the method of establishing the correspondence comprises:
acquiring wireless multimedia WMM queue information from the uplink data message, and acquiring service priority corresponding to the WMM queue information;
and establishing a corresponding relation between the second quintuple information and the service priority.
4. The method of claim 3, wherein the obtaining wireless multimedia WMM queue information from the uplink data packet and obtaining a service priority corresponding to the WMM queue information comprises:
the WMM queue information includes: one or more of a voice queue, a video queue, a best effort queue, a background queue;
and determining the service priority according to different queues in the WMM queue information.
5. An AP, the AP comprising:
the receiving module is used for receiving a downlink data message sent to the STA by the server;
the acquisition module acquires first quintuple information of the downlink data message and judges whether second quintuple information matched with the first quintuple information exists or not;
and the processing module loads the service priority into the downlink data message according to the corresponding relation between the second quintuple information and the service priority and sends the downlink data message to the STA.
6. The AP of claim 5,
the acquisition module is further used for transmitting an uplink data message to the server according to the STA received by the receiving module;
and generating quintuple information of reverse flow according to the third quintuple information of the uplink data message, and taking the quintuple information of the reverse flow as second quintuple information.
7. The AP of claim 6, wherein the AP further comprises a mapping module,
and the mapping module is used for acquiring wireless multimedia WMM queue information from the uplink data message, acquiring service priority corresponding to the WMM queue information and establishing the corresponding relation between the second quintuple information and the service priority.
8. The AP of claim 7, wherein the WMM queue information comprises: one or more of a voice queue, a video queue, a best effort queue, a background queue;
the mapping module is specifically configured to determine service priorities according to different queues in the WMM queue information.
CN202110877428.4A 2021-07-31 2021-07-31 Method for processing flow and AP Withdrawn CN113709891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110877428.4A CN113709891A (en) 2021-07-31 2021-07-31 Method for processing flow and AP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110877428.4A CN113709891A (en) 2021-07-31 2021-07-31 Method for processing flow and AP

Publications (1)

Publication Number Publication Date
CN113709891A true CN113709891A (en) 2021-11-26

Family

ID=78651153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110877428.4A Withdrawn CN113709891A (en) 2021-07-31 2021-07-31 Method for processing flow and AP

Country Status (1)

Country Link
CN (1) CN113709891A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142181A (en) * 2015-08-07 2015-12-09 上海斐讯数据通信技术有限公司 Method and system for mapping priority of messages of wireless access equipment
CN111083792A (en) * 2018-10-22 2020-04-28 华为技术有限公司 Data transmission method, device and equipment in WiFi network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142181A (en) * 2015-08-07 2015-12-09 上海斐讯数据通信技术有限公司 Method and system for mapping priority of messages of wireless access equipment
CN111083792A (en) * 2018-10-22 2020-04-28 华为技术有限公司 Data transmission method, device and equipment in WiFi network

Similar Documents

Publication Publication Date Title
US8848635B2 (en) Systems and method for communicating priority information for use in scheduling the transmission of data
RU2533166C2 (en) Method, apparatus and system for data stream planning
KR101029954B1 (en) Providing quality of service for various traffic flows in a communications environment
US7738370B2 (en) Method, network element and modules therefore, and computer program for use in prioritizing a plurality of queuing entities
WO2020063963A1 (en) Communication method and related device
US8520538B2 (en) Method and system for managing traffic in a wireless communication system
CN109196918B (en) Data transmission control method, communication equipment and core network equipment
WO2015085500A1 (en) Control device in wireless local area network, network system and service processing method
CN101919226A (en) Method for quality of service control and network device
JP2009509466A (en) Providing movement indications to resource requesters
KR20080063333A (en) Packet routing in a wireless communications environment
JP2009509467A (en) Provision of QoS processing based on multiple requests
US8031607B2 (en) Implementation of internet protocol header compression with traffic management quality of service
US8289852B2 (en) Setting token bucket parameters for scheduling of air-interface resources
US20130322366A1 (en) Control of Data Flows over Transport Networks
US10470086B2 (en) Stateful application identification while roaming
US20070047563A1 (en) Priority queuing of frames in a TDMA network
EP4088434A1 (en) Tsc-5g qos mapping with consideration of assistance traffic information and pcc rules for tsc traffic mapping and 5g qos flows binding
US20220393984A1 (en) Nodes and Methods for Enabling User Plane Traffic Classification in a Communications System
CN114727340A (en) Method and device for transmitting message
US11936761B2 (en) Tag-based data packet prioritization in dual connectivity systems
CN113709891A (en) Method for processing flow and AP
Chaouchi et al. Adaptive QoS management for IEEE 802.11 future wireless ISPs
US8699423B1 (en) Wireless slot allocation
KR101707416B1 (en) METHOD AND SYSTEM FOR CONTROLLING QoS FOR DATA BROADCASTING SERVICE IN WIRELESS LAN AND ACCESS POINT THEREFOR

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

Application publication date: 20211126

WW01 Invention patent application withdrawn after publication