WO2023124480A1 - Route advertisement method and apparatus, device, and storage medium - Google Patents

Route advertisement method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2023124480A1
WO2023124480A1 PCT/CN2022/127921 CN2022127921W WO2023124480A1 WO 2023124480 A1 WO2023124480 A1 WO 2023124480A1 CN 2022127921 W CN2022127921 W CN 2022127921W WO 2023124480 A1 WO2023124480 A1 WO 2023124480A1
Authority
WO
WIPO (PCT)
Prior art keywords
forwarding
vbras
route
network
routing
Prior art date
Application number
PCT/CN2022/127921
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 WO2023124480A1 publication Critical patent/WO2023124480A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery

Definitions

  • the present disclosure relates to the technical field of communication, and in particular to a route notification method, device, equipment and computer-readable storage medium.
  • the vBRAS virtual broadband access server, Rirtualization Broadband Remote Access Server
  • the separation of transfer and control vBRAS includes a control plane (CP, Control Plane) and a control plane (UP, User Plane), of which UP is divided into a dedicated hardware forwarding plane (pUP) and a virtualized forwarding plane (vUP).
  • CP control plane
  • UP User Plane
  • pUP dedicated hardware forwarding plane
  • vUP virtualized forwarding plane
  • the control plane can manage multiple forwarding planes, and schedule users, traffic, and resources between multiple forwarding planes. Compared with a single machine, the utilization rate and reliability of equipment can be greatly improved.
  • a route notification method is provided, which is applied to the control plane network element of the virtual broadband access server vBRAS, including: establishing a neighbor relationship with the network device to become a route neighbor with the network device; The network route notified by the network device, so as to generate a route forwarding entry according to the network route; and synchronize the route forwarding table item to each vBRAS forwarding device deployed on the forwarding plane network element of the vBRAS, so that the vBRAS forwards The device forwards the user packet to the corresponding network device according to the routing and forwarding entry.
  • the method further includes: while learning the network route announced by the network device, notifying the user route to the network device according to the access user, so that the network device generates a second forwarding entry , and forward the corresponding second user packet to the corresponding vBRAS forwarding device according to the second forwarding entry, and the user route is used to describe the next-hop vBRAS forwarding device.
  • the network device is a Leaf device of a metropolitan area leaf-spine Spine-Leaf network
  • establishing a neighbor relationship with the network device to become a routing neighbor includes: communicating with the Spine-Leaf network through the Border Gateway Protocol BGP
  • the leaf devices establish a neighbor relationship and become BGP neighbors.
  • the method before establishing a neighbor relationship with the network device to become a routing neighbor with the network device, the method further includes: if it is determined that the vBRAS forwarding device has established a BGP neighbor relationship with the network device , then control the vBRAS forwarding device to disconnect from the network device.
  • the synchronizing the routing and forwarding entries to each vBRAS forwarding device in the forwarding plane network element of the vBRAS includes: storing the routing and forwarding entries in a local database, and synchronizing the routing and forwarding entries based on the database The technology synchronizes the routing and forwarding entries in the local database to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
  • the synchronization of the routing and forwarding entries in the local database to each vBRAS forwarding device in the forwarding plane network element of the vBRAS based on the database synchronization technology includes: separating the CUPS interface from the control plane and the user plane. The routing and forwarding entries in the database are synchronized to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
  • the vBRAS control plane network element learns the network device Notified routing update information, so as to update the routing forwarding entry according to the routing updating information; and synchronize the updated routing forwarding entry to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
  • a route notification device which is configured in the control plane network element of the virtual broadband access server vBRAS, and includes: a relationship establishment module, which establishes a neighbor relationship with a network device, so as to become a neighbor relationship with the network device A route neighbor; a route learning module, learning the network route advertised by the network device, so as to generate a route forwarding table item according to the network route; a route synchronization module, synchronizing the route forwarding table item to the forwarding plane network element of the vBRAS Each vBRAS forwarding device is deployed, so that the vBRAS forwarding device forwards the user message to the corresponding network device according to the routing forwarding entry.
  • an electronic device includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are used by the one When executed by one or more processors, the electronic device implements the method as described above.
  • a computer-readable storage medium having computer-readable instructions stored thereon, computer-readable instructions stored thereon, and when the computer-readable instructions are executed by a processor of a computer, The computer is caused to execute the method as described above.
  • FIG. 1 is a schematic diagram of a network of a route notification system involved in the related art
  • FIG. 2 is a schematic diagram of an implementation environment involved in the present disclosure
  • Fig. 3 is a flowchart of a route advertisement method shown in some exemplary embodiments of the present disclosure
  • FIG. 4 is a flowchart in an example after step S130 in the route advertisement method shown in FIG. 3;
  • Fig. 5 is a schematic diagram of a network of a route advertisement system shown in some exemplary embodiments of the present disclosure
  • Fig. 6 is a flow chart of another route advertisement method shown in some exemplary embodiments of the present disclosure.
  • Fig. 7 is a schematic structural diagram of a route notification device shown in some exemplary embodiments of the present disclosure.
  • FIG. 8 shows a schematic structural diagram of an electronic device suitable for implementing the embodiments of the present disclosure.
  • the "plurality” mentioned in the present disclosure refers to two or more.
  • “And/or” describes the association relationship of associated objects, indicating that there may be three types of relationships. For example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character “/” generally indicates that the contextual objects are an "or” relationship.
  • the vBRAS route notification scheme is that the pUP supports routing-related functions. When the user goes online, each pUP completes the route notification. This method consumes a lot of equipment resources, high equipment costs, and slow route notification.
  • Figure 1 is a schematic diagram of the network of the existing vBRAS route notification in the related art.
  • the network element of the forwarding plane of the vBRAS forwarding pool is deployed with a pUP pool, and each pUP in the pUP pool establishes BGP routes with two Leaf devices respectively. Neighbors learn the same route respectively. When there is a route update, each pUP needs to learn the updated route separately and generate a forwarding entry. This method consumes a lot of device resources, and the route notification is slow; the pUP forwarding plane also needs to support routing-related functions, and the device cost is high.
  • a technical problem to be solved in the present disclosure is to provide a route notification method, a route notification device, an electronic device, and a computer-readable storage medium, which realize efficient learning and synchronization of routing information and improve message forwarding efficiency; at the same time, Simplifies the functional requirements of forwarding equipment.
  • FIG. 2 is a schematic diagram of an implementation environment involved in the present disclosure.
  • the implementation environment includes the control plane network element 10 of the virtual broadband access server vBRAS, the network device 20 and the forwarding plane network element 30 of the vBRAS, wherein the forwarding plane network element of the vBRAS is deployed with multiple vBRAS forwarding devices pUP301, 302, 303, 304:
  • the control plane network element 10 and the network device 20 communicate through a wired network, and the network device 20 and the vBRAS forwarding device pUP communicate through a wired network;
  • the control plane network element 10 is used to establish a neighbor relationship with the network device, so as to become a routing neighbor with the network device; learn the network route advertised by the network device, and generate a routing forwarding entry according to the network routing; the routing forwarding table is used to describe message forwarding path; synchronize the routing and forwarding entries to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
  • Each vBRAS forwarding device in the forwarding plane network element 30 of the vBRAS forwards the user message to the corresponding network device 20 according to the routing and forwarding entry.
  • the control plane network element of vBRAS is implemented by a general server, and the routing function needs to be deployed, and the forwarding plane network element of vBRAS is also implemented by a general server, which simplifies the deployment of the routing function; it can be an independent physical server, or it can be composed of multiple physical servers It can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network) and cloud servers, which are not limited here.
  • the vBRAS forwarding device of the vBRAS forwarding plane NE is a dedicated hardware forwarding plane device.
  • FIG. 3 is a flowchart of a route advertisement method shown in some exemplary embodiments of the present disclosure.
  • the route advertisement method is executed by the control plane network element 10 of the vBRAS shown in FIG. 2.
  • the route advertisement method includes steps From S110 to step S130, the details are as follows:
  • the network element of the control plane establishes a neighbor relationship with the network device, where the network device refers to a device that can access the Internet and forward packets to the Internet.
  • the network element of the control plane and At least two network devices establish a neighbor relationship, and a communication connection is also established between at least two network devices.
  • control plane NE and the network device become neighbors.
  • control plane network element may further establish an adjacency relationship with the network device, and the adjacency relationship refers to a neighbor relationship that can exchange link state information and routing information.
  • the network device is a Leaf device of a metropolitan Spine-Leaf (leaf-spine architecture, leaf-spine network architecture) network
  • Spine-Leaf refers to a novel two-layer network connection structure
  • the leaf (leaf) refers to the endpoint or edge layer network device
  • the spine (spine) is the core and center layer network device, which is responsible for connecting with the leaf device.
  • the vBRAS forwarding device can access the MAN through the spine-leaf network.
  • establishing a neighbor relationship with the network device includes:
  • the vBRAS control plane network element establishes a neighbor relationship with the Leaf device of the spine-leaf network through BGP (Border Gateway Protocol) to become a BGP neighbor.
  • BGP Border Gateway Protocol
  • BGP is a core decentralized autonomous routing protocol on the Internet. It achieves reachability between autonomous systems (AS) by maintaining IP routing tables or prefix tables, and belongs to vector routing protocols.
  • the process of establishing a neighbor relationship with a Leaf device on a Spine-Leaf network through the BGP protocol includes: using the LOOPBACK interface (the loopback interface is a virtual interface of pure software nature) to send TCP (Transmission Control Protocol) messages and peers The peers establish BGP neighbor relationships, and BGP completes operations such as neighbor establishment and route update through message exchange.
  • LOOPBACK interface the loopback interface is a virtual interface of pure software nature
  • TCP Transmission Control Protocol
  • BGP Transmission Control Protocol
  • Open message It is the first message sent after a TCP connection is established, and is used to establish a connection relationship between BGP neighbors. After receiving the Open message and successfully negotiating, the leaf device on the spine-leaf network will send a Keepalive message to confirm and maintain the validity of the connection. After confirmation, the control plane NE and the leaf device on the spine-leaf network can exchange Update, Notification, Keepalive and Route-refresh messages. Update message: used to exchange routing information between BGP neighbors. The Update message can advertise multiple pieces of reachable routing information with the same attributes, and can also revoke multiple pieces of unreachable routing information. An Update message can advertise multiple reachable routes with the same route attribute, and these routes can share a set of route attributes.
  • All routing attributes contained in a given Update message apply to all destinations (indicated by IP prefixes) in the NLRI (Network Layer Reachability Information) field in the Update message.
  • IP prefixes IP prefixes
  • NLRI Network Layer Reachability Information
  • One Update message can withdraw multiple unreachable routes. Each route through a destination (indicated by an IP prefix) clearly defines previously advertised routes between BGP routers.
  • An Update message can only be used to withdraw the route, so there is no need to include path attributes or NLRI. On the contrary, it can also be used only to advertise reachable routes, and there is no need to carry revocation route information.
  • Notification message When an NE on the control plane or a leaf device in the spine-leaf network detects an error state, it sends a Notification message to the neighbor, and then the BGP connection is immediately interrupted.
  • Keepalive packets Control plane NEs or leaf devices in the spine-leaf network periodically send Keepalive packets to neighbors to keep the connection
  • the route advertisement method before establishing a neighbor relationship with the network device to become a routing neighbor with the network device, the route advertisement method further includes: if it is determined that the vBRAS forwarding device has established a BGP neighbor relationship with the network device, then controlling the vBRAS The forwarding device is disconnected from the network device.
  • control plane network element can manage multiple vBRAS forwarding devices in the forwarding plane network element; therefore, in some embodiments of the present disclosure, the control plane network element can send a query message to each vBRAS forwarding device to query the vBRAS Whether the forwarding device has established a BGP neighbor relationship with the network device.
  • the vBRAS forwarding device can feed back a message to the control plane network element to inform whether it has established a BGP neighbor relationship with the network device, and then when the control plane notifies the feedback message
  • a disconnection message may be sent to the vBRAS forwarding device, so that the vBRAS forwarding device is disconnected from the network device.
  • the control plane NE can control the vBRAS forwarding device to send Notification packets to the network device, or not send Keepalive packets to the network device within a specified time, so that the vBRAS forwards the device Disconnect the BGP connection with the network device.
  • the network element on the control plane establishes a neighbor relationship with the network device, and the vBRAS forwarding device does not need to establish a neighbor relationship with the network device to transfer the routing control function from the vBRAS forwarding device on the forwarding plane To the network element of the control plane, the separation of transfer and control is truly realized.
  • the network device may advertise the network route to the control plane network element, and the network route may be an external network route, for example, the first
  • the third device generates the network route
  • the third device sends the network route to the leaf device
  • the leaf device notifies the network element of the control plane.
  • the network route may also be generated by the Leaf device.
  • the control plane NE can learn the network route to generate a routing forwarding entry based on the network route.
  • the network routing includes the process of determining the network scope of the end-to-end path from the source to the destination; it can be understood that the network routing may include one or more routing information.
  • the control plane network element can generate a routing forwarding entry according to multiple routing information of the network routing, and the routing forwarding entry is used to describe the network path for packet forwarding.
  • the route forwarding table entry includes multiple forwarding table entries, and each forwarding table entry specifies a destination to be reached, the outgoing interface to be passed and the next hop IP address, etc., for example, including routing, network segment, next hop, and outbound interface. That is, through the routing and forwarding entry, it will know how to transmit data to the other end.
  • network devices can also learn routes, and the route advertisement method provided in this embodiment also includes:
  • control plane network elements and network devices can learn routes from each other, and user routes are used to describe the vBRAS forwarding device whose next hop is the user online; for example, as shown in Figure 2, user routes are used to describe the next hop as The vBRAS forwarding device 301 that the user goes online further generates a second forwarding table entry that includes the vBRAS forwarding device 301 and the outbound interface of the Leaf device as the next hop.
  • the network route is a BGP route.
  • the control plane NE After the control plane NE establishes a BGP neighbor relationship with the network device, the network device notifies the control plane NE of the BGP route, and the control plane NE notifies the user route to the network device, and then the network device learns the user route. Routing, generating its own second forwarding table entry; when the network device receives a user message and needs to forward the user message to the vBRAS forwarding device, it determines the vBRAS forwarding device corresponding to the user message according to the second forwarding table item, and realizes Accurate forwarding of user packets.
  • control plane network element after the control plane network element generates the routing and forwarding table entry, it needs to synchronize the routing and forwarding table entry to each vBRAS forwarding device deployed by the forwarding plane network element of the vBRAS, which can realize efficient learning and synchronization of routing information, Improve packet forwarding efficiency. At the same time, it simplifies the functional requirements of pUP equipment, reduces the deployment cost of vBRAS equipment, and further promotes the cloudification and intelligence of the network based on the further decoupling of forwarding plane and control plane functions.
  • vBRAS forwarding devices deployed on the forwarding plane network elements that synchronize the routing and forwarding entries to the vBRAS include:
  • the routing and forwarding table items are stored in the local database, and based on the database synchronization technology, the routing and forwarding table items in the local database are synchronized to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
  • control plane network element is deployed with a database module, and the database module is used to provide a database for data storage; after generating the routing and forwarding entry, the control plane network element stores the routing and forwarding entry in In the database, the routing and forwarding entries in the database are synchronized to each vBRAS forwarding device through database synchronization technology. .
  • the database synchronization technology may implement synchronization operations between databases in a publish-subscribe manner. There are two steps to publish and subscribe: 1. Publish. 2. Subscribe. First, publish the data to be synchronized on the control plane network element, and then subscribe to the above publication on the vBRAS forwarding device.
  • Database synchronization technology can also be implemented through SQL job or mysql database synchronization; it can also be through the CUPS (Control and User Plane Separation, control and user plane separation) interface to send routing forwarding table items to each vBRAS forwarding device, for example
  • CUPS Control and User Plane Separation, control and user plane separation
  • the Sx interface or N4 interface can meet the low-latency requirements of the network in milliseconds and realize fast synchronization.
  • Notification methods also include:
  • the network device when there is a routing update, the network device will notify the routing update information, which may only include updated routing information, for example, when a router A is added to the network, the routing update information Including the updated routing information of router A; the control plane network element learns the routing update information advertised by the network device, and updates the routing forwarding entry according to the routing updating information. For example, a new route, network segment, next hop, and outbound interface are added to the updated routing and forwarding entry.
  • the routing update information may also be all updated routing information.
  • the routing updating information may also include all the routing information of the routers. The routing information, and then when the control plane network element learns the routing update information, it can be compared with the original routing to ensure the accuracy of the routing information.
  • the updated routing and forwarding table item is stored in the local database to replace the original routing and forwarding table item.
  • the updated routing and forwarding table item is synchronized to each In the vBRAS forwarding device, information interaction between the network device and each vBRAS forwarding device is reduced, and network management is simplified.
  • this embodiment uses a more specific application scenario to illustrate the route advertisement method, and the route advertisement method is implemented by a route advertisement system.
  • the route notification system includes vBRAS and Leaf devices of the Spine-Leaf network.
  • the network diagram is shown in Figure 5.
  • the route notification method includes:
  • the system is initialized, and the vBRAS is deployed in a manner of separation of transfer and control.
  • the CP establishes a BGP neighbor relationship with the leaf device on the spine-leaf network.
  • the CP uses the LOOPBACK interface to send TCP packets to establish a BGP neighbor relationship with the Leaf device.
  • the leaf device After the BGP neighbor relationship is established, the leaf device advertises the external BGP route to the CP, and the external BGP route is obtained by the leaf device learning the route advertised by the neighbor device;
  • the CP notifies the user route to the Leaf device. Specifically, when the user dials up and goes online, the CP allocates a network segment to the pUP, and the pUP generates the user route, and the CP notifies the Leaf device of the user route, that is, the next hop is the LOOPBACK address of the pUP.
  • the CP will generate a routing forwarding entry based on the learned BGP route, and store it in the database;
  • the CP When the CP learns multiple BGP routes (paths) to the same destination network, the CP loads these routes into the BGP routing table, and performs routing optimization among these entries according to the BGP routing optimization rules, and finally decides the optimal route. (Best) the route to the network, so as to determine the optimal multiple routes to different networks, and generate a routing forwarding entry, and store the routing forwarding entry in the database.
  • the CP learns BGP route 1 from Leaf device 1 to Internet 1, learns BGP route 2 from Leaf device 2 to Internet 1, and selects the route to Internet 1 as BGP1, then generates routing forwarding entries based on BGP1. .
  • the leaf device when the leaf device also learns the user routes advertised by the CP, it also generates route forwarding entries.
  • the CP quickly synchronizes the routing and forwarding entry information to each pUP device through the CU separation interface
  • the CP notifies the CU separation interface to quickly synchronize the routing and forwarding entries in the database to each pUP device.
  • the pUP forwards the user message to the corresponding Leaf device according to the forwarding table.
  • pUP receives the user packet sent by the user. If the user packet needs to be sent to Internet 1, pUP forwards the user packet to Leaf device 1 according to the routing forwarding entry, and then Leaf device 1 forwards it to Internet 1. .
  • the Leaf device After the Leaf device generates the route forwarding entry, if it receives a user packet from the Internet, it forwards the user packet to the corresponding pUP device according to its own forwarding table.
  • Leaf device 1 can still go to Internet 2, then Leaf device 1 notifies the CP of the added routing information Leaf device 1-Internet 2, and then the CP learns the added routing information and updates the routing forwarding entry , and then synchronize the updated routing and forwarding entries to each pUP device.
  • the route notification method provided by this embodiment is aimed at the problem that each pUP needs to establish a BGP neighbor with the external network, and learning the same route consumes network resources.
  • the CP establishes a BGP neighbor with the external network and advertises the route to generate a route forwarding entry. , based on the database synchronization method, the routing and forwarding entry information is sent to each pUP device.
  • each pUP device learns routes, and CP-based fast learning of routes and delivery of forwarding tables to pUP improves packet forwarding efficiency; at the same time, it simplifies the functional requirements of pUP devices, simplifies the route notification process, and improves packet forwarding efficiency;
  • the functional requirements of the pUP device are reduced, and the cost of the device is reduced, which can solve the problem that each pUP and Leaf device in vBRAS establish BGP neighbors to learn the same route and consume device resources; at the same time, the routing control function is transferred from the pUP to the CP, and the separation of transfer and control is truly realized. , further enhance the programmability of the network, and promote the process of network cloudification and intelligence.
  • FIG. 7 is a schematic structural diagram of a route notification device according to some exemplary embodiments of the present disclosure.
  • the route notification device is configured on the control plane network element of the virtual broadband access server vBRAS, including:
  • the relationship establishment module 710 establishes a neighbor relationship with the network device, so as to become a routing neighbor with the network device;
  • the route learning module 720 learns the network route advertised by the network device, so as to generate a route forwarding entry according to the network route;
  • the routing synchronization module 730 synchronizes the routing and forwarding entries to each vBRAS forwarding device deployed on the forwarding plane network element of the vBRAS, so that the vBRAS forwarding device forwards the user packet to the corresponding network device according to the routing and forwarding table.
  • the route notification device further includes a notification module, which is specifically configured to notify the user route to the network device according to the access user while learning the network route notified by the network device, so that The network device generates a second forwarding entry, and forwards the corresponding second user packet to the corresponding vBRAS forwarding device according to the second forwarding entry, and the user route is used to describe the next-hop vBRAS forwarding device.
  • a notification module which is specifically configured to notify the user route to the network device according to the access user while learning the network route notified by the network device, so that The network device generates a second forwarding entry, and forwards the corresponding second user packet to the corresponding vBRAS forwarding device according to the second forwarding entry, and the user route is used to describe the next-hop vBRAS forwarding device.
  • the network device is a Leaf device of a metropolitan area leaf-spine Spine-Leaf network
  • the relationship establishing module 710 is specifically used to establish the relationship with the Leaf device of the Spine-Leaf network through Border Gateway Protocol BGP Neighbor relationship to become a BGP neighbor.
  • the route notification device further includes a route control module.
  • the route control module Before establishing a neighbor relationship with the network device to become a route neighbor with the network device, the route control module is used to determine whether the vBRAS forwarding device is connected to the When the network device has established a BGP neighbor relationship, control the vBRAS forwarding device to disconnect from the network device.
  • the route synchronization module 730 specifically for synchronizing the route and forwarding entries to each forwarding device in the forwarding plane network element of the vBRAS, includes: storing the route and forwarding entries in a local database , and based on the database synchronization technology, the routing and forwarding entries in the local database are synchronized to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
  • the route synchronization module 730 is further configured to synchronize the route forwarding entries in the database to each vBRAS forwarding device in the forwarding plane network element of the vBRAS by separating the CUPS interface from the control plane and the user plane .
  • the route notification device further includes a route update module, which is used for vBRAS control plane network elements to learn the route update information advertised by the network device when the route is updated, so as to The update information updates the routing and forwarding table items; the updated routing and forwarding table items are synchronized to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
  • a route update module which is used for vBRAS control plane network elements to learn the route update information advertised by the network device when the route is updated, so as to The update information updates the routing and forwarding table items; the updated routing and forwarding table items are synchronized to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
  • the device provided in this embodiment establishes a neighbor relationship between network elements on the control plane and network devices, learns routes from each other and stores the generated routing forwarding table in the database, and then sends the routing forwarding table items to each
  • the vBRAS forwards the device to implement table entry synchronization. Rapidly learn routes based on network elements on the control plane and synchronously deliver routing forwarding tables to each vBRAS forwarding device, which can realize efficient learning and synchronization of routing information and improve packet forwarding efficiency. At the same time, it simplifies the functional requirements of vBRAS forwarding devices and reduces vBRAS Equipment deployment costs, and based on the further decoupling of the functions of the forwarding plane and the control plane, further promote the cloudification and intelligence of the network.
  • an electronic device includes one or more processors; a storage device for storing one or more programs, and when one or more programs are executed by the one or more processors, the electronic device The device implements the method as before.
  • the electronic device may be installed on a control plane network element of the vBRAS.
  • FIG. 8 is a schematic structural diagram of an electronic device according to some exemplary embodiments.
  • the electronic device is only an example adapted to the present disclosure, and should not be regarded as providing any limitation on the application scope of the present disclosure. Nor should the electronic device be construed as being dependent on or having to have one or more components in the exemplary electronic device shown in FIG. 8 .
  • the electronic device includes a processing component 801 , a memory 802 , a power supply component 803 , a multimedia component 804 , an audio component 805 , a processor 806 , a sensor component 807 and a communication component 808 .
  • the above-mentioned components are not all necessary, and the electronic device may add other components or reduce certain components according to its own functional requirements, which is not limited in this embodiment.
  • the processing component 801 generally controls the overall operation of the electronic device, such as operations associated with display, data communication, and log data synchronization.
  • the processing component 801 may include one or more processors 806 to execute instructions to complete all or part of the steps of the above operations.
  • processing component 801 may include one or more modules to facilitate interaction between processing component 801 and other components.
  • the processing component 801 may include a multimedia module to facilitate interaction between the multimedia component 804 and the processing component 801 .
  • the memory 802 is configured to store various types of data to support operations at the electronic device, examples of such data include instructions for any application or method operating on the electronic device.
  • One or more modules are stored in the memory 802, and the one or more modules are configured to be executed by the one or more processors 806 to complete all or part of the steps in the methods described in the above embodiments.
  • the power supply component 803 provides power to various components of the electronic device.
  • Power supply components 803 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic devices.
  • the multimedia component 804 includes a screen that provides an output interface between the electronic device and the user.
  • the screen may include TP (Touch Panel, touch panel) and LCD (Liquid Crystal Display, liquid crystal display). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action.
  • the audio component 805 is configured to output and/or input audio signals.
  • the audio component 805 includes a microphone configured to receive an external audio signal when the electronic device is in an operation mode, such as a call mode, a recording mode and a voice recognition mode.
  • the audio component 805 also includes a speaker for outputting audio signals.
  • Sensor component 807 includes one or more sensors for providing status assessments of various aspects of the electronic device.
  • the sensor component 807 can detect the on/off state of the electronic device, and can also detect the temperature change of the electronic device.
  • the communication component 808 is configured to facilitate wired or wireless communication between the electronic device and other devices.
  • the electronic device may access a wireless network based on a communication standard, such as Wi-Fi (Wireless-Fidelity, wireless network).
  • Wi-Fi Wireless-Fidelity, wireless network
  • FIG. 8 is only for illustration, and the electronic device may include more or less components than those shown in FIG. 8 , or have different components from those shown in FIG. 8 .
  • Each component shown in FIG. 8 can be implemented by hardware, software or a combination thereof.
  • a computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the foregoing method is implemented.
  • the computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being assembled into the electronic device.
  • the computer-readable storage medium shown in the embodiments of the present disclosure may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable one of the above The combination.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • the control plane network element of the virtual broadband access server vBRAS establishes a neighbor relationship with the network device, so as to become a route neighbor with the network device; learning network The network route advertised by the device to generate routing and forwarding entries based on the network routing; the routing and forwarding entries are synchronized to each vBRAS forwarding device deployed on the forwarding plane NE of the vBRAS, so that the vBRAS forwarding device forwards user packets according to the routing and forwarding entries Forward to the corresponding network device; quickly learn the route based on the control plane network element and synchronously deliver the route forwarding table to each vBRAS forwarding device, which can realize efficient learning and synchronization of routing information and improve the efficiency of packet forwarding; at the same time, it simplifies vBRAS forwarding Equipment function requirements reduce the deployment cost of vBRAS, and based on the further decoupling of forwarding plane and control plane functions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Embodiments of the present application disclose a route advertisement method and apparatus, an electronic device, and a storage medium. The method is applied to a control plane network element of a vBRAS, and comprises: establishing a neighbor relationship with network devices so as to become a route neighbor with the network devices; learning a network route advertised by a network device, so as to generate a route forwarding entry according to the network route; and synchronizing the route forwarding entry to each vBRAS forwarding device deployed by a forwarding plane network element of the vBRAS, so that the vBRAS forwarding device forwards a user packet to a corresponding network device according to the route forwarding entry.

Description

路由通告方法、装置、设备及存储介质Route notification method, device, equipment and storage medium
相关公开的交叉引用Related Publication Cross-References
本公开是以CN申请号为CN202111647326.X申请日为2021年12月29日的公开为基础,并主张其优先权,该CN公开的公开内容在此作为整体引入本公开中。This disclosure is based on the disclosure of CN application number CN202111647326.X with the filing date of December 29, 2021, and claims its priority. The disclosure content of this CN publication is hereby incorporated into this disclosure as a whole.
技术领域technical field
本公开涉及一种通信技术领域,尤其涉及一种路由通告方法、装置、设备及计算机可读存储介质。The present disclosure relates to the technical field of communication, and in particular to a route notification method, device, equipment and computer-readable storage medium.
背景技术Background technique
转控分离vBRAS(虚拟宽带接入服务器,Rirtualization Broadband Remote Access Server)技术是城域网云化部署的热点。其中,转控分离vBRAS包含控制面(CP,Control Plane)和控制面(UP,User Plane),其中UP分为专用硬件转发面(pUP)、虚拟化转发面(vUP),为提升用户承载效率,采用CP云化集中部署,控制面可以管理多个转发面,进行多个转发面之间用户、流量、资源的调度,和单机相比设备的利用率和可靠性都能得到大幅的提升。The vBRAS (virtual broadband access server, Rirtualization Broadband Remote Access Server) technology is a hotspot in cloud-based deployment of metropolitan area networks. Among them, the separation of transfer and control vBRAS includes a control plane (CP, Control Plane) and a control plane (UP, User Plane), of which UP is divided into a dedicated hardware forwarding plane (pUP) and a virtualized forwarding plane (vUP). , using CP cloud-based centralized deployment, the control plane can manage multiple forwarding planes, and schedule users, traffic, and resources between multiple forwarding planes. Compared with a single machine, the utilization rate and reliability of equipment can be greatly improved.
发明内容Contents of the invention
根据本公开的第一方面,提供一种路由通告方法,应用于虚拟宽带接入服务器vBRAS的控制面网元,包括:与网络设备建立邻居关系,以与所述网络设备成为路由邻居;学习所述网络设备通告的网络路由,以根据所述网络路由生成路由转发表项;将所述路由转发表项同步至所述vBRAS的转发面网元部署的各vBRAS转发设备,以使所述vBRAS转发设备根据所述路由转发表项将用户报文转发至对应的网络设备。According to the first aspect of the present disclosure, a route notification method is provided, which is applied to the control plane network element of the virtual broadband access server vBRAS, including: establishing a neighbor relationship with the network device to become a route neighbor with the network device; The network route notified by the network device, so as to generate a route forwarding entry according to the network route; and synchronize the route forwarding table item to each vBRAS forwarding device deployed on the forwarding plane network element of the vBRAS, so that the vBRAS forwards The device forwards the user packet to the corresponding network device according to the routing and forwarding entry.
在一些实施例中,所述方法还包括:在学习所述网络设备通告的网络路由的同时,根据接入用户向所述网络设备通告用户路由,以使所述网络设备生成第二转发表项,并根据所述第二转发表项将对应的第二用户报文转发至对应的vBRAS转发设备,所述用户路由用于描述下一跳的vBRAS转发设备。In some embodiments, the method further includes: while learning the network route announced by the network device, notifying the user route to the network device according to the access user, so that the network device generates a second forwarding entry , and forward the corresponding second user packet to the corresponding vBRAS forwarding device according to the second forwarding entry, and the user route is used to describe the next-hop vBRAS forwarding device.
在一些实施例中,所述网络设备为城域叶脊Spine-Leaf网络的Leaf设备,所述与网络设备建立邻居关系,以成为路由邻居包括:通过边界网关协议BGP与所述Spine-Leaf 网络的Leaf设备建立邻居关系,以成为BGP邻居。In some embodiments, the network device is a Leaf device of a metropolitan area leaf-spine Spine-Leaf network, and establishing a neighbor relationship with the network device to become a routing neighbor includes: communicating with the Spine-Leaf network through the Border Gateway Protocol BGP The leaf devices establish a neighbor relationship and become BGP neighbors.
在一些实施例中,所述与网络设备建立邻居关系,以与所述网络设备成为路由邻居之前,所述方法还包括:若确定所述vBRAS转发设备与所述网络设备已建立BGP邻居关系时,则控制所述vBRAS转发设备与所述网络设备断开连接。In some embodiments, before establishing a neighbor relationship with the network device to become a routing neighbor with the network device, the method further includes: if it is determined that the vBRAS forwarding device has established a BGP neighbor relationship with the network device , then control the vBRAS forwarding device to disconnect from the network device.
在一些实施例中,所述将所述路由转发表项同步至所述vBRAS的转发面网元中的各vBRAS转发设备包括:将所述路由转发表项存储在本地数据库中,并基于数据库同步技术将所述本地数据库中的路由转发表项同步至vBRAS的转发面网元中的各vBRAS转发设备。In some embodiments, the synchronizing the routing and forwarding entries to each vBRAS forwarding device in the forwarding plane network element of the vBRAS includes: storing the routing and forwarding entries in a local database, and synchronizing the routing and forwarding entries based on the database The technology synchronizes the routing and forwarding entries in the local database to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
在一些实施例中,所述基于数据库同步技术将所述本地数据库中的路由转发表项同步至所述vBRAS的转发面网元中的各vBRAS转发设备包括:通过控制与用户面分离CUPS接口将数据库中的路由转发表项同步至所述vBRAS的转发面网元中的各vBRAS转发设备。In some embodiments, the synchronization of the routing and forwarding entries in the local database to each vBRAS forwarding device in the forwarding plane network element of the vBRAS based on the database synchronization technology includes: separating the CUPS interface from the control plane and the user plane. The routing and forwarding entries in the database are synchronized to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
在一些实施例中,所述将所述路由转发表项同步至所述vBRAS的转发面网元中的各vBRAS转发设备之后,包括:当路由更新时,vBRAS控制面网元学习所述网络设备通告的路由更新信息,以根据所述路由更新信息对所述路由转发表项进行更新;将更新后的路由转发表项同步至所述vBRAS的转发面网元中的各vBRAS转发设备。In some embodiments, after synchronizing the routing and forwarding entries to each vBRAS forwarding device in the forwarding plane network element of the vBRAS, includes: when the route is updated, the vBRAS control plane network element learns the network device Notified routing update information, so as to update the routing forwarding entry according to the routing updating information; and synchronize the updated routing forwarding entry to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
根据本公开的第二方面,提供一种路由通告装置,配置在虚拟宽带接入服务器vBRAS的控制面网元中,包括:关系建立模块,与网络设备建立邻居关系,以与所述网络设备成为路由邻居;路由学习模块,学习所述网络设备通告的网络路由,以根据所述网络路由生成路由转发表项;路由同步模块,将所述路由转发表项同步至所述vBRAS的转发面网元部署的各vBRAS转发设备,以使所述vBRAS转发设备根据所述路由转发表项将用户报文转发至对应的网络设备。According to the second aspect of the present disclosure, there is provided a route notification device, which is configured in the control plane network element of the virtual broadband access server vBRAS, and includes: a relationship establishment module, which establishes a neighbor relationship with a network device, so as to become a neighbor relationship with the network device A route neighbor; a route learning module, learning the network route advertised by the network device, so as to generate a route forwarding table item according to the network route; a route synchronization module, synchronizing the route forwarding table item to the forwarding plane network element of the vBRAS Each vBRAS forwarding device is deployed, so that the vBRAS forwarding device forwards the user message to the corresponding network device according to the routing forwarding entry.
根据本公开的第三方面,提供一种电子设备,所述电子设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个被所述一个或多个处理器执行时,使得所述电子设备实现如上所述的方法。According to a third aspect of the present disclosure, there is provided an electronic device, the electronic device includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are used by the one When executed by one or more processors, the electronic device implements the method as described above.
根据本公开的第四方面,提供一种计算机可读存储介质,其上存储有计算机可读指令,其上存储有计算机可读指令,当所述计算机可读指令被计算机的处理器执行时,使计算机执行如上所述的方法。According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having computer-readable instructions stored thereon, computer-readable instructions stored thereon, and when the computer-readable instructions are executed by a processor of a computer, The computer is caused to execute the method as described above.
附图说明Description of drawings
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图仅仅是本公 开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the following will briefly introduce the drawings that need to be used in the description of the embodiments or related technologies. Obviously, the drawings in the following description are only For some embodiments of the present disclosure, for those skilled in the art, other drawings can also be obtained according to these drawings on the premise of not paying creative efforts.
图1是相关技术中涉及的一种路由通告系统的组网示意图;FIG. 1 is a schematic diagram of a network of a route notification system involved in the related art;
图2是本公开涉及的一种实施环境的示意图;FIG. 2 is a schematic diagram of an implementation environment involved in the present disclosure;
图3是本公开一些示例性实施例示出的路由通告方法的流程图;Fig. 3 is a flowchart of a route advertisement method shown in some exemplary embodiments of the present disclosure;
图4为图3所示的路由通告方法中的在步骤S130之后在一示例中的流程图;FIG. 4 is a flowchart in an example after step S130 in the route advertisement method shown in FIG. 3;
图5是本公开的一些示例性实施例示出的路由通告系统的组网示意图;Fig. 5 is a schematic diagram of a network of a route advertisement system shown in some exemplary embodiments of the present disclosure;
图6是本公开的一些示例性实施例示出的另一种路由通告方法的流程图;Fig. 6 is a flow chart of another route advertisement method shown in some exemplary embodiments of the present disclosure;
图7是本公开一些示例性实施例示出的一种路由通告装置的结构示意图;Fig. 7 is a schematic structural diagram of a route notification device shown in some exemplary embodiments of the present disclosure;
图8示出了适于用来实现本公开实施例的电子设备的结构示意图。FIG. 8 shows a schematic structural diagram of an electronic device suitable for implementing the embodiments of the present disclosure.
具体实施方式Detailed ways
这里将详细地对示例性实施例执行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices entity.
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解,而有的操作/步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flow charts shown in the drawings are only exemplary illustrations, and do not necessarily include all contents and operations/steps, nor must they be performed in the order described. For example, some operations/steps can be decomposed, and some operations/steps can be combined or partly combined, so the actual order of execution may be changed according to the actual situation.
还需要说明的是:在本公开中提及的“多个”是指两个或者两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should also be noted that: the "plurality" mentioned in the present disclosure refers to two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships. For example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.
下面参照附图对本公开进行更全面的描述,其中说明本公开的示例性实施例。下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于 本公开保护的范围。下面结合各个图和实施例对本公开的技术方案进行多方面的描述。The present disclosure will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the present disclosure are illustrated. The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the drawings in the embodiments of the present disclosure. Apparently, the described embodiments are only some of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present disclosure. The technical solution of the present disclosure will be described in various aspects in conjunction with various figures and embodiments below.
在发明人所知晓的相关技术中,vBRAS路由通告方案为pUP支持路由相关功能,在用户上线时,由各台pUP完成路由通告,此方式耗费设备资源多,设备成本高,且路由通告慢。In the related technologies known to the inventor, the vBRAS route notification scheme is that the pUP supports routing-related functions. When the user goes online, each pUP completes the route notification. This method consumes a lot of equipment resources, high equipment costs, and slow route notification.
请参阅图1,图1为相关技术中的vBRAS现有路由通告的组网示意图,vBRAS转发池的转发面网元部署了pUP池,pUP池中每台pUP分别与两台Leaf设备建立BGP路由邻居,分别学习相同的路由。当有路由更新时,每台pUP均需分别学习更新的路由,并生成转发表项。此方式耗费设备资源多,且路由通告慢;pUP转发面还需支持路由相关功能,设备成本高。Please refer to Figure 1. Figure 1 is a schematic diagram of the network of the existing vBRAS route notification in the related art. The network element of the forwarding plane of the vBRAS forwarding pool is deployed with a pUP pool, and each pUP in the pUP pool establishes BGP routes with two Leaf devices respectively. Neighbors learn the same route respectively. When there is a route update, each pUP needs to learn the updated route separately and generate a forwarding entry. This method consumes a lot of device resources, and the route notification is slow; the pUP forwarding plane also needs to support routing-related functions, and the device cost is high.
有鉴于此,本公开要解决的一个技术问题是提供一种路由通告方法、路由通告装置、电子设备及计算机可读存储介质,实现了路由信息高效学习与同步,提升报文转发效率;同时,简化了转发设备功能要求。In view of this, a technical problem to be solved in the present disclosure is to provide a route notification method, a route notification device, an electronic device, and a computer-readable storage medium, which realize efficient learning and synchronization of routing information and improve message forwarding efficiency; at the same time, Simplifies the functional requirements of forwarding equipment.
请参阅图2,图2是本公开涉及的一种实施环境的示意图。该实施环境包括虚拟宽带接入服务器vBRAS的控制面网元10、网络设备20和vBRAS的转发面网元30,其中,vBRAS的转发面网元部署有多个vBRAS转发设备pUP301、302、303、304;控制面网元10与网络设备20之间通过有线网络进行通信,网络设备20与vBRAS转发设备pUP之间通过有线网络进行通信;Please refer to FIG. 2 , which is a schematic diagram of an implementation environment involved in the present disclosure. The implementation environment includes the control plane network element 10 of the virtual broadband access server vBRAS, the network device 20 and the forwarding plane network element 30 of the vBRAS, wherein the forwarding plane network element of the vBRAS is deployed with multiple vBRAS forwarding devices pUP301, 302, 303, 304: The control plane network element 10 and the network device 20 communicate through a wired network, and the network device 20 and the vBRAS forwarding device pUP communicate through a wired network;
控制面网元10用于与网络设备建立邻居关系,以与网络设备成为路由邻居;学习网络设备通告的网络路由,并根据网络路由生成路由转发表项;路由转发表项用于描述报文转发的路径;将路由转发表项同步至vBRAS的转发面网元中的各vBRAS转发设备。The control plane network element 10 is used to establish a neighbor relationship with the network device, so as to become a routing neighbor with the network device; learn the network route advertised by the network device, and generate a routing forwarding entry according to the network routing; the routing forwarding table is used to describe message forwarding path; synchronize the routing and forwarding entries to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
vBRAS的转发面网元30中的各vBRAS转发设备根据路由转发表项将用户报文转发至对应的网络设备20。Each vBRAS forwarding device in the forwarding plane network element 30 of the vBRAS forwards the user message to the corresponding network device 20 according to the routing and forwarding entry.
其中,vBRAS的控制面网元采用通用服务器实现,需部署路由功能,vBRAS的转发面网元也采用通用服务器实现,简化部署路由功能;可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(Content Delivery Network,内容分发网络)以及的云服务器,本处不对此进行限制。vBRAS的转发面网元的vBRAS转发设备为专用硬件转发面设备。Among them, the control plane network element of vBRAS is implemented by a general server, and the routing function needs to be deployed, and the forwarding plane network element of vBRAS is also implemented by a general server, which simplifies the deployment of the routing function; it can be an independent physical server, or it can be composed of multiple physical servers It can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network) and cloud servers, which are not limited here. The vBRAS forwarding device of the vBRAS forwarding plane NE is a dedicated hardware forwarding plane device.
请参阅图3,图3是本公开一些示例性实施例示出的一种路由通告方法的流程图,该路由通告方法由图2所示的vBRAS的控制面网元10执行,路由通告方法包括步骤S110至步骤S130,详细介绍如下:Please refer to FIG. 3. FIG. 3 is a flowchart of a route advertisement method shown in some exemplary embodiments of the present disclosure. The route advertisement method is executed by the control plane network element 10 of the vBRAS shown in FIG. 2. The route advertisement method includes steps From S110 to step S130, the details are as follows:
S110、与网络设备建立邻居关系,以与网络设备成为路由邻居。S110. Establish a neighbor relationship with the network device, so as to become a routing neighbor with the network device.
在本公开的一些实施例中,控制面网元与网络设备建立邻居关系,其中网络设备指的是能接入互联网,并将报文转发至互联网的设备,可选的,控制面网元与至少两个网络设备建立邻居关系,其中至少两个网络设备之间也建立了通信连接。In some embodiments of the present disclosure, the network element of the control plane establishes a neighbor relationship with the network device, where the network device refers to a device that can access the Internet and forward packets to the Internet. Optionally, the network element of the control plane and At least two network devices establish a neighbor relationship, and a communication connection is also established between at least two network devices.
当建立邻居关系后,控制面网元与网络设备则成为邻居。After the neighbor relationship is established, the control plane NE and the network device become neighbors.
可选的,控制面网元还可以进一步与网络设备建立邻接关系,邻接关系是指可以交换链路状态信息以及路由信息的邻居关系。Optionally, the control plane network element may further establish an adjacency relationship with the network device, and the adjacency relationship refers to a neighbor relationship that can exchange link state information and routing information.
在本公开的一些实施例中,网络设备为城域Spine-Leaf(leaf-spine architecture,叶脊网络架构)网络的Leaf设备,Spine-Leaf指的是一种新型的两层网络连接结构;这里的leaf(叶子),指的是端点或边缘层网络设备;而spine(脊柱),则是核心、中心层网络设备,它负责与leaf设备进行连接。vBRAS转发设备可通过Spine-Leaf网络接入城域网,此时,与网络设备建立邻居关系包括:In some embodiments of the present disclosure, the network device is a Leaf device of a metropolitan Spine-Leaf (leaf-spine architecture, leaf-spine network architecture) network, and Spine-Leaf refers to a novel two-layer network connection structure; here The leaf (leaf) refers to the endpoint or edge layer network device; and the spine (spine) is the core and center layer network device, which is responsible for connecting with the leaf device. The vBRAS forwarding device can access the MAN through the spine-leaf network. At this time, establishing a neighbor relationship with the network device includes:
vBRAS控制面网元通过BGP(Border Gateway Protocol,边界网关协议)与Spine-Leaf网络的Leaf设备建立邻居关系,以成为BGP邻居。The vBRAS control plane network element establishes a neighbor relationship with the Leaf device of the spine-leaf network through BGP (Border Gateway Protocol) to become a BGP neighbor.
BGP是互联网上一个核心的去中心化自治路由协议。它通过维护IP路由表或前缀表来实现自治系统(AS)之间的可达性,属于矢量路由协议。BGP is a core decentralized autonomous routing protocol on the Internet. It achieves reachability between autonomous systems (AS) by maintaining IP routing tables or prefix tables, and belongs to vector routing protocols.
通过BGP协议与Spine-Leaf网络的Leaf设备建立邻居关系的过程包括:采用LOOPBACK接口(loopback接口是一种纯软件性质的虚拟接口)来发送TCP(传输控制协议,Transmission Control Protocol)报文和对等体建立BGP的邻居关系,BGP通过报文的交互完成邻居建立、路由更新等操作,共有Open、Update、Notification、Keepalive和Route-refresh等5种报文类型。The process of establishing a neighbor relationship with a Leaf device on a Spine-Leaf network through the BGP protocol includes: using the LOOPBACK interface (the loopback interface is a virtual interface of pure software nature) to send TCP (Transmission Control Protocol) messages and peers The peers establish BGP neighbor relationships, and BGP completes operations such as neighbor establishment and route update through message exchange. There are five message types: Open, Update, Notification, Keepalive, and Route-refresh.
Open报文:是TCP连接建立后发送的第一个报文,用于建立BGP邻居之间的连接关系。Spine-Leaf网络的Leaf设备在接收到Open报文并协商成功后,将发送Keepalive报文确认并保持连接的有效性。确认后,控制面网元与Spine-Leaf网络的Leaf设备可以进行Update、Notification、Keepalive和Route-refresh报文的交换。Update报文:用于在BGP邻居之间交换路由信息。Update报文可以发布多条属性相同的可达路由信息,也可以撤销多条不可达路由信息。一条Update报文可以发布多条具有相同路由属性的可达路由,这些路由可共享一组路由属性。所有包含在一个给定的Update报文里的路由属性适用于该Update报文中的NLRI(Network Layer Reachability Information)字段里的所有目的地(用IP前缀表示)。一条Update报文可以撤销多条不可达路由。每一个路由通过目的地(用IP前缀表示),清楚地定义了BGP路由器之间先前通告过的路由。一条Update 报文可以只用于撤销路由,这样就不需要包括路径属性或者NLRI。相反,也可以只用于通告可达路由,就不需要携带撤销路由信息了。Notification报文:当控制面网元或Spine-Leaf网络的Leaf设备检测到错误状态时,就向邻居发出Notification报文,之后BGP连接会立即中断。Keepalive报文:控制面网元或Spine-Leaf网络的Leaf设备会周期性的向邻居发出Keepalive报文,用来保持连接的有效性。Open message: It is the first message sent after a TCP connection is established, and is used to establish a connection relationship between BGP neighbors. After receiving the Open message and successfully negotiating, the leaf device on the spine-leaf network will send a Keepalive message to confirm and maintain the validity of the connection. After confirmation, the control plane NE and the leaf device on the spine-leaf network can exchange Update, Notification, Keepalive and Route-refresh messages. Update message: used to exchange routing information between BGP neighbors. The Update message can advertise multiple pieces of reachable routing information with the same attributes, and can also revoke multiple pieces of unreachable routing information. An Update message can advertise multiple reachable routes with the same route attribute, and these routes can share a set of route attributes. All routing attributes contained in a given Update message apply to all destinations (indicated by IP prefixes) in the NLRI (Network Layer Reachability Information) field in the Update message. One Update message can withdraw multiple unreachable routes. Each route through a destination (indicated by an IP prefix) clearly defines previously advertised routes between BGP routers. An Update message can only be used to withdraw the route, so there is no need to include path attributes or NLRI. On the contrary, it can also be used only to advertise reachable routes, and there is no need to carry revocation route information. Notification message: When an NE on the control plane or a leaf device in the spine-leaf network detects an error state, it sends a Notification message to the neighbor, and then the BGP connection is immediately interrupted. Keepalive packets: Control plane NEs or leaf devices in the spine-leaf network periodically send Keepalive packets to neighbors to keep the connection valid.
在本公开的一些实施例中,在与网络设备建立邻居关系,以与网络设备成为路由邻居之前,路由通告方法还包括:若确定vBRAS转发设备与网络设备已建立BGP邻居关系时,则控制vBRAS转发设备与网络设备断开连接。In some embodiments of the present disclosure, before establishing a neighbor relationship with the network device to become a routing neighbor with the network device, the route advertisement method further includes: if it is determined that the vBRAS forwarding device has established a BGP neighbor relationship with the network device, then controlling the vBRAS The forwarding device is disconnected from the network device.
可以理解的是,控制面网元可以管理转发面网元中的多个vBRAS转发设备;因此在本公开的一些实施例中,控制面网元可以向各个vBRAS转发设备发送询问消息,以询问vBRAS转发设备是否与网络设备建立BGP邻居关系,vBRAS转发设备在接收到询问消息后,可以向控制面网元反馈消息,以告知自己是否与网络设备建立BGP邻居关系,进而当控制面通告反馈的消息确定vBRAS转发设备与网络设备已建立BGP邻居关系时,可以发送连接断开消息给vBRAS转发设备,使得vBRAS转发设备与网络设备断开连接。It can be understood that the control plane network element can manage multiple vBRAS forwarding devices in the forwarding plane network element; therefore, in some embodiments of the present disclosure, the control plane network element can send a query message to each vBRAS forwarding device to query the vBRAS Whether the forwarding device has established a BGP neighbor relationship with the network device. After receiving the inquiry message, the vBRAS forwarding device can feed back a message to the control plane network element to inform whether it has established a BGP neighbor relationship with the network device, and then when the control plane notifies the feedback message When it is determined that a BGP neighbor relationship has been established between the vBRAS forwarding device and the network device, a disconnection message may be sent to the vBRAS forwarding device, so that the vBRAS forwarding device is disconnected from the network device.
例如,当vBRAS转发设备与网络设备已经建立BGP邻居关系,控制面网元可以控制vBRAS转发设备向网络设备发送Notification报文,或在规定的时间内不向网络设备Keepalive报文,使得vBRAS转发设备与网络设备中断BGP连接。For example, when the vBRAS forwarding device has established a BGP neighbor relationship with the network device, the control plane NE can control the vBRAS forwarding device to send Notification packets to the network device, or not send Keepalive packets to the network device within a specified time, so that the vBRAS forwards the device Disconnect the BGP connection with the network device.
当确定vBRAS转发设备与网络设备断开连接后,控制面网元与网络设备建立邻居关系,而vBRAS转发设备无需再与网络设备建立邻居关系,以将路由控制功能从转发面的vBRAS转发设备转移至控制面网元,真正实现转控分离。When it is determined that the vBRAS forwarding device is disconnected from the network device, the network element on the control plane establishes a neighbor relationship with the network device, and the vBRAS forwarding device does not need to establish a neighbor relationship with the network device to transfer the routing control function from the vBRAS forwarding device on the forwarding plane To the network element of the control plane, the separation of transfer and control is truly realized.
S120、学习网络设备通告的网络路由,以根据网络路由生成路由转发表项。S120. Learn the network route advertised by the network device, so as to generate a route forwarding entry according to the network route.
在本公开的一些实施例中,建立邻居关系后,网络设备可以向控制面网元通告网络路由,该网络路由可以是来自外部的网络路由,例如除控制面网元和网络设备外,由第三设备生成了网络路由,第三设备将网络路由发送给Leaf设备,由Leaf设备通告给控制面网元。当然,该网络路由也可以是来自Leaf设备生成的。In some embodiments of the present disclosure, after the neighbor relationship is established, the network device may advertise the network route to the control plane network element, and the network route may be an external network route, for example, the first The third device generates the network route, the third device sends the network route to the leaf device, and the leaf device notifies the network element of the control plane. Certainly, the network route may also be generated by the Leaf device.
当Leaf设备向控制面网元通告网络路由后,控制面网元可以学习该网络路由,以根据该网络路由生成路由转发表项。其中,网络路由包含了从源到目的地时,决定端到端路径的网络范围的进程;可以理解的是,网络路由可以包含一个或多个路由信息。After the leaf device advertises the network route to the control plane NE, the control plane NE can learn the network route to generate a routing forwarding entry based on the network route. Wherein, the network routing includes the process of determining the network scope of the end-to-end path from the source to the destination; it can be understood that the network routing may include one or more routing information.
当学习网络路由之后,控制面网元可以根据网络路由的多个路由信息生成路由转发表项,该路由转发表项用于描述报文转发的网络路径。可选的,路由转发表项包括多条转发表项,每条转发表项都指定要到达的某个目的地,所需要通过的出接口及下一跳IP地址 等信息,例如包括路由、网段、下一跳和出接口等。即通过该路由转发表项就将知道通过什么方式将数据传输到另一端。After learning the network route, the control plane network element can generate a routing forwarding entry according to multiple routing information of the network routing, and the routing forwarding entry is used to describe the network path for packet forwarding. Optionally, the route forwarding table entry includes multiple forwarding table entries, and each forwarding table entry specifies a destination to be reached, the outgoing interface to be passed and the next hop IP address, etc., for example, including routing, network segment, next hop, and outbound interface. That is, through the routing and forwarding entry, it will know how to transmit data to the other end.
在本公开的一些实施例中,网络设备也可以学习路由,本实施例提供的路由通告方法还包括:In some embodiments of the present disclosure, network devices can also learn routes, and the route advertisement method provided in this embodiment also includes:
在学习网络设备通告的网络路由的同时,根据接入用户向网络设备通告用户路由,以使网络设备生成第二转发表项,并根据第二转发表项将对应的用户报文转发至对应的vBRAS转发设备,用户路由用于描述下一跳的vBRAS转发设备。While learning the network route announced by the network device, notify the user route to the network device according to the access user, so that the network device generates a second forwarding entry, and forwards the corresponding user packet to the corresponding vBRAS forwarding device, user route is used to describe the vBRAS forwarding device of the next hop.
需要说明的是,控制面网元和网络设备可以互相学习路由,用户路由用于描述下一跳为用户上线的vBRAS转发设备;例如如图2所示中,用户路由用于描述下一跳为用户上线的vBRAS转发设备301,进而生成的第二转发表项包括下一跳为vBRAS转发设备301和Leaf设备的出接口。It should be noted that control plane network elements and network devices can learn routes from each other, and user routes are used to describe the vBRAS forwarding device whose next hop is the user online; for example, as shown in Figure 2, user routes are used to describe the next hop as The vBRAS forwarding device 301 that the user goes online further generates a second forwarding table entry that includes the vBRAS forwarding device 301 and the outbound interface of the Leaf device as the next hop.
可选的,网络路由为BGP路由,在控制面网元和网络设备建立BGP邻居之后,网络设备向控制面网元通告BGP路由,控制面网元向网络设备通告用户路由,进而网络设备学习用户路由,生成自身的第二转发表项;当网络设备接收用户报文,需要将用户报文转发至vBRAS转发设备时,则根据第二转发表项确定该用户报文对应的vBRAS转发设备,实现用户报文的准确转发。Optionally, the network route is a BGP route. After the control plane NE establishes a BGP neighbor relationship with the network device, the network device notifies the control plane NE of the BGP route, and the control plane NE notifies the user route to the network device, and then the network device learns the user route. Routing, generating its own second forwarding table entry; when the network device receives a user message and needs to forward the user message to the vBRAS forwarding device, it determines the vBRAS forwarding device corresponding to the user message according to the second forwarding table item, and realizes Accurate forwarding of user packets.
S130、将路由转发表项同步至vBRAS的转发面网元部署的各vBRAS转发设备,以使vBRAS转发设备根据路由转发表项将用户报文转发至对应的网络设备。S130. Synchronize the routing and forwarding entries to each vBRAS forwarding device deployed on the forwarding plane network element of the vBRAS, so that the vBRAS forwarding device forwards the user packet to the corresponding network device according to the routing and forwarding entry.
在本公开的一些实施例中,控制面网元生成路由转发表项之后,需要将路由转发表项同步至vBRAS的转发面网元部署的各vBRAS转发设备,可实现路由信息高效学习与同步,提升报文转发效率。同时,简化了pUP设备功能要求,降低了vBRAS设备部署成本,且基于转发面与控制面功能进一步解耦,进一步推动网络云化与智能化。In some embodiments of the present disclosure, after the control plane network element generates the routing and forwarding table entry, it needs to synchronize the routing and forwarding table entry to each vBRAS forwarding device deployed by the forwarding plane network element of the vBRAS, which can realize efficient learning and synchronization of routing information, Improve packet forwarding efficiency. At the same time, it simplifies the functional requirements of pUP equipment, reduces the deployment cost of vBRAS equipment, and further promotes the cloudification and intelligence of the network based on the further decoupling of forwarding plane and control plane functions.
需要说明的是,将路由转发表项同步至vBRAS的转发面网元部署的各vBRAS转发设备包括:It should be noted that the vBRAS forwarding devices deployed on the forwarding plane network elements that synchronize the routing and forwarding entries to the vBRAS include:
将路由转发表项存储在本地数据库中,并基于数据库同步技术将本地数据库中的路由转发表项同步至vBRAS的转发面网元中的各vBRAS转发设备。The routing and forwarding table items are stored in the local database, and based on the database synchronization technology, the routing and forwarding table items in the local database are synchronized to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
在本公开的一些实施例中,控制面网元部署有数据库模块,该数据库模块用于提供用于数据存储的数据库;当生成路由转发表项之后,控制面网元将路由转发表项存储在数据库中,通过数据库同步技术将数据库中的路由转发表项同步至各个vBRAS转发设备,例如通过数据库同步技术将路由转发表项同步至各个vBRAS转发设备中的数据库中,实现基于数据库的高效路由通告。In some embodiments of the present disclosure, the control plane network element is deployed with a database module, and the database module is used to provide a database for data storage; after generating the routing and forwarding entry, the control plane network element stores the routing and forwarding entry in In the database, the routing and forwarding entries in the database are synchronized to each vBRAS forwarding device through database synchronization technology. .
可选的,数据库同步技术可以是通过发布订阅的方式实现数据库之间的同步操作。发布订阅份为两个步骤:1、发布。2、订阅。首先在控制面网元上对需要同步的数据进行发布,然后在vBRAS转发设备上对上述发布进行订阅。Optionally, the database synchronization technology may implement synchronization operations between databases in a publish-subscribe manner. There are two steps to publish and subscribe: 1. Publish. 2. Subscribe. First, publish the data to be synchronized on the control plane network element, and then subscribe to the above publication on the vBRAS forwarding device.
数据库同步技术也可以是通过SQL job实现同步或通过mysql数据库同步;还可以是通过CUPS(Control and User Plane Separation,控制与用户面分离)接口将路由转发表项下发至各vBRAS转发设备,例如Sx接口或N4接口,可实现网络毫秒级的低时延需求,实现快速同步。Database synchronization technology can also be implemented through SQL job or mysql database synchronization; it can also be through the CUPS (Control and User Plane Separation, control and user plane separation) interface to send routing forwarding table items to each vBRAS forwarding device, for example The Sx interface or N4 interface can meet the low-latency requirements of the network in milliseconds and realize fast synchronization.
当路由更新时,还需要对路由转发表项进行更新,如图4所示,在将路由转发表项同步至vBRAS的转发面网元中的各vBRAS转发设备之后,本公开实施例提供的路由通告方法还包括:When the route is updated, the routing and forwarding entries also need to be updated. As shown in FIG. Notification methods also include:
S140、当路由更新时,学习网络设备通告的路由更新信息,以根据路由更新信息对路由转发表项进行更新。S140. When the route is updated, learn the route update information advertised by the network device, so as to update the route forwarding entry according to the route update information.
在本公开的一些实施例中,当有路由更新时,网络设备会通告路由更新信息,该路由更新信息可以是仅包括更新的路由信息,例如在网络测增加一个路由器A时,则路由更新信息包括更新的路由器A的路由信息;该控制面网元学习网络设备通告的路由更新信息,并根据该路由更新信息对路由转发表项进行更新。例如更新后的路由转发表项中则增加了一个新的路由、网段、下一跳、出接口。In some embodiments of the present disclosure, when there is a routing update, the network device will notify the routing update information, which may only include updated routing information, for example, when a router A is added to the network, the routing update information Including the updated routing information of router A; the control plane network element learns the routing update information advertised by the network device, and updates the routing forwarding entry according to the routing updating information. For example, a new route, network segment, next hop, and outbound interface are added to the updated routing and forwarding entry.
在另一些实施例中,路由更新信息也可以是更新后的全部路由信息,例如网络设备获知了增加的路由器A、原本路由器B、C的路由信息,该路由更新信息也可以包含所有的路由器的路由信息,进而控制面网元在学习该路由更新信息的时候,可以与原本的路由进行对比,以保证路由信息的准确性。In some other embodiments, the routing update information may also be all updated routing information. For example, if the network device learns the routing information of the added router A, the original routers B, and C, the routing updating information may also include all the routing information of the routers. The routing information, and then when the control plane network element learns the routing update information, it can be compared with the original routing to ensure the accuracy of the routing information.
S150、将更新后的路由转发表项同步至vBRAS的转发面网元中的各vBRAS转发设备。S150. Synchronize the updated routing forwarding entry to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
当更新路由转发表项后,将更新后的路由转发表项存储在本地数据库中,以替换原本的路由转发表项,可选的,通过数据库同步技术将更新后的路由转发表项同步至各vBRAS转发设备中,减少了网络设备与各vBRAS转发设备间的信息交互,简化了网络管理。After the routing and forwarding table item is updated, the updated routing and forwarding table item is stored in the local database to replace the original routing and forwarding table item. Optionally, the updated routing and forwarding table item is synchronized to each In the vBRAS forwarding device, information interaction between the network device and each vBRAS forwarding device is reduced, and network management is simplified.
为了便于理解,本实施例以一个较为具体的应用场景对路由通告方法进行说明,该路由通告方法由路由通告系统实施。该路由通告系统包括vBRAS、Spine-Leaf网络的Leaf设备,组网示意图如附图5所示,基于该路由通告系统,如图6所示,路由通告方法包括:For ease of understanding, this embodiment uses a more specific application scenario to illustrate the route advertisement method, and the route advertisement method is implemented by a route advertisement system. The route notification system includes vBRAS and Leaf devices of the Spine-Leaf network. The network diagram is shown in Figure 5. Based on the route notification system, as shown in Figure 6, the route notification method includes:
S610、系统初始化,vBRAS采用转控分离方式部署。S610. The system is initialized, and the vBRAS is deployed in a manner of separation of transfer and control.
CP云化并部署路由功能模块和数据库模块,pUP成池并简化路由功能;CP cloudification and deployment of routing function modules and database modules, pUP into a pool and simplify routing functions;
S620、CP与Spine-Leaf网络的Leaf设备建立BGP邻居关系。S620. The CP establishes a BGP neighbor relationship with the leaf device on the spine-leaf network.
可选的,CP采用LOOPBACK接口来发送TCP报文和Leaf设备建立BGP的邻居关系。Optionally, the CP uses the LOOPBACK interface to send TCP packets to establish a BGP neighbor relationship with the Leaf device.
当建立BGP邻居关系后,Leaf设备向CP通告外部BGP路由,外部BGP路由是由Leaf设备学习邻居设备通告的路由得到的;After the BGP neighbor relationship is established, the leaf device advertises the external BGP route to the CP, and the external BGP route is obtained by the leaf device learning the route advertised by the neighbor device;
CP向Leaf设备通告用户路由,具体的,当用户拨号上线时,CP分配网段给pUP,pUP生成用户路由,CP向Leaf设备通告用户路由,即通告下一跳为pUP的LOOPBACK地址。The CP notifies the user route to the Leaf device. Specifically, when the user dials up and goes online, the CP allocates a network segment to the pUP, and the pUP generates the user route, and the CP notifies the Leaf device of the user route, that is, the next hop is the LOOPBACK address of the pUP.
S630、CP将基于学习的BGP路由生成路由转发表项,并存储与数据库中;S630, the CP will generate a routing forwarding entry based on the learned BGP route, and store it in the database;
当CP学习到去往同一个目的网络的多条BGP路由(路径)时,CP将这些路由都装载到BGP路由表,并根据BGP路由优选规则在这些条目中进行路由优选,最终决策出最优(Best)去往该网络的路由,以此决策出最优的多条去往不同网络的路由,并以此生成路由转发表项,将该路由转发表项存储在数据库中。When the CP learns multiple BGP routes (paths) to the same destination network, the CP loads these routes into the BGP routing table, and performs routing optimization among these entries according to the BGP routing optimization rules, and finally decides the optimal route. (Best) the route to the network, so as to determine the optimal multiple routes to different networks, and generate a routing forwarding entry, and store the routing forwarding entry in the database.
例如CP学习Leaf设备1通告到去往互联网1的BGP路由1,学习Leaf设备2通告到去往互联网1的BGP路由2,优选出去往互联网1的路径为BGP1,则基于BGP1生成路由转发表项。For example, the CP learns BGP route 1 from Leaf device 1 to Internet 1, learns BGP route 2 from Leaf device 2 to Internet 1, and selects the route to Internet 1 as BGP1, then generates routing forwarding entries based on BGP1. .
当然,当Leaf设备也会学习CP通告的用户路由,也会生成路由转发表项。Of course, when the leaf device also learns the user routes advertised by the CP, it also generates route forwarding entries.
S640、CP通过CU分离接口将路由转发表项信息快速同步至每台pUP设备;S640, the CP quickly synchronizes the routing and forwarding entry information to each pUP device through the CU separation interface;
CP通告CU分离接口将数据库中的路由转发表项快速同步至每台pUP设备。The CP notifies the CU separation interface to quickly synchronize the routing and forwarding entries in the database to each pUP device.
S650、pUP将用户报文根据转发表转发至对应Leaf设备。S650. The pUP forwards the user message to the corresponding Leaf device according to the forwarding table.
pUP接收到用户发送的用户报文,若该用户报文需要发送至互联网1中,则pUP根据路由转发表项将该用户报文转发至Leaf设备1,进而由Leaf设备1转发至互联网1中。pUP receives the user packet sent by the user. If the user packet needs to be sent to Internet 1, pUP forwards the user packet to Leaf device 1 according to the routing forwarding entry, and then Leaf device 1 forwards it to Internet 1. .
当然,Leaf设备在生成路由转发表项后,若接收到来自互联网的用户报文,根据自身转发表将该用户报文转发至对应的pUP设备。Of course, after the Leaf device generates the route forwarding entry, if it receives a user packet from the Internet, it forwards the user packet to the corresponding pUP device according to its own forwarding table.
S660、当有路由更新时,Leaf设备与CP通告更新路由信息。S660. When there is a routing update, the leaf device and the CP notify the updated routing information.
当有路由更新时,例如Leaf设备1还可以去往互联网2,则Leaf设备1向CP通告增加的路由信息Leaf设备1-互联网2,进而CP学习增加的路由信息,并更新到路由转发表项中,然后将更新后的路由转发表项同步至各pUP设备。When there is a routing update, for example, Leaf device 1 can still go to Internet 2, then Leaf device 1 notifies the CP of the added routing information Leaf device 1-Internet 2, and then the CP learns the added routing information and updates the routing forwarding entry , and then synchronize the updated routing and forwarding entries to each pUP device.
本实施例提供的路由通告方法,针对目前每台pUP都需与外部网络建立BGP邻居,并学习相同的路由耗费网络资源的问题,通过CP与外部网络建立BGP邻居并通告路由生成路由转发表项,基于数据库同步方式将路由转发表项信息下发至每台pUP设备。无需每台pUP设备学习路由,基于CP快速学习路由并下发转发表至pUP,提高了报文转发效率;同时简化了pUP设备功能要求,简化了路由通告过程,提高了报文转发效率;简化了pUP设 备功能要求,降低了设备成本,可解决vBRAS中每台pUP与Leaf设备建立BGP邻居学习相同路由耗费设备资源的问题;同时,将路由控制功能从pUP转移至CP,真正实现转控分离,进一步提升网络的可编程能力,推动网络云化与智能化进程。The route notification method provided by this embodiment is aimed at the problem that each pUP needs to establish a BGP neighbor with the external network, and learning the same route consumes network resources. The CP establishes a BGP neighbor with the external network and advertises the route to generate a route forwarding entry. , based on the database synchronization method, the routing and forwarding entry information is sent to each pUP device. There is no need for each pUP device to learn routes, and CP-based fast learning of routes and delivery of forwarding tables to pUP improves packet forwarding efficiency; at the same time, it simplifies the functional requirements of pUP devices, simplifies the route notification process, and improves packet forwarding efficiency; The functional requirements of the pUP device are reduced, and the cost of the device is reduced, which can solve the problem that each pUP and Leaf device in vBRAS establish BGP neighbors to learn the same route and consume device resources; at the same time, the routing control function is transferred from the pUP to the CP, and the separation of transfer and control is truly realized. , further enhance the programmability of the network, and promote the process of network cloudification and intelligence.
以下介绍本公开的装置实施例,可以用于执行本公开上述实施例中的路由通告方法。对于本公开装置实施例中未披露的细节,请参照本公开上述的路由通告方法的实施例。The following introduces device embodiments of the present disclosure, which can be used to implement the route advertisement method in the foregoing embodiments of the present disclosure. For the details not disclosed in the embodiment of the device disclosed in the present disclosure, please refer to the embodiment of the above-mentioned route advertisement method in the present disclosure.
如图7所示,图7是本公开的一些示例性实施例示出的一种路由通告装置的结构示意图,该路由通告装置配置在虚拟宽带接入服务器vBRAS的控制面网元,包括:As shown in FIG. 7, FIG. 7 is a schematic structural diagram of a route notification device according to some exemplary embodiments of the present disclosure. The route notification device is configured on the control plane network element of the virtual broadband access server vBRAS, including:
关系建立模块710,与网络设备建立邻居关系,以与网络设备成为路由邻居;The relationship establishment module 710, establishes a neighbor relationship with the network device, so as to become a routing neighbor with the network device;
路由学习模块720,学习网络设备通告的网络路由,以根据网络路由生成路由转发表项;The route learning module 720 learns the network route advertised by the network device, so as to generate a route forwarding entry according to the network route;
路由同步模块730,将路由转发表项同步至vBRAS的转发面网元部署的各vBRAS转发设备,以使vBRAS转发设备根据路由转发表项将用户报文转发至对应的网络设备。The routing synchronization module 730 synchronizes the routing and forwarding entries to each vBRAS forwarding device deployed on the forwarding plane network element of the vBRAS, so that the vBRAS forwarding device forwards the user packet to the corresponding network device according to the routing and forwarding table.
在本公开的一些实施例中,基于前述方案,路由通告装置还包括通告模块,通告模块具体用于在学习网络设备通告的网络路由的同时,根据接入用户向网络设备通告用户路由,以使网络设备生成第二转发表项,并根据第二转发表项将对应的第二用户报文转发至对应的vBRAS转发设备,用户路由用于描述下一跳的vBRAS转发设备。In some embodiments of the present disclosure, based on the foregoing solution, the route notification device further includes a notification module, which is specifically configured to notify the user route to the network device according to the access user while learning the network route notified by the network device, so that The network device generates a second forwarding entry, and forwards the corresponding second user packet to the corresponding vBRAS forwarding device according to the second forwarding entry, and the user route is used to describe the next-hop vBRAS forwarding device.
在本公开的一些实施例中,基于前述方案,网络设备为城域叶脊Spine-Leaf网络的Leaf设备,关系建立模块710,具体用于通过边界网关协议BGP与Spine-Leaf网络的Leaf设备建立邻居关系,以成为BGP邻居。In some embodiments of the present disclosure, based on the aforementioned solution, the network device is a Leaf device of a metropolitan area leaf-spine Spine-Leaf network, and the relationship establishing module 710 is specifically used to establish the relationship with the Leaf device of the Spine-Leaf network through Border Gateway Protocol BGP Neighbor relationship to become a BGP neighbor.
在本公开的一些实施例中,基于前述方案,路由通告装置还包括路由控制模块,在与网络设备建立邻居关系,以与网络设备成为路由邻居之前,路由控制模块用于若确定vBRAS转发设备与网络设备已建立BGP邻居关系时,则控制vBRAS转发设备与网络设备断开连接。In some embodiments of the present disclosure, based on the aforementioned solution, the route notification device further includes a route control module. Before establishing a neighbor relationship with the network device to become a route neighbor with the network device, the route control module is used to determine whether the vBRAS forwarding device is connected to the When the network device has established a BGP neighbor relationship, control the vBRAS forwarding device to disconnect from the network device.
在本公开的一些实施例中,基于前述方案,路由同步模块730,具体用于将路由转发表项同步至vBRAS的转发面网元中的各转发设备包括:将路由转发表项存储在本地数据库中,并基于数据库同步技术将本地数据库中的路由转发表项同步至vBRAS的转发面网元中的各vBRAS转发设备。In some embodiments of the present disclosure, based on the aforementioned solution, the route synchronization module 730, specifically for synchronizing the route and forwarding entries to each forwarding device in the forwarding plane network element of the vBRAS, includes: storing the route and forwarding entries in a local database , and based on the database synchronization technology, the routing and forwarding entries in the local database are synchronized to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
在本公开的一些实施例中,基于前述方案,路由同步模块730进一步用于通过控制与用户面分离CUPS接口将数据库中的路由转发表项同步至vBRAS的转发面网元中的各vBRAS转发设备。In some embodiments of the present disclosure, based on the foregoing solution, the route synchronization module 730 is further configured to synchronize the route forwarding entries in the database to each vBRAS forwarding device in the forwarding plane network element of the vBRAS by separating the CUPS interface from the control plane and the user plane .
在本公开的一些实施例中,基于前述方案,路由通告装置还包括路由更新模块,该路由更新模块用于当路由更新时,vBRAS控制面网元学习网络设备通告的路由更新信息,以 根据路由更新信息对路由转发表项进行更新;将更新后的路由转发表项同步至vBRAS的转发面网元中的各vBRAS转发设备。In some embodiments of the present disclosure, based on the foregoing solution, the route notification device further includes a route update module, which is used for vBRAS control plane network elements to learn the route update information advertised by the network device when the route is updated, so as to The update information updates the routing and forwarding table items; the updated routing and forwarding table items are synchronized to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
需要说明的是,上述实施例所提供的装置与上述实施例所提供的方法属于同一构思,其中各个模块和单元执行操作的具体方式已经在方法实施例中进行了详细描述,此处不再赘述。It should be noted that the device provided by the above embodiment and the method provided by the above embodiment belong to the same concept, and the specific way of performing operations of each module and unit has been described in detail in the method embodiment, and will not be repeated here. .
本实施例提供的装置,通过控制面网元与网络设备间建立邻居关系,互相学习路由并将生成的路由转发表存储在数据库中,然后通过数据库同步技术将路由转发表项下发至每个vBRAS转发设备,从而实现表项同步。基于控制面网元快速学习路由并同步下发路由转发表至每台vBRAS转发设备,可实现路由信息高效学习与同步,提升报文转发效率,同时,简化了vBRAS转发设备功能要求,降低了vBRAS设备部署成本,且基于转发面与控制面功能进一步解耦,进一步推动网络云化与智能化。The device provided in this embodiment establishes a neighbor relationship between network elements on the control plane and network devices, learns routes from each other and stores the generated routing forwarding table in the database, and then sends the routing forwarding table items to each The vBRAS forwards the device to implement table entry synchronization. Rapidly learn routes based on network elements on the control plane and synchronously deliver routing forwarding tables to each vBRAS forwarding device, which can realize efficient learning and synchronization of routing information and improve packet forwarding efficiency. At the same time, it simplifies the functional requirements of vBRAS forwarding devices and reduces vBRAS Equipment deployment costs, and based on the further decoupling of the functions of the forwarding plane and the control plane, further promote the cloudification and intelligence of the network.
在一些示例性实施例中,一种电子设备,包括一个或多个处理器;存储装置,用于存储一个或多个程序,当一个或多个被一个或多个处理器执行时,使得电子设备实现如前的方法。In some exemplary embodiments, an electronic device includes one or more processors; a storage device for storing one or more programs, and when one or more programs are executed by the one or more processors, the electronic device The device implements the method as before.
该电子设备可以装配在vBRAS的控制面网元,图8是根据一些示例性实施例示出的一种电子设备的结构示意图。The electronic device may be installed on a control plane network element of the vBRAS. FIG. 8 is a schematic structural diagram of an electronic device according to some exemplary embodiments.
需要说明的是,该电子设备只是一个适配于本公开的示例,不能认为是提供了对本公开的使用范围的任何限制。该电子设备也不能解释为需要依赖于或者必须具有图8中示出的示例性的电子设备中的一个或者多个组件。It should be noted that the electronic device is only an example adapted to the present disclosure, and should not be regarded as providing any limitation on the application scope of the present disclosure. Nor should the electronic device be construed as being dependent on or having to have one or more components in the exemplary electronic device shown in FIG. 8 .
如图8所示,在一些示例性实施例中,电子设备包括处理组件801、存储器802、电源组件803、多媒体组件804、音频组件805、处理器806、传感器组件807和通信组件808。其中,上述组件并不全是必须的,电子设备可以根据自身功能需求增加其他组件或减少某些组件,本实施例不作限定。As shown in FIG. 8 , in some exemplary embodiments, the electronic device includes a processing component 801 , a memory 802 , a power supply component 803 , a multimedia component 804 , an audio component 805 , a processor 806 , a sensor component 807 and a communication component 808 . Wherein, the above-mentioned components are not all necessary, and the electronic device may add other components or reduce certain components according to its own functional requirements, which is not limited in this embodiment.
处理组件801通常控制电子设备的整体操作,诸如与显示、数据通信以及日志数据同步相关联的操作等。处理组件801可以包括一个或多个处理器806来执行指令,以完成上述操作的全部或部分步骤。此外,处理组件801可以包括一个或多个模块,便于处理组件801和其他组件之间的交互。例如,处理组件801可以包括多媒体模块,以方便多媒体组件804和处理组件801之间的交互。The processing component 801 generally controls the overall operation of the electronic device, such as operations associated with display, data communication, and log data synchronization. The processing component 801 may include one or more processors 806 to execute instructions to complete all or part of the steps of the above operations. Additionally, processing component 801 may include one or more modules to facilitate interaction between processing component 801 and other components. For example, the processing component 801 may include a multimedia module to facilitate interaction between the multimedia component 804 and the processing component 801 .
存储器802被配置为存储各种类型的数据以支持在电子设备的操作,这些数据的示例包括用于在电子设备上操作的任何应用程序或方法的指令。存储器802中存储有一个或多个模块,该一个或多个模块被配置成由该一个或多个处理器806执行,以完成上述实施例 中所描述的方法中的全部或者部分步骤。The memory 802 is configured to store various types of data to support operations at the electronic device, examples of such data include instructions for any application or method operating on the electronic device. One or more modules are stored in the memory 802, and the one or more modules are configured to be executed by the one or more processors 806 to complete all or part of the steps in the methods described in the above embodiments.
电源组件803为电子设备的各种组件提供电力。电源组件803可以包括电源管理系统,一个或多个电源,及其他与为电子设备生成、管理和分配电力相关联的组件。The power supply component 803 provides power to various components of the electronic device. Power supply components 803 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic devices.
多媒体组件804包括在电子设备和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括TP(Touch Panel,触摸面板)和LCD(Liquid Crystal Display,液晶显示器)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。The multimedia component 804 includes a screen that provides an output interface between the electronic device and the user. In some embodiments, the screen may include TP (Touch Panel, touch panel) and LCD (Liquid Crystal Display, liquid crystal display). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action.
音频组件805被配置为输出和/或输入音频信号。例如,音频组件805包括一个麦克风,当电子设备处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。在一些实施例中,音频组件805还包括一个扬声器,用于输出音频信号。The audio component 805 is configured to output and/or input audio signals. For example, the audio component 805 includes a microphone configured to receive an external audio signal when the electronic device is in an operation mode, such as a call mode, a recording mode and a voice recognition mode. In some embodiments, the audio component 805 also includes a speaker for outputting audio signals.
传感器组件807包括一个或多个传感器,用于为电子设备提供各个方面的状态评估。例如,传感器组件807可以检测到电子设备的打开/关闭状态,还可以检测电子设备的温度变化。 Sensor component 807 includes one or more sensors for providing status assessments of various aspects of the electronic device. For example, the sensor component 807 can detect the on/off state of the electronic device, and can also detect the temperature change of the electronic device.
通信组件808被配置为便于电子设备和其他设备之间有线或无线方式的通信。电子设备可以接入基于通信标准的无线网络,例如Wi-Fi(Wireless-Fidelity,无线网络)。The communication component 808 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device may access a wireless network based on a communication standard, such as Wi-Fi (Wireless-Fidelity, wireless network).
可以理解,图8所示的结构仅为示意,电子设备该可以包括比图8中所示更多或更少的组件,或者具有与图8所示不同的组件。图8中所示的各组件均可以采用硬件、软件或者其组合来实现。It can be understood that the structure shown in FIG. 8 is only for illustration, and the electronic device may include more or less components than those shown in FIG. 8 , or have different components from those shown in FIG. 8 . Each component shown in FIG. 8 can be implemented by hardware, software or a combination thereof.
在一些示例性实施例中,一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如前的方法。该计算机可读存储介质可以是上述实施例中描述的电子设备中所包含的,也可以是单独存在,而未装配入该电子设备中。In some exemplary embodiments, a computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the foregoing method is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being assembled into the electronic device.
需要说明的是,本公开实施例所示的计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质, 该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。It should be noted that the computer-readable storage medium shown in the embodiments of the present disclosure may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable one of the above The combination. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
上述实施例中的路由通告方法、路由通告装置、电子设备及计算机可读存储介质,虚拟宽带接入服务器vBRAS的控制面网元与网络设备建立邻居关系,以与网络设备成为路由邻居;学习网络设备通告的网络路由,以根据网络路由生成路由转发表项;将路由转发表项同步至vBRAS的转发面网元部署的各vBRAS转发设备,以使vBRAS转发设备根据路由转发表项将用户报文转发至对应的网络设备;基于控制面网元快速学习路由并同步下发路由转发表至每台vBRAS转发设备,可实现路由信息高效学习与同步,提升报文转发效率;同时,简化了vBRAS转发设备功能要求,降低了vBRAS部署成本,且基于转发面与控制面功能进一步解耦,进一步推动网络云化与智能化。In the route notification method, route notification device, electronic equipment, and computer-readable storage medium in the above-mentioned embodiments, the control plane network element of the virtual broadband access server vBRAS establishes a neighbor relationship with the network device, so as to become a route neighbor with the network device; learning network The network route advertised by the device to generate routing and forwarding entries based on the network routing; the routing and forwarding entries are synchronized to each vBRAS forwarding device deployed on the forwarding plane NE of the vBRAS, so that the vBRAS forwarding device forwards user packets according to the routing and forwarding entries Forward to the corresponding network device; quickly learn the route based on the control plane network element and synchronously deliver the route forwarding table to each vBRAS forwarding device, which can realize efficient learning and synchronization of routing information and improve the efficiency of packet forwarding; at the same time, it simplifies vBRAS forwarding Equipment function requirements reduce the deployment cost of vBRAS, and based on the further decoupling of forwarding plane and control plane functions, further promote network cloudification and intelligence.
本领域技术人员在考虑说明书及实践这里公开的实施方式后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. The present disclosure is intended to cover any modification, use or adaptation of the present disclosure. These modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. .
本公开的描述是为了示例和描述起见而给出的,而并不是无遗漏的或者将本公开限于所公开的形式。很多修改和变化对于本领域的普通技术人员而言是显然的。选择和描述实施例是为了更好说明本公开的原理和实际应用,并且使本领域的普通技术人员能够理解本公开从而设计适于特定用途的带有各种修改的各种实施例。The description of the present disclosure has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and changes will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to better explain the principles and practical application of the disclosure, and to enable others of ordinary skill in the art to understand the disclosure and design various embodiments with various modifications as are suited to the particular use.

Claims (10)

  1. 一种路由通告方法,应用于虚拟宽带接入服务器vBRAS的控制面网元,所述方法包括:A route notification method applied to a control plane network element of a virtual broadband access server vBRAS, the method comprising:
    与网络设备建立邻居关系,以与所述网络设备成为路由邻居;Establish a neighbor relationship with the network device to become a routing neighbor with the network device;
    学习所述网络设备通告的网络路由,以根据所述网络路由生成路由转发表项;Learning the network route advertised by the network device, so as to generate a routing forwarding entry according to the network route;
    将所述路由转发表项同步至所述vBRAS的转发面网元部署的各vBRAS转发设备,以使所述vBRAS转发设备根据所述路由转发表项将用户报文转发至对应的网络设备。Synchronize the routing and forwarding entries to each vBRAS forwarding device deployed on the forwarding plane network element of the vBRAS, so that the vBRAS forwarding device forwards user packets to corresponding network devices according to the routing and forwarding entries.
  2. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, said method further comprising:
    在学习所述网络设备通告的网络路由时,根据接入用户向所述网络设备通告用户路由,以使所述网络设备生成第二转发表项,并根据所述第二转发表项将对应的第二用户报文转发至对应的vBRAS转发设备,其中,所述用户路由用于描述下一跳的vBRAS转发设备。When learning the network route announced by the network device, notify the user route to the network device according to the access user, so that the network device generates a second forwarding entry, and according to the second forwarding entry, the corresponding The second user packet is forwarded to a corresponding vBRAS forwarding device, wherein the user route is used to describe a next-hop vBRAS forwarding device.
  3. 根据权利要求1所述的方法,所述网络设备为城域叶脊Spine-Leaf网络的Leaf设备,所述与网络设备建立邻居关系,以成为路由邻居包括:The method according to claim 1, wherein the network device is a Leaf device of a metropolitan area leaf-spine Spine-Leaf network, and establishing a neighbor relationship with the network device to become a routing neighbor includes:
    通过边界网关协议BGP与所述Spine-Leaf网络的Leaf设备建立邻居关系,以成为BGP邻居。Establish a neighbor relationship with the Leaf device of the spine-leaf network through the border gateway protocol BGP, so as to become a BGP neighbor.
  4. 根据权利要求3所述的方法,所述与网络设备建立邻居关系,以与所述网络设备成为路由邻居之前,所述方法还包括:The method according to claim 3, before establishing a neighbor relationship with the network device to become a routing neighbor with the network device, the method further includes:
    若确定所述vBRAS转发设备与所述网络设备已建立BGP邻居关系时,则控制所述vBRAS转发设备与所述网络设备断开连接。If it is determined that the vBRAS forwarding device has established a BGP neighbor relationship with the network device, control the vBRAS forwarding device to disconnect from the network device.
  5. 根据权利要求1所述的方法,所述将所述路由转发表项同步至所述vBRAS的转发面网元中的各vBRAS转发设备包括:According to the method according to claim 1, the vBRAS forwarding devices that synchronize the routing and forwarding entries to the forwarding plane network elements of the vBRAS include:
    将所述路由转发表项存储在本地数据库中,并基于数据库同步技术将所述本地数据库中的路由转发表项同步至所述vBRAS的转发面网元中的各vBRAS转发设备。storing the routing and forwarding entries in a local database, and synchronizing the routing and forwarding entries in the local database to each vBRAS forwarding device in the forwarding plane network element of the vBRAS based on a database synchronization technology.
  6. 根据权利要求5所述的方法,所述基于数据库同步技术将所述本地数据库中的路由转发表项同步至所述vBRAS的转发面网元中的各vBRAS转发设备包括:According to the method according to claim 5, the synchronization of the routing and forwarding entries in the local database to each vBRAS forwarding device in the forwarding plane network element of the vBRAS based on the database synchronization technology includes:
    通过控制与用户面分离CUPS接口将所述本地数据库中的路由转发表项同步至所述vBRAS的转发面网元中的各vBRAS转发设备。Synchronize the routing and forwarding entries in the local database to each vBRAS forwarding device in the forwarding plane network element of the vBRAS through the CUPS interface that separates the control from the user plane.
  7. 根据权利要求1-6中任一项所述的方法,所述将所述路由转发表项同步至所述vBRAS的转发面网元中的各vBRAS转发设备之后,包括:According to the method according to any one of claims 1-6, after synchronizing the routing forwarding entry to each vBRAS forwarding device in the forwarding plane network element of the vBRAS, includes:
    当路由更新时,vBRAS控制面网元学习所述网络设备通告的路由更新信息,以根据所述路由更新信息对所述路由转发表项进行更新;When the route is updated, the vBRAS control plane network element learns the route update information advertised by the network device, so as to update the route forwarding entry according to the route update information;
    将更新后的路由转发表项同步至所述vBRAS的转发面网元中的各vBRAS转发设备。Synchronize the updated routing and forwarding entries to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
  8. 一种路由通告装置,所示装置配置在虚拟宽带接入服务器vBRAS的控制面网元中,包括:A route notification device, the device shown is configured in the control plane network element of the virtual broadband access server vBRAS, including:
    关系建立模块,与网络设备建立邻居关系,以与所述网络设备成为路由邻居;A relationship establishment module, which establishes a neighbor relationship with the network device, so as to become a routing neighbor with the network device;
    路由学习模块,学习所述网络设备通告的网络路由,以根据所述网络路由生成路由转发表项;A route learning module, learning the network route advertised by the network device, so as to generate a route forwarding entry according to the network route;
    路由同步模块,将所述路由转发表项同步至所述vBRAS的转发面网元部署的各vBRAS转发设备,以使所述vBRAS转发设备根据所述路由转发表项将用户报文转发至对应的网络设备。A route synchronization module, synchronizing the route forwarding entry to each vBRAS forwarding device deployed on the forwarding plane network element of the vBRAS, so that the vBRAS forwarding device forwards the user packet to the corresponding Internet equipment.
  9. 一种电子设备,包括:An electronic device comprising:
    一个或多个处理器;one or more processors;
    存储装置,用于存储一个或多个程序,当所述一个或多个被所述一个或多个处理器执行时,使得所述电子设备实现权利要求1-7中的任一项所述的方法。A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the electronic device implements the program described in any one of claims 1-7 method.
  10. 一种计算机可读存储介质,其特征在于,其上存储有计算机可读指令,当所述计算机可读指令被计算机的处理器执行时,使计算机执行权利要求1-7中的任一项所述的方法。A computer-readable storage medium, which is characterized in that computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is made to perform any one of claims 1-7. described method.
PCT/CN2022/127921 2021-12-29 2022-10-27 Route advertisement method and apparatus, device, and storage medium WO2023124480A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111647326.XA CN114301823B (en) 2021-12-29 2021-12-29 Route notification method, device, equipment and storage medium
CN202111647326.X 2021-12-29

Publications (1)

Publication Number Publication Date
WO2023124480A1 true WO2023124480A1 (en) 2023-07-06

Family

ID=80974565

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/127921 WO2023124480A1 (en) 2021-12-29 2022-10-27 Route advertisement method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN114301823B (en)
WO (1) WO2023124480A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301823B (en) * 2021-12-29 2024-01-02 中国电信股份有限公司 Route notification method, device, equipment and storage medium
CN115002016B (en) * 2022-05-17 2023-08-22 阿里云计算有限公司 Message processing system, method, device and storage medium
CN115412427A (en) * 2022-08-30 2022-11-29 梅州科捷电路有限公司 Router safety monitoring early warning system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108400939A (en) * 2018-03-02 2018-08-14 赛特斯信息科技股份有限公司 The system and method for accelerating multicast replication is realized in NFV
CN108512703A (en) * 2018-03-28 2018-09-07 新华三技术有限公司 BRAS turns backup method, device, equipment and the machine readable storage medium of control separation
US10771434B1 (en) * 2015-03-31 2020-09-08 Juniper Networks, Inc. Route signaling driven service management
WO2021073312A1 (en) * 2019-10-14 2021-04-22 中兴通讯股份有限公司 Route advertisement method for ipv6 network, device, storage medium and system
WO2021169291A1 (en) * 2020-02-29 2021-09-02 华为技术有限公司 Route advertising method, network elements, system, and device
CN113660104A (en) * 2020-05-12 2021-11-16 华为技术有限公司 Communication method, UP device and CP device
CN113794641A (en) * 2021-08-20 2021-12-14 新华三信息安全技术有限公司 Message processing method and device
CN114301823A (en) * 2021-12-29 2022-04-08 中国电信股份有限公司 Route notification method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10419328B1 (en) * 2017-04-11 2019-09-17 Juniper Networks, Inc Apparatus, system, and method for improved memory consumption in network devices via efficient route management
CN111193644A (en) * 2018-11-14 2020-05-22 中移(杭州)信息技术有限公司 vBRAS service transmission method, device, terminal equipment and medium
CN111835635B (en) * 2019-04-18 2021-12-14 华为技术有限公司 Method, equipment and system for publishing route in BGP network
CN110430076B (en) * 2019-07-31 2022-05-31 新华三技术有限公司合肥分公司 Route management method and device
CN111464454B (en) * 2020-03-02 2022-03-18 烽火通信科技股份有限公司 Load sharing method and system for virtual BRAS (broadband remote Access Server) equipment in data center

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10771434B1 (en) * 2015-03-31 2020-09-08 Juniper Networks, Inc. Route signaling driven service management
CN108400939A (en) * 2018-03-02 2018-08-14 赛特斯信息科技股份有限公司 The system and method for accelerating multicast replication is realized in NFV
CN108512703A (en) * 2018-03-28 2018-09-07 新华三技术有限公司 BRAS turns backup method, device, equipment and the machine readable storage medium of control separation
WO2021073312A1 (en) * 2019-10-14 2021-04-22 中兴通讯股份有限公司 Route advertisement method for ipv6 network, device, storage medium and system
WO2021169291A1 (en) * 2020-02-29 2021-09-02 华为技术有限公司 Route advertising method, network elements, system, and device
CN113660104A (en) * 2020-05-12 2021-11-16 华为技术有限公司 Communication method, UP device and CP device
CN113794641A (en) * 2021-08-20 2021-12-14 新华三信息安全技术有限公司 Message processing method and device
CN114301823A (en) * 2021-12-29 2022-04-08 中国电信股份有限公司 Route notification method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114301823A (en) 2022-04-08
CN114301823B (en) 2024-01-02

Similar Documents

Publication Publication Date Title
WO2023124480A1 (en) Route advertisement method and apparatus, device, and storage medium
US10476793B2 (en) Multicast flow overlay using registration over a reliable transport
US9252963B2 (en) Performing multicast communication in computer networks by using overlay routing
JP4769869B2 (en) Method and router for protocol process migration
WO2016146077A1 (en) Dynamic route configuration method, device and system
CN103716281B (en) control method, electronic device and server
US20050169281A1 (en) Distributed router
CN111314196A (en) Data center network hybrid overlay communication method
US7860027B2 (en) Extending an IP everywhere network over a plurality of flooding domains
WO2013152718A1 (en) Path computation element communication protocol session establishment method and device
US9491264B2 (en) Extensible messaging and presence protocol (XMPP) based software-service-defined-network (SSDN)
US20240007353A1 (en) Software defined access fabric without subnet restriction to a virtual network
EP2991288B1 (en) Method and device for determining next hop and distributing routing information
EP3695569B1 (en) A system and method for providing a layer 2 fast re-switch for a wireless controller
WO2021004213A1 (en) Method and apparatus for determining path tag of fusion network, storage medium, and electronic device
US20230231797A1 (en) Session state synchronization and failover using session-based routing
US20240205137A1 (en) Method and Apparatus for Telemetry Monitoring of BGP Prefixes in a Network Topology
CN117857392A (en) Mechanism method for detecting cloud host network connectivity based on OVS physical machine
WO2024137280A1 (en) Method and apparatus for telemetry monitoring of bgp prefixes in a network topology
JP2013196111A (en) Connection establishment system
CN116746117A (en) Best path computation offload in a network computing environment
JP2017183960A (en) Switch control device, method and program
Liu et al. Generic fault-avoidance routing protocol for data center networks
JP2009159417A (en) Multicast packet transfer system and multicast packet transfer method

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

Country of ref document: EP

Kind code of ref document: A1