WO2012103725A1 - 维持传输线路连通的方法和装置 - Google Patents

维持传输线路连通的方法和装置 Download PDF

Info

Publication number
WO2012103725A1
WO2012103725A1 PCT/CN2011/076595 CN2011076595W WO2012103725A1 WO 2012103725 A1 WO2012103725 A1 WO 2012103725A1 CN 2011076595 W CN2011076595 W CN 2011076595W WO 2012103725 A1 WO2012103725 A1 WO 2012103725A1
Authority
WO
WIPO (PCT)
Prior art keywords
primary
l2tp
data packet
tunnel
remote user
Prior art date
Application number
PCT/CN2011/076595
Other languages
English (en)
French (fr)
Inventor
牛承光
李猛
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180001046.XA priority Critical patent/CN102742222B/zh
Priority to PCT/CN2011/076595 priority patent/WO2012103725A1/zh
Publication of WO2012103725A1 publication Critical patent/WO2012103725A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/552Prevention, detection or correction of errors by ensuring the integrity of packets received through redundant connections

Definitions

  • the L2TP tunnel is established between the LAC and the LNS by using the same L2TP encapsulation and decapsulation rules, so that the data packets transmitted in the L2TP tunnel are isolated from other data.
  • the prior art uses a joint deployment scheme of the primary and backup forwarding devices. When the transmission line where the primary forwarding device or the primary forwarding device is located fails, the remote user accesses the standby forwarding device and re-establishes. L2TP tunnel to recover business.
  • Embodiments of the present invention provide a method and apparatus for maintaining transmission line connectivity, The reliability of the network business.
  • a method of maintaining transmission line connectivity includes:
  • the backup forwarding device receives the backup information of the tunnel transmission information of the primary transmission line sent by the primary forwarding device;
  • the tunnel transmission information records the Ethernet encapsulation standard used by the user for the data packet, the tunnel encapsulation standard during the tunnel transmission, and Corresponding relationship between the Ethernet encapsulation standard and the tunnel encapsulation standard;
  • the backup forwarding device When the primary transmission line where the primary forwarding device is located is faulty, the backup forwarding device encapsulates the data packet of the remote user according to the backup information and sends the data packet to the private network system; or encapsulates the data packet of the private network system. And transmitting to the remote user; the primary transmission line includes a transmission line between the primary forwarding device and the remote user, and a transmission line between the primary forwarding device and the private network system.
  • a device for maintaining transmission line connectivity comprising:
  • a backup information receiving unit configured to receive backup information of tunnel transmission information of the primary transmission line sent by the primary forwarding device;
  • the tunnel transmission information records an Ethernet encapsulation standard used by the user for the data packet, and is used during tunnel transmission a tunnel encapsulation standard and a correspondence between the Ethernet encapsulation standard and the tunnel encapsulation standard;
  • a packet encapsulation sending unit configured to: when the primary transmission line where the primary forwarding device is located is faulty, the backup forwarding device encapsulates the data packet of the remote user according to the backup information and sends the data packet to the private network system; or
  • the primary transmission line includes a transmission line between the primary forwarding device and the remote user, and between the primary forwarding device and the private network system Transmission line.
  • the primary forwarding device performs backup of the tunnel transmission information to the backup forwarding device, so that when the primary transmission line where the primary forwarding device is located is faulty,
  • the standby forwarding device implements data packets.
  • the fast recovery of the transmission enhances the reliability of the network service.
  • the data transmission is resumed without redialing, and the recovery time is short, which improves the user experience.
  • FIG. 1 is a flowchart of a method for maintaining transmission line connectivity in Embodiment 1 of the present invention
  • FIG. 2 is a block diagram of an apparatus for maintaining transmission line connectivity in Embodiment 1 of the present invention
  • FIG. 3 is a maintenance transmission line to which Embodiment 2 of the present invention is applied. Schematic diagram of a network system of connected methods
  • FIG. 4 is a flowchart of a method for maintaining communication line connectivity according to Embodiment 2 of the present invention
  • FIG. 5 is a schematic diagram of a network system for configuring two LACs according to Embodiment 2 of the present invention
  • FIG. 6 is a schematic diagram of a primary LAC according to Embodiment 2 of the present invention
  • Schematic diagram of maintaining communication line connection with a remote user's network failure
  • FIG. 7 is a schematic diagram of maintaining communication line connectivity when a link between a primary LAC or an active LAC and an LNS fails in the second embodiment of the present invention
  • FIG. 8 is a schematic diagram of a backup device between a primary LAC and a standby LAC in the second embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for maintaining transmission line connectivity according to Embodiment 3 of the present invention
  • FIG. 10 is a schematic diagram of a network system for configuring two LNSs to maintain transmission line connectivity according to Embodiment 3 of the present invention
  • FIG. 1 is a block diagram of an apparatus for maintaining transmission line connectivity in Embodiment 4 of the present invention
  • FIG. 13 is a block diagram of another apparatus for maintaining transmission line connectivity according to Embodiment 4 of the present invention. detailed description
  • the remote user When accessing the private network system, the remote user first sends the data packet to the primary forwarding device on the primary transmission line, and transmits the data to the private network system via the primary forwarding device; the private network system to the remote user The transmitted data message is also forwarded by the primary forwarding device.
  • the primary forwarding device is enabled, an alternate forwarding device corresponding to the primary forwarding device is also allocated.
  • the embodiment of the present invention provides a method for maintaining communication line connectivity. As shown in FIG. 1, the method includes the following steps:
  • the standby forwarding device receives backup information of the tunnel transmission information of the primary transmission line sent by the primary forwarding device.
  • the primary forwarding device After the primary transmission line where the primary forwarding device is in use, the primary forwarding device transmits tunnel transmission information of the primary transmission line on which the primary forwarding device is located to the standby forwarding device.
  • the primary forwarding device When the primary transmission line where the primary forwarding device is located is faulty, the primary forwarding device cannot send the data packet of the private network system to the remote user. In this case, the data packet sent by the private network system will reach the standby forwarding device.
  • the alternate forwarding device root And performing Ethernet decapsulation on the data packet of the private network system according to the Ethernet encapsulation standard in the backup information of the tunnel transmission information, and encapsulating the private network system according to the Ethernet encapsulation standard and the tunnel The data message is sent to the remote user.
  • the standby forwarding device performs Ethernet decapsulation on the data packet of the remote user according to the Ethernet encapsulation standard in the backup information of the tunnel transmission information, and according to the Ethernet encapsulation standard and the tunneling The data packet of the remote user is encapsulated and sent to the private network system.
  • the LAC can be connected to the at least one remote user through the SW, and the data packet of the remote user is encapsulated by using an Ethernet encapsulation standard, where the Ethernet encapsulation standard usually includes the MAC address of the remote user and the MAC address of the LAC. And a triplet composed of a PPPoe (Po int to Po int Pro toco l over e therne t ) session identifier between the remote user and the LAC.
  • the LAC decapsulates the data packet received by the remote user, and then uses the IP address of the LAC (IP-LAC), the IP address of the LNS (IP-LNS), the L2TP tunnel identifier, and the session identifier pair under the L2TP tunnel.
  • the data packet of the remote user is encapsulated by the L2TP and sent to the LNS whose IP address is I P_LNS.
  • the LNS receives the data transmitted by the LAC, and performs L2TP decapsulation and then sends the packet to the private network system.
  • the data packet of the network system is encapsulated in L2TP and sent to the LAC with the IP address of the IP_LAC through the L2TP tunnel.
  • the LAC then decapsulates the data packet of the private network system and forwards it to the remote user.
  • the data packet is transmitted between the LAC and the LNS through the L2TP tunnel.
  • the standby LAC receives the backup information of the tunnel transmission information of the primary transmission line sent by the primary LAC.
  • the tunnel encapsulation standard at the time of tunnel transmission and the correspondence between the Ethernet encapsulation standard and the tunnel encapsulation standard.
  • the Ethernet encapsulation standard includes an IP address of the LAC, an IP address of the LNS, an L2TP tunnel identifier, and a session identifier under the L2TP tunnel.
  • the remote user (for example, PC1 in FIG. 5) transmits the data packet of the remote user to the private network system through the primary L2TP tunnel, and receives the data packet of the private network system through the primary L2TP tunnel.
  • the active LAC When the active LAC is started, the standby LAC corresponding to the active LAC is also started, and the backup information of the tunnel transmission information of the primary transmission line sent by the primary LAC is started to be received.
  • the content that the primary LAC backs up to the standby LAC may include priority information, bandwidth allocation information, and the like of each session under the tunnel.
  • the standby LAC receives the data packet sent by the private network system and sends the data packet to the remote user according to the backup information.
  • the standby LAC receives the data packet of the remote user.
  • the backup information is encapsulated in L2TP and sent to the private network system. Specifically, step 402 and step 403 are performed according to different situations of the primary transmission line fault in which the primary LAC is located.
  • the data packet sent by the primary LAC is a data packet sent by the primary LAC to the remote user, and the data packet is sent to the remote user. It is sent to the standby LAC through the protection tunnel between the active and standby LACs.
  • the standby LAC performs L2TP decapsulation on the data packet forwarded by the primary LAC according to the tunnel encapsulation standard in the backup tunneling information, and then sends the data packet from the remote user to the private network system according to the tunnel encapsulation standard.
  • step 402-1 should also be performed.
  • the standby LAC encapsulates the data packet of the remote user in the L2TP encapsulation and the tunnel encapsulation standard, and sends the data packet sent by the standby LAC to the private network. system.
  • LAC1 cannot directly connect to SW1 and cannot connect to PC1.
  • the LAC2 backup of the standby machine has the same IP address as LAC1 (for example, the IP address of LAC1 is IP1, the IP address of LAC2 is IP2, and LAC2 also backs up IP1).
  • the data packet sent by PC1 to the private network system will be forwarded by SW1 to LAC2 as the standby LAC.
  • the LAC2 saves the tunnel information, the session information, and the backup information of the user information on the primary L2TP tunnel of the LAC1 and the LNS.
  • LAC2 stores the backup information sent by LAC1, so that it can perform Ethernet decapsulation after receiving the data packet of PC1, and perform L2TP encapsulation on the data packet of PC1 by the tunnel encapsulation standard that encapsulates the data packet by LAC1.
  • the data packet of the PC1 is sent to the LNS, and the data packet of the private network system is forwarded to the PC1.
  • LAC2 uses the same tunnel encapsulation standard as LAC1, the fault between LAC1 and SW1 does not affect the transmission of data packets.
  • PC1 and the private network system do not detect the fault between LAC1 and PC1.
  • the standby LAC encapsulates the data packet of the remote user with the tunnel encapsulation standard recorded in the backup information, and sends the packet to the LNS to enable the LNS. Forwarding the data packet sent by the standby L2TP access concentrator to the private network system.
  • step 403 the data message sent by the private network system to the remote user is further processed to step 403_1.
  • the standby LAC encapsulates the data packet of the private network system transmitted through the LNS according to the Ethernet encapsulation standard in the backup information, and sends the remote end user.
  • the LNS cannot connect to LAC1.
  • the data packet of the remote user PC1 will be sent to LAC2.
  • LAC2 decapsulates the data of the PC1 according to the backup tunnel encapsulation standard, and finds the IP address of the corresponding LAC (IP1), the IP address of the LNS, the L2TP tunnel identifier, and the session identifier of the L2TP tunnel.
  • IP1 IP1
  • LNS L2TP tunnel ID
  • session ID IP1
  • LNS L2TP tunnel ID
  • session ID IP2 Tunnel ID
  • the LNS encapsulates the received data packet of the private network system in L2TP and sends it to LAC2.
  • LAC2 After receiving the data packet sent by the LNS, the LAC2 performs L2TP decapsulation according to the backup tunnel encapsulation standard, and re-encapsulates it according to the backup Ethernet encapsulation standard, and then sends the packet to the remote user.
  • LAC2 in Figure 7 uses the same tunnel encapsulation standard and Ethernet encapsulation standard as LAC1, a standby L2TP tunnel is established between LAC2 and LNS, carrying the same session as the primary L2TP tunnel. In this case, the fault between LAC1 and SW1 does not affect the transmission of data packets. PC1 and the private network system do not detect faults between LAC1 or LAC1 and LNS.
  • the LAC1 sends a tunnel detection packet to the LNS according to the predetermined time interval.
  • the LNS also sends a tunnel detection packet to the LAC1 according to the predetermined time interval.
  • LAC1 and LNS can determine the connectivity of the active L2TP tunnel.
  • LAC1 also backs up the tunnel detection packet sent by the LNS to LAC2.
  • LAC1 fails to work or the link between LAC1 and LNS is interrupted, LAC2 cannot receive tunnel detection packets backed up by LAC1.
  • LAC2 After receiving the status advertisement message sent by LAC1, LAC2 upgrades the status of the access link to the primary state, and broadcasts the gratuitous ARP packet to each SW of the Ethernet access network, so that each SW performs the MAC table update.
  • the data packets sent by the end user are sent to LAC2 and are not sent to LAC1.
  • the standby LAC starts to forward data packets through the standby L2TP tunnel, the primary LAC is used as a backup of the standby LAC, and is connected to the standby LAC. In case, the backup information sent by the standby LAC is received.
  • Steps 401 to 403 describe the process of switching between the active LAC and the standby LAC.
  • the standby LAC works normally on the active transmission line where the primary LAC is located. If the LAC is normal and the link between the LAC and the LNS is normal, only the backup information of the active LAC is received, and the data packet is not transmitted by itself. As an optional implementation, the standby LAC and the active LAC can be used as backup devices.
  • LAC1 carries the data packet transmission between the remote user PC1 and the private network system.
  • LAC2 carries the data packet transmission between the remote user PC2 and the private network system.
  • PC1 is connected to LAC1 through SW1
  • PC2 is connected to LAC2 through SW2.
  • the link between the LAC1 and the LAC2 is interrupted.
  • the LAC2 bears the data packet through the standby L2TP tunnel.
  • the uplink and downlink of the remote user will cause the difference between the tunnel information, session information, and user information of LAC2 and the tunnel information, session information, and user information of LAC1. If the link between LAC1 and LAC2 is restored, LAC2 compares the current tunnel information, session information, and user information with the tunnel information, session information, and user information of LAC1, and performs batch backup to LAC1.
  • the tunnel, session life, tunnel, and session state are recorded.
  • the life is in seconds ( s ).
  • the state is active when LAC1 is normal and the link between LAC1 and LNS is normal.
  • the life and state are backed up to LAC2 along with the tunnel information, session information, and user information of the LAC1.
  • the state recorded by LAC1 is changed to inactive, and the life keeps growing, which is not affected by the change of s tate.
  • the recorded tunnels and sessions are as follows.
  • LACl In the event of LACl failure, LACl is maintaining three L2TP tunnels, namely Tunne Bu 1, Tunnel-2, and Tu. Take Tunnel-1 as an example. In Tu Tu1, the session used by the remote user whose address is macl is Session-1, the lifetime of Tunnel-1 is 300s, and the lifetime of Session-1 in Tunnel-1 is 150s. And because LACl fails, the state of Tunnel-1 and Session-1 are set to inactive.
  • the tunnel and session in LAC2 are as follows.
  • LAC2 sends its own information about the active tunnel to LAC1;
  • the information about the tunnel whose state is act ive includes the life, state of the tunnel, the ID of the wake-up el (the serial number 'J number), and the wake-up el source IP.
  • LAC1 After receiving the related information sent by LAC2, LAC1 performs the following S02, S03, and S04 according to different situations.
  • the life of the tunnel with the same name in LAC1 is updated to the life of the tunnel sent by LAC2.
  • the method for detecting whether the tunnels are the same may be: Compare the IDs of the tunnels, and the IDs of the tunnels are the same.
  • the tunnel in the shell 'J LAC1 is the same as the tunnel in the LAC2.
  • LAC1 If LAC1 has the same t wake-up el as the tunnel sent by LAC2, and its state is active, LAC1 maintains the state of the tunnel and does not update.
  • LAC2 sends information about its session to LAC1.
  • the LAC1 After receiving the information about the session sent by the LAC2, the LAC1 detects whether there is a tunnel in which the session of the LAC2 exists.
  • step S8 If there is a tunnel in which the session of the LAC2 is located, the process proceeds to step S08. Otherwise, the information about the session of the LAC2 is discarded, and no update is performed.
  • step S09 If the session of the same name does not exist, the process goes to step S09; if the session of the same name exists, the process goes to step S10.
  • step S11 If there is the same MAC address, the process goes to step S11, otherwise it goes to step S12.
  • the life in the session information sent by the LAC2 is The value is updated to LAC1.
  • life value in the session information sent by the 1 ⁇ 02 is less than or equal to the life value of the session with the same name in the LAC1, replace the S6S s ion of the same name in the LAC1 with the ses s ion of the LAC2.
  • the lifetime of the session information sent by the LAC2 is less than or equal to the lifetime of the session with the same ID in the LAC1, indicating that the session of the LAC2 is newly established with respect to the session of the same ID in the LAC1, and the newly established session with the same ID needs to be updated to LAC1.
  • step S13 If the value of 1 if e in the session information sent by the LAC2 is less than or equal to the life value of the session with the same name in the LAC1, the process goes to step S13.
  • the LAC1 notifies the LAC2 to delete the ses s ion of the session with the same value of the same ID as the LAC1.
  • the session of LAC2 is larger than the session of the same ID in LAC1, indicating that the session of LAC2 is old and needs to be deleted.
  • the standby LNS receives backup information of tunnel transmission information of the primary transmission line sent by the primary LNS.
  • the remote user PC3 in FIG. 10 transmits the data packet of the remote user to the private network system through the primary L2TP tunnel, and receives the data of the private network system through the primary L2TP tunnel.
  • the standby LNS (LNS4) corresponding to the LNS3 is also started, and the backup information of the tunnel transmission information of the primary transmission line transmitted by the LNS3 is started.
  • the standby LNS When the primary transmission line where the primary LNS is located is faulty, the standby LNS performs L2TP encapsulation on the data packet of the private network system according to the tunnel encapsulation standard recorded in the backup information, and sends the data packet to the LAC.
  • the data packet of the remote user is forwarded to the private network system after L2TP decapsulation according to the tunnel encapsulation standard.
  • the LAC After the data packet of the remote user is transmitted to the LAC, the LAC performs L2TP encapsulation according to the tunnel encapsulation table, and then the LNSTP tunnel that is maintained by the LNS4 is transmitted to the LNS4, and is decapsulated by the LNS4 and then forwarded to the private network system. .
  • the data packet of the private network system is transmitted to the LNS4, and is encapsulated in the L2TP by the LNS4, and then transmitted to the LAC through the standby L2TP tunnel, and finally forwarded by the LAC to the remote user.
  • the LNS3 or the primary L2TP tunnel fails, the link between the LNS3 and the LNS4 is interrupted.
  • the LNS3 bears the datagram through the standby L2TP tunnel.
  • the uplink and downlink of the remote user may cause the tunnel information, session information, and user information of the LNS3 to differ from the tunnel information, session information, and user information of the LNS4. If the link between the LNS3 and the LNS4 is restored, the LNS4 compares the tunnel information, the session information, and the user information with the LNS3 tunnel information, session information, and user information, and performs a batch backup to the LNS3.
  • the standby LNS works normally in the primary transmission line where the primary LNS is located (that is, the network between the primary LNS and the private network system is normal, the primary LNS is normal, and the link between the primary LNS and the LAC is normal).
  • the backup information of the primary LNS is received only, and the data transmission of the data packet is not carried by itself.
  • the standby LNS and the primary LNS can be used as backup devices.
  • the LNS3 carries the data packet transmission between the remote user PC3 and the private network system.
  • the LNS4 carries the data packet transmission between the remote user PC4 and the private network system.
  • PC3 is connected to the LAC through SW3
  • PC4 is connected to the LAC through SW4.
  • LNS3 uses IP3_1 as the IP address to send and receive data packets between the LAC and the LAC through the first active L2TP tunnel, and maintains the data packet transmission between PC 3 and the private network system, and sends the backup information to LNS4.
  • IP3_1 is connected to the LAC through the second active L2TP tunnel to maintain data packet transmission between PC4 and the private network system, and backs up the backup information to LNS3.
  • LNS3 and LNS4 back up each other's IP address.
  • the LNS4 serving as the LNS3 standby machine uses IP3_1 to maintain the connection with the LAC through the first standby L2TP tunnel to ensure data packet transmission between the PC3 and the private network system.
  • the session of the first primary L2TP tunnel is not interrupted.
  • the LNS3 serving as the backup of the LNS4 uses IP3_1, and maintains the LAC through the second standby L2TP tunnel.
  • the connection is to ensure the data packet transmission between the PC4 and the private network system, so that the session of the second primary L2TP tunnel is not interrupted.
  • the embodiment of the present invention provides a device for maintaining transmission line connectivity. As shown in FIG. 12, the device is integrated in the standby LAC, and includes: a backup information receiving unit 121 and a packet encapsulation transmitting unit 122. The first forwarding message receiving unit 123.
  • the backup information receiving unit 121 is configured to receive backup information of tunnel transmission information of the primary transmission line sent by the primary LAC; the tunnel transmission information records an Ethernet encapsulation standard used by the user data packet, and a tunnel during tunnel transmission. a package standard and a correspondence between the Ethernet package standard and the tunnel encapsulation standard;
  • the data packet of the private network system is first transmitted to the LNS, and is encapsulated by the LNS according to the tunnel encapsulation standard and transmitted to the active LAC.
  • the active LAC forwards the encapsulated private network system packets to the standby LAC.
  • the backup LAC encapsulates the data packet with the Ethernet encapsulation standard and sends the data packet to the remote user.
  • the apparatus for maintaining transmission line connectivity of the embodiment of the present invention may be integrated in the standby LNS (LNS4).
  • LNS4 standby LNS
  • the apparatus includes: a backup information receiving unit 131, a message encapsulation transmitting unit 132, and a second forwarding message receiving unit 133.
  • the backup information receiving unit 131 is configured to receive backup information of the tunnel transmission information of the primary transmission line transmitted by the primary LNS.
  • the packet encapsulation sending unit 132 is configured to: according to the backup information, the number of the private network system, so that the LAC performs L2TP decapsulation, Ethernet encapsulation, and Ethernet packet encapsulation on the standby LNS, and sends the data packet to the remote end. user.
  • the standby LAC and the active LAC can be used as backup devices.
  • the detailed description refers to the description in Embodiments 2 and 3 of the present invention, and details are not described herein again.
  • 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, etc. includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

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

Description

维持传输线路连通的方法和装置 技术领域
本发明涉及通信领域, 尤其涉及一种隧道切换的方法和装置。
背景技术
目前, 通过 L2TP ( Layer 2 Tunneling Protocol,二层隧道协议) 可以支持远端用户与私网系统之间的数据传输。 其中, LAC ( L2TP Access Concentrator, L2TP 接入集中器) 将接收到的远端用户的数据报文进行 L2TP封装并发送给 LNS (L2TP Network Server, L2TP 网络服务器), LNS 对所述 LAC发送的数据报文进行 L2TP解封装并转发给私网系统,从而实 现远端用户对私网系统的访问。 类似的, LNS 也将接收到的私网用户的 数据报文进行 L2TP封装并发送给 LAC, 以使得 LAC将 LNS发送的数据报 文进行 L2TP解封装后转发给远端用户。 LAC与 LNS之间通过使用同样的 L2TP封装和解封装规则建立了 L2TP隧道, 使得 L2TP隧道中传输的数据 报文与其他的数据相隔离。 为了提高业务的可靠性, 现有技术使用主用、 备用转发设备联合部署的方案, 当主用转发设备或主用转发设备所在的 传输线路出现故障时, 远端用户接入备用转发设备, 重新建立 L2TP隧道 以恢复业务。
在实现上述方案的过程中, 发明人发现现有技术存在以下问题: 当 主用转发设备或主用转发设备所在的传输线路故障从而需要备用转发设 备继续进行数据传输时, 远端用户需要重新拨号以连接入备用转发设 备, 重建 L2TP隧道并恢复已断开的数据传输业务。 由于重新拨号占用时 间较长、 并且网络恢复的速度较慢, 导致网络业务的可靠性较差, 用户 体验不佳。
发明内容
本发明的实施例提供一种维持传输线路连通的方法和装置, 提高 了网络业务的可靠性。
为达到上述目的, 本发明的实施例采用如下技术方案:
一种维持传输线路连通的方法, 包括:
备用转发设备接收主用转发设备发送的主用传输线路的隧道传输信 息的备份信息; 所述隧道传输信息记录了用户的数据报文使用的以太网 封装标准、 在隧道传输时的隧道封装标准以及所述以太网封装标准和所 述隧道封装标准的对应关系;
当主用转发设备所在的主用传输线路故障时, 备用转发设备根据所 述备份信息, 将远端用户的数据报文进行封装并向私网系统发送; 或 将私网系统的数据报文进行封装并向远端用户发送; 所述主用传输 线路包括主用转发设备与远端用户间的传输线路以及所述主用转发设备 与所述私网系统间的传输线路。
一种维持传输线路连通的装置, 包括:
备份信息接收单元, 用于接收主用转发设备发送的主用传输线路的 隧道传输信息的备份信息; 所述隧道传输信息记录了用户的数据报文使 用的以太网封装标准、 在隧道传输时的隧道封装标准以及所述以太网封 装标准和所述隧道封装标准的对应关系;
报文封装发送单元, 用于当主用转发设备所在的主用传输线路故障 时, 备用转发设备根据所述备份信息, 将远端用户的数据报文进行封装 并向私网系统发送; 或
将私网系统的数据报文进行封装并向远端用户发送; 所述主用传输 线路包括主用转发设备与远端用户间的传输线路以及所述主用转发设备 与所述私网系统间的传输线路。
本发明实施例提供的维持传输线路连通的方法和装置, 主用转发设 备向备用转发设备进行隧道传输信息的备份, 使得当所述主用转发设备 所在的主用传输线路故障时, 可以通过所述备用转发设备实现数据报文 传输的快速恢复, 增强了网络业务的可靠性, 同时, 恢复数据报文传输 时不需重新拨号, 恢复时间短, 提升了用户体验。
附图说明
图 1为本发明实施例 1 中维持传输线路连通的方法的流程图; 图 2为本发明实施例 1 中维持传输线路连通的装置的框图; 图 3为应用本发明实施例 2的维持传输线路连通方法的网络系统的 示意图;
图 4为本发明实施例 2中维持传输线路连通的方法的流程图; 图 5为本发明实施例 2中配置两个 LAC的网络系统的示意图; 图 6为本发明实施例 2 中主用 LAC与远端用户的网络故障时维持传 输线路连通的示意图;
图 7为本发明实施例 2中主用 LAC或主用 LAC与 LNS间的链路故障 时维持传输线路连通的示意图;
图 8为本发明实施例 2中主用 LAC和备用 LAC互为备份设备的示意 图;
图 9为本发明实施例 3中维持传输线路连通的方法的流程图; 图 1 0为本发明实施例 3中配置两个 LNS维持传输线路连通的网络系 统的示意图;
图 1 1为本发明实施例 3中主用 LNS和备用 LNS互为备份设备的示意 图;
图 1 2为本发明实施例 4中维持传输线路连通的装置的框图; 图 1 3为本发明实施例 4中另一种维持传输线路连通的装置的框图。 具体实施方式
下面结合本发明实施例的附图对本发明实施例的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全 部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 实施例 1 :
私网系统 (比如, 企业内网) 和远端用户 (比如, 在企业内网之 外的出差用户)之间的数据传输需要由主用转发设备进行转发。远端用 户在访问私网系统时,首先将数据报文发送至主用传输线路上的所述主 用转发设备, 并经由所述主用转发设备传输至私网系统; 私网系统向远 端用户传送的数据报文也要经过所述主用转发设备的转发。在启用所述 主用转发设备时, 还分配了与所述主用转发设备相对应的备用转发设 备。 在此基础上, 本发明实施例提供了一种维持传输线路连通的方法, 如图 1所述, 所述方法包括以下步骤:
1 01、 备用转发设备接收主用转发设备发送的主用传输线路的隧道 传输信息的备份信息。
所述隧道传输信息包括隧道标识、 隧道下的会话标识、 远端用户 的数据报文使用的以太网封装标准、在隧道传输时的隧道封装标准以及 所述以太网封装标准和所述隧道封装标准的对应关系。
在所述主用转发设备所在的主用传输线路进入使用后, 所述主用 转发设备将自身所在的主用传输线路的隧道传输信息发送到所述备用 转发设备。
当所述隧道标识、 隧道下的会话标识更新时, 所述主用转发设备 将更新后的所述隧道标识、 隧道下的会话标识备份到所述备用转发设 备。 当所述主用转发设备所在的主用传输线路故障时, 可以通过所述备 用转发设备实现数据报文传输的快速恢复。 具体的, 在主用转发设备所 在的主用传输线路故障的情况下, 当私网系统发送数据报文时, 转向步 骤 1 02 ; 当远端用户发送数据报文时, 转向步骤 1 03。
1 02、 当主用转发设备所在的主用传输线路故障时, 备用转发设备 将私网系统的数据报文以所述备份信息中记录的隧道封装标准进行封 装并向远端用户发送。
当所述主用转发设备所在的主用传输线路故障时, 原来所述主用 转发设备不能将私网系统的数据报文向远端用户发送。在此情况下,私 网系统发送的数据报文将达到所述备用转发设备。所述备用转发设备根 据所述隧道传输信息的备份信息中的以太网封装标准,对所述私网系统 的数据报文进行以太网解封装,并根据所述以太网封装标准和所述隧道 封装所述私网系统的数据报文并向远端用户发送。
103、 当主用转发设备所在的主用传输线路故障时, 备用转发设备 将远端用户的数据报文以备份信息中记录的隧道封装标准进行封装并 向私网系统发送。
当所述主用转发设备所在的主用传输线路故障时, 原来的所述主 用转发设备不能将远端用户的数据报文向私网系统发送。 在此情况下, 远端用户发送的数据报文将达到所述备用转发设备。所述备用转发设备 根据所述隧道传输信息的备份信息中的以太网封装标准,对所述远端用 户的数据报文进行以太网解封装,并根据所述以太网封装标准和所述隧 准封装所述远端用户的数据报文并向私网系统发送。
本发明实施例还提供了一种维持传输线路连通的装置, 如图 2 所 示, 所述装置包括: 备份信息接收单元 21、 报文封装发送单元 22。
备份信息接收单元 21用于接收主用转发设备发送的主用传输线路 的隧道传输信息的备份信息;所述隧道传输信息记录了用户的数据报文 使用的以太网封装标准、在隧道传输时的隧道封装标准以及所述以太网 封装标准和所述隧道封装标准的对应关系;
报文封装发送单元 22用于当主用转发设备所在的主用传输线路故 障时,根据所述备份信息,将远端用户的数据报文以备份信息中记录的 隧道封装标准进行封装并向私网系统发送。 报文封装发送单元 22还用 于将私网系统的报文以备份信息中记录的隧道封装标准进行封装并向 远端用户发送;所述主用传输线路包括主用转发设备与远端用户间的传 输线路以及所述主用转发设备与所述私网系统间的传输线路。
本发明实施例提供的维持传输线路连通的方法和装置, 主用转发 设备向备用转发设备进行隧道传输信息的备份,使得当所述主用转发设 备所在的主用传输线路故障时,可以通过所述备用转发设备实现数据报 文传输的快速恢复, 增强了网络业务的可靠性, 同时, 恢复数据报文传 输时不需重新拨号, 恢复时间短, 提升了用户体验。 实施例 2 :
在如图 3 所示的网络系统中, 私网系统和远端用户之间的数据传 输需要通过 LAC和 LNS进行转发传输。远端用户处于以太接入网, 通过 SW (交换机 ) 连接到 LAC, LAC与 LNS之间的网络为 IP承载网。 LAC和 LNS之间建立 L2TP隧道, 并在所述 L2TP隧道上承载基于 PPP (Po int to Po int Pro toco l,点对点协议)的会话。 一个 L2TP P遂道中可以承载多个 会话。 具体的, LAC可以与至少一个远端用户经过 SW建立连接, 远端 用户的数据报文使用以太网封装标准进行封装,所述以太网封装标准通 常包括远端用户的 MAC地址、 LAC的 MAC地址以及远端用户与 LAC间的 PPPoe ( Po int to Po int Pro toco l over e therne t ) 会话标识组成的三 元组。 LAC对接收到所述远端用户的数据报文进行解封装,然后使用 LAC 的 IP地址(IP— LAC) 、 LNS的 IP地址(I P— LNS) 、 L2TP隧道标识以及 L2TP 隧道下的会话标识对所述远端用户的数据报文进行 L2TP 封装,并发送 至 IP地址为 I P_LNS的 LNS, LNS接收 LAC传输的数据 ^艮文, 进行 L2TP 解封装后发送至私网系统; 此外, LNS把私网系统的数据报文进行 L2TP 封装并经过 L2TP隧道向 I P地址为 IP_LAC的 LAC发送,再由 LAC将私网 系统的数据报文进行 L2TP解封装后转发至远端用户。 LAC和 LNS之间 通过 L2TP隧道进行数据报文的传输。
在上述应用场景的基础上, 本发明实施例提供了一种维持传输线 路连通的方法, 如图 4所述, 所述方法包括以下步骤:
401、 备用 LAC接收主用 LAC发送的主用传输线路的隧道传输信息 的备份信息。 准、在隧道传输时的隧道封装标准以及所述以太网封装标准和所述隧道 封装标准的对应关系。 所述以太网封装标准包括 LAC 的 I P地址、 LNS 的 IP地址、 L2TP隧道标识以及 L2TP隧道下的会话标识。
本发明实施例提供的方法运用在如图 5 所示的网络系统中, 图 5 所示的网络系统以图 3为基础, 配置了至少两个 LAC。 在系统建立时, 可以人为的选定一台 LAC作为主用 LAC。 其中, 主用 LAC与 LNS之间建 立了一条主用 L2TP隧道, 即通过主用 LAC的 I P地址、 LNS的 I P地址、 L2TP隧道标识以及 L2TP隧道下的会话标识对数据报文进行 L2TP封装, 使封装后的数据报文在主用 LAC和 LNS 间传输; 主用 LAC之外的其他 LAC为备用 LAC。 图 5中以一个备用 LAC为例来进行说明, 当然也可以 配置一个以上的备用 LAC, 本发明实施例对此不做限制。
远端用户 (以图 5中的 PC1为例) 通过所述主用 L2TP隧道将远端 用户的数据报文传输至私网系统, 并通过所述主用 L2TP隧道接收私网 系统的数据报文。在主用 LAC启动时, 与主用 LAC对应的备用 LAC也启 动, 开始接收主用 LAC 发送的主用传输线路的隧道传输信息的备份信 息。
主用 LAC向备用 LAC备份的内容除了所述隧道传输信息, 还可以 包括隧道下的各个会话的优先级信息、 带宽分配信息等。
当主用 LAC所在的主用传输线路故障时, 备用 LAC接收私网系统 发送的数据报文并根据所述备份信息向远端用户发送; 备用 LAC 接收 所述远端用户的数据报文、 根据所述备份信息进行 L2TP封装后向私网 系统发送。具体的,根据主用 LAC所在的主用传输线路故障的不同情况, 分别执行步骤 402、 步骤 403。
402、 当主用 LAC与远端用户间的网络故障时, 备用 LAC接收主用 LAC转发的私网系统的数据报文, 并将所述主用 LAC转发的数据报文向 远端用户发送。
所述主用 LAC转发的数据报文为主用 LAC接收的从私网系统向远 端用户发送的数据报文, 在主用 LAC 与远端用户间的网络故障的情况 下, 该数据报文通过主用、备用 LAC之间的保护隧道,发送给备用 LAC。 备用 LAC 根据备份的所述隧道传输信息中的隧道封装标准对主用 LAC 转发的数据报文进行 L2TP解封装, 然后根据与所述隧道封装标准对应 同时, 对于从远端用户发送到私网系统的数据报文, 还应执行步 骤 402—1。
402_1、 备用 LAC将远端用户的数据报文以备份信息中记录的隧道 封装标准进行 L2TP封装并发送至 LNS,以使得所述 LNS将所述备用 LAC 发送的数据报文转发至所述私网系统。
如图 6所示, 当作为主用 LAC的 LAC1 与远端用户 (PC1 ) 间的网 络故障时, LAC1不能直接连接到 SW1, 从而无法连接 PC1。 作为 LAC1 的备用机的 LAC2备份有与 LAC1相同的 IP地址 (比如, LAC1的 IP地 址为 IP1, LAC2的 IP地址为 IP2, LAC2还备份有 IP1 )。在故障时, PC1 发出的目的地为私网系统的数据报文, 将经过 SW1转发至作为备用 LAC 的 LAC2。 由于 LAC2上保存了 LAC1与 LNS的主用 L2TP隧道上的隧道信 息、 会话信息及用户信息的备份信息, PC1 的数据报文可以由 LAC2根 据备份信息中的隧道封装标准进行封装, 经过备用 L2TP 隧道发送至 LNS。 另一方面, LNS 接收私网系统的数据报文后, 根据所述隧道封装 表中进行 L2TP封装并发送给 LAC1,LAC1接收到被 LNS封装后的所述私 网系统的数据报文后,通过主用、备用 LAC之间的保护隧道转发至 LAC2, 并由 LAC2向远端用户 PC1转发。 由于 LAC2上存储了 LAC1发送的备份 信息, 从而可以在接收到 PC1 的数据报文后进行以太网解封装, 并以 LAC1对数据报文进行封装的隧道封装标准对 PC1的数据报文进行 L2TP 封装, 实现将 PC1的数据报文发送给 LNS, 也可以将所述私网系统的数 据报文转发给 PC1。由于 LAC2使用了与 LAC1相同的隧道封装标准, LAC1 与 SW1 间的故障并不影响数据报文的发送, PC1 与私网系统不会感知 LAC1与 PC1间的故障。
需要说明的是,在 LAC1正常工作的情况下, LAC1会定期通过 LAC1 与远端用户间的网络发送状态通告报文, LAC2 可以接收所述状态通告 报文。 如果 LAC1与远端用户间的网络故障, LAC2将无法接收所述状态 通告报文。 当 LAC2在预定的时间段内一直没有收到状态通告报文时, L AC 2将该链路状态升级为主用, 并将向以太接入网的各个 SW广播免费 ARP报文, 使得各个 SW进行 MAC表更新, 从而将远端用户发送的数据 报文向 LAC2发送, 而不再发送给 LAC1。
403、 当主用 LAC或主用 LAC与 LNS间的链路故障时, 备用 LAC将 远端用户的数据报文以备份信息中记录的隧道封装标准进行 L2TP封装 并发送至 LNS, 以使得所述 LNS将所述备用 L2TP接入集中器发送的数 据报文转发至所述私网系统。
在执行步骤 403 的同时, 对于私网系统向远端用户发送的数据报 文, 还要执行步骤 403_1。
403- 备用 LAC将经由 LNS传递的私网系统的数据报文根据备份 信息中的以太网封装标准进行封装, 并发送中远端用户。 如图 7所示, 当 LAC1或 LAC1与 LNS间的链路故障时, LNS与 LAC1 无法连接。 根据上文的各个 SW进行 MAC表更新的描述, 远端用户 PC1 的数据报文将发送到 LAC2。 LAC2根据备份的隧道封装标准, 对 PC1的 数据 ^艮文解封装并找到对应的 LAC的 IP地址( IP1 ) 、 LNS的 IP地址、 L2TP 隧道标识以及 L2TP 隧道下的会话标识,通过所述 LAC 的 IP地址 ( IP1 ) 、 LNS的 IP地址、 L2TP隧道标识以及 L2TP隧道下的会话标识 对远端用户的数据报文进行 L2TP封装, 实现将 PC1的数据报文发送给 LNS。 另一方面, LNS将接收的私网系统的数据报文进行 L2TP封装后向 LAC2发送。 LAC2接收到 LNS发送的数据报文后, 根据备份的隧道封装 标准进行 L2TP解封装, 并以备份的以太网封装标准重新封装后, 向远 端用户发送。在图 7中的 LAC2使用了与 LAC1相同的隧道封装标准、 以 太网封装标准的情况下, LAC2与 LNS间建立了一条备用 L2TP隧道, 承 载了与主用 L2TP隧道相同的会话。 在此情况下, LAC1与 SW1间的故障 并不影响数据报文的发送, PC1与私网系统不会感知 LAC1或 LAC1与 LNS 间的故障。
需要说明的是, 在 LAC1正常并且 LAC1与 LNS之间的链路正常的 情况下, LAC1按照预定的时间间隔向 LNS发送隧道检测报文, LNS也按 照预定的时间间隔向 LAC1发送隧道检测报文。通过互发检测报文, LAC1 和 LNS可以确定主用 L2TP隧道的连通性。 同时, LAC1还将所述 LNS发 送的隧道检测报文备份到 LAC2。当 LAC1不能正常工作或是 LAC1与 LNS 之间的链路中断时, LAC2将不能收到 LAC1备份的隧道检测报文。当 LAC2 在预定的隧道检测报文等待时间段内一直未收到 LAC1备份的隧道检测 才艮文时, LAC2将主动向 LNS发送隧道检测 文。 此后, LAC2和 LNS之 间互发检测报文, 以确认备用 L2TP隧道的连通性。在上述 LAC1故障或 LAC1与 LNS之间的链路中断的情况下, LAC1通过 LAC1与远端用户间 的网络通路,向 LAC2发送状态通告报文, 告知 LAC1降级为备份设备。 LAC2接收到 LAC1发送的状态通告报文后, 将接入链路状态升级为主状 态, 并将向以太接入网的各个 SW广播免费 ARP报文,使得各个 SW进行 MAC表更新, 从而将远端用户发送的数据报文向 LAC2发送, 而不再发 送给 LAC1。 上述步骤 402、 403 中, 在所述备用 LAC开始通过所述备用 L2TP 隧道承担数据报文的转发后,所述主用 LAC将作为所述备用 LAC的备用 机, 在与所述备用 LAC可连通的情况下,接收所述备用 LAC发送的备份 信息。
步骤 401至步骤 403描述了主用 LAC和备用 LAC间进行切换的过 程, 其中备用 LAC在主用 LAC所在的主用传输线路正常工作 (即主用 LAC与远端用户间的网络正常、 主用 LAC正常并且主用 LAC与 LNS间的 链路正常)的情况下, 仅接收主用 LAC的备份信息, 自身并不承载数据 报文的传输。 作为一种可选的实施方式, 可以令备用 LAC 与主用 LAC 互为备份设备。 如图 8所示, LAC1承载了远端用户 PC1与私网系统之 间的数据报文传输, LAC2承载了远端用户 PC2与私网系统之间的数据 报文传输。 PC1通过 SW1与 LAC1连接, PC2通过 SW2与 LAC2连接。 LAC1 使用 IP1-1作为 IP地址,通过第一主用 L2TP隧道与 LNS间进行数据报 文收发, 并将备份信息发送到 LAC2, 所述第一主用 L2TP隧道由 IP1_1、 第一主用 L2TP隧道的标识、 LNS的 IP地址来进行定义; LAC2使用 IP1_2 作为 IP地址, 通过第二主用 L2TP隧道与 LNS间进行数据报文收发, 并 将备份信息备份到 LAC1, 所述第二主用 L2TP隧道由 IP1_2、 第二主用 L2TP隧道的标识、 LNS的 IP地址来进行定义。 LAC1和 LAC2相互备份 对方的 IP地址。当 LAC1的第一主用 L2TP隧道所在的传输线路故障时, 作为 LAC1备用机的 LAC2使用 IP1-1,通过第一备用 L2TP隧道维持与 LNS 的连接,保证原来第一主用 L2TP隧道中的会话不中断;相应的,当 LAC2 的第二主用 L2TP 隧道所在的传输线路故障时, 作为 LAC2 的备用机的 LAC1使用 IP1_2, 通过第二备用 L2TP隧道维持与 LNS的连接, 保证原 来第二主用 L2TP隧道的会话不中断。
另外, 作为图 7的一种实际应用的场景, 当 LAC1或主用 L2TP隧 道故障时, 会出现 LAC1与 LAC2的链路中断的情况, 在此情况下 LAC2 通过所述备用 L2TP隧道承担数据报文的转发并经历一段时间后, 远端 用户的上下线会导致 LAC2 的隧道信息、 会话信息及用户信息和 LAC1 的隧道信息、 会话信息及用户信息出现差别。 如果此时 LAC1 与 LAC2 间的链路恢复连通, LAC2 要将当前自身的隧道信息、 会话信息及用户 信息与 LAC1的隧道信息、会话信息及用户信息进行比对,并进行向 LAC1 的批量备份。 为了实现 LAC1和 LAC2之间的信息比对及批量备份, 需要 在主用 L2TP 隧道以及隧道中的会话建立后, 记录隧道、 会话生命 ( life) 、 隧道、 会话状态(state)。 其中, life 以秒 ( s ) 为单位增 长, state在 LAC1 正常并且 LAC1 与 LNS之间的链路正常的情况下为 active, life和 state随 LACl的隧道信息、 会话信息及用户信息备份 到 LAC2。 当 LAC1或主用 L2TP隧道故障时, LAC1记录的 state变更为 inactive, life保持增长, 不受 s tate的变化影响。
举例来说, LAC1故障时, 其记录的隧道、 会话的情况如下所示。
Tunnel-1 (1 if e = 300s, state = inactive)
Session - 1 (1 if e=150s)
User macl (inact ive)
Tunnel-2 (1 if e = 200s, state = inact ive)
Session - 1 (1 if e=150s)
User mac7 (inact ive)
Session-2 (life=100s)
User mac3 (inact ive)
Tunnel - 5 (1 if e = 300s, state = inact ive)
Session-1 (life=300s)
User mac6 (inact ive)
在 LACl故障时, LACl正在维护 3条 L2TP隧道,分别为 Tunne卜 1、 Tunnel-2, Tu画卜 5。 以 Tunnel-1为例进行解释, 在 Tu画卜 1 中, 地 址为 macl 的远端用户使用的会话为 Session-1, Tunnel-1 的 life为 300s, Tunnel-1中的 Session-1的 life为 150s。 并且由于 LACl故障, Tunnel-1和 Session - 1的 state都设置为 inactive。
当 LACl故障恢复时, LAC2中的隧道、 会话的情况如下所示。
Tunnel-1 (1 if e = 310s, state = inact ive)
Tunnel-2 (1 if e = 300s, state = act ive) Session - 1 (1 if e=20s)
User mac4 (act ive)
Ses s ion-2 (1 if e=l 01 s)
User mac 3 (act ive)
Tunnel-3 (1 if e = 100s, state = act ive)
Session - 1 (1 if e=50s)
User mac5 (act ive)
可以看到, LAC2 中 Tunne卜 1的会话已删除, 原来的 Tunne卜 5也 删除,新增了 Tu画卜 3, Tu画卜 2仍存在,但 Tu画卜 2中的 Session - 1 变更了远端用户(更新为以 mac4作为地址的远端用户 ),并且 Tunnel-2 中的 Session-2的 life增长了 ls。 在此情况下, 通过 LAC1和 LAC2之 间的信息比对, LAC1 从 LAC2 更新了 Tunnel- Tunnel-2, Tunnel-3 并删除原有的 Tunne卜 5, 执行批量备份。 具体来说, 需要备份隧道、 会话的标识以及相应的 life、 state, 还要备份远端用户的地址、 LNS 的 IP地址等信息。 完成批量备份后, LAC1实现了与 LAC2的同步。
上述批量备份的应用场景也适用于图 8所示的 LAC1和 LAC2互为 对方的备份设备的情况。在图 8所示的情况下, 所述 LAC2向 LAC1批量 备份, 同时 LAC1也向 LAC24比量备份。
下面以 LAC2向 LAC1批量备份为例, 描述一种可以实现的 LAC1和 LAC2间进行信息对比并进行批量备份的方法。
501、 LAC2将自身的 state为 active的 tunnel 的相关信息发送 LAC1;
所述 state为 act ive的 tunnel的相关信息包括 tunnel的 life、 state, t醒 el的 ID (序歹 'J号) 、 t醒 el源 IP等。
LAC1接收 LAC2发送的所述相关信息后,根据不同情况分别执行下 述 S02、 S03、 S04。
502、若 LAC1中存在与 LAC2发送的 tunnel相同的 tunnel,其 state 为 inactive, 则将 LAC1 中的所述同名的 tunnel 的 life更新为 LAC2 发送的 tunnel的 life。 检测 tunnel是否相同的方法可以是: 将 tunnel的 ID进行比较, tunnel的 ID相同, 贝' J LAC1 中的 tunnel与 LAC2中的 tunnel相同。
503、若 LAC1中存在与 LAC2发送的 tunnel相同的 t醒 el,其 state 为 active, 则 LAC1保持所述的 tunnel的状态, 不进行更新。
504、若 LAC1 中不存在与 LAC2发送的 tunnel相同的 tunnel,则将 LAC2发送的 tunnel 添力口到 LAC1 中。
505、 LAC1中的 inactive状态的 tunnel, 如果在预设置的老化周 期内接收不到 LNS发来的控制报文, 也接收不到从 LAC2备份过来的控 制才艮文, 则对该 tunnel进行老化处理, 将其下的 sess ion也进行拆除, 但是不通知 LNS。
506、 LAC2将自身的 session的相关信息发送 LAC1。
所述 sess ion的相关信息包括 session的 life, state, session 的 ID (序歹 'J号) 、 session所在的 tunnel的 ID、 sess ion所承载的远 端用户的 MAC地址等。
507、 LAC1接收所述 LAC2发送的 session的相关信息后, 检测自 身是否存在所述 LAC2的 session所在的 tunnel。
如果存在所述 LAC2的 session所在的 tunnel, 转向步骤 S08, 否 则丟弃所述 LAC2的 session的相关信息, 不进行更新。
508、 在 LAC1 中存在所述 LAC2的 session所在的 tunnel情况下, 检测所述 LAC2的 session所在的 tunnel 中是否存在与所述 LAC2发送 的 s e s s i on的 I D相同的 s e s s i on。
如果不存在所述同名的 session, 转向步骤 S09;如果存在所述同 名的 session,转向步骤 S10。
509、根据所述 LAC2发送的 session信息在 LAC1 中对应的 tunnel 中创建 session。
510、 检测 LAC1和 LAC2中的同名的 sess ion是否有相同的远端用 户的 MAC地址。
如果有相同的 MAC地址, 转向步骤 S11, 否则转向步骤 S12。
511、 如果所述 LAC2发送的 session信息中的 life值大于 LAC1 中同名 session的 1 i f e值,将所述 LAC2发送的 session信息中的 life 值更新到 LAC1。
812、如果所述1^02发送的 session信息中的 life值小于等于 LAC1 中同名的 session的 life值,用 LAC2的 ses s ion替换 LAC1中的同名的 S6S s ion。
所述 LAC2发送的 session信息中的 life小于等于 LAC1 中同 ID 的 session的 life,表明 LAC2的 sess ion相对于 LAC1中同 ID的 session 是新建立的, 需要将新建立的同 ID的 session更新到 LAC1。
如果所述 LAC2发送的 session信息中的 1 if e值小于等于 LAC1 中 同名的 session的 life值, 转向步骤 S13。
513、 如果所述 LAC2发送的 session信息中的 life值大于 LAC1 中同名的 session的 life值, LAC1通知 LAC2将 life值大于 LAC1中同 ID的 session的 ses s ion进行删除。
在此情况下, LAC2的 session相对于 LAC1 中的同 ID的 session, 其 life值大, 表明 LAC2的 session是旧的, 需要删除。
在进行完上述 S01至 S13后, 还要分别执行下述 S14至 S16的步 骤以及 S17至 S19的步骤。
514、 在 LAC2上, 待全部的 tunnel和 session完成向 LAC1 的上 述批量备份后, 经过预定的等待时间 (比如, 两个老化周期) , 将所述 的批量备份中没有与 LAC1进行过对比的 session发送给 LAC1。
515、 LAC1接收到 session的相关信息后, 检查本地是否存在对应 的 session,:¾口果不存在,贝' J通 P LAC2清除该 session,否贝' J不#丈处理。
516、 LAC2接收到 LAC1发来的清除 session的通知,拆除 session。
517、 在 LAC1上, 待全部的 tunnel和 session完成由 LAC2发起 的上述 S01至 S13的批量备份后, 经过预定的等待时间(比如, 两个老 化周期) , 将所述的批量备份中没有与 LAC2进行过对比的 session的 相关信息发送给 LAC2。
518、 LAC2接收到 session的相关信息后, 检查本地是否存在对应 的 session,:¾口果不存在,贝' J通 P LAC2清除该 session,否贝' J不#丈处理。
519、 LAC1接收到 LAC2发来的清除 session的通知,拆除 session。 本发明实施例提供的维持传输线路连通的方法, 主用 LAC 向备用 LAC进行隧道传输信息的备份,使得当所述主用 LAC所在的主用传输线 路故障时, 可以通过所述备用 LAC实现数据报文传输的快速恢复, 增强 了网络业务的可靠性, 同时, 恢复数据报文传输时不需重新拨号, 恢复 时间短, 提升了用户体验。 此外, 主用 LAC和备用 LAC可以分别维护各 自的 L2TP隧道进行数据报文传输, 并互为对方的备用机, 由此可以分 担负载流量, 提高设备的使用率。
实施例 3:
在如图 3 所示的网络系统的应用场景基础上, 本发明实施例提供 了一种隧道切换的方法, 如图 9所述, 所述方法包括以下步骤:
901、 备用 LNS接收主用 LNS发送的主用传输线路的隧道传输信息 的备份信息。
本发明实施例提供的方法运用在如图 10所示的网络系统中, 图 10 所示的网络系统以图 3为基础, 配置了至少两个 LNS。 在系统建立时, 可以人为的选定一台 LNS作为主用 LNS (LNS3)。 其中, 主用 LNS与 LAC 之间的 L2TP隧道为主用 L2TP隧道; 主用 LNS之外的其他 LNS为备用 LNS。 图 10中以一个备用 LNS (LNS4)为例来进行说明, 当然也可以配置 一个以上的备用 LNS, 本发明实施例对此不做限制。
图 10 中的远端用户 PC3通过所述主用 L2TP隧道将远端用户的数 据报文传输至私网系统, 并通过所述主用 L2TP隧道接收私网系统的数 据才艮文。 在 LNS3启动时, 与 LNS3对应的备用 LNS (LNS4)也启动, 开始 接收 LNS3发送的主用传输线路的隧道传输信息的备份信息
LNS3向 LNS4进行备份的过程可参考实施例 2 中主用 LAC向备用 LAC进行备份的过程, 本发明实施例不再赘述。
902、 当主用 LNS所在的主用传输线路故障时, 备用 LNS根据所述 备份信息中记录的隧道封装标准对所述私网系统的数据报文进行 L2TP 封装并发送至 LAC; 同时还接收经 LAC发送的远端用户的数据报文, 根 据所述隧道封装标准进行 L2TP解封装后转发至私网系统。
主用 LNS所在的主用传输线路故障包括, 主用 L2TP隧道所在的网 络故障、 主用 LNS故障或主用 LNS与私网系统间的网络故障。 图 10中 以主用 L2TP隧道所在的网络故障为例,由于 LNS 3不能直接连接到 LAC, 从而无法连接 PC3。 作为 LNS3的备用机的 LNS4备份有与 LNS3相同的 IP地址 (比如, LNS3的 IP地址为 IP3, LNS4 的 IP地址为 IP4, LNS4 同时还备份有 IP3 ) 。 远端用户的数据报文传输至 LAC后, 由 LAC根据 所述隧道封装表中进行 L2TP封装后, 经过 LNS4维护的备用 L2TP隧道 传输到 LNS4, 并由 LNS4经过 L2TP解封装后转发至私网系统。 另一方 面, 私网系统的数据报文传输至 LNS4, 并经 LNS4进行 L2TP封装后, 经由备用 L2TP隧道传输至 LAC,最后由 LAC转发到远端用户。由于 LNS4 上备份有与 LNS3—致的隧道传输信息, 从而可以使用 IP3建立与 LAC 之间的备用 L2TP隧道, 实现将 PC3的数据报文发送给私网系统, 并可 以将所述私网系统的数据报文经 LAC转发给 PC3, PC3与私网系统不会 感知网络上的故障。
进一步的,作为图 10的一种实际应用的场景,当 LNS3或主用 L2TP 隧道故障时,会出现 LNS3与 LNS4的链路中断的情况,在此情况下 LNS3 通过所述备用 L2TP隧道承担数据报文的转发并经历一段时间后, 远端 用户的上下线会导致 LNS3 的隧道信息、 会话信息及用户信息和 LNS4 的隧道信息、 会话信息及用户信息出现差别。 如果此时 LNS3 与 LNS4 间的链路恢复连通, LNS4 要将当前自身的隧道信息、 会话信息及用户 信息与 LNS3的隧道信息、会话信息及用户信息进行比对,并进行向 LNS3 的批量备份。 实现 LNS3和 LNS4之间的信息比对及批量备份的描述, 可 以参考本发明实施例 2中 LAC1和 LAC2之间的信息比对及批量备份的相 关描述, 此处不再赘述。
再进一步的, 备用 LNS在主用 LNS 所在的主用传输线路正常工作 (即主用 LNS 与私网系统间的网络正常、 主用 LNS 正常并且主用 LNS 与 LAC间的链路正常)的情况下, 仅接收主用 LNS的备份信息, 自身并 不承载数据报文的传输。 作为一种可选的实施方式, 可以令备用 LNS 与主用 LNS互为备份设备。 如图 11所示, LNS3承载了远端用户 PC3与 私网系统之间的数据报文传输, LNS4承载了远端用户 PC4与私网系统 之间的数据报文传输。 PC3通过 SW3连接到 LAC, PC4通过 SW4连接到 LAC。 正常情况下, LNS3使用 IP3_1作为 IP地址, 通过第一主用 L2TP 隧道与 LAC间进行数据报文收发,维持 PC 3与私网系统的数据报文传输, 并将备份信息发送到 LNS4; LNS4使用 IP4_1作为 IP地址,通过第二主 用 L2TP隧道与 LAC连接, 维持 PC4与私网系统的数据报文传输, 将备 份信息备份到 LNS3。 LNS3和 LNS4相互备份对方的 IP地址。 当 LNS3 的第一主用 L2TP隧道所在的传输线路故障时,作为 LNS3备用机的 LNS4 使用 IP3_1,通过第一备用 L2TP隧道维持与 LAC的连接, 以保证 PC3与 私网系统间的数据报文传输,使原来第一主用 L2TP隧道的会话不中断; 相应的, 当 LNS4 的第二主用 L2TP 隧道所在的传输线路故障时, 作为 LNS4的备用机的 LNS3使用 IP3_1, 通过第二备用 L2TP隧道维持与 LAC 的连接, 以保证 PC4与私网系统间的数据报文传输,使得原来第二主用 L2TP隧道的会话不中断。
本发明实施例提供的维持传输线路连通的方法, 主用 LNS 向备用 LNS进行隧道传输信息的备份,使得当所述主用 LNS所在的主用传输线 路故障时, 可以通过所述备用 LNS实现数据报文传输的快速恢复, 增强 了网络业务的可靠性, 同时, 恢复数据报文传输时不需重新拨号, 恢复 时间短, 提升了用户体验。 此外, 主用 LNS和备用 LNS可以分别维护各 自的 L2TP隧道进行数据报文传输, 并互为对方的备用机, 由此可以分 担负载流量, 提高设备的使用率。
实施例 4:
在如图 5 所示的网络系统中, 配置了至少两个 LAC。 其中, 主用 LAC与 LNS之间的 L2TP隧道为主用 L2TP隧道;主用 LAC之外的其他 LAC 为备用 LAC。 备用 LAC接收主用 LAC的备份信息。 当主用 LAC所在的主 用传输线路故障时, 备用 LAC通过备用 L2TP隧道维持私网系统和远端 用户 (PC1 ) 间的数据报文传输。 在此基础上, 本发明实施例提供了一 种维持传输线路连通的装置, 如图 12所示, 所述装置集成在备用 LAC 中, 包括: 备份信息接收单元 121、 报文封装发送单元 122, 第一转发 报文接收单元 123。
备份信息接收单元 121 用于接收主用 LAC发送的主用传输线路的 隧道传输信息的备份信息;所述隧道传输信息记录了用户的数据报文使 用的以太网封装标准、在隧道传输时的隧道封装标准以及所述以太网封 装标准和所述隧道封装标准的对应关系;
报文封装发送单元 122 用于当主用 LAC所在的主用传输线路故障 时,根据所述备份信息, 将远端用户的数据报文以备份信息中记录的隧 道封装标准进行 L2TP封装并发送至 L2TP网络服务器,以使得所述 L2TP 网络服务器将所述备用 L2TP接入集中器发送的数据报文转发至所述私 网系统; 和将由 L2TP网络服务器传递的私网系统的数据报文以备份信 第一转发报文接收单元 123用于当所述主用 LAC与所述远端用户 间的网络故障时, 接收主用 LAC转发的私网系统的数据报文。
私网系统的数据报文首先传递至 LNS, 经 LNS根据所述隧道封装标 准进行 L2TP封装后传输至主用 LAC。 主用 LAC将封装后的私网系统的 报文转发给备用 LAC。备用 LAC以备份信息中记录的隧道封装标准对数 据报文进行 L2TP解封装后, 用以太网封装标准进行以太网封装并将数 据报文发送至远端用户。
作为另一种可选的应用场景, 在如图 10所示的网络系统中, 本发 明实施例的维持传输线路连通的装置可以集成在备用 LNS (LNS4)中。如 图 13所示, 所述装置包括: 备份信息接收单元 131、 报文封装发送单 元 132、 第二转发报文接收单元 133。
备份信息接收单元 131 用于接收主用 LNS发送的主用传输线路的 隧道传输信息的备份信息。
报文封装发送单元 132 用于根据所述备份信息, 将私网系统的数 以使得所述 LAC将所述备用 LNS发送的数据报文进行 L2TP解封装、 以 太网封装后发送至所述远端用户。
第二转发报文接收单元 133用于当所述主用 LNS 与所述远端用户 间的网络故障时, 接收主用 LNS转发的远端用户的数据报文,以使得所 述主用 LNS转发的远端用户的数据报文经备用 LNS发送至 LAC,并经 LAC 进行 L2TP解封装和以太网封装后发送至远端用户。
进一步的, 实现主用 LAC和备用 LAC (或主用 LNS和备用 LNS)之间 的信息比对及批量备份的描述, 可以参考本发明实施例 2、 实施例 3的 相关描述, 此处不再赘述。
再进一步的, 作为本发明实施例的一种实现场景, 可以令备用 LAC 与主用 LAC (或者是令备用 LNS与主用 LNS)互为备份设备。 具体描述参 考本发明实施例 2、 3中的描述, 此处不再赘述。
本发明实施例提供的维持传输线路连通的装置, 主用 LAC (LNS)向 备用 LAC (LNS)进行隧道传输信息的备份, 使得当所述主用 LAC (LNS)所 在的主用传输线路故障时, 可以通过所述备用 LAC (LNS)实现数据报文 传输的快速恢复, 增强了网络业务的可靠性, 同时, 恢复数据报文传输 时不需重新拨号, 恢复时间短, 提升了用户体验。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本 发明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬件, 但 很多情况下前者是更佳的实施方式。基于这样的理解, 本发明的技术方案本 质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该 计算机软件产品存储在可读取的存储介质中, 如计算机的软盘,硬盘或光盘 等, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述的方法。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并 不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围 内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应所述以权利要求的保护范围为准。

Claims

权利 要求 书
1、 一种维持传输线路连通的方法, 其特征在于, 包括:
备用转发设备接收主用转发设备发送的主用传输线路的隧道传输信 息的备份信息; 所述隧道传输信息记录了用户的数据报文使用的以太网 封装标准、 在隧道传输时的隧道封装标准以及所述以太网封装标准和所 述隧道封装标准的对应关系;
当主用转发设备所在的主用传输线路故障时, 备用转发设备根据所 述备份信息, 将远端用户的数据报文进行封装并向私网系统发送; 或
将私网系统的数据报文进行封装并向远端用户发送; 所述主用传输 线路包括主用转发设备与远端用户间的传输线路以及所述主用转发设备 与所述私网系统间的传输线路。
2、 根据权利要求 1所述的方法, 其特征在于, 当所述主用转发设备 为主用 L2TP接入集中器时, 所述备用转发设备根据所述备份信息, 将远 端用户的数据报文进行封装并向私网系统发送包括:
备用 L2TP接入集中器根据所述备份信息, 将远端用户的数据报文以 备份信息中记录的隧道封装标准进行封装并发送至 L2TP网络服务器, 以 使得所述 L2TP 网络服务器将所述备用 L2TP接入集中器发送的数据报文 转发至所述私网系统。
3、 根据权利要求 1所述的方法, 其特征在于, 当所述主用转发设备 为主用 L2TP接入集中器时, 所述将私网系统的数据报文进行封装并向远 端用户发送包括:
将由 L2TP网络服务器传递的私网系统的数据报文以备份信息中记录
4、 根据权利要求 1所述的方法, 其特征在于, 当所述主用转发设备 为主用 L2TP网络服务器时, 所述备用转发设备根据所述备份信息, 将所 述私网系统的报文进行封装并向远端用户发送包括:
备用 L2TP网络服务器根据所述备份信息, 将私网系统的数据报文以 备份信息中记录的隧道封装标准进行封装并发送至 L2TP接入集中器, 以 使得所述 L2TP接入集中器将所述备用 L2TP 网络服务器发送的数据报文 转发至所述远端用户。
5、 根据权利要求 2或 3所述的方法, 其特征在于, 当所述主用 L2TP 接入集中器与所述远端用户间的网络故障时, 还包括: 备用 L2TP接入集中器接收主用 L2TP接入集中器经所述隧道封装标 准封装后转发的私网系统的数据报文, 以使得主用 L2TP接入集中器转发 的私网系统的数据报文经备用 L2TP接入集中器以备份信息中记录的以太 网封装标准进行封装后发送至远端用户。
6、 根据权利要求 4 所述的方法, 其特征在于, 当所述主用 L2TP 网 络服务器与所述远端用户间的网络故障时, 还包括:
备用 L2TP 网络服务器接收主用 L2TP 网络服务器转发的远端用户的 数据报文, 以使得所述主用 L2TP网络服务器转发的远端用户的数据报文 经备用 L2TP网络服务器发送至私网系统。
7、 一种维持传输线路连通的装置, 其特征在于, 包括:
备份信息接收单元, 用于接收主用转发设备发送的主用传输线路的 隧道传输信息的备份信息; 所述隧道传输信息记录了用户的数据报文使 用的以太网封装标准、 在隧道传输时的隧道封装标准以及所述以太网封 装标准和所述隧道封装标准的对应关系;
报文封装发送单元, 用于当主用转发设备所在的主用传输线路故障 时, 备用转发设备根据所述备份信息, 将远端用户的数据报文进行封装 并向私网系统发送; 或
将私网系统的数据报文进行封装并向远端用户发送; 所述主用传输 线路包括主用转发设备与远端用户间的传输线路以及所述主用转发设备 与所述私网系统间的传输线路。
8、 根据权利要求 7所示的装置, 其特征在于, 当所述主用转发设备 为主用 L2TP接入集中器、 所述备用转发设备为备用 L2TP接入集中器时, 文以备份信息中记录的隧道封装标准进行封装并发送至 L2TP 网络服务 器, 以使得所述 L2TP 网络服务器将所述备用 L2TP接入集中器发送的数 据报文转发至所述私网系统; 和
将由 L2TP网络服务器传递的私网系统的数据报文以备份信息中记录
9、 根据权利要求 7所述的装置, 其特征在于, 当所述主用转发设备 为主用 L2TP网络服务器, 所述备用转发设备为备用 L2TP网络服务器时, 文以备份信息中记录的隧道封装标准进行封装并发送至 L2TP 接入集中 器, 以使得所述 L2TP接入集中器将所述备用 L2TP 网络服务器发送的数 据报文转发至所述远端用户。
1 0、 根据权利要求 8所述的装置, 其特征在于, 当所述主用 L2TP接 入集中器与所述远端用户间的网络故障时, 还包括:
第一转发报文接收单元, 用于接收主用 L 2TP接入集中器经所述隧道 封装标准封装后转发的私网系统的数据报文, 以使得主用 L 2TP接入集中 器转发的私网系统的数据报文经备用 L 2 TP接入集中器以备份信息中记录
1 1、 根据权利要求 9所述的装置, 其特征在于, 当所述主用 L2TP网 络服务器与所述远端用户间的网络故障时, 还包括:
第二转发报文接收单元, 用于接收主用 L 2TP网络服务器转发的远端 用户的数据报文, 以使得所述主用 L 2TP网络服务器转发的远端用户的数 据报文经备用 L2TP网络服务器发送至私网系统。
PCT/CN2011/076595 2011-06-29 2011-06-29 维持传输线路连通的方法和装置 WO2012103725A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180001046.XA CN102742222B (zh) 2011-06-29 2011-06-29 维持传输线路连通的方法和装置
PCT/CN2011/076595 WO2012103725A1 (zh) 2011-06-29 2011-06-29 维持传输线路连通的方法和装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/076595 WO2012103725A1 (zh) 2011-06-29 2011-06-29 维持传输线路连通的方法和装置

Publications (1)

Publication Number Publication Date
WO2012103725A1 true WO2012103725A1 (zh) 2012-08-09

Family

ID=46602073

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076595 WO2012103725A1 (zh) 2011-06-29 2011-06-29 维持传输线路连通的方法和装置

Country Status (2)

Country Link
CN (1) CN102742222B (zh)
WO (1) WO2012103725A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337158A (zh) * 2018-01-23 2018-07-27 新华三技术有限公司 单播报文转发方法和装置
CN112600704A (zh) * 2020-12-14 2021-04-02 北京神经元网络技术有限公司 高速工业总线系统及其控制节点的切换方法、装置和存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2760157B1 (en) * 2012-11-22 2016-04-06 Huawei Technologies Co., Ltd. Method, device and system for backing up device information
CN105634779B (zh) * 2014-11-04 2019-09-03 南京中兴软件有限责任公司 主备设备的运行处理方法及装置
CN107835126B (zh) * 2017-10-19 2021-08-24 苏州盛科通信股份有限公司 一种报文转发方法及系统
CN110650168B (zh) * 2018-06-27 2021-09-14 华为技术有限公司 一种通信方法及其装置
CN113300981A (zh) * 2020-02-21 2021-08-24 华为技术有限公司 报文传输方法、装置及系统
CN115277545A (zh) * 2022-06-21 2022-11-01 浪潮通信技术有限公司 主备网络切换方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070183317A1 (en) * 2006-02-03 2007-08-09 Jean-Philippe Vasseur Technique for determining whether to reestablish fast rerouted primary tunnels based on backup tunnel path quality feedback
CN101826954A (zh) * 2010-03-30 2010-09-08 中兴通讯股份有限公司 集中式网络节点中实现热备份的方法及系统
CN102098201A (zh) * 2009-12-14 2011-06-15 中兴通讯股份有限公司 一种实现l2tp用户接入备份的方法及网络系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534257B (zh) * 2009-04-16 2012-05-23 华为技术有限公司 消息处理方法、系统及设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070183317A1 (en) * 2006-02-03 2007-08-09 Jean-Philippe Vasseur Technique for determining whether to reestablish fast rerouted primary tunnels based on backup tunnel path quality feedback
CN102098201A (zh) * 2009-12-14 2011-06-15 中兴通讯股份有限公司 一种实现l2tp用户接入备份的方法及网络系统
CN101826954A (zh) * 2010-03-30 2010-09-08 中兴通讯股份有限公司 集中式网络节点中实现热备份的方法及系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337158A (zh) * 2018-01-23 2018-07-27 新华三技术有限公司 单播报文转发方法和装置
CN108337158B (zh) * 2018-01-23 2020-12-04 新华三技术有限公司 单播报文转发方法和装置
CN112600704A (zh) * 2020-12-14 2021-04-02 北京神经元网络技术有限公司 高速工业总线系统及其控制节点的切换方法、装置和存储介质

Also Published As

Publication number Publication date
CN102742222B (zh) 2015-05-13
CN102742222A (zh) 2012-10-17

Similar Documents

Publication Publication Date Title
WO2012103725A1 (zh) 维持传输线路连通的方法和装置
JP5727055B2 (ja) 地理的冗長ゲートウェイでのセッション復元性のためのシステムおよび方法
RU2526749C2 (ru) Способ и система реализации достижимости маршрута к хосту в кольце доступа сети передачи пакетов
CN102480423B (zh) 一种l2tp网络的保护方法及系统
CN101483673B (zh) 异地热备实现方法及系统
WO2008119300A1 (fr) Procédé et dispositif de protection pour service d'arborescence ethernet
EP3379778B1 (en) Data packet transmission method and device
WO2009082978A1 (fr) Procédé de protection de réseau d'accès, système et nœud de bord d'accès
WO2011116722A2 (zh) Isr激活场景中移动管理设备故障的处理方法及设备
WO2018171744A1 (zh) 无线链路监测方法和用户设备
CN101123563B (zh) 一种用于多跳伪线下平稳重启的方法、装置及网络
JP3620010B2 (ja) 無線通信システムで用いられる装置とプログラム記録媒体
WO2014082414A1 (zh) 业务转发的方法及设备
EP3407544B1 (en) Fault-tolerant monitoring of tunneled ip flows
CN102647288A (zh) 一种vm数据访问保护方法及系统
WO2006053499A1 (en) A method for detecting and resuming maintenance link
WO2010075727A1 (zh) 数据传输异常的处理方法及路径功能实体
CN105592490A (zh) 一种路由切换方法及设备
WO2013091170A1 (zh) 一种处理设备故障的方法、装置及系统
WO2014187197A1 (en) Migrating multicast flow
WO2013026308A1 (zh) 一种业务节点及业务节点间用户协议消息同步的方法
WO2014044088A1 (zh) L2tp网络的保护方法、装置及系统
WO2011143891A1 (zh) 用户业务信息备份方法和装置
EP2244428B1 (en) Communication apparatus for transmitting data through a plurality of data-paths
Rahman et al. A self-healing approach for LTE evolved packet core

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001046.X

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11857739

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11857739

Country of ref document: EP

Kind code of ref document: A1