WO2019047855A1 - 一种bras转控分离的备份方法和装置 - Google Patents

一种bras转控分离的备份方法和装置 Download PDF

Info

Publication number
WO2019047855A1
WO2019047855A1 PCT/CN2018/104186 CN2018104186W WO2019047855A1 WO 2019047855 A1 WO2019047855 A1 WO 2019047855A1 CN 2018104186 W CN2018104186 W CN 2018104186W WO 2019047855 A1 WO2019047855 A1 WO 2019047855A1
Authority
WO
WIPO (PCT)
Prior art keywords
bras
tunnel
primary
standby
session information
Prior art date
Application number
PCT/CN2018/104186
Other languages
English (en)
French (fr)
Inventor
张仁强
施鸿殊
晁岳磊
Original Assignee
新华三技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 新华三技术有限公司 filed Critical 新华三技术有限公司
Publication of WO2019047855A1 publication Critical patent/WO2019047855A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Definitions

  • the BRAS Broadband Remote Access Server
  • the BRAS is located at the edge of the IP network as the access gateway of the user. Due to the tight coupling of the control plane and the forwarding plane, the traditional BRAS affects the performance processing and can not fully exert the performance of the control plane and the forwarding plane, and the resource utilization is low.
  • a virtualized BRAS that is, a vBRAS, in which a control plane and a forwarding plane are separated is proposed.
  • vBRAS utilizes the concept of NFV (Network Functions Virtualization), which is a virtual deployment product on a virtual machine or server.
  • NFV Network Functions Virtualization
  • the function of vBRAS is roughly the same as that of the traditional BRAS, but the control plane and forwarding plane of vBRAS are separate.
  • the control plane can be implemented by a BRAS-CP (BRAS Control Plane, a broadband remote access server control plane, that is, a control plane in the remote control vBRAS system).
  • the BRAS-CP device is located as a user control management component, and can be used to implement functions such as user control management, user access control, user authentication and authorization charging, address management, and configuration management.
  • the forwarding plane can be implemented by the BRAS-UP (BRAS User Plane, the broadband remote access server user plane, that is, the forwarding plane in the remote control vBRAS system).
  • the BRAS-UP device is located at the edge of the Layer 3 network and is a user policy enforcement component. It can be used to implement traffic forwarding, QoS (Quality of Service), and traffic statistics.
  • FIG. 1 is a schematic diagram of an application scenario in an implementation manner of the present application
  • FIG. 2 is a flowchart of a backup method for BRAS transfer separation in an embodiment of the present application
  • FIG. 3 is a structural diagram of a backup device for BRAS transfer separation in an embodiment of the present application.
  • FIG. 4 is a hardware structural diagram of a BRAS-CP device in an embodiment of the present application.
  • first, second, third, etc. may be used to describe various information in this application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as the second information without departing from the scope of the present application.
  • second information may also be referred to as the first information.
  • word “if” may be interpreted as "at time”, or "when", or "in response to determination.”
  • the user equipment accesses the Internet (Internet) through the BRAS-UP device, and when the BRAS-UP device fails, all the user equipments that access the Internet through the BRAS-UP device Business interruptions have caused these user devices to be interrupted, and the user's business experience is poor.
  • Internet Internet
  • the embodiment of the present application proposes a backup method for BRAS transfer separation.
  • the method can be applied to systems including BRAS-CP devices and multiple BRAS-UP devices, such as vBRAS systems and the like.
  • the BRAS-CP device is a device that implements a control plane, and is configured to implement functions such as user control management, user access control, user authentication and authorization charging, address management, and configuration management.
  • the BRAS-UP device is a device that implements the forwarding plane and implements functions such as traffic forwarding, QoS, traffic statistics, ACL (Access Control List) control, CAR (Committed Access Rate), and route advertisement. .
  • FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application.
  • a BRAS-CP device and at least two BRAS-UP devices may be included.
  • one BRAS-CP device 141 is used, and three BRAS-UP devices 131-133 are taken as an example for description.
  • the number of BRAS-CP devices and the BRAS-UP device are shown. The number can be more, and there is no limit to the number.
  • user devices 111-116 may be, for example, a virtual machine, a PC (Personal Computer), a mobile phone, or a host.
  • the authentication server 171 may be an AAA (Authentication Authorization Accounting) server, a RADIUS (Remote Authentication Dial In User Service) server, or the like.
  • the management orchestrator 161 can be MANO (management and organization) for implementing management and control of the BRAS-CP device 141 and the BRAS-UP devices 131-133.
  • the API can be invoked through the Netconf (Network Configuration) protocol.
  • the Programming Interface interface completes the interaction with the BRAS-CP device 141 and the BRAS-UP devices 131-133.
  • a core router CR (Core Router) 151 is used for data packet routing and forwarding.
  • the BRAS-CP device can be a virtual BRAS-CP device in the form of software, such as a virtual resource running on an X86 server with BRAS service processing capabilities.
  • the BRAS-CP device can also be a physical BRAS-CP device in the form of hardware, such as a server with BRAS service processing capabilities.
  • the BRAS-UP device can be a virtual BRAS-UP device in the form of software, such as a virtual resource running on an X86 server.
  • the BRAS-UP device can also be a physical BRAS-UP device in the form of hardware, such as a router or switch.
  • the above process only introduces two manifestations of the BRAS-CP device and the BRAS-UP device, and there is no limitation on this.
  • the BRAS-UP device is a virtual BRAS-UP device
  • different BRAS-UP devices can be deployed on the same server or on different servers.
  • the BRAS-CP device is a virtual BRAS-CP device and the BRAS-UP device is a virtual BRAS-UP device
  • the BRAS-CP device and the BRAS-UP device may be deployed on the same server or on different servers.
  • the BRAS-CP device can establish a tunnel with each BRAS-UP device, such as establishing an openflow tunnel.
  • tunnel A can be established between BRAS-CP device 141 and BRAS-UP device 131.
  • the source address of the tunnel A is the address of the BRAS-CP device 141
  • the destination address is the address of the BRAS-UP device 131.
  • the destination address of the tunnel A is the address of the BRAS-CP device 141
  • the source address is the address of the BRAS-UP device 131.
  • tunnel B can be established between the BRAS-CP device 141 and the BRAS-UP device 132
  • a tunnel C can be established between the BRAS-CP device 141 and the BRAS-UP device 133.
  • the source and destination addresses of tunnel B and tunnel C are similar to those of tunnel A, and are not described here.
  • a tunnel backup group may be created first.
  • the tunnel backup group may include a primary tunnel between the BRAS-CP device and the primary BRAS-UP device, and a backup tunnel between the BRAS-CP device and the standby BRAS-UP device.
  • the number of the primary tunnels in one tunnel backup group can be one, and the number of the standby tunnels can be one or more.
  • the primary tunnels of different tunnel backup groups can be different, and the backup tunnels of different tunnel backup groups can be the same or different.
  • the primary tunnels of different tunnel backup groups can be the same, and the standby tunnels of different tunnel backup groups can be different.
  • the difference between the main tunnels of different tunnel backup groups is taken as an example.
  • the process of creating a tunnel backup group may include, but is not limited to, the following:
  • the BRAS-CP device divides the tunnel between the BRAS-CP device and each BRAS-UP device into a working tunnel and a non-working tunnel; the BRAS-CP device creates a tunnel backup group for each working tunnel, which is created.
  • a tunnel backup group the primary tunnel is the working tunnel and the standby tunnel is the non-working tunnel.
  • one tunnel may be selected as a non-working tunnel, and all tunnels other than the non-working tunnel are working tunnels. In this way, a backup relationship can be established between the N working tunnels and one non-working tunnel to form an N:1 backup relationship.
  • all tunnels may include tunnel A, tunnel B, and tunnel C.
  • the BRAS-CP device 141 may select tunnel B as a non-working tunnel from all tunnels, and tunnel A and tunnel C as working tunnels.
  • the BRAS-CP device 141 creates a tunnel backup group 1 for the tunnel A.
  • the primary tunnel of the tunnel backup group 1 is the tunnel A, and the standby tunnel can be the tunnel B.
  • the BRAS-CP device 141 creates a tunnel backup group 2 for the tunnel C.
  • the primary tunnel of the tunnel backup group 2 is the tunnel C, and the standby tunnel can be the tunnel B.
  • the BRAS-CP device obtains the tunnel between the BRAS-CP device and each BRAS-UP device in turn; the BRAS-CP device creates a tunnel backup group for the obtained tunnel.
  • the primary tunnel is The currently acquired tunnel, and the standby tunnel is a tunnel other than the currently acquired tunnel.
  • the tunnel backup group 1 can be created for the tunnel A.
  • the primary tunnel of the tunnel backup group 1 is the tunnel A, and the standby tunnel can be the tunnel B or the tunnel. C.
  • the tunnel backup group 2 can be created for the tunnel B.
  • the primary tunnel of the tunnel backup group 2 is the tunnel B, and the standby tunnel can be the tunnel A or the tunnel C.
  • the tunnel backup group 3 can be created for the tunnel C.
  • the primary tunnel of the tunnel backup group 3 is the tunnel C, and the standby tunnel can be the tunnel A or the tunnel B.
  • the BRAS-CP device receives the tunnel backup message sent by the management orchestrator, and parses the primary tunnel information and the standby tunnel information from the tunnel backup message, and creates a tunnel backup group by using the primary tunnel information and the standby tunnel information, that is, based on The primary tunnel information determines the primary tunnel, and the standby tunnel is determined based on the standby tunnel information.
  • the management orchestrator 161 determines that the tunnel A between the BRAS-CP device 141 and the BRAS-UP device 131 is the primary tunnel, and the tunnel B between the BRAS-CP device 141 and the BRAS-UP device 132 is The tunnel backup message is sent to the BRAS-CP device 141.
  • the primary tunnel information carried by the tunnel backup message is the tunnel A between the BRAS-CP device 141 and the BRAS-UP device 131.
  • the tunnel backup message is carried.
  • the standby tunnel information is a tunnel B between the BRAS-CP device 141 and the BRAS-UP device 132.
  • the BRAS-CP device 141 can create the tunnel backup group 1, the primary tunnel of the tunnel backup group 1 is the tunnel A, and the standby tunnel is the tunnel B.
  • the management orchestrator 161 can determine the primary tunnel and the standby tunnel in the tunnel backup group according to the preset policy. As long as the primary tunnels of the different tunnel backup groups are different, the preset policy is not limited. For example, the management orchestrator 161 can determine that the primary tunnel in the tunnel backup group 1 is the tunnel A and the standby tunnel is the tunnel B, and can determine that the primary tunnel in the tunnel backup group 2 is the tunnel C and the standby tunnel is the tunnel B.
  • the standby tunnel in the tunnel backup group can also be adjusted.
  • the BRAS-CP device can transmit session information to the BRAS-UP device through the above tunnel (eg, an openflow tunnel, etc.).
  • the BRAS-CP device can also establish a VXLAN (Virtual Extensible Local Area Network) tunnel with each BRAS-UP device.
  • the BRAS-UP device and the BRAS-CP device can transmit related packets through the VXLAN tunnel. .
  • a VXLAN tunnel 1 can be established between the BRAS-CP device 141 and the BRAS-UP device 131.
  • the source address of the VXLAN tunnel 1 is the address of the BRAS-CP device 141, and the destination address is BRAS.
  • the address of the UP device 131; on the BRAS-UP device 131, the destination address of the VXLAN tunnel 1 is the address of the BRAS-CP device 141, and the source address is the address of the BRAS-UP device 131.
  • VXLAN tunnel 2 can be established between the BRAS-CP device 141 and the BRAS-UP device 132
  • a VXLAN tunnel 3 can be established between the BRAS-CP device 141 and the BRAS-UP device 133 for VXLAN tunnel 2 and VXLAN tunnel 3 I will not repeat them in detail.
  • the user equipment can authenticate the user equipment before accessing the Internet. After the user equipment passes the authentication, the user equipment can access the Internet. Since the authentication process of each user equipment is the same, the authentication process of the user equipment 111 is taken as an example for description.
  • IPOE Internet Protocol over Ethernet
  • DHCP Dynamic Host Configuration Protocol
  • the user equipment 111 sends a DHCP-DISCOVER message, and after receiving the DHCP-DISCOVER message, the BRAS-UP device 131 sends the DHCP-DISCOVER message to the BRAS-CP device 141 through the VXLAN tunnel 1.
  • the BRAS-CP device 141 creates an IPoE session and sends an authentication request message to the authentication server 171, where the authentication request message includes user information, such as a Client ID option in the DHCP-DISCOVER message, and a source MAC (Media Access Control, media).
  • the access control) address ie, the MAC address of the user equipment 111) and the like.
  • the BRAS-CP device 141 receives the authentication result returned by the authentication server 171. If the authentication is passed, the authentication result is the authentication acceptance message, and the authentication acceptance message carries the authorization information for the user equipment 111; if the authentication fails, the authentication result is the authentication rejection message. Subsequent certification is passed as an example for explanation.
  • the BRAS-CP device 141 updates the IPoE session status to the authentication pass, and forwards the DHCP-DISCOVER message to the DHCP server (not shown in FIG. 1).
  • the DHCP server can respond to the DHCP-OFFER message, and the BRAS-CP device 141 forwards the DHCP-OFFER message to the BRAS-UP device 131 through the VXLAN tunnel 1, and the BRAS-UP device 131 forwards the DHCP-OFFER message to the User equipment 111.
  • the user equipment 111 sends a DHCP-REQUEST message
  • the BRAS-UP device 131 sends a DHCP-REQUEST message to the BRAS-CP device 141 through the VXLAN tunnel 1 after receiving the DHCP-REQUEST message.
  • the BRAS-CP device 141 sends a DHCP-REQUEST message to the DHCP server.
  • the DHCP server responds with a DHCP-ACK (acknowledgement) message carrying the assigned IP address.
  • the BRAS-CP device 141 parses the user's IP address and other address parameter information from the DHCP-ACK message, updates the session information of the IPoE session, and sets the state of the IPoE session to online. In addition, the BRAS-CP device 141 forwards the DHCP-ACK message to the BRAS-UP device 131 through the VXLAN tunnel 1, and the BRAS-UP device 131 forwards the DHCP-ACK message to the user device 111. The user equipment 111 obtains an IP address and related address parameter information according to the received DHCP-ACK message.
  • PPPoE Point to Point Protocol over Ethernet
  • the user equipment 111 can access the Internet through the BRAS-UP device 131, and the session information corresponding to the user equipment 111 is recorded on the BRAS-CP device 141.
  • the process of sending the DHCP-DISCOVER packet to the BRAS-CP device 141 through the VXLAN tunnel 1 by the BRAS-UP device 131 can also be implemented as follows:
  • the BRAS-UP device 131 can establish a correspondence between the VSI interface 1 and the VXLAN identifier 101, and the VXLAN identifier 101 corresponds to the VXLAN tunnel 1 to establish the VSI interface 2 and the VXLAN identifier 102.
  • the VXLAN identifier 102 corresponds to the VXLAN tunnel 1
  • the VXLAN identifier 103 corresponds to the VXLAN tunnel 1.
  • the VSI interface 1 corresponds to the physical interface 1 (the interface connected to the switch 121 on the BRAS-UP device 131), and the VSI interface 2 corresponds to the physical interface 2 (the interface connected to the switch 122 on the BRAS-UP device 131).
  • the VSI interface 3 corresponds to the physical interface 3 (an interface connected to the switch 123 on the BRAS-UP device 131).
  • the BRAS-UP device 131 may first determine the VSI interface 1 corresponding to the physical interface 1, and then the BRAS-UP device 131 queries the VSI interface and the VXLAN tunnel. Corresponding relationship, VXLAN tunnel 1 corresponding to VSI interface 1 can be obtained. The BRAS-UP device 131 sends a DHCP-DISCOVER message to the BRAS-CP device 141 through the VXLAN tunnel 1.
  • the switch 121 in order to enable the access BRAS-UP device of each user equipment connected to the switch 121 to be the BRAS-UP device 131, the switch 121 can be controlled to send the DHCP-DISCOVER message to the BRAS-UP device 131 instead of It is sent to the BRAS-UP device 132 or the BRAS-UP device 133.
  • the switch 121 can send the DHCP-DISCOVER packet to the BRAS-UP device 131.
  • the BRAS-CP device 141 or the management orchestrator 161 notifies the BRAS-UP device 132 and the BRAS-UP device 133 to set the interface itself connected to the switch 121 to the DOWN state, based on which the BRAS-UP device 132 can set the device.
  • the interface connected to the switch 121 is set to the DOWN state, and the BRAS-UP device 133 can set the interface connected to the switch 121 on the device to the DOWN state. That is, the interface connected to the BRAS-UP device 132 on the switch 121 is in the DOWN state, and the interface connected to the BRAS-UP device 133 on the switch 121 is also in the DOWN state, but the switch 121 is connected to the BRAS-UP device 131. The interface is still in the UP state.
  • the BRAS-UP device 132 and the BRAS-UP device 133 set the interface of the device and the switch 121 to the DOWN state, and the VSI interface is set to the DOWN state, or the Layer 2 VSI instance is set to the DOWN state. This method is not limited.
  • the switch 121 when the switch 121 receives the DHCP-DISCOVER packet, only the interface connected to the BRAS-UP device 131 on the switch 121 is in the UP state, and the interface connected to the BRAS-UP device 132 by the switch 121, BRAS- The interface connected to the UP device 133 is in the DOWN state. Therefore, the switch 121 can send the DHCP-DISCOVER packet to the BRAS-UP device 131.
  • the BRAS transfer separation backup method may be applied to a BRAS-CP device, and may include the following step:
  • Step 201 After the user equipment passes the authentication, determine the session information corresponding to the user equipment, and determine a tunnel backup group corresponding to the user equipment, where the tunnel backup group may include a master between the BRAS-CP device and the primary BRAS-UP device. A tunnel between the tunnel, the BRAS-CP device, and the standby BRAS-UP device.
  • the primary tunnel and the standby tunnel in the tunnel backup group can be the above openflow tunnel.
  • the primary tunnel and the standby tunnel are not limited to the openflow tunnel.
  • the openflow tunnel is used as an example.
  • the session information is used to guide the BRAS-UP device to perform data transmission on the user equipment according to the session information, and the content of the session information is not limited.
  • the session information may include, but is not limited to, one or any combination of the following: an IP address, a MAC address, a VLAN (Virtual Local Area Network) information, a VPN (Virtual Private Network) information, and a VXLAN identifier.
  • the authorization information may further include, but is not limited to, one or any combination of the following: a QoS policy, a rate limit policy, a statistics policy, or an ACL policy.
  • the above session information is only an example, and no limitation is imposed on this.
  • the BRAS-CP device can obtain from the authentication server, such as obtaining authorization information from the authentication server.
  • the BRAS-CP device can also collect the session information by itself. For example, the MAC address and VLAN information of the user equipment are parsed from the DHCP-REQUEST packet, and the IP address and VPN information of the user equipment are parsed from the DHCP-ACK packet. Count the user traffic currently used by the user device.
  • the process of determining the tunnel backup group corresponding to the user equipment may include, but is not limited to, determining a receiving tunnel of an address request packet (such as a DHCP-DISCOVER packet), where the receiving tunnel may be
  • the BRAS-CP device receives the tunnel of the address request message, and the address request message is sent by the user equipment through the BRAS-UP device.
  • Query the tunnel backup group that matches the receiving tunnel with the receiving tunnel and determine the tunnel backup group that is queried as the tunnel backup group corresponding to the user equipment.
  • the foregoing method is only an example of determining a tunnel backup group corresponding to the user equipment, and no limitation is imposed on this.
  • the receiving tunnel (that is, the tunnel that receives the DHCP-DISCOVER packet) can be a VXLAN tunnel, and the tunnel in the tunnel backup group can be an openflow tunnel. Therefore, the primary tunnel matches the receiving tunnel.
  • the source IP address of the receiving tunnel is the same as the source IP address of the primary tunnel
  • the destination IP address of the receiving tunnel is the same as the destination IP address of the primary tunnel.
  • the correspondence between the VXLAN tunnel and the openflow tunnel can also be specified. Based on this, after determining the VXLAN tunnel that receives the DHCP-DISCOVER packet, querying the corresponding relationship can query the corresponding VXLAN tunnel.
  • the openflow tunnel that is, the main tunnel was found.
  • the BRAS-UP device 131 can transmit a DHCP-DISCOVER message to the BRAS-CP device 141 through the VXLAN tunnel 1, that is, the BRAS-CP device 141 receives the DHCP-DISCOVER through the VXLAN tunnel 1.
  • the message that is, the reception tunnel of the BRAS-CP device 141 is the VXLAN tunnel 1.
  • the source IP address of the tunnel A is the same as the source IP address of the VXLAN tunnel 1
  • the destination IP address of the tunnel A is the same as the destination IP address of the VXLAN tunnel 1.
  • the tunnel backup group that matches the receiving tunnel is the tunnel backup group 1
  • the tunnel backup group corresponding to the user equipment is the tunnel backup group 1.
  • the primary tunnel is the tunnel A between the BRAS-CP device 141 and the BRAS-UP device 131
  • the standby tunnel is the tunnel B between the BRAS-CP device 141 and the BRAS-UP device 132.
  • Step 202 Send the session information to the primary BRAS-UP device through the primary tunnel, so that the primary BRAS-UP device performs data transmission according to the session information. For example, if data sent by the user equipment to the Internet is transmitted to the primary BRAS-UP device, the primary BRAS-UP device can perform data transmission according to the session information. In addition, if the data sent by the Internet to the user equipment is transmitted to the primary BRAS-UP device, the primary BRAS-UP device can perform data transmission according to the session information.
  • Step 203 If the primary BRAS-UP device fails, obtain the session information corresponding to the primary BRAS-UP device, and send the obtained session information to the standby BRAS-UP device through the standby tunnel, so as to prepare the BRAS-UP.
  • the device can perform data transmission according to the received session information.
  • the session information is sent to the standby BRAS-UP device, so that when the data sent by the user equipment to the Internet is transmitted to the standby BRAS-UP device, the standby BRAS-UP device can The session information is used for data transmission.
  • the standby BRAS-UP device can perform data transmission according to the session information.
  • the primary BRAS-UP device or the standby BRAS-UP device performs data transmission based on the session information.
  • the IP address, MAC address, VLAN information, VPN information, VXLAN identifier, and the like are obtained from the session information, and a forwarding entry is generated based on the content. Then, the forwarding entry is used to guide the BRAS-UP device to implement traffic forwarding.
  • the QoS policy can also be obtained from the session information, and the QoS policy is used to guide the BRAS-UP device to implement QoS control; the speed limit policy is obtained from the session information, and the BRAS-UP device is used to implement the CAR through the speed limit policy; The statistic policy is obtained in the session information, and the statistic policy is used to guide the BRAS-UP device to implement traffic statistics; the ACL policy is obtained from the session information, and the ACL policy is used to guide the BRAS-UP device to implement ACL control; or the session information is obtained from the session information.
  • the user traffic is obtained, and the traffic size is counted based on the user traffic.
  • the data sent by the primary BRAS-UP device can be switched to the standby BRAS-UP device, so that the standby BRAS-UP also has the session information of the user equipment, so The session information is used for data transmission to avoid service interruption of the user equipment, improve the user experience, and quickly switch between BRAS-UP devices to improve reliability.
  • the data transmitted by the BRAS-UP device includes data sent by the user equipment to the Internet and data sent by the Internet to the user equipment. Therefore, when the primary BRAS-UP device fails, the user equipment can pass the primary BRAS- The UP device sends data to the Internet. The Internet can send data to the user equipment through the primary BRAS-UP device. When the primary BRAS-UP device fails, the user equipment can send data to the Internet through the standby BRAS-UP device. The Internet can pass the standby BRAS. The -UP device sends data to the user device. In order to achieve the above data transmission, the following cases may be included.
  • Case 1 When the primary BRAS-UP device fails, the Internet sends data to the user equipment through the primary BRAS-UP device.
  • the BRAS-CP device determines the network segment to which the user equipment belongs. If the network segment has not been sent before, the network segment is sent to the primary BRAS through the primary tunnel.
  • the UP device is configured to enable the primary BRAS-UP device to advertise the first route carrying the network segment, and the first route is used to send data of the destination address in the network segment to the primary BRAS-UP device.
  • the user equipment (such as the user equipment 111 and the user equipment 112) connected to the switch 121 may belong to the same network segment, such as the network segment 10.1.1.0/24
  • the user equipment connected to the switch 122 (such as the user equipment 113, User equipment 114) may belong to the same network segment, such as network segment 10.1.2.0/24, and so on.
  • the BRAS-CP device 141 determines the network segment to which the IP address of the user equipment 111 belongs, such as the network segment 10.1.1.0/24. Since the network segment has not been sent to the primary BRAS-UP device before, The network segment 10.1.1.0/24 is sent to the primary BRAS-UP device 131 through the primary tunnel (tunnel A). In addition, after the user equipment 112 passes the authentication, the BRAS-CP device 141 determines the network segment to which the IP address of the user equipment 112 belongs, such as the network segment 10.1.1.0/24, since the network segment 10.1.1.0 has been previously passed through the tunnel A. /24 is sent to the BRAS-UP device 131, so the network segment 10.1.1.0/24 is no longer sent.
  • the BRAS-UP device 131 After the BRAS-UP master device 131 receives the network segment 10.1.1.0/24, since the BRAS-UP device 131 has a route advertisement function, the BRAS-UP device 131 can issue the first layer carrying the network segment 10.1.1.0/24. A route is sent to the core router 151. After receiving the first route through the interface A, the core router 151 records the corresponding relationship between the network segment 10.1.1.0/24 and the interface A carried by the first route in the local routing table.
  • the core router 151 when the core router 151 receives the data matching the destination IP address with the network segment 10.1.1.0/24 (such as the data sent by the Internet to the user equipment 111), the data is sent through the interface A, that is, the data will be It is sent to the BRAS-UP device 131 instead of being sent to the BRAS-UP device 132. After receiving the data, the BRAS-UP device 131 may transmit the data based on the session information, that is, send the data to the user equipment 111.
  • Case 2 When the primary BRAS-UP device fails, the Internet sends data to the user equipment through the standby BRAS-UP device.
  • the BRAS-CP device can send the network segment to the standby BRAS-UP device through the standby tunnel, so that the standby BRAS-UP device advertises and carries the network segment.
  • the second route is used to send the data whose destination address is the network segment to the standby BRAS-UP device, and no longer send the data to the primary BRAS-UP device.
  • the BRAS-CP device 141 can also send the network segment 10.1.1.0/24 to the standby BRAS-UP device 132 through the standby tunnel (tunnel B).
  • the BRAS-UP device 132 can issue a route carrying the network segment 10.1.1.0/24 because the BRAS-UP device 132 has a route publishing function.
  • the second route is sent to the core router 151.
  • the core router 151 can record the correspondence between the network segment 10.1.1.0/24 and the interface B carried by the second route in the local routing table.
  • the core router 151 when the core router 151 receives the data matching the destination IP address with the network segment 10.1.1.0/24 (such as the data sent by the Internet to the user equipment 111), the data is sent through the interface B, that is, the data will be It is sent to the BRAS-UP device 132, and after receiving the data, the BRAS-UP device 132 can also transmit the data based on the session information, that is, the data is sent to the user equipment 111.
  • the core router 151 records the correspondence between the network segment 10.1.1.0/24 and the interface B in the local routing table. You can also delete the mapping between network segment 10.1.1.0/24 and interface A from the local routing table. Thus, the data transmitted by the Internet to the user equipment 111 is not sent to the BRAS-UP device 131.
  • the core router 151 records the corresponding relationship between the network segment 10.1.1.0/24 and the interface B in the local routing table, and queries whether there are other routes corresponding to the network segment 10.1.1.0/24 in the local routing table, because the network segment 10.1.1.0 exists. /24 corresponds to the interface A. Therefore, the core router 151 directly deletes the correspondence between the previously recorded network segment 10.1.1.0/24 and the interface A from the local routing table.
  • the BRAS-CP device 141 can also send a notification message for revoking the first route to the BRAS-UP device 131 through the primary tunnel (carrying the network segment) 10.1.1.0/24), such that the BRAS-UP device 131 issues an revoked route carrying the network segment 10.1.1.0/24 to the core router 151.
  • the core router 151 can delete the correspondence between the network segment 10.1.1.0/24 and the interface A from the local routing table.
  • Case 3 When the primary BRAS-UP device fails, the user equipment sends data to the Internet through the primary BRAS-UP device.
  • the primary BRAS-UP device sends a free ARP (Address Resolution Protocol) packet to the switch, and the gratuitous ARP packet can carry the primary BRAS-in the case that the user equipment sends data to the Internet through the primary BRAS-UP device.
  • the MAC address of the UP device so that the switch uses the MAC address of the primary BRAS-UP device to update the local MAC entry, and the switch uses the MAC entry to send data (data sent by the user device to the Internet) to the primary BRAS-UP device.
  • the primary BRAS-UP device uses the above session information to send data to the Internet.
  • Case 4 When the primary BRAS-UP device fails, the user equipment sends data to the Internet through the standby BRAS-UP device.
  • the BRAS-UP device sends a gratuitous ARP packet to the switch.
  • the gratuitous ARP packet can carry the MAC address of the standby BRAS-UP device to enable the switch to use the switch.
  • the MAC address of the standby BRAS-UP device updates the MAC entry, and uses the MAC entry to send data (data sent by the user equipment to the Internet) to the standby BRAS-UP device, and the standby BRAS-UP device can use the above session information to Send to the Internet.
  • the BRAS-CP device or the management orchestrator may send a stop sending message to the standby BRAS-UP device, indicating that the standby BRAS-UP device no longer sends gratuitous ARP packets to the switch.
  • the switch does not update the MAC entry with the MAC address of the standby BRAS-UP device.
  • the BRAS-CP device or the management orchestrator can send a start sending message to the standby BRAS-UP device, which is used to indicate that the standby BRAS-UP device sends a gratuitous ARP packet to the switch, and the switch uses the standby BRAS-
  • the MAC address of the UP device updates the MAC address entry.
  • the BRAS-UP device can serve as the gateway of the user equipment.
  • the MAC addresses of the BRAS-UP devices can be the same, and the MAC address is used as the gateway MAC.
  • the MAC address of the primary BRAS-UP device is the same as the MAC address of the standby BRAS-UP device.
  • the process of updating the MAC entry by using the MAC address of the primary BRAS-UP device or the standby BRAS-UP device is to adjust the MAC address. Corresponding outgoing interface.
  • the BRAS-UP device 131 or the BRAS-UP device 132 can query the routing table based on the destination IP address of the data, and based on the routing table.
  • the data is sent to the core router 151, and the core router 151 transmits the data to the Internet.
  • the core router 151 can send the route to the BRAS-UP device 131 and the BRAS-UP device 132, so that when When data needs to be switched between the BRAS-UP device 131 and the BRAS-UP device 132, both BRAS-UP devices can forward data based on the local routing table, reduce the convergence time of the handover, and transmit data normally.
  • the core router 151 In order to reduce the number of routes maintained by the BRAS-UP device 131 and the BRAS-UP device 132, the core router 151, when transmitting routes to the BRAS-UP device 131 and the BRAS-UP device 132, to the BRAS-UP device 131 and the BRAS-UP device 132 Send an aggregation route, or a network segment route, or a static route. In this way, the number of routes sent by the core router 151 can be reduced, and the number of routes maintained by the BRAS-UP device 131 and the BRAS-UP device 132 can be reduced.
  • the session information corresponding to the primary BRAS-UP device is sent to the standby BRAS-UP device, and the primary BRAS-UP device is connected to the Internet.
  • the data of the user equipment is switched to the standby BRAS-UP device.
  • the BRAS-UP device can perform data transmission according to the session information, thereby reducing the time for the service interruption of the user equipment, improving the user service experience, and rapidly switching between the BRAS-UP devices to improve the reliability of the forwarding layer.
  • the process involving the failure of the primary BRAS-UP device and the failure of the primary BRAS-UP device is involved, and therefore it is necessary to detect whether the primary BRAS-UP device is faulty.
  • the BRAS-CP device may be aware of the failure of the primary BRAS-UP device, or the management orchestrator may be aware of the failure of the primary BRAS-UP device.
  • the BRAS-CP device After the BRAS-CP device detects that the primary BRAS-UP device is faulty, it can send the acquired session information (that is, the session information corresponding to the primary BRAS-UP device in step 203) to the standby BRAS through the standby tunnel.
  • the UP device sends the network segment (that is, the network segment in case 2, so that the standby BRAS-UP device advertises the second route carrying the network segment) to the standby BRAS-UP device.
  • the BRAS-CP device After the BRAS-CP device detects that the primary BRAS-UP device is faulty, the BRAS-CP device determines whether to perform the active/standby switchover. If yes, the standby session information can be sent to the standby BRAS-UP device through the standby tunnel. And send the above network segment to the standby BRAS-UP device through the standby tunnel.
  • Scenario 2 After the BRAS-CP device detects that the primary BRAS-UP device is faulty, it can send information about the failure of the primary BRAS-UP device to the management orchestrator; if the BRAS-CP device receives the primary and secondary devices sent by the management orchestrator After the message is switched, the obtained session information can be sent to the standby BRAS-UP device through the standby tunnel, and the network segment can be sent to the standby BRAS-UP device through the standby tunnel.
  • the BRAS-CP device After the BRAS-CP device detects that the primary BRAS-UP device is faulty, the BRAS-CP device does not decide whether to perform the active/standby switchover.
  • the BRAS-CP device can send the information about the failure of the primary BRAS-UP device to the management orchestrator.
  • the management orchestrator decides whether to perform the active/standby switchover. If the management orchestrator decides to perform the active/standby switchover, the active/standby switchover message may be sent to the BRAS-CP device, and after receiving the active/standby switchover message, the BRAS-CP device may send the acquired session information to the BRAS-CP device.
  • the BRAS-UP device is configured, and the network segment can be sent to the standby BRAS-UP device through the standby tunnel. If the management orchestrator does not perform the active/standby switchover, the active/standby switchover message is not sent to the BRAS-CP device, and the BRAS-CP device does not send the session information or the network segment to the standby BRAS-UP device through the standby tunnel.
  • Scenario 3 The management orchestrator sends an active/standby switchover message to the BRAS-CP device after detecting that the primary BRAS-UP device is faulty. After receiving the active/standby switchover message sent by the management orchestrator, the BRAS-CP device determines the primary BRAS- If the UP device is faulty, you can send the obtained session information to the standby BRAS-UP device through the standby tunnel. You can also send the network segment to the standby BRAS-UP device through the standby tunnel.
  • the management orchestrator can decide whether to perform the active/standby switchover after sensing that the primary BRAS-UP device is faulty. If the active/standby switchover is performed, the active/standby switchover message is sent to the BRAS-CP device, and the BRAS-CP device can send the obtained session information to the standby BRAS-UP device through the standby tunnel after receiving the active/standby switchover message. The above network segment is sent to the standby BRAS-UP device through the standby tunnel. If the active/standby switchover is not performed, the management orchestrator does not send the active/standby switchover message to the BRAS-CP device.
  • the fault type of the primary BRAS-UP device may be: the primary BRAS-UP device itself fails, ie, the primary BRAS-UP device fails to work normally, and the data passing through the primary BRAS-UP device cannot be normally transmitted; or The link between the primary BRAS-UP device and the switch on the user side fails, that is, the primary BRAS-UP device works normally, but the data between the primary BRAS-UP device and the switch cannot be transmitted normally, and the primary BRAS-UP device Data with other switches works fine.
  • the way in which the primary BRAS-UP device is detected to be faulty is as follows.
  • the BRAS-CP device and the primary BRAS-UP device can periodically exchange heartbeat packets. If the heartbeat packet is not received within the preset time, the primary BRAS-UP device may be faulty.
  • the management orchestrator and the primary BRAS-UP device can periodically exchange heartbeat packets. If the heartbeat packet is not received within the preset time, the master BRAS-UP device may be faulty.
  • the manner in which the primary BRAS-UP device is detected to be faulty is as follows.
  • the primary BRAS-UP device can detect the link status from time to time.
  • the primary BRAS-UP device sends information about the failure of the link between itself and the switch to the BRAS-CP device.
  • the primary BRAS-UP device sends information about the failure of the link between itself and the switch to the management orchestrator.
  • the management orchestrator periodically queries the link state of the primary BRAS-UP device, and after receiving the query message for managing the orchestrator, the primary BRAS-UP device sends the information of the link failure between the switch and the switch to the management. Orchestrator.
  • the process of "acquiring session information corresponding to the primary BRAS-UP device" may include: if the primary BRAS-UP device itself fails, the BRAS-CP device may include the specific Marking session information, determining session information corresponding to the primary BRAS-UP device; wherein the specific tag is used to indicate that the session information is sent to the primary BRAS-UP device; or acquiring the BRAS-CP device and the primary BRAS-UP device All VXLAN identifiers of the VXLAN tunnels, and the session information including the VXLAN identifiers are determined as session information corresponding to the primary BRAS-UP device.
  • the BRAS-CP device can obtain the VXLAN identifier corresponding to the faulty link, and can obtain the session information of the VXLAN identifier corresponding to the faulty link. Determine the session information corresponding to the primary BRAS-UP device.
  • the process for "acquiring the VXLAN identifier corresponding to the failed link” is as follows.
  • the BRAS-CP device receives the active/standby switch message sent by the management orchestrator, where the active/standby switchover message may carry the VXLAN identifier corresponding to the faulty link.
  • the management orchestrator can obtain the VSI interface corresponding to the faulty link and add the VXLAN identifier corresponding to the VSI interface to the active/standby switchover message. send.
  • BRAS-CP device 141 transmits session information to the BRAS-UP device 131 through the primary tunnel (ie, step 202)
  • a specific flag 131 of the BRAS-UP device 131 is added to the session information. , indicating that this session information is sent to the BRAS-UP device 131.
  • the BRAS-CP device 141 determines the session information including the specific flag 131 as the session information corresponding to the BRAS-UP device 131.
  • the BRAS-UP device 131 can establish a correspondence between the VSI interface 1 and the VXLAN identifier 101, and the VXLAN identifier 101 corresponds to the VXLAN tunnel 1 to establish a VSI interface 2 and Corresponding relationship between the VXLAN identifiers 102 and the VXLAN identifiers 102 corresponding to the VXLAN tunnels 1 establishes a correspondence between the VSI interfaces 3 and the VXLAN identifiers 103, and the VXLAN identifiers 103 correspond to the VXLAN tunnels 1.
  • the VSI interface 1 corresponds to the physical interface 1 (the interface connected to the switch 121 on the BRAS-UP device 131), and the VSI interface 2 corresponds to the physical interface 2 (the interface connected to the switch 122 on the BRAS-UP device 131).
  • the VSI interface 3 corresponds to the physical interface 3 (an interface connected to the switch 123 on the BRAS-UP device 131).
  • the BRAS-UP device 132 can establish a correspondence between the VSI interface 1 and the VXLAN identifier 101, and the VXLAN identifier 101 corresponds to the VXLAN tunnel 2, establish a correspondence between the VSI interface 2 and the VXLAN identifier 102, and the VXLAN identifier 102 and the VXLAN tunnel 2 Correspondingly, the correspondence between the VSI interface 3 and the VXLAN identifier 103 is established, and the VXLAN identifier 103 corresponds to the VXLAN tunnel 2.
  • the VSI interface 1 corresponds to the physical interface 4 (the interface connected to the switch 121 on the BRAS-UP device 132), and the VSI interface 2 corresponds to the physical interface 5 (the interface connected to the switch 122 on the BRAS-UP device 132).
  • the VSI interface 3 corresponds to the physical interface 6 (an interface on the BRAS-UP device 132 that is connected to the switch 123).
  • the network planning of the BRAS-UP device 133 is similar, and details are not described herein again.
  • the user equipment 111 or the user equipment 112 accesses the VSI interface 1 through the switch 121. If the primary BRAS-UP device corresponding to the user equipment 111 or the user equipment 112 is the BRAS-UP device 131, the session information corresponding to the user equipment 111 or the user equipment 112. There is a VXLAN tag 101 corresponding to the VSI interface 1. The user equipment 113 or the user equipment 114 accesses the VSI interface 2 through the switch 122.
  • the user equipment 113 or the primary BRAS-UP device corresponding to the user equipment 114 is the BRAS-UP device 131, the session information corresponding to the user equipment 113 or the user equipment 114 There is a VXLAN identifier 102 corresponding to the VSI interface 2. And so on.
  • the BRAS-CP device 141 acquires all VXLAN identifiers of the VXLAN tunnel 1 between the BRAS-CP device 141 and the BRAS-UP device 131, namely, the VXLAN logo 101, VXLAN.
  • the identifier 102, the VXLAN identifier 103, and the session information including the VXLAN identifiers are determined as the session information corresponding to the BRAS-UP device 131.
  • the BRAS-CP device 141 can determine the session information including the VXLAN identifier 101 (such as the session information corresponding to the user equipment 111 and the user equipment 112) as the BRAS. - Session information corresponding to the UP device 131.
  • the management orchestrator 161 periodically sends a fault query message to the primary BRAS-UP device 131.
  • the interval for sending the fault query message can be configured (for example, 1 to 60 seconds).
  • the BRAS-UP device may be restored soon after the fault occurs. Therefore, the interval can be set longer to avoid unnecessary recurrence caused by repeated link flapping. Switch.
  • the BRAS-UP device 131 After receiving the fault inquiry message, the BRAS-UP device 131 sends the information of the faulty link (such as the information of the VSI interface 1) to the management orchestrator if the link between the BRAS-UP device 131 and the switch 121 fails. 161.
  • the management orchestrator 161 determines that the VXLAN identifier corresponding to the VSI interface 1 is the VXLAN identifier 101, and transmits a master/slave switch message to the BRAS-CP device 141.
  • the active/standby switchover message may carry information (such as an IP address, etc.) of the VXLAN identifier 101 and the BRAS-UP device 132.
  • the BRAS-CP device 141 After receiving the active/standby switch message sent by the management orchestrator 161, the BRAS-CP device 141 determines that the BRAS-UP device 131 is faulty, and includes the session information of the VXLAN identifier 101 (such as the session information corresponding to the user equipment 111 and the user equipment 112). The session information corresponding to the BRAS-UP device 131 is determined.
  • the BRAS-CP device 141 transmits the session information corresponding to the BRAS-UP device 131 to the standby BRAS-UP device 132 through the standby tunnel.
  • the BRAS-CP device 141 transmits the network segment 10.1.1.0/24 to the BRAS-UP device 132, and the BRAS-UP device 132 issues a route carrying the network segment 10.1.1.0/24.
  • the BRAS-CP device 141 or the management orchestrator 161 notifies the BRAS-UP device 132 to restore the interface connected to the switch 121 to the UP state, so that the interface connected to the BRAS-UP device 132 on the switch 121 is in the UP state, thereby
  • the switch 121 can cause the data to be transmitted to the BRAS-UP device 132.
  • the BRAS-CP device 141 transmits a start transmission message to the BRAS-UP device 132, and the BRAS-UP device 132 then transmits a gratuitous ARP message to the switch 121.
  • the BRAS-CP device 141 transmits the VXLAN identity 101 to the BRAS-UP device 131 through the VXLAN tunnel 1, and the BRAS-UP device 131 deletes the session information having the VXLAN identity 101.
  • the BRAS-CP device 141 sends the network segment 10.1.1.0/24 to the BRAS-UP device 131, and the BRAS-UP device 131 sends a route to cancel the network segment 10.1.1.0/24. Since the link between the BRAS-UP device 131 and the switch 121 is faulty, the gratuitous ARP packet is no longer sent to the switch 121.
  • the embodiment of the present application further provides a backup device for BRAS transfer control separation, which is applied to a BRAS-CP device, as shown in FIG. 3, which is a structural diagram of the device, and the device includes:
  • the module 301 is configured to determine session information corresponding to the user equipment after the user equipment is authenticated, and determine a tunnel backup group corresponding to the user equipment, where the tunnel backup group includes a BRAS-CP device and a primary BRAS-UP device.
  • a primary tunnel a backup tunnel between the BRAS-CP device and the standby BRAS-UP device, and a sending module 302, configured to send the session information to the primary BRAS-UP device through the primary tunnel, so that the The main BRAS-UP device performs data transmission according to the session information;
  • the obtaining module 303 is configured to acquire session information corresponding to the primary BRAS-UP device when the primary BRAS-UP device fails;
  • the module 302 is further configured to send the acquired session information to the standby BRAS-UP device through the standby tunnel, so that the standby BRAS-UP device performs data transmission according to the received session information.
  • the determining module 301 is further configured to determine a network segment to which the user equipment belongs.
  • the sending module 302 is further configured to: when the network segment is not previously sent, send the network segment to the primary BRAS-UP device by using the primary tunnel, so that the primary BRAS-UP device publishes and carries the The first route of the network segment, where the first route is used to send data destined for the network segment to the primary BRAS-UP device.
  • the network segment is sent to the standby BRAS-UP device through the standby tunnel, so that the standby BRAS-UP device issues the number that carries the network segment. And a second route, where the second route is used to send data destined for the network segment to the standby BRAS-UP device.
  • the sending module 302 after detecting that the primary BRAS-UP device is faulty, sends the obtained session information to the standby BRAS-UP device through the standby tunnel, and uses the standby tunnel to The network segment is sent to the standby BRAS-UP device, where the BRAS-CP device determines whether to perform the active/standby switchover.
  • the sending module 302 is further configured to: after detecting that the primary BRAS-UP device fails, send information that the primary BRAS-UP device is faulty to the management orchestrator; if the management orchestrator is received And sending the obtained session information to the standby BRAS-UP device, and sending the network segment to the standby BRAS-UP device through the standby tunnel.
  • the sending module 302 is further configured to send the acquired session information to the standby device by using the standby tunnel.
  • a BRAS-UP device and sending the network segment to the standby BRAS-UP device through the standby tunnel; wherein the active/standby switch message is that the management orchestrator is aware of the primary BRAS-UP device Sent when a failure occurs.
  • the obtaining module 303 is specifically configured to: if the primary BRAS-UP device itself fails, determine session information including a specific tag as session information corresponding to the primary BRAS-UP device; wherein the specific tag Used to indicate that session information is sent to the primary BRAS-UP device; or to acquire all VXLAN identifiers of the VXLAN tunnel between the BRAS-CP device and the primary BRAS-UP device, and will include the VXLAN identifier
  • the session information is determined to be session information corresponding to the primary BRAS-UP device.
  • the acquiring module 303 is configured to obtain a VXLAN identifier corresponding to the faulty link, and corresponding to the link including the fault.
  • the session information identified by the VXLAN is determined to be session information corresponding to the primary BRAS-UP device.
  • the acquiring module 303 is specifically configured to: in the process of acquiring the VXLAN identifier corresponding to the faulty link, receive an active/standby switchover message sent by the management orchestrator, where the active/standby switchover message carries the VXLAN corresponding to the faulty link.
  • An identifier wherein the management orchestrator determines that the link between the primary BRAS-UP device and the switch on the user side fails, acquires a VSI interface corresponding to the failed link, and connects the VXLAN corresponding to the VSI interface. The identifier is added to the active/standby switch message and sent.
  • the determining module 301 is specifically configured to: in a process of determining a tunnel backup group corresponding to the user equipment, determine a receiving tunnel of an address request packet; where the receiving tunnel is an address request packet received by a BRAS-CP device The tunnel request message is sent by the user equipment through the BRAS-UP device.
  • the determining module 301 queries the tunnel backup group that the primary tunnel matches the receiving tunnel, and determines the tunnel backup group that is queried as the tunnel backup group corresponding to the user equipment.
  • the sending module 302 is further configured to: when the primary BRAS-UP device fails, send a stop sending message to the standby BRAS-UP device, where the stop sending message is used to indicate the standby BRAS- The UP device does not send gratuitous ARP packets to the switch on the user side.
  • the sending module 302 sends a start sending message to the standby BRAS-UP device, where the start sending message is used to indicate that the standby BRAS-UP device is to the user.
  • the switch on the side sends gratuitous ARP packets.
  • the hardware architecture of the BRAS-CP device can be seen in FIG. 4 from the hardware level.
  • a machine readable storage medium 41 and a processor 42 are included, wherein:
  • Machine readable storage medium 41 Stores instruction code.
  • the processor 42 communicates with the machine readable storage medium, reads and executes the instruction code stored in the machine readable storage medium, and implements the backup operation of the BRAS transfer separation disclosed in the above example of the present application.
  • a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth.
  • a machine-readable storage medium can be: volatile memory, non-volatile memory, or similar storage medium.
  • the machine-readable storage medium may be a RAM (Radom Access Memory), a flash memory, a storage drive (such as a hard disk drive), a solid state drive, any type of storage disk (such as a compact disc, a DVD, etc.), or the like. Storage medium, or a combination thereof.
  • the embodiment of the present application further provides a machine readable storage medium, which is applied to a BRAS-CP device, where the machine readable storage medium stores a plurality of computer instructions, and when the computer instructions are executed, the following processing is performed:
  • the session information corresponding to the user equipment is determined, and the tunnel backup group corresponding to the user equipment is determined, where the tunnel backup group includes a primary tunnel between the BRAS-CP device and the primary BRAS-UP device. , a backup tunnel between the BRAS-CP device and the standby BRAS-UP device;
  • the session information corresponding to the primary BRAS-UP device is obtained, and the obtained session information is sent to the standby BRAS-UP device through the standby tunnel, so that the The BRAS-UP device is described as performing data transmission according to the received session information.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • embodiments of the present application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • these computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the instruction means implements the functions specified in one or more blocks of the flowchart or in a flow or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供一种BRAS转控分离的备份方法和装置,该方法包括:在用户设备通过认证后,确定所述用户设备对应的会话信息,并确定所述用户设备对应的隧道备份组,所述隧道备份组包括BRAS-CP设备与主BRAS-UP设备之间的主隧道、BRAS-CP设备与备BRAS-UP设备之间的备隧道;通过所述主隧道将所述会话信息发送给所述主BRAS-UP设备,以使所述主BRAS-UP设备根据所述会话信息进行数据传输;若所述主BRAS-UP设备发生故障,则获取与所述主BRAS-UP设备对应的会话信息,并通过所述备隧道将获取的会话信息发送给所述备BRAS-UP设备,以使所述备BRAS-UP设备根据接收到的会话信息进行数据传输。

Description

一种BRAS转控分离的备份方法和装置
相关申请的交叉引用
本专利申请要求于2017年09月06日提交的、申请号为2017107966191、发明名称为“一种BRAS转控分离的备份方法和装置”的中国专利申请的优先权,该申请的全文以引用的方式并入本文中。
背景技术
BRAS(Broadband Remote Access Server,宽带远程接入服务器)作为用户的接入网关位于IP网络的边缘。传统BRAS由于控制平面和转发平面紧耦合在一起,导致性能处理上互相影响,无法充分发挥控制平面和转发平面的性能,资源利用率较低。为了解决上述问题,目前提出了控制平面和转发平面分离的虚拟化BRAS,即vBRAS。vBRAS利用了NFV(Network Functions Virtualization,网络功能虚拟化)概念,是一种虚拟部署在虚拟机或服务器上的产品。vBRAS的功能和传统BRAS大致相同,但是vBRAS的控制平面和转发平面是分离的。其中,控制平面可以通过BRAS-CP(BRAS Control Plane,宽带远程接入服务器控制平面,即转控分离vBRAS系统中的控制面)设备实现。BRAS-CP设备定位为用户控制管理部件,可以用于实现用户控制管理、用户接入控制、用户认证授权计费、地址管理、以及配置管理等功能。转发平面可以通过BRAS-UP(BRAS User Plane,宽带远程接入服务器用户平面,即转控分离vBRAS系统中的转发面)设备实现。BRAS-UP设备位于三层网络边缘,是用户策略执行部件,可以用于实现流量转发、QoS(Quality of Service,服务质量)、以及流量统计等功能。
附图说明
为了更加清楚地说明本申请实施例或者现有技术中的技术方案,下面将对本申请实施例或者现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据本申请实施例的这些附图获得其他的附图。
图1是本申请一种实施方式中的应用场景示意图;
图2是本申请一种实施方式中的BRAS转控分离的备份方法的流程图;
图3是本申请一种实施方式中的BRAS转控分离的备份装置的结构图;
图4是本申请一种实施方式中的BRAS-CP设备的硬件结构图。
具体实施方式
在本申请使用的术语,仅仅是出于描述特定实施例的目的,而非限制本申请。本申请和权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其它含义。还应当理解,本文中使用的术语“和/或”是指包含一个或多个相关联的列出项目的任何或者所有可能组合。
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,此外,所使用的词语“如果”可以被解释成为“在……时”,或者,“当……时”,或者,“响应于确定”。
目前,在BRAS转控分离的架构下,用户设备通过BRAS-UP设备接入到互联网(Internet),当BRAS-UP设备发生故障时,通过该BRAS-UP设备接入到Internet的所有用户设备的业务均发生中断,导致这些用户设备出现断流,用户的业务体验很差。
本申请实施例提出一种BRAS转控分离的备份方法。所述方法可以应用于包括BRAS-CP设备和多个BRAS-UP设备的系统,如vBRAS系统等。该BRAS-CP设备是实现控制平面的设备,用于实现用户控制管理、用户接入控制、用户认证授权计费、地址管理、以及配置管理等功能。BRAS-UP设备是实现转发平面的设备,用于实现流量转发、QoS、流量统计、ACL(Access Control List,访问控制列表)控制、CAR(Committed Access Rate,承诺访问速率)、以及路由发布等功能。
参见图1所示,为本申请实施例的应用场景示意图,在vBRAS系统中,可以包括BRAS-CP设备,至少两个BRAS-UP设备。在图1中,是以1个BRAS-CP设备141,并以3个BRAS-UP设备131-133为例进行说明,当然,在实际应用中,BRAS-CP设备的数量、以及BRAS-UP设备的数量还可以更多,对此数量不做限制。
在图1中,用户设备111-116可以如虚拟机、PC(Personal Computer,个人计算机)、手机、或主机等。认证服务器171可以如AAA(Authentication Authorization Accounting, 认证授权计费)服务器,RADIUS(Remote Authentication Dial In User Service,远程用户拨号认证系统)服务器等。管理编排器161可以为MANO(management and organization),用于实现对BRAS-CP设备141、BRAS-UP设备131-133的管理和控制,可以通过Netconf(Network Configuration,网络配置)协议调用API(Application Programming Interface,应用程序编程接口)接口完成与BRAS-CP设备141、BRAS-UP设备131-133的交互。核心路由器CR(Core Router)151用于数据分组选路和转发。
在一个例子中,BRAS-CP设备可以是软件形式的虚拟BRAS-CP设备,如运行于X86服务器的具有BRAS业务处理能力的虚拟资源。在另一个例子中,BRAS-CP设备也可以是硬件形式的物理BRAS-CP设备,如具有BRAS业务处理能力的服务器。在一个例子中,BRAS-UP设备可以是软件形式的虚拟BRAS-UP设备,如运行于X86服务器的虚拟资源。在另一个例子中,BRAS-UP设备也可以是硬件形式的物理BRAS-UP设备,如路由器或者交换机等。当然,上述过程只是介绍了BRAS-CP设备、BRAS-UP设备的两种表现形式,对此不做限制。而且,当BRAS-UP设备是虚拟BRAS-UP设备时,则不同的BRAS-UP设备可以部署在相同的服务器,也可以部署在不同的服务器。当BRAS-CP设备是虚拟BRAS-CP设备,且BRAS-UP设备是虚拟BRAS-UP设备时,则BRAS-CP设备和BRAS-UP设备可以部署在相同的服务器,也可以部署在不同的服务器。
在一个例子中,该BRAS-CP设备可以与每个BRAS-UP设备分别建立隧道,如建立openflow隧道。例如,可以在BRAS-CP设备141与BRAS-UP设备131之间建立隧道A。在BRAS-CP设备141上,该隧道A的源地址为BRAS-CP设备141的地址,目的地址为BRAS-UP设备131的地址。在BRAS-UP设备131上,该隧道A的目的地址为BRAS-CP设备141的地址,源地址为BRAS-UP设备131的地址。同理,可以在BRAS-CP设备141与BRAS-UP设备132之间建立隧道B,在BRAS-CP设备141与BRAS-UP设备133之间建立隧道C。对于隧道B和隧道C的源地址、目的地址,与隧道A类似,在此不再详加赘述。
在上述隧道的基础上,本申请实施例中,可以先创建隧道备份组。该隧道备份组可以包括BRAS-CP设备与主BRAS-UP设备之间的主隧道、BRAS-CP设备与备BRAS-UP设备之间的备隧道。在一个隧道备份组中主隧道的数量可以为一个,而备隧道的数量可以为一个或者多个,后续以一个备隧道为例进行说明。而且,不同隧道备份组的主隧道可以不同,且不同隧道备份组的备隧道可以相同或者不同。或者,不同隧道备份组的主 隧道可以相同,且不同隧道备份组的备隧道可以不同。为了方便描述,后续过程中,以不同隧道备份组的主隧道不同为例进行说明。
其中,针对“创建隧道备份组”的过程,可以包括但不限于如下方式:
方式一,BRAS-CP设备将本BRAS-CP设备与每个BRAS-UP设备之间的隧道划分为工作隧道和非工作隧道;BRAS-CP设备为每个工作隧道创建隧道备份组,在创建的隧道备份组中,主隧道为该工作隧道,备隧道为该非工作隧道。
其中,针对BRAS-CP设备与各BRAS-UP设备之间的所有隧道,可以选择一个隧道为非工作隧道,非工作隧道之外的所有隧道均为工作隧道。这样,可以在N个工作隧道与一个非工作隧道之间建立备份关系,形成N:1的备份关系。
参见图1所示,所有隧道可以包括隧道A、隧道B和隧道C,BRAS-CP设备141可以从所有隧道中选择隧道B作为非工作隧道,而隧道A和隧道C作为工作隧道。BRAS-CP设备141为隧道A创建隧道备份组1,该隧道备份组1的主隧道为隧道A,而备隧道可以为隧道B。BRAS-CP设备141为隧道C创建隧道备份组2,该隧道备份组2的主隧道为隧道C,而备隧道可以为隧道B。
方式二,BRAS-CP设备依次获取BRAS-CP设备与每个BRAS-UP设备之间的隧道;BRAS-CP设备为获取到的隧道创建隧道备份组,在创建的隧道备份组中,主隧道为当前获取到的隧道,而备隧道为除当前获取到的隧道之外的其它隧道。
参见图1所示,BRAS-CP设备141在获取到隧道A时,则可以为隧道A创建隧道备份组1,该隧道备份组1的主隧道为隧道A,而备隧道可以为隧道B或者隧道C。BRAS-CP设备141在获取到隧道B时,则可以为隧道B创建隧道备份组2,该隧道备份组2的主隧道为隧道B,而备隧道可以为隧道A或者隧道C。BRAS-CP设备141在获取到隧道C时,则可以为隧道C创建隧道备份组3,该隧道备份组3的主隧道为隧道C,而备隧道可以为隧道A或者隧道B。
方式三,BRAS-CP设备接收管理编排器发送的隧道备份消息,并从该隧道备份消息中解析出主隧道信息和备隧道信息,并利用主隧道信息和备隧道信息创建隧道备份组,即基于主隧道信息确定主隧道,基于备隧道信息确定备隧道。
参见图1所示,当管理编排器161确定BRAS-CP设备141与BRAS-UP设备131之间的隧道A为主隧道,且BRAS-CP设备141与BRAS-UP设备132之间的隧道B为备隧道时,则可以向BRAS-CP设备141发送隧道备份消息,该隧道备份消息携带的主隧 道信息是BRAS-CP设备141与BRAS-UP设备131之间的隧道A,该隧道备份消息携带的备隧道信息是BRAS-CP设备141与BRAS-UP设备132之间的隧道B。BRAS-CP设备141在接收到上述隧道备份消息后,就可以创建隧道备份组1,该隧道备份组1的主隧道为隧道A,而备隧道为隧道B。
在一个例子中,管理编排器161可以根据预设策略确定隧道备份组中的主隧道和备隧道,只要不同的隧道备份组的主隧道不同即可,对此预设策略不做限制。例如,管理编排器161可以确定隧道备份组1中的主隧道为隧道A,备隧道为隧道B,并可以确定隧道备份组2中的主隧道为隧道C,备隧道为隧道B。
在一个例子中,基于上述方式,在创建隧道备份组之后,还可以调整隧道备份组中的备隧道。在创建隧道备份组后,还可以删除该隧道备份组,即解除主隧道和备隧道之间的主备关系。
在一个例子中,BRAS-CP设备可以通过上述隧道(如openflow隧道等)向BRAS-UP设备传输会话信息。此外,BRAS-CP设备还可以与每个BRAS-UP设备建立VXLAN(Virtual Extensible Local Area Network,虚拟可扩展局域网)隧道,BRAS-UP设备和BRAS-CP设备之间可以通过VXLAN隧道传输相关报文。
例如,可以在BRAS-CP设备141与BRAS-UP设备131之间建立VXLAN隧道1,在BRAS-CP设备141上,该VXLAN隧道1的源地址为BRAS-CP设备141的地址,目的地址为BRAS-UP设备131的地址;在BRAS-UP设备131上,该VXLAN隧道1的目的地址为BRAS-CP设备141的地址,源地址为BRAS-UP设备131的地址。同理,可以在BRAS-CP设备141与BRAS-UP设备132之间建立VXLAN隧道2,在BRAS-CP设备141与BRAS-UP设备133之间建立VXLAN隧道3,对于VXLAN隧道2和VXLAN隧道3不再详加赘述。
在上述应用场景下,用户设备在访问Internet之前,可以先对用户设备进行认证,在用户设备通过认证后,用户设备才可以访问Internet。由于每个用户设备的认证过程相同,因此,后续以用户设备111的认证过程为例进行说明。
以DHCP(Dynamic Host Configuration Protocol,动态主机配置协议)触发的IPoE(Internet Protocol over Ethernet,以太网上承载IP协议)接入过程为例。
用户设备111发送DHCP-DISCOVER(发现)报文,BRAS-UP设备131接收到DHCP-DISCOVER报文后,通过VXLAN隧道1将DHCP-DISCOVER报文发送给 BRAS-CP设备141。BRAS-CP设备141创建IPoE会话,并向认证服务器171发送认证请求报文,该认证请求报文中包含用户信息,如DHCP-DISCOVER报文中的Client ID选项、源MAC(Media Access Control,介质访问控制)地址(即用户设备111的MAC地址)等。
BRAS-CP设备141接收认证服务器171返回的认证结果。若认证通过,则认证结果为认证接受报文,且认证接受报文携带了针对用户设备111的授权信息;若认证不通过,则认证结果为认证拒绝报文。后续以认证通过为例进行说明。
BRAS-CP设备141将IPoE会话状态更新为认证通过,将DHCP-DISCOVER报文转发给DHCP服务器(图1中未示出)。DHCP服务器可以回应DHCP-OFFER(提供)报文,且BRAS-CP设备141通过VXLAN隧道1将DHCP-OFFER报文转发给BRAS-UP设备131,BRAS-UP设备131将DHCP-OFFER报文转发给用户设备111。
然后,用户设备111发送DHCP-REQUEST(请求)报文,BRAS-UP设备131接收到DHCP-REQUEST报文后,通过VXLAN隧道1将DHCP-REQUEST报文发给BRAS-CP设备141。BRAS-CP设备141将DHCP-REQUEST报文发给DHCP服务器。DHCP服务器回应DHCP-ACK(确认)报文,其中携带分配的IP地址。
BRAS-CP设备141从DHCP-ACK报文中解析出用户的IP地址和其它地址参数信息,更新IPoE会话的会话信息,将IPoE会话的状态设置为在线。此外,BRAS-CP设备141通过VXLAN隧道1将DHCP-ACK报文转发给BRAS-UP设备131,BRAS-UP设备131将DHCP-ACK报文转发给用户设备111。用户设备111根据收到的DHCP-ACK报文获得IP地址以及相关地址参数信息。
当然,上述过程只是一个示例,实际应用中,还可以采用PPPoE(Point to Point Protocol over Ethernet,以太网上承载点对点协议)等接入方式,对此不做限制。
经过上述实现过程,则用户设备111可以通过BRAS-UP设备131接入Internet,而且,在所述BRAS-CP设备141上记录有用户设备111对应的会话信息。
其中,针对“BRAS-UP设备131通过VXLAN隧道1将DHCP-DISCOVER报文发送给BRAS-CP设备141”的过程,还可以通过如下方式来实现:
在网络规划时,BRAS-UP设备131可以建立VSI接口1(Virtual Switch Interface,虚拟交换接口)与VXLAN标识101的对应关系,且VXLAN标识101与VXLAN隧道1对应,建立VSI接口2与VXLAN标识102的对应关系,且VXLAN标识102与VXLAN 隧道1对应,建立VSI接口3与VXLAN标识103的对应关系,且VXLAN标识103与VXLAN隧道1对应。其中,VSI接口1与物理接口1(BRAS-UP设备131上与交换机121连接的接口)相对应,VSI接口2与物理接口2(BRAS-UP设备131上与交换机122连接的接口)相对应,VSI接口3与物理接口3(BRAS-UP设备131上与交换机123连接的接口)相对应。
基于此,BRAS-UP设备131在通过物理接口1接收到DHCP-DISCOVER报文后,可以先确定出与物理接口1对应的VSI接口1,然后,BRAS-UP设备131通过查询VSI接口与VXLAN隧道的对应关系,可以得到与VSI接口1对应的VXLAN隧道1。BRAS-UP设备131通过VXLAN隧道1将DHCP-DISCOVER报文发给BRAS-CP设备141。
在一个例子中,为了使交换机121连接的各用户设备的接入BRAS-UP设备为BRAS-UP设备131,则可以控制该交换机121将DHCP-DISCOVER报文发送给BRAS-UP设备131,而不发送给BRAS-UP设备132或BRAS-UP设备133。可以通过如下方式实现,交换机121将DHCP-DISCOVER报文发送给BRAS-UP设备131。BRAS-CP设备141或者管理编排器161通知BRAS-UP设备132和BRAS-UP设备133将自身与交换机121连接的接口设置为DOWN(故障)状态,基于此,BRAS-UP设备132可以将本设备上与交换机121连接的接口设置为DOWN状态,BRAS-UP设备133可以将本设备上与交换机121连接的接口设置为DOWN状态。也就是说,交换机121上与BRAS-UP设备132连接的接口处于DOWN状态,交换机121上与BRAS-UP设备133连接的接口也处于DOWN状态,但是,交换机121上与BRAS-UP设备131连接的接口仍然处于UP(正常)状态。其中,BRAS-UP设备132和BRAS-UP设备133将本设备与交换机121连接的接口设置为DOWN状态,可以是将VSI接口设置为DOWN状态,或者,将二层VSI实例设置为DOWN状态,对此方式不做限制。
综上所述,交换机121在接收到DHCP-DISCOVER报文时,由于交换机121上只有与BRAS-UP设备131连接的接口处于UP状态,而交换机121与BRAS-UP设备132连接的接口、BRAS-UP设备133连接的接口均处于DOWN状态,因此,交换机121可以将DHCP-DISCOVER报文发送给BRAS-UP设备131。
在上述应用场景下,参见图2所示,为本申请实施例中提出的BRAS转控分离的备份方法的流程图,该BRAS转控分离的备份方法可以应用于BRAS-CP设备,可以包括以下步骤:
步骤201,在用户设备通过认证后,确定该用户设备对应的会话信息,并确定该用户设备对应的隧道备份组,该隧道备份组可以包括BRAS-CP设备与主BRAS-UP设备之间的主隧道、BRAS-CP设备与备BRAS-UP设备之间的备隧道。
其中,隧道备份组中的主隧道和备隧道,均可以是上述openflow隧道。当然,主隧道和备隧道并不局限于openflow隧道,只要是一种可靠性连接的隧道均可以,本文中以openflow隧道为例进行说明。
其中,上述会话信息用于指导BRAS-UP设备根据该会话信息对该用户设备进行数据传输,对此会话信息的内容不做限制。例如,所述会话信息可以包括但不限于以下之一或者任意组合:IP地址、MAC地址、VLAN(Virtual Local Area Network,虚拟局域网)信息、VPN(Virtual Private Network,虚拟专用网络)信息、VXLAN标识、授权信息、或用户流量等,该授权信息可以进一步包括但不限于以下之一或者任意组合:QoS策略、限速策略、统计策略,或ACL策略等。当然,上述会话信息只是示例,对此不做限制。
针对会话信息的获得方式,BRAS-CP设备可以从认证服务器获得,如从认证服务器获得授权信息。BRAS-CP设备也可以自己收集会话信息,如从DHCP-REQUEST报文中解析出用户设备的MAC地址和VLAN信息,从DHCP-ACK报文中解析出用户设备的IP地址和VPN信息等,可以统计用户设备当前已使用的用户流量。
当然,上述获得会话信息的方式,只是本申请的示例,对此不做限制。
在一个例子中,针对“确定该用户设备对应的隧道备份组”的过程,可以包括但不限于如下方式:确定地址请求报文(如DHCP-DISCOVER报文)的接收隧道,该接收隧道可以是BRAS-CP设备上接收到该地址请求报文的隧道,地址请求报文是用户设备通过BRAS-UP设备发送的。查询主隧道与该接收隧道匹配的隧道备份组,并将查询到的隧道备份组确定为该用户设备对应的隧道备份组。当然,上述方式只是确定用户设备对应的隧道备份组的示例,对此不做限制。
其中,在上述过程中已经介绍,接收隧道(也就是接收到DHCP-DISCOVER报文的隧道)可以为VXLAN隧道,而隧道备份组中的隧道可以为openflow隧道,因此,主隧道与接收隧道匹配是指:接收隧道的源IP地址与主隧道的源IP地址相同,且接收隧道的目的IP地址与主隧道的目的IP地址相同。当然,在实际应用中,还可以指定VXLAN隧道与openflow隧道的对应关系,基于此,在确定接收到DHCP-DISCOVER报文的 VXLAN隧道后,通过查询该对应关系,就可以查询到该VXLAN隧道对应的openflow隧道,也就是找到了主隧道。
在上述过程中已经介绍到,BRAS-UP设备131可以通过VXLAN隧道1将DHCP-DISCOVER报文发送给BRAS-CP设备141,也就是说,BRAS-CP设备141通过VXLAN隧道1接收到DHCP-DISCOVER报文,即BRAS-CP设备141的接收隧道是VXLAN隧道1。在BRAS-CP设备141的隧道中,隧道A的源IP地址与VXLAN隧道1的源IP地址相同,且隧道A的目的IP地址与VXLAN隧道1的目的IP地址相同。且在BRAS-CP设备141的隧道备份组中,隧道备份组1的主隧道为隧道A。因此,与接收隧道匹配的隧道备份组是隧道备份组1,用户设备对应的隧道备份组为隧道备份组1。
在隧道备份组1中,主隧道是BRAS-CP设备141与BRAS-UP设备131之间的隧道A,备隧道是BRAS-CP设备141与BRAS-UP设备132之间的隧道B。
步骤202,通过该主隧道将该会话信息发送给主BRAS-UP设备,以使主BRAS-UP设备根据该会话信息进行数据传输。例如,若用户设备发送给Internet的数据被传输给主BRAS-UP设备,则所述主BRAS-UP设备可以根据该会话信息进行数据传输。此外,若Internet发送给用户设备的数据被传输给主BRAS-UP设备,则所述主BRAS-UP设备可以根据该会话信息进行数据传输。
步骤203,若主BRAS-UP设备发生故障,则获取与该主BRAS-UP设备对应的会话信息,并通过该备隧道将获取的会话信息发送给备BRAS-UP设备,以使备BRAS-UP设备可以根据接收到的该会话信息进行数据传输。
例如,若主BRAS-UP设备发生故障,将所述会话信息发送给备BRAS-UP设备,使得用户设备发送给Internet的数据被传输给备BRAS-UP设备时,备BRAS-UP设备可以根据该会话信息进行数据传输,Internet发送给用户设备的数据被传输给备BRAS-UP设备时,备BRAS-UP设备可以根据该会话信息进行数据传输。
在一个例子中,主BRAS-UP设备或备BRAS-UP设备根据会话信息进行数据传输。首先从会话信息中获取IP地址、MAC地址、VLAN信息、VPN信息、VXLAN标识等内容,基于这些内容生成转发表项。然后通过该转发表项指导BRAS-UP设备实现流量转发。还可以从该会话信息中获取到QoS策略,通过该QoS策略指导BRAS-UP设备实现QoS控制;从该会话信息中获取到限速策略,通过该限速策略指导BRAS-UP设备实现CAR;从该会话信息中获取到统计策略,通过该统计策略指导BRAS-UP设备实现流 量统计;从该会话信息中获取到ACL策略,通过该ACL策略指导BRAS-UP设备实现ACL控制;或者从该会话信息中获取到用户流量,并在该用户流量的基础上统计流量大小。
当然,上述方式只是根据会话信息进行数据传输的示例,对此不做限制。
综上所述,当主BRAS-UP设备发生故障时,可以将通过主BRAS-UP设备发送的数据切换到备BRAS-UP设备,这样,由于备BRAS-UP也存在用户设备的会话信息,因此可以利用会话信息进行数据传输,从而避免用户设备的业务中断,提高用户的业务体验,在BRAS-UP设备之间快速切换,提升可靠性。
在一个例子中,由BRAS-UP设备传输的数据包括用户设备发送给Internet的数据,Internet发送给用户设备的数据,因此,当主BRAS-UP设备未发生故障时,则用户设备可以通过主BRAS-UP设备向Internet发送数据,Internet可以通过主BRAS-UP设备向用户设备发送数据,当主BRAS-UP设备发生故障时,则用户设备可以通过备BRAS-UP设备向Internet发送数据,Internet可以通过备BRAS-UP设备向用户设备发送数据。为了实现上述数据传输,则可以包括以下情况。
情况一、当主BRAS-UP设备未发生故障时,Internet通过主BRAS-UP设备向用户设备发送数据。为了实现“Internet通过主BRAS-UP设备向用户设备发送数据”,BRAS-CP设备确定用户设备所属的网段,若之前未发送过该网段,通过主隧道将该网段发送给主BRAS-UP设备,以使主BRAS-UP设备发布携带该网段的第一路由,第一路由用于将目的地址在该网段内的数据发送给主BRAS-UP设备。
如图1所示,交换机121连接的用户设备(如用户设备111、用户设备112)可以属于同一个网段,如网段10.1.1.0/24,交换机122连接的用户设备(如用户设备113、用户设备114)可以属于同一个网段,如网段10.1.2.0/24,以此类推。
在用户设备111通过认证后,BRAS-CP设备141确定用户设备111的IP地址所属的网段,如网段10.1.1.0/24,由于之前没有向主BRAS-UP设备发送过该网段,因此,通过主隧道(隧道A)将该网段10.1.1.0/24发送给主BRAS-UP设备131。此外,在用户设备112通过认证后,BRAS-CP设备141确定用户设备112的IP地址所属的网段,如网段10.1.1.0/24,由于之前已经通过该隧道A将该网段10.1.1.0/24发送给BRAS-UP设备131,因此,不再发送该网段10.1.1.0/24。
BRAS-UP主设备131在接收到该网段10.1.1.0/24后,由于BRAS-UP设备131具有 路由发布功能,因此,BRAS-UP设备131可以发布携带该网段10.1.1.0/24的第一路由,该第一路由被发送给核心路由器151。核心路由器151通过接口A接收到第一路由后,在本地路由表中记录第一路由携带的网段10.1.1.0/24与接口A的对应关系。这样,当核心路由器151接收到目的IP地址与网段10.1.1.0/24匹配的数据(如Internet向用户设备111发送的数据)时,则通过接口A发送该数据,也就是说,这个数据会被发送给BRAS-UP设备131,而不是被发送给BRAS-UP设备132。BRAS-UP设备131在接收到该数据后,可以基于上述会话信息发送该数据,即将数据发送给用户设备111。
情况二、当主BRAS-UP设备发生故障时,Internet通过备BRAS-UP设备向用户设备发送数据。为了实现“Internet通过备BRAS-UP设备向用户设备发送数据”,BRAS-CP设备可以通过备隧道将该网段发送给备BRAS-UP设备,以使该备BRAS-UP设备发布携带该网段的第二路由,该第二路由用于将目的地址为该网段的数据发送给备BRAS-UP设备,而不再将数据发送给主BRAS-UP设备。
例如,当BRAS-UP设备131发生故障时,则BRAS-CP设备141还可以通过备隧道(隧道B)将该网段10.1.1.0/24发送给备BRAS-UP设备132。BRAS-UP设备132在接收到该网段10.1.1.0/24后,由于BRAS-UP设备132具有路由发布功能,因此,该BRAS-UP设备132可以发布携带该网段10.1.1.0/24的第二路由,该第二路由被发送给核心路由器151。核心路由器151在通过接口B接收到该第二路由后,可以在本地路由表中记录第二路由携带的网段10.1.1.0/24与接口B的对应关系。这样,当核心路由器151接收到目的IP地址与网段10.1.1.0/24匹配的数据(如Internet向用户设备111发送的数据)时,则通过接口B发送该数据,也就是说,这个数据会被发送给BRAS-UP设备132,而且,BRAS-UP设备132在接收到该数据后,也可以基于上述会话信息发送该数据,即将数据发送给用户设备111。
在一个例子中,为了避免本地路由表中存在网段10.1.1.0/24对应的两条路由,则核心路由器151在本地路由表中记录网段10.1.1.0/24与接口B的对应关系之后,还可以从本地路由表中删除网段10.1.1.0/24与接口A的对应关系。这样所述Internet向用户设备111发送的数据就不会被发送给BRAS-UP设备131了。
一种删除方式如下。核心路由器151在本地路由表中记录网段10.1.1.0/24与接口B的对应关系时,查询本地路由表中是否存在网段10.1.1.0/24对应的其它路由,由于存在网段10.1.1.0/24与接口A的对应关系,因此,核心路由器151直接从本地路由表中删除之前记录的网段10.1.1.0/24与接口A的对应关系。
另一种删除方式如下。当BRAS-UP设备131与用户侧的交换机之间的链路发生故障时,BRAS-CP设备141还可以通过主隧道向BRAS-UP设备131发送用于撤销第一路由的通知消息(携带网段10.1.1.0/24),以使BRAS-UP设备131向核心路由器151发布携带该网段10.1.1.0/24的撤销路由。核心路由器151通过接口A接收到该撤销路由后,就可以从本地路由表中删除该网段10.1.1.0/24与接口A的对应关系。
情况三、当主BRAS-UP设备未发生故障时,用户设备通过主BRAS-UP设备向Internet发送数据。为了实现“用户设备通过主BRAS-UP设备向Internet发送数据”,则主BRAS-UP设备向交换机发送免费ARP(Address Resolution Protocol,地址解析协议)报文,该免费ARP报文可以携带主BRAS-UP设备的MAC地址,以使交换机利用主BRAS-UP设备的MAC地址更新本地的MAC表项,交换机利用该MAC表项将数据(用户设备发送给Internet的数据)发送给主BRAS-UP设备,主BRAS-UP设备利用上述会话信息将数据发送给Internet。
情况四、当主BRAS-UP设备发生故障时,用户设备通过备BRAS-UP设备向Internet发送数据。为了实现“用户设备通过备BRAS-UP设备向Internet发送数据”,备BRAS-UP设备向交换机发送免费ARP报文,该免费ARP报文可以携带备BRAS-UP设备的MAC地址,以使交换机利用备BRAS-UP设备的MAC地址更新MAC表项,并利用MAC表项将数据(用户设备发送给Internet的数据)发送给备BRAS-UP设备,而备BRAS-UP设备可以利用上述会话信息将数据发送给Internet。
其中,若主BRAS-UP设备未发生故障,则BRAS-CP设备或者管理编排器可以向备BRAS-UP设备发送停止发送消息,用于指示备BRAS-UP设备不再向交换机发送免费ARP报文,交换机不会利用备BRAS-UP设备的MAC地址更新MAC表项。若主BRAS-UP设备发生故障,BRAS-CP设备或者管理编排器可以向备BRAS-UP设备发送开始发送消息,用于指示备BRAS-UP设备向交换机发送免费ARP报文,交换机利用备BRAS-UP设备的MAC地址更新MAC表项。
其中,BRAS-UP设备可以作为用户设备的网关,为了使用户设备的流量在不同BRAS-UP设备之间进行快速切换,则各BRAS-UP设备的MAC地址可以相同,这个MAC地址作为网关MAC。基于此,主BRAS-UP设备的MAC地址与备BRAS-UP设备MAC地址相同,上述交换机利用主BRAS-UP设备或备BRAS-UP设备的MAC地址更新MAC表项的过程,就是调整该MAC地址对应的出接口。
针对情况三或者情况四,BRAS-UP设备131或BRAS-UP设备132在接收到数据(用 户设备111发送给Internet的数据)后,可以基于数据的目的IP地址查询路由表,并基于路由表将数据发送给核心路由器151,由核心路由器151将数据发送给Internet。为了使BRAS-UP设备131和BRAS-UP设备132均可以对用户设备111发送给Internet的数据进行转发,核心路由器151可以将路由发送给BRAS-UP设备131和BRAS-UP设备132,这样,当数据需要在BRAS-UP设备131和BRAS-UP设备132之间进行切换时,这两个BRAS-UP设备都可以基于本地路由表对数据进行转发,减少切换的收敛时间,并正常传输数据。
为了减少BRAS-UP设备131和BRAS-UP设备132维护的路由数量,核心路由器151在向BRAS-UP设备131和BRAS-UP设备132发送路由时,向BRAS-UP设备131和BRAS-UP设备132发送汇聚路由、或网段路由、或静态路由。这样,可以减少核心路由器151发送的路由数量,减少BRAS-UP设备131和BRAS-UP设备132维护的路由数量。
基于上述技术方案,本申请实施例中,在主BRAS-UP设备发生故障时,将主BRAS-UP设备对应的会话信息发送给备BRAS-UP设备,将通过主BRAS-UP设备接入到Internet的用户设备的数据,切换到备BRAS-UP设备。且备BRAS-UP设备可以根据所述会话信息进行数据传输,从而减少用户设备业务中断的时间,提高用户业务体验,可以在BRAS-UP设备之间快速切换,提升转发层面的可靠性。
在上述过程中,涉及主BRAS-UP设备发生故障、主BRAS-UP设备未发生故障的处理过程,因此需要检测主BRAS-UP设备是否故障。在实际应用中,可以由BRAS-CP设备感知主BRAS-UP设备发生故障,也可以由管理编排器感知主BRAS-UP设备发生故障,基于不同的感知方式,则可以包括如下场景:
场景1、BRAS-CP设备在感知到主BRAS-UP设备发生故障后,可以通过备隧道将获取的会话信息(即步骤203中,与该主BRAS-UP设备对应的会话信息)发送给备BRAS-UP设备,并通过备隧道将上述网段(即情况二中的网段,以使备BRAS-UP设备发布携带该网段的第二路由)发送给备BRAS-UP设备。
其中,BRAS-CP设备在感知到主BRAS-UP设备发生故障后,由BRAS-CP设备决策是否进行主备切换,如果是,则可以通过备隧道将获取的会话信息发送给备BRAS-UP设备,并通过备隧道将上述网段发送给备BRAS-UP设备。
场景2、BRAS-CP设备在感知到主BRAS-UP设备发生故障之后,可以将主BRAS-UP 设备发生故障的信息发送给管理编排器;若BRAS-CP设备接收到管理编排器发送的主备切换消息,则可以通过备隧道将获取的会话信息发送给备BRAS-UP设备,并可以通过备隧道将上述网段发送给备BRAS-UP设备。
其中,BRAS-CP设备感知到主BRAS-UP设备发生故障后,不是由BRAS-CP设备决策是否进行主备切换,BRAS-CP设备可以将主BRAS-UP设备发生故障的信息发送给管理编排器,由管理编排器决策是否进行主备切换。若管理编排器决策进行主备切换,则可以向BRAS-CP设备发送主备切换消息,而BRAS-CP设备在接收到该主备切换消息后,则可以通过备隧道将获取的会话信息发送给备BRAS-UP设备,并可以通过备隧道将上述网段发送给备BRAS-UP设备。若管理编排器决策不进行主备切换,则不向BRAS-CP设备发送主备切换消息,且BRAS-CP设备不会通过备隧道将会话信息或网段发送给备BRAS-UP设备。
场景3、管理编排器在感知到主BRAS-UP设备发生故障后,向BRAS-CP设备发送主备切换消息,BRAS-CP设备接收到管理编排器发送的主备切换消息后,确定主BRAS-UP设备发生故障,可以通过备隧道将获取的会话信息发送给备BRAS-UP设备,并可以通过备隧道将上述网段发送给备BRAS-UP设备。
其中,管理编排器在感知到主BRAS-UP设备发生故障后,可以决策是否进行主备切换。如果进行主备切换,则向BRAS-CP设备发送主备切换消息,而BRAS-CP设备在接收到该主备切换消息后,可以通过备隧道将获取的会话信息发送给备BRAS-UP设备,并通过备隧道将上述网段发送给备BRAS-UP设备。如果不进行主备切换,则管理编排器不向BRAS-CP设备发送主备切换消息。
在某些例子中,主BRAS-UP设备的故障类型可以是:主BRAS-UP设备本身发生故障,即主BRAS-UP设备无法正常工作,经过主BRAS-UP设备的数据均无法正常传输;或者,主BRAS-UP设备与用户侧的交换机之间的链路发生故障,即主BRAS-UP设备正常工作,但主BRAS-UP设备与该交换机之间的数据无法正常传输,主BRAS-UP设备与其它交换机之间的数据可以正常工作。
若主BRAS-UP设备本身发生故障,则感知到主BRAS-UP设备发生故障的方式如下。针对场景1和场景2,BRAS-CP设备与主BRAS-UP设备可以定期交互心跳报文,若在预设时间内未接收到心跳报文,可以感知到主BRAS-UP设备发生故障。针对场景3,管理编排器与主BRAS-UP设备可以定期交互心跳报文,若在预设时间内未接收到心跳报文,可以感知到主BRAS-UP设备发生故障。
若主BRAS-UP设备与用户侧的交换机之间的链路发生故障,则感知到主BRAS-UP设备发生故障的方式如下。主BRAS-UP设备可以时时检测链路状态。针对场景1和场景2,主BRAS-UP设备将自身与交换机之间的链路发生故障的信息发给BRAS-CP设备。针对场景3,在主BRAS-UP设备与交换机之间的链路发生故障时,主BRAS-UP设备将自身与交换机之间的链路发生故障的信息发给管理编排器。或者,管理编排器定时查询主BRAS-UP设备的链路状态,由主BRAS-UP设备在接收到管理编排器的查询消息后,将自身与交换机之间的链路发生故障的信息发给管理编排器。
在一个例子中,在步骤203中,针对“获取与该主BRAS-UP设备对应的会话信息”的过程,可以包括:若主BRAS-UP设备本身发生故障,则BRAS-CP设备可以将包括特定标记的会话信息,确定为主BRAS-UP设备对应的会话信息;其中,该特定标记用于表示会话信息被发送给主BRAS-UP设备;或者,获取BRAS-CP设备与主BRAS-UP设备之间的VXLAN隧道的所有VXLAN标识,并将包括该VXLAN标识的会话信息,确定为主BRAS-UP设备对应的会话信息。
若主BRAS-UP设备与用户侧的交换机之间的链路发生故障,则BRAS-CP设备可以获取故障的链路对应的VXLAN标识,并可以将包括故障的链路对应的VXLAN标识的会话信息,确定为主BRAS-UP设备对应的会话信息。
进一步的,针对“获取故障的链路对应的VXLAN标识”的过程如下。BRAS-CP设备接收管理编排器发送的主备切换消息,其中,该主备切换消息可以携带故障的链路对应的VXLAN标识。管理编排器在确定主BRAS-UP设备与用户侧的交换机之间的链路发生故障后,可以获取故障的链路对应的VSI接口,并将VSI接口对应的VXLAN标识添加到主备切换消息中发送。
在一个例子中,参见图1所示,BRAS-CP设备141通过主隧道将会话信息发送给BRAS-UP设备131(即步骤202)时,在这个会话信息添加BRAS-UP设备131的特定标记131,表示这个会话信息被发送给BRAS-UP设备131。
在此基础上,若BRAS-UP设备131本身发生故障,BRAS-CP设备141将包括特定标记131的会话信息确定为BRAS-UP设备131对应的会话信息。
在另一个例子中,参见图1所示,在网络规划时,BRAS-UP设备131可以建立VSI接口1与VXLAN标识101的对应关系,且VXLAN标识101与VXLAN隧道1对应,建立VSI接口2与VXLAN标识102的对应关系,且VXLAN标识102与VXLAN隧道 1对应,建立VSI接口3与VXLAN标识103的对应关系,且VXLAN标识103与VXLAN隧道1对应。而且,VSI接口1与物理接口1(BRAS-UP设备131上与交换机121连接的接口)相对应,VSI接口2与物理接口2(BRAS-UP设备131上与交换机122连接的接口)相对应,VSI接口3与物理接口3(BRAS-UP设备131上与交换机123连接的接口)相对应。此外,BRAS-UP设备132可以建立VSI接口1与VXLAN标识101的对应关系,且VXLAN标识101与VXLAN隧道2对应,建立VSI接口2与VXLAN标识102的对应关系,且VXLAN标识102与VXLAN隧道2对应,建立VSI接口3与VXLAN标识103的对应关系,且VXLAN标识103与VXLAN隧道2对应。而且,VSI接口1与物理接口4(BRAS-UP设备132上与交换机121连接的接口)相对应,VSI接口2与物理接口5(BRAS-UP设备132上与交换机122连接的接口)相对应,VSI接口3与物理接口6(BRAS-UP设备132上与交换机123连接的接口)相对应。此外,BRAS-UP设备133的网络规划类似,在此不再重复赘述。
用户设备111或用户设备112通过交换机121接入VSI接口1,若用户设备111或用户设备112对应的主BRAS-UP设备为BRAS-UP设备131,在用户设备111或用户设备112对应的会话信息存在与VSI接口1对应的VXLAN标识101中。用户设备113或用户设备114通过交换机122接入VSI接口2,若用户设备113或用户设备114对应的主BRAS-UP设备为BRAS-UP设备131,在用户设备113或用户设备114对应的会话信息存在与VSI接口2对应的VXLAN标识102中。以此类推。
在此基础上,若BRAS-UP设备131本身发生故障,则BRAS-CP设备141获取BRAS-CP设备141与BRAS-UP设备131之间的VXLAN隧道1的所有VXLAN标识,即VXLAN标识101、VXLAN标识102、VXLAN标识103,并将包括这些VXLAN标识的会话信息,确定为BRAS-UP设备131对应的会话信息。
在另一个例子中,参见图1所示,若BRAS-UP设备131与用户侧的交换机121之间的链路发生故障,该故障的链路对应物理接口1,且该物理接口1对应VSI接口1,由于该VSI接口1对应的VXLAN标识是VXLAN标识101,因此,BRAS-CP设备141可以将包括VXLAN标识101的会话信息(如用户设备111和用户设备112对应的会话信息),确定为BRAS-UP设备131对应的会话信息。
以下结合具体的应用场景,对上述过程进行详细说明。本应用场景下,管理编排器161周期性向主BRAS-UP设备131发送故障查询消息。其中,故障查询消息的发送间隔可以配置(如1~60秒),由于BRAS-UP设备故障后可能很快恢复,因此可以将发送 间隔设置的长些,避免链路反复震荡导致不必要的反复切换。
BRAS-UP设备131在接收到故障查询消息后,若BRAS-UP设备131与交换机121之间的链路发生故障,则将故障链路的信息(如VSI接口1的信息)发送给管理编排器161。管理编排器161确定VSI接口1对应的VXLAN标识是VXLAN标识101,并向BRAS-CP设备141发送主备切换消息。其中,该主备切换消息可以携带VXLAN标识101、BRAS-UP设备132的信息(如IP地址等)。
BRAS-CP设备141收到管理编排器161发送的主备切换消息后,确定BRAS-UP设备131发生故障,将包括VXLAN标识101的会话信息(如用户设备111和用户设备112对应的会话信息),确定为BRAS-UP设备131对应的会话信息。
BRAS-CP设备141通过备隧道将BRAS-UP设备131对应的会话信息发送给备BRAS-UP设备132。BRAS-CP设备141将网段10.1.1.0/24发送给BRAS-UP设备132,BRAS-UP设备132发布携带网段10.1.1.0/24的路由。BRAS-CP设备141或者管理编排器161通知BRAS-UP设备132将与交换机121连接的接口恢复为UP(正常)状态,这样,交换机121上与BRAS-UP设备132连接的接口处于UP状态,从而使得交换机121可以向BRAS-UP设备132发送数据。BRAS-CP设备141向BRAS-UP设备132发送开始发送消息,于是BRAS-UP设备132向交换机121发送免费ARP报文。
此外,BRAS-CP设备141通过VXLAN隧道1将VXLAN标识101发送给BRAS-UP设备131,BRAS-UP设备131删除具有VXLAN标识101的会话信息。同时,BRAS-CP设备141将网段10.1.1.0/24发送给BRAS-UP设备131,BRAS-UP设备131发送撤销该网段10.1.1.0/24的路由。由于BRAS-UP设备131与交换机121之间的链路故障,因此不再向交换机121发送免费ARP报文。
基于与上述方法同样的申请构思,本申请实施例还提出一种BRAS转控分离的备份装置,应用于BRAS-CP设备,参见图3所示,为该装置的结构图,该装置包括:确定模块301,用于在用户设备通过认证后,确定所述用户设备对应的会话信息,确定所述用户设备对应的隧道备份组,其中隧道备份组包括BRAS-CP设备与主BRAS-UP设备之间的主隧道、BRAS-CP设备与备BRAS-UP设备之间的备隧道;发送模块302,用于通过所述主隧道将所述会话信息发送给所述主BRAS-UP设备,以使所述主BRAS-UP设备根据所述会话信息进行数据传输;获取模块303,用于当所述主BRAS-UP设备发生故障时,则获取与所述主BRAS-UP设备对应的会话信息;所述发送模块302,还用于通过备隧道将获取的会话信息发送给备BRAS-UP设备,以使备BRAS-UP设备 根据接收到的会话信息进行数据传输。
所述确定模块301,还用于确定所述用户设备所属的网段。
所述发送模块302,还用于当之前未发送过所述网段时,则通过所述主隧道将所述网段发送给主BRAS-UP设备,以使主BRAS-UP设备发布携带所述网段的第一路由,其中第一路由用于将目的为所述网段的数据发送给主BRAS-UP设备。
当所述主BRAS-UP设备发生故障时,则通过所述备隧道将所述网段发送给所述备BRAS-UP设备,以使所述备BRAS-UP设备发布携带所述网段的第二路由,其中所述第二路由用于将目的为所述网段的数据发送给所述备BRAS-UP设备。
所述发送模块302,在感知到所述主BRAS-UP设备发生故障后,则通过所述备隧道将获取的所述会话信息发送给所述备BRAS-UP设备,并通过所述备隧道将所述网段发送给所述备BRAS-UP设备,其中,由BRAS-CP设备决定是否进行主备切换。或者,所述发送模块302还用于在感知到所述主BRAS-UP设备发生故障后,将所述主BRAS-UP设备发生故障的信息发送给管理编排器;若接收到所述管理编排器发送的主备切换消息,则通过所述备隧道将获取的会话信息发送给所述备BRAS-UP设备,并通过所述备隧道将所述网段发送给所述备BRAS-UP设备。或者,若接收到管理编排器发送的主备切换消息,则确定所述主BRAS-UP设备发生故障,所述发送模块302还用于通过所述备隧道将获取的会话信息发送给所述备BRAS-UP设备,并通过所述备隧道将所述网段发送给所述备BRAS-UP设备;其中,所述主备切换消息是所述管理编排器在感知到所述主BRAS-UP设备发生故障时发送的。
所述获取模块303,具体用于若所述主BRAS-UP设备本身发生故障,则将包括特定标记的会话信息,确定为所述主BRAS-UP设备对应的会话信息;其中,所述特定标记用于表示会话信息被发送给所述主BRAS-UP设备;或者,获取所述BRAS-CP设备与所述主BRAS-UP设备之间的VXLAN隧道的所有VXLAN标识,并将包括所述VXLAN标识的会话信息,确定为所述主BRAS-UP设备对应的会话信息。若所述主BRAS-UP设备与用户侧的交换机之间的链路发生故障,则所述获取模块303用于获取故障的链路对应的VXLAN标识,并将包括所述故障的链路对应的VXLAN标识的会话信息,确定为所述主BRAS-UP设备对应的会话信息。
所述获取模块303,具体用于在获取故障的链路对应的VXLAN标识的过程中,接收管理编排器发送的主备切换消息,所述主备切换消息携带所述故障的链路对应的 VXLAN标识;其中,所述管理编排器确定所述主BRAS-UP设备与用户侧的交换机之间的链路发生故障后,获取故障的链路对应的VSI接口,并将所述VSI接口对应的VXLAN标识添加到所述主备切换消息中发送。
所述确定模块301,具体用于在确定所述用户设备对应的隧道备份组的过程中,确定地址请求报文的接收隧道;其中所述接收隧道是BRAS-CP设备上接收到地址请求报文的隧道,所述地址请求报文是用户设备通过BRAS-UP设备发送的。所述确定模块301查询主隧道与所述接收隧道匹配的隧道备份组,并将查询到的隧道备份组确定为所述用户设备对应的隧道备份组。
所述发送模块302,还用于当所述主BRAS-UP设备未发生故障时,向所述备BRAS-UP设备发送停止发送消息,其中,所述停止发送消息用于指示所述备BRAS-UP设备禁止向用户侧的交换机发送免费ARP报文。当所述主BRAS-UP设备发生故障时,所述发送模块302,向所述备BRAS-UP设备发送开始发送消息,其中,所述开始发送消息用于指示所述备BRAS-UP设备向用户侧的交换机发送免费ARP报文。
本申请实施例提供的BRAS-CP设备,从硬件层面而言,该BRAS-CP设备的硬件架构示意图可以参见图4。包括:机器可读存储介质41和处理器42,其中:
机器可读存储介质41:存储指令代码。
处理器42:与机器可读存储介质通信,读取和执行机器可读存储介质中存储的所述指令代码,实现本申请上述示例公开的BRAS转控分离的备份操作。
这里,机器可读存储介质可以是任何电子、磁性、光学或其它物理存储装置,可以包含或存储信息,如可执行指令、数据,等等。例如,机器可读存储介质可以是:易失存储器、非易失性存储器或者类似的存储介质。具体地,机器可读存储介质可以是RAM(Radom Access Memory,随机存取存储器)、闪存、存储驱动器(如硬盘驱动器)、固态硬盘、任何类型的存储盘(如光盘、DVD等),或者类似的存储介质,或者它们的组合。
本申请实施例还提出一种机器可读存储介质,应用于BRAS-CP设备,所述机器可读存储介质存储有若干计算机指令,计算机指令被执行时进行如下处理:
在用户设备通过认证后,确定所述用户设备对应的会话信息,并确定所述用户设备对应的隧道备份组,所述隧道备份组包括BRAS-CP设备与主BRAS-UP设备之间的主隧道、BRAS-CP设备与备BRAS-UP设备之间的备隧道;
通过所述主隧道将所述会话信息发送给所述主BRAS-UP设备,以使所述主BRAS-UP设备根据所述会话信息进行数据传输;
若所述主BRAS-UP设备发生故障,则获取与所述主BRAS-UP设备对应的会话信息,并通过所述备隧道将获取的会话信息发送给所述备BRAS-UP设备,以使所述备BRAS-UP设备根据接收到的会话信息进行数据传输。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可以由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其它可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其它可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
而且,这些计算机程序指令也可以存储在能引导计算机或其它可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或者多个流程和/或方框图一个方框或者多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其它可编程数据处理设备上,使得在 计算机或者其它可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其它可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (15)

  1. 一种宽带远程接入服务器BRAS转控分离的备份方法,应用于BRAS-CP设备,所述方法包括:
    在用户设备通过认证后,确定所述用户设备对应的会话信息,并确定所述用户设备对应的隧道备份组,其中所述隧道备份组包括所述BRAS-CP设备与主BRAS-UP设备之间的主隧道、所述BRAS-CP设备与备BRAS-UP设备之间的备隧道;
    通过所述主隧道将所述会话信息发送给所述主BRAS-UP设备,以使所述主BRAS-UP设备根据所述会话信息进行数据传输;
    若所述主BRAS-UP设备发生故障,则获取与所述主BRAS-UP设备对应的会话信息,并通过所述备隧道将获取的所述会话信息发送给所述备BRAS-UP设备,以使所述备BRAS-UP设备根据接收到的所述会话信息进行数据传输。
  2. 根据权利要求1所述的方法,其特征在于,所述确定所述用户设备对应的隧道备份组之后,所述方法还包括:
    确定所述用户设备所属的网段,
    若之前未发送过所述网段,通过所述主隧道将所述网段发送给主BRAS-UP设备,以使主BRAS-UP设备发布携带所述网段的第一路由,第一路由用于将目的地址为所述网段的数据发送给主BRAS-UP设备;
    若所述主BRAS-UP设备发生故障,则通过所述备隧道将所述网段发送给所述备BRAS-UP设备,以使所述备BRAS-UP设备发布携带所述网段的第二路由,所述第二路由用于将目的地址为所述网段的数据发送给所述备BRAS-UP设备。
  3. 根据权利要求1所述的方法,其特征在于,所述方法进一步包括:
    在感知到所述主BRAS-UP设备发生故障后,则通过所述备隧道将获取的所述会话信息发送给所述备BRAS-UP设备,并通过所述备隧道将所述网段发送给所述备BRAS-UP设备,其中,由BRAS-CP设备决定是否进行主备切换;或者,
    在感知到所述主BRAS-UP设备发生故障后,则将所述主BRAS-UP设备发生故障的信息发送给管理编排器;若接收到所述管理编排器发送的主备切换消息,则通过所述备隧道将获取的所述会话信息发送给所述备BRAS-UP设备,并通过所述备隧道将所述网段发送给所述备BRAS-UP设备;或者,
    若接收到管理编排器发送的主备切换消息,则确定所述主BRAS-UP设备发生故障,通过所述备隧道将获取的所述会话信息发送给所述备BRAS-UP设备,并通过所述备隧道将所述网段发送给所述备BRAS-UP设备;其中,所述主备切换消息是所述管理编排 器在感知到所述主BRAS-UP设备发生故障时发送的。
  4. 根据权利要求1所述的方法,其特征在于,所述获取与所述主BRAS-UP设备对应的所述会话信息的过程,具体包括:
    若所述主BRAS-UP设备本身发生故障,则
    将包括特定标记的会话信息,确定为所述主BRAS-UP设备对应的所述会话信息;其中,所述特定标记用于表示会话信息被发送给所述主BRAS-UP设备;或者,
    获取所述BRAS-CP设备与所述主BRAS-UP设备之间的VXLAN隧道的所有VXLAN标识,并将包括所述VXLAN标识的会话信息,确定为所述主BRAS-UP设备对应的所述会话信息;
    若所述主BRAS-UP设备与用户侧的交换机之间的链路发生故障,则获取故障的链路对应的VXLAN标识,并将包括所述故障的链路对应的VXLAN标识的会话信息,确定为所述主BRAS-UP设备对应的所述会话信息。
  5. 根据权利要求4所述的方法,其特征在于,所述获取故障的链路对应的VXLAN标识的过程,具体包括:
    接收管理编排器发送的主备切换消息,其中,所述主备切换消息携带所述故障的链路对应的VXLAN标识,所述管理编排器确定所述主BRAS-UP设备与用户侧的交换机之间的链路发生故障后,获取故障的链路对应的VSI接口,并将所述VSI接口对应的VXLAN标识添加到所述主备切换消息中发送。
  6. 根据权利要求1所述的方法,其特征在于,所述确定所述用户设备对应的隧道备份组的过程,具体包括:
    确定地址请求报文的接收隧道;其中所述接收隧道是BRAS-CP设备上接收到地址请求报文的隧道,所述地址请求报文是用户设备通过BRAS-UP设备发送的;
    查询主隧道与所述接收隧道匹配的隧道备份组,并将查询到的隧道备份组确定为所述用户设备对应的隧道备份组。
  7. 根据权利要求1所述的方法,其特征在于,所述确定所述用户设备对应的隧道备份组之前,所述方法还包括:
    将所述BRAS-CP设备与每个BRAS-UP设备之间的隧道划分为工作隧道和非工作隧道;为每个工作隧道创建隧道备份组,在创建的隧道备份组中,主隧道为所述工作隧道,备隧道为所述非工作隧道;或者,
    接收管理编排器发送的隧道备份消息,从所述隧道备份消息中解析出主隧道信息和备隧道信息,利用所述主隧道信息和所述备隧道信息创建隧道备份组。
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    若所述主BRAS-UP设备未发生故障,则向所述备BRAS-UP设备发送停止发送消息,其中,所述停止发送消息用于指示所述备BRAS-UP设备禁止向用户侧的交换机发送免费ARP报文;
    若所述主BRAS-UP设备发生故障,则向所述备BRAS-UP设备发送开始发送消息,其中,所述开始发送消息用于指示所述备BRAS-UP设备向用户侧的交换机发送免费ARP报文。
  9. 一种宽带远程接入服务器BRAS转控分离的备份装置,应用于BRAS-CP设备,所述装置包括:
    确定模块,用于在用户设备通过认证后,确定所述用户设备对应的会话信息,确定所述用户设备对应的隧道备份组,其中所述隧道备份组包括所述BRAS-CP设备与主BRAS-UP设备之间的主隧道、所述BRAS-CP设备与备BRAS-UP设备之间的备隧道;
    发送模块,用于通过所述主隧道将所述会话信息发送给所述主BRAS-UP设备,以使所述主BRAS-UP设备根据所述会话信息进行数据传输;
    获取模块,用于当所述主BRAS-UP设备发生故障时,则获取与所述主BRAS-UP设备对应的会话信息;
    所述发送模块,还用于通过备隧道将获取的所述会话信息发送给备BRAS-UP设备,以使所述备BRAS-UP设备根据接收到的所述会话信息进行数据传输。
  10. 根据权利要求9所述的装置,其特征在于,所述确定模块,还用于确定所述用户设备所属的网段;
    所述发送模块,还用于当之前未发送过所述网段时,则通过所述主隧道将所述网段发送给主BRAS-UP设备,以使主BRAS-UP设备发布携带所述网段的第一路由,第一路由用于将目的地址为所述网段的数据发送给主BRAS-UP设备;
    当所述主BRAS-UP设备发生故障时,则通过所述备隧道将所述网段发送给所述备BRAS-UP设备,以使所述备BRAS-UP设备发布携带所述网段的第二路由,所述第二路由用于将目的地址为所述网段的数据发送给所述备BRAS-UP设备。
  11. 根据权利要求10所述的装置,其特征在于,所述发送模块用于:
    在感知到所述主BRAS-UP设备发生故障后,则通过所述备隧道将获取的所述会话信息发送给所述备BRAS-UP设备,并通过所述备隧道将所述网段发送给所述备BRAS-UP设备,其中,由BRAS-CP设备决定是否进行主备切换;
    或者,在感知到所述主BRAS-UP设备发生故障后,将所述主BRAS-UP设备发生 故障的信息发送给管理编排器;若接收到所述管理编排器发送的主备切换消息,则通过所述备隧道将获取的所述会话信息发送给所述备BRAS-UP设备,并通过所述备隧道将所述网段发送给所述备BRAS-UP设备;
    或者,若接收到管理编排器发送的主备切换消息,则确定所述主BRAS-UP设备发生故障,通过所述备隧道将获取的所述会话信息发送给所述备BRAS-UP设备,并通过所述备隧道将所述网段发送给所述备BRAS-UP设备;其中,所述主备切换消息是所述管理编排器在感知到所述主BRAS-UP设备发生故障时发送的。
  12. 根据权利要求9所述的装置,其特征在于,所述获取模块用于:
    若所述主BRAS-UP设备本身发生故障,则将包括特定标记的会话信息,确定为所述主BRAS-UP设备对应的所述会话信息;其中,所述特定标记用于表示会话信息被发送给所述主BRAS-UP设备;或者,获取所述BRAS-CP设备与所述主BRAS-UP设备之间的VXLAN隧道的所有VXLAN标识,并将包括所述VXLAN标识的会话信息,确定为所述主BRAS-UP设备对应的所述会话信息;
    若所述主BRAS-UP设备与用户侧的交换机之间的链路发生故障,则获取故障的链路对应的VXLAN标识,并将包括所述故障的链路对应的VXLAN标识的会话信息,确定为所述主BRAS-UP设备对应的所述会话信息;
    其中,在获取故障的链路对应的VXLAN标识的过程中,接收管理编排器发送的主备切换消息,其中,所述主备切换消息携带所述故障的链路对应的VXLAN标识,所述管理编排器确定所述主BRAS-UP设备与用户侧的交换机之间的链路发生故障后,获取故障的链路对应的VSI接口,并将所述VSI接口对应的VXLAN标识添加到所述主备切换消息中发送。
  13. 根据权利要求9所述的装置,其特征在于,所述获取模块还用于:
    在确定所述用户设备对应的隧道备份组的过程中,确定地址请求报文的接收隧道;其中所述接收隧道是BRAS-CP设备上接收到地址请求报文的隧道,所述地址请求报文是用户设备通过BRAS-UP设备发送的;
    查询主隧道与所述接收隧道匹配的隧道备份组,并将查询到的隧道备份组确定为所述用户设备对应的隧道备份组。
  14. 根据权利要求9所述的装置,其特征在于,所述发送模块还用于:
    当所述主BRAS-UP设备未发生故障时,向所述备BRAS-UP设备发送停止发送消息,其中,所述停止发送消息用于指示所述备BRAS-UP设备禁止向用户侧的交换机发送免费ARP报文;当所述主BRAS-UP设备发生故障时,向所述备BRAS-UP设备发送 开始发送消息,其中,所述开始发送消息用于指示所述备BRAS-UP设备向用户侧的交换机发送免费ARP报文。
  15. 一种机器可读存储介质,应用于BRAS-CP设备,所述机器可读存储介质存储有若干计算机指令,计算机指令被执行时进行如下处理:
    在用户设备通过认证后,确定所述用户设备对应的会话信息,并确定所述用户设备对应的隧道备份组,其中,所述隧道备份组包括所述BRAS-CP设备与主BRAS-UP设备之间的主隧道、所述BRAS-CP设备与备BRAS-UP设备之间的备隧道;
    通过所述主隧道将所述会话信息发送给所述主BRAS-UP设备,以使所述主BRAS-UP设备根据所述会话信息进行数据传输;
    若所述主BRAS-UP设备发生故障,则获取与所述主BRAS-UP设备对应的会话信息,并通过所述备隧道将获取的所述会话信息发送给所述备BRAS-UP设备,以使所述备BRAS-UP设备根据接收到的所述会话信息进行数据传输。
PCT/CN2018/104186 2017-09-06 2018-09-05 一种bras转控分离的备份方法和装置 WO2019047855A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710796619.1 2017-09-06
CN201710796619.1A CN108667695B (zh) 2017-09-06 2017-09-06 一种bras转控分离的备份方法和装置

Publications (1)

Publication Number Publication Date
WO2019047855A1 true WO2019047855A1 (zh) 2019-03-14

Family

ID=63784084

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/104186 WO2019047855A1 (zh) 2017-09-06 2018-09-05 一种bras转控分离的备份方法和装置

Country Status (2)

Country Link
CN (1) CN108667695B (zh)
WO (1) WO2019047855A1 (zh)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217909A (zh) * 2019-07-11 2021-01-12 奇安信科技集团股份有限公司 基于会话的数据转发方法及数据转发装置
CN113067756A (zh) * 2020-01-02 2021-07-02 中国移动通信有限公司研究院 信息传输方法、装置、控制器及接入设备
CN114051047A (zh) * 2021-10-29 2022-02-15 恒安嘉新(北京)科技股份公司 一种会话消息的备份方法、装置、网络设备和存储介质
CN114205405A (zh) * 2021-10-31 2022-03-18 新华三技术有限公司合肥分公司 一种bfd报文发送方法、装置、电子设备及存储介质
CN114244709A (zh) * 2021-11-11 2022-03-25 新华三大数据技术有限公司 Up设备关联控制方法及装置
CN114513458A (zh) * 2022-01-27 2022-05-17 新华三技术有限公司 通信方法及装置
CN114640574A (zh) * 2022-02-28 2022-06-17 天翼安全科技有限公司 一种主备设备的切换方法及装置
WO2024036990A1 (zh) * 2022-08-15 2024-02-22 中兴通讯股份有限公司 数据恢复的方法、装置、网络设备及存储介质
EP4221117A4 (en) * 2020-10-31 2024-03-13 Huawei Tech Co Ltd BROADBAND CONNECTION METHOD AND DEVICE

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262770B (zh) * 2018-12-03 2022-05-20 迈普通信技术股份有限公司 一种通信方法及通信系统
CN110430115B (zh) * 2019-07-25 2021-08-06 新华三大数据技术有限公司 业务恢复方法、系统、网络设备及计算机可读存储介质
CN113329454B (zh) * 2020-02-29 2023-01-06 华为技术有限公司 发布路由的方法、网元、系统及设备
CN111478939B (zh) * 2020-02-29 2022-02-22 新华三信息安全技术有限公司 一种异常下线恢复方法、装置、设备及机器可读存储介质
CN112804077B (zh) * 2020-06-05 2022-07-15 中兴通讯股份有限公司 数据保护方法、控制器、控制面设备和存储介质
CN114079613B (zh) * 2020-08-14 2023-07-18 华为技术有限公司 一种通信方法及相关设备
CN113542395B (zh) * 2021-07-13 2022-07-12 武汉绿色网络信息服务有限责任公司 报文处理方法和报文处理系统
CN113992557B (zh) * 2021-09-10 2023-03-31 新华三信息安全技术有限公司 报文处理方法及装置
CN115811767A (zh) * 2021-09-11 2023-03-17 华为技术有限公司 消息收发方法、信息获取及收发方法、及相关设备
CN116938626B (zh) * 2023-09-12 2023-12-19 新华三技术有限公司 一种客户端漫游的方法、装置及电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015172803A1 (en) * 2014-05-12 2015-11-19 Nokia Solutions And Networks Management International Gmbh Controlling of communication network comprising virtualized network functions
CN106685818A (zh) * 2016-12-30 2017-05-17 北京华为数字技术有限公司 报文反馈方法及装置
CN108512703A (zh) * 2018-03-28 2018-09-07 新华三技术有限公司 Bras转控分离的备份方法、装置、设备及机器可读存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025476B (zh) * 2009-09-23 2014-02-26 中兴通讯股份有限公司 在bras多机备份场景中实现用户端口定位的方法及网络系统
CN102006189B (zh) * 2010-11-25 2014-09-10 中兴通讯股份有限公司 用于双机冗余备份的主用接入服务器确定方法及装置
CN104993993B (zh) * 2015-05-13 2018-06-15 华为技术有限公司 一种报文处理方法、设备和系统
CN111182034A (zh) * 2016-12-29 2020-05-19 北京华为数字技术有限公司 用户上线的负载均衡方法、装置和设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015172803A1 (en) * 2014-05-12 2015-11-19 Nokia Solutions And Networks Management International Gmbh Controlling of communication network comprising virtualized network functions
CN106685818A (zh) * 2016-12-30 2017-05-17 北京华为数字技术有限公司 报文反馈方法及装置
CN108512703A (zh) * 2018-03-28 2018-09-07 新华三技术有限公司 Bras转控分离的备份方法、装置、设备及机器可读存储介质

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217909A (zh) * 2019-07-11 2021-01-12 奇安信科技集团股份有限公司 基于会话的数据转发方法及数据转发装置
CN113067756A (zh) * 2020-01-02 2021-07-02 中国移动通信有限公司研究院 信息传输方法、装置、控制器及接入设备
EP4221117A4 (en) * 2020-10-31 2024-03-13 Huawei Tech Co Ltd BROADBAND CONNECTION METHOD AND DEVICE
CN114051047A (zh) * 2021-10-29 2022-02-15 恒安嘉新(北京)科技股份公司 一种会话消息的备份方法、装置、网络设备和存储介质
CN114051047B (zh) * 2021-10-29 2023-06-09 恒安嘉新(北京)科技股份公司 一种会话消息的备份方法、装置、网络设备和存储介质
CN114205405A (zh) * 2021-10-31 2022-03-18 新华三技术有限公司合肥分公司 一种bfd报文发送方法、装置、电子设备及存储介质
CN114205405B (zh) * 2021-10-31 2023-11-07 新华三技术有限公司合肥分公司 一种bfd报文发送方法、装置、电子设备及存储介质
CN114244709B (zh) * 2021-11-11 2023-12-26 新华三大数据技术有限公司 Up设备关联控制方法及装置
CN114244709A (zh) * 2021-11-11 2022-03-25 新华三大数据技术有限公司 Up设备关联控制方法及装置
CN114513458A (zh) * 2022-01-27 2022-05-17 新华三技术有限公司 通信方法及装置
CN114513458B (zh) * 2022-01-27 2023-12-08 新华三技术有限公司 通信方法及装置
CN114640574A (zh) * 2022-02-28 2022-06-17 天翼安全科技有限公司 一种主备设备的切换方法及装置
CN114640574B (zh) * 2022-02-28 2023-11-28 天翼安全科技有限公司 一种主备设备的切换方法及装置
WO2024036990A1 (zh) * 2022-08-15 2024-02-22 中兴通讯股份有限公司 数据恢复的方法、装置、网络设备及存储介质

Also Published As

Publication number Publication date
CN108667695B (zh) 2020-12-29
CN108667695A (zh) 2018-10-16

Similar Documents

Publication Publication Date Title
WO2019047855A1 (zh) 一种bras转控分离的备份方法和装置
US10798760B2 (en) Method for controlling network slice, forwarding device, control device, and communications system
US11963242B2 (en) Communication method and apparatus
US9674139B2 (en) Detection of a misconfigured duplicate IP address in a distributed data center network fabric
CN108667575B (zh) 一种bras转控分离的备份方法和装置
CN108512703B (zh) Bras转控分离的备份方法、装置、设备及机器可读存储介质
US10193707B2 (en) Packet transmission method and apparatus
EP3461072B1 (en) Access control in a vxlan
US11671363B2 (en) Method and apparatus for cross-service-zone communication, and data center network
US20150078152A1 (en) Virtual network routing
WO2013189059A1 (zh) 报文处理方法、装置、主机和网络系统
JP2020520612A (ja) パケット伝送方法、エッジデバイス及び機械可読記憶媒体
CN108616431A (zh) 一种报文处理方法、装置、设备及机器可读存储介质
WO2018233588A1 (zh) 转发表项生成
WO2014089799A1 (zh) 一种确定虚拟机漂移的方法和装置
CN109587286B (zh) 一种设备接入控制方法及装置
CN108011754B (zh) 转控分离系统、备份方法和装置
US11012412B2 (en) Method and system for network traffic steering towards a service device
WO2019201209A1 (zh) 报文转发
US20220210005A1 (en) Synchronizing communication channel state information for high flow availability
US20150312141A1 (en) Information processing system and control method for information processing system
US20230283589A1 (en) Synchronizing dynamic host configuration protocol snoop information
US10764234B2 (en) Method and system for host discovery and tracking in a network using associations between hosts and tunnel end points
WO2018171722A1 (zh) Mac地址同步
US20140310377A1 (en) Information processing method and information processing apparatus

Legal Events

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

Ref document number: 18854588

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

Country of ref document: EP

Kind code of ref document: A1