WO2016112656A1 - Service processing method and device - Google Patents

Service processing method and device Download PDF

Info

Publication number
WO2016112656A1
WO2016112656A1 PCT/CN2015/083106 CN2015083106W WO2016112656A1 WO 2016112656 A1 WO2016112656 A1 WO 2016112656A1 CN 2015083106 W CN2015083106 W CN 2015083106W WO 2016112656 A1 WO2016112656 A1 WO 2016112656A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
access
information
access interface
service processing
Prior art date
Application number
PCT/CN2015/083106
Other languages
French (fr)
Chinese (zh)
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 WO2016112656A1 publication Critical patent/WO2016112656A1/en

Links

Images

Definitions

  • the present invention relates to the field of communications, and in particular to a service processing method and apparatus.
  • the Broadband Remote Access Server mainly completes access control for users, and completes authentication with the authentication system, the charging system, the customer management system, and the service policy control system to implement terminal user access authentication. Billing and management functions.
  • a Layer 3 network device such as a router or a Layer 3 switch
  • BRAS is deployed on a Layer 3 network. That is, a Layer 3 network device (such as a router or a Layer 3 switch) is directly connected under the BRAS.
  • the three-layer user of the terminal accesses the BRAS through a single user-side Layer 3 interface.
  • the BRAS has only one specific interface for access, and the access interface is determined. Or a group of interfaces is bundled into one interface, and the external interface is a logical interface. This unique interface has a unique network address.
  • the Layer 3 access in the existing solution can only have one directly connected next hop address. That is to say, in this case, it is difficult to hang multiple Layer 3 network devices.
  • the embodiment of the invention provides a service processing method and device, so as to at least solve the problem that the interface of the BRAS cannot be backed up in the related art.
  • a service processing method including: configuring one or more associated interfaces for an access interface, where the access interface and the associated interface are the same type of Layer 3 interface And if the access interface is disconnected from the lower layer device, the route is switched to the associated interface for service processing.
  • the method further includes: when the physical interface of the access interface and the associated interface are different, respectively, saving the access interface and the The information about the associated interface and the terminal information configured by the access interface.
  • the route is switched to the associated interface for service processing in one of the following ways: a virtual router redundancy protocol (Virtual Router Redundancy Protocol, VRRP for short), and a bidirectional forwarding detection (BFD).
  • a virtual router redundancy protocol Virtual Router Redundancy Protocol, VRRP for short
  • BFD bidirectional forwarding detection
  • a service processing method including: acquiring a configuration table carrying configuration information, where the configuration information includes information of an access interface, preset settings, and the access The information of the associated interface associated with the interface, and the configuration information associated with the associated interface, wherein the access interface and the associated interface are the same type of Layer 3 interface; In the case of disconnection from the lower layer device, the route is switched to the associated interface for service processing according to the configuration information.
  • the information of the access interface includes: a MAC address of the access interface, a network address of the access interface, and routing information of the access interface; and the information of the associated interface includes: the association The MAC address of the interface, the network address of the associated interface, and the routing information of the associated interface.
  • a service processing apparatus including: a configuration module, configured to configure one or more associated interfaces for an access interface, where the access interface and the associated interface are The third type of interface of the same type; the first service processing module is configured to switch the route to the associated interface for service processing if the access interface is disconnected from the lower layer device.
  • the device further includes: a saving module, configured to save information of the access interface and the associated interface separately when the physical interface of the access interface and the associated interface are different, And terminal information configured by the access interface.
  • the device further includes: a switching module, configured to switch the route to the associated interface to perform service processing in one of the following manners: a virtual routing redundancy protocol VRRP, and a bidirectional forwarding detection BFD.
  • a switching module configured to switch the route to the associated interface to perform service processing in one of the following manners: a virtual routing redundancy protocol VRRP, and a bidirectional forwarding detection BFD.
  • a service processing apparatus including: an obtaining module, configured to acquire a configuration table carrying configuration information, where the configuration information includes information of an access interface, and a preset The information of the associated interface associated with the access interface, and the configuration information associated with the associated interface, wherein the access interface and the associated interface are the same type of Layer 3 interface;
  • the second service processing module is configured to switch the route to the associated interface for service processing according to the configuration information when the access interface is disconnected from the lower layer device.
  • the information of the access interface includes: a MAC address of the access interface, a network address of the access interface, and routing information of the access interface; and the information of the associated interface includes: the association The MAC address of the interface, the network address of the associated interface, and the routing information of the associated interface.
  • one or more associated interfaces are configured for the access interface, where the access interface and the associated interface are the same type of Layer 3 interface; the access interface is disconnected from the lower device.
  • the route is switched to the associated interface for service processing, and the associated interface is configured to solve the problem that the BRAS interface cannot be backed up in the related art, and the BRAS route backup and handover are implemented.
  • FIG. 1 is a flowchart 1 of a service processing method according to an embodiment of the present invention.
  • FIG. 2 is a second flowchart of a service processing method according to an embodiment of the present invention.
  • FIG. 3 is a block diagram 1 of a service processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 1 of a service processing apparatus in accordance with a preferred embodiment of the present invention.
  • FIG. 5 is a block diagram 2 of a service processing apparatus in accordance with a preferred embodiment of the present invention.
  • FIG. 6 is a block diagram 2 of a service processing apparatus according to an embodiment of the present invention.
  • FIG. 7 is a network diagram of a Layer 3 device of a BRAS according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of processing performed by a user after being configured to be sent to a forwarding table according to an embodiment of the present invention
  • FIG. 9 is a flowchart of processing for triggering online traffic of a user according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of processing of user traffic forwarding according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of traffic forwarding processing of a network side to a layer 3 device according to an embodiment of the present invention.
  • FIG. 1 is a flowchart 1 of a service processing method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 configuring one or more associated interfaces for the access interface, where the access interface and the associated interface are the same type of Layer 3 interface;
  • Step S104 If the access interface is disconnected from the lower layer device, the route is switched to the associated interface for service processing.
  • one or more associated interfaces are configured for the access interface.
  • the route is switched to the associated interface for service processing, and the associated interface is configured to solve the problem.
  • the related art cannot backup the interface of the BRAS, and implements BRAS route backup and switching.
  • the information about the access interface and the associated interface is saved, and the access is saved, where the access interface and the physical interface of the associated interface are different. Terminal information configured on the interface.
  • the route can be switched to the associated interface for service processing in one of the following ways: virtual routing redundancy protocol VRRP, and bidirectional forwarding detection BFD.
  • FIG. 2 is a flowchart 2 of a service processing method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 Acquire a configuration table carrying configuration information, where the configuration information includes information of an access interface, information of an associated interface associated with the access interface, and an association between the access interface and the associated interface.
  • Configuration information where the access interface and the associated interface are the same type of Layer 3 interface;
  • Step S204 If the access interface is disconnected from the lower layer device, the route is switched to the associated interface for service processing according to the configuration information.
  • the information about the access interface may include: a MAC address of the access interface, a network address of the access interface, and routing information of the access interface; the information of the associated interface may include: a MAC address of the associated interface, The network address of the associated interface and the routing information of the associated interface.
  • the embodiments of the present invention provide a service processing apparatus, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a block diagram 1 of a service processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • the configuration module 32 is configured to configure one or more associated interfaces for the access interface, where the access interface and the associated interface are the same type of Layer 3 interface;
  • the first service processing module 34 is configured to switch the route to the associated interface for service processing when the access interface is disconnected from the lower layer device.
  • FIG. 4 is a block diagram of a service processing apparatus according to a preferred embodiment of the present invention. As shown in FIG. 4, the apparatus further includes:
  • the saving module 42 is configured to save the information of the access interface and the associated interface and the terminal information configured by the access interface, respectively, when the physical interface of the access interface and the associated interface are different.
  • FIG. 5 is a block diagram 2 of a service processing apparatus according to a preferred embodiment of the present invention. As shown in FIG. 5, the apparatus further includes:
  • the switching module 52 is configured to switch the route to the associated interface for service processing in one of the following manners: a virtual routing redundancy protocol VRRP, and a bidirectional forwarding detection BFD.
  • FIG. 6 is a block diagram 2 of a service processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the method includes:
  • the obtaining module 62 is configured to obtain a configuration table that carries the configuration information, where the configuration information includes information about the access interface, information of an associated interface associated with the access interface, and the association between the access interface and the access interface.
  • the configuration information associated with the interface, where the access interface and the associated interface are the same type of Layer 3 interface;
  • the second service processing module 64 is configured to switch the route to the associated interface for service processing according to the configuration information when the access interface is disconnected from the lower layer device.
  • the information about the access interface includes: a MAC address of the access interface, a network address of the access interface, and routing information of the access interface;
  • the information of the associated interface includes: MAC address, network address of the associated interface, and routing information of the associated interface.
  • the optional embodiment provides an access method for the associated interface of the Layer 3 device connected to the BRAS, which can better adapt to some network topologies, facilitate BRAS route backup and switching, and enhance the function of device backup.
  • a Layer 3 interface B of the same type is configured, and the A interface is associated with the B interface, where the interface A is the primary interface and the interface B is the associated interface.
  • the main interface A and the associated interface B are both BRAS Layer 3 user-side interfaces, that is, they have the function of user access, which is different from the common network-side interface.
  • the Layer 3 interface also has a layer of information that the primary interface and its associated interfaces have their own MAC addresses, network addresses, and routing information.
  • the Layer 3 interface may be a logical Layer 3 interface such as a Layer 3 aggregation interface that includes multiple real interfaces.
  • the Layer 3 interface A and the Layer 3 interface B may be associated with each other.
  • An end user with an IP address can be configured on only one primary interface A. That is, only one Layer 3 interface can be used as the primary interface for the user. If the primary interface has been configured with the associated interface B, the user is elected. B is the associated interface of the IP user; the primary interface and the associated interface are differentiated according to the user. If the Layer 3 interfaces A and B are associated with each other, the user IP1 is configured on interface A and IP2 is configured on interface B. Then, for the terminal user IP1, interface A is the primary interface, and interface B is the associated interface. For terminal user IP2, interface B is the primary interface, and A is the associated interface.
  • the attributes and policies corresponding to the interface A in the configuration table are obtained, and the configuration table is in the configuration table.
  • the interface information of the associated interface B is saved in the item, and the terminal user IP1 has a small table (memory area) on the forwarding plane (the forwarding plane refers to a flow control module such as a network processor) before the user accesses, if the primary interface A
  • the physical slot of the associated interface B is different (the memory is allocated on different physical boards). Then, there is a small table in both physical memory, and the information of interface A and interface B is saved, and the interface A is saved.
  • User-related configuration information ready for use as an end user IP1 access.
  • the above method may also have the following feature: the terminal user IP1 generates a user table on the forwarding plane after the user accesses (the memory area allocated by the added user information), if the physical interface of the primary interface A and the associated interface B The bits are different (the memory is allocated on different physical boards), then there is a user table in both physical memory, and the information of interface A and interface B is saved, and the user-related configuration information of interface A is saved. Used for end-user IP1 for flow control and billing.
  • the terminal user can perform access request, strong push authentication, and traffic forwarding through the primary interface or the associated interface.
  • the primary interface or the associated interface has independence, that is, traffic can be seamlessly switched between the two interfaces.
  • the virtual routing redundancy protocol VRRP can be used to quickly switch the route to the associated interface B.
  • the traffic can be seamlessly switched between the two interfaces to maintain smooth communication.
  • the connection is opened, the traffic will be seamlessly switched to the primary interface for traffic forwarding.
  • the route switching mode may use other routing switching modes other than VRRP, such as BFD.
  • FIG. 7 is a schematic diagram of a network of a Layer 3 device of a BRAS according to an embodiment of the present invention.
  • a BRAS is connected to a plurality of Layer 3 devices, and the Layer 3 device is connected to the Layer 3 device.
  • Each interface is directly connected to a Layer 3 network port, which has a MAC address, a network address, and routing information.
  • These interfaces on the BRAS have the attributes of the three-layer user-side interface, and the main interface has the relevant configuration required for the online connection.
  • the plurality of Layer 3 devices are connected to a Layer 2 device such as a switch and finally connected to the end user.
  • the user can initiate the access authentication process through the router 1 to the primary interface, and can also initiate the access authentication process through the router 2 to the associated interface, and can generate and save the user information on the BRAS.
  • the traffic can be forwarded through any interface at the same time. That is, the traffic can be forwarded through the router 1 or through the router 2.
  • the ports connected to the switch through the Layer 3 device connected to the BRAS can perform VRRP route backup.
  • VRRP switching can be performed quickly, and the traffic can be switched to another one. The router will not be disconnected.
  • FIG. 8 is a flowchart of a process of being delivered to a forwarding table after a user is configured according to an embodiment of the present invention. As shown in FIG. 8, the processing flow of the configuration table includes the following steps:
  • Step S802 the interface A and the interface B are respectively configured as a three-layer user-side interface, having its own MAC address, a network address, and the interface A is associated with the interface B;
  • Step S804 the interface A configures related ID information of the user IP1, such as the IP address of the IP1, and the like;
  • Step S806 the interface A configures related attribute information required for IP1 access.
  • Step S808 the interface information of the primary interface A and the associated interface B is saved in the IP1 configuration table of the user;
  • Step S810 the user entry is sent from the control plane to the forwarding plane.
  • FIG. 9 is a flowchart of processing a user traffic triggering on-line according to an embodiment of the present invention. As shown in FIG. 9, the user access online processing procedure includes the following steps:
  • Step S902 the user traffic enters the BRAS device through the primary interface or the associated interface.
  • Step S904 determining that the received interface is a Layer 3 interface, and searching for a local configuration table according to the carried source IP in the received traffic;
  • Step S906 it is found that the primary interface or the associated interface in the configuration table is the interface that the traffic enters, and is sent to the processing;
  • Step S908 the authentication and the online process are initiated according to the sent traffic
  • Step S910 After the user successfully goes online, the user table is sent to the forwarding plane to include the primary interface and the associated interface.
  • FIG. 10 is a flowchart of processing a user traffic forwarding according to an embodiment of the present invention. As shown in FIG. 10, the flow of the traffic forwarding process from the primary interface and the associated interface includes the following steps:
  • Step S1002 User traffic enters the BRAS device through the primary interface or the associated interface.
  • Step S1004 determining that the received interface is a Layer 3 interface, and searching for a local user table according to the carried source IP in the received traffic;
  • step S1006 it is found that the primary interface or the associated interface in the user table is the interface that the traffic enters, and is sent to the processing;
  • FIG. 11 is a flowchart of a traffic forwarding process of a network side to a Layer 3 device according to an embodiment of the present invention. As shown in FIG. 11, the flow of the traffic forwarding process from the network side to the BRAS to the downstream Layer 3 device includes the following steps:
  • Step S1102 The traffic initiated by the user enters the BRAS device through the network side interface.
  • Step S1104 Determine a local user table according to the carrying destination IP address in the received traffic, and determine that the user is a three-layer user, and perform traffic rate limiting and the like;
  • Step S1106 Determine, according to the routing table, that the delivered interface is a primary interface or an associated interface
  • Step S1108 Delivering to the downstream Layer 3 device through the primary interface or the associated interface.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across multiple computing devices.
  • they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from this
  • the steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the foregoing embodiments of the present invention are applied to the communication field, and solve the problem that the BRAS interface cannot be backed up in the related art through the configured associated interface, and the BRAS route backup and handover are implemented.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a service processing method and device, the method comprising: configuring one or more associated interfaces for an access interface, the access interface and the associated interfaces being three-layer interfaces of the same type; and when the access interface is disconnected from a lower-layer device, switching a router to the associated interfaces to process service. Via the configuration of the associated interface, the present invention addresses the problem in which an interface of a BRAS cannot be backed up in the related techniques, thus realizing backup and switching of a BRAS router.

Description

业务处理方法及装置Business processing method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及业务处理方法及装置。The present invention relates to the field of communications, and in particular to a service processing method and apparatus.
背景技术Background technique
宽带接入服务器(Broadband Remote Access Server,简称为BRAS)主要完成对用户的接入控制,完成与认证系统、计费系统和客户管理系统及服务策略控制系统相配合实现终端用户接入的认证、计费和管理功能。The Broadband Remote Access Server (BRAS) mainly completes access control for users, and completes authentication with the authentication system, the charging system, the customer management system, and the service policy control system to implement terminal user access authentication. Billing and management functions.
典型的BRAS接入场景的一些网络拓扑下存在BRAS下存在部署于三层网络之上的场景,即BRAS下面直连的是三层网络设备(如路由器,三层交换机)。In some network topologies of a typical BRAS access scenario, there are scenarios in which BRAS is deployed on a Layer 3 network. That is, a Layer 3 network device (such as a router or a Layer 3 switch) is directly connected under the BRAS.
一般来说终端三层用户都是通过单一的用户侧三层接口接入到BRAS的,BRAS对于每个终端用户来说只有一个确定的接口用来接入,对于该接入接口是确定的(或者一组接口捆绑成一个接口,对外还是一个逻辑接口),这唯一的接口具有唯一的网络地址。Generally, the three-layer user of the terminal accesses the BRAS through a single user-side Layer 3 interface. For each terminal user, the BRAS has only one specific interface for access, and the access interface is determined. Or a group of interfaces is bundled into one interface, and the external interface is a logical interface. This unique interface has a unique network address.
所以现有方案下的三层接入只能有一个直连的下一跳地址,也就是说,在这种情况下就很难下挂多个三层网络设备。Therefore, the Layer 3 access in the existing solution can only have one directly connected next hop address. That is to say, in this case, it is difficult to hang multiple Layer 3 network devices.
针对相关技术中不能对BRAS的接口进行备份的问题,目前尚未提出有效的解决方案。In view of the problem that the interface of the BRAS cannot be backed up in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了业务处理方法及装置,以至少解决相关技术中不能对BRAS的接口进行备份的问题。The embodiment of the invention provides a service processing method and device, so as to at least solve the problem that the interface of the BRAS cannot be backed up in the related art.
根据本发明实施例的一个方面,提供了一种业务处理方法,包括:为接入接口配置一个或多个关联接口,其中,所述接入接口与所述关联接口为相同类型的三层接口;在所述接入接口与下层设备断开连接的情况下,将路由切换到所述关联接口进行业务处理。 According to an aspect of the embodiments of the present invention, a service processing method is provided, including: configuring one or more associated interfaces for an access interface, where the access interface and the associated interface are the same type of Layer 3 interface And if the access interface is disconnected from the lower layer device, the route is switched to the associated interface for service processing.
进一步地,在为接入接口配置一个或多个关联接口之后,还包括:在所述接入接口和所述关联接口所在的物理槽位不同的情况下,分别保存所述接入接口和所述关联接口的信息,以及所述接入接口配置的终端信息。Further, after the one or more associated interfaces are configured for the access interface, the method further includes: when the physical interface of the access interface and the associated interface are different, respectively, saving the access interface and the The information about the associated interface and the terminal information configured by the access interface.
进一步地,通过以下方式之一将路由切换到所述关联接口进行业务处理:虚拟路由冗余协议(Virtual Router Redundancy Protocol,简称为VRRP),双向转发检测(Bidirectional Forwarding Detection,简称为BFD)。Further, the route is switched to the associated interface for service processing in one of the following ways: a virtual router redundancy protocol (Virtual Router Redundancy Protocol, VRRP for short), and a bidirectional forwarding detection (BFD).
根据本发明实施例的另一方面,提供了一种业务处理方法,包括:获取携带有配置信息的配置表,其中,所述配置信息包括接入接口的信息、预先设置的与所述接入接口关联的关联接口的信息、以及所述接入接口与所述关联接口关联的配置信息,其中,所述接入接口与所述关联接口为相同类型的三层接口;在所述接入接口与下层设备断开连接的情况下,根据所述配置信息将路由切换到所述关联接口进行业务处理。According to another aspect of the present invention, a service processing method is provided, including: acquiring a configuration table carrying configuration information, where the configuration information includes information of an access interface, preset settings, and the access The information of the associated interface associated with the interface, and the configuration information associated with the associated interface, wherein the access interface and the associated interface are the same type of Layer 3 interface; In the case of disconnection from the lower layer device, the route is switched to the associated interface for service processing according to the configuration information.
进一步地,所述接入接口的信息包括:所述接入接口的MAC地址、所述接入接口的网络地址、所述接入接口的路由信息;所述关联接口的信息包括:所述关联接口的MAC地址、所述关联接口的网络地址、所述关联接口的路由信息。Further, the information of the access interface includes: a MAC address of the access interface, a network address of the access interface, and routing information of the access interface; and the information of the associated interface includes: the association The MAC address of the interface, the network address of the associated interface, and the routing information of the associated interface.
根据本发明实施例的另一方面,提供了一种业务处理装置,包括:配置模块,设置为为接入接口配置一个或多个关联接口,其中,所述接入接口与所述关联接口为相同类型的三层接口;第一业务处理模块,设置为在所述接入接口与下层设备断开连接的情况下,将路由切换到所述关联接口进行业务处理。According to another aspect of the present invention, a service processing apparatus is provided, including: a configuration module, configured to configure one or more associated interfaces for an access interface, where the access interface and the associated interface are The third type of interface of the same type; the first service processing module is configured to switch the route to the associated interface for service processing if the access interface is disconnected from the lower layer device.
进一步地,所述装置还包括:保存模块,设置为在所述接入接口和所述关联接口所在的物理槽位不同的情况下,分别保存所述接入接口和所述关联接口的信息,以及所述接入接口配置的终端信息。Further, the device further includes: a saving module, configured to save information of the access interface and the associated interface separately when the physical interface of the access interface and the associated interface are different, And terminal information configured by the access interface.
进一步地,所述装置还包括:切换模块,设置为通过以下方式之一将路由切换到所述关联接口进行业务处理:虚拟路由冗余协议VRRP,双向转发检测BFD。Further, the device further includes: a switching module, configured to switch the route to the associated interface to perform service processing in one of the following manners: a virtual routing redundancy protocol VRRP, and a bidirectional forwarding detection BFD.
根据本发明实施例的另一方面,提供了一种业务处理装置,包括:获取模块,设置为获取携带有配置信息的配置表,其中,所述配置信息包括接入接口的信息、预先设置的与所述接入接口关联的关联接口的信息、以及所述接入接口与所述关联接口关联的配置信息,其中,所述接入接口与所述关联接口为相同类型的三层接口;第二业务处理模块,设置为在所述接入接口与下层设备断开连接的情况下,根据所述配置信息将路由切换到所述关联接口进行业务处理。 According to another aspect of the present invention, a service processing apparatus is provided, including: an obtaining module, configured to acquire a configuration table carrying configuration information, where the configuration information includes information of an access interface, and a preset The information of the associated interface associated with the access interface, and the configuration information associated with the associated interface, wherein the access interface and the associated interface are the same type of Layer 3 interface; The second service processing module is configured to switch the route to the associated interface for service processing according to the configuration information when the access interface is disconnected from the lower layer device.
进一步地,所述接入接口的信息包括:所述接入接口的MAC地址、所述接入接口的网络地址、所述接入接口的路由信息;所述关联接口的信息包括:所述关联接口的MAC地址、所述关联接口的网络地址、所述关联接口的路由信息。Further, the information of the access interface includes: a MAC address of the access interface, a network address of the access interface, and routing information of the access interface; and the information of the associated interface includes: the association The MAC address of the interface, the network address of the associated interface, and the routing information of the associated interface.
通过本发明实施例,采用为接入接口配置一个或多个关联接口,其中,所述接入接口与所述关联接口为相同类型的三层接口;在所述接入接口与下层设备断开连接的情况下,将路由切换到所述关联接口进行业务处理,通过配置的关联接口,解决了相关技术中不能对BRAS的接口进行备份的问题,实现了BRAS路由备份和切换。According to the embodiment of the present invention, one or more associated interfaces are configured for the access interface, where the access interface and the associated interface are the same type of Layer 3 interface; the access interface is disconnected from the lower device. In the case of the connection, the route is switched to the associated interface for service processing, and the associated interface is configured to solve the problem that the BRAS interface cannot be backed up in the related art, and the BRAS route backup and handover are implemented.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明实施例,并不构成对本发明实施例的不当限定。在附图中:The drawings are intended to provide a further understanding of the embodiments of the present invention, and constitute a part of the present application. The embodiments of the present invention and the description thereof are used to explain the embodiments of the present invention, and do not constitute an inappropriate embodiment of the present invention. limited. In the drawing:
图1是根据本发明实施例的业务处理方法的流程图一;1 is a flowchart 1 of a service processing method according to an embodiment of the present invention;
图2是根据本发明实施例的业务处理方法的流程图二;2 is a second flowchart of a service processing method according to an embodiment of the present invention;
图3是根据本发明实施例的业务处理装置的框图一;3 is a block diagram 1 of a service processing apparatus according to an embodiment of the present invention;
图4是根据本发明优选实施例的业务处理装置的框图一;4 is a block diagram 1 of a service processing apparatus in accordance with a preferred embodiment of the present invention;
图5是根据本发明优选实施例的业务处理装置的框图二;Figure 5 is a block diagram 2 of a service processing apparatus in accordance with a preferred embodiment of the present invention;
图6是根据本发明实施例的业务处理装置的框图二;6 is a block diagram 2 of a service processing apparatus according to an embodiment of the present invention;
图7是根据本发明实施例的BRAS的三层设备的网络示意图;7 is a network diagram of a Layer 3 device of a BRAS according to an embodiment of the present invention;
图8是根据本发明实施例的用户配置后下发到转发表的处理流程图;FIG. 8 is a flowchart of processing performed by a user after being configured to be sent to a forwarding table according to an embodiment of the present invention;
图9是本发明实施例的用户流量触发上线的处理流程图;FIG. 9 is a flowchart of processing for triggering online traffic of a user according to an embodiment of the present invention; FIG.
图10是根据本发明实施例的用户流量转发的处理流程图;FIG. 10 is a flowchart of processing of user traffic forwarding according to an embodiment of the present invention; FIG.
图11是根据本发明实施例的网络侧到三层设备的流量转发处理流程图。 FIG. 11 is a flowchart of traffic forwarding processing of a network side to a layer 3 device according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种业务处理方法,图1是根据本发明实施例的业务处理方法的流程图一,如图1所示,该流程包括如下步骤:A service processing method is provided in this embodiment. FIG. 1 is a flowchart 1 of a service processing method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,为接入接口配置一个或多个关联接口,其中,该接入接口与该关联接口为相同类型的三层接口;Step S102, configuring one or more associated interfaces for the access interface, where the access interface and the associated interface are the same type of Layer 3 interface;
步骤S104,在该接入接口与下层设备断开连接的情况下,将路由切换到该关联接口进行业务处理。Step S104: If the access interface is disconnected from the lower layer device, the route is switched to the associated interface for service processing.
通过上述步骤,为接入接口配置一个或多个关联接口,在该接入接口与下层设备断开连接的情况下,将路由切换到该关联接口进行业务处理,通过配置的关联接口,解决了相关技术中不能对BRAS的接口进行备份的问题,实现了BRAS路由备份和切换。Through the above steps, one or more associated interfaces are configured for the access interface. When the access interface is disconnected from the lower-layer device, the route is switched to the associated interface for service processing, and the associated interface is configured to solve the problem. The related art cannot backup the interface of the BRAS, and implements BRAS route backup and switching.
在为接入接口配置一个或多个关联接口之后,在该接入接口和该关联接口所在的物理槽位不同的情况下,分别保存该接入接口和该关联接口的信息,以及该接入接口配置的终端信息。After the one or more associated interfaces are configured for the access interface, the information about the access interface and the associated interface is saved, and the access is saved, where the access interface and the physical interface of the associated interface are different. Terminal information configured on the interface.
可以通过以下方式之一将路由切换到该关联接口进行业务处理:虚拟路由冗余协议VRRP,双向转发检测BFD。The route can be switched to the associated interface for service processing in one of the following ways: virtual routing redundancy protocol VRRP, and bidirectional forwarding detection BFD.
本发明实施例还提供了一种业务处理方法,图2是根据本发明实施例的业务处理方法的流程图二,如图2所示,该流程包括如下步骤:The embodiment of the present invention further provides a service processing method, and FIG. 2 is a flowchart 2 of a service processing method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S202,获取携带有配置信息的配置表,其中,该配置信息包括接入接口的信息、预先设置的与该接入接口关联的关联接口的信息、以及该接入接口与该关联接口关联的配置信息,其中,该接入接口与该关联接口为相同类型的三层接口;Step S202: Acquire a configuration table carrying configuration information, where the configuration information includes information of an access interface, information of an associated interface associated with the access interface, and an association between the access interface and the associated interface. Configuration information, where the access interface and the associated interface are the same type of Layer 3 interface;
步骤S204,在该接入接口与下层设备断开连接的情况下,根据该配置信息将路由切换到该关联接口进行业务处理。Step S204: If the access interface is disconnected from the lower layer device, the route is switched to the associated interface for service processing according to the configuration information.
上述的接入接口的信息可以包括:该接入接口的MAC地址、该接入接口的网络地址、该接入接口的路由信息;上述的关联接口的信息可以包括:该关联接口的MAC地址、该关联接口的网络地址、该关联接口的路由信息。 The information about the access interface may include: a MAC address of the access interface, a network address of the access interface, and routing information of the access interface; the information of the associated interface may include: a MAC address of the associated interface, The network address of the associated interface and the routing information of the associated interface.
本发明实施例提供了一种业务处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。The embodiments of the present invention provide a service processing apparatus, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的业务处理装置的框图一,如图3所示,包括:FIG. 3 is a block diagram 1 of a service processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
配置模块32,设置为为接入接口配置一个或多个关联接口,其中,该接入接口与该关联接口为相同类型的三层接口;The configuration module 32 is configured to configure one or more associated interfaces for the access interface, where the access interface and the associated interface are the same type of Layer 3 interface;
第一业务处理模块34,设置为在该接入接口与下层设备断开连接的情况下,将路由切换到该关联接口进行业务处理。The first service processing module 34 is configured to switch the route to the associated interface for service processing when the access interface is disconnected from the lower layer device.
图4是根据本发明优选实施例的业务处理装置的框图一,如图4所示,该装置还包括:4 is a block diagram of a service processing apparatus according to a preferred embodiment of the present invention. As shown in FIG. 4, the apparatus further includes:
保存模块42,设置为在该接入接口和该关联接口所在的物理槽位不同的情况下,分别保存该接入接口和该关联接口的信息,以及该接入接口配置的终端信息。The saving module 42 is configured to save the information of the access interface and the associated interface and the terminal information configured by the access interface, respectively, when the physical interface of the access interface and the associated interface are different.
图5是根据本发明优选实施例的业务处理装置的框图二,如图5所示,该装置还包括:FIG. 5 is a block diagram 2 of a service processing apparatus according to a preferred embodiment of the present invention. As shown in FIG. 5, the apparatus further includes:
切换模块52,设置为通过以下方式之一将路由切换到该关联接口进行业务处理:虚拟路由冗余协议VRRP,双向转发检测BFD。The switching module 52 is configured to switch the route to the associated interface for service processing in one of the following manners: a virtual routing redundancy protocol VRRP, and a bidirectional forwarding detection BFD.
本发明实施例还提供了一种业务处理装置,图6是根据本发明实施例的业务处理装置的框图二,如图6所示,包括:The embodiment of the present invention further provides a service processing apparatus. FIG. 6 is a block diagram 2 of a service processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the method includes:
获取模块62,设置为获取携带有配置信息的配置表,其中,该配置信息包括接入接口的信息、预先设置的与该接入接口关联的关联接口的信息、以及该接入接口与该关联接口关联的配置信息,其中,该接入接口与该关联接口为相同类型的三层接口;The obtaining module 62 is configured to obtain a configuration table that carries the configuration information, where the configuration information includes information about the access interface, information of an associated interface associated with the access interface, and the association between the access interface and the access interface. The configuration information associated with the interface, where the access interface and the associated interface are the same type of Layer 3 interface;
第二业务处理模块64,设置为在该接入接口与下层设备断开连接的情况下,根据该配置信息将路由切换到该关联接口进行业务处理。The second service processing module 64 is configured to switch the route to the associated interface for service processing according to the configuration information when the access interface is disconnected from the lower layer device.
需要说明的是,上述的接入接口的信息包括:该接入接口的MAC地址、该接入接口的网络地址、上述的接入接口的路由信息;该关联接口的信息包括:该关联接口的MAC地址、该关联接口的网络地址、该关联接口的路由信息。 It should be noted that the information about the access interface includes: a MAC address of the access interface, a network address of the access interface, and routing information of the access interface; the information of the associated interface includes: MAC address, network address of the associated interface, and routing information of the associated interface.
下面结合可选实施例对本发明实施例进行进一步说明。The embodiments of the present invention are further described below in conjunction with the optional embodiments.
在某些场景下,为了保证网络的安全性,往往需要设备间需要有一定的备份能力,比如当BRAS的下挂设备出现故障的情况下,希望能迅速的切换到另一条选路上,实现路由的备份。即可能存在BRAS下挂多个三层设备的场景,即终端用户通过二层网络又经过了多个三层网络设备连接并最终连接到BRAS。而现行方案是不支持的。为此,本可选实施例提供了一种BRAS下挂三层设备的关联接口的接入方法,能够更好的适应一些网络拓扑,方便BRAS路由备份与切换,增强设备备份的功能。包括以下内容:In some scenarios, in order to ensure the security of the network, it is often necessary to have certain backup capabilities between devices. For example, when the BRAS device fails, it is hoped that it can be quickly switched to another route to implement routing. Backup. That is, there may be a scenario in which multiple Layer 3 devices are connected to the BRAS, that is, the terminal user connects through multiple Layer 3 network devices through the Layer 2 network and finally connects to the BRAS. The current program is not supported. To this end, the optional embodiment provides an access method for the associated interface of the Layer 3 device connected to the BRAS, which can better adapt to some network topologies, facilitate BRAS route backup and switching, and enhance the function of device backup. Includes the following:
在BRAS的接入三层接口A之外另配置一个同种类型的三层接口B,将A接口关联B接口,其中接口A为主接口,接口B为关联接口;所述的同种类型接口指的是主接口A和关联接口B均为BRAS三层用户侧接口,即具有用户接入的功能,以区别于普通的网络侧接口。所述三层接口还有一层信息是,主接口和其关联接口有自己各自的MAC地址、网络地址以及路由信息。所述三层接口可以是包含多个实接口的三层汇聚接口等逻辑三层接口。所述三层接口A和三层接口B可以相互关联。In addition to the Layer 3 interface A of the BRAS, a Layer 3 interface B of the same type is configured, and the A interface is associated with the B interface, where the interface A is the primary interface and the interface B is the associated interface. The main interface A and the associated interface B are both BRAS Layer 3 user-side interfaces, that is, they have the function of user access, which is different from the common network-side interface. The Layer 3 interface also has a layer of information that the primary interface and its associated interfaces have their own MAC addresses, network addresses, and routing information. The Layer 3 interface may be a logical Layer 3 interface such as a Layer 3 aggregation interface that includes multiple real interfaces. The Layer 3 interface A and the Layer 3 interface B may be associated with each other.
具有某IP地址的终端用户只能配置在某一个主接口A下,即针对该用户来说只能有一个三层口作为主接口,如果主接口已经配置了关联接口B,则对该用户来说B就是该IP用户的关联接口;所述的主接口和关联接口是根据用户所区分的,如果三层接口A和B相互关联,但是用户IP1配置于接口A下,IP2配置于接口B下,那么针对终端用户IP1来说接口A是主接口,接口B是关联接口,针对终端用户IP2来说接口B是主接口,A是关联接口。An end user with an IP address can be configured on only one primary interface A. That is, only one Layer 3 interface can be used as the primary interface for the user. If the primary interface has been configured with the associated interface B, the user is elected. B is the associated interface of the IP user; the primary interface and the associated interface are differentiated according to the user. If the Layer 3 interfaces A and B are associated with each other, the user IP1 is configured on interface A and IP2 is configured on interface B. Then, for the terminal user IP1, interface A is the primary interface, and interface B is the associated interface. For terminal user IP2, interface B is the primary interface, and A is the associated interface.
当配置于主接口A下的用户通过接口B发起认证请求并上线的时候,获取的是配置表(位于转发面保存配置信息的一块内存)中接口A对应的属性和策略,并且在该配置表项中保存关联接口B的接口信息,所述终端用户IP1在用户接入前在转发面(转发面指如网络处理器之类流量控制模块组成)会有一张小表(内存区域),如果主接口A和关联接口B所在物理槽位不同(内存分配在不同的物理板卡上),那么在两块物理内存中均会有一张小表,并且保存了接口A和接口B的信息,并保存了接口A的用户相关配置信息,以备用作终端用户IP1接入所查找。上述方法还可具有以下特点:所述终端用户IP1在用户接入后在转发面生成用户表(已接入加表用户信息所分配的内存区域),如果主接口A和关联接口B所在物理槽位不同(内存分配在不同的物理板卡上),那么在两块物理内存中均会有一张用户表,并且保存了接口A和接口B的信息,并保存了接口A的用户相关配置信息,以备用作终端用户IP1做流量控制和计费时所使用。 When the user configured on the primary interface A initiates the authentication request and goes online through the interface B, the attributes and policies corresponding to the interface A in the configuration table (a piece of memory on the forwarding plane where the configuration information is saved) are obtained, and the configuration table is in the configuration table. The interface information of the associated interface B is saved in the item, and the terminal user IP1 has a small table (memory area) on the forwarding plane (the forwarding plane refers to a flow control module such as a network processor) before the user accesses, if the primary interface A The physical slot of the associated interface B is different (the memory is allocated on different physical boards). Then, there is a small table in both physical memory, and the information of interface A and interface B is saved, and the interface A is saved. User-related configuration information, ready for use as an end user IP1 access. The above method may also have the following feature: the terminal user IP1 generates a user table on the forwarding plane after the user accesses (the memory area allocated by the added user information), if the physical interface of the primary interface A and the associated interface B The bits are different (the memory is allocated on different physical boards), then there is a user table in both physical memory, and the information of interface A and interface B is saved, and the user-related configuration information of interface A is saved. Used for end-user IP1 for flow control and billing.
该终端用户可以通过主接口或者关联接口进行接入请求、强推认证和流量转发,主接口或者关联接口具有独立性,即流量可以在两个接口间进行无缝切换。The terminal user can perform access request, strong push authentication, and traffic forwarding through the primary interface or the associated interface. The primary interface or the associated interface has independence, that is, traffic can be seamlessly switched between the two interfaces.
当主接口A与下层设备断开连接的时候,可以通过虚拟路由冗余协议VRRP,迅速将路由切换到关联接口B,流量可以在两个接口间进行无缝切换,保持通畅,反过来关联接口断开连接,流量也会无缝的切换到主接口,进行流量转发。所述路由切换方式可以使用VRRP之外其它的路由切换方式,比如BFD等。When the primary interface A is disconnected from the lower-layer device, the virtual routing redundancy protocol VRRP can be used to quickly switch the route to the associated interface B. The traffic can be seamlessly switched between the two interfaces to maintain smooth communication. When the connection is opened, the traffic will be seamlessly switched to the primary interface for traffic forwarding. The route switching mode may use other routing switching modes other than VRRP, such as BFD.
需要说明的是,以上仅以关联一个接口为例,并不局限于关联一个接口的场景,可以关联多个接口。It should be noted that the foregoing only uses one interface as an example, and is not limited to a scenario in which one interface is associated, and multiple interfaces may be associated.
图7是根据本发明实施例的BRAS的三层设备的网络示意图,如图7所示,在一个BRAS三层接入网络中,一个BRAS下挂若干个三层设备,其与三层设备的每个接口直连的是三层网络口,具有MAC地址、网络地址以及路由信息,在BRAS上的这些接口具有三层用户侧接口的属性,其中主接口有上线所需的相关配置。这多个三层设备下面连接到交换机等二层设备并最终与终端用户相连接。7 is a schematic diagram of a network of a Layer 3 device of a BRAS according to an embodiment of the present invention. As shown in FIG. 7, in a BRAS Layer 3 access network, a BRAS is connected to a plurality of Layer 3 devices, and the Layer 3 device is connected to the Layer 3 device. Each interface is directly connected to a Layer 3 network port, which has a MAC address, a network address, and routing information. These interfaces on the BRAS have the attributes of the three-layer user-side interface, and the main interface has the relevant configuration required for the online connection. The plurality of Layer 3 devices are connected to a Layer 2 device such as a switch and finally connected to the end user.
用户可以通过路由器1到主接口发起接入认证流程,同时也可以通过路由器2到关联接口发起接入认证流程,并都可以在BRAS上生成并保存有用户信息。用户加表后同时也可以通过任意一个接口进行流量转发,即可以通过路由器1也可以通过路由器2进行流量的转发。The user can initiate the access authentication process through the router 1 to the primary interface, and can also initiate the access authentication process through the router 2 to the associated interface, and can generate and save the user information on the BRAS. After the user adds the table, the traffic can be forwarded through any interface at the same time. That is, the traffic can be forwarded through the router 1 or through the router 2.
这若干个与BRAS相连的三层设备与交换机相连的口可以进行VRRP路由备份,当路由器1与路由器2与BRAS的连接口发生断开之类,可以迅速进行VRRP切换,将流量切换到另外一个路由器,不会断流。The ports connected to the switch through the Layer 3 device connected to the BRAS can perform VRRP route backup. When the connection between Router 1 and Router 2 and the BRAS is disconnected, VRRP switching can be performed quickly, and the traffic can be switched to another one. The router will not be disconnected.
图8是根据本发明实施例的用户配置后下发到转发表的处理流程图,如图8所示,配置表的下发处理流程包括以下步骤:FIG. 8 is a flowchart of a process of being delivered to a forwarding table after a user is configured according to an embodiment of the present invention. As shown in FIG. 8, the processing flow of the configuration table includes the following steps:
步骤S802,接口A和接口B均分别配置为三层用户侧接口,有自己的MAC地址,网络地址,并且将接口A关联接口B;Step S802, the interface A and the interface B are respectively configured as a three-layer user-side interface, having its own MAC address, a network address, and the interface A is associated with the interface B;
步骤S804,接口A配置用户IP1的相关ID信息,如IP1的IP地址等;Step S804, the interface A configures related ID information of the user IP1, such as the IP address of the IP1, and the like;
步骤S806,接口A配置IP1接入所需的相关属性信息;Step S806, the interface A configures related attribute information required for IP1 access.
步骤S808,用户的IP1配置表中保存有主接口A和关联接口B的接口信息;Step S808, the interface information of the primary interface A and the associated interface B is saved in the IP1 configuration table of the user;
步骤S810,将该用户表项由控制面下发到转发面。 Step S810, the user entry is sent from the control plane to the forwarding plane.
图9是本发明实施例的用户流量触发上线的处理流程图,如图9所示,用户接入上线处理流程包括以下步骤:FIG. 9 is a flowchart of processing a user traffic triggering on-line according to an embodiment of the present invention. As shown in FIG. 9, the user access online processing procedure includes the following steps:
步骤S902,用户流量通过主接口或者关联接口进入BRAS设备;Step S902, the user traffic enters the BRAS device through the primary interface or the associated interface.
步骤S904,判断接收到的接口为三层口,则根据收到流量中的携带源IP查找本地的配置表;Step S904, determining that the received interface is a Layer 3 interface, and searching for a local configuration table according to the carried source IP in the received traffic;
步骤S906,查到配置表中的主接口或者关联接口是流量进入的接口,并上送处理;Step S906, it is found that the primary interface or the associated interface in the configuration table is the interface that the traffic enters, and is sent to the processing;
步骤S908,根据上送的流量发起认证和上线流程;Step S908, the authentication and the online process are initiated according to the sent traffic;
步骤S910,用户成功上线后将用户表下发到转发面包含主接口和关联接口。Step S910: After the user successfully goes online, the user table is sent to the forwarding plane to include the primary interface and the associated interface.
图10是根据本发明实施例的用户流量转发的处理流程图,如图10所示,从主接口和关联接口流入流量转发处理流程包括以下步骤:FIG. 10 is a flowchart of processing a user traffic forwarding according to an embodiment of the present invention. As shown in FIG. 10, the flow of the traffic forwarding process from the primary interface and the associated interface includes the following steps:
步骤S1002,用户流量通过主接口或者关联接口进入BRAS设备;Step S1002: User traffic enters the BRAS device through the primary interface or the associated interface.
步骤S1004,判断接收到的接口为三层口,则根据收到流量中的携带源IP查找本地的用户表;Step S1004, determining that the received interface is a Layer 3 interface, and searching for a local user table according to the carried source IP in the received traffic;
步骤S1006,查到用户表中的主接口或者关联接口是流量进入的接口,并上送处理;In step S1006, it is found that the primary interface or the associated interface in the user table is the interface that the traffic enters, and is sent to the processing;
步骤S1008,根据用户表中的策略进行限速和转发处理。Step S1008: Perform rate limiting and forwarding processing according to the policy in the user table.
图11是根据本发明实施例的网络侧到三层设备的流量转发处理流程图,如图11所示,从网络侧流入到BRAS再到下游三层设备的流量转发处理流程包括以下步骤:FIG. 11 is a flowchart of a traffic forwarding process of a network side to a Layer 3 device according to an embodiment of the present invention. As shown in FIG. 11, the flow of the traffic forwarding process from the network side to the BRAS to the downstream Layer 3 device includes the following steps:
步骤S1102,用户发起的流量通过网络侧接口进入BRAS设备;Step S1102: The traffic initiated by the user enters the BRAS device through the network side interface.
步骤S1104,根据收到流量中的携带目的IP查找本地的用户表确定是三层用户,并进行流量限速等处理;Step S1104: Determine a local user table according to the carrying destination IP address in the received traffic, and determine that the user is a three-layer user, and perform traffic rate limiting and the like;
步骤S1106,根据路由表确定投递的接口是主接口或者关联接口;Step S1106: Determine, according to the routing table, that the delivered interface is a primary interface or an associated interface;
步骤S1108,通过主接口或者关联接口投递到下游的三层设备。Step S1108: Delivering to the downstream Layer 3 device through the primary interface or the associated interface.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所 组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across multiple computing devices. Optionally, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from this The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
上述的本发明实施例,应用于通信领域,通过配置的关联接口,解决了相关技术中不能对BRAS的接口进行备份的问题,实现了BRAS路由备份和切换。 The foregoing embodiments of the present invention are applied to the communication field, and solve the problem that the BRAS interface cannot be backed up in the related art through the configured associated interface, and the BRAS route backup and handover are implemented.

Claims (10)

  1. 一种业务处理方法,包括:A business processing method comprising:
    为接入接口配置一个或多个关联接口,其中,所述接入接口与所述关联接口为相同类型的三层接口;Configuring one or more associated interfaces for the access interface, where the access interface and the associated interface are the same type of Layer 3 interface;
    在所述接入接口与下层设备断开连接的情况下,将路由切换到所述关联接口进行业务处理。When the access interface is disconnected from the lower layer device, the route is switched to the associated interface for service processing.
  2. 根据权利要求1所述的方法,其中,在为接入接口配置一个或多个关联接口之后,还包括:The method of claim 1, wherein after configuring one or more associated interfaces for the access interface, the method further comprises:
    在所述接入接口和所述关联接口所在的物理槽位不同的情况下,分别保存所述接入接口和所述关联接口的信息,以及所述接入接口配置的终端信息。And the information about the access interface and the associated interface, and the terminal information configured by the access interface, respectively, when the physical interface of the access interface and the associated interface are different.
  3. 根据权利要求1或2所述的方法,其中,通过以下方式之一将路由切换到所述关联接口进行业务处理:The method according to claim 1 or 2, wherein the routing is switched to the associated interface for service processing in one of the following ways:
    虚拟路由冗余协议VRRP,双向转发检测BFD。Virtual routing redundancy protocol VRRP, bidirectional forwarding detection BFD.
  4. 一种业务处理方法,包括:A business processing method comprising:
    获取携带有配置信息的配置表,其中,所述配置信息包括接入接口的信息、预先设置的与所述接入接口关联的关联接口的信息、以及所述接入接口与所述关联接口关联的配置信息,其中,所述接入接口与所述关联接口为相同类型的三层接口;Obtaining a configuration table carrying configuration information, where the configuration information includes information of an access interface, pre-set information of an associated interface associated with the access interface, and the access interface is associated with the associated interface Configuration information, where the access interface and the associated interface are the same type of Layer 3 interface;
    在所述接入接口与下层设备断开连接的情况下,根据所述配置信息将路由切换到所述关联接口进行业务处理。When the access interface is disconnected from the lower layer device, the route is switched to the associated interface for service processing according to the configuration information.
  5. 根据权利要求4所述的方法,其中,The method of claim 4, wherein
    所述接入接口的信息包括:所述接入接口的MAC地址、所述接入接口的网络地址、所述接入接口的路由信息;The information of the access interface includes: a MAC address of the access interface, a network address of the access interface, and routing information of the access interface;
    所述关联接口的信息包括:所述关联接口的MAC地址、所述关联接口的网络地址、所述关联接口的路由信息。The information of the associated interface includes: a MAC address of the associated interface, a network address of the associated interface, and routing information of the associated interface.
  6. 一种业务处理装置,包括: A service processing device comprising:
    配置模块,设置为为接入接口配置一个或多个关联接口,其中,所述接入接口与所述关联接口为相同类型的三层接口;a configuration module, configured to configure one or more associated interfaces for the access interface, where the access interface and the associated interface are the same type of Layer 3 interface;
    第一业务处理模块,设置为在所述接入接口与下层设备断开连接的情况下,将路由切换到所述关联接口进行业务处理。The first service processing module is configured to switch the route to the associated interface for service processing if the access interface is disconnected from the lower layer device.
  7. 根据权利要求6所述的装置,其中,所述装置还包括:The apparatus of claim 6 wherein said apparatus further comprises:
    保存模块,设置为在所述接入接口和所述关联接口所在的物理槽位不同的情况下,分别保存所述接入接口和所述关联接口的信息,以及所述接入接口配置的终端信息。The saving module is configured to save the information of the access interface and the associated interface, and the terminal configured by the access interface, respectively, when the physical interface of the access interface and the associated interface are different. information.
  8. 根据权利要求6或7所述的装置,其中,所述装置还包括:The device according to claim 6 or 7, wherein the device further comprises:
    切换模块,设置为通过以下方式之一将路由切换到所述关联接口进行业务处理:虚拟路由冗余协议VRRP,双向转发检测BFD。The switching module is configured to switch the route to the associated interface for service processing in one of the following manners: virtual routing redundancy protocol VRRP, and bidirectional forwarding detection BFD.
  9. 一种业务处理装置,包括:A service processing device comprising:
    获取模块,设置为获取携带有配置信息的配置表,其中,所述配置信息包括接入接口的信息、预先设置的与所述接入接口关联的关联接口的信息、以及所述接入接口与所述关联接口关联的配置信息,其中,所述接入接口与所述关联接口为相同类型的三层接口;An acquiring module, configured to acquire a configuration table that carries configuration information, where the configuration information includes information of an access interface, pre-set information of an associated interface associated with the access interface, and the access interface and The configuration information associated with the associated interface, where the access interface and the associated interface are the same type of Layer 3 interface;
    第二业务处理模块,设置为在所述接入接口与下层设备断开连接的情况下,根据所述配置信息将路由切换到所述关联接口进行业务处理。The second service processing module is configured to switch the route to the associated interface for service processing according to the configuration information, in a case that the access interface is disconnected from the lower layer device.
  10. 根据权利要求9所述的装置,其中,The apparatus according to claim 9, wherein
    所述接入接口的信息包括:所述接入接口的MAC地址、所述接入接口的网络地址、所述接入接口的路由信息;The information of the access interface includes: a MAC address of the access interface, a network address of the access interface, and routing information of the access interface;
    所述关联接口的信息包括:所述关联接口的MAC地址、所述关联接口的网络地址、所述关联接口的路由信息。 The information of the associated interface includes: a MAC address of the associated interface, a network address of the associated interface, and routing information of the associated interface.
PCT/CN2015/083106 2015-01-12 2015-07-01 Service processing method and device WO2016112656A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510014362.0A CN105847138A (en) 2015-01-12 2015-01-12 Business processing method and device
CN201510014362.0 2015-01-12

Publications (1)

Publication Number Publication Date
WO2016112656A1 true WO2016112656A1 (en) 2016-07-21

Family

ID=56405188

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/083106 WO2016112656A1 (en) 2015-01-12 2015-07-01 Service processing method and device

Country Status (2)

Country Link
CN (1) CN105847138A (en)
WO (1) WO2016112656A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401603A (en) * 2019-07-25 2019-11-01 北京百度网讯科技有限公司 Method and apparatus for handling information

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209670B (en) * 2016-06-28 2020-02-11 新华三技术有限公司 Interface control method and device
CN114844775A (en) * 2021-01-14 2022-08-02 南宁富桂精密工业有限公司 Router fault transfer method, router and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123603A (en) * 2007-07-05 2008-02-13 中兴通讯股份有限公司 Configurable Ethernet interface backup system and method
CN101155109A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Ethernet switching system and equipment
CN101299764A (en) * 2008-06-19 2008-11-05 中兴通讯股份有限公司 Method for backupping broadband access server for PPPOE access service
CN101695043A (en) * 2009-10-15 2010-04-14 中兴通讯股份有限公司 Method for multiplexing hot backup port and network system
CN102201987A (en) * 2011-05-10 2011-09-28 中兴通讯股份有限公司 Layer 3 interface connected route backup method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841432A (en) * 2010-05-26 2010-09-22 中兴通讯股份有限公司 Port backup method, device and system for service access router
CN103781149B (en) * 2012-10-26 2017-04-26 华为技术有限公司 BBusiness message forwarding processing method , system and access point AP

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155109A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Ethernet switching system and equipment
CN101123603A (en) * 2007-07-05 2008-02-13 中兴通讯股份有限公司 Configurable Ethernet interface backup system and method
CN101299764A (en) * 2008-06-19 2008-11-05 中兴通讯股份有限公司 Method for backupping broadband access server for PPPOE access service
CN101695043A (en) * 2009-10-15 2010-04-14 中兴通讯股份有限公司 Method for multiplexing hot backup port and network system
CN102201987A (en) * 2011-05-10 2011-09-28 中兴通讯股份有限公司 Layer 3 interface connected route backup method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401603A (en) * 2019-07-25 2019-11-01 北京百度网讯科技有限公司 Method and apparatus for handling information
CN110401603B (en) * 2019-07-25 2023-07-28 北京百度网讯科技有限公司 Method and device for processing information

Also Published As

Publication number Publication date
CN105847138A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
US9596211B2 (en) Cloud based customer premises equipment
RU2639692C2 (en) Method and system of update of dialog selection in communication line aggregation
US9900263B2 (en) Non-overlay resource access in datacenters using overlay networks
US7804832B2 (en) Method and system for simplified network wide traffic and/or flow monitoring in a data network
JP6619894B2 (en) Access control
CN101938370B9 (en) Redundant pseudowires for a border gateway protocol based virtual private local area network service multihoming environment
CN105847185B (en) Message processing method, device and the distributed apparatus of distributed apparatus
US20140075505A1 (en) System and method for routing selected network traffic to a remote network security device in a network environment
US20140230044A1 (en) Method and Related Apparatus for Authenticating Access of Virtual Private Cloud
CN108667695A (en) A kind of BRAS turns the backup method and device of control separation
US9113031B2 (en) Call control for conferencing calls
US20140064272A1 (en) Providing a layer-3 interface
CN107547333B (en) Method and apparatus for implementing a combined virtual private network VPN
US9590900B2 (en) Protocol for supporting gateways with redundant routers in a shared domain
EP3598705B1 (en) Routing control
CN112272145B (en) Message processing method, device, equipment and machine readable storage medium
CN104852840A (en) Method and device for controlling mutual access between virtual machines
CN105939267B (en) Outband management method and device
CN108011754A (en) Turn control piece-rate system, backup method and device
CN111371664B (en) Virtual private network access method and equipment
JP2019057905A (en) Role-based automatic configuration system and method for ethernet(r) switches
WO2016112656A1 (en) Service processing method and device
CN106341249A (en) Redundant port switching method and device
US9521073B2 (en) Enhanced fine-grained overlay transport virtualization multi-homing using per-network authoritative edge device synchronization
KR20090006632A (en) Virtual firewall system and the control method for using based on commonness security policy

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

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

Country of ref document: EP

Kind code of ref document: A1