CN104602285B - A kind of disaster recovery method and equipment - Google Patents

A kind of disaster recovery method and equipment Download PDF

Info

Publication number
CN104602285B
CN104602285B CN201410854538.9A CN201410854538A CN104602285B CN 104602285 B CN104602285 B CN 104602285B CN 201410854538 A CN201410854538 A CN 201410854538A CN 104602285 B CN104602285 B CN 104602285B
Authority
CN
China
Prior art keywords
active
network
inactive
standby
network device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410854538.9A
Other languages
Chinese (zh)
Other versions
CN104602285A (en
Inventor
张耀坤
孙春霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410854538.9A priority Critical patent/CN104602285B/en
Publication of CN104602285A publication Critical patent/CN104602285A/en
Application granted granted Critical
Publication of CN104602285B publication Critical patent/CN104602285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides disaster recovery method and equipment, first network equipment monitorings to the second network equipment failure;The first network equipment searches the spare PW group corresponding with primary virtual link PW group from preset configuration information, the state of the second primary PW in the spare PW group is switched to active-active by inactive-active by the first network equipment, and the state of the described second spare PW is switched to active-inactive by inactive-inactive;Spare PW group described in the first network equipment utilization by received business datum be sent to the network relay device being connected with the third network equipment, when the second network equipment failure, the received business datum of institute is sent the third network equipment by the spare PW group of first network equipment utilization, stand-by equipment of the third network equipment as second network equipment realizes the responsible business datum normal transmission of second network equipment.

Description

Disaster recovery method and equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus.
Background
In a low-speed card Service data transmission system of an IP Radio Access Network (IP ran), one end of a Base station side Gateway (CSG) is connected to a Base station, and the other end of the CSG is dually connected to two RSGs (Radio Service gateways, RSGs), and the two RSGs are connected to the same Base Station Controller (BSC) or Radio Network Controller (RNC).
The CSG is respectively deployed to virtual links (PW) of two RSGs, wherein one of the PW is a main PW and the other one is a standby PW, an Inter-frame Backup PW (ICB PW) is deployed between two RSG devices, and when the main PW fails, the Inter-frame Backup PW is switched to the standby PW. And the base station receives the service data sent by the terminal and sends the service data to the CSG. And the CSG sends the service data to the RSG on the currently available PW, and the RSG on the currently available PW forwards the service data to the BSC or the RNC connected with the RSG. And after receiving the service data, the BSC or the RNC distributes the service data to a transmission network of the service data according to types.
However, when the BSC or RNC connected to the RSG fails, the service data received by the base station under the BSC or RNC cannot be distributed to the transport network, and the service data cannot be normally transmitted, so that the service responsible by the BSC or RNC is completely interrupted.
Disclosure of Invention
The embodiment of the invention provides a disaster recovery method and equipment, when a second network equipment fails, a standby PW group is used for sending received service data to a third network equipment, and the third network equipment is used as standby equipment of the second network equipment, so that the service data responsible by the second network equipment can be normally transmitted.
Therefore, the technical scheme for solving the technical problem is as follows:
a first aspect of an embodiment of the present invention provides a disaster recovery method, where the method includes:
the first network equipment monitors the failure of the second network equipment;
the first network device searches a standby PW group corresponding to a primary virtual link PW group from preset configuration information, wherein the primary PW group comprises a first primary PW and a first standby PW, the first primary PW is a PW from the first network device to a primary network transfer device connected with the second network device, and the first standby PW is a PW from the first network device to a standby network transfer device connected with the second network device; the standby PW group comprises a second active PW and a second standby PW, the second active PW is a PW from the first network device to an active network transfer device connected with the third network device, and the second standby PW is a PW from the first network device to a standby network transfer device connected with the third network device; the third network device is a standby device of the second network device;
the first network equipment switches the state of a first active PW in the active PW group from active-active to inactive-inactive and switches the state of the first standby PW from active-inactive to inactive-inactive; switching the state of a second active PW in the standby PW group from inactive-active to active-active, and switching the state of the second standby PW from inactive-inactive to active-inactive;
and the first network equipment transmits the received service data to the network transfer equipment connected with the third network equipment by using the standby PW group.
In a first possible implementation manner of the first aspect of the embodiments of the present invention, the monitoring, by the first network device, a failure of the second network device includes:
and the first network equipment monitors a first Bidirectional Forwarding Detection (BFD) fault of the first active PW, and the first network equipment monitors a second BFD fault of the first standby PW.
In a second possible implementation manner of the first aspect of the embodiments of the present invention, before the first network device monitors that the second network device fails, the method further includes:
when the second network equipment works normally, the first network equipment monitors that the second active PW has a fault;
and the first network equipment switches the state of the second standby PW from inactive-inactive to inactive-active.
In a third possible implementation manner of the first aspect of the embodiment of the present invention, the method further includes:
the first network equipment inquires whether the state of a first active PW in the active PW group is inactive-active;
when the first network equipment inquires that the state of a first active PW in the active PW group is inactive-active, the first network equipment starts time delay switching timing;
when the time delay switching timing reaches a preset time interval, the first network equipment switches the state of a first active PW in the active PW group from inactive-active to active-active, and switches the state of the first standby PW from inactive-inactive to active-inactive; switching the state of a second active PW in the standby PW group from active-active to inactive-active, and switching the state of the second standby PW from active-inactive to inactive-inactive;
and the first network equipment transmits the received service data to the network transfer equipment connected with the second network equipment by using the active PW group.
In a fourth possible implementation manner of the first aspect of the present invention, before the first network device monitors that the second network device fails, the method further includes:
when the second network device works normally, the first network device monitors a first path fault for transmitting the received service data, where the first path fault includes any one of a connection fault between the network transit device on the first active PW and the second network device, a failure of the first active PW, and a failure of the network transit device on the first active PW;
the first network device searches a first standby PW corresponding to the first active PW from the preset configuration information;
the first network switches the state of the first standby PW from active-inactive to active-active;
and the first network equipment transmits the received service data to the standby network transfer equipment connected with the second network equipment by using the first standby PW.
With reference to the first aspect of the embodiment of the present invention to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner,
the first network equipment is a base station side gateway CSG;
the network transfer equipment is a wireless service gateway RSG;
said second network device and said third network device are base station controllers BSC,
or,
the second network device and the third network device are radio network controllers, RNCs;
the second network device and the third network device are configured with the same IP address.
With reference to the first aspect of the embodiment of the present invention to the fourth possible implementation manner of the first aspect, in a sixth possible implementation manner,
the first network equipment is backbone network edge equipment UPE;
the network transit equipment is label switching forwarding equipment (NPE);
the second network device and the third network device are broadband network service gateways, BNGs.
A second aspect of an embodiment of the present invention provides a first network device, where the first network device includes:
the first monitoring unit is used for monitoring the fault of the second network equipment;
a searching unit, configured to search, from preset configuration information, a standby PW group corresponding to a primary virtual link PW group, where the primary PW group includes a first primary PW and a first standby PW, where the first primary PW is a PW from the first network device to a primary network forwarding device connected to the second network device, and the first standby PW is a PW from the first network device to a standby network forwarding device connected to the second network device; the standby PW group comprises a second active PW and a second standby PW, the second active PW is a PW from the first network device to an active network transfer device connected with the third network device, and the second standby PW is a PW from the first network device to a standby network transfer device connected with the third network device; the third network device is a standby device of the second network device;
a first switching unit, configured to switch a state of a first active PW in the active PW group from active-active to inactive-inactive, and switch a state of the first standby PW from active-inactive to inactive-inactive; switching the state of a second active PW in the standby PW group from inactive-active to active-active, and switching the state of the second standby PW from inactive-inactive to active-inactive;
and a first sending unit, configured to send the received service data to the network transit device connected to the third network device by using the standby PW group.
In a first possible implementation of the second aspect of the embodiment of the present invention,
the first monitoring unit is specifically configured to monitor a first Bidirectional Forwarding Detection (BFD) failure of the first active PW and monitor a second BFD failure of the first standby PW.
In a second possible implementation manner of the second aspect of the embodiment of the present invention, the apparatus further includes:
the second monitoring unit is used for monitoring the fault of the second main PW;
and the second switching unit is used for switching the state of the second standby PW from inactive-inactive to inactive-active.
In a third possible implementation manner of the second aspect of the embodiment of the present invention, the apparatus further includes:
the inquiry unit is used for inquiring whether the state of a first active PW in the active PW group is inactive-active;
a timing unit, configured to start, by the first network device, delayed switchback timing when it is found that a state of a first active PW in the active PW group is inactive-active;
the third switching unit is used for switching the state of a first active PW in the active PW group from inactive-active to active-active and switching the state of the first standby PW from inactive-inactive to active-inactive when the delay back-switching timer reaches a preset time interval; switching the state of a second active PW in the standby PW group from active-active to inactive-active, and switching the state of the second standby PW from active-inactive to inactive-inactive;
and a second sending unit, configured to send the received service data to a network transit device connected to the second network device by using the active PW group.
In a fourth possible implementation manner of the second aspect of the embodiment of the present invention, the apparatus further includes:
a third monitoring unit, configured to monitor a first path fault for transmitting the received service data when the second network device operates normally, where the first path fault includes a connection fault between the network transit device on the first active PW and the second network device, and any one of the first active PW fault and the network transit device fault on the first active PW;
a searching unit, configured to search, from the preset configuration information, a first standby PW corresponding to the first active PW;
a fourth switching unit, configured to switch the state of the first standby PW from active-inactive to active-active;
a third sending unit, configured to send the received service data to a standby network transit device connected to the second network device by using the first standby PW.
With reference to the four possible implementation manners of the second aspect to the second aspect of the embodiment of the present invention, in a fifth possible implementation manner,
the first network equipment is a base station side gateway CSG;
the network transfer equipment is a wireless service gateway RSG;
said second network device and said third network device are base station controllers BSC,
or,
the second network device and the third network device are radio network controllers, RNCs;
the second network device and the third network device are configured with the same IP address.
With reference to the four possible implementation manners of the second aspect to the second aspect of the embodiment of the present invention, in a sixth possible implementation manner,
the first network equipment is backbone network edge equipment UPE;
the network transit equipment is label switching forwarding equipment (NPE);
the second network device and the third network device are broadband network service gateways, BNGs. According to the technical scheme, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a disaster recovery method and disaster recovery equipment, wherein first network equipment monitors a second network equipment fault; the first network equipment searches a standby PW group corresponding to the active virtual link PW group from preset configuration information, switches the state of a second active PW in the standby PW group from inactive-active to active-active, and switches the state of the second standby PW from inactive-inactive to active-inactive; the first network device sends the received service data to a network transfer device connected with the third network device by using the standby PW group, when the second network device fails, the first network device sends the received service data to the third network device by using the standby PW group, and the third network device is used as the standby device of the second network device to realize the normal transmission of the service data responsible for the second network device.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a network system implementing a disaster recovery method according to an embodiment of the present invention;
fig. 2 is a flowchart of a disaster recovery method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a network application scenario structure of a disaster recovery method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a network application scenario structure of a disaster recovery method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a network application scenario structure of a disaster recovery method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a first network device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of a first network device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly below with reference to the accompanying drawings in the embodiments of the present invention.
Fig. 1 is a schematic diagram of a network system structure for implementing a disaster recovery method according to an embodiment of the present invention, where a first network device 101 is respectively deployed to virtual links (Pseudo wires, PWs) of four network transit devices. The PW between the first network device 101 and the first active network forwarding device 102 is a first active PW, the PW between the first network device 101 and the first standby network forwarding device 103 is a first standby PW, the first active PW and the first standby PW belong to an active PW group, and the first active network forwarding device 102 and the first standby network forwarding device 103 are connected to the second network device 104.
The PW between the first network device 101 and the second active network forwarding device 105 is a second active PW, the PW between the first network device 101 and the second standby network forwarding device 106 is a second standby PW, the second active PW and the second standby PW belong to a standby PW group, and the second active network forwarding device 105 and the second standby network forwarding device 106 are connected to the third network device 107. The third network device is a standby device for the second network device.
When the second network device works normally, in the active PW group, the state of the first active PW is active-active, and the state of the first standby PW is active-inactive; in the standby PW group, the second active PW is inactive-active, and the second standby PW is inactive-inactive.
Fig. 2 is a flowchart of a disaster recovery method according to an embodiment of the present invention, where the method includes:
step 201: the first network device monitors that the second network device fails.
The first network device monitors that there are multiple possible implementation manners for the second network device to fail, one of the specific implementation manners is provided in the embodiment of the present invention, and other implementation manners are not described again, including:
and the first network equipment monitors a first Bidirectional Forwarding Detection (BFD) fault of the first active PW, and the first network equipment monitors a second BFD fault of the first standby PW.
The first network device 101 is respectively deployed to Bidirectional Forwarding Detection (BFD) virtual links of four network transfer devices. The first BFD from the first network device 101 to the first active PW of the first active network transit device 102 monitors a link between the first active network transit device 102 and the second network device 104. A second BFD of the first standby PW from the first network device 101 to the first standby network transit device 103 monitors a link between the first standby network transit device 103 and the second network device 104.
A third BFD from the first network device 101 to the second active PW of the second active network transit device 105 monitors a link between the second active network transit device 105 and the third network device 107. A fourth BFD of the second standby PW from the first network device 101 to the second standby network transit device 106 monitors a link between the second standby network transit device 106 and the third network device 107.
When the second network device 104 fails, the first BFD monitors that the second network device 104 does not send data packets to the first active network transfer device 102 any more, and the second BFD simultaneously monitors that the second network device 104 does not send data packets to the first standby network transfer device 103 any more, the first active network transfer device 102 does not send data packets to the first network device 101 through the first BFD any more, and the first standby network transfer device 103 does not send data packets to the first network device 101 through the second BFD any more. The first BFD appearing to be the first active PW and the second BFD appearing to be the first standby PW fail simultaneously. Thus, when the first BFD and the second BFD are monitored to fail simultaneously, it is indicative of the second network device 104 failing.
Step 202: and the first network equipment searches a standby PW group corresponding to the active virtual link PW group from preset configuration information.
The active PW group comprises a first active PW and a first standby PW, the first active PW is a PW from the first network device to a primary line service gateway network transfer device connected with the second network device, and the first standby PW is a PW from the first network device to a standby network transfer device connected with the second network device; the standby PW group comprises a second active PW and a second standby PW, the second active PW is a PW from the first network device to an active network transfer device connected with the third network device, and the second standby PW is a PW from the first network device to a standby network transfer device connected with the third network device; the third network device is a standby device of the second network device.
Step 203: the first network equipment switches the state of a first active PW in the active PW group from active-active to inactive-inactive and switches the state of the first standby PW from active-inactive to inactive-inactive; and switching the state of a second active PW in the standby PW group from inactive-active to active-active, and switching the state of the second standby PW from inactive-inactive to active-inactive.
The preset configuration information of the first network device 101 stores a standby PW group corresponding to the active PW group. When the second network device 104 fails, the data packet sent by the first network device 101 to the second network device 104 cannot be forwarded, and in order to avoid service interruption, the first network device 101 needs to forward the data packet to a standby device of the second network device 104 by using the standby PW group, so as to implement normal transmission of service data for which the second network device 104 is responsible.
When the second network device 104 fails, the state of the first active PW in the active PW group is switched from active-active to inactive-inactive, and the state of the first standby PW is switched from active-inactive to inactive-inactive, at this time, the active PW group is in an inactive state. At the same time, the second network device 104 activates the standby PW group. And switching the state of a second active PW in the standby PW group from inactive-active to active-active, and switching the state of the second standby PW from inactive-inactive to active-inactive. At this time, the standby PW group is active.
Step 204: and the first network equipment transmits the received service data to the network transfer equipment connected with the third network equipment by using the standby PW group.
The first network device 101 sends the received service data to the second active network forwarding device 105 through the second active PW, the second active network forwarding device 105 forwards the received service data to the third network device 107, and the third network device 107 forwards the received service data, so as to ensure normal transmission of the service data.
In an embodiment provided by the present invention, before the first network device monitors that the second network device fails, the method further includes:
when the second network equipment works normally, the first network equipment monitors that the second active PW has a fault;
and the first network equipment switches the state of the second standby PW from inactive-inactive to inactive-active.
When the second network device 104 works normally, the second active PW has a failure, the first network device 101 changes the state of the second standby PW, and switches the inactive-inactive second standby PW to the inactive-active PW, so that service data is not forwarded to the standby PW group.
In another embodiment provided by the present invention, the method further comprises:
the first network equipment inquires whether the state of a first active PW in the active PW group is inactive-active;
when the first network equipment inquires that the state of a first active PW in the active PW group is inactive-active, the first network equipment starts time delay switching timing;
when the time delay switching timing reaches a preset time interval, the first network equipment switches the state of a first active PW in the active PW group from inactive-active to active-active, and switches the state of the first standby PW from inactive-inactive to active-inactive; switching the state of a second active PW in the standby PW group from active-active to inactive-active, and switching the state of the second standby PW from active-inactive to inactive-inactive;
and the first network equipment transmits the received service data to the network transfer equipment connected with the second network equipment by using the active PW group.
When the second network device 104 recovers from the failure, the active PWs from the first network device 101 to the two network transit devices connected to the second network device are recovered, that is, the first active PW from the first network device 101 to the first active network transit device 102 is recovered, and the first standby PW from the first network device 101 to the first standby network transit device 103 is recovered. At this time, the state of the first active PW is inactive-active.
When the first network device 101 queries that the state of the first active PW in the active PW group is inactive-active, which indicates that the second network device 104 has recovered from the failure, the first network device starts a delay back-off timer. And when the time delay back-switching timing reaches a preset time interval, the first network equipment starts back-switching and switches the service data from the standby PW group to the active PW group. That is, the state of the first active PW in the active PW group is switched from inactive-active to active-active, and the state of the first standby PW is switched from inactive-inactive to active-inactive, at this time, the active PW group is in an active state. And switching the state of a second active PW in the standby PW group from active-active to inactive-active, and switching the state of the second standby PW from active-inactive to inactive-inactive, wherein the standby PW group is in an inactive state.
After the active PW group is activated, the first network device 101 sends the received service data to the network forwarding device connected to the second network device 104 by using the active PW group, where the first network device 101 sends the service data to the first active network forwarding device through a first active PW in the active PW group, and the first active network forwarding device forwards the received service data to the second network device 104.
In another embodiment provided by the embodiments of the present invention, the method further includes:
when the second network device works normally, the first network device monitors a first path fault for transmitting the received service data, where the first path fault includes any one of a connection fault between the network transit device on the first active PW and the second network device, a failure of the first active PW, and a failure of the network transit device on the first active PW;
the first network device searches a first standby PW corresponding to the first active PW from the preset configuration information;
the first network switches the state of the first standby PW from active-inactive to active-active;
and the first network equipment transmits the received service data to the standby network transfer equipment connected with the second network equipment by using the first standby PW.
The first standby PW in the active PW group is a redundancy of the first active PW. When the second network device 104 works normally, the first network device 101 transmits service data to the second network device 104 through the active PW group. When the first active PW is normal, the first network device 101 forwards the service data to the second network device 104 through the first active PW; when the first active PW fails, the first network device 101 forwards service data to the second network device 104 through the first standby PW. Wherein the first active PW failure includes: the first active PW is interrupted or the first active network transfer equipment fails.
It should be noted that, when the first network device 101 sends the received service data to the network transit device connected to the third network device by using the standby PW group, the first network device 101 transmits the service data to the third network device 107 through the standby PW group. When the second active PW is normal, the first network device 101 forwards the service data to the third network device 107 through the second active PW; when the second active PW fails, the first network device 101 forwards service data to the third network device 107 through the second standby PW. Wherein the second active PW failure includes: the second active PW is interrupted or the second active network transfer equipment fails.
It should be noted that the first active network transit device, the first standby network transit device, the second active network transit device, and the second standby network transit device may be a wireless service gateway (RSG) or a label switching forwarding device (NPE). The network transit device may be a network device such as a router switch.
The disaster recovery method provided by the embodiment of the invention can be applied to a plurality of network scenes, wherein three possible network application scenes are given below, and the application in other network scenes is similar to the situation, and is not repeated here.
First, fig. 3 is a schematic view of a network application scenario structure of a disaster recovery method according to an embodiment of the present invention, where the scenario structure includes:
the first network equipment is a base station side gateway CSG;
the network transfer equipment is a wireless service gateway RSG;
the second network device and the third network device are base station controllers, BSCs;
the second network device and the third network device are configured with the same IP address.
CSG is dually returned to a first main RSG and a first standby RSG, and redundancy-Enhanced Automatic Protection Switching (E-APS) in the main PW group is deployed; the CSG is dually homed to a second main RSG and a second standby RSG, and redundancy-Enhanced automatic protection Switching (E-APS) in the standby PW group is deployed.
In a second scenario, fig. 4 is a schematic diagram of a network application scenario structure of a disaster recovery method according to an embodiment of the present invention, where the schematic diagram includes:
the first network equipment is a base station side gateway CSG;
the network transfer equipment is a wireless service gateway RSG;
the second network device and the third network device are radio network controllers, RNCs;
the second network device and the third network device are configured with the same IP address.
CSG is dually returned to a first main RSG and a first standby RSG, and redundancy-Enhanced Automatic Protection Switching (E-APS) in the main PW group is deployed; the CSG is dually homed to a second main RSG and a second standby RSG, and redundancy-Enhanced automatic protection Switching (E-APS) in the standby PW group is deployed.
Fig. 5 is a schematic diagram of a network application scenario structure of the disaster recovery method according to the embodiment of the present invention, where the scenario structure includes:
the first network equipment is backbone network edge equipment UPE;
the network transit equipment is label switching forwarding equipment (NPE);
the second network device and the third network device are broadband network service gateways, BNGs.
The UPE is dually returned to a first main NPE and a first standby NPE, and redundant Enhanced Trunk (Enhanced-Trunk) in the main PW group is deployed; and the UPE is dually returned to the second main NPE and the second standby NPE, and a redundant Enhanced Trunk (Enhanced-Trunk) in the standby PW group is deployed. And performing real-time hot standby between the second network equipment and the third network equipment.
Fig. 6 is a schematic structural diagram of a first network device according to an embodiment of the present invention, where the device includes:
the first monitoring unit 601 is configured to monitor that the second network device fails.
A searching unit 602, configured to search, from preset configuration information, a standby PW group corresponding to an active virtual link PW group, where the active PW group includes a first active PW and a first standby PW, where the first active PW is a PW from the first network device to an active line service gateway network transfer device connected to the second network device, and the first standby PW is a PW from the first network device to a standby network transfer device connected to the second network device; the standby PW group comprises a second active PW and a second standby PW, the second active PW is a PW from the first network device to an active network transfer device connected with the third network device, and the second standby PW is a PW from the first network device to a standby network transfer device connected with the third network device; the third network device is a standby device of the second network device.
A first switching unit 603, configured to switch a state of a first active PW in the active PW group from active-active to inactive-inactive, and switch a state of the first standby PW from active-inactive to inactive-inactive; and switching the state of a second active PW in the standby PW group from inactive-active to active-active, and switching the state of the second standby PW from inactive-inactive to active-inactive.
A first sending unit 604, configured to send the received service data to a network transit device connected to the third network device by using the standby PW group.
In an embodiment provided in the present invention, the first monitoring unit is specifically configured to monitor a first bidirectional forwarding detection BFD failure of the first active PW, and monitor a second BFD failure of the first standby PW.
In another embodiment provided in the embodiments of the present invention, the apparatus further includes:
the second monitoring unit is used for monitoring the fault of the second main PW;
and the second switching unit is used for switching the state of the second standby PW from inactive-inactive to inactive-active.
In another embodiment provided by the embodiments of the present invention, the apparatus further includes:
the inquiry unit is used for inquiring whether the state of a first active PW in the active PW group is inactive-active;
a timing unit, configured to start, by the first network device, delayed switchback timing when it is found that a state of a first active PW in the active PW group is inactive-active;
the third switching unit is used for switching the state of a first active PW in the active PW group from inactive-active to active-active and switching the state of the first standby PW from inactive-inactive to active-inactive when the delay back-switching timer reaches a preset time interval; switching the state of a second active PW in the standby PW group from active-active to inactive-active, and switching the state of the second standby PW from active-inactive to inactive-inactive;
and a second sending unit, configured to send the received service data to a network transit device connected to the second network device by using the active PW group.
In another embodiment provided by the embodiments of the present invention, the apparatus further includes:
a third monitoring unit, configured to monitor a first path fault for transmitting the received service data when the second network device operates normally, where the first path fault includes a connection fault between the network transit device on the first active PW and the second network device, and any one of the first active PW fault and the network transit device fault on the first active PW;
a searching unit, configured to search, from the preset configuration information, a first standby PW corresponding to the first active PW;
a fourth switching unit, configured to switch the state of the first standby PW from active-inactive to active-active;
a third sending unit, configured to send the received service data to a standby network transit device connected to the second network device by using the first standby PW.
In one application scenario provided by an embodiment of the present invention,
the first network equipment is a base station side gateway CSG;
the network transfer equipment is a wireless service gateway RSG;
said second network device and said third network device are base station controllers BSC,
or,
the second network device and the third network device are radio network controllers, RNCs;
the second network device and the third network device are configured with the same IP address.
In another application scenario provided by an embodiment of the present invention,
the first network equipment is backbone network edge equipment UPE;
the network transit equipment is label switching forwarding equipment (NPE);
the second network device and the third network device are broadband network service gateways, BNGs.
The first network device shown in fig. 6 is a device corresponding to the disaster recovery method shown in fig. 2, and the specific implementation manner refers to the description in the disaster recovery method shown in fig. 2, and is not described herein again.
Fig. 7 is a schematic diagram of a hardware structure of a first network device according to an embodiment of the present invention, where the device includes:
a processor 701, and a transmitter 702 coupled to the processor 701;
the processor 701 is configured to monitor that a second network device fails; searching a standby PW group corresponding to a primary virtual link PW group from preset configuration information, wherein the primary PW group comprises a first primary PW and a first standby PW, the first primary PW is a PW from the first network equipment to primary line service gateway network transfer equipment connected with the second network equipment, and the first standby PW is a PW from the first network equipment to standby network transfer equipment connected with the second network equipment; the standby PW group comprises a second active PW and a second standby PW, the second active PW is a PW from the first network device to an active network transfer device connected with the third network device, and the second standby PW is a PW from the first network device to a standby network transfer device connected with the third network device; the third network device is a standby device of the second network device; switching the state of a first active PW in the active PW group from active-active to inactive-inactive, and switching the state of the first standby PW from active-inactive to inactive-inactive; and switching the state of a second active PW in the standby PW group from inactive-active to active-active, and switching the state of the second standby PW from inactive-inactive to active-inactive.
The transmitter 702 is configured to transmit the received service data to the network transit device connected to the third network device by using the standby PW group.
In an embodiment provided in the present invention, the processor 701, configured to monitor that the second network device fails, includes:
monitoring a first Bidirectional Forwarding Detection (BFD) failure of the first active PW and monitoring a second BFD failure of the first standby PW.
In another embodiment provided in the present invention, the processor 701 is further configured to monitor that the second active PW has a failure; and switching the state of the second standby PW from inactive-inactive to inactive-active.
In another embodiment provided in the present invention, the processor 701 is further configured to query whether a state of a first active PW in the active PW group is inactive-active; when the state of a first active PW in the active PW group is found to be inactive-active, the first network equipment starts time delay switching timing; when the time delay switching time reaches a preset time interval, switching the state of a first active PW in the active PW group from inactive-active to active-active, and switching the state of the first standby PW from inactive-inactive to active-inactive; switching the state of a second active PW in the standby PW group from active-active to inactive-active, and switching the state of the second standby PW from active-inactive to inactive-inactive;
the transmitter 702 is further configured to transmit the received service data to the network transit device connected to the second network device by using the active PW group.
In another embodiment provided in the embodiment of the present invention, the processor 701 is further configured to monitor a first path failure for transmitting the received service data when the second network device operates normally, where the first path failure includes any one of a connection failure between the network relay device on the first active PW and the second network device, a failure of the first active PW, and a failure of the network relay device on the first active PW; searching a first standby PW corresponding to the first main PW from the preset configuration information; switching the state of the first standby PW from active-inactive to active-active;
the transmitter 702 is further configured to transmit the received service data to a standby network transit device connected to the second network device by using the first standby PW.
In a first application scenario provided by an embodiment of the present invention,
the first network equipment is a base station side gateway CSG;
the network transfer equipment is a wireless service gateway RSG;
said second network device and said third network device are base station controllers BSC,
or,
the second network device and the third network device are radio network controllers, RNCs;
the second network device and the third network device are configured with the same IP address.
In another application scenario provided by an embodiment of the present invention,
the first network equipment is backbone network edge equipment UPE;
the network transit equipment is label switching forwarding equipment (NPE);
the second network device and the third network device are broadband network service gateways, BNGs.
It should be noted that, in the embodiment of the present invention, the processor may be a Central Processing Unit (CPU), the Memory may be an internal Memory of a Random Access Memory (RAM), and the processor and the Memory may be integrated into one or more independent circuits or hardware, such as: application Specific Integrated Circuit (ASIC).
The foregoing is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be construed as the protection scope of the present invention.

Claims (14)

1. A disaster recovery method, comprising:
the first network equipment monitors the failure of the second network equipment;
the first network device searches a standby PW group corresponding to a primary virtual link PW group from preset configuration information, wherein the primary PW group comprises a first primary PW and a first standby PW, the first primary PW is a PW from the first network device to a primary network transfer device connected with the second network device, and the first standby PW is a PW from the first network device to a standby network transfer device connected with the second network device; the standby PW group comprises a second active PW and a second standby PW, the second active PW is a PW from the first network device to an active network transfer device connected with a third network device, and the second standby PW is a PW from the first network device to a standby network transfer device connected with the third network device; the third network device is a standby device of the second network device;
the first network equipment switches the state of a first active PW in the active PW group from active-active to inactive-inactive and switches the state of the first standby PW from active-inactive to inactive-inactive; switching the state of a second active PW in the standby PW group from inactive-active to active-active, and switching the state of the second standby PW from inactive-inactive to active-inactive;
and the first network equipment transmits the received service data to the network transfer equipment connected with the third network equipment by using the standby PW group.
2. The method of claim 1, wherein the first network device monitoring for a second network device failure comprises:
and the first network equipment monitors a first Bidirectional Forwarding Detection (BFD) fault of the first active PW, and the first network equipment monitors a second BFD fault of the first standby PW.
3. The method of claim 1, wherein before the first network device monitors for the failure of the second network device, the method further comprises:
when the second network equipment works normally, the first network equipment monitors that the second active PW has a fault;
and the first network equipment switches the state of the second standby PW from inactive-inactive to inactive-active.
4. The method of claim 1, further comprising:
the first network equipment inquires whether the state of a first active PW in the active PW group is inactive-active;
when the first network equipment inquires that the state of a first active PW in the active PW group is inactive-active, the first network equipment starts time delay switching timing;
when the time delay switching timing reaches a preset time interval, the first network equipment switches the state of a first active PW in the active PW group from inactive-active to active-active, and switches the state of the first standby PW from inactive-inactive to active-inactive; switching the state of a second active PW in the standby PW group from active-active to inactive-active, and switching the state of the second standby PW from active-inactive to inactive-inactive;
and the first network equipment transmits the received service data to the network transfer equipment connected with the second network equipment by using the active PW group.
5. The method of claim 1, wherein before the first network device monitors for the failure of the second network device, the method further comprises:
when the second network device works normally, the first network device monitors a first path fault for transmitting the received service data, where the first path fault includes any one of a connection fault between the network transit device on the first active PW and the second network device, a failure of the first active PW, and a failure of the network transit device on the first active PW;
the first network device searches a first standby PW corresponding to the first active PW from the preset configuration information;
the first network switches the state of the first standby PW from active-inactive to active-active;
and the first network equipment transmits the received service data to the standby network transfer equipment connected with the second network equipment by using the first standby PW.
6. The method according to any one of claims 1 to 5,
the first network equipment is a base station side gateway CSG;
the network transfer equipment is a wireless service gateway RSG;
said second network device and said third network device are base station controllers BSC,
or,
the second network device and the third network device are radio network controllers, RNCs;
the second network device and the third network device are configured with the same IP address.
7. The method according to any one of claims 1 to 5,
the first network equipment is backbone network edge equipment UPE;
the network transit equipment is label switching forwarding equipment (NPE);
the second network device and the third network device are broadband network service gateways, BNGs.
8. A first network device, wherein the first network device comprises:
the first monitoring unit is used for monitoring the fault of the second network equipment;
a searching unit, configured to search, from preset configuration information, a standby PW group corresponding to a primary virtual link PW group, where the primary PW group includes a first primary PW and a first standby PW, where the first primary PW is a PW from the first network device to a primary network forwarding device connected to the second network device, and the first standby PW is a PW from the first network device to a standby network forwarding device connected to the second network device; the standby PW group comprises a second active PW and a second standby PW, the second active PW is a PW from the first network device to an active network transfer device connected with a third network device, and the second standby PW is a PW from the first network device to a standby network transfer device connected with the third network device; the third network device is a standby device of the second network device;
a first switching unit, configured to switch a state of a first active PW in the active PW group from active-active to inactive-inactive, and switch a state of the first standby PW from active-inactive to inactive-inactive; switching the state of a second active PW in the standby PW group from inactive-active to active-active, and switching the state of the second standby PW from inactive-inactive to active-inactive;
and a first sending unit, configured to send the received service data to the network transit device connected to the third network device by using the standby PW group.
9. The apparatus of claim 8,
the first monitoring unit is specifically configured to monitor a first Bidirectional Forwarding Detection (BFD) failure of the first active PW and monitor a second BFD failure of the first standby PW.
10. The apparatus of claim 8, further comprising:
the second monitoring unit is used for monitoring the fault of the second main PW;
and the second switching unit is used for switching the state of the second standby PW from inactive-inactive to inactive-active.
11. The apparatus of claim 8, further comprising:
the inquiry unit is used for inquiring whether the state of a first active PW in the active PW group is inactive-active;
a timing unit, configured to start, by the first network device, delayed switchback timing when it is found that a state of a first active PW in the active PW group is inactive-active;
the third switching unit is used for switching the state of a first active PW in the active PW group from inactive-active to active-active and switching the state of the first standby PW from inactive-inactive to active-inactive when the delay back-switching timer reaches a preset time interval; switching the state of a second active PW in the standby PW group from active-active to inactive-active, and switching the state of the second standby PW from active-inactive to inactive-inactive;
and a second sending unit, configured to send the received service data to a network transit device connected to the second network device by using the active PW group.
12. The apparatus of claim 8, further comprising:
a third monitoring unit, configured to monitor a first path fault for transmitting the received service data when the second network device operates normally, where the first path fault includes a connection fault between the network transit device on the first active PW and the second network device, and any one of the first active PW fault and the network transit device fault on the first active PW;
a searching unit, configured to search, from the preset configuration information, a first standby PW corresponding to the first active PW;
a fourth switching unit, configured to switch the state of the first standby PW from active-inactive to active-active;
a third sending unit, configured to send the received service data to a standby network transit device connected to the second network device by using the first standby PW.
13. The apparatus according to any one of claims 8 to 12,
the first network equipment is a base station side gateway CSG;
the network transfer equipment is a wireless service gateway RSG;
said second network device and said third network device are base station controllers BSC,
or,
the second network device and the third network device are radio network controllers, RNCs;
the second network device and the third network device are configured with the same IP address.
14. The apparatus according to any one of claims 8 to 12,
the first network equipment is backbone network edge equipment UPE;
the network transit equipment is label switching forwarding equipment (NPE);
the second network device and the third network device are broadband network service gateways, BNGs.
CN201410854538.9A 2014-12-31 2014-12-31 A kind of disaster recovery method and equipment Active CN104602285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410854538.9A CN104602285B (en) 2014-12-31 2014-12-31 A kind of disaster recovery method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410854538.9A CN104602285B (en) 2014-12-31 2014-12-31 A kind of disaster recovery method and equipment

Publications (2)

Publication Number Publication Date
CN104602285A CN104602285A (en) 2015-05-06
CN104602285B true CN104602285B (en) 2019-01-08

Family

ID=53127694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410854538.9A Active CN104602285B (en) 2014-12-31 2014-12-31 A kind of disaster recovery method and equipment

Country Status (1)

Country Link
CN (1) CN104602285B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113192B (en) * 2019-04-23 2023-02-03 深信服科技股份有限公司 Routing method, routing device, system, storage medium and device for virtual desktop
CN110086690B (en) * 2019-04-30 2021-06-15 新华三技术有限公司 Bidirectional forwarding detection method and device, electronic equipment and readable storage medium
CN111901182B (en) * 2019-05-06 2022-06-28 华为技术有限公司 Flow forwarding method and network equipment
CN113472635A (en) * 2021-05-31 2021-10-01 杭州沃趣科技股份有限公司 Method and system for realizing dual-port Active-Active redundancy protection

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127588B (en) * 2007-10-11 2011-08-10 华为技术有限公司 A failure processing method, system and device for wireless network controller
CN102264088B (en) * 2011-06-08 2017-04-05 中兴通讯股份有限公司 Pseudo-wire pretection switch implementation method and device
CN102857951A (en) * 2011-06-29 2013-01-02 中兴通讯股份有限公司 Method, device and system for link switching
CN102958086A (en) * 2011-08-26 2013-03-06 中兴通讯股份有限公司 Network disaster tolerance method and network disaster tolerance system
US9173117B2 (en) * 2013-05-02 2015-10-27 Telefonaktiebolaget L M Ericsson (Publ) Enhancing a mobile backup channel to address a node failure in a wireline network

Also Published As

Publication number Publication date
CN104602285A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
US10708132B2 (en) Technique for handling a status change in an interconnect node
CN101394260B (en) Method and apparatus for realizing main standby inverting and load sharing
US11146484B2 (en) Method, device, and system for deferring switchback
CN100499485C (en) Maintaining method of Ethernet link state
CN104602285B (en) A kind of disaster recovery method and equipment
WO2012000234A1 (en) Method, apparatus and system for fast switching between links
CN101729426B (en) Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP)
CN101951345B (en) Message transmitting method and equipment
CN102780615B (en) Link backup method and routing forwarding device
CN103023665B (en) A kind of method of multi-cast service protection, the network equipment and system
CN102264088A (en) Method and device for implementing pseudo wire protection switching
CN1980155A (en) Method for recovering sponsor media accessing control address and operation businesss edge apparatus
WO2012171164A1 (en) Network security protection method, device and system
CN106330699B (en) Multicast link switching method and device and routing equipment
CN104468347A (en) Method and device for controlling self-loopback of network data
WO2016086693A1 (en) Message transmission method, backbone switch and access switch
CN103973537B (en) A kind of looped network with failure protection function and the fault protecting method for looped network
WO2014079010A1 (en) Service protection method, device and system
CN102014033B (en) Method and system for restoring services of fault nodes in ring network
CN101958812A (en) Link fault detection method and system
CN102739430A (en) Method and system for realizing Ethernet protection switching
CN105763412A (en) Communication method in virtual switching cluster and apparatus thereof
CN113037622A (en) System and method for preventing BFD oscillation
CN102868620A (en) Inter-ring service protection method and device
CN102299830B (en) Dial-up link detection method and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant