CN109428865B - Method for switching label switching path updating authority and related equipment - Google Patents

Method for switching label switching path updating authority and related equipment Download PDF

Info

Publication number
CN109428865B
CN109428865B CN201710762128.5A CN201710762128A CN109428865B CN 109428865 B CN109428865 B CN 109428865B CN 201710762128 A CN201710762128 A CN 201710762128A CN 109428865 B CN109428865 B CN 109428865B
Authority
CN
China
Prior art keywords
message
lsp
pce
pcc
updating
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
CN201710762128.5A
Other languages
Chinese (zh)
Other versions
CN109428865A (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.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201710762128.5A priority Critical patent/CN109428865B/en
Publication of CN109428865A publication Critical patent/CN109428865A/en
Application granted granted Critical
Publication of CN109428865B publication Critical patent/CN109428865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Abstract

The invention provides a method for switching label switching path updating authority and a related device, wherein the method comprises the following steps: receiving a PCUpd message, wherein the PCUpd message carries information for returning the updating authority of at least two LSPs created by the PCC; receiving a PCInitiate message created by a path computation label switching path; and authorizing the updating authorities of the at least two LSPs to the PCE sending the PCInitiate message according to the information carried by the PCInitiate message. In this way, the efficiency of switching LSP update authority between PCEs may be improved.

Description

Method for switching label switching path updating authority and related equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for switching an update permission of a label switched path and a related device.
Background
A Software Defined Network (SDN) is a novel Network architecture, and its design concept is to separate a control plane and a data forwarding plane of a Network, so as to implement programmable control of underlying hardware through a Software platform in a centralized controller, thereby implementing flexible Network resource allocation as required.
In the SDN, a Path Computation Client (PCC) may grant a permission of an attribute parameter updating capability of a Label Switched Path (LSP) created by the PCC to a Path Computation Element (PCE), so that the PCE may update the LSP in time according to a change of a current network environment, thereby optimizing a whole network resource. However, in the existing SDN, there may exist a plurality of PCCs whose LSP update authority is concentrated on a PCE, which causes the PCE to be overloaded; at this time, the LSP update authority of the PCE needs to be switched to other PCEs to share the load. For such a situation, the industry adopts a method that according to a local policy, a PCC sends a Path Computation LSP State Report (PCRpt) message to a PCE to authorize or revoke a specific LSP update permission, thereby achieving the purpose of switching LSP update permissions between PCEs. However, this method can only switch the updating right of one LSP at a time, which brings a lot of workload to the operation and maintenance personnel, makes the operation cumbersome, and is difficult to meet the service requirement that an operator switches all the LSP updating rights acquired by a PCE to another PCE at a time, so the efficiency of switching the LSP updating rights between PCEs is low.
Therefore, in the current SDN, the efficiency of switching the LSP update permission between PCEs is low.
Disclosure of Invention
The embodiment of the invention aims to provide a method and related equipment for switching label switched path updating permission, which solve the problem that the efficiency of switching LSP updating permission between PCEs in the existing SDN is low.
In order to achieve the above object, an embodiment of the present invention provides a method for switching an update permission of a label switched path, including:
receiving a Path Computation LSP Update Request (PCUpd for short) message, wherein the PCUpd message carries information for returning the Update permission of at least two Label Switched Paths (LSP) created by a Path Computation Client (PCC);
receiving a Path Computation LSP initial (PCInitiate for short) message;
and authorizing the updating authorities of the at least two LSPs to the PCE sending the PCInitiate message according to the information carried by the PCInitiate message.
The embodiment of the invention also provides another method for switching the updating authority of the label switching path, which comprises the following steps:
constructing a PCUpd message, so that the PCUpd message carries information for returning the updating authority of at least two LSPs established by PCC;
and sending the PCUpd message to the PCC.
The embodiment of the invention also provides another method for switching the updating authority of the label switching path, which comprises the following steps:
constructing a PCInitiate message, and enabling the PCInitiate message to carry information for acquiring the updating authority of at least two LSPs of PCE returning PCC;
sending the PCInitiate message to the PCC.
The embodiment of the present invention further provides a device for switching updating permission of a label switched path, including:
a first receiving module, configured to receive a PCUpd message, where the PCUpd message carries information for returning update permissions of at least two LSPs created by a path computation client PCC;
the second receiving module is used for receiving the PCInitiate message;
and the authorization module is used for authorizing the updating authorities of the at least two LSPs to the PCE sending the PCInitiate message according to the information carried by the PCInitiate message.
The embodiment of the present invention further provides another apparatus for switching an update permission of a label switched path, including:
a first construction module, configured to construct a PCUpd message, so that the PCUpd message carries information for returning update permissions of at least two LSPs created by the PCC;
a first sending module, configured to send the PCUpd message to the PCC.
The embodiment of the present invention further provides another apparatus for switching an update permission of a label switched path, including:
a second construction module, configured to construct a pcinitial message, so that the pcinitial message carries information used for acquiring update permissions of at least two LSPs of the PCE returning PCC;
a second sending module, configured to send the pcinitial message to the PCC.
The embodiment of the present invention further provides a network element, which includes a memory, a processor, and a computer program that is stored in the memory and can be run on the processor, and when the processor executes the program, the method for switching the label switched path update permission described in the server is implemented.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the method for switching the label switched path update authority in a network element.
One of the above technical solutions has the following advantages or beneficial effects:
in the embodiment of the invention, by receiving a PCUpd message, the PCUpd message carries information for returning the updating authority of at least two LSPs created by PCC; receiving a PCInitiate message; authorizing the updating authorities of the at least two LSPs to a PCE (packet switching element) sending the PCInitiate message according to the information carried by the PCInitiate message; in this way, the message interaction between the PCE and the PCC can be reduced, and therefore the efficiency of switching the LSP updating authority between PCEs is improved.
Drawings
FIG. 1 is a diagram of a network architecture to which embodiments of the present invention may be applied;
fig. 2 is a flowchart of a method for switching an update permission of a label switched path according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a format structure of an LSP object according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another method for switching label switched path update permission according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a format structure of an entity identifier according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating another method for switching label switched path update permission according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating another method for switching label switched path update permission according to an embodiment of the present invention;
fig. 8 is a structural diagram of an apparatus for switching updating permission of a label switched path according to an embodiment of the present invention;
fig. 9 is a block diagram of another apparatus for switching label switched path update authority according to an embodiment of the present invention;
fig. 10 is a block diagram of another apparatus for switching label switched path update authority according to an embodiment of the present invention;
fig. 11 is a block diagram of another apparatus for switching label switched path update authority according to an embodiment of the present invention;
fig. 12 is a block diagram of a network element according to an embodiment of the present invention;
fig. 13 is a block diagram of another network element according to an embodiment of the present invention;
fig. 14 is a block diagram of another network element according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following detailed description is made with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1, fig. 1 is a network structure diagram applicable to the embodiment of the present invention, and as shown in fig. 1, includes a first path calculation unit 1, a second path calculation unit 2, a first path calculation client 3, and a second path calculation client 4; the first Path calculating unit 1 and the second Path calculating unit 2 may establish communication with the first Path calculating client 3, and the first Path calculating unit 1 and the second Path calculating unit 2 may also establish communication with the second Path calculating client 4, where it is to be noted that the network shown in the figure may be based on a Path calculating unit Protocol (PCEP for short).
Referring to fig. 2, an embodiment of the present invention provides a method for switching label switched path update permission, which may be applied to a PCC, and includes the following steps:
step 201, receiving a PCUpd message, where the PCUpd message carries information for returning the update permission of at least two LSPs created by the PCC.
Wherein, it needs to be noted that, in this step, the PCUpd message sent by the PCE is received by the PCC; in addition, the update permission of the LSP may be understood as the capability or permission of the PCC to update the attribute parameters of the created LSP; it should be further noted that, returning the update permission of the LSP created by the PCC may be understood as a case where, after a PCC creates an LSP, the capability of updating attribute parameters of the LSP originally belongs to the PCC, but after the PCC transfers the capability to a PCE through authorization, the PCE may automatically update parameters of the LSP according to a change of a current line or network to adapt to the current network, and at this time, the PCE may return the authorization of the capability of updating the parameters by sending a PCUpd message to the PCC. For example, a primary PCC carries an LSP object in a PCRpt message sent to a target PCE, where a format of the LSP object is shown in fig. 3, where an authorization identifier, that is, a delete Flag, is set to 1 to indicate that the primary PCC authorizes an update right of an LSP created by the primary PCC to the target PCE, at this time, the primary PCC may send the PCRpt message to the target PCE, where the PCRpt message carries the LSP object, where an authorization identifier (delete Flag) is set to 0, and revoke the authorization. The target PCE may also authorize the LSP corresponding to the label switched path identity, PLSP-ID, as shown in fig. 3, by sending a pcadd message to the primary PCC, where the pcadd message carries an LSP object, where a grant Flag (delete Flag) is set to 0, and it is noted that the label switched path identity (PLSP-ID) is an identity corresponding to a specific LSP.
Step 202, receiving a pcinitial message.
Wherein, in the step, the PCInitiate message sent by the PCE is received through the PCC; it should be further noted that, the PCE may send the pcinitial message through the PCC to enable the PCC to actively trigger establishment of a new LSP, such an LSP actively created by the PCC must automatically grant the update permission to the PCE, and the PCC cannot revoke the authorization of such an actively created LSP. But the PCE may return such grants by sending a PCUpd message to the PCC, at which point the PCC must start a state wait timeout timer, before which other PCEs may reacquire grants by constructing a pcinitial message. It should be noted that the receiving of the pcinitial message is completed in the state timer, which can ensure that the traffic on the LSP is not interrupted and reduce network oscillation.
Step 203, according to the information carried by the pcinitial message, authorizing the update permission of the at least two LSPs to the PCE sending the pcinitial message.
It should be noted that this step grants, through the PCC, the update permission of the at least two LSPs to the PCE that sent the pcinitial message, where the PCC may receive LSP update permission returned by multiple PCEs, and may also grant the returned LSP update permission to multiple PCEs. Meanwhile, after the original PCE returns the authorization of the LSP to a PCC, the PCC authorizes the authorization of the LSP to the original PCE again according to an exponential back-off mechanism.
In the embodiment of the invention, by receiving a PCUpd message, the PCUpd message carries information for returning the updating authority of at least two LSPs created by PCC; receiving a PCInitiate message; authorizing the updating authorities of the at least two LSPs to a PCE (packet switching element) sending the PCInitiate message according to the information carried by the PCInitiate message; in this way, the message interaction between the PCC and the PCE can be greatly reduced, and therefore the efficiency of switching the LSP updating authority between the PCEs is improved.
Referring to fig. 4, an embodiment of the present invention further provides another method for switching label switched path update permission, which may be applied to a PCC and includes the following steps:
step 401, receiving a PCUpd message, where the PCUpd message carries an LSP object, where an authorization flag in the LSP object is 0, a label switched path flag is 0, and the LSP object indicates returning of update permissions of at least two LSPs created by the PCC.
Wherein, the PCUpd message sent by PCE is received by PCC in the step; the LSP object may be a Delegate Flag, the label switching path identifier may be a PLSP-ID, and at this time, the LSP object indicates that the PCE sending the pcadd message obtains all LSP update permissions on the PCC to be returned. It should be further noted that, after receiving the PCUpd message, the PCC traverses all LSPs authorized to the PCE, sends a PCRpt message for responding to the PCUpd message to the PCE, and starts a state timeout timer.
Step 402, sending the pcinite message to the PCC.
Wherein, in this step, the pcinitial message sent by the PCE is received by the PCC. It should be further noted that, the PCE may send the pcinitial message through the PCC to enable the PCC to actively trigger establishment of a new LSP, such an LSP actively created by the PCC must automatically grant the update permission to the PCE, and the PCC cannot revoke the authorization of such an actively created LSP. But the PCE may return such grants by sending a PCUpd message to the PCC, at which point the PCC must start a state wait timeout timer, before which other PCEs may reacquire grants by constructing a pcinitial message.
Step 403, according to the information carried by the pcinitial message, authorizing the update permission of the at least two LSPs to the PCE sending the pcinitial message.
It should be noted that in this step, the update permissions of the at least two LSPs are granted to the PCE sending the pcinitial message through the PCC, where the PCC may receive LSP update permissions returned by multiple PCEs, and may also grant the returned LSP update permissions to multiple PCEs. Meanwhile, after the original PCE returns the authorization of the LSP to a PCC, the PCC re-authorizes the authorization of the LSP to the original PCE according to an exponential back-off mechanism.
Optionally, the step of authorizing, according to the information carried by the pcinitial message, the update permissions of the at least two LSPs to the PCE that sends the pcinitial message includes:
if the PCInitiate message carries an LSP object and an entity identity, the entity identity carries an IP address of a designated PCE, and a label switched path identifier in the LSP object is 0, authorizing updating authorities of at least two LSPs to the PCE which sends the PCInitiate message, wherein the at least two updating authorities are PCE returning PCC updating authorities corresponding to the IP address of the designated PCE;
if the PCInitiate message carries an LSP object and an entity identity and a label switching path identifier in the LSP object is not 0, authorizing an updating right of an LSP corresponding to the label switching path identifier to a PCE (peripheral component element) sending the PCInitiate message;
and if the PCInitiate message carries an LSP object, and the label switching path identifier in the LSP object is not 0 and does not carry an entity identity identifier, establishing an LSP corresponding to the label switching path identifier.
It should be noted that the execution subject of this step may be PCC; in addition, The ENTITY ID may be The ENTITY-IDENTITY-ID TLV, The label switched path IDENTITY may be PLSP-ID, and The IP address of The specified PCE may be populated in The peer IDENTITY of The ENTITY ID, i.e., The Speaker ENTITY Identifier, as shown in fig. 5. In this way, a PCE to authorize or return an authorization may be quickly specified.
Describing by a specific example, as shown in fig. 1, a first path computing unit 1 sends a PCUpd message to a first path computing client 3, where the PCUpd message carries an LSP object, an authorization Flag (delete Flag) in the LSP object is 0, and a label switched path identifier (PLSP-ID) is 0, and then the first path computing unit 1 returns all update permissions of all LSPs authorized by the client to the first path computing client 3; after receiving the PCUpd message, the first path computation client 3 analyzes the LSP object carried in the message, and if the authorization identifier in the LSP object is 0 and the label switched path identifier is 0, the first path computation client 3 sends a PCRpt message to the first path computation unit 1, where the authorization identifier in the LSP object carried in the PCRpt message is 0, which indicates that the revocation of LSP authorization is confirmed, and a state timeout timer is started for each LSP. At this time, The second path calculating unit 2 constructs a pcinitial message, The pcinitial message carries an ENTITY IDENTITY (The ENTITY-IDENTITY-ID TLV), a peer IDENTITY (Speaker IDENTITY Identifier) in The ENTITY IDENTITY is filled with The IP address of The first path calculating unit 1, and a label switched path Identifier in an LSP object carried in The pcinitial message is 0; when the first path computation client 3 receives the pcinitial message, analyzes the pcinitial message, and determines that the label switched path identifier is 0 and carries an entity identity identifier, at this time, the first path computation client 3 authorizes the authorization of all LSPs returned by the first path computation unit 1 to the second path computation unit 2, so that the second path computation unit 2 has the capability of updating the attribute parameters of all LSPs returned by the first path computation unit 1, that is, the update permission, that is, the authorization of the update permission of the LSPs is quickly switched from the first path computation unit 1 to the second path computation unit 2.
In the embodiment of the invention, a PCUpd message is received, the PCUpd message carries an LSP object, the authorization mark in the LSP object is 0, the label switching path mark is 0, and the LSP object represents returning the updating authority of at least two LSPs created by PCC; authorizing the updating rights of the at least two LSPs to a PCE (packet switching element) sending the PCInitiate message according to the information carried by the PCInitiate message by sending the PCInitiate message to the PCC; in this way, the message interaction between the PCC and the PCE can be reduced, and therefore the efficiency of switching the LSP updating authority between PCEs is improved.
Referring to fig. 6, an embodiment of the present invention further provides another method for switching label switched path update permission, which may be applied to a PCE, and includes the following steps:
step 601, constructing a PCUpd message, so that the PCUpd message carries information for returning the update permission of at least two LSPs created by the PCC.
It should be noted that the body for constructing the PCUpd message may be a PCE.
Step 602, sending the PCUpd message to the PCC.
Wherein, the PCE sends the PCUpd message to the PCC to indicate to return the updating authority of at least two LSPs created by the PCC.
Optionally, the step of constructing the PCUpd message so that the PCUpd message carries information for returning the update permissions of the at least two LSPs created by the PCC includes:
and constructing a PCUpd message to enable the PCUpd message to carry an LSP object, setting an authorization mark in the LSP object as 0, and setting a label switching path mark as 0, wherein the LSP object represents returning of the updating rights of at least two LSPs created by the PCC.
The LSP object is in the format shown in fig. 3, the authorization Flag may be a delete Flag, and the label switched path identifier may be PLSP-ID.
In the embodiment of the invention, a PCUpd message is constructed, so that the PCUpd message carries information for returning the updating authority of at least two LSPs created by PCC; sending the PCUpd message to the PCC; in this way, message interaction between the PCE and the PCC can be reduced, and therefore the efficiency of switching the updating authority of the LSP between the PCEs is improved.
Referring to fig. 7, an embodiment of the present invention provides another method for switching label switched path update permission, which may be applied to a PCE, and includes the following steps:
step 701, constructing a pcinitial message, so that the pcinitial message carries information for acquiring the update permission of at least two LSPs of the PCE returning PCC.
It should be noted that the body for constructing the pcinitial message may be a PCE.
Step 702, sending the pcinite message to the PCC.
And the PCE sends the PCUpd message to the PCC to represent the authorization for acquiring the updating right of at least two LSPs created by the PCC.
Optionally, the step of constructing a pcinitial message, so that the pcinitial message carries information for acquiring update permissions of at least two LSPs of the PCE returning PCC includes:
constructing a PCInitiate message, enabling the PCInitiate message to carry an LSP object and an entity identity, and enabling the entity identity to carry an IP address of a designated PCE, setting a label switching path identifier in the LSP object to be 0, wherein the LSP object and the entity identity are used for acquiring updating authorities of at least two LSPs, and the at least two updating authorities are updating authorities of returning PCCs corresponding to the IP address of the designated PCE.
It should be noted that, The format of The ENTITY IDENTITY is shown in fig. 5, The ENTITY IDENTITY may be The ENTITY-IDENTITY-ID TLV, The label switched path IDENTITY may be a PLSP-ID, and The IP address of The specified PCE may be filled in a Speaker ENTITY Identifier, which is a peer IDENTITY of The ENTITY IDENTITY.
In the embodiment of the invention, the PCInitiate message is constructed to carry information for acquiring the updating authority of at least two LSPs of PCE returning PCC; sending the PCInitiate message to the PCC; in this way, message interaction between the PCE and the PCC can be reduced, and therefore the efficiency of switching the updating authority of the LSP between the PCEs can be improved.
Referring to fig. 8, an embodiment of the present invention provides an apparatus 800 for switching label switched path update permission, including:
a first receiving module 801, configured to receive a PCUpd message, where the PCUpd message carries information for returning update permissions of at least two LSPs created by a path computation client PCC;
a second receiving module 802, configured to receive a pcinitial message;
an authorizing module 803, configured to authorize, according to the information carried in the pcinitial message, the update permission of the at least two LSPs to the PCE that sends the pcinitial message.
Optionally, the first receiving module 801 is configured to receive a PCUpd message, where the PCUpd message carries an LSP object, an authorization flag in the LSP object is 0, a label switched path identifier is 0, and the LSP object indicates returning of update permissions of at least two LSPs created by the PCC.
Optionally, as shown in fig. 9, the authorization module 803 includes:
a first authorization sub-module 8031, configured to authorize, if the pcinitial message carries an LSP object and an entity identity, and the entity identity carries an IP address of a designated PCE, and a label switched path identifier in the LSP object is 0, update permissions of at least two LSPs to the PCE that sends the pcinitial message, where the at least two update permissions are update permissions returned by the PCE corresponding to the IP address of the designated PCE;
a second authorization sub-module 8032, configured to authorize, if the pcinitial message carries an LSP object and an entity identity, and a label switched path identifier in the LSP object is not 0, an update permission of an LSP corresponding to the label switched path identifier to a PCE that sends the pcinitial message;
a creating sub-module 8033, configured to create an LSP corresponding to the label switched path identifier if the pcinitial message carries an LSP object, and the label switched path identifier in the LSP object is not 0 and does not carry an entity identity identifier.
The apparatus 500 for switching an update permission of a label switched path according to the embodiment of the present invention may implement the steps in the embodiments of the method for switching an update permission of a label switched path shown in fig. 2 and 4 in the embodiment of the present invention, and achieve the same beneficial effects, which are not described herein again.
Referring to fig. 10, an embodiment of the present invention further provides an apparatus 1000 for switching an update permission of a label switched path, including:
a first constructing module 1001, configured to construct a PCUpd message, so that the PCUpd message carries information for returning update permissions of at least two LSPs created by a PCC;
a first sending module 1002, configured to send the PCUpd message to the PCC.
Optionally, the first constructing module 1001 is configured to construct a PCUpd message, so that the PCUpd message carries an LSP object, set an authorization flag in the LSP object to be 0, set a label switching path flag to be 0, and indicate that the LSP object returns the update permissions of at least two LSPs created by the PCC.
The apparatus 1000 for switching an update permission of a label switched path according to the embodiment of the present invention may implement the steps in the embodiment of the method for switching an update permission of a label switched path shown in fig. 6 in the embodiment of the present invention, and achieve the same beneficial effects, which are not described herein again.
Referring to fig. 11, an embodiment of the present invention further provides another apparatus 1100 for switching an update permission of a label switched path, where the apparatus 1100 includes:
a second constructing module 1101, configured to construct a pcinitial message, so that the pcinitial message carries information used for acquiring update permissions of at least two LSPs of the PCE returning PCC;
a second sending module 1102, configured to send the pcinitial message to the PCC.
Optionally, the second constructing module 1101 is configured to construct a pcinitial message, so that the pcinitial message carries an LSP object and an entity identity, and the entity identity carries an IP address of a specified PCE, set a label switched path identifier in the LSP object to 0, where the LSP object and the entity identity are used to obtain update permissions of at least two LSPs, where the at least two update permissions are update permissions of PCE return PCCs corresponding to the IP address of the specified PCE.
The apparatus 1100 for switching an update permission of a label switched path according to the embodiment of the present invention can implement the steps in the embodiment of the method for switching an update permission of a label switched path shown in fig. 7 in the embodiment of the present invention, and achieve the same beneficial effects, which are not described herein again.
Referring to fig. 12, fig. 12 is a structural diagram of a network element applied in the embodiment of the present invention, which can implement details of the method for switching the label switched path update permission in the embodiments shown in fig. 2 and fig. 4, and achieve the same effect. As shown in fig. 12, the network-side device 1200 includes: a processor 1201, a transceiver 1202, a memory 1203, a user interface 1204 and a bus interface, wherein:
in this embodiment of the present invention, the network side device 1200 further includes: a computer program stored on the memory 1203 and executable on the processor 1201, the computer program when executed by the processor 1201 performing the steps of:
receiving a path computation label switched path update request (PCUpd) message, wherein the PCUpd message carries information for returning the update permission of at least two Label Switched Paths (LSPs) created by a Path Computation Client (PCC);
receiving a PCInitiate message;
and authorizing the updating authorities of the at least two LSPs to the PCE sending the PCInitiate message according to the information carried by the PCInitiate message.
In fig. 12, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by the processor 1201, and various circuits, represented by the memory 1203, linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 1202 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The user interface 1204 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, a display, a speaker, a microphone, a joystick, etc.
The processor 1201 is responsible for managing a bus architecture and general processing, and the memory 1203 may store data used by the processor 1201 in performing operations.
Optionally, the computer program may further implement the following steps when executed by the processor 1201:
the receiving of the PCUpd message, where the PCUpd message carries information for returning the update permission of at least two LSPs created by the PCC, includes:
receiving a PCUpd message, wherein the PCUpd message carries an LSP object, an authorization mark in the LSP object is 0, a label switching path mark is 0, and the LSP object represents returning of the updating rights of at least two LSPs created by the PCC.
Optionally, the computer program may further implement the following steps when executed by the processor 1201:
the step of authorizing the update rights of the at least two LSPs to the PCE sending the pcinitial message according to the information carried by the pcinitial message includes:
if the PCInitiate message carries an LSP object and an entity identity, the entity identity carries an IP address of a designated PCE, and a label switched path identifier in the LSP object is 0, authorizing updating authorities of at least two LSPs to the PCE which sends the PCInitiate message, wherein the at least two updating authorities are PCE returning PCC updating authorities corresponding to the IP address of the designated PCE;
if the PCInitiate message carries an LSP object and an entity identity and a label switching path identifier in the LSP object is not 0, authorizing an updating right of an LSP corresponding to the label switching path identifier to a PCE (peripheral component element) sending the PCInitiate message;
and if the PCInitiate message carries an LSP object, and the label switching path identifier in the LSP object is not 0 and does not carry an entity identity identifier, establishing an LSP corresponding to the label switching path identifier.
In the network side device of the embodiment of the invention, a paging message is sent to a terminal, and if a data sending instruction indicating sending exists in the paging message, a downlink data packet is sent to the terminal. Therefore, the downlink data packet can be directly transmitted after the paging message is sent, so that the downlink data packet can be transmitted without establishing RRC connection after the paging message is received like the prior art, and the time delay for transmitting the downlink data packet can be reduced.
Referring to fig. 13, fig. 13 is a structural diagram of a network element applied in the embodiment of the present invention, which can implement details of the method for switching the label switched path update permission in the embodiment shown in fig. 6, and achieve the same effect. As shown in fig. 13, the network-side device 1300 includes: a processor 1301, a transceiver 1302, a memory 1303, a user interface 1304, and a bus interface, wherein:
in this embodiment of the present invention, the network side device 1300 further includes: a computer program stored on the memory 1303 and executable on the processor 1301, the computer program when executed by the processor 1301 performing the steps of:
constructing a PCUpd message, so that the PCUpd message carries information for returning the updating authority of at least two LSPs established by PCC;
and sending the PCUpd message to the PCC.
In fig. 13, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 1301 and various circuits of memory represented by memory 1303 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 1302 may be a plurality of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The user interface 1304 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 1301 is responsible for managing a bus architecture and general processing, and the memory 1303 may store data used by the processor 1301 in performing operations.
Optionally, the computer program may further implement the following steps when executed by the processor 1201:
the receiving the PCUpd message, and the constructing the PCUpd message so that the PCUpd message carries information for returning the update permission of the at least two LSPs created by the PCC includes:
and constructing a PCUpd message to enable the PCUpd message to carry an LSP object, setting an authorization mark in the LSP object as 0, and setting a label switching path mark as 0, wherein the LSP object represents returning of the updating rights of at least two LSPs created by the PCC.
In the network side device of the embodiment of the invention, a paging message is sent to a terminal, and if a data sending instruction indicating sending exists in the paging message, a downlink data packet is sent to the terminal. Therefore, the downlink data packet can be directly transmitted after the paging message is sent, so that the downlink data packet can be transmitted without establishing RRC connection after the paging message is received like the prior art, and the time delay for transmitting the downlink data packet can be reduced.
Referring to fig. 14, fig. 14 is a structural diagram of a network element applied in the embodiment of the present invention, which can implement details of the method for switching the label switched path update permission in the embodiment shown in fig. 7, and achieve the same effect. As shown in fig. 14, the network side device 1400 includes: a processor 1401, a transceiver 1402, a memory 1403, a user interface 1404, and a bus interface, wherein:
in this embodiment of the present invention, the network side device 1400 further includes: a computer program stored on the memory 1403 and executable on the processor 1401, which computer program, when executed by the processor 1401, performs the steps of:
constructing a PCInitiate message, and enabling the PCInitiate message to carry information for acquiring the updating authority of at least two LSPs of PCE returning PCC;
sending the PCInitiate message to the PCC.
In fig. 14, a bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 1401 and various circuits of memory represented by memory 1403 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 1402 may be a plurality of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. For different user devices, the user interface 1404 may also be an interface capable of interfacing with a desired device externally, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 1401 is responsible for managing a bus architecture and general processing, and the memory 1403 may store data used by the processor 1401 in performing operations.
Optionally, the computer program when executed by the processor 1401 may further implement the steps of:
the step of constructing the pcinitial message so that the pcinitial message carries information for acquiring the update permission of at least two LSPs of which the PCE returns the PCC includes:
constructing a PCInitiate message, enabling the PCInitiate message to carry an LSP object and an entity identity, and enabling the entity identity to carry an IP address of a designated PCE, setting a label switching path identifier in the LSP object to be 0, wherein the LSP object and the entity identity are used for acquiring updating authorities of at least two LSPs, and the at least two updating authorities are updating authorities of returning PCCs corresponding to the IP address of the designated PCE.
In the network side device of the embodiment of the invention, a paging message is sent to a terminal, and if a data sending instruction indicating sending exists in the paging message, a downlink data packet is sent to the terminal. Therefore, the downlink data packet can be directly transmitted after the paging message is sent, so that the downlink data packet can be transmitted without establishing RRC connection after the paging message is received like the prior art, and the time delay for transmitting the downlink data packet can be reduced.
A computer-readable medium is also provided in the present embodiment, and those skilled in the art can understand that all or part of the steps of implementing the method in the embodiments shown in fig. 2 and fig. 4 can be implemented by hardware associated with program instructions, where the program may be stored in a computer-readable medium, and when executed, the program includes the following steps:
receiving a path computation label switched path update request (PCUpd) message, wherein the PCUpd message carries information for returning the update permission of at least two Label Switched Paths (LSPs) created by a Path Computation Client (PCC);
receiving a PCInitiate message;
and authorizing the updating authorities of the at least two LSPs to the PCE sending the PCInitiate message according to the information carried by the PCInitiate message.
Optionally, when the program is executed, the receiving a PCUpd message, where the PCUpd message carries information for returning the update permissions of at least two LSPs created by the PCC includes:
receiving a PCUpd message, wherein the PCUpd message carries an LSP object, an authorization mark in the LSP object is 0, a label switching path mark is 0, and the LSP object represents returning of the updating rights of at least two LSPs created by the PCC.
Optionally, when the program is executed, the step of authorizing, according to information carried in the pcinitial message, the update permissions of the at least two LSPs to the PCE that sends the pcinitial message includes:
if the PCInitiate message carries an LSP object and an entity identity, the entity identity carries an IP address of a designated PCE, and a label switched path identifier in the LSP object is 0, authorizing updating authorities of at least two LSPs to the PCE which sends the PCInitiate message, wherein the at least two updating authorities are PCE returning PCC updating authorities corresponding to the IP address of the designated PCE;
if the PCInitiate message carries an LSP object and an entity identity and a label switching path identifier in the LSP object is not 0, authorizing an updating right of an LSP corresponding to the label switching path identifier to a PCE (peripheral component element) sending the PCInitiate message;
and if the PCInitiate message carries an LSP object, and the label switching path identifier in the LSP object is not 0 and does not carry an entity identity identifier, establishing an LSP corresponding to the label switching path identifier.
Another computer-readable medium is also provided in this embodiment, and those skilled in the art can understand that all or part of the steps of the method for implementing the embodiment shown in fig. 6 above can be implemented by hardware associated with program instructions, where the program may be stored in a computer-readable medium, and when executed, the program includes the following steps:
constructing a PCUpd message, so that the PCUpd message carries information for returning the updating authority of at least two LSPs established by PCC;
and sending the PCUpd message to the PCC.
Optionally, when the program is executed, the receiving a PCUpd message, and the constructing a PCUpd message so that the PCUpd message carries information for returning the update permissions of at least two LSPs created by the PCC includes:
and constructing a PCUpd message to enable the PCUpd message to carry an LSP object, setting an authorization mark in the LSP object as 0, and setting a label switching path mark as 0, wherein the LSP object represents returning of the updating rights of at least two LSPs created by the PCC.
Another computer-readable medium is also provided in this embodiment, and those skilled in the art can understand that all or part of the steps of the method for implementing the embodiment shown in fig. 7 described above can be implemented by hardware associated with program instructions, where the program may be stored in a computer-readable medium, and when executed, the program includes the following steps:
constructing a PCInitiate message, and enabling the PCInitiate message to carry information for acquiring the updating authority of at least two LSPs of PCE returning PCC;
sending the PCInitiate message to the PCC.
Optionally, when the program is executed, the step of constructing a pcinitial message, so that the pcinitial message carries information for acquiring update permissions of at least two LSPs of the PCE returning PCC includes:
constructing a PCInitiate message, enabling the PCInitiate message to carry an LSP object and an entity identity, and enabling the entity identity to carry an IP address of a designated PCE, setting a label switching path identifier in the LSP object to be 0, wherein the LSP object and the entity identity are used for acquiring updating authorities of at least two LSPs, and the at least two updating authorities are updating authorities of returning PCCs corresponding to the IP address of the designated PCE.
The storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The foregoing is illustrative of the present invention and it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the invention and are intended to be within the scope of the invention.

Claims (6)

1. A method for switching label switched path update authority, comprising:
receiving a PCUpd message of a path computation label switched path update request, wherein the PCUpd message carries LSP objects for returning update permissions of at least two Label Switched Paths (LSPs) created by a Path Computation Client (PCC), authorization marks in the LSP objects are 0, and label switched paths are marked as 0;
receiving a PCInitiate message created by a path computation label switching path;
according to the information carried by the pcinitial message, authorizing the update permission of the at least two LSPs to the PCE sending the pcinitial message, including:
if the PCInitiate message carries an LSP object and an entity identity, the entity identity carries an IP address of a designated PCE, and a label switched path identifier in the LSP object is 0, authorizing updating authorities of at least two LSPs to the PCE which sends the PCInitiate message, wherein the at least two updating authorities are updating authorities of PCE returned PCC corresponding to the IP address of the designated PCE;
if the PCInitiate message carries an LSP object and an entity identity identifier, and a label switching path identifier in the LSP object is not 0, authorizing an updating right of an LSP corresponding to the label switching path identifier to a PCE (peripheral component element) sending the PCInitiate message;
and if the PCInitiate message carries an LSP object, the label switching path identifier in the LSP object is not 0, and the entity identity identifier is not carried, establishing an LSP corresponding to the label switching path identifier.
2. A method for switching label switched path update authority, comprising:
constructing a PCUpd message, enabling the PCUpd message to carry an LSP object for returning the updating authority of at least two LSPs created by PCC, setting an authorization mark in the LSP object as 0, and setting a label switching path mark as 0;
sending the PCUpd message to the PCC;
constructing a PCInitiate message, enabling the PCInitiate message to carry an LSP object and an entity identity, and enabling the entity identity to carry an IP address of a designated PCE, setting a label switching path identifier in the LSP object to be 0, wherein the LSP object and the entity identity are used for acquiring updating authorities of at least two LSPs, and the at least two updating authorities are PCE returning PCC updating authorities corresponding to the IP address of the designated PCE;
sending the pcinitial message to the PCC so that the PCC authorizes the update rights of the at least two LSPs to the PCE sending the pcinitial message according to the information carried by the pcinitial message, which includes:
if the PCInitiate message carries an LSP object and an entity identity, the entity identity carries an IP address of a designated PCE, and a label switched path identifier in the LSP object is 0, authorizing updating authorities of at least two LSPs to the PCE which sends the PCInitiate message, wherein the at least two updating authorities are updating authorities of PCE returned PCC corresponding to the IP address of the designated PCE;
if the PCInitiate message carries an LSP object and an entity identity identifier, and a label switching path identifier in the LSP object is not 0, authorizing an updating right of an LSP corresponding to the label switching path identifier to a PCE (peripheral component element) sending the PCInitiate message;
and if the PCInitiate message carries an LSP object, the label switching path identifier in the LSP object is not 0, and the entity identity identifier is not carried, establishing an LSP corresponding to the label switching path identifier.
3. An apparatus for switching label switched path update authority, comprising:
a first receiving module, configured to receive a PCUpd message, where the PCUpd message carries an LSP object that returns update permissions of at least two LSPs created by a path computation client PCC, an authorization flag in the LSP object is 0, and a label switched path flag is 0;
the second receiving module is used for receiving the PCInitiate message;
an authorization module, configured to authorize, according to information carried by the pcinitial message, the update permission of the at least two LSPs to a PCE that sends the pcinitial message, where the authorization module specifically includes:
a first authorization sub-module, configured to authorize update permissions of at least two LSPs to a PCE that sends the pcinite message if the pcinite message carries an LSP object and an entity identity, and the entity identity carries an IP address of a designated PCE, and a label switched path identifier in the LSP object is 0, where the at least two update permissions are update permissions of a returned PCC corresponding to the IP address of the designated PCE;
a second authorization sub-module, configured to authorize, if the pcinitial message carries an LSP object and an entity identity, and a label switched path identifier in the LSP object is not 0, an update permission of an LSP corresponding to the label switched path identifier to a PCE that sends the pcinitial message;
and the creating sub-module is used for creating an LSP corresponding to the label switched path identifier if the PCInitiate message carries an LSP object, and the label switched path identifier in the LSP object is not 0 and does not carry an entity identity identifier.
4. An apparatus for switching label switched path update authority, comprising:
a first construction module, configured to construct a PCUpd message, so that the PCUpd message carries an LSP object that returns update permissions of at least two LSPs created by a PCC, set an authorization flag in the LSP object to be 0, and set a label switched path identifier to be 0;
a first sending module, configured to send the PCUpd message to the PCC;
a second construction module, configured to construct a pcinitial message, so that the pcinitial message carries an LSP object and an entity identity, and the entity identity carries an IP address of an assigned PCE, set a label switched path identifier in the LSP object to 0, where the LSP object and the entity identity are used to obtain update permissions of at least two LSPs, where the at least two update permissions are update permissions returned to the PCC by the PCE corresponding to the IP address of the assigned PCE;
a second sending module, configured to send the pcinitial message to the PCC, so that the PCC authorizes, according to information carried in the pcinitial message, the update permission of the at least two LSPs to a PCE that sends the pcinitial message, where the second sending module specifically includes:
if the PCInitiate message carries an LSP object and an entity identity, the entity identity carries an IP address of a designated PCE, and a label switched path identifier in the LSP object is 0, authorizing updating authorities of at least two LSPs to the PCE which sends the PCInitiate message, wherein the at least two updating authorities are updating authorities of PCE returned PCC corresponding to the IP address of the designated PCE;
if the PCInitiate message carries an LSP object and an entity identity identifier, and a label switching path identifier in the LSP object is not 0, authorizing an updating right of an LSP corresponding to the label switching path identifier to a PCE (peripheral component element) sending the PCInitiate message;
and if the PCInitiate message carries an LSP object, the label switching path identifier in the LSP object is not 0, and the entity identity identifier is not carried, establishing an LSP corresponding to the label switching path identifier.
5. A network element comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for switching label switched path update authority according to any of claims 1-2 when executing the program.
6. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the method for switching label switched path update authority according to any one of claims 1-2.
CN201710762128.5A 2017-08-30 2017-08-30 Method for switching label switching path updating authority and related equipment Active CN109428865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710762128.5A CN109428865B (en) 2017-08-30 2017-08-30 Method for switching label switching path updating authority and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710762128.5A CN109428865B (en) 2017-08-30 2017-08-30 Method for switching label switching path updating authority and related equipment

Publications (2)

Publication Number Publication Date
CN109428865A CN109428865A (en) 2019-03-05
CN109428865B true CN109428865B (en) 2021-12-07

Family

ID=65503857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710762128.5A Active CN109428865B (en) 2017-08-30 2017-08-30 Method for switching label switching path updating authority and related equipment

Country Status (1)

Country Link
CN (1) CN109428865B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924654A (en) * 2010-08-23 2010-12-22 中兴通讯股份有限公司 Point-to-multipoint service-based path switching method and system
US8885463B1 (en) * 2011-10-17 2014-11-11 Juniper Networks, Inc. Path computation element communication protocol (PCEP) extensions for stateful label switched path management
CN105634951A (en) * 2014-11-05 2016-06-01 中兴通讯股份有限公司 Label switched path (LSP) graceful restart (GR) recovery method and apparatus
CN105763447A (en) * 2014-12-16 2016-07-13 中兴通讯股份有限公司 Label switching path state acquisition method and apparatus thereof
CN106130901A (en) * 2016-06-03 2016-11-16 华为技术有限公司 Method, device and the system of a kind of data transmission
CN106936712A (en) * 2015-12-30 2017-07-07 华为技术有限公司 Set up method, server and the router of LSP

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209088B (en) * 2012-01-17 2016-12-28 华为技术有限公司 Ring network label switch path creation method and associated devices and communication system
US8817591B2 (en) * 2012-06-15 2014-08-26 Cisco Technology, Inc. Inter-domain signaling to update remote path computation elements after a call set-up failure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924654A (en) * 2010-08-23 2010-12-22 中兴通讯股份有限公司 Point-to-multipoint service-based path switching method and system
US8885463B1 (en) * 2011-10-17 2014-11-11 Juniper Networks, Inc. Path computation element communication protocol (PCEP) extensions for stateful label switched path management
CN105634951A (en) * 2014-11-05 2016-06-01 中兴通讯股份有限公司 Label switched path (LSP) graceful restart (GR) recovery method and apparatus
CN105763447A (en) * 2014-12-16 2016-07-13 中兴通讯股份有限公司 Label switching path state acquisition method and apparatus thereof
CN106936712A (en) * 2015-12-30 2017-07-07 华为技术有限公司 Set up method, server and the router of LSP
CN106130901A (en) * 2016-06-03 2016-11-16 华为技术有限公司 Method, device and the system of a kind of data transmission

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于弹性标签的多跳虚拟链路交换机制设计与实现";郁迪;《中国优秀硕士学位论文全文数据库-信息科技辑》;20170315;全文 *

Also Published As

Publication number Publication date
CN109428865A (en) 2019-03-05

Similar Documents

Publication Publication Date Title
EP3629624B1 (en) Quality of service control method and related device
EP3101849A1 (en) Flow table entry generation method and device
CN112449315B (en) Network slice management method and related device
JP7048763B2 (en) Communication method and communication device
CN110290561B (en) Local service sending method and network equipment
KR20200004397A (en) FOSS control method and device
US10567172B2 (en) Method for updating a key, and master transmission point
CN109831548B (en) Virtual content delivery network vCDN node establishment method and server
JP6730511B2 (en) Network policy update trigger method, management entity and core network device
KR20170118165A (en) Method and apparatus for updating a network service technician
CN112654070B (en) Communication method, device, equipment and storage medium between user terminals
CN113079541B (en) Report information sending method, device and system
EP3562204A1 (en) Method and apparatus for selecting user plane anchor
JP6037251B2 (en) Method, device, and system for controlling network paths
CN107769946B (en) Network configuration method and network equipment
JP6609690B2 (en) Method, apparatus and system for changing relevance relationship between MCPTT users and MCPTT groups
CN113542098B (en) Method, system, device and storage medium for establishing and switching SD-WAN tunnel
WO2019137169A1 (en) Data transmission method, apparatus and device, and computer-readable storage medium
US10511494B2 (en) Network control method and apparatus
CN109428865B (en) Method for switching label switching path updating authority and related equipment
CN114567880A (en) Communication method, system and computer readable storage medium
CN107968825B (en) Message forwarding control method and device
CN114302355A (en) Policy and charging control method and device, electronic equipment and storage medium
CN112512022A (en) TSN industrial application server, client, system, service method and storage medium
CN111510912A (en) Control method of terminal transmission rate, base station and core network equipment

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