CN109218194A - A kind of method and provider edge equipment handling message - Google Patents

A kind of method and provider edge equipment handling message Download PDF

Info

Publication number
CN109218194A
CN109218194A CN201710514916.2A CN201710514916A CN109218194A CN 109218194 A CN109218194 A CN 109218194A CN 201710514916 A CN201710514916 A CN 201710514916A CN 109218194 A CN109218194 A CN 109218194A
Authority
CN
China
Prior art keywords
message
priority
phb
mpls
mapping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201710514916.2A
Other languages
Chinese (zh)
Inventor
杨爱国
罗胜金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710514916.2A priority Critical patent/CN109218194A/en
Publication of CN109218194A publication Critical patent/CN109218194A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/30Routing of multiclass traffic

Abstract

The embodiment of the invention provides a kind of methods and provider edge equipment for handling message, comprising: after receiving message, by the priority mapping in the message into single hop behavior PHB;According to the priority being mapped in the PHB, the priority mapping in the PHB will be mapped into label;The label and the message are encapsulated to form multiprotocol label switching MPLS message;The MPLS message is transmitted to downlink provider edge equipment.The configuration requirement of three kinds of More General Form for meeting QoS of the embodiment of the present invention, pipe modes and short duct mode pipeline models, user can configure different mode according to their own needs.

Description

A kind of method and provider edge equipment handling message
Technical field
The present invention relates to a kind of field of communication technology, in particular to a kind of method for handling message and Provider Edge are set It is standby.
Background technique
QoS (Quality of Service, service quality) for customer perception to operator the Service Quality of network is provided Amount.From the angle of operator, QoS is exactly to provide transmission of network as well as possible for various businesses under limited bandwidth and cost The technology guaranteed.The technology of usual QoS has following three kinds of service models: service model of doing one's best, integrated service model, Differentiated service.Currently, SPTN equipment is one kind at PTN (Packet Transport Network, grouping conveying network) On the basis of, realization SDN (Software Defined Network, the improved equipment of software defined network technology, currently, The QoS model that SPTN equipment uses is to discriminate between service model.In RFC2983 document, following three are provided for differentiated service Kind pipeline model: More General Form, pipe modes and short duct mode.
Referring to Fig. 1, under More General Form, whole network is as a different service domains, i.e. IP (Internet Protocol, Internet protocol) network and MPLS (Multi-Protocol Label Switching, multiprotocol label switching) Network, the priority of message are unified definitions.In MPLS network tunnel portal, when message is labeled with label, by message prior Grade is mapped to the QoS priority domain in tunnel;In MPLS network tunnel exit, when popping up label, the QoS marker domain of removal Copy IP grouping or corresponding tunnel encapsulation to downwards.
Referring to fig. 2, under pipe modes, priority of the message in IP network and MPLS network is independent.Enter in tunnel Mouthful, the QoS priority in tunnel is specified by user.In tunnel exit, SPTN equipment ignores the QoS marker of business internal layer, according to tunnel Priority label in road carries out QoS scheduling.Message leaves MPLS network, and the precedence field carried before message will not be written over.
Referring to Fig. 3, under short duct mode, short duct model is similar with pipeline model, in tunnel portal, the QoS in tunnel Priority is specified by user.In tunnel exit, SPTN equipment ignores outer layer tunnel QoS marker, also original subscriber's stream, according to internal layer report Literary priority label carries out various QoS scheduling.Message leaves MPLS network, and the priority carried before message will not be written over.
Currently, the SPTN technical standard based on SDN principle, does not provide the realization technology rule of QoS pipeline model function Model.Meanwhile " SPTN southbound interface defines (SBI) " national standard is proposed based on China Mobile, although providing SPTN band VPWS (virtual private wire service, virtual label private leased circuit service) business model of QoS, but still exist with Lower problem:
Do not define the configuration of tri- kinds of pipeline models of QoS, that is, there is no definition of how realize More General Form, pipe modes or Short duct mode.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of methods and Provider Edge for handling message Equipment realizes the configuration of tri- kinds of pipeline models of QoS on SPTN.
One aspect according to an embodiment of the present invention provides a kind of method for handling message, comprising:
After receiving message, by the priority mapping in the message into single hop behavior PHB;
According to the priority being mapped in the PHB, the priority mapping in the PHB will be mapped into label;
The label and the message are encapsulated to form multiprotocol label switching MPLS message;
The MPLS message is transmitted to downlink provider edge equipment.
Optionally, the priority mapping by the message is into single hop behavior PHB, comprising:
According to the domain differential service DS, by PCP pairs of differentiated services code points DSCP or priority code point in the message The priority mapping answered is into PHB.
Optionally, the corresponding priority mapping of DSCP or PCP by the message is into PHB, comprising:
By the mapping relations between the DSCP or the corresponding priority of PCP and PHB in the message, it is configured to MPLS DSCP trusts flow table or MPLS PCP trusts in flow table, and the mapping that wherein domain DS corresponds between the priority and PHB of message is closed System.
Optionally, the priority mapping that will be mapped in PHB is into label, comprising:
According to the domain DS, the experimental field that is used to store priority of the priority mapping that will be mapped in PHB into label In.
Optionally, the experiment word that is used to store priority of the priority mapping that will be mapped in PHB into label Duan Zhong, comprising:
The mapping that will be mapped between the experimental field for storing priority in priority and label in PHB is closed System, is configured in the tunnel MPLS heavy label action schedule.
Other side according to an embodiment of the present invention additionally provides a kind of method for handling message, comprising:
After the MPLS message for receiving the input of uplink provider edge equipment entrance, by the priority of the MPLS message It is mapped in single hop behavior PHB;
The MPLS message is converted into the message that the uplink provider edge equipment entrance receives by decapsulation.
Optionally, the priority mapping by the MPLS message is into PHB, comprising:
According to the domain DS, the corresponding priority of priority experimental field that is used to store in the label of the MPLS message is reflected It is mapped in PHB.
Optionally, described to be used to store the corresponding priority mapping of priority experimental field in the label of MPLS message Into PHB, comprising:
By the mapping relations for being used to store between the corresponding priority of priority experimental field and PHB in MPLS message, It is configured to MPLS EXP to trust in flow table, wherein the domain DS corresponds to the mapping relations between the priority and PHB of message.
Optionally, further includes:
According to the priority being mapped in PHB, will be mapped to priority mapping in PHB to the DSCP of the message or In PCP.
It is optionally, described to will be mapped to the priority mapping in PHB into the DSCP or PCP of message, comprising:
It will be mapped to the mapping relations between the priority in PHB and the DSCP or PCP of message, be configured to outlet DSCP weight It marks in flow table or outlet PCP heavy label flow table.
Optionally, by the priority mapping of the MPLS message into single hop behavior PHB, comprising:
By in the MPLS message DSCP or the corresponding priority mapping of PCP into PHB.
Optionally, the DSCP or the corresponding priority mapping of PCP by the MPLS message is into PHB, comprising:
According to the domain DS, by the mapping relations between the DSCP or the corresponding priority of PCP and PHB in the MPLS message, MPLS DSCP is configured to trust in flow table or MPLS PCP trust flow table.
Another aspect according to an embodiment of the present invention additionally provides a kind of provider edge equipment, comprising:
First mapping block, for after receiving message, by the priority mapping in the message to single hop row For in PHB;
Second mapping block, for will be mapped to preferential in the PHB according to the priority being mapped in the PHB Grade is mapped in label;
Package module, for encapsulating the label and the message to form multiprotocol label switching MPLS message;
First forwarding module, for the MPLS message to be transmitted to downlink provider edge equipment.
Optionally, first mapping block, comprising:
First map unit is used for according to the domain differential service DS, by the DSCP or the corresponding priority of PCP in the message It is mapped in PHB.
Optionally, first map unit, comprising:
First mapping subelement, for by the mapping between the DSCP or the corresponding priority of PCP and PHB in the message Relationship is configured to MPLS DSCP and trusts flow table or MPLS PCP and trusts in flow table, wherein the domain DS correspond to the priority of message with Mapping relations between PHB.
Optionally, second mapping block, comprising:
Second map unit, for according to the domain DS, the priority mapping that will be mapped in PHB to be used to store into label In the experimental field of priority.
Optionally, second map unit, comprising:
Second mapping subelement, for will be mapped to the reality for being used to store priority in priority and label in PHB The mapping relations between field are tested, are configured in the tunnel MPLS heavy label action schedule.
Another aspect according to an embodiment of the present invention additionally provides a kind of provider edge equipment, comprising: third mapping Module, for receive uplink provider edge equipment entrance input MPLS message after, by the preferential of the MPLS message Grade is mapped in single hop behavior PHB.
Decapsulation module enters for the MPLS message to be converted to the uplink provider edge equipment by decapsulation The message that mouth receives.
Optionally, the third mapping block, comprising:
Third map unit, for will be used to store priority experiment in the label of the MPLS message according to the domain DS The corresponding priority mapping of field is into PHB.
Optionally, the third map unit, comprising:
Third maps subelement, for corresponding to the priority experimental field that is used to store in the label of the MPLS message Priority and PHB between mapping relations, be configured to MPLS EXP trust flow table in, wherein the domain DS correspond to message it is preferential Mapping relations between grade and PHB.
Optionally, provider edge equipment further include:
4th mapping block, for will be mapped to preferential in the PHB according to the priority being mapped in the PHB Grade is mapped in the DSCP or PCP of the message.
Optionally, the 4th mapping block, comprising:
4th map unit, the mapping between the DSCP or PCP for will be mapped to the priority in PHB and message are closed System is configured in outlet DSCP heavy label flow table or outlet PCP heavy label flow table.
Optionally, the third mapping block includes:
5th map unit, for after receiving MPLS message, by the MPLS message DSCP or PCP it is corresponding Priority mapping is into single hop behavior PHB.
Optionally, the 5th map unit, comprising:
5th mapping subelement, for according to the domain DS, by the MPLS message DSCP or the corresponding priority of PCP with Mapping relations between PHB are configured to MPLS DSCP and trust in flow table or MPLS PCP trust flow table.
Another aspect according to an embodiment of the present invention additionally provides a kind of provider edge equipment, comprising: memory, Processor and storage on a memory and the computer program that can run on a processor, when the processor execution described program Realize the step in the method for processing message as described above.
Another aspect according to an embodiment of the present invention additionally provides a kind of computer readable storage medium, stores thereon There is computer program, the step in the method for processing message as described above is realized when which is executed by processor.
The embodiment of the present invention has the following beneficial effects:
Firstly, in business uplink, the method for the processing message in the embodiment of the present invention is by the priority in the message It is mapped in PHB, further according to the priority being mapped in PHB, will be mapped to the priority mapping in PHB into label, it will MPLS message is transmitted to downlink provider edge equipment, can meet More General Form, pipe modes and the short duct mode of QoS in this way The configuration requirement of three kinds of pipeline models, user can configure different mode according to their own needs.
Secondly, in business downlink, the method for the processing message in the embodiment of the present invention is by the preferential of the MPLS message Grade is mapped in PHB, then will be mapped to the priority mapping in PHB into the DSCP or PCP of message, according to being mapped to message Priority in DSCP or PCP is forwarded the message, can meet the configuration requirement of the More General Form of QoS.
Again, in business downlink, the method for the processing message in the embodiment of the present invention is by the preferential of the MPLS message Grade is mapped in PHB, is scheduled according to the priority being mapped in PHB to the message, can be met the pipe modes of QoS Configuration requirement.
Again, in business downlink, the method for the processing message in the embodiment of the present invention will be in the MPLS message The corresponding priority mapping of DSCP or PCP is scheduled the message in for PHB, according to the priority being mapped in PHB, The configuration requirement of the short duct mode of QoS can be met in this way.
In conclusion the embodiment of the present invention can meet three kinds of More General Form of QoS, pipe modes and short duct mode pipelines The configuration requirement of model, user can configure different mode according to their own needs.
Detailed description of the invention
Fig. 1 is the schematic diagram of the More General Form of the prior art;
Fig. 2 is the schematic diagram of the pipe modes of the prior art;
Fig. 3 is the schematic diagram of the short duct mode of the prior art;
Fig. 4 is a kind of flow chart of method for handling message provided in an embodiment of the present invention;
Fig. 5 is a kind of basic flow table of the processing message of VPWS business uplink provided in an embodiment of the present invention;
Fig. 6 is the flow chart of the method for another processing message provided in an embodiment of the present invention;
Fig. 7 is a kind of basic flow table of the processing message of VPWS business downlink provided in an embodiment of the present invention;
Fig. 8 is the flow chart of the method for another processing message provided in an embodiment of the present invention;
Fig. 9 is the basic flow table of the processing message of another kind VPWS business downlink provided in an embodiment of the present invention;
Figure 10 is the flow chart of the method for another processing message provided in an embodiment of the present invention;
Figure 11 is the basic flow table of the processing message of another VPWS business downlink provided in an embodiment of the present invention;
Figure 12 is a kind of structural schematic diagram of provider edge equipment provided in an embodiment of the present invention;
Figure 13 is the structural schematic diagram of another provider edge equipment provided in an embodiment of the present invention;
Figure 14 is the structural schematic diagram of another provider edge equipment provided in an embodiment of the present invention;
Figure 15 is the structural schematic diagram of another provider edge equipment provided in an embodiment of the present invention;
Figure 16 be another embodiment of the present invention provides a kind of provider edge equipment structural schematic diagram.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.
Term " first ", " second " in description and claims of this specification etc. are for distinguishing similar right As without being used to describe a particular order or precedence order.It should be understood that the data used in this way in the appropriate case can be with It exchanges, so that the embodiment of the present invention described herein for example can be with suitable other than those of illustrating or describing herein Sequence is implemented.
Fig. 4 is a kind of flow chart of method for handling message provided in an embodiment of the present invention, the method for the processing message Applied to uplink provider edge equipment.Specifically, uplink provider edge equipment can be SPTN (Software-Defined- Network Packet Transport Network, the packet transmission networks of software definition) equipment, wherein SPTN equipment is one Kind realizes SDN (Software in PTN (Packet Transport Network, grouping conveying network) Equipment Foundations Defined Network, software defined network) technology improved equipment, referring to fig. 4, the method specifically includes following step It is rapid:
S401, after receiving message, by the priority mapping in the message to PHB (Per-Hop Behavior, list Hop behavior) in.
It should be noted that the message can be IP (Internet Protocol, Internet protocol) message or two layers The message of forwarding, is of course not solely limited to this.
In the present embodiment, the priority mapping by the message is into PHB, comprising:
According to DS (Differentiated services, differential service) domain, by the DSCP in the message (Differentiated Services Code Point, differentiated services code points) or PCP (Priority code Points, priority code point) corresponding priority mapping is into PHB.Wherein the domain DS correspond to message priority and PHB it Between mapping relations.It should be noted that mapping relations user configurable and/or system between the priority and PHB of message Default.
For example, mapping relations user configurable or SPTN system in SPTN equipment, between the priority and PHB of message System default, it is to be understood that if user configuration mapping relations, are mapped, what is do not configured is reflected by default by configuration Relationship is penetrated map.Wherein, message priority<--->PHB (PSC, color) mapping relations have following several:
(1) it is mapped in SPTN equipment entrance:
PCP- > PHB (PSC, color);
EXP- > PHB (PSC, color);
DSCP- > PHB (PSC, color).
(2) SPTN equipment export is mapped with:
PHB (PSC, color) -> PCP;
PHB (PSC, color) -> EXP;
PHB (PSC, color) -> DSCP.
S402 will be mapped to priority mapping in the PHB to label according to the priority being mapped in the PHB In.
Optionally, can be according to the domain DS, the priority mapping that will be mapped in PHB is used to store priority into label In EXP (Experiment, experiment) field.
S403 encapsulates the label and the message to form multiprotocol label switching MPLS message.
The MPLS message is transmitted to downlink provider edge equipment by S404.
In uplink service, by by the priority mapping of the message into PHB, it is excellent in PHB further according to being mapped to First grade, will be mapped to the priority mapping in PHB into label, and MPLS message is transmitted to downlink provider edge equipment, this Sample can meet the configuration requirement of three kinds of More General Form of QoS, pipe modes and short duct mode pipeline models, and user can basis The demand of oneself configures different mode.
Fig. 5 is a kind of VPWS (Virtual Private LAN Service, virtual private provided in an embodiment of the present invention LAN services) business uplink processing message basic flow table, referring to Fig. 5, the processing message of the VPWS business uplink Basic flow table include but is not limited to: input port flow table, VLAN flow table, MPLS MAC flow table, MPLS DSCP trust stream Table, MPLS PCP trust flow table, MPLS pseudo-wire encapsulation group table, MPLS tunnel encapsulation group table and/or MPLS MAC encapsulation group table.
It, can be according to the domain DS, by the DSCP or the corresponding priority of PCP and PHB in the message in VPWS business uplink Mapping relations, be configured to that MPLS DSCP shown in fig. 5 trusts flow table or MPLS PCP trusts in flow table.
It, can be according to described when carrying out stream simple classification to the message received in the uplink of VPWS business The type of message trusts PCP either DSCP to determine, i.e., configuration MPLS DSCP trusts flow table or MPLS PCP trusts stream Table.
It optionally, can be corresponding by the DSCP in the message when the message is IP packet (may be simply referred to as L3 message) Priority and PHB between mapping relations, be configured to MPLS DSCP trust flow table in.For example, DSCP pairs in the message The matching field of mapping relations between the priority answered and single hop behavior PHB is IP_DSCP, and assignment field is OXM_ Traffic_Class,OXM_Color.It should be noted that remaining can in addition to it can be mapped by configured mapping relations It is mapped by system default relationship.
It optionally, can will be in the message when the message is message (may be simply referred to as L2 message) of two layers of forwarding Mapping relations between the corresponding priority of PCP and PHB are configured to MPLS PCP and trust in flow table.For example, in the message The matching field of mapping relations between the corresponding priority of PCP and single hop behavior PHB is VLAN_PCP, assignment field For OXM_Traffic_Class, OXM_Color.It should be noted that in addition to it can be mapped by configured mapping relations, Remaining can be mapped by system default relationship.
Specifically, excellent for storing in the priority and label that can will be mapped in PHB in the uplink of VPWS business Mapping relations between experiment (EXP) field of first grade, are configured in the tunnel MPLS heavy label action schedule shown in fig. 5.For example, It is mapped to of the mapping relations between experiment (EXP) field for storing priority in the priority and label in PHB It is Traffic_Class (traffic class), Color (color) with field, assignment field is MPLS_TC.It should be noted that removing Outside being mapped by configured mapping relations, remaining can be mapped by system default relationship.
In business uplink, after receiving message, by by the priority of the message and single hop behavior PHB it Between mapping relations be configured to MPLS DSCP and trust flow table or MPLS PCP and trust in flow table, then will be mapped to preferential in PHB The mapping relations between experimental field in grade and label are configured in the tunnel MPLS heavy label action schedule, can meet QoS in this way More General Form, three kinds of pipeline models of pipe modes and short duct mode configuration requirement, user can according to their own needs, Configure different mode.
Fig. 6 is the flow chart of the method for another processing message provided in an embodiment of the present invention, the side of the processing message Method is applied to downlink provider edge equipment.Specifically, downlink provider edge equipment can be SPTN equipment, described referring to Fig. 6 Method specifically includes the following steps:
S601, after the MPLS message for receiving the input of uplink provider edge equipment entrance, by the MPLS message Priority mapping is into PHB.
In the present embodiment, the priority mapping by the MPLS message is into single hop behavior PHB, comprising:
In business downlink, can according to the domain DS, by MPLS message to be used to store priority experimental field corresponding excellent First grade is mapped in PHB.
The MPLS message is converted to what the uplink provider edge equipment entrance received by decapsulation by S602 Message.
Optionally, the priority experimental field that is used to store in the label of the MPLS message can be corresponded to according to the domain DS Priority mapping into PHB.In the present embodiment, in business downlink, by by the priority mapping of the MPLS message Into PHB, by being scheduled according to the priority being mapped in single hop behavior PHB to the message, it can meet QoS's The configuration requirement of pipe modes.
Fig. 7 is the basic flow table of the processing message of another kind VPWS business downlink provided in an embodiment of the present invention, referring to The basic flow table of Fig. 7, the method for the processing message of the another kind VPWS business downlink include but is not limited to: input port stream Table, VLAN flow table terminate MAC flow table, MPLS flow table and/or MPLS EXP trust flow table.
In business downlink, it can will be used to store the corresponding priority of precedence field and list in the label of MPLS message The mapping relations established between hop behavior PHB are configured to MPLS EXP shown in Fig. 7 and trust in flow table, for example, MPLS is reported It is used to store the mapping relations established between the corresponding priority of precedence field and single hop behavior PHB in the label of text Matching field be MPLS_TC, assignment field be OXM_Traffic_Class, OXM_Color).It should be noted that except can Outside being mapped by configured mapping relations, remaining can be mapped by system default relationship.
In the present embodiment, in business downlink, by by the priority of the MPLS message and single hop behavior PHB Mapping relations be mapped to MPLS EXP and trust in flow table, by according to being mapped to priority pair in single hop behavior PHB The message is scheduled, and can meet the configuration requirement of the pipe modes of QoS in this way.
Fig. 8 is the flow chart of the method for another processing message provided in an embodiment of the present invention, the side of the processing message Method is applied to downlink provider edge equipment.Specifically, downlink provider edge equipment can be SPTN equipment, described referring to Fig. 8 Method specifically includes the following steps:
S801, after the MPLS message for receiving the input of uplink provider edge equipment entrance, by the MPLS message Priority mapping is into PHB.
In the present embodiment, the priority mapping by the MPLS message is into PHB, comprising:
It, can be according to the domain DS, by the EXP (experiment) for being used to store priority in the label of MPLS message in business downlink The corresponding priority mapping of field is into PHB.
S802 will be mapped to priority mapping in PHB to the message according to the priority being mapped in PHB In DSCP or PCP.
In business downlink, the priority mapping in PHB can be will be mapped into the DSCP or PCP of message according to the domain DS.
The MPLS message is converted to what the uplink provider edge equipment entrance received by decapsulation by S803 Message.
In the present embodiment, in business downlink, by by the priority mapping of the MPLS message into PHB, then will The priority mapping in PHB is mapped into the DSCP or PCP of message, according to preferential in the DSCP or PCP that are mapped to message Grade, is forwarded the message, can meet the configuration requirement of the More General Form of QoS.
Fig. 9 is a kind of basic flow table of the processing message of VPWS business downlink provided in an embodiment of the present invention, referring to figure The basic flow table of the method for the processing message of 9, VPWS business downlinks includes but is not limited to: input port flow table, VLAN flow table, It terminates MAC flow table, MPLS flow table, MPLS EXP and trusts flow table, outlet DSCP heavy label flow table and/or outlet PCP heavy label stream Table.
In business downlink, it can will be used to store the corresponding priority of precedence field and single hop in MPLS message The mapping relations established between behavior PHB are configured to MPLS EXP shown in Fig. 9 and trust in flow table, and wherein the domain DS corresponds to report Mapping relations between the priority and PHB of text.For example, being used to store the corresponding priority of precedence field in MPLS message The matching field for the mapping relations established between single hop behavior PHB is MPLS_TC, and assignment field is OXM_Traffic_ Class,OXM_Color.It should be noted that remaining can be silent by system in addition to it can be mapped by configured mapping relations Recognize relationship to be mapped.
In business downlink, the differentiated services code points DSCP or preferential of the priority and message in PHB can be will be mapped to Mapping relations between grade code point PCP are configured to outlet DSCP heavy label flow table shown in Fig. 9 or outlet PCP heavy label stream In table.For example, between the priority being mapped in PHB and differentiated services code points DSCP or priority code the point PCP of message Mapping relations matching field be OXM_Traffic_class, OXM_Color, assignment field be IP_DSCP or VLAN_ PCP).It should be noted that remaining can be reflected by system default relationship in addition to it can be mapped by configured mapping relations It penetrates.
In the present embodiment, in business downlink, by by the priority of the MPLS message and single hop behavior PHB Mapping relations be mapped to MPLS EXP and trust in flow table, then will be mapped to the differential service generation of the priority and message in PHB The mapping relations of code-point DSCP or priority code point PCP are configured to outlet DSCP heavy label flow table or outlet PCP heavy label stream In table, the configuration requirement of the More General Form of QoS can be met.
Figure 10 is the flow chart of the method for another processing message provided in an embodiment of the present invention, the side of the processing message Method is applied to downlink provider edge equipment.Specifically, downlink provider edge equipment can be SPTN equipment, referring to Figure 10, institute State method specifically includes the following steps:
S1001, after receiving MPLS message, by the DSCP or the corresponding priority mapping of PCP in the MPLS message Into PHB.
It in the present embodiment, can be according to the domain DS, by the DSCP or the corresponding priority of PCP and PHB in the MPLS message Between build mapping relations.It should be noted that mapping relations between the priority and PHB of the message in the domain DS can user match It sets or system default.
The MPLS message is converted to the uplink provider edge equipment entrance by decapsulation and received by S1002 Message.
In the present embodiment, in business downlink, by by the DSCP or the corresponding priority mapping of PCP in the message Into PHB, by being scheduled according to the priority being mapped in PHB to the message, the short duct mould of QoS can be met in this way The configuration requirement of formula.
Figure 11 is the basic flow table of the processing message of another VPWS business downlink provided in an embodiment of the present invention, referring to The basic flow table of Figure 11, the method for the processing message of another VPWS business downlink include but is not limited to: input port Flow table, VLAN flow table terminate MAC flow table, MPLS flow table, MPLS DSCP trust flow table and/or MPLS PCP trust flow table.
It in the present embodiment, can be by the mapping between the DSCP or the corresponding priority of PCP and PHB in the MPLS message Relationship is configured to MPLS DSCP shown in Figure 11 and trusts in flow table or MPLS PCP trust flow table.
It, can be according to described when carrying out stream simple classification to the message received in the uplink of VPWS business The type of message trusts PCP either DSCP to determine, i.e., configuration MPLS DSCP trusts flow table or MPLS PCP trusts stream Table.
It optionally, can be corresponding by the DSCP in the message when the message is IP packet (may be simply referred to as L3 message) Priority and PHB between mapping relations, be configured to flow table MPLS DSCP trust flow table in.For example, in the message The matching field of mapping relations between the corresponding priority of DSCP and single hop behavior PHB is IP_DSCP, and assignment field is OXM_Traffic_Class,OXM_Color.It should be noted that in addition to it can be mapped by configured mapping relations, remaining Can be mapped by system default relationship.
It optionally, can will be in the message when the message is message (may be simply referred to as L2 message) of two layers of forwarding Mapping relations between the corresponding priority of PCP and PHB are configured to MPLS PCP and trust in flow table.For example, in the message The matching field of mapping relations between the corresponding priority of PCP and PHB is VLAN_PCP, and assignment field is OXM_ Traffic_Class,OXM_Color.It should be noted that remaining can in addition to it can be mapped by configured mapping relations It is mapped by system default relationship.
In the present embodiment, in business downlink, by by the DSCP or the corresponding priority of PCP in the MPLS message Mapping relations between PHB are configured to MPLS DSCP and trust in flow table or MPLS PCP trust flow table, can meet in this way The configuration requirement of the short duct mode of QoS.
For the ease of being best understood from the method for handling message of the embodiment of the present invention, carried out by taking More General Form as an example below It illustrates.
By in IP network, PCP priority value is equal to 5 message, and transmission priority drops to 3 in an mpls network.And going out When MPLS network, the priority value of PCP in IP packet is revised as 3.The relevant table configuration of QoS on controller is as follows:
In the uplink of VPWS business, when carrying out stream simple classification, user's message is L2 message, and PCP is trusted in selection, is matched It sets MPLS PCP and trusts flow table.
Matching field VLAN_PCP:5, assignment field OXM_Traffic_Class:3, OXM_Color:0 are set.Remaining (VLAN_PCP and OXM_Traffic_Class are equal, 0) OXM_Color is for SPTN system default.
Message PCP<--->PHB (PSC, color) mapping relations are as follows:
0- > (0,0), 1- > (1,0), 2- > (2,0), 3- > (3,0), 4- > (4,0), 5- > (3,0), 6- > (6,0), 7- > (7, 0)。
In the uplink of VPWS business, the tunnel MPLS heavy label action schedule is configured.According to configuring and defaulting the domain DS, by PHB It is mapped to EXP value.
Matching field Traffic_Class:3, Color:0, assignment field MPLS_TC:3 are set, remaining SPTN system is write from memory Recognize.
PHB (PSC, color)<--->EXP mapping relations are as follows:
(0,0) -> 0, (0,1) -> 0, (0,2) -> 0, (1,0) -> 1, (1,1) -> 1, (1,2) -> 1, (2,0) -> 2, (2,1)- > 1, (2,2) -> 2, (3,0) -> 3, (3,1) -> 3, (3,2) -> 3, (4,0) -> 4, (4,1) -> 4, (4,2) -> 4, (5,0) -> 5, (5,1) -> 5, (5,2) -> 0, (6,0) -> 6, (6,1) -> 6, (6,2) -> 0, (7,0) -> 7, (7,1) -> 7, (7,2) -> 0.
In the downlink of VPWS business, configuration MPLS EXP trusts flow table.According to configuring and defaulting the domain DS, EXP value is reflected It is mapped to PHB.
Matching field MPLS_TC:3, assignment field OXM_Traffic_Class:3, OXM_Color:0 are set.Remaining (MPLS_TC and OXM_Traffic_Class are equal, 0) OXM_Color is for SPTN system default.
EXP<--->PHB (PSC, color) mapping relations are as follows:
0- > (0,0) 1- > (1,0) 2- > (2,0) 3- > (3,0) 4- > (4,0) 5- > (5,0) 6- > (6,0) 7- > (7,0).
In the downlink of VPWS business, configuration flow table exports DSCP PCP heavy label flow table, according to configuration and defaults the domain DS, The PCP of heavy label message.
Matching field Traffic_Class:3, Color:0, assignment field VLAN_PCP:3 are set, remaining SPTN system is write from memory Recognize that (Traffic_Class and VLAN_PCP are equal, 0) Color is.
PHB (PSC, color)<--->PCP mapping relations are as follows:
(0,0) -> 0, (0,1) -> 0, (0,2) -> 0, (1,0) -> 1, (1,1) -> 1, (1,2) -> 1, (2,0) -> 2, (2,1)- > 2, (2,2) -> 2, (3,0) -> 3, (3,1) -> 3, (3,2) -> 3, (4,0) -> 4, (4,1) -> 3, (4,2) -> 4, (5,0) -> 5, (5,1) -> 5, (5,2) -> 5, (6,0) -> 6, (6,1) -> 6, (6,2) -> 0, (7,0) -> 7, (7,1) -> 7, (7,2) -> 0.
After QoS correlation table and other basic flow table configurations, it is issued to SPTN from controller, is come into force.
The message that message PCP priority is 5 in IP network, in the SPTN equipment of uplink, dispatching priority is modified to 3, in the SPTN equipment of downlink, the PCP priority of IP packet is rewritten into 3.
The dispatching priority of other IP packets in an mpls network is identical with the dispatching priority of IP network, in MPLS net out When network, PCP value will not be modified.
Figure 12 is a kind of structural schematic diagram of provider edge equipment provided in an embodiment of the present invention, described referring to Figure 12 Provider edge equipment 1200 includes: the first mapping block 1201, the second mapping block 1202, package module 1203 and first turn Send out module 1204.
First mapping block 1201, for after receiving message, by the priority mapping in the message to PHB In.
In the present embodiment, first mapping block, comprising: the first map unit.
First map unit, for according to DS (differential service) domain, by the message DSCP or PCP it is corresponding Priority mapping is into PHB.Wherein the domain DS corresponds to the mapping relations between the priority and PHB of message.It should be noted that Mapping relations user configurable and/or system default between the priority and PHB of message.
Specifically, first map unit, comprising: the first mapping subelement.
The first mapping subelement, for will be between the DSCP or the corresponding priority of PCP and PHB in the message Mapping relations are configured to MPLS DSCP and trust in flow table or MPLS PCP trust flow table, and wherein the domain DS corresponds to the preferential of message Mapping relations between grade and PHB.
Second mapping block 1202, for will be mapped to preferential in PHB according to the priority being mapped in PHB Grade is mapped in label.
Optionally, second mapping block, comprising: the second map unit.
Second map unit, for according to the domain DS, the priority mapping that will be mapped in PHB to be used for into label In the experimental field for storing priority.
Specifically, second map unit, comprising: the second mapping subelement.
The second mapping subelement is used to store priority for will be mapped in priority and label in PHB Experimental field between mapping relations, be configured in the tunnel MPLS heavy label action schedule.
The package module 1203 to form multiprotocol label switching MPLS report for encapsulating the label and the message Text.
First forwarding module 1204, for the MPLS message to be transmitted to downlink provider edge equipment.
In business uplink, by first mapping block 1201 by the priority mapping of the message to single hop In behavior PHB, then by second mapping block 1202 according to the priority being mapped in PHB, it will be mapped to excellent in PHB First grade is mapped in label, and MPLS message is transmitted to downlink provider edge equipment by first forwarding module 1204, The More General Form of QoS, the configuration requirement of three kinds of pipeline models of pipe modes and short duct mode can be met in this way, user can root According to the demand of oneself, different mode is configured.
Figure 13 is the structural schematic diagram of another provider edge equipment provided in an embodiment of the present invention, referring to Figure 13, institute Stating provider edge equipment 1300 includes: third mapping block 1301, decapsulation module 1302.
The third mapping block 1301, in the MPLS message for receiving the input of uplink provider edge equipment entrance Afterwards, by the priority mapping of the MPLS message into PHB.
It should be noted that the priority of the MPLS message can for the MPLS message label in priority or Differentiated services code points DSCP or the corresponding priority of priority code point PCP in the MPLS message.
In embodiments of the present invention, the third mapping block, comprising: third map unit.
The third map unit, for will be used to store priority in the label of the MPLS message according to the domain DS The corresponding priority mapping of (EXP) field is tested into PHB.
Specifically, the third map unit, comprising: third maps subelement.
The third maps subelement, for by the MPLS message to be used to store priority experimental field corresponding Mapping relations between priority and PHB are configured to MPLS EXP and trust in flow table, and wherein the domain DS corresponds to the priority of message Mapping relations between PHB.
The decapsulation module 1302, for the MPLS message to be converted to uplink operator side by decapsulation The message that edge equipment entrance receives.
It in the present embodiment, will be in the label of the MPLS message by third mapping block 1301 in business downlink Priority mapping into PHB, the uplink Provider Edge is set according to the priority being mapped in single hop behavior PHB The message that standby entrance receives is scheduled, and can meet the configuration requirement of the pipe modes of QoS.Figure 14 mentions for the embodiment of the present invention The structural schematic diagram of another provider edge equipment supplied, referring to Figure 14, the provider edge equipment 1400 includes: third Mapping block 1301, the 4th mapping block 1401, decapsulation module 1302.
The third mapping block 1301, in the MPLS message for receiving the input of uplink provider edge equipment entrance Afterwards, by the priority mapping of the MPLS message into PHB.
Optionally, the third mapping block, comprising: third map unit.
The third map unit, for will be used to store priority experiment in the label of MPLS message according to the domain DS The corresponding priority mapping of EXP field is into PHB.
Specifically, the third map unit, comprising: third maps subelement.
The third maps subelement, for will be used to store priority experimental field in the label of the MPLS message Mapping relations between corresponding priority and PHB are configured to MPLS EXP and trust in flow table, and wherein the domain DS corresponds to message Mapping relations between priority and PHB.
4th mapping block 1401, for will be mapped in the PHB according to the priority being mapped in the PHB Priority mapping is into the differentiated services code points DSCP or priority code point PCP of the MPLS message.
In business downlink, can according to the domain DS, will be mapped to priority mapping in PHB to the DSCP of MPLS message or In PCP.
Optionally, the 4th mapping block, comprising: the 4th map unit.
4th map unit, between the DSCP or PCP of priority and message for will be mapped in the PHB Mapping relations are configured in outlet DSCP heavy label flow table or outlet PCP heavy label flow table.
Decapsulation module 1302 is set for the MPLS message to be converted to the uplink Provider Edge by decapsulation The message that standby entrance receives.
In the present embodiment, in business downlink, by third mapping block by the priority mapping of the MPLS message Into the PHB, then by the 4th mapping block 1401 will be mapped to the priority mapping in PHB to message DSCP or PCP In, according to the priority in the DSCP or PCP that are mapped to message, the report that the uplink provider edge equipment entrance is received Text is forwarded, and can meet the configuration requirement of the More General Form of QoS.
Figure 15 is the structural schematic diagram of another provider edge equipment provided in an embodiment of the present invention, referring to Figure 15, institute Stating provider edge equipment 1500 includes: the 5th map unit 1501, decapsulation module 1302.
5th map unit 1501, for after receiving MPLS message, by the MPLS message DSCP or The corresponding priority mapping of PCP is into single hop behavior PHB.
Optionally, the 5th map unit 1501, comprising: the 5th mapping subelement.
The 5th mapping subelement, for according to the domain DS, by the MPLS message DSCP or PCP it is corresponding preferential Mapping relations between grade and PHB are configured to MPLS DSCP and trust in flow table or MPLS PCP trust flow table.
It should be noted that mapping relations user configurable or system between the priority and PHB of the message in the domain DS Default.
The decapsulation module 1302, for the MPLS message to be converted to uplink operator side by decapsulation The message that edge equipment entrance receives.
In the present embodiment, in business downlink, by the 5th map unit 1501 by the DSCP in the MPLS message Or the corresponding priority mapping of PCP is scheduled the message according to the priority being mapped in PHB, in this way may be used into PHB Meet the configuration requirement of the short duct mode of QoS.
Figure 16 be another embodiment of the present invention provides a kind of provider edge equipment structural schematic diagram.Such as Figure 16 institute Show, provider edge equipment 1600 shown in Figure 16 includes: at least one processor 1601, memory 1602, at least one net Network interface 1604 and user interface 1603.Various components in provider edge equipment 1600 are coupled in by bus system 1605 Together.It is understood that bus system 1605 is for realizing the connection communication between these components.It includes data that bus system 1605, which is removed, It further include power bus, control bus and status signal bus in addition except bus.But for the sake of clear explanation, in Figure 16 Various buses are all designated as bus system 1605.
Wherein, user interface 1603 may include display, keyboard or pointing device (for example, mouse, trace ball (track ball), touch-sensitive plate or touch screen etc..It is appreciated that the memory 1602 in the embodiment of the present invention can be it is volatile Property memory or nonvolatile memory, or may include both volatile and non-volatile memories.Wherein, non-volatile memories Device can be read-only memory (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), Erasable Programmable Read Only Memory EPROM (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), it is used as External Cache.By exemplary but be not restricted explanation, many forms RAM is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), Double Data Rate synchronous dynamic Random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links dynamic random access memory (Synchlink DRAM, SLDRAM) and straight Meet rambus random access memory (Direct Rambus RAM, DRRAM).The system of description of the embodiment of the present invention and side The memory 1602 of method is intended to include but is not limited to the memory of these and any other suitable type.
In some embodiments, memory 1602 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 16021.
Wherein, operating system 16021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.In embodiments of the present invention, by calling memory 1602 to deposit The program or instruction of storage, specifically, the method that processor 1601 can execute above-mentioned processing message.
The method that the embodiments of the present invention disclose can be applied in processor 1601, or real by processor 1601 It is existing.Processor 1601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1601 or software form.Above-mentioned Processor 1601 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 1602, processor 1601 reads the information in memory 1602, completes the above method in conjunction with its hardware.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place It manages in device, controller, microcontroller, microprocessor, other electronic units for executing function of the present invention or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can With portion realizes in the processor or outside the processor.
In the present embodiment, processor 1601 is specifically used for: after receiving message, by the priority mapping in the message Into single hop behavior PHB;According to the priority being mapped in the PHB, the priority mapping in the PHB will be mapped to Into label;The label and the message are encapsulated to form multiprotocol label switching MPLS message;The MPLS message is turned Issue downlink provider edge equipment.
Optionally, processor 1601 is specifically used for: according to the domain differential service DS, by the differential service code in the message Point DSCP or the corresponding priority mapping of priority code point PCP are into PHB.
Optionally, processor 1601 is specifically used for: by the message DSCP or the corresponding priority of PCP and PHB it Between mapping relations, be configured to MPLS DSCP and trust flow table or MPLS PCP and trust in flow table, wherein the domain DS corresponds to message Mapping relations between priority and PHB.
Optionally, processor 1601 is specifically used for: according to the domain DS, will be mapped to the priority mapping in PHB into label For storing in the experimental field of priority.
Optionally, processor 1601 is specifically used for: will be mapped to preferential for storing in priority and label in PHB Mapping relations between the experimental field of grade, are configured in the tunnel MPLS heavy label action schedule.
Optionally, processor 1601 is specifically used for: in the MPLS report for receiving the input of uplink provider edge equipment entrance Wen Hou, by the priority mapping of the MPLS message into single hop behavior PHB;The MPLS message is turned by decapsulation It is changed to the message that the uplink provider edge equipment entrance receives.
Optionally, processor 1601 is specifically used for: according to the domain DS, by the label of the MPLS message be used to store it is excellent The corresponding priority mapping of first grade experimental field is into PHB.
Optionally, processor 1601 is specifically used for: by MPLS message to be used to store priority experimental field corresponding Mapping relations between priority and PHB are configured to MPLS EXP and trust in flow table, and wherein the domain DS corresponds to the priority of message Mapping relations between PHB.
Optionally, processor 1601 is specifically used for: according to the priority being mapped in PHB, will be mapped to preferential in PHB Grade is mapped in the DSCP or PCP of the message.
Optionally, processor 1601 is specifically used for: will be mapped between the priority in PHB and the DSCP or PCP of message Mapping relations, be configured to outlet DSCP heavy label flow table or outlet PCP heavy label flow table in.
Optionally, processor 1601 is specifically used for: after receiving MPLS message, by the MPLS message DSCP or The corresponding priority mapping of PCP is into PHB.
Optionally, processor 1601 is specifically used for: according to the domain DS, by the MPLS message DSCP or PCP it is corresponding Mapping relations between priority and PHB are configured to MPLS DSCP and trust in flow table or MPLS PCP trust flow table.
Provider edge equipment provided in an embodiment of the present invention passes through processor 1601 for the priority mapping of the message Into PHB, further according to the priority being mapped in PHB, it will be mapped to the priority mapping in PHB into label, MPLS reported Text is transmitted to downlink provider edge equipment, can meet More General Form, pipe modes and three kinds of the short duct mode pipes of QoS in this way The configuration requirement of road model, user can configure different mode according to their own needs.
Provider edge equipment provided in an embodiment of the present invention passes through processor 1601 for the priority of the MPLS message It is mapped in PHB, then will be mapped to the priority mapping in PHB into the DSCP or PCP of message, according to being mapped to message Priority in DSCP or PCP is forwarded the message, can meet the configuration requirement of the More General Form of QoS.
Provider edge equipment provided in an embodiment of the present invention passes through processor 1601 for the priority of the MPLS message It is mapped in PHB, the message is scheduled according to the priority being mapped in PHB, matching for the pipe modes of QoS can be met Set requirement.
Provider edge equipment provided in an embodiment of the present invention passes through processor 1601 for the DSCP or PCP in the message Corresponding priority mapping, by being scheduled according to the priority being mapped in PHB to the message, in this way may be used into PHB Meet the configuration requirement of the short duct mode of QoS.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey The step in the method for processing message as described above is realized when sequence is executed by processor.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot Structure or characteristic can combine in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be appreciated that magnitude of the sequence numbers of the above procedures are not meant to execute suitable Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Process constitutes any restriction.
In embodiment provided herein, it should be appreciated that " B corresponding with A " indicates that B is associated with A, can be with according to A Determine B.It is also to be understood that determine that B is not meant to determine B only according to A according to A, it can also be according to A and/or other information Determine B.
In several embodiments provided herein, it should be understood that disclosed method and apparatus, it can be by other Mode realize.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only For a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine Or it is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed phase Coupling, direct-coupling or communication connection between mutually can be through some interfaces, the INDIRECT COUPLING or communication of device or unit Connection can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that the independent physics of each unit includes, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network side equipment etc.) executes transmitting-receiving side described in each embodiment of the present invention The part steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, letter Claim ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (26)

1. a kind of method for handling message, is applied to uplink provider edge equipment characterized by comprising
After receiving message, by the priority mapping in the message into single hop behavior PHB;
According to the priority being mapped in the PHB, the priority mapping in the PHB will be mapped into label;
The label and the message are encapsulated to form multiprotocol label switching MPLS message;
The MPLS message is transmitted to downlink provider edge equipment.
2. the method according to claim 1, wherein the priority mapping by the message is to single hop In behavior PHB, comprising:
According to the domain differential service DS, by the message differentiated services code points DSCP or priority code point PCP it is corresponding Priority mapping is into PHB.
3. according to the method described in claim 2, it is characterized in that, the DSCP or PCP by the message is corresponding excellent First grade is mapped in PHB, comprising:
By the mapping relations between the DSCP or the corresponding priority of PCP and PHB in the message, it is configured to MPLS DSCP letter Flow table or MPLS PCP is appointed to trust in flow table, wherein the domain DS corresponds to the mapping relations between the priority and PHB of message.
4. the method according to claim 1, wherein the priority mapping that will be mapped in PHB is to label In, comprising:
According to the domain DS, the priority mapping in PHB will be mapped in the experimental field for storing priority into label.
5. according to the method described in claim 4, it is characterized in that, the priority mapping that will be mapped in PHB is to label In for storing in the experimental field of priority, comprising:
It will be mapped to the mapping relations between the experimental field for storing priority in priority and label in PHB, match It sets in the tunnel MPLS heavy label action schedule.
6. a kind of method for handling message, is applied to downlink provider edge equipment characterized by comprising
After the MPLS message for receiving the input of uplink provider edge equipment entrance, by the priority mapping of the MPLS message Into single hop behavior PHB;
The MPLS message is converted into the message that the uplink provider edge equipment entrance receives by decapsulation.
7. according to the method described in claim 6, it is characterized in that, the priority mapping by the MPLS message is to PHB In, comprising:
According to the domain DS, the corresponding priority mapping of priority experimental field that is used to store in the label of the MPLS message is arrived In PHB.
8. the method according to the description of claim 7 is characterized in that described will be used to store in the label of the MPLS message The corresponding priority mapping of priority experimental field is into PHB, comprising:
By the mapping relations for being used to store between the corresponding priority of priority experimental field and PHB in MPLS message, configuration Trust in flow table to MPLS EXP, wherein the domain DS corresponds to the mapping relations between the priority and PHB of message.
9. according to the method described in claim 6, it is characterized by further comprising:
According to the priority being mapped in PHB, the priority mapping in PHB will be mapped into the DSCP or PCP of the message.
10. according to the method described in claim 9, it is characterized in that, the priority mapping that will be mapped in PHB is to message DSCP or PCP in, comprising:
It will be mapped to the mapping relations between the priority in PHB and the DSCP or PCP of message, be configured to outlet DSCP heavy label In flow table or outlet PCP heavy label flow table.
11. according to the method described in claim 6, it is characterized in that, the priority mapping of the MPLS message is relayed to single In Duan Hangwei PHB, comprising:
By in the MPLS message DSCP or the corresponding priority mapping of PCP into PHB.
12. according to the method for claim 11, which is characterized in that the DSCP by the MPLS message or PCP pairs The priority mapping answered is into PHB, comprising:
According to the domain DS, by the mapping relations between the DSCP or the corresponding priority of PCP and PHB in the MPLS message, configuration Flow table is trusted to MPLS DSCP or MPLS PCP trusts in flow table.
13. a kind of provider edge equipment characterized by comprising
First mapping block, for after receiving message, by the priority mapping in the message to single hop behavior PHB In;
Second mapping block, for according to the priority being mapped in the PHB, the priority that will be mapped in the PHB to be reflected It is mapped in label;
Package module, for encapsulating the label and the message to form multiprotocol label switching MPLS message;
First forwarding module, for the MPLS message to be transmitted to downlink provider edge equipment.
14. provider edge equipment according to claim 13, which is characterized in that first mapping block, comprising:
First map unit is used for according to the domain differential service DS, by the DSCP or the corresponding priority mapping of PCP in the message Into PHB.
15. provider edge equipment according to claim 14, which is characterized in that first map unit, comprising:
First mapping subelement, for closing the mapping between the DSCP or the corresponding priority of PCP and PHB in the message System is configured to MPLS DSCP and trusts flow table or MPLS PCP and trusts in flow table, wherein the domain DS correspond to the priority of message with Mapping relations between PHB.
16. provider edge equipment according to claim 13, which is characterized in that second mapping block, comprising:
Second map unit, for according to the domain DS, the priority mapping that will be mapped in PHB to be preferential for storing into label In the experimental field of grade.
17. provider edge equipment according to claim 16, which is characterized in that second map unit, comprising:
Second mapping subelement, for will be mapped to the experiment word for being used to store priority in priority and label in PHB Mapping relations between section, are configured in the tunnel MPLS heavy label action schedule.
18. a kind of provider edge equipment characterized by comprising
Third mapping block will be described for after the MPLS message for receiving the input of uplink provider edge equipment entrance The priority mapping of MPLS message is into single hop behavior PHB;
Decapsulation module connects for the MPLS message to be converted to the uplink provider edge equipment entrance by decapsulation The message received.
19. provider edge equipment according to claim 18, which is characterized in that the third mapping block, comprising:
Third map unit, for will be used to store priority experimental field in the label of the MPLS message according to the domain DS Corresponding priority mapping is into PHB.
20. provider edge equipment according to claim 19, which is characterized in that the third map unit, comprising:
Third maps subelement, for by the label of the MPLS message to be used to store priority experimental field corresponding excellent Mapping relations between first grade and PHB, be configured to MPLS EXP trust flow table in, wherein the domain DS correspond to message priority with Mapping relations between PHB.
21. provider edge equipment according to claim 18, which is characterized in that further include:
4th mapping block, for according to the priority being mapped in the PHB, the priority that will be mapped in the PHB to be reflected It is mapped in the DSCP or PCP of the message.
22. provider edge equipment according to claim 21, which is characterized in that the 4th mapping block, comprising:
4th map unit, the mapping relations between DSCP or PCP for will be mapped to the priority in PHB and message, matches It sets in outlet DSCP heavy label flow table or outlet PCP heavy label flow table.
23. provider edge equipment according to claim 18, which is characterized in that the third mapping block includes:
5th map unit, for after receiving MPLS message, by the MPLS message DSCP or PCP it is corresponding preferential Grade is mapped in single hop behavior PHB.
24. provider edge equipment according to claim 23, which is characterized in that the 5th map unit, comprising:
5th mapping subelement, is used for according to the domain DS, by the DSCP or the corresponding priority of PCP and PHB in the MPLS message Between mapping relations, be configured to MPLS DSCP and trust flow table or MPLS PCP and trust in flow table.
25. a kind of provider edge equipment characterized by comprising memory, processor and storage are on a memory and can be The computer program run on processor, the processor are realized as described in any one of Claims 1 to 5 when executing described program Processing message method in step or claim 6~12 it is described in any item processing messages methods in step.
26. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step or claim 6~12 times in the method for processing message as claimed in any one of claims 1 to 5 are realized when execution The step in the method for message is handled described in one.
CN201710514916.2A 2017-06-29 2017-06-29 A kind of method and provider edge equipment handling message Withdrawn CN109218194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710514916.2A CN109218194A (en) 2017-06-29 2017-06-29 A kind of method and provider edge equipment handling message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710514916.2A CN109218194A (en) 2017-06-29 2017-06-29 A kind of method and provider edge equipment handling message

Publications (1)

Publication Number Publication Date
CN109218194A true CN109218194A (en) 2019-01-15

Family

ID=64976443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710514916.2A Withdrawn CN109218194A (en) 2017-06-29 2017-06-29 A kind of method and provider edge equipment handling message

Country Status (1)

Country Link
CN (1) CN109218194A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030185217A1 (en) * 2002-03-28 2003-10-02 Sudhakar Ganti Label distribution protocol supporting multiple classes of service in a multi protocol label switching (MPLS) network, methods and MPLS network using thereof
CN101075968A (en) * 2007-07-23 2007-11-21 中兴通讯股份有限公司 Method and apparatus for providing region-classifying service
CN101212412A (en) * 2006-12-30 2008-07-02 中兴通讯股份有限公司 MPLS network service scheduling system
CN101510846A (en) * 2009-03-30 2009-08-19 北京邮电大学 System and method for implementing self-governing QoS based on service network differentiation and IPv6 spreading head
CN104661259A (en) * 2013-11-20 2015-05-27 华为技术有限公司 Transmission treatment method, device and system in wireless backhaul link
CN105812256A (en) * 2016-04-18 2016-07-27 华为技术有限公司 Business processing method and device based on label forwarding

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030185217A1 (en) * 2002-03-28 2003-10-02 Sudhakar Ganti Label distribution protocol supporting multiple classes of service in a multi protocol label switching (MPLS) network, methods and MPLS network using thereof
CN101212412A (en) * 2006-12-30 2008-07-02 中兴通讯股份有限公司 MPLS network service scheduling system
CN101075968A (en) * 2007-07-23 2007-11-21 中兴通讯股份有限公司 Method and apparatus for providing region-classifying service
CN101510846A (en) * 2009-03-30 2009-08-19 北京邮电大学 System and method for implementing self-governing QoS based on service network differentiation and IPv6 spreading head
CN104661259A (en) * 2013-11-20 2015-05-27 华为技术有限公司 Transmission treatment method, device and system in wireless backhaul link
CN105812256A (en) * 2016-04-18 2016-07-27 华为技术有限公司 Business processing method and device based on label forwarding

Similar Documents

Publication Publication Date Title
CN103391296B (en) A kind of controller, transponder and Path Setup method and system
CN103607349B (en) Method for determining route in virtual network and provider edge equipment
CN104704778B (en) Method and system for virtual and physical network integration
CN103634217B (en) Method for issuing route information, method and device for transmitting massage
CN107018059B (en) A kind of message forwarding method and device
CN109861924A (en) The transmission of message, processing method and processing device, PE node, node
CN107786613A (en) Broadband Remote Access Server BRAS forwards implementation method and device
CN106101023A (en) A kind of VPLS message processing method and equipment
CN105227543B (en) The Ethernet UDP/IP processors based on FPGA that parameter can configure
CN107070789A (en) The flow black hole of active active PBB EVPN redundancies is avoided and rapid fusion
CN106506315B (en) A kind of transparent configuration method of message forwarding
CN106330779A (en) Server, physical switch, and communication system
WO2017181637A1 (en) Openflow protocol-based sdn l2vpn implementation method and system
CN109691026A (en) Method and apparatus for updating multiple multiprotocol label switching (MPLS) two-way converting detection (BFD) sessions
CN109412922A (en) A kind of method of transmitting message, forwarding device, controller and system
WO2011038646A1 (en) Two-layer forwarding method for a pseudo wire (pw) service and system thereof
WO2015027738A1 (en) Metadata transmission and receiving method, and ofls
EP2897328A1 (en) Method, system and apparatus for establishing communication link
CN107959611A (en) A kind of method to E-Packet, apparatus and system
CN101729422B (en) Method and device for realizing QoS (Quality of Service) by utilizing BGP (Border Gateway Protocol)
US20130136031A1 (en) Field aware virtual connection discovery
CN104601431B (en) The cut-in method and the network equipment of a kind of vpn service
CN111866916B (en) Service configuration method, equipment and server
CN108632126A (en) A kind of message forwarding channel method for building up, device and message forwarding method and device
CN109218194A (en) A kind of method and provider edge equipment handling message

Legal Events

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

Application publication date: 20190115