WO2018077313A1 - 连接能力的通告方法及装置 - Google Patents
连接能力的通告方法及装置 Download PDFInfo
- Publication number
- WO2018077313A1 WO2018077313A1 PCT/CN2017/117005 CN2017117005W WO2018077313A1 WO 2018077313 A1 WO2018077313 A1 WO 2018077313A1 CN 2017117005 W CN2017117005 W CN 2017117005W WO 2018077313 A1 WO2018077313 A1 WO 2018077313A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- pce
- pcc
- message
- pces
- pcep
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004364 calculation method Methods 0.000 claims description 35
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 3
- 101100290389 Schizosaccharomyces pombe (strain 972 / ATCC 24843) ceg1 gene Proteins 0.000 description 28
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004321 preservation Methods 0.000 description 2
- 238000013480 data collection Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Definitions
- This document relates to, but is not limited to, the field of communications, and in particular, to a method and apparatus for advertising a connection capability.
- a Path Computation Element is an entity, component, application, or network node that is capable of computing a network path or route based on a network map and applying computational constraints.
- the Path Computation Client is a client application that requests path calculations to be performed by the PCE.
- RFC 4655 describes a PCE-based architecture for Multiprotocol Label Switching (MPLS) and Generalized Multiprotocol Label Switching (GMPLS) traffic engineering (TE) label switching paths.
- Path calculation for (Label Switched Paths, LSP).
- PCEP Path Computation Element Protocol
- RRC 5440 The Path Computation Element Protocol
- the PCEP protocol defined in RFC 4655 establishes a session based on the Transmission Control Protocol (TCP), port number 4189, and specifies that each PCC can only establish a PCEP session with a PCE at any time. At any time, each PCEP peer can only establish one TCP connection.
- TCP Transmission Control Protocol
- the embodiment of the invention provides a method and device for notifying the connection capability.
- a method for advertising a connection capability including: creating a path calculation unit protocol PCEP message in a path calculation client PCC, wherein the PCEP message carrying is used to represent the PCC Attribute information of the multi-connection capability; the PCEP message is advertised to one or more of the PCEs in the PCEP session phase of the PCC and the path calculation unit PCE.
- the method further includes: receiving a role request message of the PCE, where the role request message carries a priority of the PCE a level attribute; assigning a PCE role to the PCE according to the priority attribute.
- assigning the PCE role to the PCE according to the priority attribute includes: comparing a priority attribute of the PCE with a priority attribute of a currently connected primary PCE; and the priority attribute of the PCE is higher than a current connection
- the PCE role of the PCE is assigned to the primary PCE when the priority attribute of the primary PCE.
- the PCE role includes: a primary PCE, a secondary PCE, a parent PCE, and a child PCE.
- the method further includes: determining a session interruption between PCEs of the PCC; determining a primary PCE according to a preset priority election; Sending a role request message to the primary PCE and switching the connection with the PCE to the primary PCE.
- determining that the session interruption between the PCEs of the PCC comprises at least one of: determining, when the PCC receives the shutdown message of the PCE, a session interruption between PCEs of the PCC; When the PCC does not receive the keep-alive message of the PCE within a predetermined time interval, determining that the session between the PCEs of the PCC is interrupted; detecting that the TCP connection between the PCC and the PCE is faulty At the time, the session interruption between the PCEs of the PCC is determined.
- the method further includes: determining, according to the preset priority election, a slave role from the PCE; and sending the role request message to the slave PCE.
- the attribute information includes: an identifier field that is carried in an Open message.
- a connection capability notification apparatus comprising: a creation module, configured to create a path calculation unit protocol PCEP report in a path calculation client PCC
- the PCEP packet carries attribute information for characterizing that the PCC has multi-connection capability;
- the notification module is configured to notify the PCEP message in a PCEP session phase of the PCC and the path calculation unit PCE Give one or more of the PCEs.
- the device further includes: a receiving module, configured to receive a role request message of the PCE after the advertising module advertises the PCEP message to one or more of the PCEs, where The role request message carries a priority attribute of the PCE; and an allocation module is configured to allocate a PCE role to the PCE according to the priority attribute.
- a receiving module configured to receive a role request message of the PCE after the advertising module advertises the PCEP message to one or more of the PCEs, where The role request message carries a priority attribute of the PCE
- an allocation module is configured to allocate a PCE role to the PCE according to the priority attribute.
- the allocating module includes: a comparing unit, configured to compare a priority attribute of the PCE with a priority attribute of a currently connected primary PCE; and a determining unit, configured to set a priority attribute of the PCE higher than a current When the priority attribute of the connected primary PCE is assigned, the PCE role of the PCE is assigned as the primary PCE.
- the PCE role includes: a primary PCE, a secondary PCE, a parent PCE, and a child PCE.
- the device includes: a determining module, configured to determine, after the advertising module advertises the PCEP message to one or more of the PCEs, a session interruption between PCEs of the PCC;
- the election module is configured to determine the primary PCE according to the preset priority election;
- the processing module is configured to send a role request message to the primary PCE, and switch the connection with the PCE to the primary PCE.
- the determining module is configured to determine a session interruption between PCEs of the PCC by at least one of: determining, when the PCC receives the closing message of the PCE, determining a PCE of the PCC Inter-session interruption; determining that the session between the PCEs of the PCC is interrupted when the PCC does not receive the keep-alive message of the PCE within a predetermined time interval; detecting the PCC and the PCE When the transmission control protocol TCP connection fails, the session interruption between the PCEs of the PCC is determined.
- the device further includes: a second election module, configured to: after the first election module determines the primary PCE according to the preset priority election, determine the slave PCE according to the preset priority election; Set to send a role request message to the slave PCE.
- a second election module configured to: after the first election module determines the primary PCE according to the preset priority election, determine the slave PCE according to the preset priority election; Set to send a role request message to the slave PCE.
- the attribute information includes: an identifier field that is carried in an Open message.
- a storage medium is also provided.
- the storage medium setting To store the program code used to perform the following steps:
- the PCEP message is advertised to one or more of the PCEs during a PCEP session of the PCC and the path computation unit PCE.
- a path calculation unit protocol PCEP message is created in the path calculation client PCC, wherein the PCEP message carries attribute information for characterizing that the PCC has multiple connection capabilities; in the PCC and the path calculation unit PCE During the PCEP session, the PCEP message is advertised to one or more of the PCEs.
- the PCC establishes multiple PCEP session connections with multiple PCEs. It can realize the switching of PCE connection and ensure the continuity of business.
- FIG. 1 is a flowchart of a method of notifying a connection capability according to an embodiment of the present invention
- FIG. 2 is a structural block diagram of an apparatus for notifying a connection capability according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of the overall functional architecture of the PCE of the embodiment.
- FIG. 5 is a format diagram of an Open object of an Open message according to the embodiment.
- Figure 6 is a diagram of the MULTIPLE-PCE-CAPABILITY-TLV format of the present embodiment
- FIG. 7 is a block diagram of the PCE-ROLE-TLV of the present embodiment.
- Figure 8 is a flowchart showing the initialization of the multiple PCE connection of the embodiment.
- FIG. 11 is a flowchart of PCE switching in a hierarchical PCE scenario of this embodiment.
- FIG. 1 is a flowchart of a method for advertising a connection capability according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
- Step S102 Create a path calculation unit protocol PCEP message in the path calculation client PCC, where the PCEP message carries attribute information for characterizing the PCC with multiple connection capabilities;
- Step S104 the PCEP message is advertised to one or more PCEs in the PCEP session phase of the PCC and the path calculation unit PCE.
- a path calculation unit protocol PCEP packet is created in the path calculation client PCC, where the PCEP packet carries attribute information for characterizing the PCC with multiple connection capabilities; in the PCEP session phase of the PCC and the path calculation unit PCE, A PCEP packet is advertised to one or more PCEs.
- the PCC establishes multiple PCEP session connections with multiple PCEs to implement PCE connection switching and ensure services. Continuity.
- the execution body of the foregoing steps may be a PCC, a control end of the PCC, or the like, but is not limited thereto.
- the attribute information includes: an identifier field that is carried in the Open message.
- the PCC establishes multiple PCEP session connections with multiple PCEs. When one connection fails, the PCC can quickly switch to another connection to ensure that the connection is fast. Business continuity. It can be active or passive.
- the method further includes:
- assigning the PCE role to the PCE according to the priority attribute includes: comparing the priority attribute of the PCE with the priority attribute of the currently connected primary PCE; when the priority attribute of the PCE is higher than the priority attribute of the currently connected primary PCE The PCE role of the PCE is assigned to the primary PCE.
- the priority attribute is pre-configured on the PCE side, and the PCC can obtain the priority attribute of the connected PCE.
- the PCE role includes: a primary PCE, a secondary PCE, a parent PCE, and a child PCE.
- the method includes:
- the method further includes: determining, according to the preset priority election, the slave PCE; and sending the role request message to the slave PCE.
- the session interruption between the PCEs of the PCC is triggered by the following scenario: when the PCC receives the shutdown message of the PCE, it determines that the session between the PCEs of the PCC is interrupted; the PCC does not receive within the predetermined time interval. When the PCE keeps alive message, it determines the session interruption between the PCEs of the PCC; when it detects that the transmission control protocol TCP connection between the PCC and the PCE is faulty, it determines the session interruption between the PCEs of the PCC.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
- the embodiment also provides a notification device for the connection capability, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- connection capability notification device includes:
- the creating module 20 is configured to create a path calculation unit protocol PCEP packet in the path calculation client PCC, where the PCEP packet carries attribute information for characterizing the PCC having multiple connection capabilities;
- the notification module 22 is configured to notify the PCEP message to one or more PCEs during the PCEP session phase of the PCC and the path computation unit PCE.
- the attribute information includes: an identifier field that is carried in the Open message.
- the apparatus further includes: a receiving module, configured to: after the advertising module advertises the PCEP message to the one or more PCEs, receive a role request message of the PCE, where the role request message carries The priority attribute of the PCE; the allocation module is set to assign the PCE role to the PCE according to the priority attribute.
- a receiving module configured to: after the advertising module advertises the PCEP message to the one or more PCEs, receive a role request message of the PCE, where the role request message carries The priority attribute of the PCE; the allocation module is set to assign the PCE role to the PCE according to the priority attribute.
- the allocating module comprises: a comparing unit, configured to compare the priority attribute of the PCE with the priority attribute of the currently connected primary PCE; and the determining unit is configured to set the priority attribute of the PCE higher than the priority of the currently connected primary PCE When the level attribute is used, the PCE role of the PCE is assigned to the primary PCE.
- the PCE role of this embodiment includes: a primary PCE, a secondary PCE, a parent PCE, and a child PCE.
- the apparatus includes: a determining module, configured to determine a session interruption between PCEs of the PCC after the advertising module notifies the PCEP message to the one or more PCEs; the first election module And setting to determine the primary PCE according to the preset priority election; the processing module is configured to send a role request message to the primary PCE, and switch the connection with the PCE to the primary PCE.
- the determining module determines that the session interruption between the PCEs of the PCC includes at least one of: determining that the session between the PCEs of the PCC is interrupted when the PCC receives the closing message of the PCE; When the PCC does not receive the keep-alive message of the PCE within the predetermined time interval, it determines that the session between the PCEs of the PCC is interrupted; when it is detected that the transmission control protocol TCP connection between the PCC and the PCE fails, it is determined that the PCE of the PCC is between The session was interrupted.
- the device further includes: a second election module, configured to: after the first election module determines the primary PCE according to the preset priority election, determine the slave PCE according to the preset priority election; the sending module is configured to send to the slave PCE Role request message.
- a second election module configured to: after the first election module determines the primary PCE according to the preset priority election, determine the slave PCE according to the preset priority election; the sending module is configured to send to the slave PCE Role request message.
- each of the above modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
- the forms are located in different processors.
- This embodiment provides a method for implementing multiple PCE control and connection of the PCEP protocol.
- the PCC establishes multiple PCEP session connections with multiple PCEs. When a connection fails, it can quickly switch to another connection to ensure that Business continuity.
- the method for implementing the PCEP protocol multi-PCE connection in this embodiment includes: extending the PCEP protocol message to notify multiple PCE connection capability attribute information or role information, and the role information of the PCE includes a master PCE (primary PCE) and a slave PCE (from the PCE).
- the extended PCEP protocol advertisement multi-connection capability attribute information includes an extension field of the extended PCEP protocol carrying an identifier field having a multi-connection capability attribute;
- the extended PCEP protocol advertisement PCE role information includes an extended PCEP protocol adding a PCE Role Request (PCRrq)
- PCE role request message carries the role information of the PCE, and the PCrq message is sent by the PCE to the PCC to request its own role change.
- the extended PCEP protocol advertises the PCE role information, and the extended PCEP protocol adds a PCE Role Reply (PCR rp) message to carry the role information of the PCE.
- PCR rp PCE Role Reply
- the PCR rp message is sent by the PCC to the PCE to notify the current Master PCE.
- NMS Network Management System
- TED Traffic Engineering Database
- path calculation module PCE communication module
- PCE communication module etc. 4 is a multi-PCE connection network diagram of the present embodiment, and the content of the embodiment of the present invention is explained below with reference to FIG.
- the path calculation client PCC establishes a PCEP session with a plurality of path calculation units PCE1, PCE2, and PCE3.
- PCE1 is the master role and PCE2 and PCE3 are the slave roles.
- the PCC selects PCE2 or PCE3 as the master, and the PCEP session switches between the new master PCE and the PCC.
- Capability advertisement (E-C, C-E): PCC and PCE need to announce the ability to have multiple PCE connections during the PCEP session.
- the PCE sends a role request message to the PCC.
- the PCC receives the role request message from the PCE, it selects the master PCE according to the parameters in the message.
- FIG. 5 is a format diagram of an Open object of an Open message according to this embodiment.
- the Open object is encapsulated in an Open message, and is sent between the PCC and the PCE by an Open message.
- the Ver field in the Open object is the version number of the PCEP
- the Flag field is the identifier bit
- the keepalive field is the interval at which the PCEP peer sends Keepalive messages in seconds.
- the Deadtimer field is the expiration time of the PCEP session. If the keepalive message of the peer is not received within the Deadtimer time, the peer is considered to be faulty and the PCEP session needs to be cancelled.
- the SID field (PCEP session ID) is the identification number of the PCEP session.
- Optional TVLs is a TLV that may be carried in an Open object.
- FIG. 6 is a format diagram of the MULTIPLE-PCE-CAPABILITY-TLV format of the present embodiment, and the descriptions of the respective fields are as follows:
- the Type field indicates that the TLV is a MULTIPLE-PCE-CAPABILITY TLV
- the Length field is the length of the TLV
- the Flag field is an identifier that may be needed for this TLV. Currently, no identifier is defined.
- the priority Priority field is the master PCE election priority, and the PCE sends Open to the PCC.
- the message carries the priority of the PCE, and the field in the Open message sent by the PCC is filled with 0.
- the PCRrq message includes only the Role object, and the Role object includes the PCE-ROLE-TLV.
- FIG. 7 is a PCE-ROLE-TLV format diagram of the present embodiment. As shown in FIG. 7, the role request message is sent by the PCE device to the PCC device.
- the PCRrp message also contains only the Role object, where the Role object contains the PCE-ROLE-TLV.
- the role response message is sent by the PCC device to the PCE device.
- PCE-ROLE-TLV format of the embodiment of the present invention is as shown in FIG. 7, and the fields are defined as follows:
- the Type field identifies the TLV as PCE-ROLE-TLV
- the Length field is the length of the TLV
- the PCE-ROLE field is the role of the PCE and can be taken as the master or slave.
- the Priority Priority field is the master PCE election priority.
- PCE-ROLE-TLV When the PCE-ROLE-TLV is carried in the PCRrp and sent by the PCC to the PCE, this field is filled with the value of the current priority of the Master PCE.
- PCE-ROLE-TLV When the PCE-ROLE-TLV is carried in the PCRrq and sent by the PCE to the PCC, this field is used. Fill in the value of the priority of the PCE.
- the master-PCE-ID field is the router id of the master PCE and the length is 32 bits.
- the value of the field is filled with the router ID identifier of the PCE;
- the field is The value populates the router ID ID of the master PCE.
- FIG. 8 is an initial flowchart of the multi-PCE connection of the embodiment, illustrating the initialization process of the multiple PCE connection in the embodiment of the present invention.
- PCC expects to establish PCEP sessions with PCE1 and PCE2, respectively, PCE1, PCE2 Both the PC and the PCC need to advertise their ability to have multiple PCE connections in Open messages.
- the initialization process with multiple PCE connections is as follows:
- the PCC sends an Open message to the PCE1, and the message carries the MULTIPLE-PCE-CAPABILITY TLV according to the embodiment of the present invention, and announces that the PCC has the capability of multiple PCE connections;
- PCE1 also sends an Open message to the PCC, which also carries the MULTIPLE-PCE-CAPABILITY TLV proposed by the embodiment of the present invention, and announces that PCE1 also has the capability of multiple PCE connections;
- the PCC and the PCE2 also send Open messages carrying the MULTIPLE-PCE-CAPABILITY TLV to each other, and announce that each has the capability of multiple PCE connections;
- the PCC After receiving the Open message of PCE1, the PCC sends a keepalive message according to the interval defined in the keepalive field of the Open message to perform session preservation of the PCEP;
- PCE1 After receiving the Open message of the PCC, PCE1 also sends a keepalive message according to the interval defined by the keepalive field in the Open message to perform session preservation of the PCEP.
- FIG. 9 is a flow chart of PCE handover initiated by the PCC in this embodiment, and illustrates a flow of performing PCE handover initiated by the PCC by using the content of the embodiment of the present invention.
- PCC establishes a PCEP session with PCE1, PCE2, and PCE3, where PCE1 is the master PCE and PCE2 and PCE3 are the slave PCEs.
- the PCC sends a PCR rp message to the PCE2, and the PCR rp message carries the PCE-ROLE-TLV information.
- the PCE-Role field takes the value of the master, and the master-PCE-ID is the router ID of the PCE2.
- the PCC also sends a PCR rp message to the PCE3.
- the PCR rp message also carries the PCE-ROLE-TLV information.
- the PCE-Role field takes the value of the slave, and the master-PCE-ID takes the value of the router ID of the PCE2.
- the master master who completed the PCC switched from PCE1 to PCE2.
- FIG. 10 is a flowchart of a PCE-initiated PCE handover according to the embodiment of the present invention.
- the embodiment of the present invention in conjunction with FIG. 10, illustrates a PCE handover procedure initiated by a PCE by using the content of the embodiment of the present invention.
- PCC establishes a PCEP session with PCE1, PCE2, and PCE3, where PCE1 is the master PCE, and PCE2 and PCE3 are the slave PCEs. PCE2 hopes to replace PCE1 as the master PCE.
- PCE2 sends a PCRrq message to the PCC, and the PCRrq message carries the PCE-ROLE-TLV, wherein the PCE-role field is the master, the priority is the priority of the PCE2, and the master-PCE-ID is the router ID of the PCE2;
- the PCC After the PCC receives the PCRrq message request from the PCE to change the Role, it compares the priority of PCE2 with the current Master PCE. If the priority of PCE2 is higher than the current priority of the master PCE, the PCC switches the current master PCE. Is PCE2, and sends a PCRrp message to the PCE to announce that the master PCE has changed;
- the PCC sends a PCR rp message to the PCE1, where the PCE-Role message is from the slave, the priority field is the priority of the PCE2, and the master-PCE-ID is the router ID of the PCE2;
- the PCC also sends a PCRrp message to the PCE2, where the PCE-Role message is the master, the priority field is the priority of the PCE2, and the master-PCE-ID is the router ID of the PCE2;
- the PCC sends a PCRrp message to the PCE3, wherein the PCE-Role message is a slave, the priority field is the priority of the PCE2, and the master-PCE-ID is the router ID of the PCE2.
- FIG. 11 is a flowchart of a PCE handover in a hierarchical PCE scenario according to the embodiment of the present invention.
- FIG. 11 illustrates a method for PCE handover in a hierarchical PCE scenario by using the content of the embodiment of the present invention.
- PCE1, PCE2, and PCE3 are sub-PCEs, which are managed and controlled by the parent PCE
- PCE1 is the master PC
- PCE2 and PCE3 are the slave PCEs.
- the master PCE needs to notify the parent PCE of the link state data, and the other slave PCEs only need to synchronize the state with the master PCE.
- PCE2 replaces PCE1 to advertise the link state data to the parent PCE.
- Embodiments of the present invention also provide a storage medium.
- the foregoing storage medium may be configured to store program code for performing the following steps:
- S1 Create a path calculation unit protocol PCEP packet in the path calculation client PCC, where the PCEP packet carries attribute information for characterizing that the PCC has multiple connection capabilities;
- the PCEP message is advertised to one or more of the PCEs in a PCEP session of the PCC and the path calculation unit PCE.
- the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
- ROM Read-Only Memory
- RAM Random Access Memory
- a mobile hard disk e.g., a hard disk
- magnetic memory e.g., a hard disk
- the processor generates a path calculation unit protocol PCEP message in the path calculation client PCC according to the stored program code in the storage medium, where the PCEP message carries PCC has attribute information of multiple connection capabilities;
- the processor performs the PCEP session in the PCC and the path calculation unit PCE to notify the one or more of the PCEP messages according to the stored program code in the storage medium. PCE.
- computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules, or other data. , removable and non-removable media.
- Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
- communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media.
- the foregoing embodiment can implement multiple PCEP session connections between the PCC and multiple PCEs to implement PCE connection switching and ensure service continuity.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
一种连接能力的通告方法及装置,其中,该方法包括:在路径计算客户端PCC创建路径计算单元协议PCEP报文,其中,所述PCEP报文携带设置为表征所述PCC具备多连接能力的属性信息(S102);在所述PCC和路径计算单元PCE的PCEP会话阶段,将所述PCEP报文通告给一个或多个所述PCE(S104)。
Description
本文涉及但不限于通信领域,具体而言,涉及一种连接能力的通告方法及装置。
路径计算单元(Path Computation Element,PCE)是能够基于网络图来计算网络路径或者路由,并应用计算约束条件的实体、部件、应用程序或网络节点。路径计算客户(Path Computation Client,PCC)是请求待由PCE执行路径计算的客户应用程序。RFC 4655中描述了一种基于PCE的结构,用于多协议标签交换(Multiprotocol Label Switching,MPLS)和通用多协议标签交换(Generalized Multiprotocol Label Switching,GMPLS)流量工程(Traffic Engineer,TE)标签交换路径(Label Switched Paths,LSP)的路径计算。
PCE和PCC之间采用路径计算单元协议(Path Computation Element Protocol,PCEP)作为通信协议[RFC 5440],PCC通过PCEP协议请求来自PCE的路径或者路由,PCE将计算后的路径信息转发给PCC。
RFC 4655中定义PCEP协议基于传输控制协议(Transmission Control Protocol,简称为TCP)建立会话(session),端口号4189,并且规定在任何时候每个PCC只能跟一个PCE建立PCEP会话(session),在任何时候,每个PCEP对等体只能建立一个TCP连接。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种连接能力的通告方法及装置。
根据本发明的一个实施例,提供了一种连接能力的通告方法,包括:在路径计算客户端PCC创建路径计算单元协议PCEP报文,其中,所述PCEP报文携带用于表征所述PCC具备多连接能力的属性信息;在所述PCC和路径计算单元PCE的PCEP会话阶段,将所述PCEP报文通告给一个或多个所述PCE。
可选地,在将所述PCEP报文通告给一个或多个所述PCE之后,所述方法还包括:接收所述PCE的角色请求消息,其中,所述角色请求消息携带所述PCE的优先级属性;根据所述优先级属性为所述PCE分配PCE角色。
可选地,根据所述优先级属性为所述PCE分配PCE角色包括:比较所述PCE的优先级属性与当前连接的主PCE的优先级属性;在所述PCE的优先级属性高于当前连接的主PCE的优先级属性时,将所述PCE的PCE角色分配为主PCE。
可选地,所述PCE角色包括:主PCE、从PCE、父PCE、子PCE。
可选地,在将所述PCEP报文通告给一个或多个所述PCE之后,所述方法还包括:确定所述PCC的PCE之间的会话中断;根据预设优先级选举确定主PCE;向所述主PCE发送角色请求消息,并将与所述PCE之间的连接切换到所述主PCE。
可选地,确定所述PCC的PCE之间的会话中断包括以下至少之一:在所述PCC接收到所述PCE的关闭消息时,确定所述PCC的PCE之间的会话中断;在所述PCC在预定时间间隔内未收到所述PCE的保活消息时,确定所述PCC的PCE之间的会话中断;在检测到所述PCC与所述PCE之间的传输控制协议TCP连接出现故障时,确定所述PCC的PCE之间的会话中断。
可选地,在根据预设优先级选举确定主PCE之后,所述方法还包括:根据所述预设优先级选举确定从PCE;向所述从PCE发送角色请求消息。
可选地,所述属性信息包括:承载在Open消息中的标识字段。
根据本发明的另一个实施例,提供了一种连接能力的通告装置,包括:创建模块,设置为在路径计算客户端PCC创建路径计算单元协议PCEP报
文,其中,所述PCEP报文携带用于表征所述PCC具备多连接能力的属性信息;通告模块,设置为在所述PCC和路径计算单元PCE的PCEP会话阶段,将所述PCEP报文通告给一个或多个所述PCE。
可选地,所述装置还包括:接收模块,设置为在所述通告模块将所述PCEP报文通告给一个或多个所述PCE之后,接收所述PCE的角色请求消息,其中,所述角色请求消息携带所述PCE的优先级属性;分配模块,设置为根据所述优先级属性为所述PCE分配PCE角色。
可选地,所述分配模块包括:比较单元,设置为比较所述PCE的优先级属性与当前连接的主PCE的优先级属性;确定单元,设置为在所述PCE的优先级属性高于当前连接的主PCE的优先级属性时,将所述PCE的PCE角色分配为主PCE。
可选地,所述PCE角色包括:主PCE、从PCE、父PCE、子PCE。
可选地,所述装置包括:确定模块,设置为在所述通告模块将所述PCEP报文通告给一个或多个所述PCE之后,确定所述PCC的PCE之间的会话中断;第一选举模块,设置为根据预设优先级选举确定主PCE;处理模块,设置为向所述主PCE发送角色请求消息,并将与所述PCE之间的连接切换到所述主PCE。
可选地,所述确定模块是设置为通过以下至少之一种方式确定所述PCC的PCE之间的会话中断:在所述PCC接收到所述PCE的关闭消息时,确定所述PCC的PCE之间的会话中断;在所述PCC在预定时间间隔内未收到所述PCE的保活消息时,确定所述PCC的PCE之间的会话中断;在检测到所述PCC与所述PCE之间的传输控制协议TCP连接出现故障时,确定所述PCC的PCE之间的会话中断。
可选地,所述装置还包括:第二选举模块,设置为在所述第一选举模块根据预设优先级选举确定主PCE之后,根据所述预设优先级选举确定从PCE;发送模块,设置为向所述从PCE发送角色请求消息。
可选地,所述属性信息包括:承载在Open消息中的标识字段。
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置
为存储用于执行以下步骤的程序代码:
在路径计算客户端PCC创建路径计算单元协议PCEP报文,其中,所述PCEP报文携带用于表征所述PCC具备多连接能力的属性信息;
在所述PCC和路径计算单元PCE的PCEP会话阶段,将所述PCEP报文通告给一个或多个所述PCE。
通过本发明,在路径计算客户端PCC创建路径计算单元协议PCEP报文,其中,所述PCEP报文携带用于表征所述PCC具备多连接能力的属性信息;在所述PCC和路径计算单元PCE的PCEP会话阶段,将所述PCEP报文通告给一个或多个所述PCE,通过创建具备多连接能力的PCEP报文中并通告给PCE,PCC跟多个PCE之间建立多条PCEP会话连接,可以实现PCE连接的切换,保证业务的连续性。
附图概述
图1是根据本发明实施例的连接能力的通告方法的流程图;
图2是根据本发明实施例的连接能力的通告装置的结构框图;
图3是本实施例的PCE总体功能架构示意图;
图4是本实施例的多PCE连接网络图;
图5是本实施例的Open消息的Open对象的格式图;
图6是本实施例的MULTIPLE-PCE-CAPABILITY-TLV格式图;
图7是本实施例的PCE-ROLE-TLV格式图;
图8是本实施例的多PCE连接的初始化流程图;
图9是本实施例的PCC发起的PCE切换流程图;
图10是本实施例的PCE发起的PCE切换的流程图;
图11是本实施例的层次化PCE场景下的PCE切换流程图。
下文中将参考附图并结合实施例来详细说明本发明。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
PCEP协议用于MPLS和GMPLS网络的流量工程的时候,不存在问题,因为PCE和PCC之间的网络状态同步信息和路径建立信息不太大。但是随着软件定义网络SDN技术的提出,PCEP协议用于PCE和PCC之间的南向接口协议时,PCC和PCE之间的数据传递会大增,特别是PCE和PCC之间需要进行用户流量数据的采集和实时上报,网络带宽和路径需要动态建立和调整时,PCE和PCC之间的可靠性就需要重点考虑了,如果PCE和PCC之间出现连接中断或者故障,那么无法保证业务路径的动态调整和建立。
本实施例提供了一种连接能力的通告方法,图1是根据本发明实施例的连接能力的通告方法的流程图,如图1所示,该流程包括如下步骤:
步骤S102,在路径计算客户端PCC创建路径计算单元协议PCEP报文,其中,PCEP报文携带用于表征PCC具备多连接能力的属性信息;
步骤S104,在PCC和路径计算单元PCE的PCEP会话阶段,将PCEP报文通告给一个或多个PCE。
通过上述步骤,在路径计算客户端PCC创建路径计算单元协议PCEP报文,其中,PCEP报文携带用于表征PCC具备多连接能力的属性信息;在PCC和路径计算单元PCE的PCEP会话阶段,将PCEP报文通告给一个或多个PCE,通过创建具备多连接能力的PCEP报文中并通告给PCE,PCC跟多个PCE之间建立多条PCEP会话连接,可以实现PCE连接的切换,保证业务的连续性。
可选地,上述步骤的执行主体可以为PCC、PCC的控制端等,但不限于此。
可选的,属性信息包括:承载在Open消息中的标识字段。
可选的,在将PCEP报文通告给一个或多个PCE之后,PCC跟多个PCE之间建立多条PCEP会话连接,当一条连接出现故障时,可以快速的切换到另外一个连接上,保证业务的连续。可以是主动切换或被动切换。
在被动切换的方案中,方法还包括:
S11,接收PCE的角色请求消息,其中,角色请求消息携带PCE的优先级属性;
S12,根据优先级属性为PCE分配PCE角色。
可选的,根据优先级属性为PCE分配PCE角色包括:比较PCE的优先级属性与当前连接的主PCE的优先级属性;在PCE的优先级属性高于当前连接的主PCE的优先级属性时,将PCE的PCE角色分配为主PCE。优先级属性预先配置在PCE侧,PCC可以获取已经连接的PCE的优先级属性。
在本实施例中,PCE角色包括:主PCE、从PCE;父PCE、子PCE。
在主动切换的方案中,方法包括:
S21,确定PCC的PCE之间的会话中断;
S22,根据预设优先级选举确定主PCE;
S23,向主PCE发送角色请求消息,并将与PCE之间的连接切换到主PCE。
可选的,在根据预设优先级选举确定主PCE之后,方法还包括:根据预设优先级选举确定从PCE;向从PCE发送角色请求消息。
在本实施例中,确定PCC的PCE之间的会话中断通过以下场景来触发:在PCC接收到PCE的关闭消息时,确定PCC的PCE之间的会话中断;在PCC在预定时间间隔内未收到PCE的保活消息时,确定PCC的PCE之间的会话中断;在检测到PCC与PCE之间的传输控制协议TCP连接出现故障时,确定PCC的PCE之间的会话中断。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
本实施例还提供了一种连接能力的通告装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例的连接能力的通告装置的结构框图,如图2所示,该装置包括:
创建模块20,设置为在路径计算客户端PCC创建路径计算单元协议PCEP报文,其中,PCEP报文携带用于表征PCC具备多连接能力的属性信息;
通告模块22,设置为在PCC和路径计算单元PCE的PCEP会话阶段,将PCEP报文通告给一个或多个PCE。
可选的,属性信息包括:承载在Open消息中的标识字段。
在根据本实施例的可选实施方式中,装置还包括:接收模块,设置为在通告模块将PCEP报文通告给一个或多个PCE之后,接收PCE的角色请求消息,其中,角色请求消息携带PCE的优先级属性;分配模块,设置为根据优先级属性为PCE分配PCE角色。
可选的,分配模块包括:比较单元,设置为比较PCE的优先级属性与当前连接的主PCE的优先级属性;确定单元,设置为在PCE的优先级属性高于当前连接的主PCE的优先级属性时,将PCE的PCE角色分配为主PCE。
本实施例的PCE角色包括:主PCE、从PCE;父PCE、子PCE。
在根据本实施例的可选实施方式中,装置包括:确定模块,设置为在通告模块将PCEP报文通告给一个或多个PCE之后,确定PCC的PCE之间的会话中断;第一选举模块,设置为根据预设优先级选举确定主PCE;处理模块,设置为向主PCE发送角色请求消息,并将与PCE之间的连接切换到主PCE。
可选的,确定模块确定PCC的PCE之间的会话中断包括以下至少之一:在PCC接收到PCE的关闭消息时,确定PCC的PCE之间的会话中断;在
PCC在预定时间间隔内未收到PCE的保活消息时,确定PCC的PCE之间的会话中断;在检测到PCC与PCE之间的传输控制协议TCP连接出现故障时,确定PCC的PCE之间的会话中断。
可选的,装置还包括:第二选举模块,设置为在第一选举模块根据预设优先级选举确定主PCE之后,根据预设优先级选举确定从PCE;发送模块,设置为向从PCE发送角色请求消息。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
下面结合具体的场景对本申请进行详细说明:
本实施例提出了一种实现PCEP协议多PCE控制和连接的方法,PCC跟多个PCE之间建立多条PCEP会话连接,当一条连接出现故障时,可以快速的切换到另外一个连接上,保证业务的连续。
本实施例的实现PCEP协议多PCE连接的方法包括:扩展PCEP协议报文通告多PCE连接能力属性信息或者角色信息,所述PCE的角色信息包括master PCE(主PCE)和slave PCE(从PCE);所述扩展PCEP协议通告多连接能力属性信息包括扩展PCEP协议的Open消息中携带具有多连接能力属性的标识字段;所述扩展PCEP协议通告PCE角色信息包括扩展PCEP协议新增PCE Role Request(PCRrq,PCE角色请求)消息携带PCE的角色信息,PCrq消息由PCE发送给PCC请求自己的角色改变。所述扩展PCEP协议通告PCE角色信息还包括扩展PCEP协议新增PCE Role Reply(PCRrp)消息携带PCE的角色信息,PCRrp消息由PCC发送给PCE,通告当前的Master PCE。
图3是本实施例的PCE总体功能架构示意图,PCE与网络管理***(Network Management System,简称为NMS)、多个节点,其他域网的PCE连接,包括:流量工程数据库(Traffic Engineering Database,简称为TED),路径计算模块,PCE通信模块等。图4是本实施例的多PCE连接网络图,以下以图4所示阐述本发明的实施方式的内容。
图4中,路径计算客户PCC跟多个路径计算单元PCE1,PCE2,PCE3建立PCEP会话。其中PCE1为master(主)角色,PCE2和PCE3为slave(从)角色。当PCC和PCE1的TCP连接或者PCEP会话出现故障时,PCC选择PCE2或者PCE3作为master,PCEP会话切换到新的master PCE与PCC之间。
本实施例的多PCE连接的方法需要扩展现有的PCEP协议的功能有:
能力通告(Capability advertisement)(E-C,C-E):PCC和PCE在PCEP会话阶段需要通告具有多PCE连接的能力。
角色请求(Role Request)(E-C):PCE发送角色请求消息给PCC,当PCC收到了PCE的角色请求消息后,根据消息中的参数选择master PCE。
角色响应(Role Reply)(C-E):PCC发送角色响应消息给PCE,通告当前的Master PCE。
图5是本实施例的Open消息的Open对象的格式图,Open对象封装在Open消息中,由Open消息在PCC和PCE之间发送。Open对象中的Ver字段为PCEP的版本号,Flag字段为标识位,保活Keepalive字段为PCEP对等体的发送Keepalive消息的间隔时间,以秒作为单位,Deadtimer字段为PCEP会话的过期时间,即超过Deadtimer时间内没有收到对端的keepalive消息就认为对端出现了故障,而需要解除PCEP会话。SID字段(PCEP session ID)为PCEP会话的标识号。Optional TVLs为Open对象中可能携带的TLV。
本实施例的PCEP多PCE连接的能力通告就是通过扩展新增MULTIPLE-PCE-CAPABILITY TLV携带在Open对象的optional TLV中。本发明实施例的MULTIPLE-PCE-CAPABILITY的格式定义如图6所示,图6是本实施例的MULTIPLE-PCE-CAPABILITY-TLV格式图,各个字段的描述如下:
类型Type字段表示本TLV为MULTIPLE-PCE-CAPABILITY TLV;
长度Length字段为本TLV的长度;
Flag字段为本TLV可能需要用到的标识,当前没有定义标识。
优先级Priority字段为master PCE选举优先级,PCE向PCC发送Open
消息时携带该PCE的优先级,PCC发送的Open消息中该字段填充为0。
本发明实施例的角色请求消息的格式如下:
<PCRrq Message>::=<Common Header>
<Role>
PCRrq消息中仅包含Role对象,Role对象包含PCE-ROLE-TLV,图7是本实施例的PCE-ROLE-TLV格式图,见图7所示,角色请求消息由PCE设备发送给PCC设备。
本发明实施例的角色响应消息的格式如下:
<PCRrp Message>::=<Common Header>
<Role>
PCRrp消息中也是仅包含Role对象,其中Role对象包含PCE-ROLE-TLV。角色响应消息由PCC设备发送给PCE设备。
本发明实施例的PCE-ROLE-TLV格式如图7所示,字段的定义如下:
类型Type字段标识本TLV为PCE-ROLE-TLV;
长度Length字段为本TLV的长度;
PCE-ROLE字段为PCE的角色,可以取值为master或者slave。
优先权Priority字段为master PCE选举优先级。当PCE-ROLE-TLV携带在PCRrp中由PCC向PCE发送时,该字段填充为当前的Master PCE的优先级的值,当PCE-ROLE-TLV携带在PCRrq中由PCE向PCC发送时,该字段填充为该PCE的优先级的值。
主master-PCE-ID字段为master PCE的router id,长度为32bits。当PCE-ROLE-TLV封装在PCRrp消息由PCE向PCC发送时,该字段的值填充为该PCE的路由器ID标识;当PCE-ROLE-TLV封装在PCRrp消息由PCC向PCE发送时,该字段的值填充master PCE的路由器ID标识。
图8是本实施例的多PCE连接的初始化流程图,阐述本发明实施例的多PCE连接的初始化过程。
图8中,PCC期望分别跟PCE1和PCE2建立PCEP会话,PCE1、PCE2
和PCC都需要在Open消息中通告其具有多PCE连接的能力。具有多PCE连接的初始化流程如下:
(1)PCC向PCE1发送打开Open消息,消息中携带有本发明实施例提出MULTIPLE-PCE-CAPABILITY TLV,通告本PCC具有多PCE连接的能力;
(2)PCE1也向PCC发送Open消息,消息中也携带有本发明实施例提出的MULTIPLE-PCE-CAPABILITY TLV,通告PCE1也具有多PCE连接的能力;
(3)同样,PCC与PCE2之间也相互发送携带有MULTIPLE-PCE-CAPABILITY TLV的Open消息,通告各自具有多PCE连接的能力;
(4)PCC收到了PCE1的Open消息后,按照Open消息中keepalive(保活)字段中定义的时间间隔发送keepalive消息进行PCEP的会话保活;
(5)PCE1收到了PCC的Open消息后,也会按照Open消息中的keepalive字段定义的时间间隔发送keepalive消息,进行PCEP的会话保活。
(6)PCC和PCE2之间也类似发送keepalive消息进行会话保活。
图9是本实施例的PCC发起的PCE切换流程图,阐述利用本发明实施例的内容进行由PCC发起的PCE切换的流程。
图9中,PCC与PCE1,PCE2,PCE3建立PCEP会话,其中PCE1为master PCE,而PCE2和PCE3为slave PCE。
以下阐述当PCE1与PCC之间的会话中断后,Master PCE切换为PCE2的过程。
(1)当PCC收到了PCE1的关闭close消息,要进行关闭PCC与PCE1之间的PCEP会话后,或者PCC在Deadtimer时间间隔内没有收到PCE1的keepalive消息,或者PCC检测到跟PCE1之间的TCP连接出现故障时,PCC关闭跟PCE1之间的PCEP会话,启动重新选择Master PCE流程;
(2)PCC根据优先级选举产生新的master PCE,假定根据优先级选举PCE2为master PCE;
(3)PCC向PCE2发送PCRrp消息,PCRrp消息中携带PCE-ROLE-TLV信息,该TLV中,PCE-Role字段取值为master,master-PCE-ID为PCE2的路由器ID;
(4)PCC也会向PCE3发送PCRrp消息,PCRrp消息中也携带PCE-ROLE-TLV信息,其中,PCE-Role字段取值为slave,master-PCE-ID取值为PCE2的路由器ID;
完成了PCC的主Master从PCE1切换到PCE2。
图10是本实施例的PCE发起的PCE切换的流程图,本发明实施例结合图10阐述利用本发明实施例的内容进行由PCE发起的PCE切换流程。
PCC与PCE1,PCE2,PCE3建立PCEP会话,其中PCE1为master PCE,而PCE2和PCE3为slave PCE。PCE2希望取代PCE1成为master PCE。
以下阐述该master PCE的切换流程:
(1)PCE2向PCC发送PCRrq消息,PCRrq消息中携带PCE-ROLE-TLV,其中PCE-role字段为主master,优先级为PCE2的优先级,master-PCE-ID为PCE2的路由器ID;
(2)PCC收到了PCE的PCRrq消息请求改变Role后,比较PCE2跟当前的Master PCE的优先级,如果发现PCE2的优先级比当前的master PCE的优先级高,则PCC将当前的master PCE切换为PCE2,并且向PCE发送PCRrp消息通告master PCE已经改变;
(3)PCC向PCE1发送PCRrp消息,其中PCE-Role消息为从slave,priority字段为PCE2的优先级,master-PCE-ID为PCE2的路由器ID;
(4)PCC也向PCE2发送PCRrp消息,其中PCE-Role消息为master,priority字段为PCE2的优先级,master-PCE-ID为PCE2的路由器ID;
(5)PCC向PCE3发送PCRrp消息,其中PCE-Role消息为slave,priority字段为PCE2的优先级,master-PCE-ID为PCE2的路由器ID。
图11是本实施例的层次化PCE场景下的PCE切换流程图,本发明实施例结合图11阐述利用本发明实施例的内容在层次化PCE场景下的PCE切换的方法。
图11中,PCE1、PCE2、PCE3为子PCE,受父PCE的管理和控制,PCE1为master PC,PCE2和PCE3为slave PCE。在层次化PCE中,只有master PCE需要向父PCE进行链路状态数据的通告,其他的slave PCE只需要跟master PCE进行状态同步。当master PCE由PCE1切换为PCE2(不管是PCE发起的,还是由PCC发起的)后,PCE2取代PCE1向父PCE通告链路状态数据。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,在路径计算客户端PCC创建路径计算单元协议PCEP报文,其中,所述PCEP报文携带用于表征所述PCC具备多连接能力的属性信息;
S2,在所述PCC和路径计算单元PCE的PCEP会话阶段,将所述PCEP报文通告给一个或多个所述PCE。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在路径计算客户端PCC创建路径计算单元协议PCEP报文,其中,所述PCEP报文携带用于表征所述PCC具备多连接能力的属性信息;
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在所述PCC和路径计算单元PCE的PCEP会话阶段,将所述PCEP报文通告给一个或多个所述PCE。
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、***、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理单元的划分;例如,一个物理组件可以具有多个功能,
或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
上述实施例可实现PCC跟多个PCE之间建立多条PCEP会话连接,实现PCE连接的切换,保证业务的连续性。
Claims (16)
- 一种连接能力的通告方法,包括:在路径计算客户端PCC创建路径计算单元协议PCEP报文,其中,所述PCEP报文携带用于表征所述PCC具备多连接能力的属性信息(S102);在所述PCC和路径计算单元PCE的PCEP会话阶段,将所述PCEP报文通告给一个或多个所述PCE(S104)。
- 根据权利要求1所述的方法,所述方法还包括:在将所述PCEP报文通告给一个或多个所述PCE之后,接收所述PCE的角色请求消息,其中,所述角色请求消息携带所述PCE的优先级属性;根据所述优先级属性为所述PCE分配PCE角色。
- 根据权利要求2所述的方法,其中,根据所述优先级属性为所述PCE分配PCE角色包括:比较所述PCE的优先级属性与当前连接的主PCE的优先级属性;在所述PCE的优先级属性高于当前连接的主PCE的优先级属性时,将所述PCE的PCE角色分配为主PCE。
- 根据权利要求2所述的方法,其中,所述PCE角色包括:主PCE、从PCE、父PCE、子PCE。
- 根据权利要求1所述的方法,所述方法还包括:在将所述PCEP报文通告给一个或多个所述PCE之后,确定所述PCC的PCE之间的会话中断;根据预设优先级选举确定主PCE;向所述主PCE发送角色请求消息,并将与所述PCE之间的连接切换到所述主PCE。
- 根据权利要求5所述的方法,其中,确定所述PCC的PCE之间的会话中断包括以下至少之一:在所述PCC接收到所述PCE的关闭消息时,确定所述PCC的PCE之间的会话中断;在所述PCC在预定时间间隔内未收到所述PCE的保活消息时,确定所述PCC的PCE之间的会话中断;在检测到所述PCC与所述PCE之间的传输控制协议TCP连接出现故障时,确定所述PCC的PCE之间的会话中断。
- 根据权利要求5所述的方法,所述方法还包括:在根据预设优先级选举确定主PCE之后,根据所述预设优先级选举确定从PCE;向所述从PCE发送角色请求消息。
- 根据权利要求1所述的方法,其中,所述属性信息包括:承载在打开Open消息中的标识字段。
- 一种连接能力的通告装置,包括:创建模块(20),设置为在路径计算客户端PCC创建路径计算单元协议PCEP报文,其中,所述PCEP报文携带用于表征所述PCC具备多连接能力的属性信息;通告模块(22),设置为在所述PCC和路径计算单元PCE的PCEP会话阶段,将所述PCEP报文通告给一个或多个所述PCE。
- 根据权利要求9所述的装置,所述装置还包括:接收模块,设置为在所述通告模块将所述PCEP报文通告给一个或多个所述PCE之后,接收所述PCE的角色请求消息,其中,所述角色请求消息携带所述PCE的优先级属性;分配模块,设置为根据所述优先级属性为所述PCE分配PCE角色。
- 根据权利要求10所述的装置,其中,所述分配模块包括:比较单元,设置为比较所述PCE的优先级属性与当前连接的主PCE的优先级属性;确定单元,设置为在所述PCE的优先级属性高于当前连接的主PCE的优先级属性时,将所述PCE的PCE角色分配为主PCE。
- 根据权利要求10所述的装置,其中,所述PCE角色包括:主PCE、 从PCE、父PCE、子PCE。
- 根据权利要求9所述的装置,所述装置还包括:确定模块,设置为在所述通告模块将所述PCEP报文通告给一个或多个所述PCE之后,确定所述PCC的PCE之间的会话中断;第一选举模块,设置为根据预设优先级选举确定主PCE;处理模块,设置为向所述主PCE发送角色请求消息,并将与所述PCE之间的连接切换到所述主PCE。
- 根据权利要求13所述的装置,其中,所述确定模块是设置为通过以下至少之一种方式确定所述PCC的PCE之间的会话中断:在所述PCC接收到所述PCE的关闭消息时,确定所述PCC的PCE之间的会话中断;在所述PCC在预定时间间隔内未收到所述PCE的保活消息时,确定所述PCC的PCE之间的会话中断;在检测到所述PCC与所述PCE之间的传输控制协议TCP连接出现故障时,确定所述PCC的PCE之间的会话中断。
- 根据权利要求13所述的装置,所述装置还包括:第二选举模块,设置为在所述第一选举模块根据预设优先级选举确定主PCE之后,根据所述预设优先级选举确定从PCE;发送模块,设置为向所述从PCE发送角色请求消息。
- 根据权利要求9所述的装置,其中,所述属性信息包括:承载在打开Open消息中的标识字段。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610934284.0 | 2016-10-31 | ||
CN201610934284.0A CN108023810A (zh) | 2016-10-31 | 2016-10-31 | 连接能力的通告方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018077313A1 true WO2018077313A1 (zh) | 2018-05-03 |
Family
ID=62024337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/117005 WO2018077313A1 (zh) | 2016-10-31 | 2017-12-18 | 连接能力的通告方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108023810A (zh) |
WO (1) | WO2018077313A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111614558A (zh) * | 2020-05-11 | 2020-09-01 | 烽火通信科技股份有限公司 | 一种主备路径计算单元工作优化方法及*** |
CN113193988A (zh) * | 2021-04-09 | 2021-07-30 | 烽火通信科技股份有限公司 | 一种多pce的路径计算交互方法和*** |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101820362A (zh) * | 2010-04-29 | 2010-09-01 | 中兴通讯股份有限公司 | 一种解决资源分配冲突的方法及装置 |
CN101984602A (zh) * | 2010-11-05 | 2011-03-09 | 中兴通讯股份有限公司 | 一种路径计算方法及***、节点设备 |
CN102238185A (zh) * | 2011-07-19 | 2011-11-09 | 中兴通讯股份有限公司 | 会话建立方法及*** |
CN104348744A (zh) * | 2013-08-01 | 2015-02-11 | 中兴通讯股份有限公司 | 一种路径计算方法及路径计算单元 |
US20150249591A1 (en) * | 2014-03-03 | 2015-09-03 | Cisco Technology, Inc. | Opaque profile identifiers for path computation element protocol |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8131873B2 (en) * | 2004-11-05 | 2012-03-06 | Cisco Technology, Inc. | Technique for selecting a path computation element |
US9059867B2 (en) * | 2005-03-02 | 2015-06-16 | Cisco Technology, Inc. | Technique for selecting a path computation element based on response time delay |
CN102714621A (zh) * | 2010-01-04 | 2012-10-03 | 瑞典爱立信有限公司 | 向路径计算单元提供反馈 |
CN105763447B (zh) * | 2014-12-16 | 2020-04-24 | 中兴通讯股份有限公司 | 一种标签交换路径状态的获取方法及装置 |
-
2016
- 2016-10-31 CN CN201610934284.0A patent/CN108023810A/zh not_active Withdrawn
-
2017
- 2017-12-18 WO PCT/CN2017/117005 patent/WO2018077313A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101820362A (zh) * | 2010-04-29 | 2010-09-01 | 中兴通讯股份有限公司 | 一种解决资源分配冲突的方法及装置 |
CN101984602A (zh) * | 2010-11-05 | 2011-03-09 | 中兴通讯股份有限公司 | 一种路径计算方法及***、节点设备 |
CN102238185A (zh) * | 2011-07-19 | 2011-11-09 | 中兴通讯股份有限公司 | 会话建立方法及*** |
CN104348744A (zh) * | 2013-08-01 | 2015-02-11 | 中兴通讯股份有限公司 | 一种路径计算方法及路径计算单元 |
US20150249591A1 (en) * | 2014-03-03 | 2015-09-03 | Cisco Technology, Inc. | Opaque profile identifiers for path computation element protocol |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111614558A (zh) * | 2020-05-11 | 2020-09-01 | 烽火通信科技股份有限公司 | 一种主备路径计算单元工作优化方法及*** |
CN113193988A (zh) * | 2021-04-09 | 2021-07-30 | 烽火通信科技股份有限公司 | 一种多pce的路径计算交互方法和*** |
CN113193988B (zh) * | 2021-04-09 | 2022-08-12 | 烽火通信科技股份有限公司 | 一种多pce的路径计算交互方法和*** |
Also Published As
Publication number | Publication date |
---|---|
CN108023810A (zh) | 2018-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11362940B2 (en) | Method and apparatus for determining identification information about cross-domain path, and storage medium | |
US20210235542A1 (en) | Message and system for application function influence on traffic routing | |
US10218600B2 (en) | Path computation element hierarchical software defined network control | |
US10250459B2 (en) | Bandwidth on-demand services in multiple layer networks | |
US9634928B2 (en) | Mesh network of simple nodes with centralized control | |
CN111492627B (zh) | 为不同应用建立不同隧道的基于控制器的服务策略映射 | |
US9094285B2 (en) | Automatic discovery of multiple controllers in Software Defined Networks (SDNs) | |
US10587494B2 (en) | Network control method and apparatus | |
WO2015035616A1 (zh) | 跨网通信方法及装置 | |
EP3188408B1 (en) | Method and apparatus for determining network topology, and centralized network state information storage device | |
US9191312B2 (en) | Method and system for implementing PW control bit capability negotiation | |
US9473315B2 (en) | Network device configured to track multicast receivers | |
EP3484107B1 (en) | Parameter notification and obtaining methods and devices, and storage medium | |
US9497104B2 (en) | Dynamic update of routing metric for use in routing return traffic in FHRP environment | |
US12047274B2 (en) | Path computation method, storage medium and electronic apparatus | |
US10511544B2 (en) | Path computation element protocol response and simple network management protocol confirmation for tunnel configuration | |
US9602354B1 (en) | Applications-aware targeted LDP sessions | |
WO2018077313A1 (zh) | 连接能力的通告方法及装置 | |
CN104994019B (zh) | 一种用于sdn控制器的水平方向接口*** | |
US10887207B2 (en) | System and method for determining branch gateway device availability in computer networks | |
WO2018086552A1 (zh) | 一种进行计划带宽调整的方法及装置 | |
EP4277424A1 (en) | Path computation method and apparatus, storage medium, and electronic device | |
CN113193988B (zh) | 一种多pce的路径计算交互方法和*** | |
WO2018095438A1 (zh) | 等价多路径ecmp处理方法及装置 | |
CN115022240A (zh) | 路径建立方法、装置、存储介质及电子装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17863699 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17863699 Country of ref document: EP Kind code of ref document: A1 |