WO2016165263A1 - 路径的保护倒换处理方法、装置、***及转发设备 - Google Patents

路径的保护倒换处理方法、装置、***及转发设备 Download PDF

Info

Publication number
WO2016165263A1
WO2016165263A1 PCT/CN2015/088169 CN2015088169W WO2016165263A1 WO 2016165263 A1 WO2016165263 A1 WO 2016165263A1 CN 2015088169 W CN2015088169 W CN 2015088169W WO 2016165263 A1 WO2016165263 A1 WO 2016165263A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
protection
aps
information
component
Prior art date
Application number
PCT/CN2015/088169
Other languages
English (en)
French (fr)
Inventor
孙德胜
赵福川
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016165263A1 publication Critical patent/WO2016165263A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/34Signalling channels for network management communication
    • H04L41/342Signalling channels for network management communication between virtual entities, e.g. orchestrators, SDN or NFV entities

Definitions

  • the present invention relates to the field of communications, and in particular to a method, an apparatus, a system, and a forwarding device for protecting a path.
  • SDN Software Defined Network
  • Controller Controller
  • Forwarding device Forwarding device
  • the ONF has now released the OpenFlow Switch Specification for the interface between the controller and the forwarding plane.
  • the protocol implemented based on this interface specification is the Openflow protocol.
  • the ONF is mature in supporting Layer 2 leased line services and Layer 2 VPN services.
  • the Openflow channel is used for the Openflow protocol interaction between the controller (hereinafter referred to as Controller) and the forwarding device (hereinafter referred to as Forwarder, also called Switch).
  • Controller the controller
  • Forwarder also called Switch
  • the protocol processing component of the forwarding device terminates the protocol to extract the content information carried by the protocol packet, and forwards the content information to the corresponding component.
  • the information sent to the controller by the relevant components in the forwarding device needs to be first passed to the protocol processing component and encapsulated into the Openflow protocol and sent to the controller.
  • the Openflow protocol defines a series of messages, including controller-to-switch messages, asynchronous messages, and symmetric messages. Each class defines many types.
  • the controller-to-switch message is initiated by the controller to manage or obtain the forwarder state.
  • the asynchronous message is initiated by the forwarder to notify the controller of the network event or forwarder state change.
  • the symmetric message can be initiated by the forwarder or the controller.
  • the controller sends a packet-out message in the controller-to-switch category to the Forwarder through the Openflow protocol channel.
  • the Forwarder specifies the message according to the message.
  • the forwarding port sends the message.
  • the receiver After receiving the message, the receiver forwards the related work according to the message (such as sending and receiving packet statistics, error packet statistics, etc.), and sends it to the protocol processing component, and the packet is encapsulated as a packet-in message.
  • the Openflow channel is sent to the controller, as shown in Figure 2, to complete the detection of the working path and the protection path.
  • the controller completes the switch from the service to the protection path by modifying the flow table or the group table and delivering the corresponding component to the Forwarder.
  • this mechanism is suitable for service delivery with low real-time requirements; it is not suitable for fields that require fast protection switching to complete self-healing.
  • Devices such as Packet Transfer Network (PTN), Optical Transport Network (OTN), and Multi-Protocol Label Switching (MPLS) are required to support about 50ms. Fast protection switching.
  • the present invention provides a method, a device, a system, and a forwarding device for protecting a path, so as to at least solve the problem that the existing path switching solution cannot implement fast protection switching and cannot meet the scenario with high real-time requirements.
  • a protection switching processing method for a path which includes: a forwarding device in an SDN acquires state information of a current path in a path protection group to which the forwarding device belongs, where the current path includes: protection a path and/or a working path; the forwarding device performs automatic protection switching APS negotiation with the forwarding device except the forwarding device in the path protection group; according to the APS negotiation result, the local external command, and the status information Performing a comprehensive decision, and performing a protection switching processing operation corresponding to the decision result of the comprehensive decision in the current path in the path protection group, where the external command is used to indicate an external control type for the protection switching operation .
  • the forwarding device before the forwarding device in the SDN obtains the state information of the current path in the path protection group to which the forwarding device belongs, the forwarding device includes: receiving, by the forwarding device, configuration information from a controller in the SDN, where The configuration information is used to configure path protection switching of the path protection group.
  • the forwarding device receives the configuration information from a controller in the SDN, where the forwarding device receives, from the controller, an APS message dedicated to sending the configuration information.
  • the APS message is determined by adding type information for indicating the APS message to a type type member of an Openflow protocol header, and configuring attribute information of the type information.
  • the configuration information includes at least one of the following: a protection group identifier, a protection type, an operation type for operating the path protection group, and an external type for indicating an external control type of the protection switching operation.
  • the protection type includes one of the following: 1: N protection type, 1+1 protection, and ring protection, where N is an integer greater than 1; and/or, the operation type includes at least the following One: add a new path Protect the group, modify the path protection group, and delete the path protection group.
  • the external command includes one of: a lock protection command, a manual switch command, a forced switch command, and an existing external command; and/or the entry information includes one of the following: A flow table corresponding to the receiving direction and a group table corresponding to the sending direction of the service.
  • the external command is obtained by acquiring the external command from the APS message.
  • the external command is obtained by acquiring from a message that is received for sending the external command.
  • a forwarding device in an SDN comprising: a protocol processing component configured to receive configuration information from a controller in the SDN network, wherein the configuration information is for The path protection switch of the path protection group is configured to be configured; the automatic protection switching APS component is configured to receive the configuration information forwarded by the protocol processing component, and send the entry information in the configuration information to the flow table component; The information about the APS protocol sent and received by the APS component is sent to the flow table component; and the status information of the current working path and/or the protection path monitored by the Operation Administration and Maintenance (OAM) component is received; Receiving, by the forwarding component, a protocol packet for performing the APS negotiation; and sending, to the forwarding component, a protocol packet for forwarding the APS negotiation between the devices; the OAM component is configured to receive the OAM packet sent by the forwarding component, and monitor a status of the current working path and the protection path, and transmitting the status to the APS component; and The OAM packet of the working
  • the forwarding component is forwarded to the forwarding component according to the interface requirement of the forwarding component.
  • the forwarding component is configured to perform a service forwarding operation corresponding to the entry information, and is used for sending and receiving the OAM required by the OAM component.
  • the protocol processing component is configured to receive an APS message dedicated to transmitting the configuration information from the controller.
  • the APS message is determined by adding type information for indicating the APS message to a type type member of an Openflow protocol header, and configuring attribute information of the type information.
  • the protocol processing component is configured to receive the configuration information including at least one of the following: a protection group identifier, a protection type, an operation type for operating the path protection group, and an indication external An external command for controlling the type of protection switching operation, entry information, indication information for indicating whether to return to the initial path, and indication information for indicating a waiting recovery time to return to the initial path.
  • a path protection switching processing system a forwarding device and a controller in an SDN, wherein the controller is configured to send configuration information to the forwarding device, where The configuration information is used for the path protection switching of the path protection group.
  • the forwarding device is configured to obtain the status information of the current path, and after the APS negotiation with the remote forwarding device is completed, the APS negotiation result is combined.
  • the local external command and the state information perform a comprehensive decision, and perform a protection switching processing operation corresponding to the decision result of the comprehensive decision on the current path in the path protection group.
  • the controller is configured to send, to the forwarding device, an APS message dedicated to sending the configuration information.
  • a path protection processing device which is applied to a forwarding device in an SDN, and includes: an obtaining module, configured to acquire state information of a current path in a path protection group to which the forwarding device belongs,
  • the current path includes: a protection path and/or a working path; and a negotiation module configured to perform automatic protection switching APS negotiation with other forwarding devices other than the forwarding device in the path protection group; Performing a comprehensive decision on the APS negotiation result, the local external command, and the state information, and performing a protection switching operation corresponding to the decision result of the comprehensive decision on the current path in the path protection group, where
  • the external command is used to indicate an external type of control for the protection switching operation.
  • the device further includes: a receiving module, configured to receive configuration information from a controller in the SDN, where the configuration information is used for path protection switching of the path protection group.
  • the forwarding device performs comprehensive decision based on the current path state information, the negotiation result of the APS negotiation with other forwarding devices, and the local external command, and performs the technical means of the protection switching processing operation corresponding to the decision result.
  • the problem that the existing path switching solution cannot implement fast protection switching and cannot meet the requirements of high real-time requirements is solved, and the effect of fast protection switching processing of the path is achieved.
  • FIG. 1 is a schematic diagram of an SDN network in related art
  • FIG. 2 is a schematic diagram of packet transmission and reception of SDN network Packet-out and Packet-in in the related art
  • FIG. 3 is a flowchart of a method for processing protection switching of a path according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram of a protection switching processing apparatus for a path according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a protection switching processing apparatus for a path according to an alternative embodiment of the present invention.
  • FIG. 6 is a structural block diagram of a forwarding device according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a protection switching processing system for a path according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a protection switching processing system for a path according to an alternative embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a linear protection architecture according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of only one endpoint Forwarder in linear protection according to an embodiment of the present invention.
  • the embodiment of the present invention is based on the existing standard interface of the ONF, and proposes a scheme for quickly implementing the protection switching function on the basis of the existing standard interface of the OpenFlow Switch Specification, so as to solve the problem that the switching scheme in the existing SDN standard cannot implement fast protection switching, which cannot be satisfied. Problems such as scenarios with high real-time requirements to meet the requirements of PTN, OTN, and MPLS.
  • FIG. 3 is a flowchart of a path protection switching processing method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S302 The forwarding device in the SDN obtains the state information of the current path in the path protection group to which the forwarding device belongs, where the current path includes: a protection path and/or a working path. That is to say, the forwarding device may acquire only the state of the protection path or the working path, or may acquire the state of the two paths (the state of the protection path and the state of the working path) at the same time.
  • Step S304 The forwarding device performs the automatic protection switching APS negotiation with the forwarding device other than the forwarding device in the path protection group.
  • the forwarding device may also be described as a remote device, for example,
  • the following forms may be used, but are not limited thereto: for linear protection (for example, 1:1 protection or 1:N protection), the opposite end of the forwarding device on the path corresponding to the path protection group may be represented.
  • Step S306 performing comprehensive decision according to the APS negotiation result, the local external command, and the foregoing state information, and performing a protection switching processing operation corresponding to the decision result of the foregoing comprehensive decision on the current path in the path protection group, where the external The command is used to indicate the external control type for the protection switching operation.
  • the control type may include, but is not limited to, performing a protection switching operation or revoking a protection switching operation.
  • the forwarding device can directly directly determine the status of the current path, the APS negotiation result, and Whether there is an external command execution protection switching operation in the local area, therefore, the message exchange process with the controller in the SDN network architecture is reduced, thereby reducing the time of protection switching and realizing fast protection switching of the path.
  • steps S302 and S304 are interchangeable, that is, step S302 may be performed first, and then step S304 may be performed; or step S304 may be performed first, and then step S302 is performed.
  • the current protection switching state and the Wait to Restore Time may be considered.
  • Timing situation it can also be considered that the WTR timing condition belongs to the current protection switching state
  • the current protection switching state and the WTR timing condition are factors that will be considered by those skilled in the art when performing protection switching, therefore, in step S306
  • the current protection switching state and the WTR timing situation are not mentioned.
  • the embodiment of the present invention does not limit this.
  • the embodiment of the present invention may include the following situation: the current protection switching state and the WTR are not considered in the overall decision making. In the case of timing, protection switching processing can also be realized.
  • step S306 comprehensive decision may be made according to standards such as ITU-T G.841/G.808.1/G.808.2 in the related art, but is not limited thereto.
  • configuration information for configuring the path protection switching function of the path protection group may be configured in advance, for example, by forwarding:
  • the device receives the configuration information from the controller in the SDN, where the configuration information is used to configure the path protection switching of the path protection group.
  • the forwarding device can receive the foregoing configuration information in multiple manners, for example, it can be received from an existing message, and can also be received from a new message constructed by the controller. For the latter, the following can be implemented: The forwarding device receives an APS message dedicated to transmitting the above configuration information from the controller. Since then, the APS protection switching control and protocol processing functions are moved from the controller to the forwarding device. The controller only needs to deploy the configuration management function of the APS protection group.
  • the foregoing APS message is determined by adding type information for indicating the APS message to the type type member of the Openflow protocol header; and configuring attribute information of the type information.
  • the attribute information may be used to reflect or indicate the above configuration information.
  • the members of the Openflow protocol header are shown in Table 1:
  • the message members of the APS message are as shown in Table 2:
  • the configuration information may include at least one of the following: a protection group identifier, a protection type, an operation type for operating the path protection group, an external command for indicating an external control type of the protection switching operation, and entry information. And indication information indicating whether to return to the initial path, and indication information for indicating a waiting recovery time to return to the initial path.
  • the protection switching in this embodiment refers to switching from a fault path to a normal path receiving and sending service.
  • the software-defined network SDN controls the service of the path through the flow table and the group table (including the flow table type, the table item identifier, the matching item, the instruction, and the action set, etc.).
  • the inbound port is identified by the flow table (including the flow table type, the entry identifier, the match, the instruction, and the action set) to control the receiving service; the group table information (including the entry identifier, the matching item, the instruction, and the action set, etc.) is used to identify
  • the outgoing port controls the transmission of the service.
  • the working path of the original fault returns to normal
  • the service waits for a period of time (ie, WTR) and then switches to the working path; for non-return protection, the faulty path returns to normal. Nor does it return, no WTR is required.
  • the foregoing protection type includes one of the following: 1: N protection type, 1+1 protection, and ring protection, where, N An integer greater than one; and/or, the operation type includes at least one of the following: a new path protection group, a modified path protection group, and a deleted path protection group.
  • the operation type of the modified path protection group may be modified to modify the attribute information of the path protection group.
  • the WTR and the return mode may be modified (may be expressed as a way to return the initial path, but not limited thereto), added, modified, or deleted.
  • the item information of the path protection group, etc. but is not limited to this.
  • the protection type may include, but is not limited to, 1:1 protection or 1+1 tunnel protection or pseudowire protection of the PTN network, segment layer based shared ring protection; 1+1 protection or 1:1 ODUk in the OTN network. Channel protection, etc.
  • 1:N protection or 1+1 protection generally only the first and last nodes need to participate in protection switching, which is called linear protection; for ring protection, each node on the ring needs to participate.
  • modifying the operation type of the path protection group may include, but is not limited to, modifying the foregoing configuration information of at least one of the following: a protection group identifier, a protection type, an operation type for operating the path protection group, and an external pair indication An external command for protecting the type of the switching operation, entry information, indication information indicating whether to return to the initial path, and indication information indicating the waiting recovery time to return to the initial path.
  • the foregoing external command includes, but is not limited to, one of the following: a lock protection command (ie, a command for prohibiting protection switching), a manual switching command, a forced switching command, and clearing an existing external command; and /
  • the foregoing item information includes but is not limited to one of the following: a flow table corresponding to a receiving direction of the service and a group table corresponding to a sending direction of the service.
  • the external command is obtained by acquiring the external command from the APS message, that is, the external command may be carried by the APS message; optionally, the received external device is also dedicated to sending the external Obtained in the message of the command, that is, the above external command can be carried by the dedicated message.
  • a path protection switching processing device is further provided, and the device is applied to a forwarding device in the SDN, and is used to implement the foregoing method embodiments and optional implementation manners, which have not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • 4 is a block diagram showing the structure of a protection switching processing apparatus for a path according to an embodiment of the present invention. As shown in Figure 4, the device includes the following processing modules:
  • the obtaining module 40 is configured to obtain the state information of the current path in the path protection group to which the forwarding device belongs, where the current path includes: a protection path and/or a working path;
  • the negotiation module 42 is configured to perform automatic protection switching APS negotiation with the forwarding device other than the forwarding device in the path protection group.
  • the control module 44 is connected to the obtaining module 40 and the negotiating module 42 and is configured to perform comprehensive decision according to the APS negotiation result, the local external command, and the foregoing state information, and to the foregoing current path in the path protection group. Performing a protection switching processing operation corresponding to the decision result of the above comprehensive decision, wherein the external command is used to indicate an external control type for the protection switching operation.
  • the foregoing apparatus may further include: a receiving module 46, connected to the obtaining module 40, the negotiating module 42 and the control module 44, and configured to be from a controller in the SDN.
  • the configuration information is received, where the configuration information is used for path protection switching of the path protection group.
  • each of the above modules may be implemented by software or hardware. For the latter, it may be expressed in the following form but not limited thereto: each of the above modules is located in a different processor; or each of the above modules is located in the same processing In the device.
  • the embodiment of the present invention further provides a forwarding device in an SDN.
  • the forwarding device includes:
  • the protocol processing component 60 is configured to receive configuration information from a controller in the SDN network, where the configuration information is used to configure path protection switching of the path protection group;
  • An automatic protection switching (APS) component 62 is configured to receive the configuration information forwarded from the protocol processing component 60 and send the entry information in the configuration information to the flow table component 64; the APS component 62 generates the APS protocol.
  • the received and sent entry information is sent to the flow table component; the status information of the current working path and/or the protection path monitored by the operation management and maintenance (OAM) component 66 is received; and the protocol packet sent by the forwarding component 68 for APS negotiation is received; Sending, to the forwarding component 68, a protocol packet for forwarding APS negotiation between the devices;
  • OAM operation management and maintenance
  • APS component 62 receives configuration and management information from the controller, while receiving APS signaling (inter-ASS signaling between the first and last nodes, or between APS components between nodes and nodes, completing protocol negotiation) and OAM components. Passing the path status, outputting the protection switching control command to the flow table component 64 (a component of the flow table and the group table and the like, referred to as a flow table component), such as performing or revoking the protection switching action, and outputting the APS signaling to the other node.
  • APS signaling inter-ASS signaling between the first and last nodes, or between APS components between nodes and nodes, completing protocol negotiation
  • OAM components Passing the path status, outputting the protection switching control command to the flow table component 64 (a component of the flow table and the group table and the like, referred to as a flow table component), such as performing or revoking the protection switching action, and outputting the APS signaling to the other node.
  • the OAM component 66 is configured to receive the OAM packet sent by the forwarding component, monitor the status of the current working path and the protection path, and send the status to the APS component 62; and report the OAM of the current working path and/or the protection path.
  • the text is passed to the forwarding component 68 for transmission to the forwarding device at the far end of the path; thus, it can be seen that the OAM component 66 is primarily responsible for the alarm monitoring function of the path.
  • the flow table component 64 is configured to perform comprehensive processing on the above-mentioned entry information received from the APS component 62, and forwarded to the forwarding component 68 according to the interface requirements of the forwarding component 68;
  • the forwarding component 68 is configured to perform a service forwarding operation corresponding to the foregoing item information for sending and receiving The OAM message required by the OAM component 66, and the APS protocol message required to send and receive the APS component 62.
  • the protocol processing component 60 is configured to receive an APS message dedicated to transmitting the configuration information from the controller.
  • the foregoing APS message is determined by: adding type information for indicating the foregoing APS message to a type type member of the Openflow protocol header; and configuring attribute information of the type information.
  • the protocol processing component 60 is configured to receive the foregoing configuration information including at least one of the following: a protection group identifier, a protection type, an operation type for operating the entry information of the path protection group, and an indication An external command for externally controlling the type of protection switching operation, entry information, indication information for indicating whether to return to the initial path, and indication information for indicating a waiting recovery time to return to the initial path.
  • the controller first initiates configuration management of the protection group.
  • the APS message is configured, including the message type of the extended Openflow protocol header, and the APS type is added.
  • the message member carries the protection group identifier, protection type, operation type, external command, binding entry (flow table and group table), and whether Return and attributes such as WTR, and send them to the first or last endpoint Forwarder (for ring protection, all Forwarder nodes on the ring) through the Openflow channel.
  • the APS type package described in the above steps.
  • the type can be Ethernet, IP, MPLS, Multi-Protocol Label Switching-Transport Profile (MPLS-TP), Provider Backbone Bridge (PBB), OTN, and WDM. Protection switching of forwarding paths such as multiplexing (Wavelength Division Multiplexing, WDM for short). Then perform the following processing steps:
  • Step 1 The Forwarder protocol processing component of the Forwarder (for the ring protection, all the Forwarder nodes on the ring) receives the Openflow message, and determines whether it is an APS-type message packet according to the Openflow protocol header type member. Then forward to the APS component and go to the next step; otherwise, process according to the required flow of other Openflow protocol message types;
  • Step 2 After receiving the APS message packet, the APS component parses the message member, identifies the protection group identifier, protection type, operation type, external command, binding entry, whether to return, and waits for the reply, and includes the entry information.
  • the flow table and group table information are forwarded to the flow table component, and the monitored path information is notified to the OAM component.
  • the APS component Based on the flow table and group table information related to the protection group, the APS component configures the flow table and group entry information required by the APS protocol to the flow table component.
  • the forwarding component synthesizes the flow table and the group table information, and delivers the information to the forwarding component;
  • Step 3 The forwarding component completes the sending and receiving from the service network side to the client side or the client side to the network side according to the configured flow table information and the group table item information; completing the APS protocol from the APS component to the network side, or from the network side to the APS component.
  • the protocol sends and receives; the OAM component passes the monitoring status of the path to the APS component; the APS component is based on external commands (if any), the APS protocol, the path status, the current protection switching status, and the WTR timing.
  • the comprehensive decision, and then the flow table component is configured to set the forwarding quilt table entry to monitor the monitoring information corresponding to the jump entry, thereby modifying the service sending action of the forwarding plane (selecting whether to send to the working path or to the protection path), and completing the protection switching action. Or undo the protection switching action.
  • the APS component may also set the corresponding flow table instruction through the flow table component to control the forwarding plane service receiving behavior (selecting whether to receive or protect from the working path) Path reception).
  • the controller can send the APS configuration management information to the Forwarder (the first endpoint and the tail endpoint, and the ring protection is all nodes); in some special cases, such as SDN network and traditional To connect to a network or to connect to different SDN networks, you only need to configure one AFS for the Forwarder (the first endpoint or the trailing endpoint). For ring protection, you only need to configure one or several Forwarders APSs on the ring.
  • the protection group identifier in the foregoing step may be a string of numbers or a character string; the protection type includes: 1:N (N is greater than or equal to 1) protection, 1+1 protection, and ring protection of the path.
  • the above-mentioned operation types include the addition, modification, or deletion; the external commands include a lock (prohibition protection switching), manual switching, forced switching, and the like; the binding entry includes a flow table corresponding to the inbound path (the direction in which the service is received) and The group table corresponding to the path to the path (the direction in which the service is sent); whether the above return attribute includes return or non-return; the above WTR only takes effect for the return protection, and the general range is less than 12 minutes, which can be manually set and modified.
  • the protection switching path described in the foregoing technical solution generally refers to a transmission path of each layer of communication technologies such as Ethernet, IP, MPLS, MPLS-TP, PBB, OTN, and WDM, such as an Ethernet physical layer of MPLS-TP.
  • Path segment layer path, tunnel layer path, pseudo-line layer path, etc.; such as OTN physical layer path, regenerator section path, multiplex section path, high-order ODU path, low-order ODU path, etc. of OTN network.
  • the embodiment of the present invention further provides a path protection switching processing system.
  • the system includes: a forwarding device 70 and a controller 72 in an SDN, wherein the controller 72 is configured to send to the forwarding device 70.
  • the configuration information is configured, where the configuration information is used for the path protection switching of the path protection group, and the forwarding device 70 is configured to obtain the status information of the current path, and after the automatic protection switching APS negotiation with the remote forwarding device is completed, the combination is performed.
  • the APS negotiation result, the local external command, and the foregoing state information are comprehensively determined, and the protection switching processing operation corresponding to the decision result of the comprehensive decision is performed on the current path in the path protection group.
  • the controller 72 is arranged to send an APS message dedicated to the transmission of the configuration information to the forwarding device 70, that is, the controller 72 transmits the configuration information to the forwarding device 70 through the APS message.
  • Controller 72 includes APS Configuration management module 720,
  • the embodiment of the present invention is based on the existing Openflow protocol, and defines the message type of the protocol header, and adds and modifies various path protection functions through the newly defined APS message.
  • the configuration management information is deleted and deleted.
  • the forwarding device deploys the OAM component to monitor the path alarm status and notify the APS component in real time.
  • the deployment flow table component completes the protection switching or undo the protection switching behavior according to the APS component indication, and deploys the APS component to complete the APS protection group configuration. Manage and protect the switching decision.
  • the path is Label Switched Path (LSP), Pseudo Wire (PW), Optical Date Unit (ODU) k, IP.
  • LSP Label Switched Path
  • PW Pseudo Wire
  • ODU Optical Date Unit
  • IP IP.
  • the linear protection or ring network protection functions of networks such as Ethernet have the advantages of simplicity and reliability. Where k is the level of the ODU and the natural number is taken.
  • the main design idea of the protection switching processing scheme of the path provided by the following preferred embodiments is that, for the problem that the SDN network cannot complete the fast protection switching function in the related art, the preferred embodiment is based on the existing Openflow protocol, and the message type of the protocol header is extended (Type) defines the configuration management of various path protection functions by using the newly defined APS message.
  • the forwarding device deploys the OAM component to monitor the path alarm status and notify the APS component in real time, and deploys the flow table component to complete the protection switching or cancel the forwarding behavior of the protection switching.
  • the APS component is deployed to complete the configuration management and protection switching decision of the APS protection group.
  • the controller CMC initiates protection of the new MPLS_TP LSP 1:1, the protection group identifier is 16, and the working path is A1.
  • -Z1 A1 port of Forwarder NE1 to Z1 port of Forwarder NE2
  • protection path is A2-Z2 (A2 port of Forwarder NE1 to Z2 port of Forwarder NE2)
  • return type WTR is 5 minutes
  • the OAM monitoring of Z2 has been validated as an example.
  • Step 1 The CMC initiates the addition of an MPLS TP LSP 1:1 linear protection group with the protection group ID being 16 and the operation type being new.
  • the type of the message type of the OpenFlow protocol header is extended.
  • the type value 241 is used as the identifier of the APS message.
  • the message member id of the APS is 16; the message member type is set to 1, and the protection group type is LSP 1:1. Linear protection; set the message member action to 1, the identification operation type is new; the message member command is set to 0, there is no external command at present; the first group information of the data packet sets the flow table corresponding to the working LSP port, including the flow table entry.
  • Information X1 identifies the inbound port bound to port A1 and the LSP inbound label.
  • the flow table command is to jump to the group entry that points to the client port.
  • the second group of information is set to protect the flow table corresponding to the LSP port, including the flow table.
  • the entry information X2 identifies the inbound port bound to the port A2 and the LSP inbound label.
  • the flow table command is to jump to the group entry that points to the client port.
  • the third group information is set to the working LSP.
  • the group entry corresponding to the port, including the group entry Y1 is bound to the outbound port and the LSP outbound label, and the group table action includes the setting of the corresponding encapsulation information.
  • the fourth group of information is set to protect the group entry corresponding to the LSP port, including the group.
  • the entry Y2 identifies the outgoing port of the A2 outgoing port and the LSP, and the group table action includes the setting of the corresponding encapsulation information.
  • the fifth group information is set to the group entry Y12 to bind the LSP 1:1 protection group, and the group table action includes monitoring.
  • A1-Z1 LSP path OAM status jump to the above Y1 group entry, monitor the A2-Z2 LSP path OAM status, and jump to the above Y2 group entry.
  • Several sets of information are then set up, including 1 for return protection, 5 for WTR for 5 minutes, and other required information. It is delivered to NE1 through the Openflow channel.
  • the APS information of the NE2 is similar to that of the NE1.
  • the Z1 and Z2 ports in the ADS message member information of the NE1, the LSP inbound and outbound labels, the flow entry identifier, and the group entry identifier match the NE2, and pass the Openflow channel. Send to NE2.
  • Step 2 The Openflow protocol processing component of NE1 and NE2 receives the Openflow protocol message, parses the message type type member, and determines the APS type agreed with the CMC according to the type value of 241, and forwards it to the APS component.
  • Step 3 The APS component of NE1 and NE2 resolves the APS message structure.
  • the protection group identifier is 16; according to the message member type 1, the protection group type is LSP 1:1 linear protection; according to the message member action is 1
  • the judgment is to add a protection group; according to the message member command is 0, it is judged that there is no external command; the flow table configuration is learned according to the first group information and the second group information of the data packet, and is forwarded to the flow table component, which will be required
  • the OAM information of the inbound A1 port and the corresponding path of the LSP inbound label is forwarded to the OAM component.
  • the group entry is configured according to the third, fourth, and fifth group information of the data packet, and is forwarded to the flow table.
  • the APS component configures the flow table and group entry information required by the APS protocol according to the flow table and the group table information of the first group to the fifth group, and notifies the flow table component, so that the APS information can be sent and received from the protection path LSP; the flow table component The flow table information and the group table information are combined, and the required forwarding flow table and group table information are generated according to the requirements of the forwarding component and sent to the forwarding component.
  • Step 4 The NE1 and NE2 forwarding components complete the service from the A1-Z1 working LSP to the client side or the client side to the A1-Z1 working LSP according to the configured flow table information and the group entry information; completing the APS protocol from the APS component to A2-Z2 protects the LSP, or sends and receives protocols from the protection LSP to the APS component; the OAM component passes the OAM monitoring status of the working LSP and the protection LSP to the APS component in real time; the APS component is based on the APS protocol, path status, and external commands (if any) ???), current protection switching status and WTR timing status, comprehensive decision, decide whether to perform protection switching or undo protection switching, and notify the flow table component to set the forwarding quilt table entry Y12 group table action monitoring A1-Z1 LSP and A2-Z2
  • the LSP OAM status modifies the service sending action of the forwarding plane (select whether to send to the working path A1-Z1 LSP or to the protection path A2-
  • the APS component is based on the working path A1-Z1
  • the monitoring status of the LSP and the protection path A2-Z2 LSP may inform the flow table component to set its flow table related instructions, and control the forwarding plane service reception behavior (select whether to receive from the working LSP or receive from the protection LSP). For example, when the protection type is 1+1, only the flow table needs to be modified to control the receiving behavior of the forwarding service.
  • the content of the action set of the group entry Y12 in the first step does not need to monitor the OAM state, but the group entries Y1 and Y2 are simultaneously executed. That is, concurrent business.
  • the above embodiments are equally applicable to 1:1 or 1+1 linear protection of paths PW, ODUk, IP, Ethernet, and the like.
  • 1:N linear protection of N>1 the number of protection paths is greater than one.
  • the flow table information and the group entry information in the data message of the above 1:1 protection implementation are increased, and the APS component, the OAM component, and the flow table component are added.
  • the corresponding processing with the forwarding component is an implementation scheme of 1:N (N>1).
  • the above embodiments are equally applicable to ring network protection with paths of LSP, PW, ODUk, IP, Ethernet, and the like.
  • the member type is set to match the information of the related path ring protection type; the member data message includes flow table information and group entry information for the client side and the network side to send and receive services, and the flow of the first and last endpoints NE1 and NE2 in the protection scheme.
  • the table and the group table are similar, and the data message also needs to include flow table and group table information for forwarding the service from one direction to the other direction on the network side, so as to meet the requirements of the intermediate node to transmit the work service and protect the service.
  • the controller CMC initiates the modification of the protection of the MPLS_TP LSP 1:1, the protection group identifier is 16, and the working path is modified from A1-Z1 to A2-Z2, and the protection path is modified by A2-Z2 is modified to be A1-Z1, and other attributes are not modified as an example to illustrate the solution of this embodiment.
  • Step 1 The CMC initiates the modification of the MPLS_TP LSP1:1 linear protection group.
  • the protection group ID is 16 and the operation type is modified.
  • the APS message member action is 2, and the operation type is modified.
  • the third group information of the data packet is modified, that is, the group entry corresponding to the working LSP port, and the group entry Y1 is bound to the A2 outgoing port and the LSP outgoing label.
  • the group table action includes the setting of the corresponding package information; the fourth group information, that is, the group entry corresponding to the protection LSP port, including the group entry Y2 identifier binding the A1 outgoing port and the LSP out label, and the group table action includes the setting of the corresponding package information.
  • the information of other data packets remains unchanged.
  • the other members of the APS message remain unchanged and are delivered to NE1 through the Openflow channel.
  • the APS message of the NE2 is similar to that of the NE1.
  • the Z1 and Z2 ports in the ADS message member information of the NE1, the LSP inbound and outbound labels, the flow entry identifier, and the group entry identifier match the NE2, and are delivered through the Openflow channel.
  • Step 2 The Openflow protocol processing component of NE1 and NE2 receives the Openflow protocol message, parses the message type type member, and determines the APS type agreed with the CMC according to the type value of 241, and forwards it to the APS component.
  • Step 3 The APS component of the NE1 and the NE2 resolves the APS message structure.
  • the protection group identifier is 16; according to the message member type 1, the protection group type is LSP 1:1 linear protection; according to the message member action 2
  • the judgment is to modify the protection group; the third group information and the fourth group information of the data packet are modified by comparing the information of each member of the message with the information that has been validated locally.
  • the APS component notifies the flow table component to modify the corresponding flow table and group table and forward it to the forwarding component. The rest remains unchanged.
  • Step 4 The NE1 and NE2 forwarding components complete the service from the A2-Z2 working LSP to the client side or the client side to the A2-Z2 working LSP according to the modified flow table information and the group entry information; completing the APS protocol from the APS component.
  • the A2-Z2 protects the LSP, or the protocol from the protection LSP to the APS component.
  • the OAM component transmits the OAM monitoring status of the working LSP and the protection LSP to the APS component in real time; the APS component is based on the APS protocol, path status, and external commands (if any) If the current protection switching status and the WTR timing status, comprehensive decision, decide whether to perform protection switching or undo protection switching, and set the forwarding area group entry Y12 group table action to monitor A2-Z2 LSP and A1-Z1 LSP OAM status. Therefore, the service sending action of the forwarding plane is modified (select whether to send to the working path A2-Z2 LSP or to the protection path A1-Z1 LSP), and then implement protection switching or undo protection switching.
  • the APS component can set its flow table related instruction according to the monitoring status of the working path A2-Z2 LSP and the protection path A1-Z1 LSP, and control the forwarding plane service receiving behavior (selection Received from the working LSP or received from the protection LSP). For example, when the protection type is 1+1, only the flow table needs to be modified to control the receiving behavior of the forwarding service.
  • the content of the action set of the group entry Y12 in the first step does not need to monitor the OAM state, but the group entries Y1 and Y2 are simultaneously executed. That is, concurrent business.
  • the controller CMC initiates the protection of the MPLS_TP LSP 1:1.
  • the protection group ID is 16 and the working path is A2-Z2.
  • the protection path is A1-Z1.
  • the specific implementation includes the following steps:
  • Step 1 The CMC initiates the deletion of the MPLS_TP LSP1:1 linear protection group.
  • the protection group ID is 16 and the operation type is deleted.
  • the message member action of the modified APS is 3, and the identification operation type is deleted; other member information remains unchanged. It is delivered to NE1 and NE2 through the Openflow channel.
  • Step 2 The Openflow protocol processing component of NE1 and NE2 receives the Openflow protocol message, parses the message type type member, and determines the APS type agreed with the CMC according to the type value of 241, and forwards it to the APS component.
  • Step 3 The APS component of the NE1 parses the APS message structure, and according to the member APS, determines that the protection group identifier is 16; according to the message member type 1, it determines that the protection group type is LSP 1:1 linear protection; according to the message member action A judgment of 3 is to delete the protection group.
  • the APS component notifies the flow table component to delete the group entry Y12 carried in the fifth group information of the original APS message member data packet in the group table, and modifies the flow table that receives the service from the client side, and jumps to the group entry Y1 (previously Y12). And sent to the forwarding component; the APS component notifies the flow table component to delete the flow table and group entry information required by the APS protocol and delivers the information to the forwarding component; NE2 also performs similar modification.
  • Step 4 The NE1 and NE2 forwarding components complete the service from the A2-Z2 LSP to the client side or the client side to the A2-Z2 LSP according to the configured flow table information and group entry information.
  • the SDN controller can only manage some SDN forwarding plane devices of the protection group, and only configure some SDN forwarding plane devices.
  • the controller CMC initiates the protection of the new MPLS_TP LSP 1:1.
  • the protection group ID is 16 and the working path is A1-Z1 (the A1 port of the Forwarder NE1 to the Z1 port of the Forwarder NE2).
  • the protection path is A2-Z2 (the A2 port of the Forwarder NE1 to the Z2 port of the Forwarder NE2), the return type, the WTR is 5 minutes, the OAM monitoring of the A1-Z1 and the A2-Z2 is effective, and only the NE1 needs to be configured.
  • the technical solution adopted in this embodiment will be described.
  • Step 1 The CMC initiates the addition of an MPLS TP LSP 1:1 linear protection group with the protection group ID being 16 and the operation type being new.
  • the type of the message type of the OpenFlow protocol header is extended.
  • the type value 241 is used as the identifier of the APS message.
  • the message member id of the APS is 16; the message member type is set to 1, and the protection group type is LSP 1:1. Linear protection; set the message member action to 1, the identification operation type is new; the message member command is set to 0, there is no external command at present; the first group information of the data packet sets the flow table corresponding to the working LSP port, including the flow table entry.
  • Information X1 identifies the inbound port bound to port A1 and the LSP inbound label.
  • the flow table command is to jump to the group entry that points to the client port.
  • the second group of information is set to protect the flow table corresponding to the LSP port, including the flow table.
  • the entry information X2 identifies the inbound port of the binding port A2 and the LSP inbound label, and the flow table command is to jump to the group entry corresponding to the client port;
  • the third group information is set to the group entry corresponding to the working LSP port, including
  • the group entry Y1 identifies the outgoing port of the A1 outgoing port and the LSP, and the group table action includes the setting of the corresponding encapsulation information.
  • the fourth group of information is set to protect the group entry corresponding to the LSP port, including The entry Y2 identifies the outgoing port of the A2 outgoing port and the LSP, and the group table action includes the setting of the corresponding encapsulation information.
  • the fifth group information is set to the group entry Y12 to bind the LSP 1:1 protection group, and the group table action includes monitoring.
  • A1-Z1 LSP path OAM status jump to the above Y1 group entry, monitor the O2-state of the A2-Z2 LSP path, and jump to the above Y2 group entry.
  • Several sets of information are then set up, including 1 for return protection, 5 for WTR for 5 minutes, and other required information. It is delivered to NE1 through the Openflow channel.
  • Step 2 The Openflow protocol processing component of the NE1 receives the Openflow protocol message and parses the message class.
  • Type type member according to the type value of 241, is judged to be the APS type agreed with the CMC, and forwarded to the APS component;
  • Step 3 The APS component of the NE1 parses the APS message structure, and according to the member APS, determines that the protection group identifier is 16; according to the message member type 1, it determines that the protection group type is LSP 1:1 linear protection; Add a protection group. According to the message member command is 0, it is judged that there is no external command.
  • the flow table configuration is learned according to the first group information and the second group information of the data packet, and the flow table component will be forwarded.
  • the OAM information of the corresponding path of the A1 port and the LSP inbound label is forwarded to the OAM component; the group entry configuration is learned according to the third, fourth, and fifth group information of the data packet, and is forwarded to the flow table component; For other information on the message, it was learned that the protection group was a return type and the WTR was 5 minutes.
  • the APS component configures the flow table and the group entry information required by the APS protocol according to the flow table and the group table information of the first group to the fifth group, and notifies the flow table component, so that the APS information can be sent and received from the protection path LSP;
  • the component integrates the flow table information and the group table information, and generates the required forwarding flow table and group table information according to the requirements of the forwarding component and delivers the information to the forwarding component.
  • Step 4 The NE1 forwarding component completes the service from the A1-Z1 working LSP to the client side or the client side to the A1-Z1 working LSP according to the configured flow table information and the group entry information; completing the APS protocol from the APS component to the A2- Z2 protects the LSP, or sends and receives protocols from the protection LSP to the APS component.
  • the OAM component passes the OAM monitoring status of the working LSP and the protection LSP to the APS component in real time; the APS component is based on the APS protocol, path status, and external commands (if any).
  • the current protection switching status and the WTR timing status comprehensive decision, decide whether to perform protection switching or undo protection switching, and notify the flow table component to set the forwarding surface group entry Y12 group table action to monitor A1-Z1 LSP and A2-Z2 LSP OAM
  • the status is modified to modify the service sending action of the forwarding plane (select whether to send to the working path A1-Z1 LSP or to the protection path A2-Z2 LSP), and then implement protection switching or undo protection switching.
  • the APS component can notify the flow table component to set its flow table related instruction according to the monitoring status of the working path A1-Z1 LSP and the protection path A2-Z2 LSP, and control the forwarding plane service.
  • Receive behavior (choose to receive from the working LSP or receive from the protection LSP). For example, when the protection type is 1+1, only the flow table needs to be modified to control the receiving behavior of the forwarding service.
  • the content of the action set of the group entry Y12 in the first step does not need to monitor the OAM state, but the group entries Y1 and Y2 are simultaneously executed. That is, concurrent business.
  • the above-described inventive embodiments are equally applicable to the 1:1/1 +1 linear protection of paths PW, ODUk, IP, Ethernet, and the like.
  • the number of protection paths is greater than one.
  • the flow table information and the group entry information in the data message of the above 1:1 protection implementation are increased, and the APS component, the OAM component, and the flow table component are added.
  • the corresponding processing with the forwarding component is an implementation scheme of 1:N (N>1).
  • the protection protection member type is set to the information matching the related path ring network protection type; the member data message includes the flow table information and the group entry information for the client side and the network side to send and receive services, Similar to the flow table and the group table of the first and last endpoints NE1 and NE2 of the foregoing protection scheme, the data message also needs to include flow table and group table information for forwarding traffic from one direction to the other direction on the network side, so as to satisfy the transmission work of the ring intermediate node. Business and protection business needs.
  • the controller CMC initiates modification of MPLS_TP LSP 1:1 protection.
  • the protection group ID is 16
  • the working path is modified from A1-Z1 to A2-Z2, and the protection path is modified by A2-Z2.
  • A1-Z1 the other attributes are not modified, and only need to be delivered to NE1 as an example to illustrate the technical solution of this embodiment.
  • Step 1 The CMC initiates the modification of the MPLS_TP LSP1:1 linear protection group.
  • the protection group ID is 16 and the operation type is modified.
  • the APS message member action is 2, and the operation type is modified.
  • the third group information of the data packet is modified, that is, the group entry corresponding to the working LSP port, and the group entry Y1 is bound to the A2 outgoing port and the LSP outgoing label.
  • the group table action includes the setting of the corresponding package information; the fourth group information, that is, the group entry corresponding to the protection LSP port, including the group entry Y2 identifier binding the A1 outgoing port and the LSP out label, and the group table action includes the setting of the corresponding package information.
  • the information of other data messages remains unchanged.
  • the other member information of the APS message remains unchanged and is sent to NE1 through the Openflow channel.
  • Step 2 The Openflow protocol processing component of the NE1 receives the Openflow protocol message, parses the message type type member, and determines that the APS type agreed with the CMC is forwarded to the APS component according to the type value of 241.
  • Step 3 The APS component of the NE1 parses the APS message structure, and determines that the protection group identifier is 16 according to the member APS; and determines that the protection group type is LSP 1:1 linear protection according to the message member type 1, and determines that the message member action is 2
  • the protection group is modified.
  • the third group information and the fourth group information of the data packet are modified by comparing the information of each member of the message with the information that has been validated locally.
  • the APS component notifies the flow table component to modify the corresponding flow table and group table and forward it to the forwarding component. The rest remains unchanged.
  • Step 4 The NE1 forwarding component completes the service from the A2-Z2 working LSP to the client side or the client side to the A2-Z2 working LSP according to the modified flow table information and the group entry information; completing the APS protocol from the APS component to the A2 -Z2 protects the LSP, or sends and receives protocols from the protection LSP to the APS component; the OAM component passes the OAM monitoring status of the working LSP and the protection LSP to the APS component in real time; the APS component is based on the APS protocol, path status, external commands (if any) ), the current protection switching status and the WTR timing situation, comprehensive decision, decide whether to perform protection switching or undo protection switching, and set the forwarding epoch entry Y12 group table action to monitor the A2-Z2 LSP and A1-Z1 LSP OAM status, thereby Modify the service sending action of the forwarding plane (select whether to send to the working path A2-Z2 LSP or to the protection path A1-Z1 LSP
  • the APS component can set its flow table related instruction according to the monitoring status of the working path A2-Z2 LSP and the protection path A1-Z1 LSP, and control the forwarding plane service receiving behavior (selection Received from the working LSP or received from the protection LSP). For example, when the protection type is 1+1, only the flow table needs to be modified to control the receiving behavior of the forwarding service.
  • the content of the action set of the group entry Y12 in the first step does not need to monitor the OAM state, but the group entries Y1 and Y2 are simultaneously executed. That is, concurrent business.
  • the controller CMC initiates the protection of deleting MPLS_TP LSP 1:1, the protection group identifier is 16, the working path is A2-Z2, and the protection path is A1-Z1.
  • the technical solution of this embodiment is described by using only the NE1 as an example.
  • Step 1 The CMC initiates the deletion of the MPLS_TP LSP1:1 linear protection group.
  • the protection group ID is 16 and the operation type is deleted.
  • the message member action of the modified APS is 3, and the identification operation type is deleted; other member information remains unchanged. It is delivered to NE1 through the Openflow channel.
  • Step 2 The Openflow protocol processing component of the NE1 receives the Openflow protocol message, parses the message type type member, and determines the APS type agreed with the CMC to be forwarded to the APS component according to the type value of the type 2.
  • the Openflow protocol processing component of the NE2 receives the message. Openflow protocol message, parsing the message type type member, according to the type value of 241, determining that the APS type agreed with the CMC is forwarded to the APS component;
  • Step 3 The APS component of the NE1 parses the APS message structure, and according to the member APS, determines that the protection group identifier is 16; according to the message member type 1, it determines that the protection group type is LSP 1:1 linear protection; Delete the protection group.
  • the APS component notifies the flow table component to delete the group entry Y12 carried in the fifth group information of the original APS message member data packet in the group table, and modifies the flow table that receives the service from the client side, and jumps to the group entry Y1 (previously Y12). And the information is sent to the forwarding component; the APS component notifies the flow table component to delete the flow table and the group entry information required by the APS protocol, and delivers the information to the forwarding component;
  • Step 4 The NE1 forwarding component completes the sending and receiving of the service from the A2-Z2 LSP to the client side or the client side to the A2-Z2 LSP according to the configured flow table information and the group entry information.
  • a software is also provided for performing the technical solutions related to the method described in the above embodiments and preferred embodiments.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • the embodiment of the present invention has the advantages that the APS message can be newly defined by extending the message type of the Openflow protocol header, and the APS component, the OAM component, the flow table component, and the forwarding component are deployed on the forwarding device side.
  • the protection switching function is configured, and the protection switching is implemented according to external commands, APS signaling, or path alarms output by the OAM component, which has the advantages of being fast, simple, and reliable.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the technical solution provided by the embodiment of the present invention can be applied to the path of the protection switching process of the path, and the forwarding device performs comprehensive decision according to the status information of the current path, the negotiation result of the APS negotiation with other forwarding devices, and the local external command.
  • the technical means for performing the protection switching processing operation corresponding to the decision result solves the problem that the existing path switching solution cannot implement fast protection switching, and cannot meet the scenario with high real-time requirements, thereby achieving the fast protection switching processing of the path. effect.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供了一种路径的保护倒换处理方法、装置、***及转发设备,其中,所述方法包括:SDN中的转发设备获取该转发设备所属路径保护组中当前路径的状态信息,其中,所述当前路径包括:保护路径和/或工作路径;所述转发设备与所述路径保护组中除所述转发设备之外的其他转发设备进行自动保护倒换APS协商;根据APS协商结果、本地的外部命令和所述状态信息进行综合决策,并对所述路径保护组中的所述当前路径执行与所述综合决策的决策结果对应的保护倒换处理操作,其中,所述外部命令用于指示外部对保护倒换操作的控制类型。通过本发明,解决了现有的路径切换方案不能实现快速保护倒换,无法满足实时性要求较高的场景等问题。

Description

路径的保护倒换处理方法、装置、***及转发设备 技术领域
本发明涉及通信领域,具体而言,涉及一种路径的保护倒换处理方法、装置、***及转发设备。
背景技术
软件定义网络(Software defined network,简称SDN)是近年来通信领域的研究热点。国际标准组织ONF(Open networking forum,简称ONF)拟定SDN相关标准建议,重点在于控制器(Controller)和转发设备(Forwarder)之间解耦,规范控制器与转发面之间的接口,方便不同厂家的控制器、转发设备联合组网。
ONF目前已经发布了控制器与转发面之间接口规范OpenFlow Switch Specification,基于此接口规范实施的协议为Openflow协议。ONF在支持二层专线业务、二层VPN业务方面比较成熟。
如图1所示,Openflow通道用于控制器(后文简称Controller)与转发设备(后文简称Forwarder,又称为Switch)之间的Openflow协议交互。控制器发送的协议消息至转发设备后,转发设备的协议处理组件终结协议提取协议报文携带的内容信息,并转发至相应组件。转发设备内相关组件发送至控制器的信息,需要先传递至协议处理组件封装为Openflow协议并发送至控制器。
Openflow协议定义了一系列消息,包括控制器到转发设备(controller-to-switch)消息,异步(asynchronous)消息和对称(symmetric)消息三种大类,每个大类又定义了很多类型。controller-to-switch消息由控制器发起,用来管理或获取forwarder状态;asynchronous消息由forwarder发起,用来将网络事件或forwarder状态变化通知到控制器;symmetric消息可由forwarder或控制器发起。
在支持自动保护倒换(Automatic Protection Switching,简称为APS)功能方面,控制器通过发起controller-to-switch类别的发包(Packet-out)的消息,通过Openflow协议通道发送至Forwarder,Forwarder根据消息指定的转发端口发送;接收端Forwarder收到此消息后,根据消息指示完成相关的工作(比如收发包统计、错包统计等等),并上送至协议处理组件,封装为收包Packet-in消息通过Openflow通道上送至控制器,如图2所示,完成工作路径、保护路径的检测。如果工作路径故障,则控制器通过修改流表或组表并下发至Forwarder的相应组件生效,完成业务至保护路径的切换。但这种机制适合对实时性要求不高的业务传送;不适合需要快速保护倒换完成自愈的场 景,比如分组传送网(Packet Transfer Network,简称为PTN)、光传输网络(Optical Transport Network,简称为OTN)、多协议标签交换(Multi-Protocol Label Switching,简称为MPLS)等设备要求支持50ms左右的快速保护倒换。
针对相关技术中现有的路径切换方案不能实现快速保护倒换,无法满足实时性要求较高的场景等问题,目前尚未提出有效的解决方案。
发明内容
本发明提供了一种路径的保护倒换处理方法、装置、***及转发设备,以至少解决现有的路径切换方案不能实现快速保护倒换,无法满足实时性要求较高的场景等问题。
根据本发明的一个实施例,提供了一种路径的保护倒换处理方法,包括:SDN中的转发设备获取该转发设备所属路径保护组中当前路径的状态信息,其中,所述当前路径包括:保护路径和/或工作路径;所述转发设备与所述路径保护组中除所述转发设备之外的其他转发设备进行自动保护倒换APS协商;根据APS协商结果、本地的外部命令和所述状态信息进行综合决策,并对所述路径保护组中的所述当前路径执行与所述综合决策的决策结果对应的保护倒换处理操作,其中,所述外部命令用于指示外部对保护倒换操作的控制类型。
在本发明实施例中,所述SDN中的转发设备获取该转发设备所属路径保护组中当前路径的状态信息之前,包括:所述转发设备从所述SDN中的控制器中接收配置信息,其中,该配置信息用于对所述路径保护组的路径保护倒换进行配置。
在本发明实施例中,所述转发设备从所述SDN中的控制器中接收所述配置信息,包括:所述转发设备从所述控制器接收专用于发送所述配置信息的APS消息。
在本发明实施例中,所述APS消息通过以下方式确定:在Openflow协议头的类型type成员中增加用于指示所述APS消息的类型信息;并且配置所述类型信息的属性信息。
在本发明实施例中,所述配置信息中至少包括以下之一:保护组标识、保护类型、对所述路径保护组进行操作的操作类型、用于指示外部对保护倒换操作的控制类型的外部命令、表项信息、用于指示是否返回到初始路径的指示信息、用于指示返回到初始路径的等待恢复时间的指示信息。
在本发明实施例中,所述保护类型包括以下之一:1:N保护类型、1+1保护和环保护,其中,N为大于1的整数;和/或,所述操作类型包括以下至少之一:新增路径保 护组、修改路径保护组和删除路径保护组。
在本发明实施例中,所述外部命令包括以下之一:锁定保护命令、人工倒换命令、强制倒换命令和清除已有外部命令;和/或所述表项信息包括以下之一:与业务的接收方向对应的流表和与业务的发送方向对应的组表。
在本发明实施例中,所述外部命令通过以下方式获取:从所述APS消息中获取所述外部命令。
在本发明实施例中,所述外部命令通过以下方式获取:从接收到专用于发送所述外部命令的消息中获取。
根据本发明的另一个实施例,提供了一种SDN中的转发设备,包括:协议处理组件,设置为接收来自所述SDN网络中的控制器的配置信息,其中,所述配置信息用于对路径保护组的路径保护倒换进行配置;自动保护倒换APS组件,设置为接收来自所述协议处理组件转发的所述配置信息,并将所述配置信息中的表项信息发送至流表组件;将所述APS组件生成的用于APS协议收发的表项信息发送至流表组件;接收操作管理维护(Operation Administration and Maintenance,简称为OAM)组件监视的当前工作路径和/或保护路径的状态信息;从转发组件接收进行APS协商的协议报文;以及向所述转发组件发送用于转发设备之间APS协商的协议报文;所述OAM组件,设置为接收转发组件发送来的OAM报文,监视所述当前工作路径和保护路径的状态,并将所述状态发送至所述APS组件;以及将当前工作路径和/或保护路径的OAM报文传递至所述转发组件,以发送到路径远端的转发设备;所述流表组件,设置为将从所述APS组件接收的所述表项信息进行综合处理,并根据转发组件的接口需求转发至所述转发组件;所述转发组件,设置为执行与所述表项信息对应的业务转发操作,用于发送和接收所述OAM组件所需的OAM报文,以及发送和接收所述APS组件所需的APS协议报文。
在本发明实施例中,所述协议处理组件,设置为从所述控制器接收专用于发送所述配置信息的APS消息。
在本发明实施例中,所述APS消息通过以下方式确定:在Openflow协议头的类型type成员中增加用于指示所述APS消息的类型信息;并且配置所述类型信息的属性信息。
在本发明实施例中,所述协议处理组件,设置为接收包括以下至少之一的所述配置信息:保护组标识、保护类型、对所述路径保护组进行操作的操作类型、用于指示外部对保护倒换操作的控制类型的外部命令、表项信息、用于指示是否返回到初始路径的指示信息、用于指示返回到初始路径的等待恢复时间的指示信息。
根据本发明的另一个实施例,提供了一种路径的保护倒换处理***,SDN中的转发设备和控制器,其中,所述控制器,设置为向所述转发设备发送配置信息,其中,所述配置信息用于路径保护组的路径保护倒换进行配置;所述转发设备,设置为获取当前路径的状态信息,并在与对端转发设备进行自动保护倒换APS协商完成后,结合APS协商结果、本地的外部命令和所述状态信息进行综合决策,对所述路径保护组中的所述当前路径执行与所述综合决策的决策结果对应的保护倒换处理操作。
在本发明实施例中,所述控制器,设置为向所述转发设备发送专用于发送所述配置信息的APS消息。
根据本发明的又一个实施例,提供了一种路径的保护倒换处理装置,应用于SDN中的转发设备,包括:获取模块,设置为获取该转发设备所属路径保护组中当前路径的状态信息,其中,所述当前路径包括:保护路径和/或工作路径;协商模块,设置为与所述路径保护组中除所述转发设备之外的其他转发设备进行自动保护倒换APS协商;控制模块,设置为根据APS协商结果、本地的外部命令和所述状态信息进行综合决策,并对所述路径保护组中的所述当前路径执行与所述综合决策的决策结果对应的保护倒换处理操作,其中,所述外部命令用于指示外部对保护倒换操作的控制类型。
在本发明实施例中,上述装置还包括:接收模块,设置为从所述SDN中的控制器中接收配置信息,其中,所述配置信息用于路径保护组的路径保护倒换进行配置。
通过本发明实施例,采用转发设备根据当前路径的状态信息、与其他转发设备进行APS协商的协商结果以及本地的外部命令进行综合决策,并执行与决策结果对应的保护倒换处理操作的技术手段,解决了现有的路径切换方案不能实现快速保护倒换,无法满足实时性要求较高的场景等问题,进而达到了路径的快速保护倒换处理的效果。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1为相关技术中的SDN网络示意图;
图2为相关技术中的SDN网络Packet-out和Packet-in消息收发示意图;
图3为根据本发明实施例的路径的保护倒换处理方法的流程图;
图4为根据本发明实施例的路径的保护倒换处理装置的结构框图;
图5为根据本发明一个可选实施例的路径的保护倒换处理装置的结构框图;
图6为根据本发明实施例的转发设备的结构框图;
图7为根据本发明实施例的路径的保护倒换处理***的结构框图;
图8为根据本发明可选实施例的路径的保护倒换处理***的结构示意图;
图9为本发明实施例的线性保护架构示意图;
图10为本发明实施例的线性保护中只配一个端点Forwarder的架构示意图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
本发明实施例基于ONF现有框架,在OpenFlow Switch Specification现有标准接口基础上,提出一种快速实现保护倒换功能的方案,以解决现有SDN标准中的切换方案不能实现快速保护倒换,无法满足实时性要求较高的场景等问题,以满足PTN、OTN、MPLS等设备的要求。
在本实施例中提供了一种路径的保护倒换处理方法,图3为根据本发明实施例的路径的保护倒换处理方法的流程图,如图3所示,该流程包括如下步骤:
步骤S302,SDN中的转发设备获取该转发设备所属路径保护组中当前路径的状态信息,其中,上述当前路径包括:保护路径和/或工作路径。也就是说,转发设备可以仅获取保护路径或者工作路径的状态,也可以同时获取两种路径的状态(保护路径的状态和工作路径的状态)。
步骤S304,转发设备与路径保护组中除上述转发设备之外的其他转发设备进行自动保护倒换APS协商;可选地,对于路径保护组中的其他转发设备也可以表述为远端设备,例如,在一个可选实施方式中,可以表现为以下形式,但不限于此:对于线性保护(例如1:1保护或1:N保护)可以表现为路径保护组所对应路径上上述转发设备的对端设备;对于环保护,可以表现为与上述转发设备相邻的设备。
步骤S306,根据APS协商结果、本地的外部命令和上述状态信息进行综合决策,并对上述路径保护组中的上述当前路径执行与上述综合决策的决策结果对应的保护倒换处理操作,其中,上述外部命令用于指示外部对保护倒换操作的控制类型。在一个可选实施方式中,该控制类型可以包括但不限于执行保护倒换操作或者撤销保护倒换操作。
通过上述步骤,由于转发设备可以直接根据当前路径的状态、APS协商结果以及 本地是否存在外部命令执行保护倒换处理操作,因此,减少了与SDN网络架构中控制器的消息交互流程,从而减少了保护倒换的时间,实现了路径的快速保护倒换。
需要说明的是,在一个可选实施例中,步骤S302和S304的执行顺序是可以互换的,即可以先执行步骤S302,再执行步骤S304;或者,先执行步骤S304,再执行步骤S302。
可选地,在步骤S306进行综合决策时,除了考虑上述APS协商结果、本地的外部命令和上述状态信息之外,还可以考虑当前保护倒换状态及等待恢复时间(Wait to Restore Time,简称WTR)计时情况(也可以认为该WTR计时情况归属于当前保护倒换状态),由于当前保护倒换状态及WTR计时情况是在进行保护倒换时,本领域技术人员会考虑到的因素,因此,在步骤S306中并未提及当前保护倒换状态和WTR计时情况,但是,本发明实施例对此并不作限定,例如,本发明实施例可以包括以下情况:在进行综合决策时不考虑上述当前保护倒换状态和WTR计时情况,也能够实现保护倒换处理。
可选地,步骤S306中,可以依据相关技术中ITU-TG.841/G.808.1/G.808.2等标准进行综合决策,但不限于此。
在本实施例中,为了实现转发设备的自切换功能,在步骤S302之前,可以预先设置用于实现对上述路径保护组的路径保护倒换功能进行配置的配置信息,例如可以通过以下方式实现:转发设备从SDN中的控制器中接收上述配置信息,其中,上述配置信息用于对路径保护组的路径保护倒换进行配置。
在本发明实施例中,转发设备接收上述配置信息的方式有多种,例如可以从已有消息中接收,还可以从控制器构建的新消息中接收,对于后者,可以通过以下方式实现:转发设备从控制器接收专用于发送上述配置信息的APS消息。自此,APS保护倒换控制以及协议处理功能便由控制器下移至转发设备,控制器仅需部署APS保护组的配置管理功能即可。
在一个可选实施例中,上述APS消息通过以下方式确定:在Openflow协议头的类型type成员中增加用于指示上述APS消息的类型信息;并且配置上述类型信息的属性信息。可选地,该属性信息可以用于反映或指示上述配置信息。其中,Openflow协议头的成员如表1所示:
表1
version Openflow协议版本号
type Openflow协议消息类型
length Openflow协议消息的长度(包含Openflow协议头)
可选的,APS消息的消息成员如表2所示:
表2
Figure PCTCN2015088169-appb-000001
其中,对于上述配置信息,其可以至少包括以下之一:保护组标识、保护类型、对路径保护组进行操作的操作类型、用于指示外部对保护倒换操作的控制类型的外部命令、表项信息、用于指示是否返回到初始路径的指示信息、用于指示返回到初始路径的等待恢复时间的指示信息。
其中,本实施例中的保护倒换是指从故障路径切换到正常路径接收和发送业务。软件定义网络SDN通过流表和组表(具体包括流表类型、表项标识、匹配项、指令及动作集等)控制路径的业务收发。通过流表(包括流表类型、表项标识、匹配项、指令及动作集)标识入向端口,控制收业务;使用组表信息(包括表项标识、匹配项、指令及动作集等)标识出向端口,控制业务的发送。
对于返回式保护(即返回到初始路径的保护方式),是指原故障的工作路径恢复正常,业务等待一段时间(即WTR)再切换到工作路径;对于非返回式保护,故障的路径恢复正常也不返回,不需要WTR。
其中,上述保护类型包括以下之一:1:N保护类型、1+1保护和环保护,其中,N 为大于1的整数;和/或,操作类型包括以下至少之一:新增路径保护组、修改路径保护组和删除路径保护组。
其中,对于修改路径保护组的操作类型可以表现为修改路径保护组的属性信息,例如可以修改WTR、返回方式(可以表现为返回初始路径的方式,但不限于此)、新增、修改或删除路径保护组的表项信息等,但不限于此。可选地,对于保护类型可以包括但不限于PTN网络的1:1保护或1+1隧道保护或伪线保护、基于段层的共享环保护;OTN网络中的1+1保护或1:1ODUk通道保护等。对于1:N保护或1+1保护,一般仅需首尾节点参与保护倒换即可,称为线性保护;对于环保护,则需要环上每个节点均参与。
可选地,修改路径保护组的操作类型,可以包括但不限于修改以下至少之一的上述配置信息:保护组标识、保护类型、对上述路径保护组进行操作的操作类型、用于指示外部对保护倒换操作的控制类型的外部命令、表项信息、用于指示是否返回到初始路径的指示信息、用于指示返回到初始路径的等待恢复时间的指示信息。
在本发明的一个可选实施例中,上述外部命令包括但不限于以下之一:锁定保护命令(即禁止保护倒换的命令)、人工倒换命令、强制倒换命令和清除已有外部命令;和/或,上述表项信息包括但不限于以下之一:与业务的接收方向对应的流表和与业务的发送方向对应的组表。
在本发明实施例中,通过以下方式获取上述外部命令:从上述APS消息中获取上述外部命令,即上述外部命令可以通过APS消息携带;可选地,还可以从接收到的专用于发送上述外部命令的消息中获取,即可以上述外部命令可以通过专用消息携带。
在本实施例中还提供了一种路径的保护倒换处理装置,该装置应用于SDN中的转发设备,用于实现上述方法实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。图4为根据本发明实施例的路径的保护倒换处理装置的结构框图。如图4所示,该装置包括以下处理模块:
获取模块40,设置为获取该转发设备所属路径保护组中当前路径的状态信息,其中,上述当前路径包括:保护路径和/或工作路径;
协商模块42,设置为与上述路径保护组中除上述转发设备之外的其他转发设备进行自动保护倒换APS协商;
控制模块44,连接至获取模块40和协商模块42,设置为根据APS协商结果、本地的外部命令和上述状态信息进行综合决策,并对上述路径保护组中的上述当前路径 执行与上述综合决策的决策结果对应的保护倒换处理操作,其中,上述外部命令用于指示外部对保护倒换操作的控制类型。
通过上述各个模块实现的功能,同样可以路径的快速保护倒换。
在本发明的一个可选实施例中,如图5所示,上述装置还可以包括:接收模块46,与获取模块40、协商模块42和控制模块44连接,设置为从SDN中的控制器中接收配置信息,其中,上述配置信息用于路径保护组的路径保护倒换进行配置。
正如上面所述,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以表现为以下形式但不限于此:上述各个模块分别位于不同的处理器中;或者上述各个模块位于同一处理器中。
需要说明的是,本实施例所提供的路径的保护倒换处理装置所实现的功能可以参见上述方法实施例的描述,此处不再赘述。
本发明实施例还提供了一种SDN中的转发设备,如图6所示,该转发设备包括:
协议处理组件60,设置为接收来自SDN网络中的控制器的配置信息,其中,上述配置信息用于对路径保护组的路径保护倒换进行配置;
自动保护倒换(APS)组件62,设置为接收来自协议处理组件60转发的上述配置信息,并将上述配置信息中的表项信息发送至流表组件64;将APS组件62生成的用于APS协议收发的表项信息发送至流表组件;接收操作管理维护(OAM)组件66监视的当前工作路径和/或保护路径的状态信息;接收转发组件68发送来的进行APS协商的协议报文;以及向转发组件68发送用于转发设备之间APS协商的协议报文;
简单来说,APS组件62接收来自控制器的配置和管理信息,同时接收APS信令(首尾节点之间,或节点与节点之间的APS组件互发APS信令,完成协议协商)和OAM组件传递的路径状态,输出保护倒换控制命令至流表组件64(流表和组表等表项处理的组件,简称为流表组件),比如执行或撤销保护倒换动作,并输出APS信令至其他节点。
OAM组件66,设置为接收转发组件发送来的OAM报文,监视上述当前工作路径和保护路径的状态,并将上述状态发送至APS组件62;以及将当前工作路径和/或保护路径的OAM报文传递至转发组件68,以发送到路径远端的转发设备;由此可见,OAM组件66主要负责路径的告警监视功能。
流表组件64,设置为将从APS组件62接收的上述表项信息进行综合处理,并根据转发组件68的接口需求转发至转发组件68;
转发组件68,设置为执行与上述表项信息对应的业务转发操作,用于发送和接收 OAM组件66所需的OAM报文,以及发送和接收APS组件62所需的APS协议报文。
在本发明实施例中,协议处理组件60,设置为从上述控制器接收专用于发送上述配置信息的APS消息。可选地,上述APS消息通过以下方式确定:在Openflow协议头的类型type成员中增加用于指示上述APS消息的类型信息;并且配置上述类型信息的属性信息。
在本发明实施例中,协议处理组件60,设置为接收包括以下至少之一的上述配置信息:保护组标识、保护类型、对上述路径保护组的表项信息进行操作的操作类型、用于指示外部对保护倒换操作的控制类型的外部命令、表项信息、用于指示是否返回到初始路径的指示信息、用于指示返回到初始路径的等待恢复时间的指示信息。
为便于理解上述各个组件的工作过程,以下结合一个可选实施例详细说明。在本可选实施例中,控制器(Controller)首先发起保护组的配置管理。构造此APS消息,包括扩展Openflow协议头的消息类型,新增APS类型,定义消息成员分别携带保护组标识、保护类型、操作类型、外部命令、绑定表项(流表和组表)、是否返回以及WTR等属性,并通过Openflow通道发送至实施保护倒换功能路径的首或尾端点Forwarder(对于环保护,则是环上的所有Forwarder节点),可选地,上述步骤所述的APS类型包的类型可以是针对以太网、IP、MPLS、传送多协议标签交换(Multi-Protocol Label Switching–Transport Profile,简称MPLS-TP)、运营商骨干桥接(Provider Backbone Bridge,简称PBB)、OTN、波分复用(Wavelength Division Multiplexing,简称WDM)等转发路径的保护倒换。然后执行以下处理步骤:
步骤一、首或尾端点的Forwarder(对于环保护,则是环上的所有Forwarder节点)的Openflow协议处理组件接收到Openflow消息后,根据Openflow协议头类型成员判断是否是APS类型的消息包,是则转发至APS组件并转入下一步;否则按照其他Openflow协议消息类型所需流程处理;
步骤二、APS组件接收到APS消息包之后,解析消息成员,识别保护组标识、保护类型、操作类型、外部命令、绑定表项、是否返回以及等待回复等属性,并将表项信息包含的流表和组表信息转发至流表组件,将监视的路径信息通知OAM组件。根据保护组相关的流表和组表信息,APS组件同时配置APS协议所需的流表和组表项信息至流表组件。转发组件综合流表和组表信息,并下发至转发组件;
步骤三、转发组件根据配置的流表信息和组表项信息,完成业务网络侧到客户侧或客户侧到网络侧的收发;完成APS协议从APS组件到网络侧,或从网络侧到APS组件的协议收发;OAM组件将路径的监视状态传递至APS组件;APS组件根据外部命令(如果有的话)、APS协议、上述路径状态、当前保护倒换状态以及WTR计时情 况,综合决策,然后通知流表组件设置转发面组表项监视跳转条目对应的监视信息,从而修改转发面的业务发送动作(选择往工作路径发送还是往保护路径发送),完成保护倒换动作或撤销保护倒换动作。
在本可选实施例中,对于步骤三,根据保护组类型或用户需求,APS组件还可以通过流表组件设置相应流表的指令,控制转发面业务接收行为(选择从工作路径接收还是从保护路径接收)。
在本可选实施例中,Controller可以将APS配置管理信息同时或分别下发至Forwarder(首端点和尾端点、对于环保护则是所有节点);在某些特殊情况下,比如SDN网络与传统网络对接,或者不同的SDN网络对接,只需要配置一个Forwarder(首端点或尾端点)的APS;对于环保护,只需要配置环上一个或几个Forwarder的APS。
在本可选实施例中,上述步骤所述的保护组标识可以是一串数字或字符串;上述保护类型包括路径的1:N(N大于或等于1)保护、1+1保护、环保护;上述操作类型包括新增、修改或删除;上述外部命令包括锁定(禁止保护倒换)、人工倒换、强制倒换等;上述绑定表项包括入方向路径(接收业务的方向)对应的流表以及出发向路径(发送业务的方向)对应的组表;上述是否返回属性包括返回、非返回两种;上述WTR仅对返回式保护生效,一般范围是12分钟以内,可以人工设置及修改。
可选地,上述技术方案所述的保护倒换路径,泛指以太网、IP、MPLS、MPLS-TP、PBB、OTN、WDM等通信技术的各层传输路径,比如MPLS-TP的以太网物理层路径、段层路径、隧道层路径、伪线层路径等等;再比如OTN网络的OTN物理层路径、再生段路径、复用段路径、高阶ODU路径、低阶ODU路径等等。
本发明实施例还提供了一种路径的保护倒换处理***,如图7所示,该***包括:SDN中的转发设备70和控制器72,其中,控制器72,设置为向转发设备70发送配置信息,其中,上述配置信息用于路径保护组的路径保护倒换进行配置;转发设备70,设置为获取当前路径的状态信息,并在与对端转发设备进行自动保护倒换APS协商完成后,结合APS协商结果、本地的外部命令和上述状态信息进行综合决策,对上述路径保护组中的上述当前路径执行与上述综合决策的决策结果对应的保护倒换处理操作。
在本发明的一个可选实施例中,控制器72,设置为向转发设备70发送专用于发送上述配置信息的APS消息,即控制器72通过APS消息将上述配置信息发送至转发设备70。
本实施例的一个可选实施例中,如图8所示,路径的保护倒换处理***中:转发设备70和控制器72之前通过Openflow通道进行APS信息交互。控制器72包括APS 配置管理模块720,
通过上述实施例及其可选实施例可以看出,本发明实施例是基于现有Openflow协议,扩展协议头的消息类型定义,通过新定义的APS消息传递各种路径保护功能的新增、修改和删除等配置管理信息;转发设备部署OAM组件监视路径告警状态并实时通知APS组件,部署流表组件根据APS组件指示完成保护倒换或撤销保护倒换的转发行为,部署APS组件完成APS保护组的配置管理和保护倒换决策,完成针对路径为标签交换路径(Label Switched Path,简称为LSP)、伪线(Pseudo Wire,简称为PW)、光通路数据单元(Optical Date Unit,简称为ODU)k、IP、以太网等网络的线性保护或环网保护功能,具备简洁、可靠的优点。其中,k表示ODU的等级,取自然数。
为了更好地理解上述实施例,以下结合优选实施例1-6详细说明。以下优选实施例提供的路径的保护倒换处理方案的主要设计思想在于,针对相关技术中SDN网络无法完成快速保护倒换功能的问题,以优选实施例基于现有Openflow协议,扩展协议头的消息类型(type)定义,通过新定义的APS消息完成各种路径保护功能的配置管理;转发设备部署OAM组件监视路径告警状态并实时通知APS组件,部署流表组件完成保护倒换或撤销保护倒换的转发行为,部署APS组件完成APS保护组的配置管理和保护倒换决策。
实施例1
本优选实施例,结合上述实施例中所述的表1-表2,以及图8-图9,以Controller CMC发起新增MPLS_TP LSP 1:1的保护,保护组标识为16,工作路径为A1-Z1(Forwarder NE1的A1端口到Forwarder NE2的Z1端口),保护路径为A2-Z2(Forwarder NE1的A2端口到Forwarder NE2的Z2端口),返回式,WTR为5分钟,A1-Z1和A2-Z2的OAM监视已经生效为例说明。
本优选实施例采用的具体技术方案包括如下步骤:
步骤一、CMC发起新增MPLS_TP LSP1:1线性保护组,保护组标识为16,操作类型为新增。扩展Openflow协议头的消息类型type成员,从未用到的类型值选择241作为APS消息的标识,APS的消息成员id取值为16;消息成员type设置1,标识保护组类型为LSP 1:1线性保护;设置消息成员action为1,标识操作类型为新增;消息成员command设置为0,当前没有外部命令;data报文的第一组信息设置工作LSP端口对应的流表,包括流表条目信息X1标识绑定端口A1的入向端口以及LSP入标签等信息,流表指令为跳转至指向客户端口的组表项;安排第二组信息设置保护LSP端口对应的流表,包括流表条目信息X2标识绑定端口A2的入向端口以及LSP入标签等信息,流表指令为跳转至指向客户端口的组表项;第三组信息设置为工作LSP端 口对应的组表项,包括组表项Y1标识绑定A1出向端口和LSP出标签,组表动作包含相应封装信息的设置;第四组信息设置为保护LSP端口对应的组表项,包括组表项Y2标识绑定A2出向端口和LSP出标签,组表动作包含相应封装信息的设置;第五组信息设置为组表项Y12标识绑定上述LSP 1:1保护组,组表动作包含监视A1-Z1 LSP路径OAM状态,跳转至上述Y1组表项,监视A2-Z2 LSP路径OAM状态,跳转至上述Y2组表项等内容。随后还要设置几组信息,包括以1标识返回式保护、以5标识WTR为5分钟、以及其他所需信息。并通过Openflow通道下发至NE1。
NE2的APS信息与NE1的相似,修改NE1的APS消息成员data报文信息中的Z1和Z2端口、LSP入出标签、流表项标识以及组表项标识与NE2相符即可,并通过Openflow通道下发至NE2。
步骤二、NE1和NE2的Openflow协议处理组件接收到Openflow协议消息,解析消息类型type成员,根据type取值为241,判断是与CMC约定的APS类型,转发至APS组件;
步骤三、NE1和NE2的APS组件解析APS消息结构,根据成员APS,判断保护组标识为16;根据消息成员type为1,判断保护组类型为LSP 1:1线性保护;根据消息成员action为1判断是新增保护组;根据消息成员command为0,判断当前没有外部命令;根据data报文的第一组信息和第二组信息获悉流表配置,并将之转发至流表组件,将需要监视的入向A1端口和LSP入标签对应路径的OAM信息转发至OAM组件;根据data报文的第三组、第四组和第五组信息获悉组表项配置,并将之转发至流表组件;根据data报文的其他信息,获悉保护组为返回式、WTR为5分钟。APS组件根据第一组至第五组的流表和组表信息,配置APS协议所需的流表和组表项信息并通知流表组件,以便APS信息可以从保护路径LSP收发;流表组件综合上述流表信息和组表信息,根据转发组件要求生成所需转发流表和组表信息并下发至转发组件。
步骤四、NE1和NE2转发组件根据配置的流表信息和组表项信息,完成业务从A1-Z1工作LSP到客户侧或客户侧到A1-Z1工作LSP的收发;完成APS协议从APS组件到A2-Z2保护LSP,或从保护LSP到APS组件的协议收发;OAM组件将工作LSP和保护LSP的OAM监视状态实时传递至APS组件;APS组件根据APS协议、路径状态、外部命令(如果有的话)、当前保护倒换状态以及WTR计时情况,综合决策,决定是否执行保护倒换或撤销保护倒换,并通知流表组件设置转发面组表项Y12组表动作中监视A1-Z1 LSP和A2-Z2 LSP OAM状态,从而修改转发面的业务发送动作(选择往工作路径A1-Z1 LSP发送还是往保护路径A2-Z2 LSP发送),进而实施保护倒换或撤销保护倒换动作。
特别地,对于步骤四,根据保护组类型或用户需求,APS组件根据工作路径A1-Z1  LSP和保护路径A2-Z2 LSP的监视状态可以通知流表组件设置其流表相关指令,控制转发面业务接收行为(选择从工作LSP接收还是从保护LSP接收)。比如保护类型为1+1时,只需要修改流表控制转发业务的接收行为,步骤一中的组表项Y12的动作集内容不需要监视OAM状态,而是同时执行组表项Y1和Y2,即并发业务。
特别地,对于路径为PW、ODUk、IP、以太网等的1:1或1+1线性保护,上述实施方案同样适用。对于N>1的1:N线性保护,保护路径数目大于1条,上述1:1保护实施方案data消息中流表信息和组表项信息做相应的条目增加,APS组件、OAM组件、流表组件和转发组件做相应的处理就是1:N(N>1)的实施方案。
特别地,对于路径为LSP、PW、ODUk、IP、以太网等的环网保护,上述实施方案同样适用。成员type设置为与相关路径环网保护类型匹配的信息;成员data消息中包含针对客户侧与网络侧收发业务的流表信息和组表项信息,与保护方案中的首尾端点NE1和NE2的流表和组表相似,同时data消息中还需要包含针对网络侧一个方向到另一个方向转发业务的流表与组表信息,以满足环中间节点传递工作业务和保护业务的需求。
实施例2
结合上述实施例中的表1-2,图8和图9,以Controller CMC发起修改MPLS_TP LSP1:1的保护,保护组标识为16,工作路径由A1-Z1修改为A2-Z2,保护路径由A2-Z2修改为A1-Z1,其他属性不修改为例说明本实施例的方案。
本实施例采用的技术方案包括如下步骤:
步骤一、CMC发起修改MPLS_TP LSP1:1线性保护组,保护组标识为16,操作类型为修改。修改APS消息成员action为2,标识操作类型为修改;修改data报文的第三组信息,即工作LSP端口对应的组表项,包括组表项Y1标识绑定A2出向端口和LSP出标签,组表动作包含相应封装信息的设置;第四组信息,即保护LSP端口对应的组表项,包括组表项Y2标识绑定A1出向端口和LSP出标签,组表动作包含相应封装信息的设置;其他data报文信息维持不变,APS消息的其他成员业务维持不变,并通过Openflow通道下发至NE1。
NE2的APS消息和NE1相似,修改NE1的APS消息成员data报文信息中的Z1和Z2端口、LSP入出标签、流表项标识以及组表项标识与NE2相符即可,并通过Openflow通道下发至NE2。
步骤二、NE1和NE2的Openflow协议处理组件接收到Openflow协议消息,解析消息类型type成员,根据type取值为241,判断是与CMC约定的APS类型,转发至APS组件;
步骤三、NE1和NE2的APS组件解析APS消息结构,根据成员APS,判断保护组标识为16;根据消息成员type为1,判断保护组类型为LSP 1:1线性保护;根据消息成员action为2判断是修改保护组;通过比较消息各成员与本地已生效信息,获悉修改data报文的第三组信息和第四组信息。APS组件通知流表组件修改相应的流表和组表,并将之转发至转发组件。其他维持不变。
步骤四、NE1和NE2转发组件根据修改后的流表信息和组表项信息,完成业务从A2-Z2工作LSP到客户侧或客户侧到A2-Z2工作LSP的收发;完成APS协议从APS组件到A2-Z2保护LSP,或从保护LSP到APS组件的协议收发;OAM组件将工作LSP和保护LSP的OAM监视状态实时传递至APS组件;APS组件根据APS协议、路径状态、外部命令(如果有的话)、当前保护倒换状态以及WTR计时情况,综合决策,决定是否执行保护倒换或撤销保护倒换,并设置转发面组表项Y12组表动作中监视A2-Z2 LSP和A1-Z1 LSP OAM状态,从而修改转发面的业务发送动作(选择往工作路径A2-Z2 LSP发送还是往保护路径A1-Z1 LSP发送),进而实施保护倒换或撤销保护倒换动作。
特别地,对于步骤四,根据保护组类型或用户需求,APS组件根据工作路径A2-Z2 LSP和保护路径A1-Z1 LSP的监视状态可以设置其流表相关指令,控制转发面业务接收行为(选择从工作LSP接收还是从保护LSP接收)。比如保护类型为1+1时,只需要修改流表控制转发业务的接收行为,步骤一中的组表项Y12的动作集内容不需要监视OAM状态,而是同时执行组表项Y1和Y2,即并发业务。
实施例3
结合表1-2、图8和图9,以Controller CMC发起删除MPLS_TP LSP 1:1的保护,保护组标识为16,工作路径为A2-Z2,保护路径为A1-Z1为例说明本实施例的技术方案。
具体实施方案包括如下步骤:
步骤一、CMC发起删除MPLS_TP LSP1:1线性保护组,保护组标识为16,操作类型为删除。修改APS的消息成员action为3,标识操作类型为删除;其他成员信息维持不变。并通过Openflow通道下发至NE1、NE2。
步骤二、NE1和NE2的Openflow协议处理组件接收到Openflow协议消息,解析消息类型type成员,根据type取值为241,判断是与CMC约定的APS类型,转发至APS组件;
步骤三、NE1的APS组件解析APS消息结构,根据成员APS,判断保护组标识为16;根据消息成员type为1,判断保护组类型为LSP 1:1线性保护;根据消息成员action 为3判断是删除保护组。APS组件通知流表组件删除组表中原APS消息成员data报文第五组信息携带的组表项Y12,修改从客户侧接收业务的流表,跳转至组表项Y1(之前是Y12),并下发至转发组件;APS组件通知流表组件删除APS协议所需的流表和组表项信息并下发至转发组件;NE2也做相似的修改。
步骤四、NE1和NE2转发组件根据配置的流表信息和组表项信息,完成业务从A2-Z2 LSP到客户侧或客户侧到A2-Z2 LSP的收发。
实施例4
当与传统网络对接或用户有特殊需求时,可以SDN控制器可以只管理保护组的部分SDN转发面设备,只配置部分SDN转发面设备。
结合图表1-2,以及图8和10,以Controller CMC发起新增MPLS_TP LSP 1:1的保护,保护组标识为16,工作路径为A1-Z1(Forwarder NE1的A1端口到Forwarder NE2的Z1端口),保护路径为A2-Z2(Forwarder NE1的A2端口到Forwarder NE2的Z2端口),返回式,WTR为5分钟,A1-Z1和A2-Z2的OAM监视已经生效,且只需要配置NE1为例说明本实施例所采用的技术方案。
本实施例采用的技术方案包括如下步骤:
步骤一、CMC发起新增MPLS_TP LSP1:1线性保护组,保护组标识为16,操作类型为新增。扩展Openflow协议头的消息类型type成员,从未用到的类型值选择241作为APS消息的标识,APS的消息成员id取值为16;消息成员type设置1,标识保护组类型为LSP 1:1线性保护;设置消息成员action为1,标识操作类型为新增;消息成员command设置为0,当前没有外部命令;data报文的第一组信息设置工作LSP端口对应的流表,包括流表条目信息X1标识绑定端口A1的入向端口以及LSP入标签等信息,流表指令为跳转至指向客户端口的组表项;安排第二组信息设置保护LSP端口对应的流表,包括流表条目信息X2标识绑定端口A2的入向端口以及LSP入标签等信息,流表指令为跳转至指向客户端口的组表项;第三组信息设置为工作LSP端口对应的组表项,包括组表项Y1标识绑定A1出向端口和LSP出标签,组表动作包含相应封装信息的设置;第四组信息设置为保护LSP端口对应的组表项,包括组表项Y2标识绑定A2出向端口和LSP出标签,组表动作包含相应封装信息的设置;第五组信息设置为组表项Y12标识绑定上述LSP 1:1保护组,组表动作包含监视A1-Z1 LSP路径OAM状态,跳转至上述的Y1组表项,监视A2-Z2 LSP路径OAM状态,跳转至上述的Y2组表项等内容。随后还要设置几组信息,包括以1标识返回式保护、以5标识WTR为5分钟、以及其他所需信息。并通过Openflow通道下发至NE1。
步骤二、NE1的Openflow协议处理组件接收到Openflow协议消息,解析消息类 型type成员,根据type取值为241,判断是与CMC约定的APS类型,转发至APS组件;
步骤三、NE1的APS组件解析APS消息结构,根据成员APS,判断保护组标识为16;根据消息成员type为1,判断保护组类型为LSP 1:1线性保护;根据消息成员action为1判断是新增保护组;根据消息成员command为0,判断当前没有外部命令;根据data报文的第一组信息和第二组信息获悉流表配置,并将转发流表组件,将需要监视的入向A1端口和LSP入标签对应路径的OAM信息转发至OAM组件;根据data报文的第三组、第四组和第五组信息获悉组表项配置,并将之转发至流表组件;根据data报文的其他信息,获悉保护组为返回式、WTR为5分钟。APS组件根据上述第一组至第五组的流表和组表信息,配置APS协议所需的流表和组表项信息并通知流表组件,以便APS信息可以从保护路径LSP收发;流表组件综合上述流表信息和组表信息,根据转发组件要求生成所需转发流表和组表信息并下发至转发组件。
步骤四、NE1转发组件根据配置的流表信息和组表项信息,完成业务从A1-Z1工作LSP到客户侧或客户侧到A1-Z1工作LSP的收发;完成APS协议从APS组件到A2-Z2保护LSP,或从保护LSP到APS组件的协议收发;OAM组件将工作LSP和保护LSP的OAM监视状态实时传递至APS组件;APS组件根据APS协议、路径状态、外部命令(如果有的话)、当前保护倒换状态以及WTR计时情况,综合决策,决定是否执行保护倒换或撤销保护倒换,并通知流表组件设置转发面组表项Y12组表动作中监视A1-Z1 LSP和A2-Z2 LSP OAM状态,从而修改转发面的业务发送动作(选择往工作路径A1-Z1 LSP发送还是往保护路径A2-Z2 LSP发送),进而实施保护倒换或撤销保护倒换动作。
特别地,对于步骤四,根据保护组类型或用户需求,APS组件根据工作路径A1-Z1 LSP和保护路径A2-Z2 LSP的监视状态可以通知流表组件设置其流表相关指令,控制转发面业务接收行为(选择从工作LSP接收还是从保护LSP接收)。比如保护类型为1+1时,只需要修改流表控制转发业务的接收行为,步骤一中的组表项Y12的动作集内容不需要监视OAM状态,而是同时执行组表项Y1和Y2,即并发业务。
特别地,对于路径为PW、ODUk、IP、以太网等的1:1/1+1线性保护,上述发明实施方案同样适用。对于N>1的1:N线性保护,保护路径数目大于1条,上述1:1保护实施方案data消息中流表信息和组表项信息做相应的条目增加,APS组件、OAM组件、流表组件和转发组件做相应的处理就是1:N(N>1)的实施方案。
特别地,对于路径为LSP、PW、ODUk、IP、以太网等的环网保护,上述发明实施方案同样适用。上述保护实施方案成员type设置为与相关路径环网保护类型匹配的信息;成员data消息中包含针对客户侧与网络侧收发业务的流表信息和组表项信息, 与上述保护方案首尾端点NE1和NE2的流表和组表相似,同时data消息中还需要包含针对网络侧一个方向到另一个方向转发业务的流表与组表信息,以满足环中间节点传递工作业务和保护业务的需求。
实施例5
结合图表1-2、图8和图10,以Controller CMC发起修改MPLS_TP LSP 1:1的保护,保护组标识为16,工作路径由A1-Z1修改为A2-Z2,保护路径由A2-Z2修改为A1-Z1,其他属性不修改,且只需要下发至NE1为例说明本实施例的技术方案。
本实施例采用的技术方案包括如下步骤:
步骤一、CMC发起修改MPLS_TP LSP1:1线性保护组,保护组标识为16,操作类型为修改。修改APS消息成员action为2,标识操作类型为修改;修改data报文的第三组信息,即工作LSP端口对应的组表项,包括组表项Y1标识绑定A2出向端口和LSP出标签,组表动作包含相应封装信息的设置;第四组信息,即保护LSP端口对应的组表项,包括组表项Y2标识绑定A1出向端口和LSP出标签,组表动作包含相应封装信息的设置;其他data报文信息维持不变,APS消息的其他成员信息维持不变,并通过Openflow通道下发至NE1。
步骤二、NE1的Openflow协议处理组件接收到Openflow协议消息,解析消息类型type成员,根据type取值为241,判断是与CMC约定的APS类型,转发至APS组件;
步骤三、NE1的APS组件解析APS消息结构,根据成员APS,判断保护组标识为16;根据消息成员type为1,判断保护组类型为LSP 1:1线性保护;根据消息成员action为2判断是修改保护组;通过比较消息各成员与本地已生效信息,获悉修改data报文的第三组信息和第四组信息。APS组件通知流表组件修改相应的流表和组表,并将之转发至转发组件。其他维持不变。
步骤四、NE1转发组件根据修改后的流表信息和组表项信息,完成业务从A2-Z2工作LSP到客户侧或客户侧到A2-Z2工作LSP的收发;完成APS协议从APS组件到A2-Z2保护LSP,或从保护LSP到APS组件的协议收发;OAM组件将工作LSP和保护LSP的OAM监视状态实时传递至APS组件;APS组件根据APS协议、路径状态、外部命令(如果有的话)、当前保护倒换状态以及WTR计时情况,综合决策,决定是否执行保护倒换或撤销保护倒换,并设置转发面组表项Y12组表动作中监视A2-Z2 LSP和A1-Z1 LSP OAM状态,从而修改转发面的业务发送动作(选择往工作路径A2-Z2 LSP发送还是往保护路径A1-Z1 LSP发送),进而实施保护倒换或撤销保护倒换动作。
特别地,对于步骤四,根据保护组类型或用户需求,APS组件根据工作路径A2-Z2 LSP和保护路径A1-Z1 LSP的监视状态可以设置其流表相关指令,控制转发面业务接收行为(选择从工作LSP接收还是从保护LSP接收)。比如保护类型为1+1时,只需要修改流表控制转发业务的接收行为,步骤一中的组表项Y12的动作集内容不需要监视OAM状态,而是同时执行组表项Y1和Y2,即并发业务。
实施例6
结合上述实施例中的表1-2,以及图8和图10,以Controller CMC发起删除MPLS_TP LSP 1:1的保护,保护组标识为16,工作路径为A2-Z2,保护路径为A1-Z1,且只需要配置NE1为例说明本实施例的技术方案。
本实施例采用的技术方案包括如下步骤:
步骤一、CMC发起删除MPLS_TP LSP1:1线性保护组,保护组标识为16,操作类型为删除。修改APS的消息成员action为3,标识操作类型为删除;其他成员信息维持不变。并通过Openflow通道下发至NE1。
步骤二、NE1的Openflow协议处理组件接收到Openflow协议消息,解析消息类型type成员,根据type取值为241,判断是与CMC约定的APS类型,转发至APS组件;NE2的Openflow协议处理组件接收到Openflow协议消息,解析消息类型type成员,根据type取值为241,判断是与CMC约定的APS类型,转发至APS组件;
步骤三、NE1的APS组件解析APS消息结构,根据成员APS,判断保护组标识为16;根据消息成员type为1,判断保护组类型为LSP 1:1线性保护;根据消息成员action为3判断是删除保护组。APS组件通知流表组件删除组表中原APS消息成员data报文第五组信息携带的组表项Y12,修改从客户侧接收业务的流表,跳转至组表项Y1(之前是Y12),并下发至转发组件;APS组件通知流表组件删除APS协议所需的流表和组表项信息并下发至转发组件;
步骤四、NE1转发组件根据配置的流表信息和组表项信息,完成业务从A2-Z2 LSP到客户侧或客户侧到A2-Z2 LSP的收发。
在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的涉及方法的技术方案。
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。
综上所述,本发明实施例的优点在于:可以通过扩展Openflow协议头的消息类型,新定义APS消息,在转发设备侧部署APS组件、OAM组件、流表组件和转发组件完 成保护倒换功能的配置,以及根据外部命令、APS信令或者OAM组件输出的路径告警实施保护倒换,具备快速、简洁、可靠的优点。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本发明实施例提供的技术方案,可以应用于路径的保护倒换处理过程中,采用转发设备根据当前路径的状态信息、与其他转发设备进行APS协商的协商结果以及本地的外部命令进行综合决策,并执行与决策结果对应的保护倒换处理操作的技术手段,解决了现有的路径切换方案不能实现快速保护倒换,无法满足实时性要求较高的场景等问题,进而达到了路径的快速保护倒换处理的效果。

Claims (17)

  1. 一种路径的保护倒换处理方法,包括:
    软件自定义网络SDN中的转发设备获取该转发设备所属路径保护组中当前路径的状态信息,其中,所述当前路径包括:保护路径和/或工作路径;
    所述转发设备与所述路径保护组中除所述转发设备之外的其他转发设备进行自动保护倒换APS协商;
    根据APS协商结果、本地的外部命令和所述状态信息进行综合决策,并对所述路径保护组中的所述当前路径执行与所述综合决策的决策结果对应的保护倒换处理操作,其中,所述外部命令用于指示外部对保护倒换操作的控制类型。
  2. 根据权利要求1所述的方法,其中,所述SDN中的转发设备获取该转发设备所属路径保护组中当前路径的状态信息之前,包括:
    所述转发设备从所述SDN中的控制器中接收配置信息,其中,该配置信息用于对所述路径保护组的路径保护倒换进行配置。
  3. 根据权利要求2所述的方法,其中,所述转发设备从所述SDN中的控制器中接收所述配置信息,包括:
    所述转发设备从所述控制器接收专用于发送所述配置信息的APS消息。
  4. 根据权利要求3所述的方法,其中,所述APS消息通过以下方式确定:
    在Openflow协议头的类型type成员中增加用于指示所述APS消息的类型信息;并且配置所述类型信息的属性信息。
  5. 根据权利要求2所述的方法,其中,所述配置信息中至少包括以下之一:
    保护组标识、保护类型、对所述路径保护组进行操作的操作类型、用于指示外部对保护倒换操作的控制类型的外部命令、表项信息、用于指示是否返回到初始路径的指示信息、用于指示返回到初始路径的等待恢复时间的指示信息。
  6. 根据权利要求5所述的方法,其中,所述保护类型包括以下之一:1:N保护类型、1+1保护和环保护,其中,N为大于1的整数;和/或,所述操作类型包括以下至少之一:新增路径保护组、修改路径保护组和删除路径保护组。
  7. 根据权利要求5所述的方法,其中,所述外部命令包括以下之一:锁定保护命令、人工倒换命令、强制倒换命令和清除已有外部命令;和/或所述表项信息包括以下之一:与业务的接收方向对应的流表和与业务的发送方向对应的组表。
  8. 根据权利要求3所述的方法,其中,所述外部命令通过以下方式获取:
    从所述APS消息中获取所述外部命令。
  9. 根据权利要求1所述的方法,其中,所述外部命令通过以下方式获取:
    从接收到专用于发送所述外部命令的消息中获取。
  10. 一种软件自定义网络SDN中的转发设备,包括:
    协议处理组件,设置为接收来自所述SDN网络中的控制器的配置信息,其中,所述配置信息用于对路径保护组的路径保护倒换进行配置;
    自动保护倒换APS组件,设置为接收来自所述协议处理组件转发的所述配置信息,并将所述配置信息中的表项信息发送至流表组件;将所述APS组件生成的用于APS协议收发的表项信息发送至流表组件;接收操作管理维护OAM组件监视的当前工作路径和/或保护路径的状态信息;从转发组件接收进行APS协商的协议报文;以及向所述转发组件发送用于转发设备之间APS协商的协议报文;
    所述OAM组件,设置为接收转发组件发送来的OAM报文,监视所述当前工作路径和保护路径的状态,并将所述状态发送至所述APS组件;以及将当前工作路径和保护路径的OAM报文传递至所述转发组件,以发送到路径远端的转发设备;
    所述流表组件,设置为将从所述APS组件接收的所述表项信息进行综合处理,并根据转发组件的接口需求转发至所述转发组件;
    所述转发组件,设置为执行与所述表项信息对应的业务转发操作,用于发送和接收所述OAM组件所需的OAM报文,以及发送和接收所述APS组件所需的所述APS协议报文。
  11. 根据权利要求10所述的转发设备,其中,所述协议处理组件,设置为从所述控制器接收专用于发送所述配置信息的APS消息。
  12. 根据权利要求11所述的转发设备,其中,所述APS消息通过以下方式确定:
    在Openflow协议头的类型type成员中增加用于指示所述APS消息的类型信息;并且配置所述类型信息的属性信息。
  13. 根据权利要求10所述的转发设备,其中,所述协议处理组件,设置为接收包括以下至少之一的所述配置信息:
    保护组标识、保护类型、对所述路径保护组进行操作的操作类型、用于指示外部对保护倒换操作的控制类型的外部命令、表项信息、用于指示是否返回到初 始路径的指示信息、用于指示返回到初始路径的等待恢复时间的指示信息。
  14. 一种路径的保护倒换处理***,软件自定义网络SDN中的转发设备和控制器,
    所述控制器,设置为向所述转发设备发送配置信息,其中,所述配置信息用于路径保护组的路径保护倒换进行配置;
    所述转发设备,设置为获取当前路径的状态信息,并在与对端转发设备进行自动保护倒换APS协商完成后,结合APS协商结果、本地的外部命令和所述状态信息进行综合决策,对所述路径保护组中的所述当前路径执行与所述综合决策的决策结果对应的保护倒换处理操作。
  15. 根据权利要求14所述的***,其中,所述控制器,设置为向所述转发设备发送专用于发送所述配置信息的APS消息。
  16. 一种路径的保护倒换处理装置,应用于软件自定义网络SDN中的转发设备,其中,包括:
    获取模块,设置为获取该转发设备所属路径保护组中当前路径的状态信息,其中,所述当前路径包括:保护路径和/或工作路径;
    协商模块,设置为与所述路径保护组中除所述转发设备之外的其他转发设备进行自动保护倒换APS协商;
    控制模块,设置为根据APS协商结果、本地的外部命令和所述状态信息进行综合决策,并对所述路径保护组中的所述当前路径执行与所述综合决策的决策结果对应的保护倒换处理操作,其中,所述外部命令用于指示外部对保护倒换操作的控制类型。
  17. 根据权利要求16所述的装置,其中,还包括:
    接收模块,设置为从所述SDN中的控制器中接收配置信息,其中,所述配置信息用于路径保护组的路径保护倒换进行配置。
PCT/CN2015/088169 2015-04-13 2015-08-26 路径的保护倒换处理方法、装置、***及转发设备 WO2016165263A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510171778.3A CN106161065B (zh) 2015-04-13 2015-04-13 路径的保护倒换处理方法、装置、***及转发设备
CN201510171778.3 2015-04-13

Publications (1)

Publication Number Publication Date
WO2016165263A1 true WO2016165263A1 (zh) 2016-10-20

Family

ID=57126375

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/088169 WO2016165263A1 (zh) 2015-04-13 2015-08-26 路径的保护倒换处理方法、装置、***及转发设备

Country Status (2)

Country Link
CN (1) CN106161065B (zh)
WO (1) WO2016165263A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005030A (zh) * 2018-07-13 2018-12-14 北京邮电大学 一种量子网络中密钥业务的保护方法及***

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850268B (zh) * 2016-12-29 2019-12-13 瑞斯康达科技发展股份有限公司 一种线性保护倒换的实现装置及方法
CN114221735A (zh) * 2021-12-23 2022-03-22 安徽皖通邮电股份有限公司 基于otn链路动态冗余的方法、存储介质及设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8218434B1 (en) * 2004-10-15 2012-07-10 Ciena Corporation Ethernet facility and equipment protection
CN103297274A (zh) * 2013-06-08 2013-09-11 华为技术有限公司 自动保护倒换的自协商方法及接收端设备
CN103346971A (zh) * 2013-06-19 2013-10-09 华为技术有限公司 数据转发方法、控制器、转发设备及***
CN103782552A (zh) * 2013-09-03 2014-05-07 华为技术有限公司 一种业务路径的保护方法、控制器、设备及***
CN104426789A (zh) * 2013-08-23 2015-03-18 杭州华三通信技术有限公司 软件定义网络中的转发设备控制方法及设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140269724A1 (en) * 2013-03-04 2014-09-18 Telefonaktiebolaget L M Ericsson (Publ) Method and devices for forwarding ip data packets in an access network
US9356870B2 (en) * 2013-06-04 2016-05-31 Infinera Corporation Contention handling in SMP based networks
CN104243196B (zh) * 2013-06-21 2019-03-12 中兴通讯股份有限公司 一种sdn架构下的虚拟网络映射保护方法及***

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8218434B1 (en) * 2004-10-15 2012-07-10 Ciena Corporation Ethernet facility and equipment protection
CN103297274A (zh) * 2013-06-08 2013-09-11 华为技术有限公司 自动保护倒换的自协商方法及接收端设备
CN103346971A (zh) * 2013-06-19 2013-10-09 华为技术有限公司 数据转发方法、控制器、转发设备及***
CN104426789A (zh) * 2013-08-23 2015-03-18 杭州华三通信技术有限公司 软件定义网络中的转发设备控制方法及设备
CN103782552A (zh) * 2013-09-03 2014-05-07 华为技术有限公司 一种业务路径的保护方法、控制器、设备及***

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005030A (zh) * 2018-07-13 2018-12-14 北京邮电大学 一种量子网络中密钥业务的保护方法及***

Also Published As

Publication number Publication date
CN106161065A (zh) 2016-11-23
CN106161065B (zh) 2020-05-19

Similar Documents

Publication Publication Date Title
US20200396162A1 (en) Service function chain sfc-based communication method, and apparatus
EP2425632B1 (en) Virtual links in a routed ethernet mesh network
WO2019120042A1 (zh) 一种网络中传输报文的方法和节点
EP2242215B1 (en) Method for client data transmission through a packet switched provider network
US7590048B2 (en) Restoration and protection method and an apparatus thereof
US9755957B2 (en) Pseudowire control channel for signaling events
EP3255840B1 (en) Label distribution method and device
CN102273146B (zh) 透明旁路及相关机制
WO2016115823A1 (zh) 标签构造以及标签报文转发方法及装置
EP2314022B1 (en) Establishing pseudowires in packet switching networks
EP2033377B1 (en) Forced medium access control (MAC) learning in bridged ethernet networks
US20150098356A1 (en) Method and apparatus for managing end-to-end consistency of bi-directional mpls-tp tunnels via in-band communication channel (g-ach) protocol
US20080205262A1 (en) Node controller and node system
Papán et al. Overview of IP fast reroute solutions
WO2016165263A1 (zh) 路径的保护倒换处理方法、装置、***及转发设备
US20130003532A1 (en) Protection switching method and system
EP3139527B1 (en) Protection switching method, node and control device
EP2627037B1 (en) Network configuration method
US20090080450A1 (en) Method and apparatus for interaction among resource reservation protocol nodes
US9893930B2 (en) Method and device for processing data forwarding
EP2975809B1 (en) Providing protection to a service in a communication network
CN106856446B (zh) 用于提高虚拟网络可靠性的方法和***
US20220224640A1 (en) Apparatuses and methods for restoration of a label-switched path in a network
US8711870B2 (en) Technology for managing traffic via dual homed connections in communication networks
WO2018014274A1 (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: 15888964

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: 15888964

Country of ref document: EP

Kind code of ref document: A1