CN114301823B - Route notification method, device, equipment and storage medium - Google Patents

Route notification method, device, equipment and storage medium Download PDF

Info

Publication number
CN114301823B
CN114301823B CN202111647326.XA CN202111647326A CN114301823B CN 114301823 B CN114301823 B CN 114301823B CN 202111647326 A CN202111647326 A CN 202111647326A CN 114301823 B CN114301823 B CN 114301823B
Authority
CN
China
Prior art keywords
route
forwarding
network
vbras
forwarding table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111647326.XA
Other languages
Chinese (zh)
Other versions
CN114301823A (en
Inventor
龚霞
黄灿灿
杨冰
朱永庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202111647326.XA priority Critical patent/CN114301823B/en
Publication of CN114301823A publication Critical patent/CN114301823A/en
Priority to PCT/CN2022/127921 priority patent/WO2023124480A1/en
Application granted granted Critical
Publication of CN114301823B publication Critical patent/CN114301823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

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

The embodiment of the application discloses a route notification method, a device, electronic equipment and a storage medium, wherein the method is applied to a control plane network element of a vBRAS and comprises the following steps: establishing a neighbor relation with the network device to be a routing neighbor with the network device; learning a network route advertised by the network device to generate a route forwarding table item according to the network route; synchronizing the route forwarding table items to each vBRAS forwarding device deployed by the network element of the forwarding surface of the vBRAS, so that the vBRAS forwarding device forwards the user message to the corresponding network device according to the route forwarding table items, thereby realizing efficient learning and synchronization of the route information and improving the message forwarding efficiency; meanwhile, the function requirement of the vBRAS forwarding equipment is simplified.

Description

Route notification method, device, equipment and storage medium
Technical Field
The application relates to a route notification technology and provides a route notification method, a device, equipment and a computer readable storage medium.
Background
The technology of converting and separating vBRAS (virtual broadband access server, rirtualization Broadband Remote Access Server) is a hotspot for cloud deployment of metropolitan area networks. The Control Plane comprises a Control Plane (CP) and a Control Plane (UP), wherein the UP is divided into a dedicated hardware forwarding Plane (pUP) and a virtualized forwarding Plane (vUP), and for improving the User bearing efficiency, the CP cloud centralized deployment is adopted, the Control Plane can manage a plurality of forwarding planes to schedule users, flows and resources among the forwarding planes, and compared with a single machine, the utilization rate and the reliability of the device can be greatly improved.
In the related art, the vbas route advertisement scheme supports the route related function for the puc, and when the user is on line, each puc completes the route advertisement.
Disclosure of Invention
The invention aims to provide a route notification method, a route notification device, electronic equipment and a computer readable storage medium, which realize efficient learning and synchronization of route information and improve message forwarding efficiency; meanwhile, the function requirement of forwarding equipment is simplified.
The application provides a route notification method applied to a control plane network element of a virtual broadband access server (vBRAS), comprising the following steps: establishing a neighbor relation with a network device to be a routing neighbor with the network device; learning a network route advertised by the network device to generate a route forwarding table item according to the network route; and synchronizing the route forwarding table item to each vBRAS forwarding device deployed by the forwarding surface network element of the vBRAS, so that the vBRAS forwarding device forwards the user message to the corresponding network device according to the route forwarding table item.
Further, the method further comprises: and when learning the network route advertised by the network equipment, advertising a user route to the network equipment according to an access user so as to enable the network equipment to generate a second forwarding table item, forwarding a corresponding second user message to a corresponding vBRAS forwarding equipment according to the second forwarding table item, wherein the user route is used for describing the vBRAS forwarding equipment of the next hop.
Further, the network device is a Leaf device of a metropolitan area Spine-Leaf network, the establishing a neighbor relation with the network device to become a routing neighbor includes: and establishing a neighbor relation with Leaf equipment of the Spine-Leaf network through a Border Gateway Protocol (BGP) to become a BGP neighbor.
Further, before the establishing a neighbor relation with the network device to be a routing neighbor with the network device, the method further includes: and if the vBRAS forwarding equipment and the network equipment are determined to have established BGP neighbor relation, controlling the vBRAS forwarding equipment to disconnect from the network equipment.
Further, the synchronizing the routing forwarding table entry to each vbas forwarding device in the forwarding plane network element of the vbas includes: and storing the routing forwarding table entries in a local database, and synchronizing the routing forwarding table entries in the local database to each vBRAS forwarding device in a forwarding plane network element of the vBRAS based on a database synchronization technology.
Further, the synchronizing routing forwarding table entries in the local database to each vbas forwarding device in the forwarding plane network element of the vbas based on the database synchronization technology includes:
and synchronizing the routing forwarding table items in the database to each vBRAS forwarding device in the network element of the forwarding surface of the vBRAS by controlling a CUPS interface separated from the user surface.
Further, after the synchronizing the routing forwarding table entry to each vbas forwarding device in the forwarding plane network element of the vbas, the method includes:
when the route is updated, the vBRAS control surface network element learns the route updating information advertised by the network equipment so as to update the route forwarding table item according to the route updating information;
and synchronizing the updated routing forwarding table item to each vBRAS forwarding device in the network element of the forwarding plane of the vBRAS.
The application also provides a route notification device configured in a control plane network element of the virtual broadband access server vbas, comprising: the relation establishing module establishes a neighbor relation with the network equipment to form a routing neighbor with the network equipment; a route learning module for learning the network route advertised by the network device to generate a route forwarding table item according to the network route; and the route synchronization module synchronizes the route forwarding table item to each vBRAS forwarding device deployed by the forwarding surface network element of the vBRAS, so that the vBRAS forwarding device forwards the user message to the corresponding network device according to the route forwarding table item.
The application also proposes an electronic device comprising: one or more processors; and storage means for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement the method as described above.
The present application also proposes a computer readable storage medium having stored thereon computer readable instructions, which when executed by a processor of a computer, cause the computer to perform a method as described above.
Compared with the prior art, the application has the following beneficial effects:
in the technical scheme provided by the application, a control surface network element of a virtual broadband access server vBRAS establishes a neighbor relation with network equipment so as to form a routing neighbor with the network equipment; learning a network route advertised by the network device to generate a route forwarding table item according to the network route; synchronizing the route forwarding table item to each vBRAS forwarding device deployed by the forwarding plane network element of the vBRAS, so that the vBRAS forwarding device forwards the user message to the corresponding network device according to the route forwarding table item; based on the control surface network element, the route is quickly learned and the route forwarding table is synchronously issued to each vBRAS forwarding device, so that the efficient learning and synchronization of the route information can be realized, and the message forwarding efficiency is improved; meanwhile, the function requirement of the vBRAS forwarding equipment is simplified, the vBRAS deployment cost is reduced, and the network clouding and intellectualization are further promoted based on the further decoupling of the forwarding plane and the control plane functions.
Drawings
Fig. 1 is a schematic diagram of a network of a route advertisement system related to the related art;
FIG. 2 is a schematic illustration of one implementation environment to which the present application relates;
fig. 3 is a flow chart of a route advertisement method according to an exemplary embodiment of the present application;
fig. 4 is a flowchart in an example after step S130 in the route advertisement method shown in fig. 3;
fig. 5 is a networking schematic diagram of a route advertisement system shown in an exemplary embodiment of the present application;
fig. 6 is a flow chart illustrating another route advertisement method according to an exemplary embodiment of the present application;
fig. 7 is a schematic structural diagram of a route advertisement device according to an exemplary embodiment of the present application;
fig. 8 shows a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present application.
Detailed Description
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 numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the 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.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
Also to be described is: reference to "a plurality" in this application means two or more than two. "and/or" describes an association relationship of an association object, meaning that there may be three relationships, e.g., a and/or B may represent: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Referring to fig. 1, fig. 1 is a schematic networking diagram of a conventional route announcement of a vbas in the related art, a pUP pool is deployed by a forwarding plane network element of the vbas forwarding pool, and each pUP in the pUP pool respectively establishes BGP route neighbors with two Leaf devices to respectively learn the same route. When there is a route update, each pUP needs to learn the updated route and generate a forwarding table item. The method consumes more equipment resources and has slow route advertisement; the pUP forwarding plane also needs to support the related functions of routing, and the equipment cost is high.
Referring to fig. 2, fig. 2 is a schematic diagram of an implementation environment according to the present application. The implementation environment comprises a control plane network element 10 of a virtual broadband access server vBRAS, network equipment 20 and a forwarding plane network element 30 of the vBRAS, wherein the forwarding plane network element of the vBRAS is provided with a plurality of vBRAS forwarding equipment pUP301, 302, 303 and 304; the control plane network element 10 communicates with the network device 20 through a wired network, and the network device 20 communicates with the vbas forwarding device pUP through a wired network;
the control plane network element 10 is configured to establish a neighbor relation with the network device to be a routing neighbor with the network device; learning a network route advertised by the network equipment, and generating a route forwarding table item according to the network route; the route forwarding table item is used for describing a path for forwarding the message; and synchronizing the routing forwarding table entry to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
Each vbas forwarding device in the forwarding plane network element 30 of the vbas forwards the user packet to the corresponding network device 20 according to the routing forwarding table entry.
The control surface network element of the vBRAS is realized by adopting a general server, a routing function is required to be deployed, and the forwarding surface network element of the vBRAS is also realized by adopting the general server, so that the routing function is simplified to be deployed; the present invention is not limited to this, and may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), and the like. The vBRAS forwarding equipment of the network element of the forwarding plane of the vBRAS is special hardware forwarding plane equipment.
Referring to fig. 3, fig. 3 is a flowchart illustrating a route advertisement method according to an exemplary embodiment of the present application, where the route advertisement method is performed by the control plane network element 10 of the vbas shown in fig. 2, and the route advertisement method includes steps S110 to S130, which are described in detail below:
s110, establishing a neighbor relation with the network device to be a routing neighbor with the network device.
In one embodiment of the present application, the control plane network element establishes a neighbor relation with the network device, where the network device refers to a device that can access the internet and forward a message to the internet, and optionally, the control plane network element establishes a neighbor relation with at least two network devices, where a communication connection is also established between the at least two network devices.
After the neighbor relation is established, the control plane network element and the network equipment become neighbors.
Optionally, the control plane network element may further establish an adjacency relationship with the network device, where the adjacency relationship refers to a neighbor relationship in which link state information and routing information may be exchanged.
In one embodiment of the present application, the network device is a Leaf device of a metropolitan area Spine-Leaf (Leaf-Spine network architecture) network, where Spine-Leaf refers to a novel two-tier network connection structure; here leaf refers to an endpoint or edge layer network device; while spine is the core, central layer network device that is responsible for interfacing with leaf devices. The vBRAS forwarding device can access the metropolitan area network through the Spine-Leaf network, and at this time, establishing a neighbor relation with the network device includes:
the vbas control plane network element establishes a neighbor relationship with Leaf devices of the Spine-Leaf network through BGP (Border Gateway Protocol ) to become BGP neighbors.
BGP is a core de-centralized autonomous routing protocol on the internet. It implements reachability between autonomous systems (ases) by maintaining IP routing tables or prefix tables, belonging to vector routing protocols.
The process of establishing a neighbor relationship with a Leaf device of a Spine-Leaf network via the BGP protocol includes: the LOOPback interface is a virtual interface with pure software property, and is used for sending TCP (transmission control protocol ) messages and establishing the neighbor relation of BGP by the peer, and the BGP completes operations such as neighbor establishment, route update and the like through message interaction, and the total number of message types is Open, update, notification, keepalive, route-refresh and the like.
Open message: the first message sent after the TCP connection is established is used for establishing the connection relationship between BGP neighbors. After receiving the Open message and negotiating successfully, the Leaf device of the Spine-Leaf network will send a Keepalive message to confirm and maintain the validity of the connection. After confirmation, the control plane network element and the Leaf device of the Spine-Leaf network may exchange Update, notification, keepalive and Route-refresh messages. Update message: for exchanging routing information between BGP neighbors. The Update message can release a plurality of pieces of reachable route information with the same attribute, and can also cancel a plurality of pieces of unreachable route information. An Update message may publish multiple reachable routes with the same routing attributes, which may share a set of routing attributes. All the routing attributes contained in a given Update message apply to all destinations (denoted by IP prefixes) in the NLRI (Network Layer Reachability Information) field of the Update message. An Update message may withdraw multiple unreachable routes. Each route is explicitly defined by a destination (denoted by IP prefix) as a previously advertised route between BGP routers. An Update message may be used only to withdraw routes, thus eliminating the need to include path attributes or NLRI. Conversely, it may be used only to advertise reachable routes, and no withdrawn route information need be carried. Notification message: when the control plane network element or the Leaf equipment of the Spine-Leaf network detects an error state, a Notification message is sent to a neighbor, and then the BGP connection is immediately interrupted. Keepalive message: the Leaf device of the control plane network element or the Spine-Leaf network periodically sends keep-alive messages to the neighbors to keep the validity of the connection.
In an embodiment of the present application, before establishing a neighbor relation with the network device to be a routing neighbor with the network device, the route advertisement method further includes:
and if the vBRAS forwarding equipment and the network equipment are determined to have established BGP neighbor relation, the vBRAS forwarding equipment is controlled to be disconnected with the network equipment.
It can be appreciated that the control plane network element may manage a plurality of vbas forwarding devices in the forwarding plane network element; therefore, in an embodiment of the present application, the control plane network element may send an inquiry message to each vbas forwarding device to inquire whether the vbas forwarding device establishes BGP neighbor relation with the network device, and after receiving the inquiry message, the vbas forwarding device may feed back a message to the control plane network element to inform whether it establishes BGP neighbor relation with the network device, and when the control plane informs the fed back message to determine that the vbas forwarding device has established BGP neighbor relation with the network device, may send a disconnection message to the vbas forwarding device, so that the vbas forwarding device is disconnected from the network device.
For example, when the vbas forwarding device and the network device have established BGP neighbor relation, the control plane network element may control the vbas forwarding device to send a Notification message to the network device, or not send a keep alive message to the network device within a specified time, so that the vbas forwarding device and the network device break BGP connection.
When the vBRAS forwarding equipment is disconnected with the network equipment, the control surface network element and the network equipment establish a neighbor relation, and the vBRAS forwarding equipment does not need to establish a neighbor relation with the network equipment any more, so that a route control function is transferred from the vBRAS forwarding equipment of the forwarding surface to the control surface network element, and the transfer control separation is truly realized.
S120, learning the network route advertised by the network equipment to generate a route forwarding table item according to the network route.
In one embodiment of the present application, after establishing the neighbor relation, the network device may advertise a network route to the control plane network element, which may be an external network route, e.g., the network route is generated by a third device, other than the control plane network element and the network device, the third device sends the network route to the Leaf device, which advertises to the control plane network element. Of course, the network route may also be generated from a Leaf device.
After the Leaf device advertises the network route to the control plane network element, the control plane network element may learn the network route to generate a route forwarding table based on the network route. Wherein the network route comprises a process of determining a network range of the end-to-end path when from the source to the destination; it will be appreciated that the network route may contain one or more routing information.
After learning the network route, the control plane network element may generate a route forwarding table according to a plurality of routing information of the network route, where the route forwarding table is used to describe a network path for forwarding the message. Optionally, the routing forwarding table entries include a plurality of forwarding table entries, where each forwarding table entry specifies a destination to be reached, and information such as an egress interface and a next hop IP address that need to be passed through, including, for example, a route, a network segment, a next hop, and an egress interface. I.e. by means of which the forwarding table entry will know by means of which data is transmitted to the other end.
In an embodiment of the present application, the network device may learn a route, and the route advertisement method provided in this embodiment further includes:
and when learning the network route advertised by the network equipment, advertising the user route to the network equipment according to the access user so as to enable the network equipment to generate a second forwarding table item, forwarding the corresponding user message to the corresponding vBRAS forwarding equipment according to the second forwarding table item, wherein the user route is used for describing the vBRAS forwarding equipment of the next hop.
It should be noted that, the control plane network element and the network device may learn routes with each other, and the user route is used to describe that the next hop is a vbas forwarding device that is on line to the user; for example, as shown in fig. 2, the user routes the vbas forwarding device 301 for describing that the next hop is on-line to the user, and the generated second forwarding table entry includes the outgoing interfaces of the vbas forwarding device 301 and the Leaf device for the next hop.
Optionally, the network route is BGP route, after the control plane network element and the network device establish BGP neighbors, the network device advertises BGP route to the control plane network element, and the control plane network element advertises user route to the network device, so that the network device learns the user route and generates its own second forwarding table item; when the network equipment receives the user message and needs to forward the user message to the vBRAS forwarding equipment, the vBRAS forwarding equipment corresponding to the user message is determined according to the second forwarding table item, so that accurate forwarding of the user message is realized.
S130, synchronizing the route forwarding table item to each vBRAS forwarding device deployed by the network element of the forwarding plane of the vBRAS, so that the vBRAS forwarding device forwards the user message to the corresponding network device according to the route forwarding table item.
In one embodiment of the application, after the control plane network element generates the route forwarding table, the route forwarding table needs to be synchronized to each vbas forwarding device deployed by the forwarding plane network element of the vbas, so that efficient learning and synchronization of route information can be realized, and message forwarding efficiency is improved. Meanwhile, the pUP equipment function requirement is simplified, the vBRAS equipment deployment cost is reduced, and the network clouding and intellectualization are further promoted based on the further decoupling of the functions of the forwarding plane and the control plane.
It should be noted that, each vbas forwarding device deployed to synchronize a routing forwarding table entry to a forwarding plane network element of a vbas includes:
and storing the routing forwarding table entries in a local database, and synchronizing the routing forwarding table 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.
In an embodiment of the present application, the control plane network element is deployed with a database module for providing a database for data storage; after generating the route forwarding table entries, the control plane network element stores the route forwarding table entries in a database, synchronizes the route forwarding table entries in the database to each vbas forwarding device through a database synchronization technology, for example, synchronizes the route forwarding table entries to the database in each vbas forwarding device through the database synchronization technology, and achieves efficient route advertisement based on the database.
Alternatively, the database synchronization technology may implement synchronization operation between databases by means of publish-subscribe. The publishing and subscribing part comprises two steps: 1. and (5) issuing. 2. Subscription. Firstly, data to be synchronized are published on a control plane network element, and then the publication is subscribed on a vBRAS forwarding device.
The database synchronization technology can also realize synchronization through SQL job or synchronization through mysql database; the routing forwarding table item can be issued to each vbas forwarding device through a CUPS (Control and User Plane Separation ) interface, for example, an Sx interface or an N4 interface, so that the network millisecond low-delay requirement can be realized, and the quick synchronization can be realized.
When the route is updated, the route forwarding table entry needs to be updated, as shown in fig. 4, after the route forwarding table entry is synchronized to each vbas forwarding device in the forwarding plane network element of the vbas, the route advertising method provided by the embodiment of the present application further includes:
and S140, when the route is updated, the route updating information advertised by the network equipment is learned so as to update the route forwarding table item according to the route updating information.
In an embodiment of the present application, when there is a route update, the network device will advertise route update information, where the route update information may be route information including only the update, for example, when the network detects that one router a is added, the route update information includes route information of the updated router a; the control plane network element learns the route update information advertised by the network device, and updates the route forwarding table item according to the route update information. For example, a new route, network segment, next hop and outgoing interface are added in the updated route forwarding table item.
In another embodiment, the route update information may be all updated route information, for example, the network device knows the route information of the added router a and the original router B, C, and the route update information may also include the route information of all routers, so that the control plane network element may compare with the original route when learning the route update information, so as to ensure the accuracy of the route information.
And S150, synchronizing the updated routing forwarding table item to each vBRAS forwarding device in the network element of the forwarding plane of the vBRAS.
After updating the route forwarding table, the updated route forwarding table is stored in a local database to replace the original route forwarding table, and optionally, the updated route forwarding table is synchronized to each vBRAS forwarding device through a database synchronization technology, so that information interaction between the network device and each vBRAS forwarding device is reduced, and network management is simplified.
For easy understanding, the present embodiment describes a route advertisement method in a more specific application scenario, and the route advertisement method is implemented by a route advertisement system. The route notification system comprises a vBRAS and Leaf equipment of a Spine-Leaf network, a networking schematic diagram is shown in figure 5, and based on the route notification system, as shown in figure 6, the route notification method comprises the following steps:
s610, initializing a system, and deploying the vBRAS in a transfer control separation mode.
The CP clouds and deploys a routing function module and a database module, and pUP pools and simplifies the routing function;
s620, establishing BGP neighbor relation between the CP and Leaf equipment of the Spine-Leaf network.
Optionally, the CP uses an lock interface to send TCP messages and Leaf devices to establish BGP neighbor relationships.
After establishing the BGP neighbor relation, the Leaf device announces an external BGP route to the CP, wherein the external BGP route is obtained by learning the route announced by the neighbor device by the Leaf device;
the CP announces the user route to the Leaf device, specifically, when the user dials up, the CP allocates a network segment to the puc, the puc generates the user route, and the CP announces the user route to the Leaf device, i.e. announces the looback address of the next hop as the puc.
S630, the CP generates a route forwarding table item based on the learned BGP route and stores the route forwarding table item in a database;
when the CP learns a plurality of BGP routes (paths) to the same destination network, the CP loads the routes into a BGP routing table, performs route optimization in the entries according to BGP route optimization rules, and finally decides an optimal (Best) route to the network, so as to decide an optimal plurality of routes to different networks, and generates a route forwarding table entry, and stores the route forwarding table entry in a database.
For example, if the CP learns that the Leaf device 1 advertises BGP route 1 to the internet 1, learns that the Leaf device 2 advertises BGP route 2 to the internet 1, and preferably that the path to the internet 1 is BGP1, a route forwarding table entry is generated based on BGP 1.
Of course, when the Leaf device also learns the user routes advertised by the CP, a route forwarding table entry is also generated.
S640, the CP rapidly synchronizes the information of the routing forwarding list item to each pUP device through a CU separation interface;
the CP-advertising CU separate interface rapidly synchronizes the routing forwarding entries in the database to each pUP device.
S650, pUP forwards the user message to the corresponding Leaf device according to the forwarding table.
And the pUP receives a user message sent by a user, if the user message needs to be sent to the Internet 1, the pUP forwards the user message to the Leaf equipment 1 according to the routing forwarding table item, and then the user message is forwarded to the Internet 1 by the Leaf equipment 1.
Of course, after generating the route forwarding table item, if receiving the user message from the internet, the Leaf device forwards the user message to the corresponding puc device according to the self forwarding table.
S660, when the route is updated, the Leaf device and the CP advertise updated route information.
When there is a route update, for example, the Leaf device 1 may also go to the internet 2, the Leaf device 1 notifies the CP of the added route information Leaf device 1-internet 2, and the CP learns the added route information, updates the added route information into the route forwarding table, and then synchronizes the updated route forwarding table to each puc device.
According to the route notification method provided by the embodiment, aiming at the problem that each pUP needs to establish BGP neighbors with an external network and learn the same route to consume network resources at present, the BGP neighbors are established with the external network through the CP and the route is notified to generate a route forwarding table, and the route forwarding table information is issued to each pUP device based on a database synchronization mode. Each pUP device does not need to learn the route, and based on the CP fast learning route, the forwarding table is issued to the pUP, so that the message forwarding efficiency is improved; meanwhile, the pUP equipment function requirement is simplified, the route notification process is simplified, and the message forwarding efficiency is improved; the method has the advantages that the function requirements of pUP equipment are simplified, the equipment cost is reduced, and the problem that equipment resources are consumed when BGP neighbors in each pUP and Leaf equipment in the vBRAS are built to learn the same route is solved; meanwhile, the routing control function is transferred from pUP to CP, so that the control and conversion separation is truly realized, the programmable capacity of the network is further improved, and the network clouding and intelligent process is promoted.
The following describes an embodiment of an apparatus of the present application, which may be used to perform the route advertisement method in the foregoing embodiment of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the route advertisement method described in the present application.
As shown in fig. 7, fig. 7 is a schematic structural diagram of a route advertisement device according to an exemplary embodiment of the present application, where the route advertisement device is configured on a control plane network element of a vbas, and includes:
a relationship establishment module 710 that establishes a neighbor relationship with the network device to become a routing neighbor with the network device;
a route learning module 720 for learning the network route advertised by the network device to generate a route forwarding table item according to the network route;
the route synchronization module 730 synchronizes the route forwarding table entry to each vbas forwarding device deployed by the forwarding plane network element of the vbas, so that the vbas forwarding device forwards the user message to the corresponding network device according to the route forwarding table entry.
In some embodiments of the present application, based on the foregoing solution, the route advertisement device further includes an advertisement module, where the advertisement module is specifically configured to, while learning a network route advertised by a network device, advertise, to the network device, a user route according to an access user, so that the network device generates a second forwarding table entry, and forward, according to the second forwarding table entry, a corresponding second user packet to a corresponding vbas forwarding device, where the user route is used to describe a vbas forwarding device of a next hop.
In some embodiments of the present application, based on the foregoing solution, the network device is a Leaf device of a metro Spine-Leaf network, and the relationship establishing module 710 is specifically configured to establish a neighbor relationship with the Leaf device of the Spine-Leaf network through a border gateway protocol BGP to become a BGP neighbor.
In some embodiments of the present application, based on the foregoing solution, the route advertisement device further includes a route control module, before establishing a neighbor relation with the network device to make a route neighbor with the network device, where the route control module is configured to control the vbas forwarding device to disconnect from the network device if it is determined that the vbas forwarding device has established a BGP neighbor relation with the network device.
In some embodiments of the present application, based on the foregoing solution, the route synchronization module 730, specifically configured to synchronize the route forwarding table entry to each forwarding device in the forwarding plane network element of the vbas includes: and storing the routing forwarding table entries in a local database, and synchronizing the routing forwarding table 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.
In some embodiments of the present application, based on the foregoing solution, the route synchronization module 730 is further configured to synchronize the route forwarding table entry in the database to each vbas forwarding device in the forwarding plane network element of the vbas by controlling the separation of the cup interface from the user plane.
In some embodiments of the present application, based on the foregoing solution, the route advertisement device further includes a route update module, where the route update module is configured to learn route update information advertised by the network device by the vbas control plane network element when the route is updated, so as to update the route forwarding table entry according to the route update information; and synchronizing the updated routing forwarding table item to each vBRAS forwarding device in the network element of the forwarding plane of the vBRAS.
It should be noted that, the apparatus provided in the foregoing embodiments and the method provided in the foregoing embodiments belong to the same concept, and the specific manner in which each module and unit perform the operation has been described in detail in the method embodiments, which is not repeated herein.
According to the device provided by the embodiment, the neighbor relation is established between the control plane network element and the network equipment, routes are learned mutually, the generated route forwarding table is stored in the database, and then the route forwarding table items are issued to each vBRAS forwarding equipment through the database synchronization technology, so that the table item synchronization is realized. The network element based on the control plane rapidly learns the route and synchronously transmits the route forwarding table to each vBRAS forwarding device, so that the efficient learning and synchronization of the route information can be realized, the message forwarding efficiency is improved, meanwhile, the function requirement of the vBRAS forwarding device is simplified, the deployment cost of the vBRAS device is reduced, and the network clouding and intellectualization are further promoted based on the further decoupling of the forwarding plane and the control plane function.
In an exemplary embodiment, an electronic device includes one or more processors; storage means for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement the method as described above.
The electronic device may be mounted on a control plane network element of a vbas, and fig. 8 is a schematic structural diagram of an electronic device according to an exemplary embodiment.
It should be noted that the electronic device is just one example adapted to the present application, and should not be construed as providing any limitation to the scope of use of the present application. Nor should the electronic device be construed as necessarily relying on or necessarily having one or more of the components of the exemplary electronic device shown in fig. 8.
As shown in fig. 8, in an exemplary embodiment, 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 components are not required, and the electronic device may add other components or reduce some components according to its own functional requirement, which is not limited in this embodiment.
The processing component 801 generally controls overall operation of the electronic device, such as operations associated with display, data communication, and log data synchronization, and the like. The processing component 801 may include one or more processors 806 to execute instructions to perform all or part of the steps described above. Further, the processing component 801 may include one or more modules that facilitate interactions between the processing component 801 and other components. For example, processing component 801 may include multimedia modules to facilitate interactions between multimedia component 804 and processing component 801.
The memory 802 is configured to store various types of data to support operation at the electronic device, examples of which include instructions for any application or method operating on the electronic device. The memory 802 has stored therein one or more modules configured to be executed by the one or more processors 806 to perform all or part of the steps of the methods described in the embodiments above.
The power supply component 803 provides power to the various components of the electronic device. The power components 803 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic devices.
The multimedia component 804 includes a screen between the electronic device and the user that provides an output interface. In some embodiments, the screen may include a TP (Touch Panel) and an LCD (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 sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation.
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 external audio signals when the electronic device is in an operational mode, such as a call mode, a recording mode, and a speech recognition mode. In some embodiments, the audio component 805 further comprises a speaker for outputting audio signals.
The sensor assembly 807 includes one or more sensors for providing status assessment of various aspects of the electronic device. For example, the sensor assembly 807 may detect an on/off state of the electronic device, and may also detect a temperature change of the electronic device.
The communication component 808 is configured to facilitate communication between the electronic device and other devices in a wired or wireless manner. The electronic device may access a Wireless network based on a communication standard, such as Wi-Fi (Wireless-Fidelity).
It is to be understood that the configuration shown in fig. 8 is merely illustrative and that the electronic device may include more or fewer components than shown in fig. 8 or have different components than shown in fig. 8. Each of the components shown in fig. 8 may be implemented in hardware, software, or a combination thereof.
In an exemplary embodiment, a computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements a method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment or may exist alone without being incorporated in the electronic device.
The computer readable storage medium according to the embodiments of the present application may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash Memory, an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
The foregoing is merely a preferred exemplary embodiment of the present application and is not intended to limit the embodiments of the present application, and those skilled in the art may make various changes and modifications according to the main concept and spirit of the present application, so that the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. A method of route advertisement, characterized in that it is applied to a control plane network element of a virtual broadband access server vbas, the method comprising:
establishing a neighbor relation with a network device to be a routing neighbor with the network device;
learning a network route advertised by the network device to generate a route forwarding table item according to the network route;
storing the routing forwarding table items in a local database, and synchronizing the routing forwarding table items in the local database to databases of each vBRAS forwarding device in a forwarding plane network element of the vBRAS based on a database synchronization technology so that the vBRAS forwarding devices forward user messages to corresponding network devices according to the routing forwarding table items;
the network device is a Leaf device of a metropolitan area Spine-Leaf network, the establishing a neighbor relation with the network device to become a routing neighbor includes:
and establishing a neighbor relation with Leaf equipment of the Spine-Leaf network through a Border Gateway Protocol (BGP) to become a BGP neighbor.
2. The method according to claim 1, wherein the method further comprises:
and when learning the network route advertised by the network equipment, advertising a user route to the network equipment according to an access user so as to enable the network equipment to generate a second forwarding table item, forwarding a corresponding second user message to a corresponding vBRAS forwarding equipment according to the second forwarding table item, wherein the user route is used for describing the vBRAS forwarding equipment of the next hop.
3. The method of claim 1, wherein prior to establishing a neighbor relation with a network device to be a routing neighbor with the network device, the method further comprises:
and if the vBRAS forwarding equipment and the network equipment are determined to have established BGP neighbor relation, controlling the vBRAS forwarding equipment to disconnect from the network equipment.
4. The method according to claim 1, wherein the synchronizing routing forwarding table entries in the local database to each vbas forwarding device in the forwarding plane network element of the vbas based on database synchronization techniques comprises:
and synchronizing the route forwarding table item in the local database to each vBRAS forwarding device in the network element of the forwarding surface of the vBRAS by controlling a CUPS interface separated from the user surface.
5. The method according to any of claims 1-4, wherein said synchronizing said routing forwarding table entry to each vbas forwarding device in a forwarding plane network element of said vbas comprises:
when the route is updated, the vBRAS control surface network element learns the route updating information advertised by the network equipment so as to update the route forwarding table item according to the route updating information;
and synchronizing the updated routing forwarding table item to each vBRAS forwarding device in the network element of the forwarding plane of the vBRAS.
6. A route advertisement device, characterized in that the device is configured in a control plane network element of a virtual broadband access server vbas, comprising:
the relation establishing module establishes a neighbor relation with the network equipment to form a routing neighbor with the network equipment;
a route learning module for learning the network route advertised by the network device to generate a route forwarding table item according to the network route;
the route synchronization module is used for storing the route forwarding table items in a local database, and synchronizing the route forwarding table items in the local database to the databases of each vBRAS forwarding device in the forwarding surface network element of the vBRAS based on a database synchronization technology so that the vBRAS forwarding devices forward the user message to the corresponding network devices according to the route forwarding table items;
the network device is a Leaf device of a metropolitan area Spine-Leaf network, and the relationship establishing module is specifically configured to establish a neighbor relationship with the Leaf device of the Spine-Leaf network through a border gateway protocol BGP to become a BGP neighbor.
7. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs that when executed by the one or more processors cause the electronic device to implement the method of any of claims 1-5.
8. A computer readable storage medium having stored thereon computer readable instructions which, when executed by a processor of a computer, cause the computer to perform the method of any of claims 1-5.
CN202111647326.XA 2021-12-29 2021-12-29 Route notification method, device, equipment and storage medium Active CN114301823B (en)

Priority Applications (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
PCT/CN2022/127921 WO2023124480A1 (en) 2021-12-29 2022-10-27 Route advertisement method and apparatus, device, and storage medium

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN114301823A CN114301823A (en) 2022-04-08
CN114301823B true CN114301823B (en) 2024-01-02

Family

ID=80974565

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (4)

* 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
CN116016340A (en) * 2023-01-03 2023-04-25 中国电信股份有限公司 Method and device for realizing routing, storage medium and electronic equipment

Citations (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
CN110430076A (en) * 2019-07-31 2019-11-08 新华三技术有限公司合肥分公司 A kind of route management method and device
CN111193644A (en) * 2018-11-14 2020-05-22 中移(杭州)信息技术有限公司 vBRAS service transmission method, device, terminal equipment and medium
CN111464454A (en) * 2020-03-02 2020-07-28 烽火通信科技股份有限公司 Load sharing method and system for virtual BRAS (broadband remote Access Server) equipment in data center
CN111835635A (en) * 2019-04-18 2020-10-27 华为技术有限公司 Method, equipment and system for publishing route in BGP network

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10250562B1 (en) * 2015-03-31 2019-04-02 Juniper Networks, Inc. Route signaling driven service management
CN108400939B (en) * 2018-03-02 2020-08-07 赛特斯信息科技股份有限公司 System and method for realizing accelerated multicast replication in NFV (network File System)
CN108512703B (en) * 2018-03-28 2021-08-24 新华三技术有限公司 Backup method, device and equipment for BRAS transfer control separation and machine readable storage medium
CN112737946B (en) * 2019-10-14 2023-09-05 中兴通讯股份有限公司 Route advertising method, device, storage medium and system for IPv6 network
CN113329454B (en) * 2020-02-29 2023-01-06 华为技术有限公司 Method, network element, system and equipment for releasing route
CN117221024A (en) * 2020-05-12 2023-12-12 华为技术有限公司 Communication method, UP device and CP device
CN113794641B (en) * 2021-08-20 2022-10-21 新华三信息安全技术有限公司 Message processing method and device
CN114301823B (en) * 2021-12-29 2024-01-02 中国电信股份有限公司 Route notification method, device, equipment and storage medium

Patent Citations (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
CN111835635A (en) * 2019-04-18 2020-10-27 华为技术有限公司 Method, equipment and system for publishing route in BGP network
CN110430076A (en) * 2019-07-31 2019-11-08 新华三技术有限公司合肥分公司 A kind of route management method and device
CN111464454A (en) * 2020-03-02 2020-07-28 烽火通信科技股份有限公司 Load sharing method and system for virtual BRAS (broadband remote Access Server) equipment in data center

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
浙江电信以DC组网为核心的5GC云化部署实践;吕鹏;张芳;王黎明;;通信世界(33);全文 *
浙江电信物联网超大规模认证资源池项目剖析;李晶林等;《移动通信》;第43卷(第07期);第13-21页 *
面向云网一体的新型城域网演进探讨;陈运清;雷波;解云鹏;;中兴通讯技术(02);全文 *

Also Published As

Publication number Publication date
CN114301823A (en) 2022-04-08
WO2023124480A1 (en) 2023-07-06

Similar Documents

Publication Publication Date Title
CN114301823B (en) Route notification method, device, equipment and storage medium
JP4769869B2 (en) Method and router for protocol process migration
US20050169281A1 (en) Distributed router
CN106034077B (en) A kind of dynamic route collocating method, apparatus and system
US9288067B2 (en) Adjacency server for virtual private networks
US9363179B2 (en) Multi-publisher routing protocol for named data networks
JP4763791B2 (en) Optimized synchronization of MAC address tables in network interconnect devices
US7836142B2 (en) System and method for updating a dynamic domain name server
US20160173415A1 (en) Issuing method for forwarding adjacency link
EP2232773A1 (en) Group communication system using media server having distributed structure and method thereof
CN105340226B (en) The method and device thereof of the main preparation system switching of dynamic routing equipment
CN106559332B (en) Method and system for quickly establishing fully-connected server cluster
WO2013152718A1 (en) Path computation element communication protocol session establishment method and device
WO2010103781A1 (en) First relay server and second relay server
EP2991288B1 (en) Method and device for determining next hop and distributing routing information
US20150237171A1 (en) Extensible Messaging and Presence Protocol (XMPP) Based Software-Service-Defined-Network (SSDN)
CN107276846B (en) Gateway disaster tolerance method, device and storage medium
US20230119919A1 (en) Service realization using a segmented mpls control plane
CN115665026A (en) Cluster networking method and device
CN116489075A (en) Method for executing on processing circuit, network device and storage medium
JP5681123B2 (en) Communication control system, connection route setting device, power supply control device, load distribution device, and communication control method
CN109640184B (en) Fusion set top box cooperative working method and fusion set top box
CN116055393A (en) Private line communication method, device and system
CN113612812B (en) Implementation of distributed group server and data synchronization method thereof
US20200092255A1 (en) Enhanced communication of service status information in a computing environment

Legal Events

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