WO2014166065A1 - 保护业务可靠性的方法、设备及网络虚拟化系统 - Google Patents
保护业务可靠性的方法、设备及网络虚拟化系统 Download PDFInfo
- Publication number
- WO2014166065A1 WO2014166065A1 PCT/CN2013/073973 CN2013073973W WO2014166065A1 WO 2014166065 A1 WO2014166065 A1 WO 2014166065A1 CN 2013073973 W CN2013073973 W CN 2013073973W WO 2014166065 A1 WO2014166065 A1 WO 2014166065A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual link
- node
- slave node
- master node
- master
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/40—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
- H04L41/122—Discovery or management of network topologies of virtualised topologies, e.g. software-defined networks [SDN] or network function virtualisation [NFV]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/20—Arrangements for monitoring or testing data switching networks the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0895—Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
Definitions
- IPRAN solution configuration management is complicated, so it requires more initial configuration, and plans for service IP and I GP domain such as CSG before service issuance. In daily maintenance, manual intervention is still required to complete the device. Configuration adjustments are not yet automated. As the size of the network, the volume of business, and the number of users continue to grow, this issue will become more prominent. Applying network virtualization to IPRAN can simplify configuration and management, and quickly open services. At the same time, it also needs to provide corresponding service reliability protection solutions for IPRAN.
- Embodiments of the present invention provide a method, a device, and a network virtualization system for protecting service reliability, and implementing reliability protection for services.
- the slave node When the service type is an L2 VPN, the slave node sets the first virtual link as a primary virtual link, and sets the second virtual link as a standby virtual link.
- the slave node determines the primary virtual link and the standby virtual chain according to the status information sent by the primary master node that controls the slave node and the backup master node that controls the slave node.
- the slave node sets the first virtual link as a primary virtual link, and sets the second virtual link as a standby virtual link;
- the slave node determines the primary virtual link and the standby virtual network according to the routing state information of the interface that is sent by the primary master node that controls the slave node and the backup master node that controls the slave node.
- the interface routing state information is routing state information of a virtual remote logical interface corresponding to an outer connection port of the slave node on the primary master node or a standby master node, the outer connector port refers to the interface between the slave node and a network device outside the network virtualization system based on control and forwarding separation.
- the slave node is configured to perform a state according to a master master node that controls the slave node and a slave master node that controls the slave node.
- Information, determining that the primary virtual link and the standby virtual link are included;
- the slave node Receiving, by the control channel between the primary master node and the slave node, the slave node receiving interface routing state information sent by the master master node;
- the slave node receives the interface routing state information sent by the standby master node by using a control channel between the standby master node and the slave node;
- the slave node When receiving the routing state information of the interface sent from the primary master node to an activation state, the slave node sets the first virtual link as a primary virtual link, and in the first virtual link Transmitting a service data packet on the road; when receiving the routing state information of the interface sent from the standby master node as the S t and the standby state, the slave node sets the second virtual link as the standby virtual link; or , when receiving the routing state information of the interface sent from the primary master node is S t andby In the standby state, the slave node sets the first virtual link as a standby virtual link, and when receiving the routing state information of the interface sent from the standby master node as an Activation state, the slave The second virtual link of the node is configured as a primary virtual link, and the service data packet is transmitted on the second virtual link.
- the performing, by the slave node, the service data packet is switched from the standby virtual link to the primary virtual link for transmission, including
- the slave node receives the downlink service data packet transmitted on the primary virtual link and the standby virtual link at the same time, and transmits the uplink service data packet through the standby virtual link. After the preset time, the slave node switches the uplink service data packet and the downlink service data packet to the primary virtual link for transmission.
- the detecting, by the slave node, whether the primary virtual link and the standby virtual link are faulty include:
- the slave node When the service type information is an L 2VPN, the slave node initiates fault detection on the end-to-end virtual link, where the end-to-end virtual link refers to the slave node to the main section that controls the slave node.
- the slave node switches the service data packet to the standby virtual link for transmission, including: When detecting that the end-to-end virtual link where the primary virtual link is located fails and the end-to-end virtual link where the standby virtual link is located does not fail, the slave node switches the service data packet to The standby virtual link transmission;
- the slave node receives an enable fault detection configuration command sent by the master node that controls the slave node by using a control channel between the master node that controls the slave node.
- the enable fault detection configuration command is used to control the slave node to initiate fault detection on the end-to-end virtual link, where the end-to-end virtual link refers to a slave node to a master node that controls the slave node. a virtual link formed inside the network virtualization system and a virtual link formed by splicing a virtual link between the master node of the slave node and the RS G outside the network virtualization system;
- the slave node initiates fault detection on the end-to-end virtual link according to the enabled fault detection configuration command.
- the standby virtual link fails.
- the device detects that the end-to-end virtual link where the primary virtual link is located is faulty and the virtual link is located.
- the slave node switches the service data packet to the standby virtual link transmission.
- the acquiring, by the master node, service type information includes:
- the method further includes:
- the enabling fault detection configuration command is used to control the slave node controlled by the master node to initiate fault detection on the end-to-end virtual link, where the end-to-end virtual link refers to between the slave node and the master node.
- the method further includes:
- the master node receives status information sent by the RSG, where the status information includes Ac ti ve and S t andby;
- the master node transmits the status information to a slave node controlled by the master node through a control channel between the slave nodes controlled by the master node.
- the routing priority of the virtual remote logical interface of the slave node controlled by the master node is reduced, and Obtaining, by the main section, *, the other main section corresponding to the controlled slave node, *, the routing priority of the virtual remote logical interface, and the other master node and the master node are in a master-slave relationship;
- the present invention provides a slave node, which is applied to a network virtualization system based on control and forwarding separation, where the network virtualization system includes a master node and a slave node, and the slave node is paired with each other as a master.
- the node control, the pair of primary and secondary primary nodes includes a primary primary node and a standby primary node, and the first virtual link is disposed between the secondary node and the primary primary node that controls the secondary node.
- a second virtual link is disposed between the slave node and the standby master node that controls the slave node, and the slave node includes:
- a determining unit configured to determine a primary virtual link and a standby virtual link according to the service type information received by the receiving unit, where the primary virtual link is in the first virtual link and the second virtual link a virtual link, the primary virtual link is used to transmit a virtual link of a service data packet, and the standby virtual link is the main virtual link and the second virtual link except the primary virtual link.
- the switching unit is configured to switch the service data packet to the standby virtual link for transmission when the detecting unit detects that the primary virtual link is faulty and the standby virtual link is not faulty.
- the determining unit is configured to: when the service type is L 2VPN, set the first virtual link as a primary virtual link, and set the second The virtual link is set to be a virtual link; and is also used to determine the primary virtual state according to the status information sent by the primary master node controlling the slave node and the standby master node controlling the slave node when the service type is L 2VPN.
- the link and the standby virtual link are also configured to set the first virtual link as a primary virtual link and set the second virtual link as a standby virtual link when the service type is L3VPN;
- the primary virtual link and the standby virtual link are determined according to the routing state information of the interface that is sent by the master node of the slave node and the master node that controls the slave node.
- the routing state information of the interface is routing state information of a virtual remote logical interface corresponding to the external connection port of the secondary node on the primary primary node or the standby primary node, where the external connection port refers to the Slave node and control and forwarding based An interface to which network devices outside the network virtualization system are connected.
- the determining unit includes:
- a first receiving module configured to receive status information sent by the primary master node by using a control channel between the primary master node and the slave node;
- the first receiving module is further configured to receive status information sent by the standby master node by using a control channel between the memo node and the slave node;
- a determining module when the first receiving module receives the status information sent from the primary master node as an Activation status, the slave node sets the first virtual link as a primary virtual link, and Transmitting a service data packet on the first virtual link, and when the first receiving module receives the status information sent from the standby master node as a standby state, the second Virtual The link is configured as a standby virtual link; and is further configured to: when the first receiving module receives the status information sent from the primary active node as S t andby, set the first virtual link to be virtual Linking, and when the first receiving module receives the status information sent from the standby master node as Ac ti ve, setting the second virtual link as a primary virtual link, and in the The service data packet is transmitted on the second virtual link.
- the determining unit includes:
- a second receiving module configured to receive, by using a control channel between the primary master node and the slave node, the slave node receiving interface routing state information sent by the primary master node;
- the second receiving module is further configured to: by using a control channel between the standby master node and the slave node, the slave node receives interface routing state information sent by the standby master node;
- a setting module configured to: when the second receiving module receives the routing state information of the interface sent from the primary master node to an activation state, the slave node sets the first virtual link as a virtual state a link, and transmitting a service data packet on the first virtual link, and when the second receiving module receives the routing state information of the interface sent from the standby master node as a S t andby standby state, Setting the second virtual link as the standby virtual link; and further configured to set the first virtual link as the standby when receiving the routing state information of the interface sent from the primary active node to the standby state a virtual link; and when the second receiving module receives the routing state information of the interface sent from the standby master node as an Activation state, the second virtual link is set as a primary virtual link. And transmitting a service data packet on the second virtual link.
- the switching unit is further configured to: when the detecting unit detects that the primary virtual link fault is restored to normal The service data packet is switched from the standby virtual link back to the primary virtual link for transmission.
- the switching unit is configured to receive, at the preset time, the primary virtual link and the Describe the downlink service data packet transmitted on the virtual link and transmit the data through the standby virtual link.
- the uplink service data packet after the preset time, the slave node switches the uplink service data packet and the downlink service data packet to the primary virtual link for transmission.
- the detecting unit is configured to: when the receiving unit receives the service type information,
- the end-to-end virtual link is detected to be faulty, and the end-to-end virtual link refers to the virtuality in the network virtualization system between the slave node and the master node controlling the slave node.
- the switching unit is configured to: when the detecting unit detects that the primary virtual link is faulty and the standby virtual link does not fail, the slave node switches the service data packet to the standby virtual
- the transmitting of the link includes: when detecting that the end-to-end virtual link where the primary virtual link is located fails and the end-to-end virtual link where the standby virtual link is located fails, the secondary node will The service data packet is switched to the standby virtual link transmission;
- the detecting unit is configured to: when the service type information received by the receiving unit is an L3VPN, initiate fault detection on a virtual link in the network virtualization system, where the virtual link in the network virtualization system is Refers to the virtual link inside the network virtualization system from the node to the primary node.
- the switching unit is configured to: when the detecting unit detects that the virtual link in the network system where the primary virtual link is located does not fail, the slave node switches the service data packet to the standby virtual Link transmission.
- the detecting unit is configured to: when the service type information received by the receiving unit is L2VPN, Controlling, by the control channel between the master nodes of the slave node, an enable fault detection configuration command sent by the master node of the slave node, where the enable fault detection configuration command is used to control the slave node to initiate the peer end to
- the end virtual link performs fault detection, and the end-to-end virtual link refers to the network virtualization system between the slave node and the master node controlling the slave node.
- the fault detection configuration command starts fault detection on the end-to-end virtual link.
- the switching unit is configured to: when the detecting unit detects that the end-to-end virtual link where the primary virtual link is faulty and the end-to-end virtual link where the standby virtual link is located fails The slave node switches the service data packet to the standby virtual link transmission.
- an embodiment of the present invention provides a master node, which is applied to a network virtualization system based on control and forwarding separation, where the network virtualization system includes a master node and a slave node, and the slave node is mainly connected to each other.
- the master node of the standby device controls, the master node of the pair of primary and secondary devices includes a master master node and a standby master node, and the first virtual chain is disposed between the slave node and the master master node controlling the slave node.
- a second virtual link is disposed between the slave node and the backup master node that controls the slave node, where the master node includes:
- a first acquiring unit configured to acquire service type information, where the service type information includes L2VPN and L3VPN;
- a sending unit configured to send, by using a control channel between the master node and the slave node controlled by the master node, the service type information acquired by the first acquiring unit to the slave node controlled by the master node, so that the The slave node controlled by the master node can detect the primary virtual link and the standby virtual link according to the received service type information, and perform fault detection on the determined primary virtual link and standby virtual link.
- the first acquiring unit includes: an establishing module, configured to establish a corresponding virtual remote logical interface by using an external connection port of the slave node controlled by the master node, where The external connection port refers to an interface between the slave node controlled by the master node and a network device outside the network virtualization system based on control and forwarding separation;
- a configuration module configured to configure, according to the virtual remote logical interface established by the establishing module, a service outside the network virtualization system based on the control and forwarding separation;
- the obtaining module is configured to obtain service type information corresponding to the configured service.
- the sending unit is further configured to send an enable fault detection configuration command to the slave node controlled by the master node, so that the master node controls the slave node, and according to the enable fault detection configuration command, start Performing fault detection on the end-to-end virtual link; wherein the enabling fault detection configuration command is used to control the slave node controlled by the master node to initiate fault detection on the end-to-end virtual link, where the end-to-end virtual A link refers to a virtual link between a node and a master node within a network virtualization system, and a virtual link formed by merging virtual links between the master node and the RSG outside the network virtualization system.
- the method further includes:
- a receiving unit configured to receive status information sent by the RSG, where the status information includes Ac t i ve and S t andby;
- the sending unit is configured to send status information received by the receiving unit to a slave node controlled by the master node by using a control channel between the slave node controlled by the master node.
- the method further includes:
- a setting unit configured to: when the master node detects that the interface route corresponding to the slave node controlled by the master node fails, route the virtual remote logical interface of the slave node controlled by the master node on the master node Lower priority;
- a second acquiring unit configured to acquire a routing priority of a virtual remote logical interface on another primary node corresponding to the secondary node controlled by the primary node, where the other primary node and the primary node are in a primary-standby relationship ;
- the sending unit is configured to: when determining that the routing priority of the virtual remote logical interface of the slave node controlled by the master node on the master node is lower than another master node corresponding to the slave node controlled by the master node.
- the S t and By state is carried in the interface routing state information, and is sent to the primary node by using the control channel between the slave node controlled by the master node. From the node.
- the present invention provides a network virtualization system, the network virtualization system
- the master node and the slave node are controlled by a pair of master nodes that are mutually active and standby, and the master node that is a master and a backup is a master master node and a standby master node, and the slave node and the control node a first virtual link is disposed between the master node of the slave node, and a second virtual link is disposed between the slave node and the backup master node that controls the slave node;
- the master node obtains service type information, where the service type information includes an L2 VPN and an L3VPN; and the slave node controls the slave node through a control channel between the master node and the slave node controlled by the master node.
- the node sends the service type information;
- a service type information sent from a master node that controls the slave node by controlling a control channel between the master node and the slave node of the slave node, where the service type information includes an L2 VPN And the L3VPN; determining the primary virtual link and the standby virtual link according to the service type information; wherein the primary virtual link is a virtual link in the first virtual link and the second virtual link
- the virtual link is used to transmit a virtual link of the service data packet, and the standby virtual link is other than the primary virtual link in the first virtual link and the second virtual link.
- the other virtual link detects whether the primary virtual link and the standby virtual link are faulty. When the primary virtual link fails and the standby virtual link fails, the service data is detected. The packet is switched to the standby virtual link for transmission.
- a method, a device, and a network virtualization system for protecting service reliability are provided by an embodiment of the present invention.
- a master node having a control function acquires current service type information and obtains current service.
- the type information is sent to the slave node to enable the slave node to determine the primary virtual link and the standby virtual link according to the service type information and perform fault detection.
- the service data packet is switched to the standby virtual link for transmission, so as to ensure that the service data packet is transmitted without interruption in the new system architecture provided by the present invention, thereby ensuring service reliability.
- FIG. 1 is a schematic structural diagram of a network virtualization system based on control and forwarding separation according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for protecting service reliability according to an embodiment of the present invention.
- FIG. 3 is a flowchart of another method for protecting service reliability according to an embodiment of the present invention;
- FIG. 5 is a flowchart of another method for protecting service reliability according to an embodiment of the present invention;
- FIG. 6 is another method for protecting service reliability according to an embodiment of the present invention;
- FIG. 7 is a flowchart of another method for protecting service reliability according to an embodiment of the present invention;
- FIG. 8 is a flowchart of another method for protecting service reliability according to an embodiment of the present invention;
- FIG. 10 is a flowchart of another method for protecting service reliability according to an embodiment of the present invention;
- FIG. 11 is a TDM or ATM service carrying L2VPN. Schematic diagram of the reliability scenario;
- Figure 1 2 is a schematic diagram of the reliability scenario of the ETH service carried by the L3VPN;
- FIG. 13 is a flowchart of another method for protecting service reliability according to an embodiment of the present invention.
- FIG. 1 is a flowchart of another method for protecting service reliability according to an embodiment of the present invention;
- FIG. 16 is a block diagram of another slave node according to an embodiment of the present invention.
- FIG. 17 is a block diagram of another slave node according to an embodiment of the present invention.
- FIG. 18 is a structural block diagram of a master node according to an embodiment of the present invention.
- FIG. 19 is a block diagram of another main node according to an embodiment of the present invention.
- FIG. 20 is a block diagram of another main node according to an embodiment of the present invention.
- FIG. 21 is a block diagram of another main node according to an embodiment of the present invention.
- FIG. 22 is a block diagram showing another component of a slave node according to an embodiment of the present invention.
- FIG. 2 is a block diagram of another main node according to an embodiment of the present invention.
- FIG. 1 is a schematic diagram of the system architecture of the system.
- the network virtualization system includes a plurality of master nodes (A, B, C in FIG. 1 D has a total of four master nodes) and several slave nodes (a total of 13 slave nodes in Figure 1); each master node and slave node can communicate via the actual physical channel in the connection mode as shown in Figure 1. Only the master node can be configured with control and forwarding functions, while the slave node has only forwarding functionality. Of course, for the convenience of control, the control functions of each master node can be integrated into the same high-level device for unified management.
- Each slave node is controlled by a pair of master nodes that are mutually active and active, and is represented in Figure 1 as A/B, B/C, B/D, and A/D. It is controlled by the master nodes A and B respectively, controlled by the master nodes B and C, controlled by the master nodes B and D, and controlled by the master nodes A and D.
- the master node of the pair of primary and secondary devices includes a primary master node and a standby master node, and the slave node and the master master node controlling the slave node are provided with a first virtual link, and the slave node A second virtual link is disposed between the standby master node and the slave node that controls the slave node.
- Both the first virtual link and the second virtual link are virtual logical channels, which are not shown in FIG.
- the forwarding priority of the first virtual link may be initialized to be higher than the forwarding priority of the second virtual link.
- the purpose is that the secondary node may preferentially select the primary and backup virtual link when determining the current service type.
- a virtual link is the primary virtual link, and the second virtual link is selected as the standby virtual link.
- this initial setting can be set according to actual needs.
- each slave node must be provided with an independent master master node and a standby master node. That is, the same master node can serve as the master master node of a slave node, and can also As the standby master node of another slave node.
- the embodiment of the present invention provides a method for protecting service reliability.
- the method can be implemented by a slave node, including: 101.
- the slave node receives service type information sent from a master node that controls the slave node by controlling a control channel between the master node and the slave node of the slave node.
- the service type information includes an L2VPN (layer 2 virtual private network) and an L3VPN (layer 3 virtual private network).
- the slave node determines the primary virtual link and the standby virtual link according to the service type information.
- the primary virtual link is a virtual link of the virtual link of the first virtual link and the second virtual link, and the primary virtual link is used to transmit service data packets.
- the link is another virtual link in the first virtual link and the second virtual link except the primary virtual link.
- the active state Active is generally used to identify the first virtual link as the primary virtual link
- the standby state Standby is used to identify the second virtual link as the standby device. Virtual link.
- the embodiment of the present invention provides a specific implementation manner for determining the primary virtual link and the standby virtual link according to the service type information, as follows:
- the embodiment of the present invention provides two specific implementation manners, including:
- the first implementation manner is as follows: The first virtual link is set as a virtual link, and the second virtual link is set as a standby virtual link.
- the second implementation manner determining the primary virtual link and the standby virtual link according to the status information sent by the primary master node that controls the slave node and the backup master node that controls the slave node, *.
- the first implementation of the L2VPN can generally be used as an initial setting and applied in the network virtualization system networking period.
- the second implementation for L2VPN can be used at various stages of the network virtualization system.
- the control channel between the primary master node and the slave node is another channel independent of the traffic data channel between the master master node and the slave node.
- the slave node receives status information sent by the standby master node by using a control channel between the memo node and the slave node. And execute A1023 or execute A1024.
- the control channel between the standby master node and the slave node is independent of another channel outside the service data channel between the standby master node and the slave node.
- the slave node when receiving the status information sent from the primary master node to an Active active state, sets the first virtual link as a primary virtual link, and on the first virtual link. And transmitting the service data packet, when the status information sent from the standby master node is in the Standby standby state, setting the second virtual link as the standby virtual link.
- the slave node when receiving the status information sent from the primary master node is Standby, the slave node sets the first virtual link as a standby virtual link, and when sent from the standby master node, When the status information is Active, the second virtual link is set as a primary virtual link, and the service data packet is transmitted on the second virtual link.
- the Active activation state is used to indicate that the primary node that sent this status information is in a normal operating state.
- the Standby standby state is used to indicate that the slave node that sent this status information is in a suspended state.
- the embodiment of the present invention provides two specific implementation manners, including:
- the first implementation manner the slave node sets the first virtual link as a primary virtual link, and sets the second virtual link as a standby virtual link.
- the slave node determines the primary virtual link and the standby virtual chain according to the interface status information of the primary master node that controls the slave node and the slave master node that controls the slave node, *, road.
- the routing state information of the interface is routing information of a virtual remote logical interface that has a corresponding relationship with an external connection port of the secondary node on the primary primary node or the standby primary node, where
- the external connection port refers to an interface in which the slave node is connected to other network devices outside the network virtualization system based on control and forwarding separation.
- the first implementation of the L3VPN can generally be used as an initial setting and applied during the networking of the network virtualization system.
- the second implementation manner for the L3VPN can be used in various stages of the network virtualization system operation.
- the primary virtual link and the standby virtual source can also be maintained according to the initial setting.
- the configuration of the link does not change.
- the slave node receives the interface routing state information sent by the master master node by using a control channel between the master master node and the slave node.
- the slave node receives the interface routing state information sent by the standby master node by using a control channel between the standby master node and the slave node. And go to step B1023 or step B1024.
- the slave node when receiving the routing state information of the interface sent from the primary master node to an active active state, the slave node sets the first virtual link as a primary virtual link, and in the first virtual link The service data packet is transmitted on the road.
- the slave node sets the second virtual link as the standby virtual link.
- the active routing state indicates that the routing priority of the virtual remote logical interface on the primary active node is higher than that corresponding to the primary primary node. The routing priority of the virtual remote logical interface on the primary node.
- the standby state indicates that the route priority of the virtual remote logical interface on the standby master node is lower than the virtual remote location on the primary master node corresponding to the standby master node.
- the routing priority of the logical interface is lower than the route priority of the virtual remote logical interface on the standby master node.
- the slave node When receiving the routing state information of the interface sent by the primary master node, the slave node sets the first virtual link as a standby virtual link, when receiving the slave virtual host.
- the interface routing status information sent by the node is Active. Setting the second virtual link as a primary virtual link, and transmitting a service data packet on the second virtual link.
- the slave node detects whether the primary virtual link and the standby virtual link are faulty.
- the method for detecting whether the primary virtual link and the standby virtual link are faulty may be performed by using a BFD (Bidirectional Forwarding) on the primary virtual link and the standby virtual link.
- BFD Bidirectional Forwarding
- the embodiment of the present invention provides a method for protecting service reliability.
- the slave node performs the determined primary virtual link and the standby virtual link. Detecting, when detecting that the primary virtual link is faulty and the virtual link is not faulty, the service data packet is switched to the standby virtual link for transmission, so as to ensure that the service data packet is completely new in the present invention.
- the system architecture realizes uninterrupted transmission, thereby ensuring service reliability.
- step 105 may be performed.
- the slave node When detecting that the primary virtual link failure is normal, the slave node sends the service data packet from the node. The virtual link is switched back to the primary virtual link for transmission.
- the slave node when performing the foregoing step 105, does not need to pass the consent of the master master node or the standby master node, and can directly perform the switch between the active and standby virtual link according to the judgment made by itself, but when the primary virtual link is When the VRRP is normal, the virtual link is working properly. Therefore, the two virtual links can transmit downlink service data packets at the same time.
- the slave node can directly switch the service data packet back to the primary virtual link for transmission.
- the slave node When the service data packet transmission amount is large, the slave node receives the downlink service data packet transmitted on the primary virtual link and the standby virtual link at the same time, and passes the standby device.
- the virtual link transmits the uplink service data packet, and after the preset time, the slave node switches the uplink service data packet and the downlink service data packet to the primary virtual link for transmission.
- the preset time is an empirical value, for example, 300 seconds, etc., and can be preset.
- the embodiment of the present invention provides the following three methods for starting fault detection for different service type information, including:
- the first startup method is: when the service type information is an L2 VPN, the slave node initiates fault detection on the end-to-end virtual link, where the end-to-end virtual link refers to the slave node to the control a virtual link between the primary nodes of the slave node within the network virtualization system, and a virtual link between the master node controlling the slave node and the remote signaling gateway RS G outside the network virtualization system
- the virtual link formed by the splicing of the roads.
- the slave node when detecting that the primary virtual link fails and the standby virtual link fails, switches the service data packet to the standby virtual link for transmission.
- the implementation method includes: when detecting that the end-to-end virtual link where the primary virtual link is faulty and the end-to-end virtual link where the standby virtual link is located fails, the slave node performs a service The data packet is switched to the standby virtual link transmission.
- the second startup method is: when the service type information is an L3VPN, the slave node initiates fault detection on the virtual link inside the network virtualization system, where the virtual link inside the network virtualization system refers to The virtual link inside the network virtualization system from the node to the primary node.
- the slave node when detecting that the primary virtual link fails and the standby virtual link fails, switches the service data packet to the standby virtual link for transmission.
- the method includes: when the network virtualization system in which the primary virtual link is located is not faulty, the slave node switches the service data packet to the standby virtual link transmission.
- the third startup method is: when the service type information is an L2 VPN, the slave node receives an enable fault detection sent by the master node that controls the slave node by using a control channel between the master node that controls the slave node. a configuration command, the enabling fault detection configuration command is used to control the slave node to initiate fault detection on the end-to-end virtual link, where the end-to-end virtual link refers to a network between the slave node and the master node. a virtual link inside the virtualization system, and a virtual link formed by merging the virtual link between the master node and the RSG outside the network virtualization system; The fault detection configuration command starts fault detection on the end-to-end virtual link.
- the slave node when detecting that the primary virtual link fails and the standby virtual link fails, switches the service data packet to the standby virtual link for transmission.
- the method for implementing the method includes: when detecting that the end-to-end virtual link where the primary virtual link is faulty and the end-to-end virtual link where the standby virtual link is located fails, the slave node performs a service The data packet is switched to the standby virtual link transmission.
- the embodiment of the present invention provides a method for protecting service reliability.
- the method may be implemented by a master node, including:
- the service type information includes an L2 VPN and an L3VPN.
- the method for obtaining the service type information of the master node may be implemented by the method process shown in FIG. 7, specifically including:
- the external connection port refers to an interface between the slave node controlled by the master node and a network device outside the network virtualization system based on the control and forwarding separation.
- the service type information identifies the primary virtual link and the standby virtual link, and performs fault detection on the identified primary virtual link and standby virtual link.
- the embodiment of the present invention provides a method for protecting service reliability.
- the master node having the control function acquires current service type information and informs the current service type information.
- the slave node is configured to enable the slave node to determine the primary virtual link and the standby virtual link according to the service type information, and perform fault detection. When it is detected that the primary virtual link fails and the standby virtual link fails, the service is performed. Data packet is switched to standby The link is transmitted to ensure that the service data packet is transmitted without interruption in the new system architecture provided by the present invention, thereby ensuring service reliability.
- the method provided by the embodiment of the present invention further includes:
- the enabling fault detection configuration command is used to control the slave node controlled by the master node to initiate fault detection on the end-to-end virtual link, where the end-to-end virtual link refers to the slave node controlled by the master node.
- step 203 the method provided by the embodiment of the present invention can control the startup of the fault detection of the slave node. It is worth noting that this step can also be set to have the primary master node to be redundant.
- the master node receives status information sent by the R S G, where the status information includes A c t i V e and S t andby.
- the method further includes:
- the master node detects an interface route corresponding to the slave node controlled by the master node
- the routing priority of the virtual remote logical interface of the slave node controlled by the master node is reduced, and the master node is acquired, and another master node corresponding to the controlled slave node is acquired.
- the routing priority of the virtual remote logical interface, and the other primary node and the primary node are in a primary-standby relationship.
- the method for lowering the priority of the primary node may be performed by lowering the corresponding routing weight.
- the Standby state is carried in the interface routing state information, and is sent to the slave node controlled by the master node by using a control channel between the slave node controlled by the master node.
- the routing priority of the virtual remote logical interface of the secondary node on the primary node may also be increased. And carrying the Active state in the interface routing state information, and sending to the slave node through the control channel between the slave node and the slave node.
- the embodiment of the present invention combines the TDM or ATM service by L2VPN as shown in FIG.
- a slave node In the reliability scenario of the T2VPN carrying TDM (Time Division Multiplexing) or ATM (Asynchronous Transfer Mode) service, as shown in FIG. 11, a slave node is set.
- two RSGs RSG1 and RSG2 as shown in FIG. 11
- one RNC RNC
- the slave node and the master master node and the standby master node transmit data through the pseudowire.
- the primary master node and the RSG1 are connected by a pseudowire
- the standby master node and the RSG2 are connected by a pseudowire
- both RSGs are connected to the RNC.
- a slave node is set, which is responsible for controlling the master node and the master of the slave node.
- Node two RSGs (such as RSG1 and RSG2 shown in Figure 12), one RNC, the slave node and the primary master node and the standby master node transmit traffic data through the pseudowire.
- the master master node and the standby master node are respectively in RSG1 and RSG2 communicates through a three-layer routing network, and both RSGs are connected to the RNC.
- the embodiment of the present invention provides a method for protecting service reliability. As shown in FIG. 13, the method includes:
- the primary master node and the standby master node respectively create a virtual remote logical interface for the outer interface of the slave node, and configure the L2VPN service outside the network virtualization system on the virtual remote logical interface.
- the primary master node and the standby master node respectively establish a point-to-point virtual link between the virtual remote logical interface and the outer interface of the slave node.
- the primary master node sends the service type to the slave node by using a control channel between the master master node and the slave node.
- the slave node sets the first virtual link as a primary virtual link, sets the second virtual link as a standby virtual link, and initiates a virtual connection between RSG1 and the primary primary node. a virtual link between the link and the RSG2 to the backup master node, and a virtual link between the master node and the slave node and a virtual link between the slave master node and the slave node Perform a fault check 'J.
- RSG1 detects that the link between the RNC and the RNC is faulty, sends the Standby state information to the primary master node, and sends the Active state information to the standby master node.
- the primary master node After receiving the Standby state information, the primary master node sends Standby state information to the slave node by using a control channel. After receiving the Active state information, the standby master node sends the Active state information to the slave node through the control channel.
- the slave node After receiving the Standby state information sent by the primary master node and the Active state information sent by the standby master node, the slave node sets the current primary virtual link as a standby virtual link, and the current standby virtual link is set. The main virtual link.
- the uplink traffic transmission path is: The slave node transmits the received service data packet to the standby master node. It is then sent by the standby master node to RSG2 and then to the RNC.
- the downlink traffic transmission path is: RSG2 receives the service data packet sent by the RNC, and sends it to the The standby master node is sent to the slave node by the standby master node.
- the slave node directly initiates the virtual link between the RSG 1 to the primary master node and the virtual link between the RSG 2 and the standby master node and the master master according to the service type L2VPN. Fault detection is performed between the virtual link between the node and the slave node and the virtual link between the slave master node and the slave node.
- the embodiment of the present invention further provides a method, before the execution of the 304, the primary master node may also send an enable fault detection configuration command to the slave node, and the fault detection is started only after the node receives the command.
- the embodiment of the present invention provides a method for protecting service reliability. As shown in FIG. 14, the method includes:
- the primary master node and the standby master node respectively establish a point-to-point virtual link between the virtual remote logical interface and the outer connection port of the slave node.
- the primary master node sends a service type to the slave node by using a control channel between the master master node and the slave node.
- the remarking node may also send the same service type information to the slave node, and the slave node still performs subsequent processing according to the service type information sent by the master master node.
- the slave node sets the first virtual link as a primary virtual link, sets the second virtual link as a standby virtual link, and starts between the primary primary node and the secondary node.
- the virtual link and the virtual link between the standby master node and the slave node perform fault detection.
- the route priority of the virtual remote logical interface between the slave node and the master node is reduced.
- the S t andby state is carried in the interface routing state information.
- the control channel between the slave node and the slave node is sent to the slave node.
- the standby master node determines that a route priority of the virtual remote logical interface between the slave node and the master node is lower than a route priority of the virtual remote logical interface between the slave node and the master node
- the Ac ti ve state is carried in the interface routing state information, and is sent to the slave node through the control channel between the slave node and the slave node.
- the uplink traffic transmission path is: The slave node transmits the received service data packet to the standby master node. Then, the standby master node sends it to RSG 1 or RSG2 through the Layer 3 routing network, and then transmits it to the RNC.
- the downlink traffic transmission path is as follows: RSG 1 or RSG2 receives the service data packet sent by the RNC, and sends the received service data packet to the standby master node through the Layer 3 routing network, and then sends the slave master node to the slave node.
- the route priority of the primary virtual link is lower than the route priority of the standby virtual link, and the current primary virtual link is not set to the standby virtual link.
- the virtual link is set to be the primary virtual link, but only the uplink service data packet is sent to the standby master node.
- the master master node After the step 407 is performed, if the route of the interface corresponding to the slave node on the primary master node is restored, the master master node re-sets the route priority of the route of the interface, so that the route priority can be re-routed. It is higher than or equal to the route priority on the standby master node, but in this process, the routing table of the Layer 3 routing network between the master node and the RSG needs to be re-updated according to the routing priority of the primary master node. A process takes a while. Therefore, in order to ensure that the downlink service data packet is not interrupted, the following steps are provided for the following service data packet transmission path back-cutting, including:
- the uplink service data packet transmission path is switched back: After the slave node waits for 300 s, the uplink service data packet is sent from the slave master node to the master master node.
- the downlink service data packet transmission path is switched back, and the downlink service data packet sent by the primary and secondary master nodes of the slave node. After 300 s, only the downlink service data sent by the primary master node will be received. Message.
- the embodiment of the present invention provides a method for protecting service reliability.
- the master node having the control function acquires current service type information and informs the current service type information.
- the slave node can determine the primary virtual link and the standby virtual link according to the service type information and perform fault detection. When the primary virtual link fails and the virtual link fails, the service data is detected. The packet is switched to the standby virtual link for transmission to ensure that the service data packet is transmitted without interruption in the new system architecture provided by the present invention, thereby ensuring service reliability.
- the embodiment of the present invention provides a slave node, which can be used to implement the method flow of all the slave nodes shown in FIG. 2 to FIG. 14 , and is specifically applied to a network virtualization system based on control and forwarding separation, where the network
- the virtualization system includes a master node and a slave node, and the slave node is controlled by a pair of master nodes that are mutually active and standby.
- the master node that is mutually active and standby includes a master master node and a standby master node, and the slave node And a second virtual link is disposed between the slave node and the master node that controls the slave node, where, as shown in FIG.
- the slave node includes:
- the receiving unit 5 1 is configured to receive service type information sent by the primary node by using a control channel between the primary node and the secondary node, where the service type information includes L 2 VPN and L 3VPN.
- a determining unit 5 configured to determine a primary virtual link and a standby virtual link according to the service type information received by the receiving unit 51; wherein the primary virtual link is the first virtual link and the second virtual link A virtual link in the virtual link, where the primary virtual link is used to transmit a virtual link of the service data packet, and the standby virtual link is the first virtual link and the second virtual link. Another virtual link other than the primary virtual link.
- the detecting unit 5 3 is configured to detect whether the primary virtual link and the standby virtual link determined by the determining unit 52 are faulty.
- the switching unit 54 is configured to switch the service data packet to the standby virtual link for transmission when the detecting unit 53 detects that the primary virtual link is faulty and the standby virtual link does not fail.
- the determining unit 52 is configured to: when the service type is L2VPN, set the first virtual link as a primary virtual link, and set the second virtual link as a standby virtual link; And when the service type is L2VPN, determining the primary virtual link and the standby virtual link according to the status information sent by the primary master node that controls the slave node and the backup master node that controls the slave node; When the service type is L3VPN, the first virtual link is set as the virtual link, and the second virtual link is set as the standby virtual link.
- Determining the primary virtual link and the standby virtual link by determining the routing state information of the interface sent by the primary master node of the slave node and the standby master node controlling the slave node, where the routing state information of the interface is at the primary master node Or routing status information of the virtual remote logical interface corresponding to the external connection port of the slave node on the standby master node, where the external connection port refers to the slave node and the network virtualization system separated based on control and forwarding External network equipment connected .
- the determining unit 52 includes:
- the first receiving module 521 is configured to receive status information sent by the primary master node by using a control channel between the primary master node and the slave node.
- the first receiving module 521 is further configured to receive status information sent by the standby master node by using a control channel between the memo node and the slave node.
- the slave node sets the first virtual link as a primary virtual link, and Transmitting a service data packet on the first virtual link, and when the first receiving module 521 receives the status information sent from the standby master node as a standby state, the second virtual The link is configured as a standby virtual link; and is further configured to: when the first receiving module 521 receives the status information sent from the primary active node to be Standby, set the first virtual link as a standby virtual link, When the first receiving module 521 receives the status information sent from the primary master node as Standby, the first virtual link is set as a standby virtual link, and is received by the first receiving module 521. When the status information sent from the standby master node is Active, the second virtual link is set as the primary virtual link, and the service data packet is transmitted on the second virtual link.
- the determining unit 52 includes:
- the second receiving module 52 3 is configured to receive, by using a control channel between the primary master node and the slave node, the slave node receiving interface routing state information sent by the primary master node.
- the second receiving module 524 is further configured to: by using a control channel between the standby master node and the slave node, the slave node receives interface routing state information sent by the standby master node.
- a setting module 524 configured to: when the second receiving module 524 receives the interface routing state information sent from the primary master node to an Activation state, the slave node sets the first virtual link as a primary virtual link, and transmitting a service data packet on the first virtual link, and when the second receiving module 524 receives the routing state information of the interface sent from the standby master node, is St and By standby.
- the second virtual link is set as a standby virtual link; and is further configured to: when the second receiving module receives the routing state information of the interface sent from the primary active node as a S t andby standby state, The first virtual link is configured as a standby virtual link; and when the second receiving module 524 receives the interface routing status information sent from the standby active node as an Ac ti ve active state, the second The virtual link is configured as a primary virtual link, and the service data packet is transmitted on the second virtual link.
- the switching unit 54 is further configured to: when the detecting unit detects that the primary virtual link failure is normal, switch the service data packet from the standby virtual link back to the primary virtual link. The road is transmitted.
- the switching unit 54 is configured to: at a preset time, the slave node simultaneously receives downlink service data packets transmitted on the primary virtual link and the standby virtual link, and The virtual link transmits the uplink service data packet, and after the preset time, the slave node switches the uplink service data packet and the downlink service data packet to the primary virtual link for transmission.
- the detecting unit 53 is configured to start fault detection on the end-to-end virtual link when the service type information received by the receiving unit 51 is L2VPN, where the end-to-end virtual link is detected.
- Road refers to the virtual link between the slave node and the master node controlling the slave node within the network virtualization system, and between the master node controlling the slave node and the remote signaling gateway RSG.
- the switching unit 54 is configured to: when the detecting unit 53 detects that the primary virtual link fails and the standby virtual link does not fail, the slave node switches the service data packet to the
- the transmission of the virtual link includes: when it is detected that the end-to-end virtual link where the primary virtual link is faulty and the end-to-end virtual link where the standby virtual link is located fails, the slave The node switches the service data packet to the standby virtual link transmission.
- the detecting unit 53 is configured to initiate fault detection on a virtual link in the network virtualization system when the service type information received by the receiving unit 51 is an L3VPN, where the network virtualization system
- the internal virtual link refers to the virtual link inside the network virtualization system from the node to the primary node.
- the switching unit 54 is configured to: when the detecting unit 53 detects that the virtual link in the virtualization system of the primary virtual link does not fail, the slave node switches the service data packet to the Standby virtual link transmission.
- the detecting unit 53 is configured to: when the service type information received by the receiving unit 51 is an L2VPN, receive, by using a control channel between the master node that controls the slave node, the master of the slave node.
- An enable fault detection configuration command sent by the node where the enable fault detection configuration command is used to control the slave node to initiate fault detection on the end-to-end virtual link, where the end-to-end virtual link refers to the slave node to Controlling a virtual link between the master nodes of the slave node within the network virtualization system, and splicing a virtual link between the master node of the slave node and the RSG outside the network virtualization system
- the virtual link is configured to initiate fault detection on the end-to-end virtual link according to the enabled fault detection configuration command received by the receiving unit 51.
- the switching unit 54 is configured to: when the detecting unit 53 detects that the primary virtual link is faulty, the slave node switches the service data packet to the standby virtual link transmission.
- the embodiment of the present invention further provides a master node, which can be used to implement the method flow of all the master nodes shown in FIG. 2 to FIG. 14 , and is specifically applied to a network virtualization system based on control and forwarding separation, where the network is
- the virtualization system includes a master node and a slave node, and the slave nodes are mutually
- the master node of the master and the backup controls, the master node of the pair of primary and secondary standbys includes a master master node and a standby master node, and the slave node and the master master node controlling the slave node are first virtual a second virtual link is disposed between the slave node and the slave master node that controls the slave node, where, as shown in FIG. 18, the master node includes:
- the first obtaining unit 61 is configured to obtain service type information, where the service type information includes an L2VPN and a 3VPN.
- a sending unit 62 configured to send, by using a control channel between the master node and the slave node controlled by the master node, the service type information acquired by the first acquiring unit 61 to the slave node controlled by the master node, so that The slave node controlled by the master node can determine the primary virtual link and the standby virtual link according to the received service type information, and perform fault detection on the determined primary virtual link and standby virtual link.
- the first acquiring unit 61 includes:
- the establishing module 611 is configured to establish a corresponding virtual remote logical interface for the external connection port of the slave node controlled by the primary node, where the external connection port refers to a slave node controlled by the master node and a network separated based on control and forwarding. An interface to which network devices outside the virtualization system are connected.
- the configuration module 612 is configured to configure, according to the virtual remote logical interface established by the establishing module 612, a service outside the network virtualization system based on the control and forwarding.
- the obtaining module 613 is configured to obtain service type information corresponding to the configured service.
- the sending unit 62 is further configured to send an enable fault detection configuration command to the slave node controlled by the master node, so that the slave node controlled by the master node performs the configuration command according to the enable fault detection.
- Initiating fault detection on the end-to-end virtual link where the enabling fault detection configuration command is used to control the slave node controlled by the master node to initiate fault detection on the end-to-end virtual link, the end-to-end
- the virtual link refers to a virtual link inside the network virtualization system between the slave node and the master node controlled by the master node, and a virtual link splicing outside the network virtualization system between the master node and the RSG. The virtual link formed.
- the method further includes:
- the receiving unit 63 is configured to receive status information of the RSG sending, where the status information includes Act i ve and Standby.
- the sending unit 62 is configured to send the status information received by the receiving unit 63 to a slave node controlled by the master node by using a control channel between the slave node controlled by the master node.
- the method further includes:
- a setting unit 64 configured to: when the master node detects that the interface route corresponding to the slave node controlled by the master node fails, then the slave node controlled by the master node is on the virtual remote logical interface of the master node Route priority is reduced.
- a second obtaining unit 65 configured to acquire a routing priority of a virtual remote logical interface on another primary node corresponding to the secondary node controlled by the primary node, where the other primary node and the primary node are mutually active relationship.
- the sending unit 62 is configured to: when determining that the routing priority of the virtual remote logical interface of the slave node controlled by the master node on the master node is lower than another master node corresponding to the slave node controlled by the master node.
- the Standby state is carried in the interface routing state information, and is sent to the control of the master node by using the control channel between the slave node controlled by the master node. From the node.
- the embodiment of the present invention further provides a slave node, as shown in FIG. 22, including at least one central processor 71 and a memory 72.
- the memory 72 is configured with a code, and the central processor 71 can read the memory 72.
- the code in it is used to implement the method flow of all the master nodes shown in FIG. 2 to FIG.
- the central processor 71 and the memory 72 communicate via a bus.
- the central processor 71 is configured to receive, by controlling a control channel between the primary node of the slave node and the slave node, service type information sent from a master node that controls the slave node, where the service The type information includes the L2VPN and the L3VPN.
- the primary virtual link and the standby virtual link are determined according to the service type information.
- the primary virtual link is one of the first virtual link and the second virtual link.
- the memory 72 is further configured to store service type information.
- the central processing unit 71 is further configured to: when the service type is L2VPN, set the first virtual link as a primary virtual link, and set the second virtual link as a standby virtual link.
- the first virtual link is configured as a virtual link
- the second virtual link is set as a standby virtual link when the service type is L3VPN.
- the routing state information of the interface is routing state information of a virtual remote logical interface corresponding to the external connection port of the secondary node on the primary primary node or the standby primary node, where the external connection port refers to the An interface from a node to a network device outside the network virtualization system that is separate based on control and forwarding.
- the memory 72 is further configured to store state information and interface routing state information.
- the central processing unit 71 is further configured to: receive, by using a control channel between the primary master node and the slave node, status information sent by the primary master node, by using the memo node and the Receiving, by the slave node, status information sent by the standby master node, and receiving, by the slave node, state information sent by the master master node, the slave node
- a virtual link is configured as a virtual link, and the service data packet is transmitted on the first virtual link.
- the second virtual link is configured as a standby virtual link, and is configured to set the first virtual link as a standby virtual link when the status information sent from the primary active node is received as a standby link.
- Receiving status information sent from the standby master node as Active The second virtual link is configured as a primary virtual link, and the service data packet is transmitted on the second virtual link.
- the central processing unit 71 is further configured to: receive, by using a control channel between the primary master node and the slave node, the slave node to receive routing state information of the interface sent by the primary master node; And the control channel between the slave node, the slave node receives the interface routing state information sent by the standby master node; when receiving the routing state information of the interface sent from the master master node, the Activive state is activated
- the slave node sets the first virtual link as a primary virtual link, and transmits a service data packet on the first virtual link; and receives an interface route sent from the standby master node.
- the status information is in the standby state, the slave node sets the second virtual link as the standby virtual link; and is configured to wait for the routing state information of the interface sent from the primary master node to be S t andby.
- the slave node sets the first virtual link as a standby virtual link, and when receiving the routing state information of the interface sent from the standby master node, the activation state is Two virtual link It is set as the primary virtual link, and the service data packet is uploaded on the second virtual link.
- the central processing unit 71 is further configured to: when detecting that the primary virtual link failure is normal, the slave node switches the service data packet from the standby virtual link back to the primary virtual link for transmission. .
- the central processing unit 71 is further configured to receive, by the slave node, the downlink service data packet transmitted on the primary virtual link and the standby virtual link, and pass the standby device.
- the virtual link transmits the uplink service data packet, and after the preset time, the slave node switches the uplink service data packet and the downlink service data packet to the primary virtual link for transmission.
- the central processing unit 71 is further configured to: when the service type information is an L2VPN, the slave node initiates fault detection on the end-to-end virtual link, where the end-to-end virtual link refers to the slave node.
- the slave node To a virtual link within the network virtualization system between the master nodes controlling the slave node, and a virtual link outside the network virtualization system between the master node controlling the slave node and the remote signaling gateway RSG a virtual link formed by splicing links; when the primary virtual link is detected The slave node switches the service data packet to the standby virtual link transmission.
- the central processing unit 71 is further configured to: when the service type information is an L3VPN, the slave node initiates fault detection on a virtual link in the network virtualization system, where the virtual link inside the network virtualization system is The virtual link inside the network virtualization system from the node to the master node; when the virtual link inside the network virtualization system where the primary virtual link is located is faulty, and the network where the virtual link is located When the virtual link inside the virtualization system fails, the slave node switches the service data packet to the standby virtual link transmission.
- the central processing unit 71 is further configured to: when the service type information is an L2VPN, the slave node receives, by using a control channel between the master node that controls the slave node, a master node that is sent by the master node that controls the slave node.
- the enabling fault detection configuration command is used to control the slave node to initiate fault detection on the end-to-end virtual link, where the end-to-end virtual link refers to the slave node to the control a virtual link formed between the master nodes of the slave node within the network virtualization system and a virtual link formed between the master node controlling the slave node and the RSG outside the network virtualization system
- the enabling fault detection configuration command the fault detection of the end-to-end virtual link is initiated; when the end-to-end virtual link where the primary virtual link is located is faulty, the standby virtual link is detected.
- the slave node switches the service data packet to the standby virtual link transmission.
- the embodiment of the present invention further provides a slave node, as shown in FIG. 23, including at least one central processing unit 81 and a memory 82.
- the memory 82 is configured with a code, and the central processing unit 81 can read the memory 82.
- the code in it is used to implement the method flow of all slave nodes on the side shown in FIG. 2 to FIG.
- the central processor 81 and the memory 82 communicate via a bus.
- the central processing unit 81 is configured to obtain service type information, where the service type information includes an L2VPN and an L3VPN, and is controlled by the primary node and a control channel between the slave nodes controlled by the master node to the master node.
- the slave node sends the service type information, so that the slave node controlled by the master node can determine the primary virtual link and the standby virtual link according to the received service type information, and determine the good primary virtual link and the standby virtual link. Perform fault detection.
- the memory 82 is also used to store service type information.
- the central processing unit 81 is configured to send, after the sending the service type information to the slave node, an enable fault detection configuration command to the slave node controlled by the master node, so that The slave node controlled by the master node initiates fault detection on the end-to-end virtual link according to the enabling fault detection configuration command; wherein the enabled fault detection configuration command is used to control the main section, and the control The slave node initiates fault detection on the end-to-end virtual link, where the end-to-end virtual link refers to a virtual link in the network virtualization system between the slave node controlled by the master node and the master node. And a virtual link formed by merging the virtual links between the master node and the RSG outside the network virtualization system.
- the central processing unit 8 is configured to perform, after the sending the service type information to the slave node, status information that is sent by the RSG, where the status information includes Ac ti ve and S t andby;
- the status information is sent to a slave node controlled by the master node through a control channel between the slave nodes controlled by the master node.
- the central processing unit 8 is configured to: when the primary node detects that the interface corresponding to the secondary node controlled by the primary node fails, the secondary node controlled by the primary node is in the primary The routing priority of the virtual remote logical interface on the node is reduced, and the routing priority of the virtual remote logical interface on the other primary node corresponding to the secondary node controlled by the primary node is obtained, and the other primary node and the Determining a master node as a master-slave relationship; determining that a route priority of a virtual remote logical interface of the slave node controlled by the master node on the master node is lower than another master corresponding to the slave node controlled by the master node When the routing priority of the virtual remote logical interface on the node is performed, the S t andby state is carried in the interface routing state information, and is sent to the primary by using a control channel between the primary node and the controlled secondary node.
- a master node, a slave node, and a network virtualization system in a network virtualization system based on control and forwarding separation, acquires current service type information and informs current service type information.
- the slave node is configured to enable the slave node to determine the primary virtual link and the standby virtual link according to the service type information, and perform fault detection. When it is detected that the primary virtual link fails and the standby virtual link fails, the service is performed.
- the data packet is switched to the standby virtual link for transmission, so as to ensure that the service data packet is transmitted without interruption in the new system architecture provided by the present invention, thereby ensuring service reliability.
- the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
- the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
- a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种保护业务可靠性的方法、设备以及网络虚拟化系统,涉及通信技术领域,能够保证在本发明提供的网络虚拟化系统中的业务可靠性保护。在本发明一种实施方式中具有控制功能的主节点获取当前业务类型信息并将当前业务类型信息告知从节点以使得从节点能够根据业务类型信息来确定主虚链路和备虚链路并进行故障检测,当检测到所述主虚链路发生故障且备虚链路未发生故障时,将业务数据报文切换到备虚链路进行传输,用以保证业务数据报文在本发明提供的全新系统架构中实现不中断传输,进而保证了业务可靠性。
Description
保护业务可靠性的方法、 设备及网络虚拟化系统 技术领域
本发明涉及通信技术领域, 尤其涉及一种保护业务可靠性的方法、设 备及网络虚拟化系统。
背景技术
基站回传是指集中在基站(BT S)与基站控制器(B S C)之间的传送网络, 称之为 RAN (Rad io Acce s s Ne twork) 。 IPRAN是针对基站回传应用场景进 行优化定制的路由器 /交换机整体解决方案, 具备电路仿真、 同步等能力。 IPRAN 承载方案是在城域内汇聚层 (汇聚层也可以叫做核心层) 釆用 IP/MPLS技术, 接入层主要釆用增强以太技术或与 IP/MPLS技术相结合的 方案。 核心汇聚节点釆用的设备为支持 IP/MPLS的路由器, 基站接入节点 釆用的设备为路由器或三层交换机。
目前 IPRAN的解决方案配置管理复杂, 因此需要较多的初始配置, 并 在业务发放前进行针对诸如 CSG的业务 IP , I GP域的规划; 在日常的维护 中, 仍然需要依靠人工干预来完成设备配置调整, 尚无法实现自动化 。 随着网络规模、 业务量和用户数的不断增长, 这方面的问题会愈加突出。 将网络虚拟化应用于 IPRAN可以简化配置和管理, 快速开通业务, 同时, 也需要为 IPRAN提供相应的业务可靠性保护方案。
发明内容
本发明的实施例提供一种保护业务可靠性的方法、设备及网络虚拟化 系统, 实现对业务的可靠性保护。
为达到上述目的, 本发明的实施例釆用如下技术方案:
第一方面, 本发明实施例提供一种保护业务可靠性的方法, 应用于基 于控制和转发分离的网络虚拟化系统中,所述网络虚拟化系统包括主节点 和从节点, 从节点被一对互为主备的主节点控制, 所述一对互为主备的主 节点包括一个主主节点和一个备主节点,所述从节点和控制所述从节点的
主主节点之间设置有第一虚链路,所述从节点和控制所述从节点的备主节 点之间设置有第二虚链路, 该方法包括:
所述从节点通过控制所述从节点的主节点与所述从节点之间的控制 通道, 接收从控制所述从节点的主节点发来的业务类型信息, 所述业务类 型信息包括 L 2 VPN和 L 3VPN ;
所述从节点根据所述业务类型信息,确定主虚链路和备虚链路;其中, 所述主虚链路为所述第一虚链路与第二虚链路中的一条虚链路,所述主虚 链路用于传输业务数据报文的虚链路,所述备虚链路为所述第一虚链路与 第二虚链路中除所述主虚链路之外的另一条虚链路;
所述从节点检测所述主虚链路和所述备虚链路是否发生故障; 从节点将业务数据报文切换到所述备虚链路进行传输。
结合第一方面,在第一种可能的实现方式中,所述根据业务类型信息, 确定主虚链路和备虚链路包括:
当业务类型为 L 2 VPN时,所述从节点将所述第一虚链路设置为主虚链 路, 并将所述第二虚链路设置为备虚链路;
或者, 当业务类型为 L 2 VPN时, 所述从节点根据控制所述从节点的主 主节点和控制所述从节点的备主节点各自发送的状态信息,确定主虚链路 和备虚链路;
或者, 当业务类型为 L 3VPN时, 所述从节点将所述第一虚链路设置为 主虚链路, 并将所述第二虚链路设置为备虚链路;
或者, 当业务类型为 L 3VPN时, 所述从节点根据控制所述从节点的主 主节点和控制所述从节点的备主节点各自发送的接口路由状态信息,确定 主虚链路和备虚链路,所述接口路由状态信息为在所述主主节点或备主节 点上的与所述从节点的外连接口具有对应关系的虚拟远端逻辑接口的路 由状态信息,所述外连接口指所述从节点与基于控制和转发分离的网络虚 拟化系统外的网络设备相连接的接口。
结合第一方面的第一种可能的实现方式, 在第二种可能的实现方式 中,所述从节点根据控制所述从节点的主主节点和控制所述从节点的备主 节点发送的状态信息, 确定主虚链路和备虚链路包括;
通过所述主主节点和所述从节点之间的控制通道,所述从节点接收所 述主主节点发送的状态信息;
通过所述备注节点和所述从节点之间的控制通道,所述从节点接收所 述备主节点发送的状态信息;
当接收到从所述主主节点发送的状态信息为 Ac t i ve激活状态时, 所 述从节点将所述第一虚链路设置为主虚链路,并在所述第一虚链路上传输 业务数据报文,当接收到从所述备主节点发来的状态信息为 S t andby待机 状态时, 则所述从节点将所述第二虚链路设置为备虚链路;
或者, 当接收到从所述主主节点发送的状态信息为 S t andby时, 则所 述从节点所述第一虚链路设置为备虚链路,当接收到从所述备主节点发来 的状态信息为 Ac t i ve时,则所述从节点所述第二虚链路设置为主虚链路, 并在所述第二虚链路上传输业务数据报文。
结合第一方面的第一种可能的实现方式, 在第三种可能的实现方式 中,所述从节点根据控制所述从节点的主主节点和控制所述从节点的备主 节点各自发送的接口路由状态信息, 确定主虚链路和备虚链路包括:
通过所述主主节点和所述从节点之间的控制通道,所述从节点接收所 述主主节点发送的接口路由状态信息;
通过所述备主节点和所述从节点之间的控制通道,所述从节点接收所 述备主节点发送的接口路由状态信息;
当接收到从所述主主节点发送的接口路由状态信息为 Ac t i ve激活状 态时, 所述从节点将所述第一虚链路设置为主虚链路, 并在所述第一虚链 路上传输业务数据报文; 当接收到从所述备主节点发来的接口路由状态信 息为 S t andby待机状态, 则所述从节点将第二虚链路设置为备虚链路; 或者, 当接收到从所述主主节点发送的接口路由状态信息为 S t andby
待机状态时, 所述从节点将所述第一虚链路设置为备虚链路, 当接收到从 所述备主节点发来的接口路由状态信息为 Ac t i ve激活状态, 则所述从节 点所述第二虚链路设置为主虚链路,并在所述第二虚链路上传输业务数据 报文。
结合第一方面或第一方面的前三种可能的实现方式,在第四种可能的 实现方式中, 还包括:
当检测到所述主虚链路故障恢复正常时,所述从节点将业务数据报文 从所述备虚链路切换回所述主虚链路进行传输。
结合第一方面的第四种可能的实现方式, 在第五种可能的实现方式 中,所述从节点将业务数据报文从所述备虚链路切换回所述主虚链路进行 传输包括: 在预设时间内, 所述从节点同时接收在所述主虚链路和所述备 虚链路上传输的下行业务数据报文,并通过所述备虚链路传输上行业务数 据报文, 在所述预设时间后, 所述从节点将上行业务数据报文和下行业务 数据报文都切换到所述主虚链路上传输。
结合第一方面或第一方面的前五种可能的实现方式,在第六种可能的 实现方式中,所述从节点检测所述主虚链路和所述备虚链路是否发生故障 包括:
当所述业务类型信息为 L 2VPN时,所述从节点启动对端到端虚链路进 行故障检测,所述端到端虚链路是指所述从节点到控制所述从节点的主节 ,、之间的在网络虚拟化系统内部的虚链路,以及与控制所述从节点的主节 点到远程信令网关 RSG 之间的在网络虚拟化系统外部的虚链路拼接起来 形成的虚链路; 相应地,当检测到所述主虚链路发生故障且所述备虚链路 未发生故障时,所述从节点将业务数据报文切换到所述备虚链路进行传输 包括:当检测到所述主虚链路所在的端到端虚链路发生故障且所述备虚链 路所在的端到端虚链路未发生故障时,所述从节点将业务数据报文切换到 所述备虚链路传输;
或者, 当所述业务类型信息为 L 3VPN时, 所述从节点启动对网络虚拟
化系统内部的虚链路进行故障检测,所述网络虚拟化系统内部的虚链路是 指从节点到主节点的网络虚拟化系统内部的虚链路; 相应地, 当检测到所 据报文切换到所述备虚链路进行传输包括:当检测到所述主虚链路所在的 化系统内部的虚链路未发生故障时,所述从节点将业务数据报文切换到所 述备虚链路传输。
结合第一方面或第一方面的前五种可能的实现方式,在第七种可能的 实现方式中,所述从节点检测所述主虚链路和所述备虚链路是否发生故障 包括:
当所述业务类型信息为 L 2 VPN时,所述从节点通过与控制所述从节点 的主节点之间的控制通道接收控制所述从节点的主节点发送的使能故障 检测配置命令,所述使能故障检测配置命令用于控制所述从节点启动对端 到端虚链路进行故障检测,所述端到端虚链路是指从节点到控制所述从节 点的主节点之间的在网络虚拟化系统内部的虚链路,以及与控制所述从节 点的主节点到 RS G 之间的在网络虚拟化系统外部的虚链路拼接起来形成 的虚链路;
所述从节点根据所述使能故障检测配置命令,启动对端到端虚链路进 行故障检测; 相应地,当检测到所述主虚链路发生故障且所述备虚链路未 发生故障时,所述从节点将业务数据报文切换到所述备虚链路进行传输包 括:当检测到所述主虚链路所在的端到端虚链路发生故障且所述备虚链路 所在的端到端虚链路未发生故障时,所述从节点将业务数据报文切换到所 述备虚链路传输。
第二方面, 本发明实施例提供了一种保护业务可靠性的方法, 应用于 基于控制和转发分离的网络虚拟化系统中,所述网络虚拟化系统包括主节 点和从节点, 从节点被一对互为主备的主节点控制, 所述一对互为主备的 主节点包括一个主主节点和一个备主节点,所述从节点和控制所述从节点
的主主节点之间设置有第一虚链路,所述从节点和控制所述从节点的备主 节点之间设置有第二虚链路, 该方法包括:
主节点获取业务类型信息, 所述业务类型信息包括 L 2VPN和 L 3VPN ; 通过主节点以及所述主节点控制的从节点之间的控制通道,向所述主 节点控制的从节点发送业务类型信息,以使得所述主节点控制的从节点能 够根据接收到的业务类型信息确定主虚链路和备虚链路,并对确定好的主 虚链路和备虚链路进行故障检测。
结合第二方面, 在第一种可能的实现方式中, 所述主节点获取业务类 型信息包括:
为所述主节点控制的从节点的外连接口建立对应的虚拟远端逻辑接 口,所述外连接口指所述主节点控制的从节点与基于控制和转发分离的网 络虚拟化系统外的网络设备相连接的接口;
在所述虚拟远端逻辑接口上配置基于控制和转发分离的网络虚拟化 系统外的业务, 并获取与配置的业务相应的业务类型信息。
结合第二方面的第一种可能的实现方式, 在第二种可能的实现方式 中, 在向所述从节点发送业务类型信息之后, 还包括:
向所述主节点控制的从节点发送使能故障检测配置命令,以使得所述 主节点控制的从节点根据所述使能故障检测配置命令,启动对端到端虚链 路进行故障检测; 其中, 所述使能故障检测配置命令用于控制所述主节点 控制的从节点启动对端到端虚链路进行故障检测,所述端到端虚链路是指 从节点到主节点之间的在网络虚拟化系统内部的虚链路,以及与主节点到 RSG之间的在网络虚拟化系统外部的虚链路拼接起来形成的虚链路。
结合第二方面或第二发明的前两种可能的实现方式,在第三种可能的 实现方式中, 在向所述主节点控制的从节点发送业务类型信息之后, 还包 括:
所述主节点接收 RSG发送的状态信息, 所述状态信息包括 Ac t i ve和 S t andby;
所述主节点将所述状态信息通过与所述主节点控制的从节点之间的 控制通道发送至所述主节点控制的从节点。
结合第二方面或第二发明的前两种可能的实现方式,在第四种可能的 实现方式中, 在向所述从节点发送业务类型信息之后, 还包括:
当主节点检测到与所述主节点控制的从节点对应的接口路由发生故 障时,则将所述主节点控制的从节点在所述主节点上的虚拟远端逻辑接口 的路由优先级降低,并获取所述主节, *、控制的从节点对应的另一个主节, *、 上的虚拟远端逻辑接口的路由优先级,所述另一个主节点和所述主节点互 为主备关系;
当确定所述主节点控制的从节点在所述主节点上的虚拟远端逻辑接 口的路由优先级低于所述主节点控制的从节点对应的另一个主节点上的 虚拟远端逻辑接口的路由优先级时,将 S t andby状态携带在接口路由状态 信息中, 通过与所述主节点控制的从节点之间的控制通道, 发送至所述主 节点控制的从节点。
第三方面, 本发明提供一种从节点, 应用于基于控制和转发分离的网 络虚拟化系统中, 所述网络虚拟化系统包括主节点和从节点, 从节点被一 对互为主备的主节点控制,所述一对互为主备的主节点包括一个主主节点 和一个备主节点,所述从节点和控制所述从节点的主主节点之间设置有第 一虚链路,所述从节点和控制所述从节点的备主节点之间设置有第二虚链 路, 所述从节点包括:
接收单元,用于通过控制所述从节点的主节点与所述从节点之间的控 制通道, 接收从控制所述从节点的主节点发来的业务类型信息, 所述业务 类型信息包括 L 2VPN和 L 3VPN ;
确定单元, 用于根据所述接收单元接收的业务类型信息, 确定主虚链 路和备虚链路; 其中, 所述主虚链路为所述第一虚链路与第二虚链路中的 一条虚链路,所述主虚链路用于传输业务数据报文的虚链路, 所述备虚链 路为所述第一虚链路与第二虚链路中除所述主虚链路之外的另一条虚链
路;
检测单元,用于检测所述确定单元确定的主虚链路和备虚链路是否发 生故障;
切换单元,用于当所述检测单元检测到所述主虚链路发生故障且所述 备虚链路未发生故障时, 将业务数据报文切换到备虚链路进行传输。
结合第三方面, 在第一种可能的实现方式中, 所述确定单元用于当业 务类型为 L 2VPN时, 将所述第一虚链路设置为主虚链路, 并将所述第二虚 链路设置为备虚链路; 还用于当业务类型为 L 2VPN时, 根据控制所述从节 点的主主节点和控制所述从节点的备主节点各自发送的状态信息,确定主 虚链路和备虚链路;还用于当业务类型为 L 3VPN时, 将所述第一虚链路设 置为主虚链路, 并将所述第二虚链路设置为备虚链路; 还用于当业务类型 为 L 3VPN时,根据控制所述从节点的主主节点和控制所述从节点的备主节 点各自发送的接口路由状态信息, 确定主虚链路和备虚链路, 所述接口路 由状态信息为在所述主主节点或备主节点上的与所述从节点的外连接口 具有对应关系的虚拟远端逻辑接口的路由状态信息,所述外连接口指所述 从节点与基于控制和转发分离的网络虚拟化系统外的网络设备相连接的 接口。
结合第三方面的第一种可能的实现方式, 在第二种可能的实现方式 中, 所述确定单元包括:
第一接收模块, 用于通过所述主主节点和所述从节点之间的控制通 道, 所述从节点接收所述主主节点发送的状态信息;
所述第一接收模块,还用于通过所述备注节点和所述从节点之间的控 制通道, 所述从节点接收所述备主节点发送的状态信息;
确定模块,当所述第一接收模块接收到从所述主主节点发送的状态信 息为 Ac t i ve激活状态时,所述从节点将所述第一虚链路设置为主虚链路, 并在所述第一虚链路上传输业务数据报文,并当所述第一接收模块接收到 从所述备主节点发来的状态信息为 S t andby待机状态时,则将所述第二虚
链路设置为备虚链路;还用于当所述第一接收模块接收到从所述主主节点 发送的状态信息为 S t andby时, 则将所述第一虚链路设置为备虚链路, 并 当所述第一接收模块接收到从所述备主节点发来的状态信息为 Ac t i ve 时, 则将所述第二虚链路设置为主虚链路, 并在所述第二虚链路上传输业 务数据报文。
结合第三方面的第一种可能的实现方式, 在第三种可能的实现方式 中, 所述确定单元包括:
第二接收模块, 用于通过所述主主节点和所述从节点之间的控制通 道, 所述从节点接收所述主主节点发送的接口路由状态信息;
所述第二接收模块,还用于通过所述备主节点和所述从节点之间的控 制通道, 所述从节点接收所述备主节点发送的接口路由状态信息;
设置模块,用于当所述第二接收模块接收到从所述主主节点发送的接 口路由状态信息为 Ac t i ve激活状态时, 所述从节点将所述第一虚链路设 置为主虚链路, 并在所述第一虚链路上传输业务数据报文, 并当所述第二 接收模块接收到从所述备主节点发来的接口路由状态信息为 S t andby 待 机状态, 则将第二虚链路设置为备虚链路; 还用于当接收到从所述主主节 点发送的接口路由状态信息为 S t andby待机状态时,将所述第一虚链路设 置为备虚链路;并当所述第二接收模块接收到从所述备主节点发来的接口 路由状态信息为 Ac t i ve激活状态,则将所述第二虚链路设置为主虚链路, 并在所述第二虚链路上传输业务数据报文。
结合第三方面或第三方面的前三种可能的实现方式,在第四种可能的 实现方式中,所述切换单元还用于当所述检测单元检测到所述主虚链路故 障恢复正常时,将业务数据报文从所述备虚链路切换回所述主虚链路进行 传输。
结合第三方面的第四种可能的实现方式, 在第五种可能的实现方式 中, 所述切换单元用于在预设时间内, 所述从节点同时接收在所述主虚链 路和所述备虚链路上传输的下行业务数据报文,并通过所述备虚链路传输
上行业务数据报文, 在所述预设时间后, 所述从节点将上行业务数据报文 和下行业务数据报文都切换到所述主虚链路上传输。
结合第三方面或第三方面的前五种可能的实现方式,在第六种可能的 实现方式中,所述检测单元用于当所述接收单元接收到的业务类型信息为
L 2VPN时, 启动对端到端虚链路进行故障检测, 所述端到端虚链路是指所 述从节点到控制所述从节点的主节点之间的在网络虚拟化系统内部的虚 链路,以及与控制所述从节点的主节点到远程信令网关 RS G之间的在网络 虚拟化系统外部的虚链路拼接起来形成的虚链路;
则所述切换单元,用于当所述检测单元检测到所述主虚链路发生故障 且所述备虚链路未发生故障时,所述从节点将业务数据报文切换到所述备 虚链路进行传输包括:当检测到所述主虚链路所在的端到端虚链路发生故 障且所述备虚链路所在的端到端虚链路未发生故障时,所述从节点将业务 数据报文切换到所述备虚链路传输;
或者, 所述检测单元用于当所述接收单元接收到的业务类型信息为 L 3VPN时, 启动对网络虚拟化系统内部的虚链路进行故障检测, 所述网络 虚拟化系统内部的虚链路是指从节点到主节点的网络虚拟化系统内部的 虚链路。
则所述切换单元,用于当所述检测单元检测到所述主虚链路所在的网 系统内部的虚链路未发生故障时,所述从节点将业务数据报文切换到所述 备虚链路传输。
结合第三方面或第三方面的前五种可能的实现方式,在第七种可能的 实现方式中, 所述检测单元用于当所述接收单元接收的业务类型信息为 L 2VPN时, 通过与控制所述从节点的主节点之间的控制通道接收控制所述 从节点的主节点发送的使能故障检测配置命令,所述使能故障检测配置命 令用于控制所述从节点启动对端到端虚链路进行故障检测,所述端到端虚 链路是指从节点到控制所述从节点的主节点之间的在网络虚拟化系统内
部的虚链路,以及与控制所述从节点的主节点到 RS G之间的在网络虚拟化 系统外部的虚链路拼接起来形成的虚链路;根据所述接收单元接收到的使 能故障检测配置命令, 启动对端到端虚链路进行故障检测;
则所述切换单元,用于当所述检测单元检测到所述主虚链路所在的端 到端虚链路发生故障且所述备虚链路所在的端到端虚链路未发生故障时, 所述从节点将业务数据报文切换到所述备虚链路传输。
第四方面, 本发明实施例提供了一种主节点, 应用于基于控制和转发 分离的网络虚拟化系统中, 所述网络虚拟化系统包括主节点和从节点, 从 节点被一对互为主备的主节点控制,所述一对互为主备的主节点包括一个 主主节点和一个备主节点,所述从节点和控制所述从节点的主主节点之间 设置有第一虚链路,所述从节点和控制所述从节点的备主节点之间设置有 第二虚链路,, 其中, 所述主节点包括:
第一获取单元, 用于获取业务类型信息, 所述业务类型信息包括 L 2VPN和 L 3VPN ;
发送单元,用于通过主节点以及所述主节点控制的从节点之间的控制 通道,向所述主节点控制的从节点发送所述第一获取单元获取到的业务类 型信息,以使得所述主节点控制的从节点能够根据接收到的业务类型信,包、 确定主虚链路和备虚链路,并对确定好的主虚链路和备虚链路进行故障检 测。
结合第四方面,在第一种可能的实现方式中,所述第一获取单元包括: 建立模块,用于所述主节点控制的从节点的外连接口建立对应的虚拟 远端逻辑接口,所述外连接口指所述主节点控制的从节点与基于控制和转 发分离的网络虚拟化系统外的网络设备相连接的接口;
配置模块,用于在所述建立模块建立的虚拟远端逻辑接口上配置基于 控制和转发分离的网络虚拟化系统外的业务;
获取模块, 用于获取与配置的业务取相应的业务类型信息。
结合第四方面的第一种可能的实现方式, 在第二种可能的实现方式
中,所述发送单元还用于向所述主节点控制的从节点发送使能故障检测配 置命令, 以使得所述主节点控制的从节, *、根据所述使能故障检测配置命 令, 启动对端到端虚链路进行故障检测; 其中, 所述使能故障检测配置命 令用于控制所述主节点控制的从节点启动对端到端虚链路进行故障检测, 所述端到端虚链路是指从节点到主节点之间的在网络虚拟化系统内部的 虚链路,以及与主节点到 RSG之间的在网络虚拟化系统外部的虚链路拼接 起来形成的虚链路。
结合第四方面或第二发明的前两种可能的实现方式,在第三种可能的 实现方式中, 还包括:
接收单元,用于接收 RSG发送的状态信息,所述状态信息包括 Ac t i ve 和 S t andby ;
所述发送单元,用于将所述接收单元接收到的状态信息通过与所述主 节点控制的从节点之间的控制通道发送至所述主节点控制的从节点。
结合第四方面或第二发明的前两种可能的实现方式,在第四种可能的 实现方式中, 还包括:
设置单元,用于当主节点检测到与所述主节点控制的从节点对应的接 口路由发生故障时,则将所述主节点控制的从节点在所述主节点上的虚拟 远端逻辑接口的路由优先级降低;
第二获取单元,用于获取所述主节点控制的从节点对应的另一个主节 点上的虚拟远端逻辑接口的路由优先级,所述另一个主节点和所述主节点 互为主备关系;
所述发送单元,用于当确定所述主节点控制的从节点在所述主节点上 的虚拟远端逻辑接口的路由优先级低于所述主节点控制的从节点对应的 另一个主节点上的虚拟远端逻辑接口的路由优先级时,将 S t andby状态携 带在接口路由状态信息中,通过所述与所述主节点控制的从节点之间的控 制通道, 发送至所述主节点控制的从节点。
第五方面, 本发明提供了一种网络虚拟化系统, 所述网络虚拟化系统
包括主节点和从节点, 从节点被一对互为主备的主节点控制, 所述一对互 为主备的主节点包括一个主主节点和一个备主节点,所述从节点和控制所 述从节点的主主节点之间设置有第一虚链路,所述从节点和控制所述从节 点的备主节点之间设置有第二虚链路;
其中, 所述主节点获取业务类型信息, 所述业务类型信息包括 L 2 VPN 和 L 3VPN ; 通过主节点以及所述主节点控制的从节点之间的控制通道, 向 所述主节点控制的从节点发送业务类型信息;
所述从节点通过控制所述从节点的主节点与所述从节点之间的控制 通道, 接收从控制所述从节点的主节点发来的业务类型信息, 所述业务类 型信息包括 L 2 VPN和 L 3VPN ; 根据所述业务类型信息, 确定主虚链路和备 虚链路; 其中, 所述主虚链路为所述第一虚链路与第二虚链路中的一条虚 链路,所述主虚链路用于传输业务数据报文的虚链路, 所述备虚链路为所 述第一虚链路与第二虚链路中除所述主虚链路之外的另一条虚链路;检测 所述主虚链路和所述备虚链路是否发生故障; 当检测到所述主虚链路发生 故障且所述备虚链路未发生故障时,将业务数据报文切换到所述备虚链路 进行传输。
本发明实施例提供的一种保护业务可靠性的方法、设备及网络虚拟化 系统, 在基于控制与转发分离的网络虚拟化系统中, 具有控制功能的主节 点获取当前业务类型信息并将当前业务类型信息告知从节点以使得从节 点能够根据业务类型信息来确定主虚链路和备虚链路并进行故障检测,当 检测到所述主虚链路发生故障且备虚链路未发生故障时,将业务数据报文 切换到备虚链路进行传输,用以保证业务数据报文在本发明提供的全新系 统架构中实现不中断传输, 进而保证了业务可靠性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对 实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员
来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附 图。
图 1 为本发明实施例提供的一种基于控制和转发分离的网络虚拟化 系统的架构示意图;
图 2为本发明实施例提供的一种保护业务可靠性的方法流程图 图 3为本发明实施例提供的另一种保护业务可靠性的方法流程图; 图 4为本发明实施例提供的另一种保护业务可靠性的方法流程图; 图 5为本发明实施例提供的另一种保护业务可靠性的方法流程图; 图 6为本发明实施例提供的另一种保护业务可靠性的方法流程图; 图 7为本发明实施例提供的另一种保护业务可靠性的方法流程图; 图 8为本发明实施例提供的另一种保护业务可靠性的方法流程图; 图 9为本发明实施例提供的另一种保护业务可靠性的方法流程图; 图 1 0为本发明实施例提供的另一种保护业务可靠性的方法流程图; 图 1 1为通过 L 2VPN承载 TDM或 ATM业务的可靠性场景示意图; 图 1 2为通过 L 3VPN承载 ETH业务的可靠性场景示意图;
图 1 3为本发明实施例提供的另一种保护业务可靠性的方法流程图; 图 1 4为本发明实施例提供的另一种保护业务可靠性的方法流程图; 图 1 5为本发明实施例提供的一种从节点的组成框图;
图 1 6为本发明实施例提供的另一种从节点的组成框图;
图 1 7为本发明实施例提供的另一种从节点的组成框图;
图 1 8为本发明实施例提供的一种主节点的组成框图;
图 1 9为本发明实施例提供的另一种主节点的组成框图;
图 2 0为本发明实施例提供的另一种主节点的组成框图;
图 2 1为本发明实施例提供的另一种主节点的组成框图;
图 22为本发明实施例提供的另一种从节点的组成框图;
图 2 3为本发明实施例提供的另一种主节点的组成框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进 行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的 范围。
本发明提供了一种基于控制和转发分离的网络虚拟化系统,图 1为该 系统实体架构的示意图, 在此网络虚拟化系统中包括若干个主节点 (图 1 中为 A, B, C, D共四个主节点) 和若干个从节点 (图 1 中共 1 3个从节点;), 各个主节点和从节点可按照如图 1 所示的连接方式通过实际物理信道进 行连接通信。 只有主节点可以设置有控制功能以及转发功能, 而从节点则 只具有转发功能。 当然, 为了控制方便, 每个主节点的控制功能可以集成 在同一个高层设备中进行统一管理。
每个从节点都被一对互为主备的主节点控制, 在图 1 中表示为 A/B , B/C , B/D和 A/D。 分别表示由主节点 A和 B进行控制, 由主节点 B和 C 进行控制, 由主节点 B和 D进行控制, 由主节点 A和 D进行控制。 所述一 对互为主备的主节点包括一个主主节点和一个备主节点,所述从节点和控 制所述从节点的主主节点之间设置有第一虚链路,所述从节点和控制所述 从节点的备主节点之间设置有第二虚链路。第一虚链路和第二虚链路均为 虚拟逻辑信道, 在图 1 中并未示出。 其中, 可将第一虚链路的转发优先级 初始化高于第二虚链路的转发优先级,其目的在于从节点在确定当前业务 类型进行主、 备虚链路初始化时, 可以优先选择第一虚链路为主虚链路, 选择第二虚链路为备虚链路。 当然, 这种初始化设定可以根据实际需要另 行设置。在此网络虚拟化系统中并不限定每个从节点必须要设置有独立的 主主节点和备主节点, 也就是说, 同一个主节点既可以作为一个从节点的 主主节点, 同时也可以作为另一个从节点的备主节点。
基于上述基于控制和转发分离的网络虚拟化系统,本发明实施例提供 了一种保护业务可靠性的方法, 如图 2所示, 可由从节点来实现, 包括:
101、 所述从节点通过控制所述从节点的主节点与所述从节点之间的 控制通道, 接收从控制所述从节点的主节点发来的业务类型信息。
其中, 所述业务类型信息包括 L2VPN ( layer 2 virtual private network , 二层虚拟私有网络) 和 L3VPN ( layer 3 virtual private network, 三层虚拟私有网络)。
102、 所述从节点根据所述业务类型信息, 确定主虚链路和备虚链路。 其中,所述主虚链路为所述第一虚链路与第二虚链路中的一条虚链路 所述主虚链路用于传输业务数据报文的虚链路,所述备虚链路为所述第一 虚链路与第二虚链路中除所述主虚链路之外的另一条虚链路。
值得说明的是, 为方便从节点后续工作, 在本实施例中, 一般会使用 激活状态 Active 来标识第一虚链路为主虚链路, 使用待机状态 Standby 来标识第二虚链路为备虚链路。
针对不同的业务类型信息, 本发明实施例对如何实现步骤 102、 根据 业务类型信息, 确定主虚链路和备虚链路提供了相应的具体实施方式, 具 体如下:
针对 L2VPN这种业务类型信息,本发明实施例提供了两种具体实施方 式, 包括:
第一种实施方式: 将所述第一虚链路设置为主虚链路, 并将所述第二 虚链路设置为备虚链路。
第二种实施方式:根据控制所述从节点的主主节点和控制所述从节, *、 的备主节点各自发送的状态信息, 确定主虚链路和备虚链路。
针对 L2VPN的第一种实施方式一般可以作为初始化设置,应用在网络 虚拟化系统组网时期。而针对 L2VPN的第二种实施方式可以使用在网络虚 拟化系统运行的各个阶段。
其中,上述针对 L2VPN的第二种实施方式的具体实现步骤可参照如图 3所示的方法流程, 具体包括;
A102 通过所述主主节点和所述从节点之间的控制通道, 所述从节
点接收所述主主节点发送的状态信息。
其中,所述主主节点和从节点之间的控制通道是独立于主主节点和从 节点之间的业务数据信道外的另一个信道。
A1022 , 通过所述备注节点和所述从节点之间的控制通道, 所述从节 点接收所述备主节点发送的状态信息。 并执行 A1023或者执行 A1024。
其中,所述备主节点和从节点之间的控制通道是独立于备主节点和从 节点之间的业务数据信道外的另一个信道
A1023,当接收到从所述主主节点发送的状态信息为 Active激活状态 时, 所述从节点将所述第一虚链路设置为主虚链路, 并在所述第一虚链路 上传输业务数据报文, 当接收到从所述备主节点发来的状态信息为 Standby待机状态时, 则将所述第二虚链路设置为备虚链路。
A1024, 当接收到从所述主主节点发送的状态信息为 Standby时, 则 所述从节点将所述第一虚链路设置为备虚链路,当接收到从所述备主节点 发来的状态信息为 Active时, 则将所述第二虚链路设置为主虚链路, 并 在所述第二虚链路上传输业务数据报文。
在上述步骤 A1023和 A1024 中, Active激活状态用于表示发送此状 态信息的主节点处于正常运行状态。 Standby待机状态用于表示发送此状 态信息的从节点处于暂停工作状态。
而针对 L3VPN这种业务类型信息,本发明实施例提供了两种具体实施 方式, 包括:
第一种实施方式: 所述从节点将所述第一虚链路设置为主虚链路, 并 将所述第二虚链路设置为备虚链路。
第二种实施方式:根据控制所述从节点的主主节点和控制所述从节, *、 的备主节点各自发送的接口路由状态信息,所述从节点确定主虚链路和备 虚链路。
其中,所述接口路由状态信息为在所述主主节点或备主节点上的与所 述从节点的外连接口具有对应关系的虚拟远端逻辑接口的路由信息,所述
外连接口指所述从节点与基于控制和转发分离的网络虚拟化系统外的其 它网络设备相连接的接口。
针对 L3VPN的第一种实施方式一般可以作为初始化设置,应用在网络 虚拟化系统组网时期。而针对 L3VPN的第二种实施方式可以使用在网络虚 拟化系统运行的各个阶段,当然在在网络虚拟化系统运行 L 3 V P N的各个阶 段中, 也可以按照初始化设置维持主虚链路和备虚链路的配置不变。
其中,针对 L3VPN的上述第二种实施方式的具体实现步骤可参照如图 4所示的方法流程, 具体包括;
B102 通过所述主主节点和所述从节点之间的控制通道, 所述从节 点接收所述主主节点发送的接口路由状态信息。
B1022 , 通过所述备主节点和所述从节点之间的控制通道, 所述从节 点接收所述备主节点发送的接口路由状态信息。并执行步骤 B1023或步骤 B1024。
B1023、 当接收到从所述主主节点发送的接口路由状态信息为 Active 激活状态时, 所述从节点将所述第一虚链路设置为主虚链路, 并在所述第 一虚链路上传输业务数据报文; 当接收到从所述备主节点发来的接口路由 状态信息为 Standby待机状态,则所述从节点将第二虚链路设置为备虚链 路。
其中,值得说明的是, 当某一主主节点的接口路由状态信息为 Active 激活状态表示所述主主节点上的虚拟远端逻辑接口的路由优先级高于与 所述主主节点对应的备主节点上的虚拟远端逻辑接口的路由优先级。
当某一备主节点的接口路由状态信息为 Standby 待机状态表示所述 备主节点上的虚拟远端逻辑接口的路由优先级低于与所述备主节点对应 的主主节点上的虚拟远端逻辑接口的路由优先级。
B1024、 当接收到从所述主主节点发送的接口路由状态信息为 Standby待机状态时, 所述从节点将所述第一虚链路设置为备虚链路, 当 接收到从所述备主节点发来的接口路由状态信息为 Active激活状态, 则
将所述第二虚链路设置为主虚链路,并在所述第二虚链路上传输业务数据 报文。
103、 所述从节点检测所述主虚链路和所述备虚链路是否发生故障。 其中,从节点检测所述主虚链路和所述备虚链路是否发生故障的方法 可以使用对主虚链路和备虚链路进行 BFD ( Bidirectional Forwarding
Detection, 双向转发检测) 检测来实现。 所述从节点将业务数据报文切换到所述备虚链路进行传输。
本发明实施例提供了一种保护业务可靠性的方法,在本发明提供的基 于控制与转发分离的网络虚拟化系统中,从节点通过对已确定好的主虚链 路和备虚链路进行检测,当检测到所述主虚链路发生故障且备虚链路未发 生故障时, 将业务数据报文切换到备虚链路进行传输, 用以保证业务数据 报文在本发明提供的全新系统架构中实现不中断传输,进而保证了业务可 靠性。
进一步值得说明的是, 如图 5所示, 在执行了步骤 104之后, 还可以 执行步骤 105、 当检测到所述主虚链路故障恢复正常时, 所述从节点将业 务数据报文从所述备虚链路切换回所述主虚链路进行传输。
进一步的, 在执行上述步骤 105时, 从节点不需要经过主主节点或备 主节点的同意,可根据自己做出的判断直接进行主、备虚链路之间的切换 , 但是当主虚链路回复正常时, 此时备虚链路也处于正常工作状态, 因此, 这两个虚链路可以同时传输下行业务数据报文。
为了保证业务数据报文传输不中断和不丟失,当业务数据报文传输量 较少, 从节点可以直接将业务数据报文切换回主虚链路进行传输。
当业务数据报文传输量较多时, 在预设时间内, 所述从节点同时接收 在所述主虚链路和所述备虚链路上传输的下行业务数据报文,并通过所述 备虚链路传输上行业务数据报文, 在所述预设时间后, 所述从节点将上行 业务数据报文和下行业务数据报文都切换到所述主虚链路上传输。
其中, 预设时间为经验值, 例如 3 00ms等, 可以预先设定。
值得说明的是, 在执行所述步骤 1 0 3时, 本发明实施例针对不同的业 务类型信息还提供了以下三种故障检测的启动方法, 包括:
第一种启动方法: 当所述业务类型信息为 L 2 VPN时, 所述从节点启动 对端到端虚链路进行故障检测,所述端到端虚链路是指所述从节点到控制 所述从节点的主节点之间的在网络虚拟化系统内部的虚链路,以及与控制 所述从节点的主节点到远程信令网关 RS G 之间的在网络虚拟化系统外部 的虚链路拼接起来形成的虚链路。
相应地,所述步骤 1 04 当检测到所述主虚链路发生故障且所述备虚链 路未发生故障时,所述从节点将业务数据报文切换到所述备虚链路进行传 输的实现方法包括:当检测到所述主虚链路所在的端到端虚链路发生故障 且所述备虚链路所在的端到端虚链路未发生故障时,所述从节点将业务数 据报文切换到所述备虚链路传输。
第二种启动方法: 当所述业务类型信息为 L 3VPN时, 所述从节点启动 对网络虚拟化系统内部的虚链路进行故障检测,所述网络虚拟化系统内部 的虚链路是指从节点到主节点的网络虚拟化系统内部的虚链路。
相应地,所述步骤 1 04 当检测到所述主虚链路发生故障且所述备虚链 路未发生故障时,所述从节点将业务数据报文切换到所述备虚链路进行传 输的实现方法包括: 当检测到所述主虚链路所在的网络虚拟化系统内部 未发生故障时, 所述从节点将业务数据报文切换到所述备虚链路传输。
第三种启动方法: 当所述业务类型信息为 L 2 VPN时, 从节点通过与控 制所述从节点的主节点之间的控制通道接收控制所述从节点的主节点发 送的使能故障检测配置命令,所述使能故障检测配置命令用于控制所述从 节点启动对端到端虚链路进行故障检测,所述端到端虚链路是指从节点到 主节点之间的在网络虚拟化系统内部的虚链路,以及与主节点到 R S G之间 的在网络虚拟化系统外部的虚链路拼接起来形成的虚链路;根据所述使能
故障检测配置命令, 启动对端到端虚链路进行故障检测。
相应地,所述步骤 1 04 当检测到所述主虚链路发生故障且所述备虚链 路未发生故障时,所述从节点将业务数据报文切换到所述备虚链路进行传 输的实现方法包括: 当检测到所述主虚链路所在的端到端虚链路发生故 障且所述备虚链路所在的端到端虚链路未发生故障时,所述从节点将业务 数据报文切换到所述备虚链路传输。
基于上述基于控制和转发分离的网络虚拟化系统,本发明实施例提供 了一种保护业务可靠性的方法, 如图 6所示, 可由主节点来实现, 包括:
2 01、 获取业务类型信息。
其中, 所述业务类型信息包括 L 2 VPN和 L 3VPN。
其中,主节点获取业务类型信息的方法可由如图 7所示的方法流程实 现, 具体包括;
2 01 1、为所述主节点控制的从节点的外连接口建立对应的虚拟远端逻 辑接口 。
其中,所述外连接口指所述主节点控制的从节点与基于控制和转发分 离的网络虚拟化系统外的网络设备相连接的接口。
2 01 2、在所述虚拟远端逻辑接口上配置基于控制和转发分离的网络虚 拟化系统外的业务, 并获取与配置的业务相应的业务类型信息。
2 02、 通过主节点以及所述主节点控制的从节点之间的控制通道, 向 所述主节点控制的从节点发送业务类型信息,以使得所述主节点控制的从 节点能够根据接收到的业务类型信息确定主虚链路和备虚链路,并对确定 好的主虚链路和备虚链路进行故障检 'J。
本发明实施例提供了一种保护业务可靠性的方法,在本发明提供的基 于控制与转发分离的网络虚拟化系统中,具有控制功能的主节点获取当前 业务类型信息并将当前业务类型信息告知从节点以使得从节点能够根据 业务类型信息来确定主虚链路和备虚链路并进行故障检测,当检测到所述 主虚链路发生故障且备虚链路未发生故障时,将业务数据报文切换到备虚
链路进行传输,用以保证业务数据报文在本发明提供的全新系统架构中实 现不中断传输, 进而保证了业务可靠性。
可选的是, 在执行所述步骤 2 02之后, 如图 8所示, 本发明实施例提 供的方法还包括:
2 03、 向所述主节点控制的从节点发送使能故障检测配置命令, 以使 得所述主节点控制的从节点根据所述使能故障检测配置命令,启动对端到 端虚链路进行故障检测。
其中,所述使能故障检测配置命令用于控制所述主节点控制的从节点 启动对端到端虚链路进行故障检测,所述端到端虚链路是指所述主节点控 制的从节点到所述主节点之间的在网络虚拟化系统内部的虚链路,以及与 主节点到 RSG 之间的在网络虚拟化系统外部的虚链路拼接起来形成的虚 链路。
通过执行步骤 2 03 , 本发明实施例提供的方法能够对从节点的故障检 测的启动进行控制。 值得说明的是, 该步骤也可以设置为优先有主主节点 来冗成。
进一步的, 在 L 2VPN业务类型下, 为了能够对基于控制和转发分离的 网络虚拟化系统外部的出现的问题进行响应,以保证业务数据报文的正常 传输, 如图 9所示, 该方法还包括:
2 04、所述主节点接收 R S G发送的状态信息,所述状态信息包括 A c t i V e 和 S t andby。
2 05、 将所述状态信息通过与所述主节点控制的从节点之间的控制通 道发送至所述主节点控制的从节点。
进一步的, 在 L 3VPN业务类型下, 若在主节点上的所述主节点控制的 从节点对应的路由接口出现故障时, 则需要告知所述主节点控制的从节 点, 以保证所述主节点控制的从节点及时调整主、 备虚链路, 如图 1 0所 示, 该方法还包括:
2 06、 当主节点检测到与所述主节点控制的从节点对应的接口路由发
生故障时,则将所述主节点控制的从节点在所述主节点上的虚拟远端逻辑 接口的路由优先级降低,并获取所述主节,、控制的从节点对应的另一个主 节点上的虚拟远端逻辑接口的路由优先级,所述另一个主节点和所述主节 点互为主备关系。
其中, 主节点降低优先级的方法, 可以使用将接收对应的路由权值降 低即可。
207、 当确定所述主节点控制的从节点在所述主节点上的虚拟远端逻 辑接口的路由优先级低于所述主节, ^控制的从节点对应的另一个主节, ^ 上的虚拟远端逻辑接口的路由优先级时,将 Standby状态携带在接口路由 状态信息中, 通过与所述主节点控制的从节点之间的控制通道, 发送至所 述主节点控制的从节点。
另外, 在此之后, 若主节点检测到与所述从节点对应的接口路由之间 的故障恢复,还可以将所述从节点在所述主节点上的虚拟远端逻辑接口的 路由优先级提高, 并将 Active状态携带在接口路由状态信息中, 通过所 述与从节点之间的控制通道, 发送至所述从节点。
基于前述如图 2至图 5所示的从节点方法以及如图 6至图 10所示的 主节点的方法,本发明实施例在此结合如图 11所示的通过 L2VPN 承载 TDM 或 ATM业务的可靠性场景,以及如图 12所示的通过 L3VPN 承载 TDM或 ATM 业务的可靠性场景, 分别具体描述本发明提供的技术方案。
在如图 11所示的通过 L2VPN 承载 TDM( t ime di v i s ion mul t i lex ing , 时分复用 ) 或 ATM ( asynchronous transfer mode, 异步传输模式) 业务 的可靠性场景中, 设置有一个从节点, 负责控制该从节点的主主节点和备 主节点, 两个 RSG (如图 11所示的 RSG1和 RSG2 ), —个 RNC, 从节点与 主主节点和备主节点通过伪线进行业务数据传输, 主主节点与 RSG1通过 伪线连接, 备主节点与 RSG2通过伪线连接, 两个 RSG都与 RNC相连。
在如图 12所示的通过 L3VPN承载 ETH ( ethernet, 以太网) 业务的 可靠性场景中, 设置有一个从节点, 负责控制该从节点的主主节点和备主
节点, 两个 RSG (如图 12所示的 RSG1和 RSG2 ), —个 RNC, 从节点与主 主节点和备主节点通过伪线进行业务数据传输,主主节点和备主节点分别 于 RSG1和 RSG2通过三层路由网络进行通信, 两个 RSG都与 RNC相连。
结合图 11所示的具体应用场景, 本发明实施例提供了一种保护业务 可靠性的方法, 如图 13所示, 包括:
301、 主主节点和备主节点分别为从节点的外连接口创建虚拟远端逻 辑接口, 并将网络虚拟化系统外 L2VPN 业务配置在该虚拟远端逻辑接口 上。
302、 主主节点和备主节点分别建立虚拟远端逻辑接口和从节点的外 连接口之间点到点虚链路。
303、 主主节点通过主主节点与所述从节点之间的控制通道, 将业务 类型发送至从节点。
304、 所述从节点将所述第一虚链路设置为主虚链路, 将所述第二虚 链路设置为备虚链路, 并启动对 RSG1 到所述主主节点之间的虚链路和 RSG2 到所述备主节点之间的虚链路以及所述主主节点与所述从节点之间 的虚链路和所述备主节点与所述从节点之间的虚链路进行故障检 'J。
305、 当 RSG1检测到与 RNC之间的链路发生故障, 则向所述主主节点 发送 Standby状态信息, 并向所述备主节点发送 Active状态信息。
306、 所述主主节点收到 Standby状态信息后, 通过控制信道向所述 从节点发送 Standby状态信息。 所述备主节点收到 Active状态信息后, 通过控制信道向所述从节点发送 Active状态信息。
307、 所述从节点接收到所述主主节点发送的 Standby状态信息和所 述备主节点发送的 Active状态信息后,将当前主虚链路设置为备虚链路, 当前备虚链路设置为主虚链路。
此时, 上行流量传输途径为: 从节点将收到的业务数据报文传输至备 主节点。 再由备主节点发送至 RSG2, 继而传送到 RNC。
下行流量传输途径为: RSG2接收 RNC发来的业务数据报文, 发送至
备主节点, 再由备主节点发送至从节点。
值得说明的是, 在上述步骤 304中, 从节点根据业务类型为 L2VPN , 直接启动对对 RSG 1到主主节点之间的虚链路和 RSG2到备主节点之间的虚 链路以及主主节点与从节点之间的虚链路和备主节点与从节点之间的虚 链路进行故障检测。 本发明实施例还提供了一种方法, 在执行 304之前, 还可以由主主节点向从节点发送使能故障检测配置命令,从节点接收到此 命令后, 才启动故障检测。
结合图 12所示的具体应用场景, 本发明实施例提供了一种保护业务 可靠性的方法, 如图 14所示, 包括:
401、 在所述主主节点和所述备主节点上分别为所述从节点的外连接 口创建虚拟远端逻辑接口,并将网络虚拟化系统外 L 3VPN业务配置在该虚 拟远端逻辑接口上。
402、 所述主主节点和所述备主节点分别建立虚拟远端逻辑接口和所 述从节点的外连接口之间点到点虚链路。
403、所述主主节点通过所述主主节点与所述从节点之间的控制通道, 将业务类型发送至所述从节点。
此时, 所述备注节点也可以发送相同的业务类型信息至所述从节点, 所述从节点仍然根据所述主主节点发送的业务类型信息进行后续处理。
404、 所述从节点将所述第一虚链路设置为主虚链路, 将所述第二虚 链路设置为备虚链路,并启动所述主主节点与所述从节点之间的虚链路和 所述备主节点与所述从节点之间的虚链路进行故障检测。
405、 当所述主主节点检测到与所述从节点对应接口路由发生故障, 则将所述从节点与所述主节点之间的虚拟远端逻辑接口的路由优先级降 低。
406、 确定降低后的路由优先级低于所述备主节点与所述主节点之间 的虚拟远端逻辑接口的路由优先级时,将 S t andby状态携带在接口路由状 态信息中, 通过所述与从节点之间的控制通道, 发送至所述从节点。
407、 当所述备主节点确定从节点与所述主节点之间的虚拟远端逻辑 接口的路由优先级低于自身与所述主节点之间的虚拟远端逻辑接口的路 由优先级时, 将 Ac t i ve状态携带在接口路由状态信息中, 通过所述与从 节点之间的控制通道, 发送至所述从节点。
408、 将第一虚链路设置为备虚链路, 将第二虚链路设置为主虚链路, 并在所述第二虚链路上传输业务数据报文。
此时, 上行流量传输途径为: 从节点将收到的业务数据报文传输至备 主节点。 再由备主节点经过三层路由网络发送至 RSG 1或 RSG2 , 继而传送 到 RNC。
下行流量传输途径为: RSG 1或 RSG2接收 RNC发来的业务数据报文, 通过三层路由网络将接收到的业务数据报文发送至备主节点,再由备主节 点发送至从节点。
值得说明的是,所述步骤 407确定所述主虚链路的路由优先级低于所 述备虚链路的路由优先级, 可以不将当前主虚链路设置为备虚链路, 当前 备虚链路设置为主虚链路,而只是将上行业务数据报文发送至备主节点即 可。
在执行所述步骤 407之后,若主主节点上对应于所述从节点的接口路 由恢复正常, 则主主节点会重新对该接口路由的路由优先级进行设置, 以 使得其路由优先级能够重新高于或等于所述备主节点上的路由优先级,但 在此过程中,主节点与 R S G之间的三层路由网络的路由表等信息需要根据 主主节点的路由优先级重新更新, 这一过程需要一段时间。 因此, 为保证 下行业务数据报文不中断,在此提供以下业务数据报文传输路径回切的步 骤, 包括:
上行业务数据报文传输路径回切: 从节点等待 300 s后将上行业务数 据报文从向备主节点发送变更为向主主节点发送。
下行业务数据报文传输路径回切, 从节点同时主、备主节点发送的下 行业务数据报文。 在 300 s后将仅接收主主节点发送过来的下行业务数据
报文。
本发明实施例提供了一种保护业务可靠性的方法,在本发明提供的基 于控制与转发分离的网络虚拟化系统中,具有控制功能的主节点获取当前 业务类型信息并将当前业务类型信息告知从节点,从节点能够根据业务类 型信息来确定主虚链路和备虚链路并进行故障检测,当检测到所述主虚链 路发生故障且备虚链路未发生故障时,将业务数据报文切换到备虚链路进 行传输,用以保证业务数据报文在本发明提供的全新系统架构中实现不中 断传输, 进而保证了业务可靠性。
本发明实施例提供了一种从节点, 可用于实现如图 2至图 1 4所示的 所有从节点侧的方法流程,具体应用于基于控制和转发分离的网络虚拟化 系统中, 所述网络虚拟化系统包括主节点和从节点, 从节点被一对互为主 备的主节点控制,所述一对互为主备的主节点包括一个主主节点和一个备 主节点, 所述从节点和控制所述从节点的主主节点之间设置有第一虚链 路, 所述从节点和控制所述从节点的备主节点之间设置有第二虚链路, 其 中, 如图 1 5所示, 所述从节点包括:
接收单元 5 1 , 用于通过主节点与从节点之间的控制通道, 接收从主 节点发来的业务类型信息, 所述业务类型信息包括 L 2 VPN和 L 3VPN。
确定单元 5 2 , 用于根据所述接收单元 5 1接收的业务类型信息, 确定 主虚链路和备虚链路; 其中, 所述主虚链路为所述第一虚链路与第二虚链 路中的一条虚链路,所述主虚链路用于传输业务数据报文的虚链路, 所述 备虚链路为所述第一虚链路与第二虚链路中除所述主虚链路之外的另一 条虚链路。
检测单元 5 3 , 用于检测所述确定单元 5 2确定的主虚链路和备虚链路 是否发生故障。
切换单元 54 , 用于当所述检测单元 5 3检测到所述主虚链路发生故障 且所述备虚链路未发生故障时, 将业务数据报文切换到备虚链路进行传 输。
可选的是, 所述确定单元 52用于当业务类型为 L2VPN时, 将所述第 一虚链路设置为主虚链路, 并将所述第二虚链路设置为备虚链路; 还用于 当业务类型为 L2VPN时,根据控制所述从节点的主主节点和控制所述从节 点的备主节点各自发送的状态信息, 确定主虚链路和备虚链路;还用于当 业务类型为 L3VPN时, 将所述第一虚链路设置为主虚链路, 并将所述第二 虚链路设置为备虚链路; 还用于当业务类型为 L3VPN时, 根据控制所述从 节点的主主节点和控制所述从节点的备主节点各自发送的接口路由状态 信息, 确定主虚链路和备虚链路, 所述接口路由状态信息为在所述主主节 点或备主节点上的与所述从节点的外连接口具有对应关系的虚拟远端逻 辑接口的路由状态信息,所述外连接口指所述从节点与基于控制和转发分 离的网络虚拟化系统外的网络设备相连接的接口。
可选的是, 如图 16所示, 所述确定单元 52包括:
第一接收模块 521, 用于通过所述主主节点和所述从节点之间的控制 通道, 所述从节点接收所述主主节点发送的状态信息。
所述第一接收模块 521, 还用于通过所述备注节点和所述从节点之间 的控制通道, 所述从节点接收所述备主节点发送的状态信息。
确定模块 522, 当所述第一接收模块 521接收到从所述主主节点发送 的状态信息为 Active激活状态时, 所述从节点将所述第一虚链路设置为 主虚链路, 并在所述第一虚链路上传输业务数据报文, 并当所述第一接收 模块 521接收到从所述备主节点发来的状态信息为 Standby待机状态时, 则将所述第二虚链路设置为备虚链路; 还用于当所述第一接收模块 521 接收到从主主节点发送的状态信息为 Standby时,则将所述第一虚链路设 置为备虚链路,当所述第一接收模块 521接收到从所述主主节点发送的状 态信息为 Standby时, 则将所述第一虚链路设置为备虚链路, 并当所述第 一接收模块 521接收到从所述备主节点发来的状态信息为 Active时, 则 将所述第二虚链路设置为主虚链路,并在所述第二虚链路上传输业务数据 报文。
可选的是, 如图 1 7所示, 所述确定单元 52包括:
第二接收模块 52 3 , 用于通过所述主主节点和所述从节点之间的控制 通道, 所述从节点接收所述主主节点发送的接口路由状态信息。
所述第二接收模块 524 , 还用于通过所述备主节点和所述从节点之间 的控制通道, 所述从节点接收所述备主节点发送的接口路由状态信息。
设置模块 524 , 用于当所述第二接收模块 524接收到从所述主主节点 发送的接口路由状态信息为 Ac t i ve激活状态时, 所述从节点将所述第一 虚链路设置为主虚链路, 并在所述第一虚链路上传输业务数据报文, 并当 所述第二接收模块 524 接收到从所述备主节点发来的接口路由状态信息 为 S t andby待机状态, 则将第二虚链路设置为备虚链路; 还用于当所述第 二接收模块接收到从所述主主节点发送的接口路由状态信息为 S t andby 待机状态时, 将所述第一虚链路设置为备虚链路; 并当所述第二接收模块 524接收到从所述备主节点发来的接口路由状态信息为 Ac t i ve激活状态, 则将所述第二虚链路设置为主虚链路,并在所述第二虚链路上传输业务数 据报文。
可选的是, 所述切换单元 54还用于当所述检测单元检测到所述主虚 链路故障恢复正常时,将业务数据报文从所述备虚链路切换回所述主虚链 路进行传输。
可选的是, 所述切换单元 54用于在预设时间内, 所述从节点同时接 收在所述主虚链路和所述备虚链路上传输的下行业务数据报文,并通过所 述备虚链路传输上行业务数据报文, 在所述预设时间后, 所述从节点将上 行业务数据报文和下行业务数据报文都切换到所述主虚链路上传输。
可选的是,所述检测单元 5 3用于当所述接收单元 5 1接收到的业务类 型信息为 L 2VPN时, 启动对端到端虚链路进行故障检测, 所述端到端虚链 路是指所述从节点到控制所述从节点的主节点之间的在网络虚拟化系统 内部的虚链路,以及与控制所述从节点的主节点到远程信令网关 RSG之间 的在网络虚拟化系统外部的虚链路拼接起来形成的虚链路。
则所述切换单元 54 , 用于当所述检测单元 53检测到所述主虚链路发 生故障且所述备虚链路未发生故障时,所述从节点将业务数据报文切换到 所述备虚链路进行传输包括:当检测到所述主虚链路所在的端到端虚链路 发生故障且所述备虚链路所在的端到端虚链路未发生故障时,所述从节点 将业务数据报文切换到所述备虚链路传输。
可选的是,所述检测单元 53用于当所述接收单元 51接收到的业务类 型信息为 L 3VPN时, 启动对网络虚拟化系统内部的虚链路进行故障检测, 所述网络虚拟化系统内部的虚链路是指从节点到主节点的网络虚拟化系 统内部的虚链路。
则所述切换单元 54 , 用于当所述检测单元 53检测到所述主虚链路所 虚拟化系统内部的虚链路未发生故障时,所述从节点将业务数据报文切换 到所述备虚链路传输。
可选的是,所述检测单元 53用于当所述接收单元 51接收的业务类型 信息为 L2VPN时,通过与控制所述从节点的主节点之间的控制通道接收控 制所述从节点的主节点发送的使能故障检测配置命令,所述使能故障检测 配置命令用于控制所述从节点启动对端到端虚链路进行故障检测,所述端 到端虚链路是指从节点到控制所述从节点的主节点之间的在网络虚拟化 系统内部的虚链路,以及与控制所述从节点的主节点到 RSG之间的在网络 虚拟化系统外部的虚链路拼接起来形成的虚链路; 根据所述接收单元 51 接收到的使能故障检测配置命令, 启动对端到端虚链路进行故障检测。
则所述切换单元 54 , 用于当所述检测单元 53检测到所述主虚链路所 故障时, 所述从节点将业务数据报文切换到所述备虚链路传输。
本发明实施例还提供了一种主节点, 可用于实现如图 2至图 14所示 的所有主节点侧的方法流程,具体应用于基于控制和转发分离的网络虚拟 化系统中, 所述网络虚拟化系统包括主节点和从节点, 从节点被一对互为
主备的主节点控制,所述一对互为主备的主节点包括一个主主节点和一个 备主节点,所述从节点和控制所述从节点的主主节点之间设置有第一虚链 路, 所述从节点和控制所述从节点的备主节点之间设置有第二虚链路,, 其中, 如图 18所示, 所述主节点包括:
第一获取单元 61, 用于获取业务类型信息, 所述业务类型信息包括 L2VPN和 3VPN。
发送单元 62, 用于通过主节点以及所述主节点控制的从节点之间的 控制通道, 向所述主节点控制的从节点发送所述第一获取单元 61获取到 的业务类型信息,以使得所述主节点控制的从节点能够根据接收到的业务 类型信息确定主虚链路和备虚链路,并对确定好的主虚链路和备虚链路进 行故障检测。
可选的是, 如图 19所示, 所述第一获取单元 61 包括:
建立模块 611 , 用于为所述主节点控制的从节点的外连接口建立对应 的虚拟远端逻辑接口,所述外连接口指所述主节点控制的从节点与基于控 制和转发分离的网络虚拟化系统外的网络设备相连接的接口。
配置模块 612, 用于在所述建立模块 612建立的虚拟远端逻辑接口上 配置基于控制和转发分离的网络虚拟化系统外的业务。
获取模块 613, 用于获取与配置的业务相应的业务类型信息。
可选的是, 所述发送单元 62还用于向所述主节点控制的从节点发送 使能故障检测配置命令,以使得所述主节点控制的从节点根据所述使能故 障检测配置命令, 启动对端到端虚链路进行故障检测; 其中, 所述使能故 障检测配置命令用于控制所述主节点控制的从节点启动对端到端虚链路 进行故障检测,所述端到端虚链路是指所述主节点控制的从节点到主节点 之间的在网络虚拟化系统内部的虚链路,以及与主节点到 RSG之间的在网 络虚拟化系统外部的虚链路拼接起来形成的虚链路。
可选的是, 如图 20所示, 还包括:
接收单元 63, 用于接收 RSG 发送的状态信息, 所述状态信息包括
Act i ve和 Standby。
所述发送单元 62, 用于将所述接收单元 63接收到的状态信息通过与 所述主节点控制的从节点之间的控制通道发送至所述主节点控制的从节 点。
可选的是, 如图 21所示, 还包括:
设置单元 64, 用于当主节点检测到与所述主节点控制的从节点对应 的接口路由发生故障时,则将所述主节点控制的从节点在所述主节点上的 虚拟远端逻辑接口的路由优先级降低。
第二获取单元 65, 用于获取所述主节点控制的从节点对应的另一个 主节点上的虚拟远端逻辑接口的路由优先级,所述另一个主节点和所述主 节点互为主备关系。
所述发送单元 62, 用于当确定所述主节点控制的从节点在所述主节 点上的虚拟远端逻辑接口的路由优先级低于所述主节点控制的从节点对 应的另一个主节点上的虚拟远端逻辑接口的路由优先级时, 将 Standby 状态携带在接口路由状态信息中,通过所述与所述主节点控制的从节点之 间的控制通道, 发送至所述主节点控制的从节点。
本发明实施例还提供了一种从节点, 如图 22所示, 包括至少一个中 央处理器 71 和存储器 72, 所述存储器 72被配置代码, 所述中央处理器 71可以读取所述存储器 72 中的代码, 用于实现如图 2至图 14所示的所 有主节点侧的方法流程。所述中央处理器 71和存储器 72之间通过总线通 信。
其中, 所述中央处理器 71用于通过控制所述从节点的主节点与所述 从节点之间的控制通道,接收从控制所述从节点的主节点发来的业务类型 信息, 所述业务类型信息包括 L2VPN和 L3VPN; 根据所述业务类型信息, 确定主虚链路和备虚链路; 其中, 所述主虚链路为所述第一虚链路与第二 虚链路中的一条虚链路,所述主虚链路用于传输业务数据报文的虚链路, 所述备虚链路为所述第一虚链路与第二虚链路中除所述主虚链路之外的
另一条虚链路; 检测所述主虚链路和所述备虚链路是否发生故障; 当检测 务数据报文切换到所述备虚链路进行传输。
所述存储器 72, 还用于存储业务类型信息。
所述中央处理器 71, 还用于当业务类型为 L2VPN 时, 将所述第一虚 链路设置为主虚链路, 并将所述第二虚链路设置为备虚链路。
还用于当业务类型为 L 2 V P N时,根据控制所述从节点的主主节点和控 制所述从节点的备主节点各自发送的状态信息, 确定主虚链路和备虚链 路。
还用于,当业务类型为 L3VPN时,将所述第一虚链路设置为主虚链路, 并将所述第二虚链路设置为备虚链路。
还用于, 当业务类型为 L3VPN时, 根据控制所述从节点的主主节点和 控制所述从节点的备主节点各自发送的接口路由状态信息,确定主虚链路 和备虚链路,所述接口路由状态信息为在所述主主节点或备主节点上的与 所述从节点的外连接口具有对应关系的虚拟远端逻辑接口的路由状态信 息,所述外连接口指所述从节点与基于控制和转发分离的网络虚拟化系统 外的网络设备相连接的接口。
所述存储器 72, 还用于存储状态信息和接口路由状态信息。
所述中央处理器 71, 还用于通过所述主主节点和所述从节点之间的 控制通道, 所述从节点接收所述主主节点发送的状态信息; 通过所述备注 节点和所述从节点之间的控制通道,所述从节点接收所述备主节点发送的 状态信息; 当接收到从所述主主节点发送的状态信息为 Active激活状态 时, 所述从节点将所述第一虚链路设置为主虚链路, 并在所述第一虚链路 上传输业务数据报文, 当接收到从所述备主节点发来的状态信息为 Standby待机状态时, 则将所述第二虚链路设置为备虚链路; 以及用于当 接收到从所述主主节点发送的状态信息为 Standby时,则将所述第一虚链 路设置为备虚链路, 当接收到从所述备主节点发来的状态信息为 Active
时, 则将所述第二虚链路设置为主虚链路, 并在所述第二虚链路上传输业 务数据报文。
所述中央处理器 71 , 还用于通过所述主主节点和所述从节点之间的 控制通道, 所述从节点接收所述主主节点发送的接口路由状态信息; 通过 所述备主节点和所述从节点之间的控制通道,所述从节点接收所述备主节 点发送的接口路由状态信息; 当接收到从所述主主节点发送的接口路由状 态信息为 Ac t i ve激活状态时, 所述从节点将所述第一虚链路设置为主虚 链路, 并在所述第一虚链路上传输业务数据报文; 当接收到从所述备主节 点发来的接口路由状态信息为 S t andby待机状态,则所述从节点将第二虚 链路设置为备虚链路;以及用于当接收到从所述主主节点发送的接口路由 状态信息为 S t andby待机状态时,所述从节点将所述第一虚链路设置为备 虚链路, 当接收到从所述备主节点发来的接口路由状态信息为 Ac t i ve激 活状态, 则将所述第二虚链路设置为主虚链路, 并在所述第二虚链路上传 输业务数据报文。
所述中央处理器 71 , 还用于当检测到所述主虚链路故障恢复正常时, 所述从节点将业务数据报文从所述备虚链路切换回所述主虚链路进行传 输。
所述中央处理器 71 , 还用于在预设时间内, 所述从节点同时接收在 所述主虚链路和所述备虚链路上传输的下行业务数据报文,并通过所述备 虚链路传输上行业务数据报文, 在所述预设时间后, 所述从节点将上行业 务数据报文和下行业务数据报文都切换到所述主虚链路上传输。
所述中央处理器 71 , 还用于当所述业务类型信息为 L2VPN 时, 所述 从节点启动对端到端虚链路进行故障检测,所述端到端虚链路是指所述从 节点到控制所述从节点的主节点之间的在网络虚拟化系统内部的虚链路, 以及与控制所述从节点的主节点到远程信令网关 RSG 之间的在网络虚拟 化系统外部的虚链路拼接起来形成的虚链路; 当检测到所述主虚链路所在
障时, 所述从节点将业务数据报文切换到所述备虚链路传输。
所述中央处理器 71, 还用于当所述业务类型信息为 L3VPN 时, 所述 从节点启动对网络虚拟化系统内部的虚链路进行故障检测,所述网络虚拟 化系统内部的虚链路是指从节点到主节点的网络虚拟化系统内部的虚链 路; 当检测到所述主虚链路所在的网络虚拟化系统内部的虚链路发生故障 且所述备虚链路所在的网络虚拟化系统内部的虚链路未发生故障时,所述 从节点将业务数据报文切换到所述备虚链路传输。
所述中央处理器 71, 还用于当所述业务类型信息为 L2VPN 时, 所述 从节点通过与控制所述从节点的主节点之间的控制通道接收控制所述从 节点的主节点发送的使能故障检测配置命令,所述使能故障检测配置命令 用于控制所述从节点启动对端到端虚链路进行故障检测,所述端到端虚链 路是指从节点到控制所述从节点的主节点之间的在网络虚拟化系统内部 的虚链路,以及与控制所述从节点的主节点到 RSG之间的在网络虚拟化系 统外部的虚链路拼接起来形成的虚链路; 根据所述使能故障检测配置命 令, 启动对端到端虚链路进行故障检测; 当检测到所述主虚链路所在的端 到端虚链路发生故障且所述备虚链路所在的端到端虚链路未发生故障时, 所述从节点将业务数据报文切换到所述备虚链路传输。
本发明实施例还提供了一种从节点, 如图 23所示, 包括至少一个中 央处理器 81 和存储器 82, 所述存储器 82被配置代码, 所述中央处理器 81可以读取所述存储器 82 中的代码, 用于实现如图 2至图 14所示的所 有从节点侧的方法流程。所述中央处理器 81和存储器 82之间通过总线通 信。
其中, 所述中央处理器 81用于获取业务类型信息, 所述业务类型信 息包括 L2VPN和 L3VPN; 通过主节点以及所述主节点控制的从节点之间的 控制通道, 向所述主节点控制的从节点发送业务类型信息, 以使得所述主 节点控制的从节点能够根据接收到的业务类型信息确定主虚链路和备虚 链路, 并对确定好的主虚链路和备虚链路进行故障检测。
所述存储器 82还用于存储业务类型信息。
可选的是, 所述中央处理器 8 1用于为所述主节点控制的从节点的外 连接口建立对应的虚拟远端逻辑接口,所述外连接口指所述主节点控制的 从节点与基于控制和转发分离的网络虚拟化系统外的网络设备相连接的 接口;在所述虚拟远端逻辑接口上配置基于控制和转发分离的网络虚拟化 系统外的业务, 并获取与配置的业务相应的业务类型信息。
可选的是, 所述中央处理器 8 1用于在所述向所述从节点发送业务类 型信息之后,还执行向所述主节点控制的从节点发送使能故障检测配置命 令, 以使得所述主节点控制的从节点根据所述使能故障检测配置命令, 启 动对端到端虚链路进行故障检测; 其中, 所述使能故障检测配置命令用于 控制所述主节,、控制的从节点启动对端到端虚链路进行故障检测,所述端 到端虚链路是指所述主节点控制的从节点到所述主节点之间的在网络虚 拟化系统内部的虚链路,以及与主节点到 RSG之间的在网络虚拟化系统外 部的虚链路拼接起来形成的虚链路。
可选的是, 所述中央处理器 8 1用于在所述向所述从节点发送业务类 型信息之后,还执行接收 RSG发送的状态信息,所述状态信息包括 Ac t i ve 和 S t andby ; 将所述状态信息通过与所述主节点控制的从节点之间的控制 通道发送至所述主节点控制的从节点。
可选的是, 所述中央处理器 8 1用于, 当主节点检测到与所述主节点 控制的从节点对应的接口路由发生故障时,则将所述主节点控制的从节点 在所述主节点上的虚拟远端逻辑接口的路由优先级降低,并获取所述主节 点控制的从节点对应的另一个主节点上的虚拟远端逻辑接口的路由优先 级, 所述另一个主节点和所述主节点互为主备关系; 当确定所述主节点控 制的从节点在所述主节点上的虚拟远端逻辑接口的路由优先级低于所述 主节点控制的从节点对应的另一个主节点上的虚拟远端逻辑接口的路由 优先级时, 将 S t andby状态携带在接口路由状态信息中, 通过与所述主节 ,、控制的从节点之间的控制通道, 发送至所述主节点控制的从节点。
本发明实施例还提供了一种网络虚拟化系统, 包括主节点和从节点, 从节点被一对互为主备的主节点控制,所述一对互为主备的主节点包括一 个主主节点和一个备主节点,所述从节点和控制所述从节点的主主节点之 间设置有第一虚链路,所述从节点和控制所述从节点的备主节点之间设置 有第二虚链路。 可实现如图 2至图 1 3所示的所有方法流程。
本发明实施例提供的一种主节点、 从节点及网络虚拟化系统, 在基于 控制与转发分离的网络虚拟化系统中,具有控制功能的主节点获取当前业 务类型信息并将当前业务类型信息告知从节点以使得从节点能够根据业 务类型信息来确定主虚链路和备虚链路并进行故障检测,当检测到所述主 虚链路发生故障且备虚链路未发生故障时,将业务数据报文切换到备虚链 路进行传输,用以保证业务数据报文在本发明提供的全新系统架构中实现 不中断传输, 进而保证了业务可靠性
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到 本发明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬 件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技 术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式 体现出来, 该计算机软件产品存储在可读取的存储介质中, 如计算机的软 盘, 硬盘或光盘等, 包括若干指令用以使得一台计算机设备(可以是个人 计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述的方法。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局 限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应以所述权利要求的保护范围为准。
Claims
1、 一种保护业务可靠性的方法, 其特征在于, 应用于基于控制和转发 分离的网络虚拟化系统中, 所述网络虚拟化系统包括主节点和从节点, 从 节点被一对互为主备的主节点控制, 所述一对互为主备的主节点包括一个 主主节点和一个备主节点, 所述从节点和控制所述从节点的主主节点之间 设置有第一虚链路, 所述从节点和控制所述从节点的备主节点之间设置有 第二虚链路, 该方法包括:
所述从节点通过控制所述从节点的主节点与所述从节点之间的控制通 道, 接收从控制所述从节点的主节点发来的业务类型信息, 所述业务类型 信息包括 L 2 VPN和 L 3VPN ;
所述从节点根据所述业务类型信息, 确定主虚链路和备虚链路; 其中, 所述主虚链路为所述第一虚链路与第二虚链路中的一条虚链路,所述主虚 链路用于传输业务数据报文的虚链路, 所述备虚链路为所述第一虚链路与 第二虚链路中除所述主虚链路之外的另一条虚链路;
所述从节点检测所述主虚链路和所述备虚链路是否发生故障; 从节点将业务数据报文切换到所述备虚链路进行传输。
2、根据权利要求 1所述的方法,其特征在于,所述根据业务类型信息, 确定主虚链路和备虚链路包括:
当业务类型为 L 2VPN时, 所述从节点将所述第一虚链路设置为主虚链 路, 并将所述第二虚链路设置为备虚链路;
或者, 当业务类型为 L 2VPN时, 所述从节点根据控制所述从节点的主 主节点和控制所述从节点的备主节点各自发送的状态信息, 确定主虚链路 和备虚链路;
或者, 当业务类型为 L 3VPN时, 所述从节点将所述第一虚链路设置为 主虚链路, 并将所述第二虚链路设置为备虚链路;
或者, 当业务类型为 L 3VPN时, 所述从节点根据控制所述从节点的主
主节点和控制所述从节点的备主节点各自发送的接口路由状态信息, 确定 主虚链路和备虚链路, 所述接口路由状态信息为在所述主主节点或备主节 点上的与所述从节点的外连接口具有对应关系的虚拟远端逻辑接口的路由 状态信息, 所述外连接口指所述从节点与基于控制和转发分离的网络虚拟 化系统外的网络设备相连接的接口。
3、 根据权利要求 2所述的方法, 其特征在于, 所述从节点根据控制所 述从节点的主主节点和控制所述从节点的备主节点发送的状态信息, 确定 主虚链路和备虚链路包括;
通过所述主主节点和所述从节点之间的控制通道, 所述从节点接收所 述主主节点发送的状态信息;
通过所述备注节点和所述从节点之间的控制通道, 所述从节, 接收所 述备主节点发送的状态信息;
当接收到从所述主主节点发送的状态信息为 Ac t i ve激活状态时,所述 从节点将所述第一虚链路设置为主虚链路, 并在所述第一虚链路上传输业 务数据报文, 当接收到从所述备主节点发来的状态信息为 S tandby待机状 态时, 则将所述第二虚链路设置为备虚链路;
或者, 当接收到从所述主主节点发送的状态信息为 S tandby时, 则所 述从节点将所述第一虚链路设置为备虚链路, 当接收到从所述备主节点发 来的状态信息为 Ac t i ve时,则所述从节点将所述第二虚链路设置为主虚链 路, 并在所述第二虚链路上传输业务数据报文。
4、 根据权利要求 2所述的方法, 其特征在于, 所述从节点根据控制所 述从节点的主主节点和控制所述从节点的备主节点各自发送的接口路由状 态信息, 确定主虚链路和备虚链路包括:
通过所述主主节点和所述从节点之间的控制通道, 所述从节点接收所 述主主节点发送的接口路由状态信息;
通过所述备主节点和所述从节点之间的控制通道, 所述从节, 接收所 述备主节点发送的接口路由状态信息;
当接收到从所述主主节点发送的接口路由状态信息为 Ac t i ve 激活状 态时, 所述从节点将所述第一虚链路设置为主虚链路, 并在所述第一虚链 路上传输业务数据报文; 当接收到从所述备主节点发来的接口路由状态信 息为 S tandby待机状态, 则所述从节点将第二虚链路设置为备虚链路; 或者, 当接收到从所述主主节点发送的接口路由状态信息为 S tandby 待机状态时, 所述从节点将所述第一虚链路设置为备虚链路, 当接收到从 所述备主节点发来的接口路由状态信息为 Ac t i ve激活状态,则所述从节点 将所述第二虚链路设置为主虚链路, 并在所述第二虚链路上传输业务数据 报文。
5、 根据权利要求 1-4任意一项所述的方法, 其特征在于, 还包括: 当检测到所述主虚链路故障恢复正常时, 所述从节点将业务数据报文 从所述备虚链路切换回所述主虚链路进行传输。
6、 根据权利要求 5所述的方法, 其特征在于, 所述从节点将业务数据 报文从所述备虚链路切换回所述主虚链路进行传输包括: 在预设时间内, 所述从节点同时接收在所述主虚链路和所述备虚链路上传输的下行业务数 据报文, 并通过所述备虚链路传输上行业务数据报文, 在所述预设时间后, 所述从节点将上行业务数据报文和下行业务数据报文都切换到所述主虚链 路上传输。
7、 根据权利要求 1-6任意一项所述的方法, 其特征在于, 所述从节点 检测所述主虚链路和所述备虚链路是否发生故障包括:
当所述业务类型信息为 L2VPN时, 所述从节点启动对端到端虚链路进 行故障检测, 所述端到端虚链路是指所述从节点到控制所述从节点的主节 , ^之间的在网络虚拟化系统内部的虚链路, 以及与控制所述从节点的主节 点到远程信令网关 RSG之间的在网络虚拟化系统外部的虚链路拼接起来形 成的虚链路;相应地,当检测到所述主虚链路发生故障且所述备虚链路未发 生故障时,所述从节点将业务数据报文切换到所述备虚链路进行传输包括: 当检测到所述主虚链路所在的端到端虚链路发生故障且所述备虚链路所在
的端到端虚链路未发生故障时, 所述从节点将业务数据报文切换到所述备 虚链路传输;
或者, 当所述业务类型信息为 L 3VPN时, 所述从节点启动对网络虚拟 化系统内部的虚链路进行故障检测, 所述网络虚拟化系统内部的虚链路是 指从节点到主节点的网络虚拟化系统内部的虚链路; 相应地, 当检测到所 据报文切换到所述备虚链路进行传输包括:当检测到所述主虚链路所在的 系统内部的虚链路未发生故障时, 所述从节点将业务数据报文切换到所述 备虚链路传输。
8、 根据权利要求 1 -6任意一项所述的方法, 其特征在于, 所述从节点 检测所述主虚链路和所述备虚链路是否发生故障包括:
当所述业务类型信息为 L 2 VPN时, 所述从节点通过与控制所述从节点 的主节点之间的控制通道接收控制所述从节点的主节点发送的使能故障检 测配置命令, 所述使能故障检测配置命令用于控制所述从节点启动对端到 端虚链路进行故障检测, 所述端到端虚链路是指从节点到控制所述从节点 的主节点之间的在网络虚拟化系统内部的虚链路, 以及与控制所述从节点 的主节点到 RSG之间的在网络虚拟化系统外部的虚链路拼接起来形成的虚 链路;
所述从节点根据所述使能故障检测配置命令, 启动对端到端虚链路进 行故障检测;相应地,当检测到所述主虚链路发生故障且所述备虚链路未发 生故障时,所述从节点将业务数据报文切换到所述备虚链路进行传输包括: 当检测到所述主虚链路所在的端到端虚链路发生故障且所述备虚链路所在 的端到端虚链路未发生故障时, 所述从节点将业务数据报文切换到所述备 虚链路传输。
9、 一种保护业务可靠性的方法, 其特征在于, 应用于基于控制和转发 分离的网络虚拟化系统中, 所述网络虚拟化系统包括主节点和从节点, 从
节点被一对互为主备的主节点控制, 所述一对互为主备的主节点包括一个 主主节点和一个备主节点, 所述从节点和控制所述从节点的主主节点之间 设置有第一虚链路, 所述从节点和控制所述从节点的备主节点之间设置有 第二虚链路, 该方法包括:
主节点获取业务类型信息, 所述业务类型信息包括 L2VPN和 L 3VPN ; 通过主节点以及所述主节点控制的从节点之间的控制通道, 向所述主 节点控制的从节点发送业务类型信息, 以使得所述主节点控制的从节点能 够根据接收到的业务类型信息确定主虚链路和备虚链路, 并对确定好的主 虚链路和备虚链路进行故障检测。
1 0、 根据权利要求 9所述的方法, 其特征在于, 所述主节点获取业务 类型信息包括:
为所述主节点控制的从节点的外连接口建立对应的虚拟远端逻辑接 口, 所述外连接口指所述主节点控制的从节点与基于控制和转发分离的网 络虚拟化系统外的网络设备相连接的接口;
在所述虚拟远端逻辑接口上配置基于控制和转发分离的网络虚拟化系 统外的业务, 并获取与配置的业务相应的业务类型信息。
1 1、 根据权利要求 1 0所述的方法, 其特征在于, 在向所述从节点发送 业务类型信息之后, 还包括:
向所述主节点控制的从节点发送使能故障检测配置命令, 以使得所述 主节点控制的从节点根据所述使能故障检测配置命令, 启动对端到端虚链 路进行故障检测; 其中, 所述使能故障检测配置命令用于控制所述主节点 控制的从节点启动对端到端虚链路进行故障检测, 所述端到端虚链路是指 所述主节点控制的从节点到所述主节点之间的在网络虚拟化系统内部的虚 链路, 以及与主节点到 RSG之间的在网络虚拟化系统外部的虚链路拼接起 来形成的虚链路。
1 2、 根据权利要求 9- 1 1任意一项所述的方法, 其特征在于, 在向所述 主节点控制的从节点发送业务类型信息之后, 还包括:
所述主节点接收 RSG发送的状态信息, 所述状态信息包括 Ac t i ve 和 S t andby ;
所述主节点将所述状态信息通过与所述主节点控制的从节点之间的控 制通道发送至所述主节点控制的从节点。
1 3、 根据权利要求 9- 1 1任意一项所述的方法, 其特征在于, 在向所述 从节点发送业务类型信息之后, 还包括:
当主节点检测到与所述主节点控制的从节点对应的接口路由发生故障 时, 则将所述主节点控制的从节点在所述主节点上的虚拟远端逻辑接口的 路由优先级降低, 并获取所述主节点控制的从节点对应的另一个主节点上 的虚拟远端逻辑接口的路由优先级, 所述另一个主节点和所述主节点互为 主备关系;
当确定所述主节点控制的从节点在所述主节点上的虚拟远端逻辑接口 的路由优先级低于所述主节点控制的从节点对应的另一个主节点上的虚拟 远端逻辑接口的路由优先级时, 将 S t andby状态携带在接口路由状态信息 中, 通过与所述主节点控制的从节点之间的控制通道, 发送至所述主节点 控制的从节点。
14、 一种从节点, 其特征在于, 应用于基于控制和转发分离的网络虚 拟化系统中, 所述网络虚拟化系统包括主节点和从节点, 从节点被一对互 为主备的主节点控制, 所述一对互为主备的主节点包括一个主主节点和一 个备主节点, 所述从节点和控制所述从节点的主主节点之间设置有第一虚 链路, 所述从节点和控制所述从节点的备主节点之间设置有第二虚链路, 所述从节点包括:
接收单元, 用于通过控制所述从节点的主节点与所述从节点之间的控 制通道, 接收从控制所述从节点的主节点发来的业务类型信息, 所述业务 类型信息包括 L2VPN和 L 3VPN ;
确定单元, 用于根据所述接收单元接收的业务类型信息, 确定主虚链 路和备虚链路; 其中, 所述主虚链路为所述第一虚链路与第二虚链路中的
一条虚链路,所述主虚链路用于传输业务数据报文的虚链路,所述备虚链路 为所述第一虚链路与第二虚链路中除所述主虚链路之外的另一条虚链路; 检测单元, 用于检测所述确定单元确定的主虚链路和备虚链路是否发 生故障;
切换单元, 用于当所述检测单元检测到所述主虚链路发生故障且所述 备虚链路未发生故障时, 将业务数据报文切换到备虚链路进行传输。
1 5、 根据权利要求 14所述的从节点, 其特征在于, 所述确定单元用于 当业务类型为 L2VPN时, 将所述第一虚链路设置为主虚链路, 并将所述第 二虚链路设置为备虚链路; 还用于当业务类型为 L 2VPN时, 根据控制所述 从节点的主主节点和控制所述从节点的备主节点各自发送的状态信息, 确 定主虚链路和备虚链路;还用于当业务类型为 L 3VPN时,将所述第一虚链路 设置为主虚链路, 并将所述第二虚链路设置为备虚链路; 还用于当业务类 型为 L 3VPN时, 根据控制所述从节点的主主节点和控制所述从节点的备主 节点各自发送的接口路由状态信息, 确定主虚链路和备虚链路, 所述接口 路由状态信息为在所述主主节点或备主节点上的与所述从节点的外连接口 具有对应关系的虚拟远端逻辑接口的路由状态信息, 所述外连接口指所述 从节点与基于控制和转发分离的网络虚拟化系统外的网络设备相连接的接 口。
1 6、根据权利要求 1 5所述的从节点,其特征在于, 所述确定单元包括: 第一接收模块,用于通过所述主主节点和所述从节点之间的控制通道, 所述从节点接收所述主主节点发送的状态信息;
所述第一接收模块, 还用于通过所述备注节点和所述从节点之间的控 制通道, 所述从节点接收所述备主节点发送的状态信息;
确定模块, 当所述第一接收模块接收到从所述主主节点发送的状态信 息为 Ac t i ve激活状态时, 所述从节点将所述第一虚链路设置为主虚链路, 并在所述第一虚链路上传输业务数据报文, 并当所述第一接收模块接收到 从所述备主节点发来的状态信息为 S t andby待机状态时, 则将所述第二虚
链路设置为备虚链路; 还用于当所述第一接收模块接收到从所述主主节点 发送的状态信息为 S tandby时, 则将所述第一虚链路设置为备虚链路, 并 当所述第一接收模块接收到从所述备主节点发来的状态信息为 Ac t i ve时, 则将所述第二虚链路设置为主虚链路, 并在所述第二虚链路上传输业务数 据报文。
17、根据权利要求 15所述的从节点,其特征在于, 所述确定单元包括: 第二接收模块,用于通过所述主主节点和所述从节点之间的控制通道, 所述从节点接收所述主主节点发送的接口路由状态信息;
所述第二接收模块, 还用于通过所述备主节点和所述从节点之间的控 制通道, 所述从节点接收所述备主节点发送的接口路由状态信息;
设置模块, 用于当所述第二接收模块接收到从所述主主节点发送的接 口路由状态信息为 Ac t i ve激活状态时,所述从节点将所述第一虚链路设置 为主虚链路, 并在所述第一虚链路上传输业务数据报文, 并当所述第二接 收模块接收到从所述备主节点发来的接口路由状态信息为 S tandby待机状 态, 则将第二虚链路设置为备虚链路; 还用于当所述第二接收模块接收到 从所述主主节点发送的接口路由状态信息为 S tandby待机状态时, 将所述 第一虚链路设置为备虚链路; 并当所述第二接收模块接收到从所述备主节 点发来的接口路由状态信息为 Ac t i ve激活状态,则将所述第二虚链路设置 为主虚链路, 并在所述第二虚链路上传输业务数据报文。
18、 根据权利要求 14-17任意一项所述的从节点, 其特征在于, 所述 切换单元还用于当所述检测单元检测到所述主虚链路故障恢复正常时, 将 业务数据报文从所述备虚链路切换回所述主虚链路进行传输。
19、 根据权利要求 18所述的从节点, 其特征在于, 所述切换单元用于 在预设时间内, 所述从节点同时接收在所述主虚链路和所述备虚链路上传 输的下行业务数据报文, 并通过所述备虚链路传输上行业务数据报文, 在 所述预设时间后, 所述从节点将上行业务数据报文和下行业务数据报文都 切换到所述主虚链路上传输。
2 0、 根据权利要求 1 4- 1 9任意一项所述的从节点, 其特征在于, 所述 检测单元用于当所述接收单元接收到的业务类型信息为 L 2VPN时, 启动对 端到端虚链路进行故障检测, 所述端到端虚链路是指所述从节点到控制所 述从节点的主节点之间的在网络虚拟化系统内部的虚链路, 以及与控制所 述从节点的主节点到远程信令网关 RS G之间的在网络虚拟化系统外部的虚 链路拼接起来形成的虚链路;
则所述切换单元, 用于当所述检测单元检测到所述主虚链路发生故障 且所述备虚链路未发生故障时, 所述从节点将业务数据报文切换到所述备 虚链路进行传输包括:当检测到所述主虚链路所在的端到端虚链路发生故 障且所述备虚链路所在的端到端虚链路未发生故障时, 所述从节点将业务 数据报文切换到所述备虚链路传输;
或者, 所述检测单元用于当所述接收单元接收到的业务类型信息为 L 3VPN 时, 启动对网络虚拟化系统内部的虚链路进行故障检测, 所述网络 虚拟化系统内部的虚链路是指从节点到主节点的网络虚拟化系统内部的虚 链路;
则所述切换单元, 用于当所述检测单元检测到所述主虚链路所在的网 统内部的虚链路未发生故障时, 所述从节点将业务数据报文切换到所述备 虚链路传输。
2 1、 根据权利要求 1 4- 1 9任意一项所述的从节点, 其特征在于, 所述 检测单元用于当所述接收单元接收的业务类型信息为 L 2 VPN时, 通过与控 制所述从节点的主节点之间的控制通道接收控制所述从节点的主节点发送 的使能故障检测配置命令, 所述使能故障检测配置命令用于控制所述从节 点启动对端到端虚链路进行故障检测, 所述端到端虚链路是指从节点到控 制所述从节点的主节点之间的在网络虚拟化系统内部的虚链路, 以及与控 制所述从节点的主节点到 RSG之间的在网络虚拟化系统外部的虚链路拼接 起来形成的虚链路; 根据所述接收单元接收到的使能故障检测配置命令,
启动对端到端虚链路进行故障检测;
则所述切换单元, 用于当所述检测单元检测到所述主虚链路所在的端 到端虚链路发生故障且所述备虚链路所在的端到端虚链路未发生故障时, 所述从节点将业务数据报文切换到所述备虚链路传输。
22、 一种主节点, 其特征在于, 应用于基于控制和转发分离的网络虚 拟化系统中, 所述网络虚拟化系统包括主节点和从节点, 从节点被一对互 为主备的主节点控制, 所述一对互为主备的主节点包括一个主主节点和一 个备主节点, 所述从节点和控制所述从节点的主主节点之间设置有第一虚 链路, 所述从节点和控制所述从节点的备主节点之间设置有第二虚链路, 其中, 所述主节点包括:
第一获取单元,用于获取业务类型信息,所述业务类型信息包括 L2VPN 和 L3VPN;
发送单元, 用于通过主节点以及所述主节点控制的从节点之间的控制 通道, 向所述主节点控制的从节点发送所述第一获取单元获取到的业务类 型信息, 以使得所述主节点控制的从节点能够根据接收到的业务类型信息 确定主虚链路和备虚链路, 并对确定好的主虚链路和备虚链路进行故障检 测。
23、 根据权利要求 22所述的主节点, 其特征在于, 所述第一获取单元 包括:
建立模块, 用于所述主节点控制的从节点的外连接口建立对应的虚拟 远端逻辑接口, 所述外连接口指所述主节点控制的从节点与基于控制和转 发分离的网络虚拟化系统外的网络设备相连接的接口;
配置模块, 用于在所述建立模块建立的虚拟远端逻辑接口上配置基于 控制和转发分离的网络虚拟化系统外的业务;
获取模块, 用于获取与配置的业务相应的业务类型信息。
24、 根据权利要求 23所述的主节点, 其特征在于, 所述发送单元还用 于向所述主节点控制的从节点发送使能故障检测配置命令, 以使得所述主
节点控制的从节点根据所述使能故障检测配置命令, 启动对端到端虚链路 进行故障检测; 其中, 所述使能故障检测配置命令用于控制所述主节点控 制的从节点启动对端到端虚链路进行故障检测, 所述端到端虚链路是指从 节点到主节点之间的在网络虚拟化系统内部的虚链路,以及与主节点到 RSG 之间的在网络虚拟化系统外部的虚链路拼接起来形成的虚链路。
25、 根据权利要求 21 -24任意一项所述的主节点, 其特征在于, 还包 括:
接收单元, 用于接收 RSG发送的状态信息, 所述状态信息包括 Ac t i ve 和 S t andby ;
所述发送单元, 用于将所述接收单元接收到的状态信息通过与所述主 节点控制的从节点之间的控制通道发送至所述主节点控制的从节点。
26、 根据权利要求 21 -24任意一项所述的主节点, 其特征在于, 还包 括:
设置单元, 用于当主节点检测到与所述主节点控制的从节点对应的接 口路由发生故障时, 则将所述主节点控制的从节点在所述主节点上的虚拟 远端逻辑接口的路由优先级降低;
第二获取单元, 用于获取所述主节点控制的从节点对应的另一个主节 点上的虚拟远端逻辑接口的路由优先级, 所述另一个主节点和所述主节点 互为主备关系;
所述发送单元, 用于当确定所述主节点控制的从节点在所述主节点上 的虚拟远端逻辑接口的路由优先级低于所述主节点控制的从节点对应的另 一个主节点上的虚拟远端逻辑接口的路由优先级时, 将 S t andby状态携带 在接口路由状态信息中, 通过所述与所述主节点控制的从节点之间的控制 通道, 发送至所述主节点控制的从节点。
27、 一种网络虚拟化系统, 其特征在于, 所述网络虚拟化系统包括主 节点和从节点, 从节点被一对互为主备的主节点控制, 所述一对互为主备 的主节点包括一个主主节点和一个备主节点, 所述从节点和控制所述从节
点的主主节点之间设置有第一虚链路, 所述从节点和控制所述从节点的备 主节点之间设置有第二虚链路;
其中, 所述主节点获取业务类型信息, 所述业务类型信息包括 L 2 VPN 和 L 3VPN ; 通过主节点以及所述主节点控制的从节点之间的控制通道, 向 所述主节点控制的从节点发送业务类型信息;
所述从节点通过控制所述从节点的主节点与所述从节点之间的控制通 道, 接收从控制所述从节点的主节点发来的业务类型信息, 所述业务类型 信息包括 L 2VPN和 L 3VPN ; 根据所述业务类型信息, 确定主虚链路和备虚 链路; 其中, 所述主虚链路为所述第一虚链路与第二虚链路中的一条虚链 路,所述主虚链路用于传输业务数据报文的虚链路,所述备虚链路为所述第 一虚链路与第二虚链路中除所述主虚链路之外的另一条虚链路; 检测所述 主虚链路和所述备虚链路是否发生故障; 当检测到所述主虚链路发生故障 且所述备虚链路未发生故障时, 将业务数据报文切换到所述备虚链路进行 传输。
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2013/073973 WO2014166065A1 (zh) | 2013-04-09 | 2013-04-09 | 保护业务可靠性的方法、设备及网络虚拟化系统 |
| EP13881869.5A EP2985952B1 (en) | 2013-04-09 | 2013-04-09 | Method and device for protecting service reliability, and network virtualization system |
| CN201380000413.3A CN103534982B (zh) | 2013-04-09 | 2013-04-09 | 保护业务可靠性的方法、设备及网络虚拟化系统 |
| US14/879,845 US9853856B2 (en) | 2013-04-09 | 2015-10-09 | Method and device for protecting service reliability and network virtualization system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2013/073973 WO2014166065A1 (zh) | 2013-04-09 | 2013-04-09 | 保护业务可靠性的方法、设备及网络虚拟化系统 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/879,845 Continuation US9853856B2 (en) | 2013-04-09 | 2015-10-09 | Method and device for protecting service reliability and network virtualization system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014166065A1 true WO2014166065A1 (zh) | 2014-10-16 |
Family
ID=49935409
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2013/073973 Ceased WO2014166065A1 (zh) | 2013-04-09 | 2013-04-09 | 保护业务可靠性的方法、设备及网络虚拟化系统 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US9853856B2 (zh) |
| EP (1) | EP2985952B1 (zh) |
| CN (1) | CN103534982B (zh) |
| WO (1) | WO2014166065A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11777791B2 (en) | 2020-10-30 | 2023-10-03 | Hewlett Packard Enterprise Development Lp | Failure detection and seamless traffic switchover using a VPN system |
Families Citing this family (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103973480B (zh) * | 2014-04-09 | 2017-10-31 | 汉柏科技有限公司 | 提高云计算系统用户响应速度的装置及方法 |
| CN107171820B (zh) * | 2016-03-08 | 2019-12-31 | 北京京东尚科信息技术有限公司 | 信息传输、发送、获取方法和装置 |
| US10326689B2 (en) * | 2016-12-08 | 2019-06-18 | At&T Intellectual Property I, L.P. | Method and system for providing alternative communication paths |
| US10367654B2 (en) * | 2017-07-14 | 2019-07-30 | Fujitsu Limited | Network design method for ethernet ring protection switching |
| CN109428814B (zh) * | 2017-09-04 | 2022-12-02 | 中兴通讯股份有限公司 | 一种组播流量传输方法、相关设备和计算机可读存储介质 |
| US10721159B2 (en) * | 2018-04-25 | 2020-07-21 | Hewlett Packard Enterprise Development Lp | Rebuilt flow events |
| CN108880898B (zh) | 2018-06-29 | 2020-09-08 | 新华三技术有限公司 | 主备容器系统切换方法及装置 |
| CN109286563B (zh) * | 2018-11-06 | 2021-04-16 | 中国联合网络通信集团有限公司 | 一种数据传输的控制方法和装置 |
| CN111262665B (zh) * | 2018-11-30 | 2022-04-12 | 北京金山云网络技术有限公司 | 数据通信方法、装置、控制器及系统 |
| CN109815043B (zh) * | 2019-01-25 | 2022-04-05 | 华为云计算技术有限公司 | 故障处理方法、相关设备及计算机存储介质 |
| CN111669280B (zh) * | 2019-03-06 | 2023-05-16 | 中兴通讯股份有限公司 | 一种报文传输方法、装置及存储介质 |
| CN110502342B (zh) * | 2019-08-16 | 2023-07-18 | 中科边缘智慧信息科技(苏州)有限公司 | 一种间歇网络环境下机动边缘信息服务网络 |
| CN110515776B (zh) * | 2019-08-30 | 2023-01-31 | 南京图格医疗科技有限公司 | 一种双机备份系统及备份方法 |
| CN112887201A (zh) * | 2019-11-29 | 2021-06-01 | 北京华为数字技术有限公司 | 基于vrrp的接口更新方法、装置及存储介质 |
| CN112615777B (zh) * | 2020-12-23 | 2022-10-11 | 新华三云计算技术有限公司 | 一种链路切换方法、装置、设备及机器可读存储介质 |
| CN112783982B (zh) * | 2021-02-07 | 2021-09-10 | 腾讯科技(深圳)有限公司 | 数据处理方法、装置、系统、计算机设备和存储介质 |
| US11540345B2 (en) * | 2021-02-16 | 2022-12-27 | Sprint Communications Company Lp | Data connection recovery for electronic devices in a wireless network |
| US20230081785A1 (en) * | 2021-09-10 | 2023-03-16 | Huawei Technologies Co., Ltd. | Data sending method and apparatus, data receiving method, apparatus, and system, and medium |
| CN119603586B (zh) * | 2025-02-06 | 2025-07-22 | 新华三信息技术有限公司 | 数据传输的方法、装置、电子设备以及fttr网络系统 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1863069A (zh) * | 2005-07-28 | 2006-11-15 | 华为技术有限公司 | 实现虚拟专用局域网服务业务快速切换的方法 |
| CN102098231A (zh) * | 2011-03-18 | 2011-06-15 | 杭州华三通信技术有限公司 | 在h-vpls中实现流量快速切换的方法及设备 |
| CN102377607A (zh) * | 2010-08-06 | 2012-03-14 | 华为技术有限公司 | 用于二层虚拟专用网络的数据传输方法和装置 |
Family Cites Families (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7269132B1 (en) * | 2002-02-22 | 2007-09-11 | Nortel Networks, Ltd. | Method and apparatus for achieving transparent redundancy at a hierarchical boundary |
| KR100496984B1 (ko) * | 2002-08-21 | 2005-06-23 | 한국전자통신연구원 | 레이블 분배 프로토콜의 확장을 이용한 QoS지원 2계층가상 사설 망 양방향 터널 설정 및 구성정보 분배방법 |
| US8213439B2 (en) * | 2004-01-30 | 2012-07-03 | Hewlett-Packard Development Company, L.P. | Method and system for managing a network having an HSRP group |
| US7643409B2 (en) * | 2004-08-25 | 2010-01-05 | Cisco Technology, Inc. | Computer network with point-to-point pseudowire redundancy |
| US8175078B2 (en) * | 2005-07-11 | 2012-05-08 | Cisco Technology, Inc. | Redundant pseudowires between Ethernet access domains |
| CN100558111C (zh) * | 2007-02-05 | 2009-11-04 | 华为技术有限公司 | 城域以太网提供多业务组网下的可靠性处理方法及系统 |
| CN101277245B (zh) * | 2008-05-06 | 2012-05-23 | 华为技术有限公司 | 一种l2vpn跨域的实现方法、系统和装置 |
| KR100995906B1 (ko) * | 2008-12-22 | 2010-11-23 | 한국전자통신연구원 | Mpls l3vpn에서 포워딩 테이블 구축 방법 |
| JP5131651B2 (ja) * | 2009-11-26 | 2013-01-30 | 日本電気株式会社 | 負荷分散システム、負荷分散方法、及びプログラム |
| CN101710877B (zh) * | 2009-12-04 | 2012-02-15 | 华为技术有限公司 | 基于伪线的业务流量处理方法、设备和系统 |
| CN102469010B (zh) * | 2010-11-09 | 2015-10-07 | 华为技术有限公司 | 一种分配mpls标签的方法和网络设备 |
| WO2011144082A2 (zh) * | 2011-05-25 | 2011-11-24 | 华为技术有限公司 | 虚拟网络单元中的路由计算方法和主节点设备 |
| EP2781065B1 (en) * | 2011-11-16 | 2015-10-07 | Telefonaktiebolaget L M Ericsson (PUBL) | Technique for network routing |
| CN102651711B (zh) * | 2012-04-28 | 2016-09-28 | 华为技术有限公司 | 一种建立和使用浮动网段的方法、装置和系统 |
| US9088438B2 (en) * | 2013-01-29 | 2015-07-21 | Cisco Technology, Inc. | Using Ethernet ring protection switching with computer networks |
| US9104643B2 (en) * | 2013-03-15 | 2015-08-11 | International Business Machines Corporation | OpenFlow controller master-slave initialization protocol |
| WO2015095996A1 (en) * | 2013-12-23 | 2015-07-02 | Telefonaktiebolaget L M Ericsson(Publ) | Technique for network service availability |
-
2013
- 2013-04-09 EP EP13881869.5A patent/EP2985952B1/en active Active
- 2013-04-09 WO PCT/CN2013/073973 patent/WO2014166065A1/zh not_active Ceased
- 2013-04-09 CN CN201380000413.3A patent/CN103534982B/zh active Active
-
2015
- 2015-10-09 US US14/879,845 patent/US9853856B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1863069A (zh) * | 2005-07-28 | 2006-11-15 | 华为技术有限公司 | 实现虚拟专用局域网服务业务快速切换的方法 |
| CN102377607A (zh) * | 2010-08-06 | 2012-03-14 | 华为技术有限公司 | 用于二层虚拟专用网络的数据传输方法和装置 |
| CN102098231A (zh) * | 2011-03-18 | 2011-06-15 | 杭州华三通信技术有限公司 | 在h-vpls中实现流量快速切换的方法及设备 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP2985952A4 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11777791B2 (en) | 2020-10-30 | 2023-10-03 | Hewlett Packard Enterprise Development Lp | Failure detection and seamless traffic switchover using a VPN system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103534982A (zh) | 2014-01-22 |
| CN103534982B (zh) | 2016-07-06 |
| EP2985952A4 (en) | 2016-03-30 |
| US9853856B2 (en) | 2017-12-26 |
| EP2985952A1 (en) | 2016-02-17 |
| EP2985952B1 (en) | 2018-09-26 |
| US20160036625A1 (en) | 2016-02-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2014166065A1 (zh) | 保护业务可靠性的方法、设备及网络虚拟化系统 | |
| CN111095869B (zh) | 对计算机网络的高可用性增强的方法和系统 | |
| CN100527716C (zh) | 主备网关设备状态切换后业务恢复的方法及网关设备 | |
| JP4729119B2 (ja) | ラベルスイッチングネットワークにおける通信装置 | |
| CN101257405B (zh) | 主从设备间双链路的实现方法 | |
| CN102142948A (zh) | 一种数据转发方法、装置及系统 | |
| CN101577719B (zh) | 一种双机热备方法、装置和系统 | |
| WO2008077300A1 (en) | A method and system for negotiating the bidirectional forwarding detection session discriminator of pesudo wire | |
| WO2009056034A1 (en) | Method, system and equipment to establish bfd detection for lsp tunnel | |
| CN105024836B (zh) | 一种主用业务路由器sr和备用sr的切换方法、装置及sr | |
| CN102984014A (zh) | 数据发送方法及网络系统 | |
| CN103490951A (zh) | 基于bfd的多跳链路中双向转发检测方法 | |
| WO2018113294A1 (zh) | 一种转发报文的方法、设备及系统 | |
| CN108023800A (zh) | 一种lte承载网络的保护方法及装置 | |
| CN103457817B (zh) | 一种pw+l3vpn的保护方法和系统 | |
| CN108668308A (zh) | 一种lte ptn传送网及其静态路由保护方法 | |
| CN102088400A (zh) | 虚拟专用网络中运营商边界设备及切换方法 | |
| WO2016034127A1 (zh) | 一种实现双节点互联伪线的系统及方法 | |
| CN104125079B (zh) | 一种确定双机热备份配置信息的方法及装置 | |
| WO2011113395A2 (zh) | 一种负载分担方法和装置 | |
| WO2014101125A1 (zh) | 聚合组链路协商方法、装置和系统 | |
| CN101453744A (zh) | 业务控制方法及装置 | |
| WO2014044088A1 (zh) | L2tp网络的保护方法、装置及系统 | |
| CN102891798B (zh) | 心跳报文传输方法及装置 | |
| CN105207792A (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: 13881869 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2013881869 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |