CN109450793A - A kind of method and apparatus of service traffics scheduling - Google Patents
A kind of method and apparatus of service traffics scheduling Download PDFInfo
- Publication number
- CN109450793A CN109450793A CN201811547004.6A CN201811547004A CN109450793A CN 109450793 A CN109450793 A CN 109450793A CN 201811547004 A CN201811547004 A CN 201811547004A CN 109450793 A CN109450793 A CN 109450793A
- Authority
- CN
- China
- Prior art keywords
- priority
- tunnel
- service
- ecmp group
- message
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L45/507—Label distribution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/54—Organization of routing tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/825—Involving tunnels, e.g. MPLS
Abstract
The present invention provides the method and apparatus of service traffics scheduling, comprising: establishes tunnel, the mark in the identical tunnel of priority is added to the same ECMP group by the tunnel priority of configured tunneling technique, and the priority in tunnel is the priority of ECMP group;Establish the corresponding relationship of service identification, service priority and tunnel priority;The first ACL table item is established, the first ACL table item includes the corresponding relationship of service identification and service priority;The second ACL table item is established, the second ACL table item includes the corresponding relationship of service priority and tunnel priority;Corresponding first service priority is searched from the first ACL table item according to the first service message service identification;Corresponding first tunnel priority is searched from the second ACL table item according to the first service priority;ECMP group corresponding with the first tunnel priority is determined according to the first tunnel priority;The first tunnel is selected to send the first service message from ECMP group.Chip is solved to need to identify different business message flow and need to consume a large amount of forwarding table resource problems.
Description
Technical field
The present invention relates to data communication field, especially a kind of method and apparatus of service traffics scheduling.
Background technique
In recent years, with the continuous development of the Internet technologies such as cloud computing, big data, data center network scale is also increasingly
Expand, this builds the data center network of ISP service provider, and more stringent requirements are proposed, how to data center network stream
Amount is effectively managed, and is increased network utilization, is cut operating costs, is current urgent problem.
SR (routing sections of segment routings) has after multi protocol label switching protocol MPLS as Ethernet field
There is the network protocol based on source routing of innovation meaning.There is simpler control plane compared to traditional MPLS mechanism and be easy to expand
The data plane of exhibition.By can effectively be planned message forwarding path in source routing node indentation segment identification, and its
It can be good at realizing flow control tube in conjunction with SDN (software defined network Software Defined Network) controller
Reason.
In SRTE (Engineering sections of routing traffic engineerings of Segment Routing Traffic) practical networking,
Have much based on flow stream, IP address-based, based on application, in order to realize that effective control to flow, source routing need
Prioritization is carried out to them, so that the service of differentiation can be provided.Such as: data center's Metropolitan Area Network (MAN) of certain client uses
SR network requires that prioritization can be carried out to service traffics in source node, while the flow of different priorities can enter difference
The TE tunnel of traffic engineering of grade, and flow can in the traffic engineering tunnel of same levels load balancing.
The pure IP flow received from CE (Customer Edge customer edge) direction, in provider edge router
PE inbound port matching message feature (such as DSCP differentiated services code points (Differentiated Services Code
Point)), the TE Tunnel (traffic engineering tunnel) that 1,2,3,4 ranks are respectively enterd according to the mapping relations of DSCP- > TE grade, from P
The flow with MPLS encapsulation that the direction (operator Provider) receives matches EXP in P inbound port, according to EXP- > TE grade
Mapping relations respectively enter the TE Tunnel of 1,2,3,4 ranks.
When carrier network switch device needs to distinguish service traffics priority forwarding, a kind of way is to pass through strategy
Routing, its main feature is that the selection that the strategy that forwarding device can be formulated according to user is routed, grouped data report can not
With by searching routing table, but directly specified outlet (outlet may be tunnel), relatively flexibly, the shortcomings that this way be by
It is easy to appear careless omission and larger workload in the method using human configuration, and does not support ECMP (Equal-
The routing of CostMultipath Routing equal cost multipath), and need to consume more access control list ACL hardware
Resource.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the present invention adopts the following technical scheme that
A kind of method of service traffics scheduling, comprising:
Tunnel is established, the tunnel priority in the tunnel is configured, the mark in the identical tunnel of priority is added to same
In a ECMP group, and the priority in the tunnel is the priority of the ECMP group;
Establish service identification, service priority and the triangular corresponding relationship of tunnel priority;
The first service message is received, is searched from the first ACL table item according to the service identification of first service message pair
The first service priority answered, the first ACL table item include the corresponding relationship of the service identification and the service priority;
Corresponding first tunnel priority is searched from the second ACL table item according to first service priority, described
Two ACL table items include the corresponding relationship of the service priority and the tunnel priority;
Forwarding table is searched according to the IP address of first service message, determines corresponding with first service message the
One ECMP group mark, the forwarding table include the corresponding relationship of IP address and ECMP group mark;
According to the first ECMP group mark and the determination of first tunnel priority and first tunnel priority pair
The first ECMP group answered;
The first tunnel is selected to send first service message from the first ECMP group according to load balancing.
Optionally, the service identification be the source/destination IP address of service message, protocol type, source/destination port numbers and
One or more combination in DSCP.
Optionally, the quantity of the service priority is identical as the quantity of the tunnel priority.
Optionally, the tunnel is the tunnel SRTE.
Optionally, the forwarding table is routing table or MPLS forwarding table.
The embodiment of the present invention further aspect is that providing a kind of device of service traffics scheduling, comprising:
First establishes module, for establishing tunnel, the tunnel priority in the tunnel is configured, by the identical tunnel of priority
Mark be added in the same ECMP group, and the priority in the tunnel is the priority of the ECMP group;
Second establishes module, for establishing service identification, service priority and the triangular corresponding relationship of tunnel priority;
Receiving module, for receiving the first service message,
Searching module is searched from the first ACL table item corresponding for the service identification according to first service message
First service priority, corresponding relationship of the first ACL table item comprising the service identification and the service priority, and root
Corresponding first tunnel priority, the second ACL table item packet are searched from the second ACL table item according to first service priority
Corresponding relationship containing the service priority Yu the tunnel priority is searched according to the IP address of first service message and is turned
It delivers, determines that the first ECMP group mark corresponding with first service message, the forwarding table include IP address and ECMP group
The corresponding relationship of mark;
Determining module, for being determined and described first according to the first ECMP group mark and first tunnel priority
The corresponding first ECMP group of tunnel priority;
Sending module, for being selected the first tunnel to send described the from the first ECMP group according to load balancing
One service message.
Optionally, the service identification be the source/destination IP address of service message, protocol type, source/destination port numbers and
One or more combination in DSCP.
Optionally, the quantity of the service priority is identical as the quantity of the tunnel priority.
Optionally, the tunnel is the tunnel SRTE.
Optionally, the forwarding table is routing table or MPLS forwarding table.
The beneficial effect of the embodiment of the present invention is, by providing a kind of method of service traffics scheduling, establishes tunnel, matches
The mark in the identical tunnel of priority is added in the same ECMP group by the tunnel priority for setting the tunnel, and the tunnel
The priority in road is the priority of the ECMP group;It is triangular to establish service identification, service priority and tunnel priority
Corresponding relationship;The first service message is received, is searched from the first ACL table item according to the service identification of first service message pair
The first service priority answered, the first ACL table item include the corresponding relationship of the service identification and the service priority;
Corresponding first tunnel priority, the second ACL table item are searched from the second ACL table item according to first service priority
Corresponding relationship comprising the service priority Yu the tunnel priority;It is searched according to the IP address of first service message
Forwarding table determines that the first ECMP group mark corresponding with first service message, the forwarding table include IP address and ECMP
The corresponding relationship of group mark;According to the first ECMP group mark and the determination of first tunnel priority and first tunnel
The corresponding ECMP group of priority;The first tunnel is selected to send first business from the ECMP group according to load balancing
Message.By two-stage acl lookup function, realize on the basis of traditional routing table look-up result according to the excellent of service message flow
First grade selects the outlet of message, can greatly reduce the consumption of hardware resource.On the basis of not increasing network cost, solve
Exchange chip needs to identify different business message flow and needs to consume a large amount of forwarding table resource problems.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art
Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention
Example is applied, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of method flow diagram of the embodiment of the present invention;
Fig. 2 is a kind of structure drawing of device of the embodiment of the present invention;
Fig. 3 is that a kind of priority policy of the embodiment of the present invention matches schematic diagram;
Fig. 4 is a kind of network topology structure figure of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
A kind of method of service traffics scheduling, as shown in Figure 1, comprising:
S101 establishes tunnel, configures the tunnel priority in the tunnel, and the mark in the identical tunnel of priority is added to
In the same ECMP group, and the priority in the tunnel is the priority of the ECMP group;
S103 establishes service identification, service priority and the triangular corresponding relationship of tunnel priority;
S105 receives the first service message, is looked into from the first ACL table item according to the service identification of first service message
Corresponding first service priority is looked for, the first ACL table item includes the correspondence of the service identification and the service priority
Relationship;
S107 searches corresponding first tunnel priority, institute according to first service priority from the second ACL table item
State the corresponding relationship that the second ACL table item includes the service priority and the tunnel priority;
S109 searches forwarding table, determining and first service message pair according to the IP address of first service message
The first ECMP group mark answered, the forwarding table include the corresponding relationship of IP address and ECMP group mark;
S111, it is preferential with first tunnel according to the first ECMP group mark and the determination of first tunnel priority
The corresponding first ECMP group of grade;
S113 selects the first tunnel to send the first business report according to load balancing from the first ECMP group
Text.
Optionally, the service identification be the source/destination IP address of service message, protocol type, source/destination port numbers and
One or more combination in DSCP.
Optionally, the quantity of the service priority is identical as the quantity of the tunnel priority.
Optionally, the tunnel is the tunnel SRTE.
Optionally, the forwarding table is routing table or MPLS forwarding table.
The beneficial effect of the embodiment of the present invention is, by providing a kind of method of service traffics scheduling, establishes tunnel, matches
The mark in the identical tunnel of priority is added in the same ECMP group by the tunnel priority for setting the tunnel, and the tunnel
The priority in road is the priority of the ECMP group;It is triangular to establish service identification, service priority and tunnel priority
Corresponding relationship;The first service message is received, is searched from the first ACL table item according to the service identification of first service message pair
The first service priority answered, the first ACL table item include the corresponding relationship of the service identification and the service priority;
Corresponding first tunnel priority, the second ACL table item are searched from the second ACL table item according to first service priority
Corresponding relationship comprising the service priority Yu the tunnel priority;It is searched according to the IP address of first service message
Forwarding table determines that the first ECMP group mark corresponding with first service message, the forwarding table include IP address and ECMP
The corresponding relationship of group mark;According to the first ECMP group mark and the determination of first tunnel priority and first tunnel
The corresponding first ECMP group of priority;Described in being selected the first tunnel to send from the first ECMP group according to load balancing
First service message.By two-stage acl lookup function, realize on the basis of traditional routing table look-up result according to service message
The priority of flow selects the outlet of message, can greatly reduce the consumption of hardware resource.In the base for not increasing network cost
On plinth, solves exchange chip and need to identify different business message flow and need to consume a large amount of forwarding table resources
The embodiment of the present invention further aspect is that providing a kind of device of service traffics scheduling, as shown in Figure 2, comprising:
First establishes module 201, for establishing tunnel, configures the tunnel priority in the tunnel, and priority is identical
The mark in tunnel is added in the same ECMP group, and the priority in the tunnel is the priority of the ECMP group;
Second establishes module 203, and for establishing, service identification, service priority and tunnel priority are triangular corresponding to be closed
System;
Receiving module 205, for receiving the first service message,
Searching module 207 searches correspondence for the service identification according to first service message from the first ACL table item
The first service priority, the first ACL table item include the service identification and the service priority corresponding relationship, and
Corresponding first tunnel priority, the second ACL table item are searched from the second ACL table item according to first service priority
Corresponding relationship comprising the service priority Yu the tunnel priority is searched according to the IP address of first service message
Forwarding table determines that the first ECMP group mark corresponding with first service message, the forwarding table include IP address and ECMP
The corresponding relationship of group mark;
Determining module 209, for according to the first ECMP group mark and first tunnel priority determine with it is described
The corresponding first ECMP group of first tunnel priority;
Sending module 211, for being selected the first tunnel to send institute from the first ECMP group according to load balancing
State the first service message.
Optionally, the service identification be the source/destination IP address of service message, protocol type, source/destination port numbers and
One or more combination in DSCP.
Optionally, the quantity of the service priority is identical as the quantity of the tunnel priority.
Optionally, the tunnel is the tunnel SRTE.
Optionally, the forwarding table is routing table or MPLS forwarding table.
The beneficial effect of the embodiment of the present invention is, by providing a kind of method of service traffics scheduling, establishes tunnel, matches
The mark in the identical tunnel of priority is added in the same ECMP group by the tunnel priority for setting the tunnel, and the tunnel
The priority in road is the priority of the ECMP group;It is triangular to establish service identification, service priority and tunnel priority
Corresponding relationship;The first service message is received, is searched from the first ACL table item according to the service identification of first service message pair
The first service priority answered, the first ACL table item include the corresponding relationship of the service identification and the service priority;
Corresponding first tunnel priority, the second ACL table item are searched from the second ACL table item according to first service priority
Corresponding relationship comprising the service priority Yu the tunnel priority;It is searched according to the IP address of first service message
Forwarding table determines that the first ECMP group mark corresponding with first service message, the forwarding table include IP address and ECMP
The corresponding relationship of group mark;According to the first ECMP group mark and the determination of first tunnel priority and first tunnel
The corresponding first ECMP group of priority;Described in being selected the first tunnel to send from the first ECMP group according to load balancing
First service message.By two-stage acl lookup function, realize on the basis of traditional routing table look-up result according to service message
The priority of flow selects the outlet of message, can greatly reduce the consumption of hardware resource.In the base for not increasing network cost
On plinth, solves exchange chip and need to identify different business message flow and need to consume a large amount of forwarding table resources.
Below with reference to specific SRTE tunnel applications scene, the embodiment of the present invention is further elaborated, but this is explained
Limiting the scope of the present invention cannot be considered as by stating:
In this application scene, can on core switch configuration service priority mapping, steps are as follows:
Step 1: according to network characterizations such as the IP address of service traffics (service message), protocol type, port numbers, DSCP
The priority of element differentiated service.For example " DSCP ", " protocol type " can individually be used to identify a grade business, it can also use
" IP+DSCP ", " IP+ protocol port number " identify a grade business, and service priority is indicated with Service Class, business
Priority number can be configured by client and be determined.
Step 2: the priority attribute in the configuration tunnel SRTE, corresponding with Service Class.For example, specifying here
DSCP is identified as the grade of service:
Business 1: as DSCP=20, Service Class=2;
Business 2: as DSCP=30, Service Class=3;
Then business 1 and business 2 require to forward in the tunnel SRTE that priority is 2 and 3 respectively, specific mapping relations such as table
Shown in 1, service identification, service priority and the triangular corresponding relationship of tunnel priority are established.
Business | It identifies (DSCP) | Service priority | Tunnel priority |
Business 1 | 20 | 2 | 2 |
Business 2 | 30 | 3 | 3 |
Table 1
Carry out above-mentioned with postponing, exchange hardware (chip) implementation process is as follows, but in other embodiments, above-mentioned configuration
Process and exchange hardware implementation process between there is no precedence relationship:
Step 1: establishing the tunnel SRTE, and the priority of configured tunneling technique (as shown in table 1, can be with service priority
Service Class is identical), the identical tunnel of priority is placed in the same ECMP group, such as the ECMP group in Fig. 3
(ECMP0, ECMP1, ECMP2, ECMP3, wherein 0,1,2,3 are not the mark ID of ECMP, and only respectively indicate first it is excellent
First grade ECMP group, second priority ECMP group, third priority ECMP group and the 4th priority ECMP group) it is right respectively
Answering service priority (Service Class) is the service traffics (assuming that the flow for having planned 4 kinds of priority) of (1,2,3,4).
Step 2: establishing forwarding table (for example, routing table), ethernet ip service message enters interchanger, and forwarding table includes
The corresponding relationship of IP address and ECMP group mark then can search forwarding table according to purpose IP address DIP, obtain ECMP group mark
(e.g., the ID of ECMP0 is 0x0010 to ID, and the ID of ECMP1 is 0x0011, and the ID of ECMP2 is 0x0012, and the ID of ECMP3 is
0x0013)。
Step 3: establishing second level ACL table item, ACL matching domain is the value SCValue of service priority, second level ACL table
An ACL table item, in subsequent processing service message, ECMPID that chip can automatically find step 2 can be only installed
In addition the value SCValue of service priority obtained in matching in ACL obtains a new ECMPID, this new ECMP ID
It is just directed to be previously used for the ECMP group that storage has the tunnel priority SRTE.
The ID of the ECMP 0 found such as step 2 is 0x0010, and the value of the service priority obtained in the ACL matching
SCValue is 2, then is new ECMPID by ECMP 0+2=0x0010+2=0x0012,0x0012, new ECMP ID is
The ID of ECMP2, then ECMP2 is just directed to be previously used for the ECMP group that storage has the tunnel priority SRTE.
Step 4: establishing first order ACL table item, (can believe on service message head for matching the feature of service message
In breath), the identical service message of feature is divided into a priority group (Service Class), can be used on chip
The priority of SCValue expression packet message.
The process of processing business message is as follows:
Step 1: service message 1 is received, it (can be in the head of service message according to the service identification 20 of the service message 1
In portion's information) corresponding service priority 2 is searched from the first ACL table item (that is, first order ACL table item);
Step 2: searching forwarding table according to the IP address of service message 1, ECMP group mark ID=0x0010 is obtained, according to
The service priority 2 searches corresponding tunnel priority 2 from the second ACL table item (that is, second level ACL table item), or
The ID value 0x0010 of ECMP0 is equal to 0x0012 plus service priority 2 by person, and new ECMP group ECMP2 is obtained according to 0x0012;
Step 3: determining that ECMP group corresponding with the tunnel priority is according to the tunnel priority 2 and ECMP0
ECMP2;Then the new ECMP group ECMP2 in ECMP2 or step 2 is just directed to be previously used for storage to have priority SRTE
The ECMP group in tunnel.
Step 4: the first tunnel is selected to send the first business report from the ECMP2 group according to load balancing
Text.
As shown in figure 4, be simply Virtual Private Network L3VPN and SRTE the mixed networking figure based on third layer,
In this scenario, CE1 and CE2 passes through PE1 and PE2 access SRTE network respectively, and it is different that there are 4 groups of priority in SRTE network
The tunnel SRTE (being indicated by four solid lines between PE1 and PE2) and form ECMP, be used for transmission a variety of industry between CE1 and CE2
Business flow, with the growth of flow, just easily causes flow congestion if not doing prioritization to flow, thus shadow
It rings and arrives various businesses.The scheme described using the embodiment of the present invention, as long as deployment includes two-stage ACL's on PE1 and PE2 node
The embodiment of the present invention is just easily achieved service traffics automated tuning routing.
The beneficial effect of the embodiment of the present invention is, by two-stage acl lookup function, in traditional routing table look-up result
On the basis of realize and selected the outlet of message, disappearing for hardware resource can be greatly reduced according to the priority of service message flow
Consumption.On the basis of not increasing network cost, solves exchange chip and need to identify different business message flow and need to consume big
Measure forwarding table resource problem.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of method of service traffics scheduling characterized by comprising
Tunnel is established, the tunnel priority in the tunnel is configured, the mark in the identical tunnel of priority is added to same
In ECMP group, and the priority in the tunnel is the priority of the ECMP group;
Establish service identification, service priority and the triangular corresponding relationship of tunnel priority;
The first service message is received, is searched from the first ACL table item according to the service identification of first service message corresponding
First service priority, the first ACL table item include the corresponding relationship of the service identification and the service priority;
Corresponding first tunnel priority, the 2nd ACL are searched from the second ACL table item according to first service priority
List item includes the corresponding relationship of the service priority and the tunnel priority;
Forwarding table is searched according to the IP address of first service message, is determined and first service message corresponding first
ECMP group mark, the forwarding table include the corresponding relationship of IP address and ECMP group mark;
It is corresponding with first tunnel priority according to the first ECMP group mark and the determination of first tunnel priority
First ECMP group;
The first tunnel is selected to send first service message from the first ECMP group according to load balancing.
2. the method as described in claim 1, which is characterized in that the service identification be service message source/destination IP address,
One or more combination in protocol type, source/destination port numbers and DSCP.
3. the method as described in claim 1-2 is any, which is characterized in that the quantity of the service priority and the tunnel are excellent
The quantity of first grade is identical.
4. the method as described in claim 1-2 is any, which is characterized in that the tunnel is the tunnel SRTE.
5. the method as described in claim 1, which is characterized in that the forwarding table is routing table or MPLS forwarding table.
6. a kind of device of service traffics scheduling characterized by comprising
First establishes module, for establishing tunnel, the tunnel priority in the tunnel is configured, by the mark in the identical tunnel of priority
Knowledge is added in the same ECMP group, and the priority in the tunnel is the priority of the ECMP group;
Second establishes module, for establishing service identification, service priority and the triangular corresponding relationship of tunnel priority;
Receiving module, for receiving the first service message,
Searching module, for searching corresponding first from the first ACL table item according to the service identification of first service message
Service priority, the first ACL table item include the corresponding relationship of the service identification and the service priority, and according to institute
It states the first service priority and searches corresponding first tunnel priority from the second ACL table item, the second ACL table item includes institute
The corresponding relationship for stating service priority Yu the tunnel priority is searched according to the IP address of first service message and is forwarded
Table determines that the first ECMP group mark corresponding with first service message, the forwarding table include that IP address and ECMP group are marked
The corresponding relationship of knowledge;
Determining module, for according to the first ECMP group mark and the determination of first tunnel priority and first tunnel
The corresponding first ECMP group of priority;
Sending module, for being selected the first tunnel to send first industry from the first ECMP group according to load balancing
Business message.
7. device as claimed in claim 6, which is characterized in that the service identification be service message source/destination IP address,
One or more combination in protocol type, source/destination port numbers and DSCP.
8. the device as described in claim 6-7 is any, which is characterized in that the quantity of the service priority and the tunnel are excellent
The quantity of first grade is identical.
9. the device as described in claim 6-7 is any, which is characterized in that the tunnel is the tunnel SRTE.
10. device as claimed in claim 6, which is characterized in that the forwarding table is routing table or MPLS forwarding table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811547004.6A CN109450793B (en) | 2018-12-18 | 2018-12-18 | Method and device for scheduling service traffic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811547004.6A CN109450793B (en) | 2018-12-18 | 2018-12-18 | Method and device for scheduling service traffic |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109450793A true CN109450793A (en) | 2019-03-08 |
CN109450793B CN109450793B (en) | 2021-07-16 |
Family
ID=65558819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811547004.6A Active CN109450793B (en) | 2018-12-18 | 2018-12-18 | Method and device for scheduling service traffic |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109450793B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519168A (en) * | 2019-08-27 | 2019-11-29 | 北京华为数字技术有限公司 | A kind of method and relevant device creating the tunnel SRTE |
CN111600793A (en) * | 2020-03-31 | 2020-08-28 | 新华三信息安全技术有限公司 | Message forwarding method and device |
CN112187636A (en) * | 2020-09-22 | 2021-01-05 | 锐捷网络股份有限公司 | ECMP route storage method and device |
CN112436990A (en) * | 2020-10-12 | 2021-03-02 | 网络通信与安全紫金山实验室 | Data forwarding method, data forwarding equipment and computer-readable storage medium |
CN114615200A (en) * | 2022-03-14 | 2022-06-10 | 芯河半导体科技(无锡)有限公司 | Elephant flow detection method and device based on ACL |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101163084A (en) * | 2007-11-13 | 2008-04-16 | 华为技术有限公司 | Classification based tunnel selecting method and apparatus |
EP2234448A1 (en) * | 2009-03-27 | 2010-09-29 | Research In Motion Limited | Method and system for establishing and maintaining high speed radio access bearer for foreground application |
CN102065020A (en) * | 2011-01-24 | 2011-05-18 | 中兴通讯股份有限公司 | Method and device for transmitting L2VPN service by using tunnel group in MPLS network |
CN103384218A (en) * | 2012-05-03 | 2013-11-06 | 中兴通讯股份有限公司 | Flow forward method and system on basis of service grade |
WO2016019985A1 (en) * | 2014-08-06 | 2016-02-11 | Nokia Solutions And Networks Oy | Method computer program product and apparatus for traffic flow differentiation |
CN105745880A (en) * | 2013-07-29 | 2016-07-06 | 瑞典爱立信有限公司 | Method and apparatus for using entropy labels in segment routed networks |
CN106470157A (en) * | 2015-08-21 | 2017-03-01 | 中兴通讯股份有限公司 | The priority method to set up in tunnel and device |
CN106878184A (en) * | 2017-02-28 | 2017-06-20 | 新华三技术有限公司 | A kind of data message transmission method and device |
CN108199974A (en) * | 2017-12-25 | 2018-06-22 | 新华三技术有限公司 | Service traffics forwarding management method, device and network node |
CN108768788A (en) * | 2018-06-26 | 2018-11-06 | 新华三技术有限公司合肥分公司 | Path failure detection method and device |
CN108989210A (en) * | 2017-06-02 | 2018-12-11 | 中兴通讯股份有限公司 | A kind of tunnel selecting method and software defined network controller based on strategy |
-
2018
- 2018-12-18 CN CN201811547004.6A patent/CN109450793B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101163084A (en) * | 2007-11-13 | 2008-04-16 | 华为技术有限公司 | Classification based tunnel selecting method and apparatus |
EP2234448A1 (en) * | 2009-03-27 | 2010-09-29 | Research In Motion Limited | Method and system for establishing and maintaining high speed radio access bearer for foreground application |
CN102065020A (en) * | 2011-01-24 | 2011-05-18 | 中兴通讯股份有限公司 | Method and device for transmitting L2VPN service by using tunnel group in MPLS network |
CN103384218A (en) * | 2012-05-03 | 2013-11-06 | 中兴通讯股份有限公司 | Flow forward method and system on basis of service grade |
CN105745880A (en) * | 2013-07-29 | 2016-07-06 | 瑞典爱立信有限公司 | Method and apparatus for using entropy labels in segment routed networks |
WO2016019985A1 (en) * | 2014-08-06 | 2016-02-11 | Nokia Solutions And Networks Oy | Method computer program product and apparatus for traffic flow differentiation |
CN106470157A (en) * | 2015-08-21 | 2017-03-01 | 中兴通讯股份有限公司 | The priority method to set up in tunnel and device |
CN106878184A (en) * | 2017-02-28 | 2017-06-20 | 新华三技术有限公司 | A kind of data message transmission method and device |
CN108989210A (en) * | 2017-06-02 | 2018-12-11 | 中兴通讯股份有限公司 | A kind of tunnel selecting method and software defined network controller based on strategy |
CN108199974A (en) * | 2017-12-25 | 2018-06-22 | 新华三技术有限公司 | Service traffics forwarding management method, device and network node |
CN108768788A (en) * | 2018-06-26 | 2018-11-06 | 新华三技术有限公司合肥分公司 | Path failure detection method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519168A (en) * | 2019-08-27 | 2019-11-29 | 北京华为数字技术有限公司 | A kind of method and relevant device creating the tunnel SRTE |
CN110519168B (en) * | 2019-08-27 | 2022-03-11 | 北京华为数字技术有限公司 | Method for establishing SRTE tunnel and related equipment |
CN111600793A (en) * | 2020-03-31 | 2020-08-28 | 新华三信息安全技术有限公司 | Message forwarding method and device |
CN111600793B (en) * | 2020-03-31 | 2022-07-12 | 新华三信息安全技术有限公司 | Message forwarding method and device |
CN112187636A (en) * | 2020-09-22 | 2021-01-05 | 锐捷网络股份有限公司 | ECMP route storage method and device |
CN112436990A (en) * | 2020-10-12 | 2021-03-02 | 网络通信与安全紫金山实验室 | Data forwarding method, data forwarding equipment and computer-readable storage medium |
CN114615200A (en) * | 2022-03-14 | 2022-06-10 | 芯河半导体科技(无锡)有限公司 | Elephant flow detection method and device based on ACL |
Also Published As
Publication number | Publication date |
---|---|
CN109450793B (en) | 2021-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109450793A (en) | A kind of method and apparatus of service traffics scheduling | |
CN111385207B (en) | Service data forwarding method, network device and network system | |
US11588733B2 (en) | Slice-based routing | |
US10880203B2 (en) | Centralized segment routing dataplane based backup path validation | |
CN105871721B (en) | Segment routing processing method, processing device and sending device | |
CN102150148B (en) | Differentiated services for unicast multicast frames in layer 2 topologies | |
WO2021007963A1 (en) | Route distribution method and controller, information routing method and network node device | |
CN104426763B (en) | Tunnel switching method, device and interchanger | |
US11799772B2 (en) | Support for multiple virtual networks over an underlay network topology | |
WO2015192501A1 (en) | Address information publishing method and apparatus | |
CN105634940A (en) | SR information acquisition method and route segment network establishment method | |
US20200244486A1 (en) | Dynamic customer vlan identifiers in a telecommunications network | |
CN105791153B (en) | Service traffics dispatching method and system and flow controller and network edge device | |
RU2528149C1 (en) | Tunnel switching method and system for multi-protocol label switching services | |
CN112134801B (en) | Method and device for processing segment identification SID and each node | |
US20210367883A1 (en) | Bitmask route target in targeted distribution of information using a routing protocol | |
Lin et al. | Jointly optimized QoS-aware virtualization and routing in software defined networks | |
WO2022012689A1 (en) | Route advertisement method and related device | |
CN103441930B (en) | A kind of MPLS TE packet forwards and management method and device | |
CN105939262B (en) | Label distribution method and device | |
CN104038421A (en) | Method and device for forwarding messages in VPN (virtual private network) | |
CN106034075B (en) | Method and device for distributing label for VPN route | |
EP3913871A1 (en) | Bitmask route target in targeted distribution of information using a routing protocol | |
CN105634949B (en) | A kind of network tab distribution, device, system and the network equipment | |
CN106936681A (en) | A kind of data processing method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |