CN110414928B - Service flow classification processing method and device and communication equipment - Google Patents

Service flow classification processing method and device and communication equipment Download PDF

Info

Publication number
CN110414928B
CN110414928B CN201910614791.XA CN201910614791A CN110414928B CN 110414928 B CN110414928 B CN 110414928B CN 201910614791 A CN201910614791 A CN 201910614791A CN 110414928 B CN110414928 B CN 110414928B
Authority
CN
China
Prior art keywords
classification
priority
service
flow
mode
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.)
Active
Application number
CN201910614791.XA
Other languages
Chinese (zh)
Other versions
CN110414928A (en
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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Network Systems 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 Comba Network Systems Co Ltd filed Critical Comba Network Systems Co Ltd
Priority to CN201910614791.XA priority Critical patent/CN110414928B/en
Publication of CN110414928A publication Critical patent/CN110414928A/en
Application granted granted Critical
Publication of CN110414928B publication Critical patent/CN110414928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Artificial Intelligence (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a method and a device for processing service flow classification and communication equipment. The method comprises the following steps: acquiring a service flow; adding a classification label to the service flow according to the configured classification template and the characteristic information of the service flow; according to the configured re-marking mode and the classification label, performing priority re-marking processing on the service flow; and performing air interface enqueuing processing on the re-marked service flow according to the configured flow classification mapping mode and the classification label. By classifying and re-marking the priority according to the characteristic information of the service flow, the method can flexibly support fine classification of the service flow based on various complex service flow characteristics and redefine the priority attribute of the service flow; and performing air interface enqueuing processing on the classified and re-marked service flows through a configured flow classification mapping mode, so that mapping of the service flows from the Ethernet to the air interface service flows is realized, and the purpose of improving the classification efficiency of the service flows is achieved.

Description

Service flow classification processing method and device and communication equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing traffic flow classification, and a communication device.
Background
With the development of mobile communication technology, in the field of microwave communication, a large number of various communication devices are used in access networks and transmission networks, and mass service data from different users are aggregated and distributed on nodes served by the communication devices. As the bandwidth requirements of network links increase, bandwidth management becomes important between the increasing user traffic demands and the limited bandwidth of network links. The traffic of the service data of the communication equipment is quantitatively monitored and marked through traffic monitoring, and the traffic is subjected to peak shifting adjustment and guarantee through traffic shaping, so that the bandwidth of a network link is better utilized, the stability of various services is improved, and the end-to-end service performance is improved.
However, traffic classification is the basis for fine-grained bandwidth control, and the traditional traffic classification method is based on classifying the QoS priority based on the TOS field or the DSCP field of the ingress packet. However, in the implementation process, the inventor finds that the conventional traffic flow classification method has the problem of low classification processing efficiency.
Disclosure of Invention
In view of the above, it is necessary to provide a traffic classification processing method, a traffic classification processing apparatus, a communication device, and a computer-readable storage medium, which can effectively improve the traffic classification efficiency, in order to solve the problems in the conventional traffic classification methods.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
in one aspect, an embodiment of the present invention provides a method for classifying and processing a service flow, including:
acquiring a service flow;
adding a classification label to the service flow according to the configured classification template and the characteristic information of the service flow;
according to the configured re-marking mode and the classification label, performing priority re-marking processing on the service flow;
and performing air interface enqueuing processing on the re-marked service flow according to the configured flow classification mapping mode and the classification label.
In one embodiment, the step of adding a classification label to the service flow according to the configured classification template and the feature information of the service flow includes:
performing feature matching on packet header information of the service flow according to a currently used classification template;
and if the packet header information contains characteristic information matched with the set characteristics in the classification template, adding a classification label to the service flow.
In one embodiment, the step of adding a classification label to the service flow according to the configured classification template and the feature information of the service flow further includes:
and if the packet header information does not have the characteristic information matched with the set characteristics in the classification template, performing characteristic matching on the packet header information of the service flow according to the next classification template.
In one embodiment, the step of performing feature matching on the packet header information of the service flow according to the currently used classification template includes:
and performing feature matching on the packet header information of the service flow through a regular expression according to the classification template.
In one embodiment, the process of adding a class label to a traffic flow includes:
distributing a stream service ID for the service stream and binding a re-marking mode ID;
adding the stream service ID to a stream service label of the service stream, and adding the air interface stream classification priority mapped by the classification template to a priority domain of the stream service label; the flow Service label is a Service VLAN label or an MPLS label.
In one embodiment, the classification template includes at least one of a CE VLAN classification-based template, a Service VLAN and CE VLAN classification-based template, a 5-tuple classification-based template, an MPLS-EXP classification-based template, and an L2CP classification-based template.
In one embodiment, the re-tagging modes include a trusted data stream priority mode, a default priority mode, and a priority MAP tagging mode;
according to the configured re-marking mode and the classification label, the step of carrying out priority re-marking processing on the service flow comprises the following steps:
Reading a classification label of the service flow, and determining a corresponding re-marking mode according to the classification label;
if the re-marking mode is the default priority mode, marking the default priority to the priority domain of the next layer protocol.
In one embodiment, the step of performing priority re-labeling processing on the service flow according to the configured re-labeling mode and the classification label further includes:
if the re-marking mode is the priority MAP marking mode, searching a corresponding air interface mapping priority in a re-marking MAP table through a Hash algorithm according to the priority of the next layer of protocol;
and marking the air interface mapping priority to the priority domain of the next layer protocol.
In one embodiment, the step of performing priority re-labeling processing on the service flow according to the configured re-labeling mode and the classification label further includes:
if the re-marking mode is the priority mode of the trusted data stream, the priority carried by the service stream is maintained unchanged.
In one embodiment, the stream classification mapping mode includes a specified classification air interface service level mode;
according to the configured flow classification mapping mode and the classification label, the step of carrying out air interface enqueuing processing on the re-marked service flow comprises the following steps:
Reading a classification label of the service flow, and determining a corresponding flow classification mapping mode according to the classification label;
if the stream classification mapping mode is the specified classification air interface service level mode, determining the corresponding air interface stream classification priority according to the priority domain of the stream service label;
and putting the service flow into an air interface queue corresponding to the air interface flow classification priority.
In one embodiment, the flow classification mapping mode further includes an air interface service level MAP mode;
according to the configured flow classification mapping mode and the classification label, the step of carrying out air interface enqueuing processing on the re-marked service flow comprises the following steps:
reading a classification label of the service flow, and determining a corresponding flow classification mapping mode according to the classification label;
if the flow classification mapping mode is an air interface service level MAP mode, determining the corresponding air interface flow classification priority according to the priority domain of the flow service label;
determining a sub-queue corresponding to the priority domain of the next layer protocol according to the priority domain of the next layer protocol; the sub-queue is a sub-queue in the air interface queue corresponding to the air interface stream classification priority;
and putting the service flow into the sub-queue.
In another aspect, an apparatus for processing traffic flow classification is provided, including:
The acquisition module is used for acquiring the service flow;
the classification module is used for adding a classification label to the service flow according to the configured classification template and the characteristic information of the service flow;
the re-marking module is used for performing priority re-marking processing on the service flow according to the configured re-marking mode and the classification label;
and the air interface classification module is used for carrying out air interface enqueuing processing on the re-marked service flow according to the configured flow classification mapping mode and the classification label.
In still another aspect, a communication device is further provided, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the traffic flow classification processing method when executing the computer program.
In still another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the above-mentioned traffic flow classification processing method.
According to the service flow classification processing method, the service flow classification processing device and the communication equipment, classification and priority re-marking processing are carried out according to the characteristic information of the service flow, so that the fine classification of the service flow based on various complex service flow characteristics can be flexibly supported, the priority attribute of the service flow can be redefined, and the application requirement of data node management can be better met. And finally, performing air interface enqueuing processing on the classified and re-marked service flows through a configured flow classification mapping mode, so that mapping of the service flows from the Ethernet to the air interface service flows is realized, the purpose of completing priority coordination and butt joint of the service flows from a wired side to the air interface side through primary flow classification is achieved, and the classification efficiency of the service flows is greatly improved.
Drawings
FIG. 1 is a flow diagram illustrating a traffic flow classification processing method according to an embodiment;
FIG. 2 is a schematic flow diagram that illustrates the process of class tagging in one embodiment;
FIG. 3 is a schematic flow chart of the process of class tagging in another embodiment;
FIG. 4 is a flow diagram that illustrates the processing of the add category label in one embodiment;
FIG. 5 is a flowchart illustrating a process for adding category labels in accordance with another embodiment;
FIG. 6 is a flow diagram that illustrates the process of priority re-labeling, according to one embodiment;
FIG. 7 is a flow diagram illustrating the process of priority re-labeling in another embodiment;
fig. 8 is a schematic flow chart illustrating the air interface stream classification mapping process in one embodiment;
fig. 9 is a schematic flowchart of air interface flow classification mapping processing in another embodiment;
fig. 10 is a block diagram showing a block configuration of a traffic flow classification processing device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It is to be noted that, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In an access network and a transmission network of microwave communication, a communication device such as a router, a switch or other devices serves as a node for service data aggregation and distribution, and air interface bandwidth management of the communication device is important for improving end-to-end service performance. Aiming at the problem of low classification processing efficiency in the traditional service flow classification mode, the service flow classification processing method provided by the application can be applied to the communication equipment or other microwave transmission equipment. In the communication device, for the service flow flowing into the ethernet side, the communication device may add a classification label to the service flow according to the configured classification template and the feature information of the service flow; then according to the configured re-marking mode and the classification label, performing priority re-marking processing on the service flow; and finally, according to the configured flow classification mapping mode and the classification label, performing air interface enqueuing processing on the re-marked service flow, so that the service flow realizes the butt joint from the Ethernet priority to the air interface priority, and the air interface microwave transmission is facilitated. Therefore, the purpose of completing the priority coordination and butt joint of the service flow from the wired side to the air interface side through primary flow classification is achieved, and the service flow classification efficiency is greatly improved.
Referring to fig. 1, in an embodiment, a traffic flow classification processing method is provided, which is applied to the communication device as an example, and includes the following steps S12 to S18:
and S12, acquiring the service flow.
It can be understood that the service flow is a service data flow from the ethernet side, which needs to be processed from the air interface and transmitted to the opposite terminal device by microwave. The communication device can directly receive the service flow from the microwave communication access network or the transmission network accessed by the communication device. The traffic flows may be of various types, e.g. traffic flows corresponding to different user terminal devices, respectively.
And S14, adding a classification label to the service flow according to the configured classification template and the characteristic information of the service flow.
It is understood that the classification template is a classification template corresponding to a pre-configured flow classification policy (or called rule) and is used for indicating a correspondence between the features of the traffic flow and the classification category. The classification template may be one, or two or more different classification templates may be configured at the same time, and the configuration may be specifically selected according to the application requirements. The characteristic information is identification information of the traffic flow, such as but not limited to VLAN, IP address, destination MAC address of the traffic flow or other identification fields capable of identifying the transmission characteristics of the traffic flow itself. The classification label is a predetermined data label and is used for dividing different service flows, and dividing various service flows into a plurality of flow service sets, so that the classification processing of the service flows in the subsequent re-marking and empty mapping processing process is conveniently guided, and the efficient classification processing of the service flows is ensured.
Specifically, when a service flow enters, a classifier in the communication device may match feature information of the service flow according to a pre-configured classification template. And when the characteristics matched with the classification template exist in the service flow, the service flow is indicated as the classification category corresponding to the matched characteristic information in the classification template. Furthermore, a classification label corresponding to the matched feature information may be added to the traffic flow for which the classification category is determined, so as to label the classification result.
And S16, performing priority re-marking processing on the service flow according to the configured re-marking mode and the classification label.
It can be understood that the re-labeling mode is a pre-configured priority re-labeling policy (or called rule) for determining a mapping relationship between the priority of the classified service flow and the priority of the air interface. The re-marking mode may include one marking mode, or two or more different marking modes, which may be selected according to the application needs, as long as the need of data node management in the actual application can be realized, and the priority attribute of the service flow is redefined.
Specifically, in the communication device, after the incoming traffic flow finishes the classification marking, the priority re-marking processing is performed on the traffic flow according to the configured re-marking mode. Reading the classification label of the Service flow, and re-labeling the priority carried by the Service flow through the re-labeling mode corresponding to the classification label, for example, filling the priority field of the Service flow with the priority determined in the re-labeling mode, so as to change the QoS (Quality of Service) level of the Service flow according to the management needs of the data node in the application, and influence the transmission effect of the Service flow in the subsequent nodes.
And S18, according to the configured flow classification mapping mode and the classification label, performing air interface enqueuing processing on the relabeled service flow.
It can be understood that an air interface flow mapping policy (or called rule) pre-configured in the flow classification mapping mode is used to indicate that the service flow is mapped to an air interface queue of a corresponding air interface priority, so as to provide corresponding air interface scheduling for the service flow. The flow classification mapping mode may be one or two, and may be specifically selected according to a flow classification policy. Specifically, after the priority re-labeling processing of the service flow is completed, a corresponding flow classification mapping mode may be determined according to a classification tag carried by the service flow, and the service flow after re-labeling is subjected to air interface queuing processing.
According to the service flow classification processing method, classification and priority re-marking processing are carried out according to the characteristic information of the service flow, so that the fine classification of the service flow based on various complex service flow characteristics can be flexibly supported, the priority attribute of the service flow can be redefined, and the application requirement of data node management can be better met. And finally, performing air interface enqueuing processing on the classified and re-marked service flows through a configured flow classification mapping mode, so that mapping of the service flows from the Ethernet to the air interface service flows is realized, the purpose of completing priority coordination and butt joint of the service flows from a wired side to the air interface side through primary flow classification is achieved, and the classification efficiency of the service flows is greatly improved.
Referring to fig. 2, in an embodiment, the step S14 may specifically include the following processing steps S142 and S144:
and S142, performing feature matching on the packet header information of the service flow according to the currently used classification template.
It is understood that the header information refers to protocol feature information carried by a header of a Service flow (also referred to as a packet), such as, but not limited to, Service VLAN information, CE VLAN information, IP information, MAC information, and the like. When the service flow is classified and marked, a plurality of classification templates can be adopted to match the service flow so as to meet the requirements of feature matching and classification of different types of service flows (the carried data content and the feature information carried by the packet header can be different). The characteristics used in different classification templates are different, so that matching and classification of different types of service flows can be realized. Specifically, if a classification template selected for use at the current time matches characteristics of the Service flow, the header of the Service flow may be matched to determine whether the header information of the Service flow carries corresponding characteristics in the currently used classification template, for example, if the corresponding characteristics in the classification template are Service VLAN information and CE VLAN information, it is necessary to check whether the header information of the Service flow carries corresponding Service VLAN information and CE VLAN information.
And S144, if the packet header information contains characteristic information matched with the set characteristics in the classification template, adding a classification label to the service flow.
Specifically, when it is determined that the packet header information of the service flow carries a corresponding feature in a currently used classification template, it is considered that the matching is hit, and a classification label corresponding to the currently used classification template is added to the service flow to record the classification category of the service flow. Through the steps S142 and S144, the packet headers of the service flows are matched, so that the feature matching processing of the service flows can be more efficiently realized, and the efficiency of the classification processing of the service flows is improved.
Referring to fig. 3, in an embodiment, the step S14 may further include the following processing step S145:
and S145, if the packet header information does not have the characteristic information matched with the set characteristics in the classification template, performing characteristic matching on the packet header information of the service flow according to the next classification template.
It can be understood that, the calling order among different classification templates may be preset, for example, the calling data of each classification template is directly specified, or different calling priorities are assigned to each classification template, so that each classification template is automatically called in sequence from high priority to low priority according to the respective priority in the service flow classification process until one classification template matches and hits the service flow which needs to be classified currently.
Specifically, when it is determined that the packet header information of the service flow does not carry a corresponding feature in a currently used classification template, it is considered that a mismatch is hit. At this time, feature matching is continuously performed on the service flow through other classification templates. Therefore, the next classification template may be any one classification template other than the currently used one, that is, another classification template that is randomly called; or may be a classification template with a lower call priority than the one currently used. At this time, the feature matching is continued for the service flow through the next classification template to determine whether the service flow is matched and hit.
When the next classification template matches and hits the service flow, a classification label corresponding to the matched feature may be added to the service flow. Similarly, it is understood that when the next classification template match fails to hit the traffic flow, the next classification template may be invoked continuously to perform feature matching on the traffic flow, and thus, until the traffic flow is hit by one of the classification template matches and a corresponding classification label is added.
Through the step S145, when the service flow is not matched and hit at one time, the next classification template can be automatically called to continue the feature matching of the service flow, so that the reliability of the classification processing of the service flow is ensured, the efficiency of classifying the service flow is improved, and the service flow does not need to be classified for multiple times.
In an embodiment, the step S142 may specifically include the following processing steps:
and performing feature matching on the packet header information of the service flow through a regular expression according to the classification template.
It is understood that regular expressions, i.e., regular expressions that are conventional in the art, are used to retrieve information that conforms to a certain pattern (rule). Specifically, in the above embodiment, various algorithms for feature matching in the field may be used to implement feature matching on the service flow, such as but not limited to similarity calculation or direct feature extraction comparison. In this embodiment, the regular expression may be directly applied to implement feature matching of the packet header information. For example, when a service flow arrives, according to the priority of each classification template, the service flow is tried to be subjected to feature matching by using each classification template in sequence until one classification template matching hits the service flow.
Because the position of the feature information in the service flow is relatively fixed, the feature matching of the packet header information of the service flow can be realized by adopting a regular expression: and generating a corresponding feature mask according to the currently used classification template, acquiring a head pointer of the service flow, and performing AND operation on the head pointer and the feature mask to obtain a corresponding judgment value. When the judgment value obtained by operation is correct, the currently used classification template is matched and hits the service flow; and when the judgment value obtained by operation is wrong, the currently used classification template is not matched to hit the service flow, and the next classification template is required to be used for continuing the matching processing.
Through the processing steps, the characteristic matching efficiency of the service flow is high and easy to realize, and the processing efficiency of the service flow classification is further improved.
Referring to fig. 4, in an embodiment, regarding the process of adding the classification tag to the service flow in step S144, the following processing steps S144a and S144b may be specifically included:
s144a, assigning a flow service ID for the traffic flow and binding the re-label pattern ID.
It is understood that the stream service ID refers to a combination identification number of the belonging traffic stream, which is used for the stream service combination where the traffic stream is located. Different combinations of streaming services can be partitioned using different streaming service IDs. Each stream service combination may have a respective bound re-tagging mode ID, and after different service streams such as a re-tagging priority (i.e., a priority re-tagged to the service stream in priority re-tagging processing) corresponding to the re-tagging mode ID are matched, a corresponding stream service priority may be allocated to the service stream, so as to allocate the service stream to stream service combinations of different priorities. The re-marking mode ID is an identification number of the re-marking mode, and is used to indicate which re-marking mode the service flow needs to use.
Specifically, after the matching hits the service flow, a flow service ID may be assigned to the service flow, and a re-label mode ID may be bound to indicate a processing policy required to be used in a subsequent processing process of the service flow.
S144b, adding the stream service ID to the stream service label of the service stream, and adding the air interface stream classification priority mapped by the classification template to the priority domain of the stream service label; the flow Service Label is a Service VLAN Label or an MPLS (Multi-Protocol Label Switching) Label.
It can be understood that the air interface flow classification priority is a set air interface priority used for indicating the priority of the air interface queue to which the service flow belongs. Different classification templates can map different air interface flow classification priorities in advance according to the broadband management requirement. Specifically, after the flow Service ID is allocated to the traffic flow, the flow Service ID may be added to a flow Service label of the traffic flow, that is, the flow Service label is marked in a Service VLAN label or an MPLS label. Correspondingly, the air interface flow classification priority mapped by the classification template of the Service flow hit by the matching is added to the flow Service label of the Service flow, namely the air interface flow classification priority is filled into a Service VLAN label PCP field or an EXP field of an MPLS label.
Through the steps S144a and S144b, the processing of adding tags to the service flows hit by matching can be quickly realized, the classification result of the service flows is recorded, the high efficiency and accuracy of the subsequent processing of the service flows are ensured, and the fine classification of the service flows is realized.
Referring to fig. 5, in an embodiment, when allocating a flow service ID for a service flow, an ACL (Access Control List), an ID of a flow monitoring rule, and an ID of an HQoS (layered QoS) rule may be bound for the service flow. The flow monitoring rule ID is an identification number corresponding to the specified flow monitoring processing strategy. And the HQoS rule ID is an identification number corresponding to the designated HQoS strategy. Therefore, after the classification label is added to the service flow, the specified ACL strategy, the flow monitoring strategy required after the service flow is classified and the HQoS strategy can be selected and executed in sequence. Therefore, different stream service sets adopt different strategies according to objective requirements of services, and different performance guarantees of the different stream service sets are achieved.
In an embodiment, the classification templates in the foregoing embodiments may specifically include the following classification templates: at least one of a CE VLAN classification based template, a Service VLAN and CE VLAN classification based template, a 5-tuple classification based template, an MPLS-EXP classification based template, and an L2CP classification based template.
It is understood that a CE VLAN classification based template refers to a classification template that utilizes CE-VLANs as features. That is, when matching the feature information of the service flow, the packet header of the service flow may be matched to identify whether the packet header carries a CE VLAN with a feature set in the CE VLAN classification-based template, and if so, the matching is considered to be hit, otherwise, the non-matching is not hit. The CE VLAN classification-based template may be subject to classification by at least one of CE-VLAN characterization elements, such as ID of the CE VLAN, CE VLAN-PCP, and CE VLAN DEI. The template based on the Service VLAN and CE VLAN classification is a classification template using the Service VLAN and the CE-VLAN as characteristics. That is, when matching the feature information of the Service stream, the packet header of the Service stream may be matched, whether the packet header carries a Service VLAN and CE VLAN classification-based template is identified, the Service VLAN and the CE VLAN with the features are set, if so, the matching is considered to be hit, otherwise, the non-matching is hit. The Service VLAN can use at least one of the ID of the Service VLAN, the Service VLAN-PCP, the Service VLAN DEI and other characteristic elements to form a classification target. The matching of the Service VLAN and the CE VLAN can be whether the matching VLAN ID, the PCP field or the DEI field is consistent with the Service VLAN and the CE VLAN in the template. The matching of the VLAN ID or PCP field may support region matching, i.e., the VLAN ID or PCP field may be matched in a certain interval at a time.
The template based on 5-tuple classification refers to a classification template utilizing five characteristics of a source IP address, a source port, a destination IP address, a destination port, a transport layer protocol and the like. For example, matching the packet header of the service flow, identifying the source MAC information, the destination MAC information, the ETH-type interface information, the type of the transport layer protocol, the source IP address, the destination IP address, the DSCP field of the IP layer, the type of the next layer protocol of the IP layer, and one or more characteristics in the source/destination port of the transport layer carried by the packet header, that is, considering a match hit. Matching of MAC information, IP addresses and ports also supports zone matching.
The template classified by MPLS-EXP is a classification template classified by MPLS layer information, and for example, MPLS-EXP or Label of MPLS can be used as a classification Label. For example, matching the packet header of the service flow, and identifying the MPLS layer information carried by the packet header. A match is considered a hit when it is identified that the header carries a Label corresponding feature with MPLS-EXP or MPLS in the classification template. The template classified by the L2CP (Layer 2control protocol) is a classification template classified by the L2CP data. For example, whether the traffic flow is L2CP data is identified, if yes, the MAC layer of the traffic flow is matched, the L2CP protocol corresponding to the MAC layer is identified, and if the traffic flow is consistent with the L2CP protocol in the classification template, the matching is considered to be hit.
Correspondingly, any two or more of the classification templates can be simultaneously applied to form a mixed classification template. For example, corresponding to the selected classifier stage number (i.e. multi-stage classifier), multi-stage classification rules are set, each stage of classification rules is adapted to a type of classification mode, for example, a template based on CE VLAN classification is used for the first stage classifier, a template based on 5-tuple classification is used for the second stage classification, and the like. Or, through the operation mode of and operation, the multiple classification rules are spliced to form a complex flow classification rule, for example, by splicing the Service VLAN and the CE VLAN, and the designated destination MAC address, classification of the designated MAC address of the designated Service VLAN ID and the CE VLAN ID is formed. Therefore, the characteristic information can be taken out from the service flow at one time, and the efficiency is higher. Through foretell categorised template, can be according to the needs of meticulous classification, nimble collocation categorised template improves categorised meticulous degree and efficiency.
Referring to FIG. 6, in one embodiment, the relabeling modes include a trusted data stream priority mode, a default priority mode, and a priority MAP tagging mode. The above step S16 may specifically include the following processing steps S162 and S164:
And S162, reading the classification label of the service flow, and determining a corresponding re-marking mode according to the classification label.
It will be appreciated that relying on a data flow priority mode refers to a mode that does not change the priority carried by the traffic flow itself. The default priority mode is that for the service flows of the appointed classification, the priority of the service flows of the classification is marked as the set default priority. The priority MAP marking mode is that a MAP table is set, classified service flows are mapped to appointed air interface mapping priority according to PCP domains or red and green color attributes marked after flow monitoring, and then the appointed air interface mapping priority is marked for the service flows at the outlet of the re-marking processing. The air interface mapping priority is used for indicating the priority of the sub-queues of the air interface queues corresponding to the 4 air interface service priorities respectively.
Specifically, after the adding process of the service flow classification tag is completed, the relabeling mode applicable to the service flow can be determined according to the relabeling mode ID carried by the classification tag.
And S164, if the re-marking mode is the default priority mode, marking the default priority to the priority domain of the next layer protocol.
The service flow is added with a layer of protocol due to the actions of adding the classification label, the priority re-marking and the like to the service flow, so that the protocol layer where the priority carried by the service flow is positioned is changed into the next layer of protocol. When priority re-marking processing in the embodiment is performed, layer-by-layer unpacking is not required, the priority carried by the service flow can be directly obtained through offset searching, and the priority re-marking processing can be performed at a specific position in the data segment.
Specifically, when the applicable re-marking mode of the service flow is determined to be the default priority mode according to the re-marking mode ID carried by the classification tag, the default priority needs to be marked in the priority domain of the next layer protocol of the service flow, so as to implement the re-marking of the priority carried by the service flow itself. I.e., the next layer is a CE VLAN, the PCP field of the CE VLAN is filled with the default priority. If the next layer is an MPLS label, filling the EXP domain of the MPLS of the layer with the default priority. If the next layer is an IP layer, the default priority is converted from 8 bits to 64 bits and then filled into the DSCP domain of the IP layer. In this way, when the default priority mode is selected, the priority of the service flow can be quickly marked as the default priority.
Referring to fig. 7, in an embodiment, the step S16 may further include the following processing steps S163 and S165:
s163, if the re-marking mode is the priority MAP marking mode, searching the corresponding air interface mapping priority in the re-marking MAP table through the Hash algorithm according to the priority of the next layer protocol;
and S165, marking the air interface mapping priority to the priority domain of the next layer protocol.
It can be understood that, when determining that the re-labeling mode applicable to the service flow is the priority MAP labeling mode according to the re-labeling mode ID carried by the classification tag, the air interface mapping priority corresponding to the priority of the next protocol needs to be searched in the re-labeling MAP table by a hash algorithm according to the priority of the next protocol, and the correspondence relationship can be established in a pre-binding manner. And marking the air interface mapping priority into a priority domain of a next layer protocol.
Specifically, if the next layer is a CE VLAN, the air interface mapping priority corresponding to the priority of the CE VLAN is searched in the re-tag MAP table by using a hash algorithm according to the priority (originally carried priority) of the CE VLAN, and the air interface mapping priority is filled in the PCP domain of the CE VLAN at the next layer. If the next layer is an MPLS label, the air interface mapping priority corresponding to the priority of the MPLS label needs to be searched in the remap MAP table by a hash algorithm according to the priority of the MPLS label, and the found air interface mapping priority is filled in the EXP domain of the MPLS label at the layer. If the next layer is an IP layer, the air interface mapping priority corresponding to the priority of the IP layer needs to be searched in the re-labeled MAP table through a hash algorithm according to the priority of the MPLS label, and the corresponding air interface mapping priority is filled in the DSCP domain of the IP layer after the conversion processing from 8 bits to 64 bits. Therefore, when the priority MAP marking mode is selected, the priority of the service flow can be quickly marked as the air interface mapping priority corresponding to each layer.
In an embodiment, the step S16 may specifically include the following processing steps:
if the re-marking mode is the priority mode of the trusted data stream, the priority carried by the service stream is maintained unchanged.
It can be understood that, when the re-labeling mode applicable to the service flow is determined to be the priority mode of the trusted data flow according to the re-labeling mode ID carried by the classification tag, the subsequent air interface flow classification processing may be directly performed without changing the priority already carried by the service flow.
Through the steps, the subsequent air interface flow classification processing can be carried out by utilizing the priority carried by the service flow after the classification label is added, so that the classification processing efficiency and the flexibility are improved.
Referring to fig. 8, in an embodiment, the flow classification mapping mode includes a classification air interface service level mode. Regarding step S18 described above, the following processing steps S182 to S186 may also be included:
s182, reading the classification label of the service flow, and determining the corresponding flow classification mapping mode according to the classification label.
It will be appreciated that for traffic flows, different classifications may specify different flow classification mapping patterns and may be bound by classification labels. Specifically, after the service flow flows out of the relabeling processing node, the classification label of the service flow can be read, and then the corresponding flow classification mapping mode can be found according to the classification label. For example, a hash algorithm is used to find the flow classification mapping mode corresponding to the classification label.
And S184, if the flow classification mapping mode is the specified classification air interface service level mode, determining the corresponding air interface flow classification priority according to the priority domain of the flow service label.
The specified classification air interface service level mode refers to that service flows from each classifier in the communication equipment all have one air interface service level mapping attribute of four air interface service levels such as UGS, RtPS, NrtPS and BE, and therefore the corresponding relation between a flow service label and the air interface flow classification priority can BE directly bound. Specifically, when it is determined that the flow classification mapping mode is the specified classification air interface Service level mode, the corresponding air interface flow classification priority may be directly determined according to the priority domain of the flow Service label, that is, the PCP domain of the Service VLAN or the EXP domain of the MPLS label, so as to determine the air interface queue to which the Service flow belongs. It can BE understood that the air interface supports priority queues of 4 air interface service classes (i.e., 4 air interface queues) such as UGS, RtPS, NrtPS, and BE, and the priority queue of each air interface service class includes 8 subdivided QoS queues (i.e., 8 subdivided sub-queues), that is, the fine air interface traffic classification and scheduling that supports at most 4 × 8 — 32 priorities.
And S186, putting the service flow into an air interface queue corresponding to the air interface flow classification priority.
Specifically, the classification priority of the air interface flow of the service flow is determined, that is, the service flow is determined to belong to one of 4 air interface queues, such as UGS, RtPS, NrtPS, and BE. And finally, putting the service flow into an air interface queue corresponding to the air interface flow classification priority, for example, if the air interface queue corresponding to the air interface flow classification priority is an air interface queue of a UGS air interface service level, putting the service flow into the air interface queue of the UGS air interface service level. Through the above steps S182 to S186, the air interface enqueuing processing of the service flow can be quickly completed in the mode of selecting the designated classified air interface service level.
Referring to fig. 9, in an embodiment, the flow classification mapping mode further includes an air interface service level MAP mode. Regarding step S18 described above, the following processing steps S181 to S187 may also be included:
and S181, reading the classification label of the service flow, and determining a corresponding flow classification mapping mode according to the classification label.
The air interface service level MAP mode refers to establishing an air interface service level MAP of a PCP/DEI with finer granularity, and in this mode, except for a service stream from each classifier in the communication device, the service stream may have an air interface service level mapping attribute of four air interface service levels, such as UGS, RtPS, NrtPS, and BE, and may further include a PCP priority. The PCP priority may be re-marked by the above re-marking process, or may be re-marked by the traffic monitoring process, and is used to indicate that the air interface adopts two-stage service level management, thereby implementing finer-grained air interface scheduling management.
Specifically, after the service flow flows out of the relabeling processing node, the classification label of the service flow can be read, and then the corresponding flow classification mapping mode can be found according to the classification label. For example, a hash algorithm is used to find the flow classification mapping mode corresponding to the classification label.
S183, if the flow classification mapping mode is an air interface service level MAP mode, determining a corresponding air interface flow classification priority according to a priority domain of the flow service label;
s185, determining a sub-queue corresponding to the priority domain of the next layer protocol according to the priority domain of the next layer protocol; the sub-queue is a sub-queue in the air interface queue corresponding to the air interface stream classification priority;
s187, the service flow is placed in the sub-queue.
When determining that the flow classification mapping mode is an air interface Service level MAP mode, determining the corresponding air interface flow classification priority according to the priority domain of the flow Service label, namely the PCP domain of the Service VLAN or the EXP domain of the MPLS label, thereby determining the air interface queue to which the Service flow belongs. Thereafter, the priority of the next layer protocol, that is, the air interface flow classification priority, needs to be read from the priority field of the next layer protocol. And determining a sub-queue corresponding to the priority of the next layer protocol from the determined empty port queues according to the priority of the next layer protocol. Therefore, after the service flow is determined to belong to one air interface queue in the 4 air interface queues, the service flow is further placed into the corresponding subdivided sub-queues. Through the steps S181 to S187, the air interface enqueuing processing of the traffic flow can be quickly completed in the mode of selecting the air interface service level MAP, so that more levels of performance guarantee can be provided according to a more refined priority level in the same traffic flow, and the management precision of the air interface queue is higher.
It should be understood that, although the steps in the flowcharts of fig. 1 to 9 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-9 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
Referring to fig. 10, in an embodiment, a device 100 for processing traffic flow classification is further provided, which includes an obtaining module 11, a classifying module 13, a re-labeling module 15, and an air interface classifying module 17. The obtaining module 11 is configured to obtain a service flow. The classification module 13 is configured to add a classification label to the service flow according to the configured classification template and the feature information of the service flow. The re-marking module 15 is configured to perform priority re-marking processing on the service flow according to the configured re-marking mode and the classification label. The air interface classification module 17 is configured to perform air interface enqueuing processing on the re-marked service flows according to the configured flow classification mapping mode and the classification tags.
The service flow classification processing device 100 performs classification and priority re-labeling processing according to the feature information of the service flow through cooperation of the modules, can flexibly support fine classification of the service flow based on various complex service flow features, can further redefine the priority attribute of the service flow, and can better meet the application requirements of data node management. And finally, performing air interface enqueuing processing on the classified and re-marked service flows through a configured flow classification mapping mode, so that mapping of the service flows from the Ethernet to the air interface service flows is realized, the purpose of completing priority coordination and butt joint of the service flows from a wired side to the air interface side through primary flow classification is achieved, and the classification efficiency of the service flows is greatly improved.
In one embodiment, classification module 13 may include a matching sub-module and a labeling sub-module. The matching submodule is used for performing feature matching on the packet header information of the service flow according to the currently used classification template. The label submodule is used for adding a classification label to the service flow when the packet header information has characteristic information matched with the set characteristics in the classification template.
In an embodiment, the matching sub-module may be further configured to perform feature matching on the packet header information of the service flow according to a next classification template when there is no feature information matching with a set feature in the classification template in the packet header information.
In an embodiment, when the matching sub-module implements feature matching, the feature matching may be specifically performed on packet header information of a service flow through a regular expression according to a classification template.
In an embodiment, when implementing tag addition processing, the tag sub-module may be specifically configured to allocate a stream service ID to a service stream, bind a re-labeling mode ID, add the stream service ID to a stream service tag of the service stream, and add an air interface stream classification priority mapped by a classification template to a priority domain of the stream service tag; the flow Service label is a Service VLAN label or an MPLS label.
In one embodiment, the re-labeling module 15 may specifically include a mode determination sub-module and a priority labeling sub-module. And the mode determining submodule is used for reading the classification label of the service flow and determining the corresponding re-marking mode according to the classification label. The priority marking submodule is used for marking the default priority to the priority field of the next layer protocol when the re-marking mode is the default priority mode.
In an embodiment, the priority tagging sub-module is further configured to, when the re-tagging mode is the priority MAP tagging mode, search, according to the priority of the next protocol, a corresponding air interface mapping priority in the re-tagging MAP table through a hash algorithm, and tag the air interface mapping priority to a priority domain of the next protocol.
In one embodiment, the priority marking submodule may be further configured to re-mark the priority mode of the trusted data stream, and maintain the priority carried by the traffic stream unchanged.
In an embodiment, the air interface classification module 17 may specifically include a mapping determination sub-module, an air interface priority determination sub-module, and a queue processing sub-module. The mapping determining submodule is used for reading the classification label of the service flow and determining the corresponding flow classification mapping mode according to the classification label. And the air interface priority determining submodule is used for determining the corresponding air interface stream classification priority according to the priority domain of the stream service label when the stream classification mapping mode is the specified classification air interface service level mode. And the queue processing submodule is used for putting the service flow into an air interface queue corresponding to the air interface flow classification priority.
In one embodiment, the mapping determination sub-module may be further configured to read a classification label of the traffic flow, and determine a corresponding flow classification mapping mode according to the classification label. And the air interface priority determining submodule is used for determining the corresponding air interface flow classification priority according to the priority domain of the flow service label when the flow classification mapping mode is the air interface service level MAP mode. The queue processing submodule is also used for determining a sub-queue corresponding to the priority domain of the next layer of protocol according to the priority domain of the next layer of protocol and putting the service flow into the sub-queue; the sub-queue is a sub-queue in the air interface queue corresponding to the air interface stream classification priority.
For specific limitations of the traffic classification processing apparatus 100, reference may be made to the corresponding limitations of the traffic classification processing method in the foregoing, and details are not described here again. The modules in the traffic flow classification processing apparatus 100 may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the communication device, and can also be stored in a memory in the communication device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, there is also provided a communication device, such as but not limited to a router or a point-to-multipoint microwave digital switch. The communication device comprises a memory and a processor, the memory stores a computer program, and the processor realizes the following steps when executing the computer program: acquiring a service flow; adding a classification label to the service flow according to the configured classification template and the characteristic information of the service flow; according to the configured re-marking mode and the classification label, performing priority re-marking processing on the service flow; and performing air interface enqueuing processing on the re-marked service flow according to the configured flow classification mapping mode and the classification label.
Those skilled in the art will understand that the communication device in this embodiment may include other components besides the memory and the processor, which may be determined according to the structural components and functions of the communication device in practical application, and the description of this specification is not repeated.
In one embodiment, the processor, when executing the computer program, may further implement the added steps or sub-steps of the embodiments of the traffic flow classification processing method described above.
In one embodiment, there is also provided a computer readable storage medium having a computer program stored thereon, the computer program when executed by a processor implementing the steps of: acquiring a service flow; adding a classification label to the service flow according to the configured classification template and the characteristic information of the service flow; according to the configured re-marking mode and the classification label, performing priority re-marking processing on the service flow; and performing air interface enqueuing processing on the re-marked service flow according to the configured flow classification mapping mode and the classification label.
In one embodiment, the computer program, when executed by the processor, may further implement the additional steps or sub-steps of the embodiments of the traffic flow classification processing method described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A method for classifying and processing a traffic flow, comprising:
acquiring a service flow;
adding a classification label to the service flow according to the configured classification template and the characteristic information of the service flow;
reading the classification label of the service flow, determining a corresponding re-marking mode according to the classification label, and performing priority re-marking processing on the service flow according to the determined corresponding re-marking mode;
According to the configured flow classification mapping mode and the classification label, performing air interface enqueuing processing on the re-marked service flow;
the step of performing priority re-marking processing on the service flow according to the determined corresponding re-marking mode comprises:
if the re-marking mode is a default priority mode, marking the default priority to a priority domain of a next layer protocol; the default priority mode is that for the service flow of the appointed classification, the priority of the service flow of the classification is marked as the set default priority;
if the re-marking mode is a priority MAP marking mode, searching a corresponding air interface mapping priority in a re-marking MAP table through a Hash algorithm according to the priority of the next layer of protocol; marking the air interface mapping priority to a priority domain of the next layer protocol; the priority MAP marking mode refers to that classified service flows are mapped to a designated air interface mapping priority by designating a mapping table, and the designated air interface mapping priority is marked again for the service flows at the outlet of the re-marking processing;
if the re-marking mode is a priority mode of the trusted data stream, maintaining the priority carried by the service stream unchanged; the trusted data stream priority mode refers to a mode in which the priority carried by the service stream itself is not changed.
2. The method according to claim 1, wherein the step of adding a classification label to the service flow according to the configured classification template and the feature information of the service flow comprises:
performing feature matching on the packet header information of the service flow according to the currently used classification template;
and if the packet header information contains characteristic information matched with the set characteristics in the classification template, adding a classification label to the service flow.
3. The method according to claim 2, wherein the step of adding a classification label to the service flow according to the configured classification template and the feature information of the service flow further comprises:
and if the packet header information does not have the characteristic information matched with the set characteristics in the classification template, performing characteristic matching on the packet header information of the service flow according to the next classification template.
4. The method of claim 2, wherein the step of performing feature matching on the packet header information of the traffic flow according to the currently used classification template comprises:
and performing feature matching on the packet header information of the service flow through a regular expression according to the classification template.
5. The traffic flow classification processing method according to claim 2, 3 or 4, wherein the process of adding the classification label to the traffic flow comprises:
distributing a stream service ID for the service stream and binding a re-marking mode ID;
adding the stream service ID to a stream service label of the service stream, and adding the air interface stream classification priority mapped by the classification template to a priority domain of the stream service label; the flow Service label is a Service VLAN label or an MPLS label.
6. The traffic flow classification processing method according to claim 5, wherein the classification template comprises at least one of a CE VLAN classification-based template, a Service VLAN and CE VLAN classification-based template, a 5-tuple classification-based template, an MPLS-EXP classification-based template, and an L2CP classification-based template.
7. The method of traffic flow classification processing according to claim 5, characterised in that the flow classification mapping mode includes a specified classification air interface service level mode; the specified classification air interface service level mode means that the service flow has any air interface service level mapping attribute of UGS, RTPS, NrtPS and BE;
according to the configured flow classification mapping mode and the classification label, the step of carrying out air interface enqueuing processing on the re-marked service flow comprises the following steps:
Reading the classification label of the service flow, and determining a corresponding flow classification mapping mode according to the classification label;
if the stream classification mapping mode is a specified classification air interface service level mode, determining the corresponding air interface stream classification priority according to the priority domain of the stream service label;
and putting the service flow into an air interface queue corresponding to the air interface flow classification priority.
8. The method of traffic flow classification processing according to claim 7, characterized in that the flow classification mapping mode further includes an air interface service level MAP mode; the MAP mode refers to that the service flow has any mapping attribute of the empty service level in UGS, RTPS, NrtPS and BE, and the service flow also comprises PCP priority;
according to the configured flow classification mapping mode and the classification label, the step of carrying out air interface enqueuing processing on the re-marked service flow comprises the following steps:
reading the classification label of the service flow, and determining a corresponding flow classification mapping mode according to the classification label;
if the flow classification mapping mode is the air interface service level MAP mode, determining the corresponding air interface flow classification priority according to the priority domain of the flow service label;
Determining a sub-queue corresponding to the priority domain of the next layer protocol according to the priority domain of the next layer protocol; the sub-queue is a sub-queue in the air interface queue corresponding to the air interface stream classification priority;
and putting the service flow into the sub-queue.
9. A traffic flow classification processing apparatus, comprising:
the acquisition module is used for acquiring the service flow;
the classification module is used for adding a classification label to the service flow according to the configured classification template and the characteristic information of the service flow;
the relabeling module is used for reading the classification label of the service flow, determining a corresponding relabeling mode according to the classification label and performing priority relabeling processing on the service flow according to the determined corresponding relabeling mode;
the empty port classification module is used for carrying out empty port enqueuing processing on the re-marked service flow according to the configured flow classification mapping mode and the classification label;
the re-marking module comprises a priority marking submodule, and if the re-marking mode is a default priority mode, the priority marking submodule is used for marking the default priority to a priority domain of a next layer protocol; the default priority mode is that for the service flow of the appointed classification, the priority of the service flow of the classification is marked as the set default priority;
If the re-marking mode is a priority MAP marking mode, the priority marking sub-module is used for searching a corresponding air interface mapping priority in a re-marking MAP table through a Hash algorithm according to the priority of the next layer of protocol; marking the air interface mapping priority to a priority domain of the next layer protocol; the priority MAP marking mode refers to that classified service flows are mapped to a designated air interface mapping priority by designating a mapping table, and the designated air interface mapping priority is marked again for the service flows at the outlet of the re-marking processing;
if the re-marking mode is a priority mode of the trusted data stream, the priority marking submodule is used for keeping the priority carried by the service stream unchanged; the trusted data stream priority mode refers to a mode in which the priority carried by the service stream itself is not changed.
10. A communication device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of the traffic flow classification processing method according to any of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the traffic flow classification processing method according to any one of claims 1 to 8.
CN201910614791.XA 2019-07-09 2019-07-09 Service flow classification processing method and device and communication equipment Active CN110414928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910614791.XA CN110414928B (en) 2019-07-09 2019-07-09 Service flow classification processing method and device and communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910614791.XA CN110414928B (en) 2019-07-09 2019-07-09 Service flow classification processing method and device and communication equipment

Publications (2)

Publication Number Publication Date
CN110414928A CN110414928A (en) 2019-11-05
CN110414928B true CN110414928B (en) 2022-07-29

Family

ID=68360756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910614791.XA Active CN110414928B (en) 2019-07-09 2019-07-09 Service flow classification processing method and device and communication equipment

Country Status (1)

Country Link
CN (1) CN110414928B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021108812A1 (en) * 2020-02-11 2021-06-03 Zeku, Inc. Hardware-implemented tables and methods of using the same for classification and collision resolution of data packets
CN112235208B (en) * 2020-10-15 2022-07-08 京信网络系统股份有限公司 Method and device for determining service flow type, communication equipment and storage medium
CN112737950B (en) * 2020-12-24 2022-05-27 新华三大数据技术有限公司 Service flow forwarding method and device
WO2023141796A1 (en) * 2022-01-26 2023-08-03 Qualcomm Incorporated Techniques for supporting untagged ethernet frames

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697416A (en) * 2004-05-12 2005-11-16 华为技术有限公司 Ring net and method for realizing service
CN1744573A (en) * 2005-08-30 2006-03-08 杭州华为三康技术有限公司 Business flow idnetifying method
CN101005445A (en) * 2006-01-18 2007-07-25 华为技术有限公司 Method for mapping service flow to service transmission path and optical network terminal
CN101022460A (en) * 2007-03-06 2007-08-22 华为技术有限公司 Identifying method and system
CN101257487A (en) * 2006-04-25 2008-09-03 华为技术有限公司 Method for mapping service stream onto service transmission channel as well as optical network terminal
WO2013074286A1 (en) * 2011-11-15 2013-05-23 Motorola Solutions, Inc. Preserving user-differentiated quality of service for mobile virtual private network communications made using a shared connection point
CN103441953A (en) * 2013-07-08 2013-12-11 京信通信系统(中国)有限公司 Method, device and system for dispatching data flow
CN104168609A (en) * 2014-08-29 2014-11-26 京信通信系统(中国)有限公司 Method and device for processing signals
CN109787823A (en) * 2019-01-08 2019-05-21 中国联合网络通信集团有限公司 Service quality QoS labeling method, device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697416A (en) * 2004-05-12 2005-11-16 华为技术有限公司 Ring net and method for realizing service
CN1744573A (en) * 2005-08-30 2006-03-08 杭州华为三康技术有限公司 Business flow idnetifying method
CN101005445A (en) * 2006-01-18 2007-07-25 华为技术有限公司 Method for mapping service flow to service transmission path and optical network terminal
CN101257487A (en) * 2006-04-25 2008-09-03 华为技术有限公司 Method for mapping service stream onto service transmission channel as well as optical network terminal
CN101022460A (en) * 2007-03-06 2007-08-22 华为技术有限公司 Identifying method and system
WO2013074286A1 (en) * 2011-11-15 2013-05-23 Motorola Solutions, Inc. Preserving user-differentiated quality of service for mobile virtual private network communications made using a shared connection point
CN103441953A (en) * 2013-07-08 2013-12-11 京信通信系统(中国)有限公司 Method, device and system for dispatching data flow
CN104168609A (en) * 2014-08-29 2014-11-26 京信通信系统(中国)有限公司 Method and device for processing signals
CN109787823A (en) * 2019-01-08 2019-05-21 中国联合网络通信集团有限公司 Service quality QoS labeling method, device and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
OpenFlow网络中QoS管理系统的研究与实现;吴慧;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20140515(第5期);第I139-64页 *
Per-Priority Flow Control (PPFC) for Enhancing Metro Ethernet QoS;Bahareh Pahlevanzadeh 等;《2010 Second International Conference on Computer Research and Development》;20100621;第83-87页 *
基于MPLS的IP QoS技术;高克义;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20031215(第4期);第I136-20页 *

Also Published As

Publication number Publication date
CN110414928A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN110414928B (en) Service flow classification processing method and device and communication equipment
CN106789660B (en) QoS sensible flow management method in software defined network
CN100433715C (en) Method for providing different service quality tactics to data stream
US20030056001A1 (en) Selective routing of data flows using a TCAM
GB2540647A (en) Negotiating quality of service for data flows
CN108880904B (en) 64-level service quality guarantee method with user and service attribute fusion
US20050083935A1 (en) Method and apparatus for two-stage packet classification using most specific filter matching and transport level sharing
CN108353029A (en) For managing the method and system for calculating the data service in network
CN110087261B (en) Enterprise-level wireless local area network flow control method based on OpenWrt
WO2017001634A1 (en) Negotiating quality of service for data flows
US20160337251A1 (en) Predictive egress packet classification for quality of service
US7317723B1 (en) Action based termination of multidimensional lookup
US20160269295A1 (en) Network traffic classification and redirection
CN112437009B (en) SRv6 method, router, routing system and storage medium for end-to-end flow policy
US20230040538A1 (en) Quality of service management system for a communication network
US20140119177A1 (en) Method and system for selectively metering network traffic
CN110036608B (en) Methods, systems, and computer readable media for priority routing of Diameter messages
US11057308B2 (en) User- and application-based network treatment policies
WO2016150020A1 (en) Scheduling flow identifier-based packet scheduling method and device
KR100916835B1 (en) METHOD OF PROCESSING PACKETS PER-FLOW USING NETWORK PROCESSOR IN DiffServ-over-MPLS
CN117499258A (en) Service data network transmission management method and DPU
JP2006525704A (en) Frame classification method by priority
El-Mekkawi et al. Squatting and kicking model evaluation for prioritized sliced resource management
CN110493824A (en) Data dispatching method, device, access network equipment and storage medium based on QoS
US10554563B2 (en) Generating a packet processing pipeline definition

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200113

Address after: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangdong, 10

Applicant after: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Applicant before: COMBA TELECOM SYSTEMS (GUANGZHOU) Ltd.

Applicant before: COMBA TELECOM TECHNOLOGY (GUANGZHOU) Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangdong, 10

Applicant after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangdong, 10

Applicant before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

GR01 Patent grant
GR01 Patent grant