Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The collocation method of the differential service pattern that MPLS that the embodiment of the invention provides supports, related networking abstract model can be as shown in Figure 1:
Between Ingress LER101/103 and the Egress LER105/107 VLSP (Virtual Label Switched Path, virtual label switching path); Wherein, if VLSP is the LSP of a clean culture (point-to-point) transmission, then Ingress LER101/103 is an equipment, and Egress LER105/107 also is an equipment; If VLSP is the LSP of P2MP (point-to-multipoint) transmission, then Ingress LER101/103 is an equipment, and EgressLER105/107 then is multiple devices; If VLSP is the LSP of MP2MP (multi-multipoint) transmission, then Ingress LER101/103 and Egress LER105/107 are multiple devices.Virtual tag path of this VLSP wherein, it can be LDP (LabelDistribution Protocol, tag distribution protocol) LSP, also can be TE LSP, also can be a virtual connection between the VC label (Virtual Circuit label, virtual link label) that distributes of VPN; Therefore described VLSP is not limited to and is present in the MPLS network, can also be present in IP network.
Ingress LER101/103 is peer-to-peer with Egress LER105/107 communicating by letter of MPLS layer, show as message and enter the MPLS layer from other communication layers, and get back to the corresponding communication layers of these other communication layers of holding from the MPLS layer with Ingress LER at Egress LER end message at Ingress LER end.These other communication layers can for but be not limited to IP layer, two layers, when other communication layers were the IP layer, message can be gone into out the MPLS layer from the IP layer.
The FB(flow block) of the collocation method of the differential service pattern that the MPLS that Fig. 2 provides for one embodiment of the invention supports.As shown in Figure 2, this method comprises:
201, transmitting terminal is configured the configuration of differential service pattern to local terminal according to the application scenarios of VLSP, and generation differential service pattern information, the described differential service pattern that comprises described transmitting terminal configuration in the described differential service pattern information, described transmitting terminal is an end of end to end communication, its can for but be not limited to router, can also be switch etc.
For instance, when the end to described end to end communication carries out the configuration of differential service pattern, both can on the physical port of this end, dispose the differential service pattern of this end, also can this end the logic entity with this configuration feature on the configuration this end the differential service pattern; In the specific implementation, can specifically select according to user's demand, the embodiment of the invention does not limit this.And, carry out in the process of differential service pattern configurations at a end described end to end communication, or not do not limit earlier which end being configured, no matter which end of communication is disposed earlier, all belong to the scope of embodiment of the invention protection.
202, described transmitting terminal sends to receiving terminal with the differential service pattern information of described generation, the opposite end of described receiving terminal for communicating with described transmitting terminal, i.e. the other end of end-to-end communication, its can for but be not limited to router, can also be for switch etc.
For instance, in embodiments of the present invention, described differential service pattern information is being sent in the process of receiving terminal, can but the mode that is not limited to by extension of message sends to described receiving terminal by described transmitting terminal with described differential service pattern information; Can also adopt other mode that described differential service pattern information is sent to described receiving terminal, by described transmitting terminal described differential service pattern information be sent to described receiving terminal such as mode by newly-built message.
Wherein, when described differential service pattern information being sent to described receiving terminal by the described transmitting terminal of the mode of extension of message, can adopt but be not limited to by expansion LDP (LabelDistribution Protocol, tag distribution protocol) or the TLV of TE (Type Length Value, type lengths values) described differential service pattern information is sent to described receiving terminal, make described differential service pattern information send to the opposite end of communicating by letter with this transmitting terminal with the issue of label; Can also adopt the mode of other extension of message, such as to BGP (Border GatewayProtocol, Border Gateway Protocol) mode that community string is expanded sends to described receiving terminal with described differential service pattern information, and the embodiment of the invention does not limit this; Wherein, the concrete signaling delivery method embodiment of the invention in the message extended mode is not specifically limited this, for example whether this signaling delivery method can adopt but be not limited to and consult, adopt the sequence number mode to send or other mode transmissions etc.; And concrete which kind of message etc. of expanding in the process of extension of message, the embodiment of the invention does not limit this, as long as just the both sides that communicate can support the expansion of this kind message can not do any qualification, only needs the two ends signaling to agree to get final product.
The embodiment of the invention also provides a kind of collocation method of differential service pattern of MPLS support, and as shown in Figure 3, this method is the method for receiving terminal, specifically comprises the steps:
301, the differential service pattern information of receiving terminal receiving end/sending end transmission comprises the differential service pattern that described transmitting terminal disposes in the described differential service pattern information.
302, described receiving terminal is according to the differential service pattern of the differential service pattern configurations local terminal of described transmitting terminal configuration, so that the differential service pattern unanimity of the feasible two ends configuration that communicates.
In embodiments of the present invention, when being Ingress LSR as if described transmitting terminal, then described receiving terminal is Egress LSR; If when described transmitting terminal was Egress LSR, then described receiving terminal was Ingress LSR, the embodiment of the invention does not limit this.
Compared with prior art, the collocation method of the differential service pattern that the MPLS that the embodiment of the invention provides supports, the differential service pattern of this end of configuration on an end of end to end communication, and generation differential service pattern information, then described differential service pattern information is sent to the opposite end of carrying out end to end communication with described transmitting terminal, it is receiving terminal, described receiving terminal is after receiving described differential service pattern information, differential service pattern according to differential service pattern information configuration self, the unanimity of differential service pattern of the terminal device of mutual communication can be realized, intercommunication end to end can be guaranteed; And the technical scheme of the embodiment of the invention need not the configuration respectively by terminal device, has stronger deployable.
And, in the embodiment of the invention, by a end its differential service pattern is set in intercommunication mutually, and the differential service pattern information that generates sent to the opposite end that communicates with, make opposite equip. only need passive reception, and according to the differential service pattern that comprises in the configuration information that receives himself is configured and gets final product, the two ends that can reduce intercommunication mutually all are configured the complexity of difference modes, and, be convenient to the same management of system to a certain extent because the embodiment of the invention can realize the unanimity of differential service pattern of the terminal device of mutual communication.
Further, when an end differential service pattern information being sent to the opposite end of intercommunication mutually, can send by the mode of extension of message, to a certain extent can conserve system resources.
The collocation method of the differential service pattern that the MPLS that another embodiment of the present invention provides supports, embodiment of the invention Egress LSR end is transmitting terminal, Ingress LSR is that receiving terminal is an example, specifically sets forth the collocation method of differential service pattern; As shown in Figure 4, this method comprises the steps, comprising:
401, at Egress LSR end, dispose the differential service pattern of Egress LSR end according to the application scenarios of VLSP, and generate the differential service pattern information, comprise the described differential service pattern of described Egress LSR end configuration in the described differential service pattern information.
Wherein, when the differential service pattern that the application scenarios configuration Egress LSR according to VLSP holds; can be based on FEC (Forwarding Equivalence Class; forwarding equivalence class) or the differential service pattern of complete machine configuration Egress LSR end; the embodiment of the invention does not limit this; differential service pattern based on any way configuration Egress LSR end all belongs to the scope of protection of the invention.
402, after generating the differential service pattern information, described Egress LSR sends described differential service pattern information to IngressLSR.
Wherein, at described Egress LSR when Ingress LSR sends described differential service pattern information, can by at described Egress LSR when described Ingress LSR sends Mapping message (mapping message), the mode by extension of message is carried at described differential service pattern information in the described Mapping message and sends to described receiving terminal; Can also adopt other mode that described differential service pattern information is sent to described receiving terminal, for example the mode by newly-built message sends to described receiving terminal by described transmitting terminal with described differential service pattern information; In the specific implementation, the embodiment of the invention does not limit this, any described differential service pattern information is sent to the method for described Ingress LSR, all belongs to the scope of embodiment of the invention protection.
Wherein, when the mode by extension of message in the embodiment of the invention sends to described receiving terminal by described transmitting terminal with described differential service pattern information, specifically can but the TLV that is not limited to by expansion LDP or TE sends to described receiving terminal with described differential service pattern information, make described differential service pattern information send to the opposite end of communicating by letter with this transmitting terminal with the issue of label; The mode that can also adopt other message to expand sends to described receiving terminal such as the mode that the community string of BGP is expanded with described differential service pattern information; Described TLV is a kind of variable format, and the meaning of TLV is exactly: Type type, Length length, Value value; The length of Type and Length is fixed, and generally is 2,4 bytes; The length of Value has Length to specify.For example, the expansion LDP the TLV form as shown in Figure 5, it comprises three fields, is respectively TTL type, length and numerical value; Described TTL type field is represented the differential service pattern of transmitting terminal configuration, for example when the value of this field is 01, the differential service pattern that shows the transmitting terminal configuration is Uniform, when the value of this field is 02, the differential service pattern that shows the transmitting terminal configuration is pipe, the value of this field is 01 o'clock, shows that the differential service pattern of transmitting terminal configuration is short pipe; Described length field is represented the length of numeric field; Described numeric field is used to store concrete data.
403, described Ingress LSR receives the described differential service pattern information that described Egress LSR sends, and holds the differential service pattern of the differential service pattern configurations local terminal of configuration according to Egress LSR in the described differential service pattern information.
When described Egress LSR by extension of message mode or create the mode of new message, when described differential service pattern information is sent to described Ingress LSR, after described IngressLSR receives the message that comprises described differential service pattern information, described message is resolved the differential service pattern of obtaining described Egress LSR configuration, and according to the differential service pattern of described differential service pattern configurations self.
Compared with prior art, the collocation method of the differential service pattern that the MPLS that the embodiment of the invention provides supports, dispose the differential service pattern of described Egress LSR end and generate the differential service pattern information at Egress LSR end, described differential service pattern information is sent to Ingress LSR, by the differential service pattern of described Ingress LSR according to described differential service pattern information configuration self, the unanimity of differential service pattern of the terminal device of mutual communication can be realized, intercommunication end to end can be guaranteed; And the technical scheme of the embodiment of the invention need not the configuration respectively by terminal device, has stronger deployable.
And, in the embodiment of the invention, by a end its differential service pattern is set in intercommunication mutually, and the differential service pattern information that generates sent to the opposite end that communicates with, make opposite equip. only need passive reception, and according to the differential service pattern that comprises in the configuration information that receives himself is configured and gets final product, the two ends that can reduce intercommunication mutually all are configured the complexity of difference modes, and, be convenient to the same management of system to a certain extent because the embodiment of the invention can realize the unanimity of differential service pattern of the terminal device of mutual communication.
Further, when the differential service pattern with end configuration sends to the opposite end of intercommunication mutually, can send by the mode of extension of message, to a certain extent conserve system resources.
The collocation method of the differential service pattern that the MPLS that another embodiment of the present invention provides supports, the embodiment of the invention is a transmitting terminal with Ingress LSR end, Egress LSR is that receiving terminal is an example, concrete collocation method of setting forth the differential service pattern, as shown in Figure 6, this method comprises the steps, comprising:
501, at Ingress LSR end, dispose the differential service pattern of Egress LSR end according to the application scenarios of VLSP, and generate the differential service pattern information, comprise the described differential service pattern of described Egress LSR end configuration in the described differential service pattern information.
Wherein, when the differential service pattern that the application scenarios configuration Egress LSR according to VLSP holds; can be based on tunnel (tunnel) or complete machine configuration Ingress LSR end differential service pattern; the embodiment of the invention does not limit this; differential service pattern based on any way configuration IngressLSR end all belongs to the scope of protection of the invention.
502, after generating the differential service pattern information, described Ingress LSR sends described differential service pattern information to EgressLSR.
Wherein, when Egress LSR sends described differential service pattern information, can by described transmitting terminal described differential service pattern information be sent to described receiving terminal at described Ingress LSR by the mode of extension of message; Can also adopt other mode that described differential service pattern information is sent to described receiving terminal, for example the mode by newly-built message sends to described receiving terminal by described transmitting terminal with described differential service pattern information; In the specific implementation, the embodiment of the invention does not limit this, any described differential service pattern information is sent to the method for described EgressLSR, all belongs to the scope of embodiment of the invention protection.
Wherein, when the mode by extension of message in the embodiment of the invention sends to described receiving terminal by described transmitting terminal with described differential service pattern information, specifically can but the TLV that is not limited to by expansion LDP or TE sends to described receiving terminal with described differential service pattern information, make described differential service pattern information send to the opposite end of communicating by letter with this transmitting terminal with the issue of label; Can also adopt the mode of other extension of message, described differential service pattern information be sent to described receiving terminal such as the mode that the community string of BGP is expanded; Can at described Ingress LSR when its network issues ILM, carry the configuration information of described differential service pattern; Can also at described Ingress LSR when its place network issues NHLFE, carry described differential service pattern information.
503, described Egress LSR receives the described differential service pattern information that described Ingress LSR sends, and according to the differential service pattern of the differential service pattern configurations local terminal of the described Ingress LSR configuration in the described differential service pattern information.
When described Ingress LSR by the mode of extension of message or newly create the mode of message, when described differential service pattern information is sent to described Egress LSR, after described EgressLSR receives the message that comprises described differential service pattern information, described message is resolved the differential service pattern of obtaining described Ingress LSR configuration, and according to the differential service pattern of described differential service pattern configurations self.
Compared with prior art, the collocation method of the differential service pattern that the MPLS that the embodiment of the invention provides supports, differential service pattern differential service pattern information at the described Ingress LSR end of Ingress LSR end configuration, this described differential service pattern information configuration mode is sent to Egress LSR, Egress LSR is according to the differential service pattern of the configuration information configuration self of this differential service pattern, the unanimity of differential service pattern of the terminal device of mutual communication can be realized, intercommunication end to end can be guaranteed; And the technical scheme of the embodiment of the invention need not the configuration respectively by terminal device, has stronger deployable.
And, in the embodiment of the invention, by a end its differential service pattern is set in intercommunication mutually, and the differential service pattern information that generates sent to the opposite end that communicates with, make opposite equip. only need passive reception, and according to the differential service pattern that comprises in the configuration information that receives himself is configured and gets final product, the two ends of reducing intercommunication mutually all are configured the complexity of difference modes, and, be convenient to the same management of system to a certain extent because the embodiment of the invention can realize the unanimity of differential service pattern of the terminal device of mutual communication.
Further, when an end differential service pattern information being sent to the opposite end of intercommunication mutually, can send by the mode of extension of message, to a certain extent conserve system resources.
The embodiment of the invention provides a kind of configuration device of differential service pattern of MPLS support, this configuration device is an end equipment of end to end communication, this equipment is as transmitting terminal in the layoutprocedure of differential service pattern, can for but be not limited to router, can also be switch etc., in the MPLS network, this configuration device can be LSR (LSR), as shown in Figure 7, comprising: dispensing unit 61, generation unit 62 and transmitting element 63.
Dispensing unit 61 is used for according to the application scenarios of virtual label switching path local terminal being disposed the differential service pattern; For instance, described dispensing unit 61 is when disposing difference modes to described transmitting terminal, both can on the physical port of this end, dispose the differential service pattern of this end, also can have the differential service pattern of this end of configuration on the logic entity of this configuration feature at this end; In the specific implementation, can specifically select according to user's demand, the embodiment of the invention does not limit this.And, carry out in the process of differential service pattern configurations at a end described end to end communication, or not do not limit earlier which end being configured, no matter which end of communication is disposed earlier, all belong to the scope of embodiment of the invention protection
Generation unit 62 is used for generating the differential service pattern information according to the differential service pattern of described dispensing unit 61 configurations, comprises the described differential service pattern of described transmitting terminal configuration in the described differential service pattern information.
Transmitting element 63 is used for the differential service pattern information that described generation unit 62 generates is sent to receiving terminal.For instance, in embodiments of the present invention, described differential service pattern information is sent in the process of described receiving terminal, can by described transmitting terminal described differential service pattern information be sent to described receiving terminal by the mode of extension of message at transmitting element 63; Can also by described transmitting terminal described differential service pattern information be sent to described receiving terminal by the mode of newly-built message.
When described transmitting element 63 adopts the mode of extension of message described differential service pattern information to be sent to described receiving terminal by described transmitting terminal, described transmitting element 63 can but the TLV that is not limited to by expansion LDP or TE sends to described receiving terminal with described differential service pattern information, make described differential service pattern information send to the opposite end of communicating by letter with this transmitting terminal with the issue of label; The mode that described transmitting element 63 can also adopt other message to expand sends to described receiving terminal such as the mode that the community string of BGP is expanded with described differential service pattern information.
Another embodiment of the present invention also provides a kind of configuration device of differential service pattern of MPLS support, this configuration device is the other end equipment of end to end communication, this equipment is as receiving terminal in the layoutprocedure of differential service pattern, can for but be not limited to router, can also be switch etc., in the MPLS network, this configuration device can be LSR (LSR), as shown in Figure 8, this receiving terminal comprises: receiving element 71 and dispensing unit 72.
Receiving element 71 is used for the differential service pattern information that receiving end/sending end sends, and comprises the differential service pattern of described transmitting terminal configuration in the described differential service pattern information.
Dispensing unit 72 is used for the differential service pattern of the described transmitting terminal configuration that receives according to described receiving element 71, and the differential service pattern of configuration receiving terminal is so that the transmitting terminal of described intercommunication mutually is consistent with the differential service pattern of receiving terminal configuration.
Wherein, when transmitting terminal by the mode of extension of message or newly create the mode of message, when described differential service pattern configurations message was sent to receiving terminal, as shown in Figure 9, described receiving element 71 comprised: receiver module 711 and parsing module 712.
Receiver module 711 is used to receive the message that described transmitting terminal sends, and comprises described differential service pattern information in the described message; Parsing module 712 is used to resolve the described message that described receiver module 711 receives and obtains the described differential service pattern of described transmitting terminal configuration.
The embodiment of the invention also provides a kind of network system, and as shown in figure 10, this network system comprises: transmitting terminal 81 and receiving terminal 82.
Transmitting terminal 81 is used for according to the application scenarios of virtual label switching path local terminal being disposed the differential service pattern, and generates the differential service pattern information, comprises the differential service pattern of described transmitting terminal configuration in the described differential service pattern information; Described differential service pattern information is sent to receiving terminal 82, and described transmitting terminal 81 is an end of end to end communication;
Receiving terminal 82 is used to receive the differential service pattern information that described transmitting terminal 81 sends, and described differential service pattern information comprises the differential service pattern of described transmitting terminal configuration; According to the differential service pattern of described transmitting terminal 81 configurations, dispose the differential service pattern of described receiving terminal 82, described receiving terminal 82 is the other end of described end to end communication.
In embodiments of the present invention, described transmitting terminal 81 sends to described differential service pattern information in the process of receiving terminal, can by described transmitting terminal described differential service pattern information be sent to described receiving terminal by the mode of extension of message; Described transmitting terminal 81 can also send to described receiving terminal by described transmitting terminal with described differential service pattern information by the mode of newly-built message.
Wherein, when the mode of transmitting terminal described in the embodiment of the invention 81 by extension of message sends to described receiving terminal by described transmitting terminal with described differential service pattern information, specifically can but the TLV that is not limited to by expansion LDP or TE sends to described receiving terminal with described differential service pattern information, make described differential service pattern information send to the opposite end of communicating by letter with this transmitting terminal with the issue of label; Can also adopt the mode of other extension of message, described differential service pattern information be sent to described receiving terminal such as the mode that the community string of BGP is expanded; Wherein, the concrete signaling delivery method embodiment of the invention in the message extended mode is not specifically limited this, for example whether this signaling delivery method can adopt but be not limited to and consult, adopt the sequence number mode to send or other mode transmissions etc.; And concrete which kind of message etc. of expanding in the process of extension of message, the embodiment of the invention does not limit this, as long as just the both sides that communicate can support the expansion of this kind message can not do any qualification, only needs the two ends signaling to agree to get final product.
Compared with prior art, the collocation method of the differential service pattern that the MPLS that the embodiment of the invention provides supports, the differential service pattern of this end of configuration on an end of end to end communication, and generation differential service pattern information, then described differential service pattern information is sent to the opposite end of carrying out end to end communication with described transmitting terminal, it is receiving terminal, described receiving terminal is after receiving described differential service pattern information, differential service pattern according to differential service pattern information configuration self, the unanimity of differential service pattern of the terminal device of mutual communication can be realized, intercommunication end to end can be guaranteed; And the technical scheme of the embodiment of the invention need not the configuration respectively by terminal device, has stronger deployable.
And, in the embodiment of the invention, by a end its differential service pattern is set in intercommunication mutually, and the differential service pattern information that generates sent to the opposite end that communicates with, make opposite equip. only need passive reception, and according to the differential service pattern that comprises in the configuration information that receives himself is configured and gets final product, the two ends that can reduce intercommunication mutually all are configured the complexity of difference modes, and, be convenient to the same management of system to a certain extent because the embodiment of the invention can realize the unanimity of differential service pattern of the terminal device of mutual communication.
Further, when an end differential service pattern information being sent to the opposite end of intercommunication mutually, can send by the mode of extension of message, to a certain extent conserve system resources.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.This, protection scope of the present invention should be as the criterion by described protection range with claim.