CN107645447B - Label Switching Path (LSP) creation method and device - Google Patents

Label Switching Path (LSP) creation method and device Download PDF

Info

Publication number
CN107645447B
CN107645447B CN201610575883.8A CN201610575883A CN107645447B CN 107645447 B CN107645447 B CN 107645447B CN 201610575883 A CN201610575883 A CN 201610575883A CN 107645447 B CN107645447 B CN 107645447B
Authority
CN
China
Prior art keywords
lsp
bidirectional
creation
message
pcc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610575883.8A
Other languages
Chinese (zh)
Other versions
CN107645447A (en
Inventor
王华园
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Zhongxing Software Co ltd
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 CN201610575883.8A priority Critical patent/CN107645447B/en
Publication of CN107645447A publication Critical patent/CN107645447A/en
Application granted granted Critical
Publication of CN107645447B publication Critical patent/CN107645447B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and a device for creating an LSP (label switching path), wherein the method can comprise the following steps: a PCE sends LSP establishing information carrying bidirectional flag bits to a PCC, wherein the LSP establishing information is used for enabling the PCC to initiate a bidirectional LSP establishing process according to the bidirectional flag bits; and the PCE receives a status report message sent by the PCC, wherein the status report message comprises the creation status of the bidirectional LSP. The embodiment of the invention can reduce the control overhead and the creation time delay of creating the bidirectional LSP.

Description

Label Switching Path (LSP) creation method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for creating a Label Switched Path (LSP).
Background
In a Multi-Protocol Label Switching (MPLS) network for data Communication, in order to facilitate timely and dynamic adjustment of LSP deployment according to service requirements, a current Path Computation Protocol (PCEP) supports a Path Computation Element (PCE) to actively create or delete an LSP, so as to achieve timely and dynamic adjustment of the LSP according to the service requirements. However, the existing PCEP only describes the creation of unidirectional LSPs, i.e., only PCEs are supported to actively create unidirectional LSPs in the current MPLS network. In actual networks, there are some services transmitted in two directions, that is, two LSPs in forward and reverse directions need to be deployed simultaneously. In this way, in the existing MPLS network, the PCE needs to create two unidirectional LSPs in different directions, and associate the two LSPs by using signaling, so as to implement bidirectional transmission of the support service. Because two unidirectional LSPs in different directions need to be created respectively and signaling is needed to associate the two unidirectional LSPs, a large control overhead and a large creation delay exist when a bidirectional LSP is created.
Disclosure of Invention
The embodiment of the invention aims to provide an LSP (label switching path) establishing method and device, which solve the problems of higher control overhead and time delay in establishing a bidirectional LSP.
In order to achieve the above object, an embodiment of the present invention provides an LSP creation method, including:
PCE sends LSP establishing information carrying bidirectional flag bits to a Path Computation Client (PCC), wherein the LSP establishing information is used for enabling the PCC to initiate a bidirectional LSP establishing process according to the bidirectional flag bits;
and the PCE receives a status report message sent by the PCC, wherein the status report message comprises the creation status of the bidirectional LSP.
The invention also provides an LSP establishing method, which comprises the following steps:
the PCC receives LSP establishing information which is sent by the PCE and carries bidirectional flag bits;
the PCC initiates a bidirectional LSP establishing process according to the bidirectional zone bit;
the PCC sends a status report message to the PCE, the status report message including a creation status of the bidirectional LSP.
The present invention also provides an LSP creation apparatus, which is applied to a PCE, and includes:
a sending module, configured to send an LSP creation message carrying a bidirectional flag bit to a PCC, where the LSP creation message is used to enable the PCC to initiate a bidirectional LSP creation process according to the bidirectional flag bit;
a receiving module, configured to receive a status report message sent by the PCC, where the status report message includes a creation status of the bidirectional LSP.
The present invention also provides an LSP creation apparatus, which is applied to PCC and includes:
a first receiving module, configured to receive an LSP creation message that carries a bidirectional flag bit and is sent by a PCE;
a creating module for initiating a bidirectional LSP creating process according to the bidirectional flag bit;
a sending module, configured to send a status report message to the PCE, where the status report message includes a creation status of the bidirectional LSP.
An embodiment of the present invention further provides a computer storage medium, where one or more programs executable by a computer are stored in the computer storage medium, and when the one or more programs are executed by the computer, the computer is caused to execute the LSP creation method provided above.
One of the above technical solutions has the following advantages or beneficial effects:
a PCE sends LSP establishing information carrying bidirectional flag bits to a PCC, wherein the LSP establishing information is used for enabling the PCC to initiate a bidirectional LSP establishing process according to the bidirectional flag bits; and the PCE receives a status report message sent by the PCC, wherein the status report message comprises the creation status of the bidirectional LSP. Therefore, the establishment of the bidirectional LSP can be realized through one LSP establishing message without signaling association, and the control overhead and the establishing time delay of the bidirectional LSP can be reduced.
Drawings
Fig. 1 is a schematic flowchart of an LSP creation method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another LSP creation method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating another LSP creation method according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating creation of an LSP according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating creation of another LSP according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an LSP creation apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another LSP creation apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another LSP creation apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another LSP creation apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another LSP creation apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another LSP creation apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, a flowchart of an LSP creation method provided in an embodiment of the present invention is shown in fig. 1, and includes the following steps:
step S101, PCE sends LSP establishing information carrying bidirectional flag bits to PCC, and the LSP establishing information is used for enabling the PCC to initiate a bidirectional LSP establishing process according to the bidirectional flag bits.
Step S102, the PCE receives a status report message sent by the PCC, wherein the status report message comprises the creation status of the bidirectional LSP.
In the embodiment of the present invention, the PCE may be a PCE server, or a PCE network device, and the like, which is not limited to this embodiment of the present invention. In addition, the PCC may be a Label Switching Router (LSR), or the PCC may be other Label Switching devices, which is not limited in this embodiment of the present invention.
In addition, the bidirectional flag bit may be used to indicate that the LSP created by the create message request is a bidirectional LSP, and the bidirectional flag bit may be flag information, for example: the two-way flag bit may be any information that can indicate that the LSP created by the creation message request is a two-way LSP.
After receiving the creating message, the PCC may initiate a bidirectional LSP creating process according to the bidirectional flag bit, for example: after receiving the creation message, the PCC may initiate a bidirectional LSP creation process to a corresponding Label Switching Router (LSR). Here, the corresponding LSR may be the LSR indicated in the creation information. In addition, bidirectional LSP creation may be understood as creating an LSP that includes a forward label and a reverse label to enable creation of a bidirectional LSP.
In addition, after the PCC initiates the bidirectional LSP creation process or completes the creation process, the PCC may send the status report message to the PCE to notify the PCE of the creation status of the bidirectional LSP. Of course, the creation status here may include creation success, or may include creation error, creation failure, or the like. In addition, after receiving the status report message, the PCE records LSP information related to the status report message. If the status report message does not match the creation message sent in step S101, an error report message is sent to the PCC to prompt the PCC to report an error. If a bidirectional LSP instance matching the status report message can be found, then LSP information records such as relevant path, status, and authorization are updated, where the bidirectional LSP instance here can be understood as a bidirectional LSP instance recorded by the PCE for the above-mentioned sent creation message, that is, the bidirectional LSP instance can be understood as a bidirectional LSP recorded by the PCE that needs to be created.
If the status report message indicates that the bidirectional LSP is created incorrectly or failed, it may be determined to report to a network management layer or directly delete the local record of the bidirectional LSP according to a local policy. If the bidirectional LSP is to be actively cancelled according to the service requirement, the PCE may also send a create message carrying a delete flag to the PCC, so as to implement that the PCC deletes the bidirectional LSP.
In addition, in this embodiment, if the PCE receives the status report message and also receives the status UP of the bidirectional LSP sent by the PCC, the PCE session between the PCE and the PCC is broken, and the PCE loses the control right of the bidirectional LSP, so that the PCE can send a create message to reacquire the control right of the bidirectional LSP after the PCEP session is recovered, and once the control right of the bidirectional LSP cannot be recovered, the PCE can report the network management layer in time.
The creation of the bidirectional LSP can be realized by the above steps. In the process of establishing, the PCE only needs to send an establishing message with a bidirectional zone bit to inform the PCC to execute the establishment of the bidirectional LSP, so that the control overhead of the whole flow is low, the establishment delay is short, and the establishment success rate is high.
In this embodiment, a PCE sends an LSP creation message carrying a bidirectional flag bit to a PCC, where the LSP creation message is used to enable the PCC to initiate a bidirectional LSP creation process according to the bidirectional flag bit; and the PCE receives a status report message sent by the PCC, wherein the status report message comprises the creation status of the bidirectional LSP. Therefore, the establishment of the bidirectional LSP can be realized through one LSP establishing message without signaling association, and the control overhead and the establishing time delay of the bidirectional LSP can be reduced.
As shown in fig. 2, a flowchart of another LSP creation method provided in this embodiment of the present invention is shown in fig. 2, and includes the following steps:
step S201, the PCE calculates and determines the two end nodes of the bidirectional LSP and path information between the two end nodes according to the Traffic demand and Traffic Engineering (TE) database information.
Step S202, PCE sends LSP establishing information carrying bidirectional flag bits to PCC, and the LSP establishing information is used for enabling the PCC to initiate a bidirectional LSP establishing process according to the bidirectional flag bits.
The LSP creation message at least includes address information of the two end nodes, path information between the two end nodes, and the bidirectional flag bit, and when the bidirectional LSP has different bandwidth and/or load balancing requirements in different directions, the LSP creation message at least further includes bandwidth and/or load balancing requirement information in different directions.
Step S203, the PCE receives a status report message sent by the PCC, where the status report message includes a creation status of the bidirectional LSP.
In step S201, the PCE may determine the nodes at both ends according to the service requirement, and calculate and determine the path information between the nodes at both ends, which has the shortest distance and requires the service requirement according to the TE database information and other attributes, such as bandwidth and load balancing. In addition, it should be noted that, in the embodiment of the present invention, step S201 is optional, for example: the path information between the two end nodes of the bidirectional LSP and the two end nodes may be determined by the PCE receiving information indication information sent by other PCEs, or receiving an operation input by a user, and the like.
In addition, the above requirements information for bandwidth and/or load balancing in different directions may be indicated in separate fields of the user in the attribute list of the created message. And after the PCE sends the creation message, the PCE may further record information of the bidirectional LSP requested to be created by the creation message, for example: and recording the nodes at two ends, path information between the nodes at two ends, bandwidth and/or load balancing requirements in different directions and the like.
Optionally, after the PCE receives the status report message sent by the PCC, the method may further include:
and the PCE sends an update message carrying the bidirectional flag bit to the PCC, wherein the update message is used for enabling the PCC to modify the attribute of the bidirectional LSP.
In this embodiment, if the PCE desires to modify the attribute of the bidirectional LSP, it may be implemented by an update message carrying a bidirectional flag bit. That is, after receiving the update message, the PCC may modify the attribute of the bidirectional LSP according to the update message.
In this embodiment, various optional implementation manners are added on the basis of the embodiment shown in fig. 1, and the control overhead and the creation delay of creating the bidirectional LSP can be reduced, and the success rate of creating can be further improved.
As shown in fig. 3, a flowchart of another LSP creation method provided in this embodiment of the present invention is shown in fig. 3, and includes the following steps:
step S301, the PCC receives the LSP establishing information which is sent by the PCE and carries the bidirectional flag bit.
Step S302, the PCC initiates a bidirectional LSP establishing process according to the bidirectional flag bit.
Step S303, the PCC sends a status report message to the PCE, where the status report message includes a creation status of the bidirectional LSP.
In this embodiment, after receiving the creation message, the PCC may record information of the bidirectional LSP created by the creation message. In addition, the initiating the bidirectional LSP creation process according to the bidirectional flag bit may be to create the bidirectional LSP according to a Resource ReSerVation Protocol (RSVP) signaling triggered by the bidirectional flag bit. After RSVP signaling creates the bidirectional LSP successfully, the PCC sends a status report message to the PCE, where the status report message may include authorization information and status information of the LSP.
In addition, when the PCC receives the creation message, it may determine that the parameter in the LSP creation message conflicts with the local information or capability, for example: if the bidirectional flag bit cannot be identified or processed, the PCC can reply an error message to the PCE in time; if the RSVP signaling fails to create the bidirectional LSP, an error report message may also be replied to the PCE in time, where the error report message may carry RSVP related signaling error information. In addition, in any case of error, the PCC can delete the LSP record in time.
In addition, if the PCEP session is broken after the bidirectional LSP is successfully established, the PCC may start a re-authorization timer and a status timer. After the re-authorization timer is overtime, the original session is not recovered, and the control right of the bidirectional LSP can be authorized to other adjacent PCEs; if the re-authorization fails, the waiting state timer is overtime, after overtime, RSVP is triggered to initiate a signaling deletion process, and then the PCC local LSP is deleted.
In addition, in this embodiment, for the above creation message, the creation of the above bidirectional LSP, and the above status report message, reference may be made to the relevant description of the embodiments shown in fig. 1 and fig. 2, and details are not repeated here.
Optionally, the LSP creation message at least may include address information of two end nodes, path information between the two end nodes, and the bidirectional flag, and when there are different bandwidth and/or load balancing requirements of the bidirectional LSP in different directions, the LSP creation message at least further includes requirement information of bandwidth and/or load balancing in different directions.
In this embodiment, the requirement information of the bandwidth and/or load balancing in different directions may be indicated in a user-specific field in the attribute list of the created message. And after the PCE sends the creation message, the PCE may further record information of the bidirectional LSP requested to be created by the creation message, for example: and recording the nodes at two ends, path information between the nodes at two ends, bandwidth and/or load balancing requirements in different directions and the like.
Optionally, after the PCC sends a status report message to the PCE, the method may further include:
the PCC receives an updating message which is sent by the PCE and carries the bidirectional flag bit;
and the PCC modifies the attribute of the bidirectional LSP according to the updating message.
In this embodiment, if the PCE desires to modify the attribute of the bidirectional LSP, it may be implemented by an update message carrying a bidirectional flag bit. That is, after receiving the update message, the PCC may modify the attribute of the bidirectional LSP according to the update message.
Optionally, the initiating, by the PCC according to the bidirectional flag bit, a bidirectional LSP creation process may include:
the PCC sends a label request message to the LSR in the bidirectional LSP, wherein the label request message carries an uplink label, and the uplink label is used as a reverse path label of the bidirectional LSP;
and the PCC receives a forward label mapping message returned by the LSR responding to the label request message, wherein the forward label mapping message carries a forward path label of the bidirectional LSP.
In this embodiment, when sending the label request message, the uplink label can be actively sent to the LSR, so that the message overhead of creating the bidirectional LSP can be reduced, and the creation delay can be reduced.
Optionally, when the bidirectional LSP includes a loose path, the end node LSR of the loose path sends a route calculation request message to an adjacent PCE, where the route calculation request message at least includes an end node object of the loose path and the bidirectional flag bit, so that the adjacent PCE calculates the path information of the loose path according to the route calculation request message and TE database information, and the end node LSR creates the bidirectional LSP according to the path information.
Wherein the loose path may be the end node LSR bidirectional LSP intermediate LSR node, for example: the bidirectional LSPs are R1, R2 and R5, where a loose path is between R2 and R5, then the PCC is R1 and the end node LSR of the loose path may be R2. Another example is: the bidirectional LSPs are R1, R4 and R5, where a loose path is between R1 and R4, then the PCC is R1 and the end node LSR of the loose path may be R1.
In this embodiment, the PCC receives an LSP creation message carrying a bidirectional flag bit sent by the PCE; the PCC initiates a bidirectional LSP establishing process according to the bidirectional zone bit; and the PCC sends a state report message to the PCE, wherein the state report message comprises the creation state of the bidirectional LSP, so that the control overhead and the creation time delay of creating the bidirectional LSP can be reduced, and the creation success rate can be improved.
An embodiment of the present invention is illustrated below with reference to fig. 4 and 5:
example 1
As shown in fig. 4, a traffic on the PCE needs to create a bi-directional LSP with a head node of R1 and a tail node of R3. The PCE has established a PCEP session with R1, R1 being the PCC. The PCE firstly takes head and tail node addresses, bidirectional links, bandwidth, load balance, priority maintenance, protection attributes and the like in service requirements as constraint conditions, and obtains a path calculation result by combining a TE database, namely a path is R1-R2-R3. The PCE then populates the LSP creation message: the system comprises a state request parameter object (SRP), an LSP object, an end node object, an explicit path object (ERO) and constraint attribute objects, and is a newly added LSP bidirectional zone bit in the LSP object. The PCE sends the bidirectional LSP creation message to R1 and records the LSP-related information.
After the R1 receives the bidirectional LSP creation message, according to the path information therein, when the R1 sends a label request message to the R2, it carries the uplink label as a label on the reverse path; then R2 sends a label request to R3 and carries an uplink label; after arriving at the tail node R3, the forward label mapping messages are replied in reverse order until R1, thus the establishment of RSVP signaling from R1 to R3 is completed. R1 then sends a status report message back to the PCE, including: the system comprises an SRP object, an LSP object and a path reply object (RRO), wherein the LSP object comprises a bidirectional flag bit and an authorization flag bit, and is a state flag position UP; and simultaneously, recording the established bidirectional LSP information.
After receiving the bidirectional LSP state report message, PCE matches the SRP object, LSP object and local record to find out the corresponding bidirectional LSP instance and update the information record of path, state and authorization. The PCE has now completed the creation of the bi-directional LSP. If the service desires to modify the attribute of the bidirectional LSP later, it may send an LSP update request message to R1 to implement the modification, and add an LSP bidirectional flag bit to the LSP object.
Example 2
As shown in fig. 5, a traffic on PCE1 needs to create a bi-directional LSP with a head node of R1 and a tail node of R5. PCEP session is established between PCE1 and R1, and R1 is PCC; PCE2 has established a PCEP session with R2, with R2 being the PCC.
The PCE1 first takes head-to-tail node addresses, bidirectional links, bandwidth, load balancing, retention priority, protection attributes, and the like in traffic demands as constraints, and combines with the TE database to obtain a path computation result, i.e., a path is R1-R2-R5. Wherein R2-R5 are loose paths. The PCE then populates the LSP creation message: SRP object, LSP object, end node object, ERO object and each constraint attribute object, and is new LSP bidirectional flag bit in LSP object. The PCE sends the bidirectional LSP creation message to R1 and records the LSP-related information.
After the R1 receives the bidirectional LSP creation message, according to the path information therein, when the R1 sends a label request message to the R2, it carries the uplink label as a label on the reverse path. R2 receives the request message, checks that the path is loose, but does not locally reach the route of R5, and then sends out a route calculation request message to PCE2, containing the RP object, the end node object, and the constraint attribute objects. Wherein the bidirectional flag bit of the RP object.
After receiving the bidirectional LSP routing request message, PCE2 combines with the TE database to obtain a routing result, i.e., a path is R2-R3-R5, according to the constraint conditions in the message. PCE2 sends a way computation response message to R2 containing the way computation result.
After receiving the route calculation response message, the R2 continues to send a label request to the R3 and carries an uplink label; after arriving at the tail node R5, the forward label mapping messages are replied in reverse order until R1, thus the establishment of RSVP signaling from R1 to R5 is completed. Thereafter, R1 sends a report message back to PCE1, containing: the system comprises an SRP object, an LSP object and an RRO object, wherein the LSP object comprises a bidirectional flag bit and an authorization flag bit and is a state flag position UP; and simultaneously, recording the established bidirectional LSP information.
After receiving the bidirectional LSP report message, PCE1 finds the corresponding bidirectional LSP instance and updates information records such as path, state, and authorization according to the matching between the SRP object and LSP object therein and the local record. PCE1 has thus completed the creation of the bidirectional LSP.
As shown in fig. 6, a structural diagram of an LSP creation apparatus provided in an embodiment of the present invention, where the LSP creation apparatus 600 is applied to a PCE, and includes:
a sending module 601, configured to send an LSP creation message carrying a bidirectional flag bit to a PCC, where the LSP creation message is used to enable the PCC to initiate a bidirectional LSP creation process according to the bidirectional flag bit;
a receiving module 602, configured to receive a status report message sent by the PCC, where the status report message includes a creation status of the bidirectional LSP.
Optionally, as shown in fig. 7, the apparatus further includes:
a calculating module 603, configured to calculate and determine path information between two end nodes of the bidirectional LSP and the two end nodes according to service requirements and traffic engineering database information;
the LSP creation message at least includes address information of the two end nodes, path information between the two end nodes, and the bidirectional flag bit, and when the bidirectional LSP has different bandwidth and/or load balancing requirements in different directions, the LSP creation message at least further includes bandwidth and/or load balancing requirement information in different directions.
Optionally, as shown in fig. 8, the apparatus further includes:
an updating module 604, configured to send an update message carrying the bidirectional flag to the PCC, where the update message is used to enable the PCC to modify the attribute of the bidirectional LSP.
It should be noted that, the PCE applied by the apparatus in this embodiment may be the PCE in the embodiments shown in fig. 1 to fig. 5, and any implementation of the PCE described in the embodiments shown in fig. 1 to fig. 5 may be implemented by the apparatus, which is not described herein again.
In this embodiment, a PCE sends an LSP creation message carrying a bidirectional flag bit to a PCC, where the LSP creation message is used to enable the PCC to initiate a bidirectional LSP creation process according to the bidirectional flag bit; and the PCE receives a status report message sent by the PCC, wherein the status report message comprises the creation status of the bidirectional LSP. Therefore, the establishment of the bidirectional LSP can be realized through one LSP establishing message without signaling association, and the control overhead and the establishing time delay of the bidirectional LSP can be reduced.
As shown in fig. 9, a structural schematic diagram of another LSP creation apparatus provided in this embodiment of the present invention, where the LSP creation apparatus 900 is applied to a PCC, and includes:
a first receiving module 901, configured to receive an LSP creation message that carries a bidirectional flag bit and is sent by a PCE;
a creating module 902, configured to initiate a bidirectional LSP creation process according to the bidirectional flag bit;
a sending module 903, configured to send a status report message to the PCE, where the status report message includes a creation status of the bidirectional LSP.
Optionally, the LSP creation message at least includes address information of two end nodes, path information between the two end nodes, and the bidirectional flag bit, and when the bidirectional LSP has different bandwidth and/or load balancing requirements in different directions, the LSP creation message at least further includes requirement information of bandwidth and/or load balancing in different directions.
Optionally, as shown in fig. 10, the apparatus further includes:
a second receiving module 904, configured to receive an update message that is sent by the PCE and carries the bidirectional flag bit;
a modifying module 905, configured to modify the attribute of the bidirectional LSP according to the update message.
Optionally, as shown in fig. 11, the creating module 902 includes:
a requesting unit 9021, configured to send a label request message to an LSR in the bidirectional LSP, where the label request message carries an uplink label, and the uplink label is used as a reverse path label of the bidirectional LSP;
a receiving unit 9022, configured to receive a forward label mapping message returned by the LSR in response to the label request message, where the forward label mapping message carries a forward path label of the bidirectional LSP.
Optionally, when the bidirectional LSP includes a loose path, the end node LSR of the loose path sends a route calculation request message to an adjacent PCE, where the route calculation request message at least includes an end node object of the loose path and the bidirectional flag bit, so that the adjacent PCE calculates the path information of the loose path according to the route calculation request message and TE database information, and the end node LSR creates the bidirectional LSP according to the path information.
It should be noted that the PCC applied by the apparatus in this embodiment may be the PCC in the embodiment shown in fig. 1 to fig. 5, and any implementation of the PCC described in the embodiment shown in fig. 1 to fig. 5 may be implemented by the apparatus, which is not described herein again.
In this embodiment, the PCC receives an LSP creation message carrying a bidirectional flag bit sent by the PCE; the PCC initiates a bidirectional LSP establishing process according to the bidirectional zone bit; and the PCC sends a state report message to the PCE, wherein the state report message comprises the creation state of the bidirectional LSP, so that the control overhead and the creation time delay of creating the bidirectional LSP can be reduced, and the creation success rate can be improved.
It will be understood by those skilled in the art that all or part of the steps of the method for implementing the above embodiments may be implemented by hardware associated with program instructions, and the program may be stored in a computer readable medium, and when executed, the program includes the following steps:
a PCE sends LSP establishing information carrying bidirectional flag bits to a PCC, wherein the LSP establishing information is used for enabling the PCC to initiate a bidirectional LSP establishing process according to the bidirectional flag bits;
and the PCE receives a status report message sent by the PCC, wherein the status report message comprises the creation status of the bidirectional LSP.
Optionally, before the PCE sends an LSP creation message carrying a bidirectional flag bit to the PCC, the method further includes:
the PCE calculates and determines the two end nodes of the bidirectional LSP and the path information between the two end nodes according to the service requirement and the traffic engineering database information;
the LSP creation message at least includes address information of the two end nodes, path information between the two end nodes, and the bidirectional flag bit, and when the bidirectional LSP has different bandwidth and/or load balancing requirements in different directions, the LSP creation message at least further includes bandwidth and/or load balancing requirement information in different directions.
Optionally, after the PCE receives the status report message sent by the PCC, the method further includes:
and the PCE sends an update message carrying the bidirectional flag bit to the PCC, wherein the update message is used for enabling the PCC to modify the attribute of the bidirectional LSP.
Further, the program may further include, when executed, the steps of:
the PCC receives LSP establishing information which is sent by the PCE and carries bidirectional flag bits;
the PCC initiates a bidirectional LSP establishing process according to the bidirectional zone bit;
the PCC sends a status report message to the PCE, the status report message including a creation status of the bidirectional LSP.
Optionally, the LSP creation message at least includes address information of two end nodes, path information between the two end nodes, and the bidirectional flag bit, and when the bidirectional LSP has different bandwidth and/or load balancing requirements in different directions, the LSP creation message at least further includes requirement information of bandwidth and/or load balancing in different directions.
Optionally, after the PCC sends a status report message to the PCE, the method further includes:
the PCC receives an updating message which is sent by the PCE and carries the bidirectional flag bit;
and the PCC modifies the attribute of the bidirectional LSP according to the updating message.
Optionally, the PCC initiates a bidirectional LSP creation process according to the bidirectional flag bit, including:
the PCC sends a label request message to a Label Switching Router (LSR) in the bidirectional LSP, wherein the label request message carries an uplink label, and the uplink label is used as a reverse path label of the bidirectional LSP;
and the PCC receives a forward label mapping message returned by the LSR responding to the label request message, wherein the forward label mapping message carries a forward path label of the bidirectional LSP.
Optionally, when the bidirectional LSP includes a loose path, the end node LSR of the loose path sends a route calculation request message to an adjacent PCE, where the route calculation request message at least includes an end node object of the loose path and the bidirectional flag bit, so that the adjacent PCE calculates the path information of the loose path according to the route calculation request message and TE database information, and the end node LSR creates the bidirectional LSP according to the path information.
The storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A method for label switched path, LSP, creation, comprising:
a Path Computation Element (PCE) sends an LSP establishment message carrying a bidirectional flag bit to a Path Computation Client (PCC), wherein the LSP establishment message is used for enabling the PCC to initiate a bidirectional LSP establishment process to a Label Switching Router (LSR) according to the bidirectional flag bit, and the bidirectional LSP is established to establish an LSP comprising a forward label and a reverse label;
the PCE receives a status report message sent by the PCC, wherein the status report message comprises a creation status of the bidirectional LSP, and the creation status comprises a creation success, a creation error or a creation failure;
before the PCE sends an LSP creation message carrying a bidirectional flag bit to the PCC, the method further includes:
the PCE calculates and determines the two end nodes of the bidirectional LSP and the path information between the two end nodes according to the service requirement and the traffic engineering database information; the LSP creation message at least includes address information of the two end nodes, path information between the two end nodes, and the bidirectional flag bit, and when the bidirectional LSP has different bandwidth and/or load balancing requirements in different directions, the LSP creation message at least further includes bandwidth and/or load balancing requirement information in different directions.
2. The method of claim 1, wherein after the PCE receives a status report message sent by the PCC, the method further comprises:
and the PCE sends an update message carrying the bidirectional flag bit to the PCC, wherein the update message is used for enabling the PCC to modify the attribute of the bidirectional LSP.
3. An LSP creation method, comprising:
the PCC receives LSP establishing information which is sent by the PCE and carries bidirectional flag bits;
the PCC initiates a bidirectional LSP establishing process to a Label Switching Router (LSR) according to the bidirectional flag bit, wherein the bidirectional LSP is established to establish an LSP comprising a forward label and a reverse label;
the PCC sends a status report message to the PCE, wherein the status report message comprises the creation status of the bidirectional LSP, and the creation status comprises successful creation, error creation or failed creation;
the LSP establishing message is obtained by the PCE according to the service requirement and the traffic engineering database information through calculation and determination of the two end nodes of the bidirectional LSP and the path information between the two end nodes; the LSP creation message at least includes address information of two end nodes, path information between the two end nodes, and the bidirectional flag bit, and when the bidirectional LSP has different bandwidth and/or load balancing requirements in different directions, the LSP creation message at least also includes bandwidth and/or load balancing requirement information in different directions.
4. The method of claim 3, wherein after the PCC sends a status report message to the PCE, the method further comprises:
the PCC receives an updating message which is sent by the PCE and carries the bidirectional flag bit;
and the PCC modifies the attribute of the bidirectional LSP according to the updating message.
5. The method of any of claims 3-4, wherein the PCC initiates a bidirectional LSP creation process based on the bidirectional flag bit, comprising:
the PCC sends a label request message to a Label Switching Router (LSR) in the bidirectional LSP, wherein the label request message carries an uplink label, and the uplink label is used as a reverse path label of the bidirectional LSP;
and the PCC receives a forward label mapping message returned by the LSR responding to the label request message, wherein the forward label mapping message carries a forward path label of the bidirectional LSP.
6. The method of any of claims 3-4 wherein when said bidirectional LSP comprises a loose path, an end node LSR of said loose path sends an computation request message to an adjacent PCE, said computation request message including at least an end node object of said loose path and said bidirectional flag bit, such that said adjacent PCE computes path information for said loose path in conjunction with TE database information based on said computation request message, said end node LSR creating said bidirectional LSP based on said path information.
7. An apparatus for creating an LSP, the apparatus being applied to a PCE and comprising:
a sending module, configured to send an LSP creation message carrying a bidirectional flag bit to a PCC, where the LSP creation message is used to enable the PCC to initiate a bidirectional LSP creation process to a label switching router LSR according to the bidirectional flag bit, and the bidirectional LSP is created to create an LSP including a forward label and a reverse label;
a receiving module, configured to receive a status report message sent by the PCC, where the status report message includes a creation status of the bidirectional LSP, and the creation status includes a creation success, a creation error, or a creation failure;
the sending module is further configured to calculate and determine path information between nodes at two ends of the bidirectional LSP and the nodes at two ends according to a service requirement and traffic engineering database information; the LSP creation message at least includes address information of the two end nodes, path information between the two end nodes, and the bidirectional flag bit, and when the bidirectional LSP has different bandwidth and/or load balancing requirements in different directions, the LSP creation message at least further includes bandwidth and/or load balancing requirement information in different directions.
8. An apparatus for LSP creation, the apparatus being applied to PCC and comprising:
a first receiving module, configured to receive an LSP creation message that carries a bidirectional flag bit and is sent by a PCE;
a creating module, configured to initiate a bidirectional LSP creation process to a label switching router LSR according to the bidirectional flag bit, where the bidirectional LSP is created to create an LSP including a forward label and a reverse label;
a sending module, configured to send a status report message to the PCE, where the status report message includes a creation status of the bidirectional LSP, and the creation status includes a creation success, a creation error, or a creation failure;
the LSP establishing message is obtained by the PCE according to the service requirement and the traffic engineering database information through calculation and determination of the two end nodes of the bidirectional LSP and the path information between the two end nodes; the LSP creation message at least includes address information of two end nodes, path information between the two end nodes, and the bidirectional flag bit, and when the bidirectional LSP has different bandwidth and/or load balancing requirements in different directions, the LSP creation message at least also includes bandwidth and/or load balancing requirement information in different directions.
CN201610575883.8A 2016-07-21 2016-07-21 Label Switching Path (LSP) creation method and device Active CN107645447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610575883.8A CN107645447B (en) 2016-07-21 2016-07-21 Label Switching Path (LSP) creation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610575883.8A CN107645447B (en) 2016-07-21 2016-07-21 Label Switching Path (LSP) creation method and device

Publications (2)

Publication Number Publication Date
CN107645447A CN107645447A (en) 2018-01-30
CN107645447B true CN107645447B (en) 2022-04-22

Family

ID=61108016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610575883.8A Active CN107645447B (en) 2016-07-21 2016-07-21 Label Switching Path (LSP) creation method and device

Country Status (1)

Country Link
CN (1) CN107645447B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155178A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Method, device and system for establishing bidirectional LSP in multi-protocol label switching
CN101883044A (en) * 2009-05-08 2010-11-10 华为技术有限公司 Method, device and system for establishing bidirectional point-to-multipoint label switch paths
CN102170391A (en) * 2010-02-26 2011-08-31 中兴通讯股份有限公司 Associated bidirectional label switched path creation method and system
CN102170392A (en) * 2010-02-26 2011-08-31 中兴通讯股份有限公司 Method and system for establishing associated double-way label switching path
WO2012041142A1 (en) * 2010-09-30 2012-04-05 中兴通讯股份有限公司 Method and system for establishing and removing bidirectional point-to-multipoint label switched path
CN102480406A (en) * 2010-11-23 2012-05-30 中兴通讯股份有限公司 Method and system for building cross-domain end-to-end two-way label switching path
CN105591861A (en) * 2014-10-20 2016-05-18 中兴通讯股份有限公司 Method and device for creating label switch path (LSP)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945048B (en) * 2010-09-20 2014-07-16 中兴通讯股份有限公司 Method, system and device for establishing label switch path

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155178A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Method, device and system for establishing bidirectional LSP in multi-protocol label switching
CN101883044A (en) * 2009-05-08 2010-11-10 华为技术有限公司 Method, device and system for establishing bidirectional point-to-multipoint label switch paths
CN102170391A (en) * 2010-02-26 2011-08-31 中兴通讯股份有限公司 Associated bidirectional label switched path creation method and system
CN102170392A (en) * 2010-02-26 2011-08-31 中兴通讯股份有限公司 Method and system for establishing associated double-way label switching path
WO2012041142A1 (en) * 2010-09-30 2012-04-05 中兴通讯股份有限公司 Method and system for establishing and removing bidirectional point-to-multipoint label switched path
CN102480406A (en) * 2010-11-23 2012-05-30 中兴通讯股份有限公司 Method and system for building cross-domain end-to-end two-way label switching path
CN105591861A (en) * 2014-10-20 2016-05-18 中兴通讯股份有限公司 Method and device for creating label switch path (LSP)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
E.Crabbe等.《PCEP Extensions for PCE-initiated LSP Setup in a Stateful PCE Model》.《draft-crabbe-pce-pce-initiated-lsp-00》.2012,正文第4和5节. *

Also Published As

Publication number Publication date
CN107645447A (en) 2018-01-30

Similar Documents

Publication Publication Date Title
EP3751801B1 (en) Border gateway protocol for communication among software defined network controllers
WO2021036334A1 (en) Methods and apparatuses for sending and receiving segment routing traffic engineering policy, network element, and computer-readable storage medium
US7852840B2 (en) Method and device for creating a tunnel in a label-switched telecommunication network
US20170244628A1 (en) Path Computation Element Hierarchical Software Defined Network Control
US10547543B2 (en) Elegant temporal label switched path tunnel service controller
US11121975B2 (en) Framework for temporal label switched path tunnel services
CN102647340A (en) Loose node in RSVP-TE (Resource Reservation Protocol-Traffic Engineer) tunnel and path calculation method of loose node
EP3016328B1 (en) Path acquisition method, path computation element, path computation client and system
US20220321453A1 (en) Path computation method, storage medium and electronic apparatus
US20110153829A1 (en) Traffic engineering database control system and method for guaranteeing accuracy of traffic engineering database
EP3099010B1 (en) Network path computation method, apparatus and system
CN116506119B (en) Key distribution network construction method based on route addressing
US9998807B2 (en) Method and apparatus for establishing trail network
CN107645447B (en) Label Switching Path (LSP) creation method and device
EP3823224A1 (en) Service path establishment method, node device, and system
WO2018219298A1 (en) Method and device for processing failure of path computation requested by path computation client (pcc)
US11563692B2 (en) Communication methods, apparatuses and system for sharing network resources
CN103023780A (en) Method and device for routing computation
US10992573B2 (en) Multi-layer LSP control method and apparatus
WO2015184862A1 (en) Method and device for tunnel re-optimization path computation
WO2018205887A1 (en) Delay collection method and apparatus
WO2023087844A1 (en) Routing method, routing apparatus, storage medium and program product
WO2023040503A1 (en) Path calculation method and apparatus, network controller and storage medium
CN118215160A (en) Connection interaction method, communication device, storage medium, and program product
CN115604179A (en) Associated path notification method, path calculation client and path calculation unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220923

Address after: No. 3, Xingguang 5th Road, North New District, Yubei District, Chongqing 400000 (Zhongxing Building)

Patentee after: Chongqing Zhongxing Software Co.,Ltd.

Address before: 518057 Zhongxing building, science and technology south road, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen

Patentee before: ZTE Corp.

TR01 Transfer of patent right