Method, server and router for establishing LSP
By hosting the management permissions of LSPs to PCC and expanding the PCEP protocol, the performance pressure problem of PCE Server when managing a large number of LSPs is solved, and more efficient network management and automatic escape path calculations are achieved, reducing the time of service interruption flow.
Patent Information
- Application Number
- CN202110028021.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2015-12-30
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2035-12-30
AI Technical Summary
When PCE Server manages a large number of LSPs, the increase in computing workload leads to performance pressure and excessive burden.
Host the LSP's management permissions to the PCC, so that the PCC can calculate and manage the LSP, reduce the burden on the PCE Server, and use the PCEP protocol to carry the LSP's role and management permission instructions in the message, clearly specify the role of the LSP to automatically calculate the escape path.
It effectively reduces the performance pressure of PCE Server, improves network management efficiency, reduces the service flow interruption time, and automatically calculates the escape path when the main and backup LSP fails.
Smart Images

Figure CN112822108B_ABST
Abstract
Description
[0001] This application is a divisional application of the application filed with the China Intellectual Property Office on December 30, 2015, with application number 201511024806.5 and invention name “Method, server and router for establishing LSP”. Technical Field
[0002] The present invention relates to the field of communications, and in particular to a method for PCE to establish LSP, a PCE server and a router. Background Art
[0003] Path Computation Element (PCE) is a centralized path calculation mode based on Multi-Protocol Label Switch (MPLS) Traffic Engineering (TE). PCE was first proposed to solve the problem of path calculation in large multi-regional networks. PCE can be used to calculate cross-domain paths for MPLSTE. There are two roles in the PCE solution: server and client. The server is the party that completes the path calculation and stores the path information of the entire network. The client is the initiator of the path calculation request, that is, the Ingress node of the tunnel. After the client sends a request to the server, the server will perform path calculation based on the resource situation of the entire network, and finally optimize the resources of the entire network. The traditional PCE centrally manages the TE topology resources of the network, that is, the Traffic Engineering Database (TEDB).
[0004] PCE technology is divided into two types: stateless PCE and stateful PCE. Stateless PCE only considers TEDB information when calculating paths, while stateful PCE considers both TEDB and LSP state database (LSPDB) information when calculating paths. There are two modes of stateful PCE in the prior art: passive stateful PCE and active stateful PCE:
[0005] Among them, Active Stateful PCE is based on traditional PCE. PCC reports LSP information to PCE Server through delegation and authorizes PCE Server to manage the delegated LSP. The specific process is as follows Figure 1 As shown:
[0006] The PCE Server generates the LSPDB of the entire network through the managed LSP information, and performs network optimization calculations based on the LSPDB. The results are sent to the PCC along with the path update (Update). The PCC adjusts the path by first establishing new services and then dismantling old services (Make-Before-Break, MBB), and re-reports the adjustment results to update the LSP DB.
[0007] One of the ways to create LSP in Active Stateful PCE technology is: PCE initiated LSP, which is triggered by PCE Server to create LSP. The tunnel of PCE initiated LSP is automatically created on PCC (autotunnel). All management rights of PCE initiated LSP automatically belong to PCE server and cannot be selected. PCE server is responsible for the calculation and management of all these LSPs, such as Figure 2 As shown in the figure, when the PCC network managed by the PCE server is large and the number of LSPs hosted to the PCE is large, if the PCE initiated LSP created by the PCE server is also hosted to the PCE server, the computing workload of the PCE server will increase dramatically, which greatly increases the burden on the PCE server and has a significant impact on the performance of the PCE server. Summary of the invention
[0008] The embodiment of the present invention provides a method, a server and a router for establishing an LSP, which can effectively reduce the performance pressure of a PCE Server.
[0009] In a first aspect, an embodiment of the present invention provides a method for establishing a label switching path LSP, including:
[0010] The path calculation element PCE server sends a first message to the path calculation client PCC to trigger the establishment of the LSP, and entrusts the management authority of the LSP to the PCC, so that the PCC calculates the path of the LSP and establishes the LSP according to the path.
[0011] In the embodiment of the present invention, the PCE Server hosts some services that can be hosted by the PCC for LSP calculation and management (for example, unimportant services) to the PCC for path calculation and management, so that it can focus more on the calculation and management of the paths of services that must be managed based on a global view, thereby effectively reducing the performance pressure of the PCE Server.
[0012] In combination with the first aspect, in a first possible implementation manner of the first aspect, the method further includes:
[0013] The PCE server sends a second message to the PCC to cancel the management authority of the managed LSP, so that the PCC delegates the management authority of the LSP to the PCE server.
[0014] Thus, in this way, the PCE server can revoke the LSP's trusteeship to the PCC at an appropriate time.
[0015] In combination with the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the PCE server entrusting the management authority of the LSP to the PCC includes:
[0016] The PCE server carries the management authority entrustment indication of the LSP in the first message, and entrusts the management authority of the LSP to the PCC through the management authority entrustment indication of the LSP.
[0017] In this way, the management authority delegation indication of the LSP can be directly sent to the PCC in the first message that triggers the creation of the LSP, so that the PCC can calculate the path and establish the LSP.
[0018] In combination with the first aspect or the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method also includes: the PCE server receives a hosting request for the LSP sent by the PCC after receiving the first message; the PCE server hosts the management authority of the LSP to the PCC, including: the PCE server rejects the hosting request for the LSP sent by the PCC, sends a third message to the PCC, the third message carries a management authority hosting indication for the LSP, and hosts the management authority of the LSP to the PCC through the management authority hosting indication of the LSP.
[0019] In this way, when the PCC entrusts the management authority of the LSP to the PCE server, the PCE server rejects the PCC's entrustment and entrusts the management authority of the LSP to the PCC through the third message, so that the PCC can calculate the path and establish the LSP.
[0020] It should be noted that, in addition to the above two methods, the PCE server may also delegate the management authority of the LSP to the PCC in other ways, and the above two methods do not limit the present invention.
[0021] In combination with the first aspect, any possible implementation manner from the first possible implementation manner of the first aspect to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the method also includes: the PCE server designates the LSP as a main LSP, a backup LSP, or an escape LSP.
[0022] In combination with the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the PCE server designates the LSP as a main LSP, a backup LSP, or an escape LSP including:
[0023] The PCE server carries the role indication of the LSP in the first message, where the role indication of the LSP is used to identify whether the LSP is a primary LSP, a backup LSP, or an escape LSP.
[0024] Therefore, when entrusting the management authority of LSP to PCC and other information interaction processes, the role of LSP (primary LSP, backup LSP or escape LSP) is clearly specified. When both the primary and backup LSPs fail, the PCC can automatically calculate and create an escape path to reduce the service interruption time.
[0025] In a second aspect, an embodiment of the present invention provides a method for establishing a label switching path LSP, comprising:
[0026] The path calculation client PCC receives a first message sent by the path calculation unit PCE server, where the first message is used to trigger the establishment of an LSP; the PCC obtains the management authority of the LSP according to the first message; after obtaining the management authority of the LSP, the PCC calculates the path of the LSP and establishes the LSP according to the path.
[0027] In the embodiment of the present invention, after the PCE Server delegates the management authority of the LSPs of some services (eg, unimportant services) that can be delegated to the PCC for LSP calculation and management to the PCC, the PCC can perform path calculation and management, thereby effectively alleviating the performance pressure of the PCE Server.
[0028] In conjunction with the second aspect, in a first possible implementation manner of the second aspect, the method further includes:
[0029] The PCC receives a second message sent by the PCE server, where the second message is used to cancel the management authority of the managed LSP; after receiving the second message, the PCC delegates the management authority of the LSP to the PCE server.
[0030] In combination with the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the PCC obtaining the management authority of the LSP according to the first message includes:
[0031] The first message carries the management authority entrustment indication of the LSP, so as to entrust the management authority of the LSP to the PCC, and the PCC obtains the management authority of the LSP according to the management authority entrustment indication of the LSP.
[0032] In combination with the second aspect or the first possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the PCC obtaining the management authority of the LSP according to the first message includes:
[0033] After receiving the first message, the PCC sends a hosting request for the LSP to the PCE server;
[0034] The PCC receives a third message sent by the PCE server, where the third message is a message sent by the PCE server after the PCE server rejects the LSP trusteeship request sent by the PCC, and the third message carries a management authority trusteeship indication of the LSP;
[0035] The PCC obtains the management authority of the LSP according to the management authority entrustment instruction of the LSP.
[0036] In combination with the second aspect, any possible implementation manner from the first possible implementation manner of the second aspect to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the method further includes: the PCC learns, based on the first message, that the LSP is a primary LSP, a backup LSP, or an escape LSP.
[0037] In combination with the fourth possible implementation method of the second aspect, in a fifth possible implementation method of the second aspect, the PCC learns, based on the first message, that the LSP is the main LSP, the backup LSP, or the escape LSP, including: the first message carries a role indication of the LSP, and the PCC learns, based on the role indication of the LSP, that the LSP is the main LSP, the backup LSP, or the escape LSP.
[0038] In combination with the fourth possible implementation manner of the second aspect or the fifth possible implementation manner of the second aspect, in the sixth possible implementation manner of the second aspect, when the LSP is an escape LSP, the PCC calculates the path of the LSP after obtaining the management authority of the LSP, and establishes the LSP according to the path, including: the PCC saves the relevant information of the escape LSP, and when it is detected that both the primary LSP and the backup LSP fail to be established or cannot be established, calculates the path of the escape LSP, and establishes the escape LSP according to the path.
[0039] In combination with any possible implementation method in the second aspect or the third aspect, one way to carry the role indication of the LSP in the message interacting between the PCE server and the PCC is to extend the PCEP protocol by adding a T flag in the LSP Object to identify the role of the LSP; one way to carry the management authority trusteeship indication of the LSP in the message sent by the PCE server to the PCC is to extend the PCEP protocol and add a DC flag in the LSP Object to identify the trusteeship indication of the LSP.
[0040] In combination with any possible implementation method of the second aspect or the third aspect, one way to carry the role indication of the LSP in the message interacting between the PCE server and the PCC is to extend the PCEP protocol: by adding a T flag in the LSP Object to identify the role of the LSP; one way to carry the management authority trusteeship of the LSP in the message sent by the PCE server to the PCC is to extend the PCEP protocol, by adding a DC flag in the Association Object to identify the management authority trusteeship indication of the LSP.
[0041] In the embodiment of the present invention, by extending the PCEP protocol, the role of the LSP and the management authority trusteeship indication of the LSP are carried in the message exchanged between the PCE server and the PCC, thereby saving system overhead.
[0042] In a third aspect, an embodiment of the present invention provides a server, including:
[0043] An LSP establishment triggering unit, configured to send a first message to a path calculation client PCC to trigger the establishment of an LSP;
[0044] The LSP entrusting unit is used to entrust the management authority of the LSP to the PCC, so that the PCC calculates the path of the LSP and establishes the LSP according to the path.
[0045] In combination with the third aspect, in a first possible implementation manner of the third aspect, the server further includes:
[0046] The LSP hosting cancellation unit is used to send a second message to the PCC to cancel the management authority of the hosted LSP, so that the PCC hosts the management authority of the LSP to the PCE server.
[0047] In combination with the third aspect or the first possible implementation method of the third aspect, in the second possible implementation method of the third aspect, the first message carries an indication of the management authority trusteeship of the LSP; the LSP trusteeship unit is specifically used to notify the LSP establishment trigger unit to carry the management authority trusteeship indication of the LSP in the first message, and to trust the management authority of the LSP to the PCC through the management authority trusteeship indication of the LSP.
[0048] In combination with the third aspect or the first possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the server further includes:
[0049] A receiving unit, configured to receive a hosting request for the LSP sent by the PCC, where the hosting request is sent by the PCC after receiving the first message;
[0050] The LSP trusteeship unit is specifically used to reject the LSP trusteeship request sent by the PCC, send a third message to the PCC, the third message carries the LSP management authority trusteeship indication, and trust the LSP management authority to the PCC through the LSP management authority trusteeship indication.
[0051] In combination with the third aspect, any possible implementation manner of the first possible implementation manner of the third aspect to the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the server further includes:
[0052] The LSP role designation unit is used to designate an LSP as a primary LSP, a backup LSP, or an escape LSP.
[0053] In combination with the fourth possible implementation method of the third aspect, in the fifth possible implementation method of the third aspect, the LSP role designation unit is specifically used to notify the LSP establishment trigger unit to carry the LSP role indication in the first message, and the LSP role indication is used to identify the LSP as a main LSP, a backup LSP or an escape LSP.
[0054] In a fourth aspect, an embodiment of the present invention provides a router, including:
[0055] A receiving unit, receiving a first message sent by a PCE server, where the first message is used to trigger establishment of an LSP;
[0056] An LSP management authority acquisition unit, configured to obtain the management authority of the LSP according to the first message;
[0057] The LSP establishing unit is used to calculate the path of the LSP after obtaining the management authority of the LSP, and establish the LSP according to the path.
[0058] In combination with the fourth aspect, in a first possible implementation method of the fourth aspect, the receiving unit is also used to receive a second message sent by the PCE server, and the second message is used to cancel the management authority of the hosted LSP; the router also includes: an LSP hosting cancellation unit, which is used to host the management authority of the LSP to the PCE server after receiving the second message.
[0059] In combination with the fourth aspect or the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the first message received by the receiving unit carries a management authority trusteeship indication of the LSP;
[0060] The LSP management authority acquisition unit is specifically used to obtain the management authority of the LSP according to the management authority trusteeship indication of the LSP.
[0061] In combination with the fourth aspect or the first possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect, the router further includes: an LSP hosting request unit, configured for the PCC to send a hosting request for the LSP to the PCE server after receiving the first message;
[0062] The receiving unit is further configured to receive a third message sent by the PCE server, where the third message is a message sent by the PCE server after rejecting the LSP hosting request sent by the PCC, and the third message carries a management authority hosting indication of the LSP;
[0063] The LSP management authority acquisition unit is specifically used to obtain the management authority of the LSP according to the management authority trusteeship indication of the LSP.
[0064] In combination with the fourth aspect, any possible implementation method from the first possible implementation method of the fourth aspect to the third possible implementation method of the fourth aspect, in the fourth possible implementation method of the fourth aspect, the router also includes: an LSP role acquisition unit, used to obtain, according to the first message, whether the LSP is a main LSP, a backup LSP, or an escape LSP.
[0065] In combination with the fourth possible implementation method of the fourth aspect, in a fifth possible implementation method of the fourth aspect, the first message received by the receiving unit carries a role indication of the LSP; the LSP role acquisition unit is specifically used for the PCC to obtain, according to the role indication of the LSP, whether the LSP is a main LSP, a backup LSP, or an escape LSP.
[0066] In a fifth aspect, an embodiment of the present invention provides a server, including:
[0067] A transceiver, a memory and a processor, wherein the memory stores an application program and the processor is used to execute the application program, so that the transceiver sends a first message to a path calculation client PCC to trigger the establishment of an LSP, and entrusts the management authority of the LSP to the PCC, so that the PCC calculates the path of the LSP and establishes the LSP according to the path.
[0068] In combination with the fifth aspect, the server in the embodiment of the present invention is also used to execute all or part of the actions described in any possible implementation manner of the first aspect.
[0069] In a sixth aspect, an embodiment of the present invention provides a router, including:
[0070] A transceiver, a memory and a processor, wherein the memory stores an application program and the processor is used to execute the application program, so that the transceiver is used to receive a first message sent by a PCE server, wherein the first message is used to trigger the establishment of an LSP; the processor is used to obtain the management authority of the LSP according to the first message; after obtaining the management authority of the LSP, the path of the LSP is calculated and the LSP is established according to the path.
[0071] In combination with the fifth aspect, the router in the embodiment of the present invention is also used to execute all or part of the actions described in any possible implementation manner of the second aspect.
[0072] It can be seen from the above technical solutions that the solutions of the embodiments of the present invention have the following beneficial effects:
[0073] In the embodiment of the present invention, the PCE Server delegates the management authority of some LSPs to the PCC for path calculation and management, so that it can focus more on the calculation and management of paths of services that must be managed based on a global view, thereby effectively reducing the performance pressure of the PCE Server.
[0074] In addition, in an embodiment of the present invention, when LSP management authority is entrusted, the role of the LSP (primary LSP, backup LSP or escape LSP) is clearly specified. When both the primary and backup LSPs fail, an escape path can be automatically calculated and created on the PCC to reduce the service interruption time. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] Figure 1 A flowchart of a PCE in an embodiment of the present invention;
[0076] Figure 2 Schematic diagram of PCE path calculation in a large scenario in an embodiment of the present invention;
[0077] Figure 3 A flow chart of entrusting an LSP to a PCE server when a PCE triggers the establishment of an LSP in an embodiment of the present invention;
[0078] Figure 4 This is a flow chart of information interaction for establishing an LSP in an embodiment of the present invention;
[0079] Figure 5 A schematic diagram of a tunnel protection technology for MPLS TE in an embodiment of the present invention;
[0080] Figure 6 Schematic diagram of the LSP Object format in the PCEP protocol in an embodiment of the present invention;
[0081] Figure 7Schematic diagram of the Association Object format in the PCEP protocol in an embodiment of the present invention;
[0082] Figure 8 Another schematic diagram of the LSP Object format in the PCEP protocol in an embodiment of the present invention;
[0083] Fig. 9 A flow chart of entrustment and cancellation of entrustment of a primary LSP in an embodiment of the present invention;
[0084] Fig.10 A flowchart of the hosting and canceling the hosting of the backup LSP in the embodiment of the present invention;
[0085] Fig.11 A flow chart of hosting and canceling hosting of an escape LSP in an embodiment of the present invention;
[0086] Fig.12 Another flow chart of entrustment and cancellation of entrustment of a primary LSP in an embodiment of the present invention;
[0087] Fig.13 Another flow chart of hosting and canceling hosting of a backup LSP in an embodiment of the present invention;
[0088] Fig.14 Another flow chart of hosting and canceling hosting of an escape LSP in an embodiment of the present invention;
[0089] Fig.15 Another flow chart of entrustment and cancellation of entrustment of a primary LSP in an embodiment of the present invention;
[0090] Fig.16 Another flow chart of hosting and canceling hosting of a backup LSP in an embodiment of the present invention;
[0091] Fig.17 Another flow chart of hosting and canceling hosting of an escape LSP in an embodiment of the present invention;
[0092] Fig.18 Another flow chart of entrustment and cancellation of entrustment of a primary LSP in an embodiment of the present invention;
[0093] Fig.19 Another flow chart of hosting and canceling hosting of a backup LSP in an embodiment of the present invention;
[0094] Fig. 20 Another flow chart of hosting and canceling hosting of an escape LSP in an embodiment of the present invention;
[0095] Fig.21 A schematic diagram of a functional module structure of a server in an embodiment of the present invention;
[0096] Fig. 22 A schematic diagram of a functional module structure of a router in an embodiment of the present invention;
[0097] Fig.23 A schematic diagram of a hardware structure of a server in an embodiment of the present invention;
[0098] Fig.24 A schematic diagram of the hardware structure of a server in an embodiment of the present invention. DETAILED DESCRIPTION
[0099] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0100] In the prior art, the general process of creating an LSP triggered by a PCE Server is as follows: Figure 3 As shown in the figure: PCE Server triggers the creation of LSP and notifies PCC to create an auto tunnel. PCC delegates the LSP of the auto tunnel to PCE Server for path calculation and processing. PCE Server performs network optimization calculation based on LSPDB and updates the calculated path to PCC. PCC then creates LSP based on the path through Resource Reservation Protocol-Traffic Engineering (RSVP).
[0101] Because the PCE server is responsible for the calculation and management of all LSPs hosted on the PCE server, the burden on the PCE server is heavy, which has a significant impact on the performance of the PCE server.
[0102] To reduce the burden on the PCE Server, the PCE Server delegates some services that can be delegated to the PCC for LSP calculation and management (for example, unimportant services) to the PCC for path calculation and management, so that it can focus more on the calculation and management of paths for services that must be managed based on a global view.
[0103] It should be noted that the trusteeship in the embodiment of the present invention is delegation defined in the protocol in the prior art, and may also be authorization, that is, giving the PCE a temporary right to modify a series of parameters of the LSP of the hosted PCC.
[0104] Combination Figure 4The process of establishing an LSP in the embodiment of the present invention is as follows:
[0105] 401. The PCE Server sends a first message to the PCC to trigger establishment of an LSP.
[0106] The first message sent by the PCE Server to the PCC is specifically a PCC initialization (PCInitiatemessage) message in the prior art;
[0107] 402. The PCE Server delegates the management authority of the LSP to the PCC.
[0108] When the PCE Server determines that the current service is not very important, if the effect of entrusting its LSP to the PCC is equivalent to entrusting it to the PCE Server, the management authority of the currently created LSP can be entrusted to the PCC by issuing an LSP management authority entrustment instruction.
[0109] There are many specific ways to issue the LSP management authority trusteeship instruction, for example: the LSP management authority trusteeship instruction can be directly carried through the first message; or after the PCC receives the first message, the PCC can trust the LSP management authority to the PCE Server in the report (Report) message (ie: PCRpt Message) according to the original protocol process, and the PCE Server refuses the PCC's trusteeship. At the same time, the PCE Server trusts the LSP management authority to the PCC for processing in the update (Update) message (ie: PCUpd Message); the instruction can also be carried in other messages through other processes, which is not limited here.
[0110] 403. The PCC calculates the path of the LSP and establishes the LSP according to the path.
[0111] After receiving the LSP management authority trusteeship instruction sent by the PCE Server, the PCC triggers path calculation according to the local policy and establishes the LSP according to the path.
[0112] 404. The PCE server sends a second message to the PCC to cancel the management authority of the managed LSP;
[0113] When the PCE Server needs to cancel the LSP's trusteeship to the PCC due to some factors, it sends a trusteeship cancellation instruction to the PCC to revoke the management authority of the LSP. The trusteeship cancellation instruction can be carried in an update message (ie, PCUpd Message) sent by the PCE Server.
[0114] The factors that trigger the PCE server to revoke the LSP hosting may be that when the number of LSPs hosted on the PCE server is small and the computing workload is not large, the PCE server may revoke the LSP hosting authority. It may also be other business changes and other factors, which will not be described in detail here.
[0115] 405. The PCC delegates the management authority of the LSP to the PCE server.
[0116] After receiving the cancel trusteeship instruction sent by the PCE Server, the PCC trusts the management authority of the LSP back to the PCE Server, and the PCC no longer assumes the path calculation and management of the LSP. The PCC can trust the management authority of the LSP back to the PCE Server in a report message (ie, PCRptMessage).
[0117] In the embodiment of the present invention, the PCE Server hosts some services that can be hosted by the PCC for LSP calculation and management (for example, unimportant services) to the PCC for path calculation and management, so that it can focus more on the calculation and management of the paths of services that must be managed based on a global view, thereby effectively reducing the performance pressure of the PCE Server.
[0118] The tunnel protection technology in the embodiment of the present invention is introduced below.
[0119] like Figure 5 As shown in the figure, the existing MPLS TE tunnel protection has two modes: backup LSP and escape LSP. The backup path means that there is only one primary LSP and backup LSP under the same tunnel. Under normal circumstances, traffic runs on the primary LSP. When the primary LSP fails, the traffic is switched to the backup LSP. The escape LSP is a temporary LSP that is automatically triggered to be established only when both the primary and backup LSPs fail. The traffic is switched to the temporary LSP. The creation of this LSP adopts the zero bandwidth method and cannot provide bandwidth guarantee.
[0120] The calculation of the escape path for MPLS TE is actually the calculation of the zero-bandwidth LSP. Whether the operation is completed by the PCE Server or the PCC, the effect is the same. In the PCE initiated LSP, the creation of the LSP is triggered by the PCE Server. In the prior art, the LSP is hosted on the PCE server. When the Path Computation Element Communication Protocol (PCEP) session between the PCE server and the PCC is interrupted (down), and the primary and backup LSPs cannot work at the same time, the PCC cannot automatically generate an escape path, and the service will be greatly affected.
[0121] Even if local policies can be configured on the PCC, since the escape path is automatically created when both the primary and backup services fail to work, local policies cannot be set differently for a specific LSP. In addition, since it is a local behavior, inconsistent behaviors on different PCCs may cause some problems.
[0122] The embodiment of the present invention is Figure 4 On the basis of the illustrated embodiment, when the PCE triggers the establishment of an LSP and delegates the management authority of the LSP to the PCC, the role of the LSP (primary LSP, backup LSP, or escape LSP) is clearly specified. When both the primary and backup LSPs fail, an escape path can be automatically calculated and created on the PCC, regardless of whether the PCE Server is in place.
[0123] Optional, in Figure 4 On the basis of the illustrated embodiment, the PCE server carries the role indication information of the LSP in the first message, specifying the currently created LSP as the main LSP, the backup LSP or the escape path LSP.
[0124] When the LSP created and hosted to PCC is the primary LSP, after obtaining the hosting authority of the LSP, PCC directly calculates the path of the primary LSP and establishes the primary LSP; when the LSP created and hosted to PCC is the backup LSP, after obtaining the hosting authority of the LSP, PCC directly calculates the path of the backup LSP and establishes the backup LSP; when the LSP created and hosted to PCC is the escape LSP, the relevant information of the escape path is saved, and the LSP is not established temporarily. Only when PCC detects that both the primary LSP and the backup LSP are down, the calculation and establishment of the escape LSP is triggered.
[0125] In the embodiment of the present invention, when the session between the PCE initiated LSP and the PCC is down due to various reasons, and a new LSP path cannot be calculated when both the primary and backup LSPs are down, or when there are no available primary and backup LSPs due to other reasons, an escape path can be automatically established on the PCC to reduce the interruption time of the service.
[0126] Specifically, the PCEP protocol can be extended to identify whether the PCE initiated LSP needs to be hosted by the PCC for control, thereby identifying the role of the LSP. There are many specific extension methods, which are described below with examples.
[0127] 1. Extending LSP Objects in PCEP
[0128] Two identifiers are added to the LSP Object: T and DC. The DC identifier indicates whether the PCE initiated LSP needs to be delegated to the PCC for control, and the T identifier indicates the role of the LSP.
[0129] The format of the extended LSP Object is as follows: Figure 6 As shown, T and DC are added to the reserved bits of the LSP Object in the prior art:
[0130] T is the LSP role identification, which occupies two bits and has the following values and meanings:
[0131] 0: not set;
[0132] 1: indicates that the LSP is the primary LSP;
[0133] 2: Indicates that the LSP is a backup LSP;
[0134] 3: Indicates that the LSP is an escape path. The escape path is triggered on the PCC only when both the primary and backup LSPs fail.
[0135] Among them, DC is the identifier of whether to host to PCC, which occupies 1 bit. When the fag is set to 1 in the initiate message (Pcinitiate message) sent by PCE Server to PCC, it indicates that the LSP is to be hosted to PCC for management. PCC should bear the calculation and establishment of the LSP, and PCC should not host the LSP to PCE Server. At the same time, PCE Server can set the value to 0 in the update message (PCUpd message) to withdraw the hosting of the LSP to PCC.
[0136] In addition, PLSP-ID is the unique LSP number created by PCC, which occupies 20 bits; D is the identifier of PCC delegating LSP to PCE, which occupies 1 bit. When it is set to 1, it means that LSP is delegated to PCE, and when it is set to 0, it means that LSP is delegating from PCE. Other flags are not introduced in detail here.
[0137] 2. Extending Association Objects and LSP Objects in PCEP
[0138] A flag bit T is added to the Association Object to indicate whether the current LSP is a primary LSP, a backup LSP, or an escape LSP; a flag bit DC is added to the LSP Object to indicate whether the LSP is delegated to the PCC.
[0139] The format of the expanded Association Object is as follows Figure 7 As shown, in the reserved bits of the AssociationObject in the prior art, a T flag bit is added, which occupies two bits, and the values and meanings are as follows:
[0140] 0: not set;
[0141] 1: indicates that the LSP is the primary LSP;
[0142] 2: Indicates that the LSP is a backup LSP;
[0143] 3: Indicates that the LSP is an escape path. The escape path is triggered on the PCC only when both the primary and backup LSPs fail.
[0144] The format of the extended LSP Object is as follows: Figure 8 As shown, a flag bit DC is added to the reserved bit of the LSP Object in the prior art:
[0145] DC is the identifier of whether it is entrusted to PCC, which occupies 1 bit. When the fag is set to 1 in the initiate message sent by PCE Server to PCC, it indicates that the LSP is to be entrusted to PCC for management. PCC should bear the calculation and establishment work for LSP, and PCC should not entrust the LSP to PCE Server again. At the same time, PCE Server can set the value to 0 in the update message to withdraw the entrustment of the LSP to PCC.
[0146] According to Figure 4 It can be seen from the illustrated embodiment that the LSP hosting process includes but is not limited to the following two:
[0147] 1. The role of the LSP and whether to host it to the PCC can be specified in the initiate message;
[0148] Second, the role of the LSP can be specified in the initiate message. When the PCC sends a report message to the PCE Server to delegate the LSP to the PCE Server, the PCC's delegation is rejected. At the same time, the PCE Server delegates the LSP to the PCC in the update message for processing.
[0149] The above two methods of extending the PCEP protocol and the above two hosting processes can be combined with each other. The hosting and cancellation processes of the primary LSP, backup LSP, and escape LSP under the combination are introduced in detail below.
[0150] 1. Use PCEP protocol extension method 1 and hosting process 1
[0151] 1. The process of hosting and canceling the hosting of the main LSP
[0152] like Fig. 9 As shown:
[0153] Step 1: The PCInitiate message sent by the PCE Server to the PCC carries the LSP Object. T=1, DC=1, and D=0 in the LSPObject respectively indicate that the currently created LSP is the primary LSP, and the management authority of the LSP is entrusted to the PCC. The LSP is not entrusted to the PCE.
[0154] In step 1, the association group ID of the protection path specified by the Association Object is also carried: Association ID, indicating that the primary LSP in the Association ID is entrusted to the PCC for management, including path calculation and establishment;
[0155] Step 2: After receiving the message, the PCC calculates the path by itself and uses the RSVP-TE protocol to establish the primary LSP;
[0156] The subsequent PCEP protocol interaction processes, such as status reporting and updating, are consistent with the original protocol processes of the prior art. During this process, the information interaction between the PCC and the PCE needs to carry the LSP Object and keep the flags: T = 1, DC = 1, and D = 0.
[0157] Step 3: When some factors trigger the cancellation of the LSP's trusteeship to the PCC, the PCE Server sends a PCUpdmessage to the PCC, where DC=0 indicates the cancellation of the trusteeship to the PCC, and T=1 indicates that the role of the LSP is the primary LSP;
[0158] Step 4: After receiving the PCUd message, the PCC sends a PCRpt message to the PCE Server again, where D=1, T=1, DC=0, to delegate the LSP to the PCE Server;
[0159] 2. Backup LSP hosting and cancellation process
[0160] like Fig.10 As shown, the entrustment and cancellation process of the backup LSP is similar to the process of the primary LSP, except that the flag bit T of the LSP type is set to 2, indicating that it is a backup LSP.
[0161] 3. Escape LSP hosting and cancellation process
[0162] like Fig.11 As shown, in the LSP Object carried in the PCInitiate message sent by the PCE Server to the PCC, T=3 indicates that the LSP is an escape path, and DC=1 indicates that the LSP is entrusted to the PCC for management.
[0163] After receiving the PCInitiate message, the PCC saves the relevant information of the escape path and does not establish the LSP temporarily. When it is detected in the subsequent process that both the primary and backup LSPs are down, the escape path LSP is triggered to be established. The LSP is not hosted by the PCEServer.
[0164] When some factors trigger the cancellation of the LSP's trusteeship to the PCC, the PCE Server sends a PCUpdmessage to the PCC, where DC=0 indicates the cancellation of the trusteeship to the PCC, and T=3 indicates that the role of the LSP is an escape path;
[0165] After receiving the PCUpd message, the PCC deletes the LSP of the escape path.
[0166] It should be noted that in the above Fig. 9 , Fig.10 and Fig.11In the illustrated embodiment, after the PCE server delegates the LSP to the PCC, the D flag of the LSP Object in all subsequent messages for the LSP must be set to 0, the DC flag must be set to 1, and the Tflag must be set to a relevant value to indicate the role of the LSP until the PCE Server revokes the authority to delegate the LSP to the PCC. If the PCE server revokes the authority to delegate the LSP to the PCC, the DC flag in all subsequent PCEP messages must be set to 0, and the setting of the D flag is the same as the original protocol process. In the entire message interaction, the LSP Object needs to be used in conjunction with the AssociationObject to fully indicate the relationship between the LSPs, for example, a certain LSP is the main LSP, backup LSP, or escape path of another LSP.
[0167] 2. Use PCEP protocol extension method 2 and hosting process 1
[0168] 1. The process of hosting and canceling the hosting of the main LSP
[0169] like Fig.12 As shown in the figure, the hosting and cancellation process of the main LSP and Fig. 9 The PCEP protocol extension method 1 is similar to the entrustment and cancellation process of the primary LSP in the entrustment process 1, except that the T flag is carried in the Association Object:
[0170] The initiate message sent by the PCE Server to the PCC carries the LSP Object and Association Object. When the DC flag in the LSP Object is set to 1, it indicates that the LSP is delegated to the PCC; when it is set to 0, it indicates that it is not delegated; the T field in the Association Object indicates whether the role of the LSP is the primary LSP, the backup LSP, or the escape LSP.
[0171] 2. Backup LSP hosting and cancellation process
[0172] The difference between the backup LSP hosting and cancellation process and the primary LSP hosting and cancellation process is that the T flag is set to 2. Fig.13 As shown, no further description is given here.
[0173] 3. Escape LSP hosting and cancellation process
[0174] Escape route hosting and cancellation process and Fig.11The PCEP protocol extension method 1 and the trusteeship and cancellation process of the escape LSP in the trusteeship process 1 are similar, except that the T flag is carried in the Association Object. Fig.14 As shown, no further description is given here.
[0175] It should be noted that in the above Fig.12 , Fig.13 and Fig.14 In the illustrated embodiment, if the LSP is delegated to the PCC, the DC flag in the LSP Object in the subsequent interaction messages between the PCE Server and the PCC shall be set to 1, the D flag shall be set to 0, and the T flag in the Association Object shall be set to the corresponding value to indicate the role of the LSP, and the Association ID shall be specified to associate the primary LSP, the backup LSP, and the escape path. If the PCE server takes back the authority to delegate the LSP to the PCC, the DC flag in all subsequent PCEP message LSP Objects shall be set to 0, and the setting of the D flag shall be the same as the original protocol process.
[0176] 3. Use PCEP protocol extension method 1 and hosting process 2
[0177] In the initiate message sent by the PCE Server to the PCC, the T flag of the LSP Object is set to indicate whether the role of the LSP is the primary LSP, the backup LSP, or the escape path. When the PCC hosts the LSP to the PCE Server, the update message responded by the PCE Server rejects the hosting of the PCC to the PCE Server, and sets the DC flag to host the LSP to the PCC for processing. When the PCE Server cancels the hosting of the PCC, it can set the DC flag to 0 in the update message.
[0178] 1. The process of hosting and canceling the hosting of the main LSP
[0179] like Fig.15 As shown:
[0180] Step 1: The PCInitiate message sent by the PCE Server to the PCC carries the LSP Object. T=1, DC=0, and D=0 in the LSPObject respectively indicate that the currently created LSP is the primary LSP and the management authority of the LSP is not delegated to the PCC. The PCE Server indicates that the PCC has not delegated the LSP to the PCE.
[0181] In step 1, the association group ID number of the protection path specified by the Association Object is also carried: Association ID, indicating that the primary LSP in the Association ID is entrusted to the PCC for management, including path calculation and establishment.
[0182] Step 2: After receiving the message, the PCC delegates the primary LSP to the PCE server in the PCRpt message according to the original protocol process. The specific operation is to set D in the LSP Object to 1, while still carrying T=1 and DC=0.
[0183] Step 3: After receiving the PCRpt message from the PCC, the PCE Server rejects the entrustment by setting D=0 and entrusts the primary LSP to the PCC. The specific operation is to set the DC in the LSP Object to 1, while still carrying T=1 to specify the LSP as the primary LSP.
[0184] Step 4: After receiving the message, the PCC calculates the path by itself and uses the RSVP-TE protocol to establish the primary LSP;
[0185] The subsequent PCEP protocol interaction processes, such as status reporting and updating, are consistent with the original protocol processes of the prior art. During this process, the information interaction between the PCC and the PCE needs to carry the LSP Object and keep the flags: T = 1, DC = 1, and D = 0.
[0186] Step 5: When some factors trigger the cancellation of the LSP's trusteeship to the PCC, the PCE Server sends a PCUpdmessage to the PCC, where DC=0 indicates the cancellation of the trusteeship to the PCC, and T=1 indicates that the role of the LSP is the primary LSP;
[0187] Step 6: After receiving the PCUd message, the PCC sends a PCRpt message to the PCE Server again, where D is set to 1 to delegate the LSP to the PCE Server, while keeping T=1 and DC=0.
[0188] 2. Backup LSP hosting and cancellation process
[0189] like Fig.16 As shown, the entrustment and cancellation process of the backup LSP is similar to the process of the primary LSP, except that the flag bit T of the LSP type is set to 2, indicating that it is a backup LSP.
[0190] 3. Escape LSP hosting and cancellation process
[0191] like Fig.17As shown, T=3 in the LSP Object carried in the PCInitiate message sent by the PCE Server to the PCC, indicating that the LSP is an escape path. When the PCC sends a report message (PCRpt message) to the PCE Server to entrust the LSP to the PCE Server, the PCE Server refuses the PCC's entrustment. At the same time, the PCE Server entrusts the LSP to the PCC for management by setting DC to 1 in the update message (PCUpdmessage).
[0192] After receiving the PCInitiate message, the PCC saves the relevant information of the escape path and does not establish the LSP temporarily. When it is detected in the subsequent process that both the primary and backup LSPs are down, the escape path LSP is triggered to be established. The LSP is not hosted by the PCEServer.
[0193] When some factors trigger the cancellation of the LSP's trusteeship to the PCC, the PCE Server sends a PCUpdmessage to the PCC, where DC=0 indicates the cancellation of the trusteeship to the PCC, and T=3 indicates that the role of the LSP is an escape path;
[0194] After receiving the PCUpd message, the PCC deletes the LSP of the escape path.
[0195] It should be noted that in the above Fig.15 , Fig.16 and Fig.17 In the illustrated embodiment, after the PCE server delegates the LSP to the PCC, the D flag of the LSP Object in all subsequent messages for the LSP shall be set to 0, the DC flag shall be set to 1, and the Tflag shall be set to a relevant value to indicate the role of the LSP until the PCE server withdraws the authority to delegate the LSP to the PCC. If the PCE server withdraws the authority to delegate the LSP to the PCC, the DC flag in all subsequent PCEP messages shall be set to 0, and the setting of the D flag shall be the same as the original protocol process.
[0196] 4. Use PCEP protocol extension method 2 and hosting process 2
[0197] In the initiate message sent by the PCE Server to the PCC, the T flag of the Association Object is set to indicate whether the role of the LSP is the primary LSP, the backup LSP, or the escape path. When the PCC hosts the LSP to the PCE Server, the update message responded by the PCE Server rejects the PCC's hosting to the PCE Server, and sets the DC flag of the LSP Object to host the LSP to the PCC for processing. When the PCE Server cancels the hosting to the PCC, it can set the DC flag to 0 in the update message.
[0198] 1. The process of hosting and canceling the hosting of the main LSP
[0199] like Fig.18 As shown in the figure, the hosting and cancellation process of the main LSP and Fig.15 The entrustment and cancellation process of the primary LSP in the PCEP protocol extension method 1 and the entrustment process 2 shown is similar, except that the T flag is carried in the AssociationObject.
[0200] 2. Backup LSP hosting and cancellation process
[0201] The difference between the backup LSP hosting and cancellation process and the primary LSP hosting and cancellation process is that the T flag is set to 2. Fig.19 As shown, no further description is given here.
[0202] 3. Escape LSP hosting and cancellation process
[0203] Escape route hosting and cancellation process and Fig.17 The PCEP protocol extension method 1 and the escape LSP hosting and cancellation process in the hosting process 2 are similar, except that the T flag is carried in the Association Object. Fig. 20 As shown, no further description is given here.
[0204] It should be noted that if the LSP is delegated to the PCC, the DC flag in the LSP Object in the subsequent interaction messages between the PCE Server and the PCC must be set to 1, the D flag must be set to 0, and the T flag in the Association Object must be set to the corresponding value to indicate the role of the LSP until the PCE Server revokes the authority to delegate the LSP to the PCC. If the PCE server revokes the authority to delegate the LSP to the PCC, the DC flag in all subsequent PCEP message LSP Objects must be set to 0, and the setting of the D flag is the same as the original protocol process. In addition, during the interaction process of delegation and cancellation of delegation, the Association ID is specified at the same time to associate the primary LSP, backup LSP, and escape path.
[0205] The above is an introduction to the method for PCE triggering the creation of LSP in the embodiment of the present invention. The following is an introduction to the PCE server and PCC (router) in the embodiment of the present invention.
[0206] Combination Fig.21 , an embodiment of the present invention provides a server 21, including:
[0207] An LSP establishment triggering unit 211 is configured to send a first message to a path calculation client PCC to trigger the establishment of an LSP;
[0208] The LSP entrusting unit 212 is used to entrust the management authority of the LSP to the PCC, so that the PCC calculates the path of the LSP and establishes the LSP according to the path.
[0209] In some specific embodiments, the server 21 further includes:
[0210] The LSP hosting cancellation unit 213 is configured to send a second message to the PCC to cancel the management authority of the hosted LSP, so that the PCC hosts the management authority of the LSP to the PCE server.
[0211] In some specific embodiments, the first message carries an indication of the management authority trusteeship of the LSP; the LSP trusteeship unit 212 is specifically used to notify the LSP establishment trigger unit to carry the indication of the management authority trusteeship of the LSP in the first message, and to trust the management authority of the LSP to the PCC through the indication of the management authority trusteeship of the LSP.
[0212] In some specific embodiments, the server 21 further includes:
[0213] The receiving unit 214 is configured to receive a hosting request for the LSP sent by the PCC, where the hosting request is sent by the PCC after receiving the first message;
[0214] The LSP entrustment unit 212 is specifically used to reject the LSP entrustment request sent by the PCC, send a third message to the PCC, the third message carries the LSP management authority entrustment indication, and entrust the LSP management authority to the PCC through the LSP management authority entrustment indication.
[0215] In some specific embodiments, the server 21 further includes:
[0216] The LSP role designation unit 215 is used to designate an LSP as a primary LSP, a backup LSP or an escape LSP.
[0217] In some specific embodiments, the LSP role specifying unit 215 is specifically used to notify the LSP establishment triggering unit to carry the LSP role indication in the first message, where the LSP role indication is used to identify the LSP as a primary LSP, a backup LSP or an escape LSP.
[0218] For the information interaction between the functional units in the embodiment of the present invention, please refer to the above method embodiment, which will not be described in detail here.
[0219] Combination Fig. 22 , an embodiment of the present invention provides a router 22, including:
[0220] A receiving unit 221 receives a first message sent by a PCE server, where the first message is used to trigger establishment of an LSP;
[0221] An LSP management authority obtaining unit 222, configured to obtain the management authority of the LSP according to the first message;
[0222] The LSP establishing unit 223 is used to calculate the path of the LSP after obtaining the management authority of the LSP, and establish the LSP according to the path.
[0223] In some specific embodiments, the receiving unit 221 is further used to receive a second message sent by the PCE server, where the second message is used to cancel the management authority of the managed LSP; the router 22 also includes:
[0224] The LSP trusteeship canceling unit 224 is configured to trust the management authority of the LSP to the PCE server after receiving the second message.
[0225] In some specific embodiments, the first message received by the receiving unit 221 carries a management authority trusteeship indication of the LSP;
[0226] The LSP management authority acquisition unit 222 is specifically configured to obtain the management authority of the LSP according to the management authority entrustment indication of the LSP.
[0227] In some specific embodiments, the router 22 further includes: an LSP hosting request unit 225, configured for the PCC to send a hosting request for the LSP to the PCE server after receiving the first message;
[0228] The receiving unit 221 is further configured to receive a third message sent by the PCE server, where the third message is a message sent by the PCE server after rejecting the LSP hosting request sent by the PCC, and the third message carries a management authority hosting indication of the LSP;
[0229] The LSP management authority acquisition unit 222 is specifically configured to obtain the management authority of the LSP according to the management authority entrustment indication of the LSP.
[0230] In some specific embodiments, the router 22 further includes: an LSP role acquisition unit 226, configured to acquire, according to the first message, whether the LSP is a primary LSP, a backup LSP, or an escape LSP.
[0231] In some specific embodiments, the first message received by the receiving unit 221 carries a role indication of the LSP; the LSP role acquisition unit 226 is specifically configured for the PCC to learn whether the LSP is a primary LSP, a backup LSP, or an escape LSP according to the role indication of the LSP.
[0232] For the information interaction between the functional units in the embodiment of the present invention, please refer to the above method embodiment, which will not be described in detail here.
[0233] Fig.23 23 is a schematic diagram of a server structure provided by an embodiment of the present invention. The server 2300 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 2322 (for example, one or more processors) and memory 2332, and one or more storage media 2330 (for example, one or more mass storage devices) storing application programs 2342 or data 2344. Among them, the memory 2332 and the storage medium 2330 may be temporary storage or permanent storage. The program stored in the storage medium 2330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 2322 may be configured to communicate with the storage medium 2330 to execute a series of instruction operations in the storage medium 2330 on the server 2300.
[0234] The server 2300 may also include one or more power supplies 2326, one or more wired or wireless network interfaces 2350, one or more input and output interfaces 2358, and / or one or more operating systems 2341, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0235] The steps performed by the PCE Server in the above embodiment can be based on the Fig.23 The server structure shown.
[0236] Fig.24 2 is another structural diagram of a router 24 according to an embodiment of the present invention. The router 240 may include at least one network interface or other communication interface, at least one receiver 2401, at least one transmitter 2402, at least one processor 2403 and a memory 2404 to realize the connection and communication between these devices, and realize the communication connection between the system gateway and at least one other network element through at least one network interface (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0237] The memory 2404 may include a read-only memory and a random access memory, and provide instructions and data to the processor 2403. A portion of the memory 2404 may also include a high-speed random access memory (RAM) and may also include a non-volatile memory.
[0238] The memory 2404 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
[0239] Operation instructions: include various operation instructions, used to implement various operations.
[0240] Operating system: includes various system programs used to implement various basic businesses and handle hardware-based tasks.
[0241] The steps performed by the PCC in the above embodiment can be based on the Fig.24 The router structure shown.
[0242] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0243] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0244] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0245] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0246] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0247] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0248] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for establishing a label switching path LSP, characterized in that: include: The path computation element PCE server sends a first message to the path computation client PCC to trigger the establishment of a path computation element initiated label switching path PCE initiated LSP; The PCE server delegates the management authority of the PCE initiated LSP to the PCC, so that the PCC calculates the path of the PCE initiated LSP and establishes the PCE initiated LSP according to the path.
2. The method according to claim 1, characterized in that The PCE server entrusting the management authority of the PCE initiated LSP to the PCC includes: The PCE server carries the management authority trusteeship indication of the PCE initiated LSP in the first message, and trusts the management authority of the PCE initiated LSP to the PCC through the management authority trusteeship indication of the PCE initiated LSP.
3. The method according to claim 2, characterized in that The first message is a PCC initialization message PCInitiate message.
4. The method according to claim 1, characterized in that: The PCE server entrusting the management authority of the PCE initiated LSP to the PCC includes: The PCE server sends a second message to the PCC, where the second message carries a management authority delegation indication of the PCE initiatedLSP, and the management authority of the PCEinitiated LSP is delegated to the PCC through the management authority delegation indication of the PCE initiated LSP.
5. The method according to claim 4, characterized in that The second message is an update message PCUpd Message.
6. The method according to any one of claims 1 to 5, characterized in that: The PCE server entrusting the management authority of the PCEinitiated LSP to the PCC includes: The PCE server sends an LSP object object to the PCC, where the LSP object includes a flag bit, and the flag bit is used to identify a hosting indication of the PCE initiated LSP.
7. A method for establishing a label switching path LSP, characterized in that: include: The path computation client PCC receives a first message sent by a path computation element PCE server, where the first message is used to trigger establishment of a label switching path PCE initiated LSP initiated by the path computation element; The PCC obtains the management authority of the PCE initiated LSP; After obtaining the management authority of the PCE initiated LSP, the PCC calculates the path of the PCE initiated LSP and establishes the PCE initiated LSP based on the path.
8. The method according to claim 7, characterized in that The PCC obtains the management authority of the PCE initiated LSP including: The first message carries an indication of the management authority delegation of the PCE initiated LSP, so as to delegate the management authority of the PCEinitiated LSP to the PCC, and the PCC obtains the management authority of the PCE initiated LSP according to the indication of the management authority delegation of the PCE initiated LSP.
9. The method according to claim 8, characterized in that The first message is a PCC initialization message PCInitiate message.
10. The method according to claim 7, characterized in that The PCC obtains the management authority of the PCE initiated LSP including: The PCC receives a second message sent by the PCE server, where the second message carries a management authority trusteeship indication of the PCEinitiated LSP; The PCC obtains the management authority of the PCE initiatedLSP according to the management authority trusteeship indication of the PCE initiated LSP.
11. The method according to claim 10, characterized in that The second message is an update message PCUpdMessage.
12. The method according to any one of claims 7 to 11, characterized in that: The PCC obtains the management authority of the PCEinitiated LSP including: The PCC receives an LSP object sent by the PCE server, where the LSP object includes a flag bit, and the flag bit is used to identify a hosting indication of the PCE initiated LSP.
13. The method according to any one of claims 7 to 11, characterized in that The method further comprises: The PCC learns, according to the first message, that the LSP is a primary LSP, a backup LSP, or an escape LSP.
14. A server, characterized in that: include: An LSP establishment triggering unit, configured to send a first message to a path computation client PCC to trigger the establishment of a label switched path PCE initiated LSP initiated by a path computation unit; The LSP hosting unit is used to host the management authority of the PCE initiated LSP to the PCC, so that the PCC calculates the path of the PCE initiated LSP and establishes the PCE initiated LSP according to the path.
15. The server according to claim 14, characterized in that: The first message carries a management authority trusteeship indication of the PCE initiated LSP; The LSP hosting unit is specifically used to notify the LSP establishment trigger unit to carry the management authority hosting indication of the PCE initiated LSP in the first message, and to host the management authority of the PCE initiated LSP to the PCC through the management authority hosting indication of the PCE initiated LSP.
16. The server according to claim 15, characterized in that The first message is a PCC initialization message PCInitiate message.
17. The server according to claim 14, characterized in that: The server also includes: The LSP hosting unit is specifically used to send a second message to the PCC, wherein the second message carries a management authority hosting indication of the PCEinitiated LSP, and the management authority of the PCE initiated LSP is hosted to the PCC through the management authority hosting indication of the PCE initiated LSP.
18. The server according to claim 17, characterized in that: The second message is an update message PCUpdMessage.
19. The server according to any one of claims 14 to 18, characterized in that: The LSP hosting unit is specifically used to send an LSP object to the PCC, where the LSP object includes a flag bit, and the flag bit is used to identify the hosting indication of the PCEinitiated LSP.
20. A router, characterized in that: include: A receiving unit, receiving a first message sent by a PCE server, where the first message is used to trigger the establishment of a label switched path PCE initiated LSP initiated by a path computation unit; An LSP management authority acquisition unit, configured to obtain the management authority of the PCE initiated LSP according to the first message; The LSP establishing unit is used to calculate the path of the PCEinitiated LSP after obtaining the management authority of the PCE initiated LSP, and establish the PCE initiated LSP according to the path.
21. The router according to claim 20, characterized in that: The first message received by the receiving unit carries a management authority trusteeship indication of the PCE initiated LSP; The LSP management authority acquisition unit is specifically used to obtain the management authority of the PCE initiated LSP according to the management authority trusteeship indication of the PCE initiated LSP.
22. The router according to claim 21, characterized in that: The first message is a PCC initialization message PCInitiate message.
23. The router according to claim 20, characterized in that: The receiving unit is also used to receive a second message sent by the PCE server, wherein the second message carries an indication of the management authority trusteeship of the PCE initiated LSP; the LSP management authority acquisition unit is specifically used to obtain the management authority of the PCE initiated LSP according to the indication of the management authority trusteeship of the PCE initiated LSP.
24. The router according to claim 23, characterized in that: The second message is an update message PCUpdMessage.
25. The router according to any one of claims 20 to 24, characterized in that: The LSP management authority acquisition unit is specifically used to receive the LSP object object sent by the PCE server, and the LSP object includes a flag bit, and the flag bit is used to identify the hosting indication of the PCE initiated LSP.
26. The router according to any one of claims 20 to 24, characterized in that: The router also includes: An LSP role acquisition unit is used to obtain, according to the first message, whether the PCE initiated LSP is a primary LSP, a backup LSP or an escape LSP.
27. A network system, comprising the server according to any one of claims 14 to 19 and the router according to any one of claims 20 to 26.
Citation Information
Patent Citations
PCE-based method for dynamically calculating TE-LSP in OTN
CN101729401A
Method and system for authorizing management of terminals of internet of things
CN102142974A