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

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

Info

Publication number
CN114301823A
CN114301823A CN202111647326.XA CN202111647326A CN114301823A CN 114301823 A CN114301823 A CN 114301823A CN 202111647326 A CN202111647326 A CN 202111647326A CN 114301823 A CN114301823 A CN 114301823A
Authority
CN
China
Prior art keywords
forwarding
route
network
vbras
routing
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.)
Granted
Application number
CN202111647326.XA
Other languages
Chinese (zh)
Other versions
CN114301823B (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

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

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 equipment so as to become a routing neighbor with the network equipment; learning a network route announced by the network equipment so as to generate a route forwarding table item according to the network route; synchronizing the routing forwarding table entry to each vBRAS forwarding device deployed by a 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 routing forwarding table entry, efficient learning and synchronization of routing information are realized, and message forwarding efficiency is improved; 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 route notification device, a route notification apparatus and a computer-readable storage medium.
Background
The technology of transfer control separation vBRAS (virtual Broadband Access Server) is a hotspot of metropolitan area network cloud deployment. The Control separation vBRAS comprises a Control surface (CP, Control Plane) and a Control surface (UP, User Plane), wherein the UP is divided into a special hardware forwarding surface (pUP) and a virtual forwarding surface (vUP), the CP cloud centralized deployment is adopted for improving the User bearing efficiency, the Control surface can manage a plurality of forwarding surfaces, the dispatching of users, flow and resources among the plurality of forwarding surfaces is carried out, and the utilization rate and the reliability of equipment can be greatly improved when the Control separation vBRAS is compared with a single machine.
In the related technology, the vbars routing advertisement scheme supports routing related functions for the pUP, and when a user is online, the pUP completes routing advertisement, so that the method consumes more equipment resources, has high equipment cost and is slow in routing advertisement.
Disclosure of Invention
The application aims to provide a route notification method, a route notification device, electronic equipment and a computer readable storage medium, so that efficient learning and synchronization of route information are realized, and message forwarding efficiency is improved; meanwhile, the function requirement of the forwarding equipment is simplified.
The application provides a route notification method, which is applied to a control plane network element of a virtual broadband access server vBRAS, and comprises the following steps: establishing a neighbor relation with a network device to become a routing neighbor with the network device; learning a network route advertised by the network equipment to generate a route forwarding table entry according to the network route; and synchronizing the routing forwarding table entry to each vBRAS forwarding device deployed by a 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 routing forwarding table entry.
Further, the method further comprises: and when learning the network route announced by the network equipment, announcing a user route to the network equipment according to an access user so that the network equipment generates a second forwarding table entry, and forwarding a corresponding second user message to corresponding vBRAS forwarding equipment according to the second forwarding table entry, wherein the user route is used for describing the vBRAS forwarding equipment of a next hop.
Further, the network device is a Leaf device of a metro Leaf Spine-Leaf network, and the establishing a neighbor relationship with the network device to become a routing neighbor includes: and establishing a neighbor relation with the Leaf equipment of the Spine-Leaf network through a Border Gateway Protocol (BGP) so as to form a BGP neighbor.
Further, before establishing a neighbor relation with a network device to become a routing neighbor with the network device, the method further includes: and if the fact that the BGP neighbor relation between the vBRAS forwarding equipment and the network equipment is established is determined, the vBRAS forwarding equipment is controlled to be disconnected with the network equipment.
Further, the synchronizing the routing forwarding table entry to each vbrs forwarding device in the forwarding plane network element of the vbrs includes: and storing the routing forwarding table entry in a local database, and synchronizing the routing forwarding table entry 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 the routing forwarding table entry in the local database to each vbrs forwarding device in the forwarding plane network element of the vbrs based on the database synchronization technology includes:
and synchronizing the routing forwarding table entry in the database to each vBRAS forwarding device in the forwarding plane network element of the vBRAS by controlling a CUPS interface separated from the user plane.
Further, after synchronizing the routing forwarding table entry to each vbrs forwarding device in the forwarding plane network element of the vbrs, the method includes:
when the route is updated, the vBRAS control plane network element learns the route updating information announced by the network equipment so as to update the route forwarding table entry according to the route updating information;
and synchronizing the updated routing forwarding table entry to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
The present application further provides a route notification device, configured in a control plane network element of a virtual broadband access server, including: the system comprises a relationship establishing module, a routing module and a routing module, wherein the relationship establishing module establishes a neighbor relationship with network equipment so as to become a routing neighbor with the network equipment; the route learning module learns the network route announced by the network equipment so as to generate a route forwarding table item according to the network route; and the route synchronization module synchronizes the route forwarding table entry 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 entry.
The present application further proposes an electronic device, which includes: one or more processors; storage means for storing one or more programs which, 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 the method as described above.
Compared with the prior art, the method has the following beneficial effects:
in the technical scheme provided by the application, a neighbor relation is established between a control surface network element of a virtual broadband access server vBRAS and network equipment so as to become a routing neighbor with the network equipment; learning a network route advertised by the network equipment to generate a route forwarding table entry according to the network route; synchronizing the routing forwarding table entry to each vBRAS forwarding device deployed by a forwarding plane network element of the vBRAS, so that the vBRAS forwarding device forwards the user message to corresponding network equipment according to the routing forwarding table entry; based on the control plane 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 deployment cost of the vBRAS is reduced, and the network cloud and the intellectualization are further promoted based on the further decoupling of the forwarding plane and the control plane function.
Drawings
Fig. 1 is a schematic networking diagram of a route advertisement system involved in the related art;
FIG. 2 is a schematic illustration of an implementation environment to which the present application relates;
FIG. 3 is a flow chart illustrating a method of route advertisement according to an exemplary embodiment of the present application;
fig. 4 is a flow chart 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 of another route advertisement method shown in 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 implementing an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to 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 actual execution sequence may be changed according to the actual situation.
It should also be noted that: reference to "a plurality" in this application means two or more. "and/or" describe the association relationship of the associated objects, meaning that there may be three relationships, e.g., A and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Referring to fig. 1, fig. 1 is a schematic diagram of a network of a conventional vbrs route advertisement in the related art, where a forwarding plane network element of a vbrs forwarding pool deploys a pUP pool, and each pUP in the pUP pool establishes a BGP route neighbor with two Leaf devices respectively to learn the same route. When a route is updated, each pUP needs to learn the updated route respectively and generate a forwarding table entry. The method consumes more equipment resources and is slow in route notification; the pUP forwarding plane also needs to support the related functions of the route, and the equipment cost is high.
Referring to fig. 2, fig. 2 is a schematic diagram of an implementation environment related to the present application. The implementation environment comprises a control plane network element 10 of a virtual broadband access server vBRAS, a network device 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 devices pUP301, 302, 303 and 304; the control plane network element 10 and the network device 20 communicate with each other through a wired network, and the network device 20 and the vbrs forwarding device pUP communicate with each other through a wired network;
the control plane network element 10 is configured to establish a neighbor relationship with a network device to become a routing neighbor with the network device; learning a network route announced by the network equipment, and generating a route forwarding table entry according to the network route; the route forwarding table entry is used for describing a message forwarding path; and synchronizing the routing forwarding table entry to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
And forwarding the user packet to the corresponding network device 20 by each vbrs forwarding device in the forwarding plane network element 30 of the vbrs according to the routing forwarding table entry.
The forwarding plane network element of the vBRAS is also realized by the universal server, so that the routing function is simplified; the present invention 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, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, middleware services, a domain name service, a security service, a CDN (Content Delivery Network), and the like, which is not limited herein. The vBRAS forwarding equipment of the forwarding plane network element 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 vbars shown in fig. 2, and the route advertisement method includes steps S110 to S130, which are described in detail as follows:
s110, establishing a neighbor relation with the network equipment so as to become a routing neighbor with the network equipment.
In an embodiment of the present application, a neighbor relationship is established between the control plane network element and the network device, where the network device refers to a device that can access the internet and forward a packet to the internet, and optionally, the neighbor relationship is established between the control plane network element and 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 relation with the network device, where the adjacency relation refers to a neighbor relation that can exchange link state information and routing information.
In an embodiment of the present application, the network device is a Leaf device of a metro Spine architecture (metro) Spine architecture (city-Leaf architecture) network, and the Spine-Leaf refers to a novel two-layer network connection structure; leaf, herein, refers to an endpoint or edge layer network device; spine, the core and central layer network devices, is responsible for interfacing with leaf devices. The vbars forwarding device can access the metropolitan area network through a Spine-Leaf network, and at this time, establishing a neighbor relationship with the network device includes:
the vbars control plane network element establishes a neighbor relationship with Leaf devices of a Spine-Leaf network through BGP (Border Gateway Protocol) to become a BGP neighbor.
BGP is a decentralized, autonomous routing protocol at the core of the internet. It implements reachability between Autonomous Systems (AS) by maintaining IP routing tables or prefix tables, belonging to vector routing protocols.
The process of establishing the neighbor relation with the Leaf device of the Spine-Leaf network through the BGP protocol comprises the following steps: a LOOPBACK interface (which is a virtual interface with pure software property) is adopted to send a TCP (Transmission Control Protocol) message and a peer establishes a neighbor relation of BGP, the BGP completes neighbor establishment, Route updating and other operations through message interaction, and 5 message types such as Open, Update, Notification, Keepalive, Route-refresh and the like are shared.
An Open message: the first message is sent after the TCP connection is established, and is used for establishing the connection relationship between BGP neighbors. After receiving the Open message and successfully negotiating, the Leaf device of the Spine-Leaf network confirms and maintains the validity of the connection by sending a Keepalive message. After the confirmation, the control plane network element and the Leaf device of the Spine-Leaf network can exchange the Update, Notification, Keepalive and Route-refresh messages. An Update message: for exchanging routing information between BGP neighbors. The Update message may issue multiple pieces of reachable route information with the same attribute, or may revoke multiple pieces of unreachable route information. An Update message may publish multiple reachable routes with the same route attribute, and these routes may share a set of route attributes. All routing attributes contained in a given Update message are applicable to all destinations (represented by IP prefixes) in the nlri (network Layer availability information) field in the Update message. One Update message can withdraw multiple unreachable routes. Each route passes through a destination (represented by an IP prefix), clearly defining previously advertised routes between BGP routers. An Update message may be used only to withdraw a route, so that there is no need to include a path attribute or NLRI. Conversely, the method can be used only for advertising the reachable route, and the withdrawn route information does not need to be carried. Notification message: when the control plane network element or Leaf equipment of the Spine-Leaf network detects an error state, a Notification message is sent to a neighbor, and then BGP connection is immediately interrupted. Keepalive message: the Leaf device of the control plane network element or the Spine-Leaf network periodically sends Keepalive messages to the neighbors to keep the validity of the connection.
In an embodiment of the present application, before establishing a neighbor relation with a network device to become a routing neighbor with the network device, the route advertisement method further includes:
and if the BGP neighbor relation between the vBRAS forwarding equipment and the network equipment is determined, the vBRAS forwarding equipment is controlled to be disconnected with the network equipment.
It can be understood that the control plane network element may manage a plurality of vbars 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 vbrs forwarding device to inquire whether the vbrs forwarding device establishes a BGP neighbor relationship with the network device, and after receiving the inquiry message, the vbrs forwarding device may feed back a message to the control plane network element to notify whether it establishes the BGP neighbor relationship with the network device, and further, when the control plane notifies the fed-back message to determine that the vbrs forwarding device has established the BGP neighbor relationship with the network device, may send a disconnection message to the vbrs forwarding device, so that the vbrs forwarding device is disconnected from the network device.
For example, when the vbrs forwarding device and the network device have established a BGP neighbor relationship, the control plane network element may control the vbrs forwarding device to send a Notification message to the network device, or not send a Keepalive message to the network device within a specified time, so that the vbrs forwarding device and the network device break a BGP connection.
After determining that the vBRAS forwarding equipment is disconnected with the network equipment, the control plane network element establishes a neighbor relation with the network equipment, and the vBRAS forwarding equipment does not need to establish the neighbor relation with the network equipment any more, so that a routing control function is transferred from the vBRAS forwarding equipment of the forwarding plane to the control plane network element, and transfer control separation is really realized.
S120, learning the network route announced by the network equipment, and generating a route forwarding table entry according to the network route.
In an embodiment of the present application, after the neighbor relationship is established, the network device may notify the control plane network element of a network route, where the network route may be an external network route, for example, except for the control plane network element and the network device, a third device generates a network route, and the third device sends the network route to the Leaf device, and the Leaf device notifies the control plane network element. Of course, the network route may also be generated from a Leaf device.
After the Leaf device notifies the network route to the control plane network element, the control plane network element may learn the network route to generate a route forwarding entry according to the network route. Wherein, the network route comprises a network-wide process for determining an end-to-end path from a source to a destination; it will be appreciated that a network route may contain one or more routing information.
After learning the network route, the control plane network element may generate a route forwarding entry according to a plurality of routing information of the network route, where the route forwarding entry is used to describe a network path for forwarding a packet. Optionally, the route forwarding table entry includes multiple forwarding table entries, where each forwarding table entry specifies a destination to be reached, and information such as an outgoing interface and a next hop IP address that need to be passed through, for example, a route, a network segment, a next hop, an outgoing interface, and the like. I.e. by means of which the forwarding table entry will know by what way the data is transmitted to the other end.
In an embodiment of the present application, a network device may also learn a route, and the route advertisement method provided in this embodiment further includes:
and when learning the network route announced by the network equipment, announcing the user route to the network equipment according to the access user so that the network equipment generates a second forwarding table entry, and forwarding the corresponding user message to the corresponding vBRAS forwarding equipment according to the second forwarding table entry, 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 mutually, and the user route is used to describe that the next hop is a vbars forwarding device on which the user is online; for example, as shown in fig. 2, the user route is used to describe that the next hop is the vbars forwarding device 301 on line of the user, and the generated second forwarding table entry includes the outgoing interfaces of the vbars forwarding device 301 and the Leaf device, where the next hop is the vbars forwarding device 301.
Optionally, the network route is a BGP route, after the control plane network element and the network device establish a BGP neighbor, the network device notifies the control plane network element of the BGP route, the control plane network element notifies the network device of the user route, and the network device learns the user route and generates a second forwarding entry of itself; 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 entry, and accurate forwarding of the user message is achieved.
And S130, synchronizing the routing forwarding table entry to each vBRAS forwarding device deployed by a 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 routing forwarding table entry.
In an embodiment of the present application, after the control plane network element generates the routing forwarding table entry, the routing forwarding table entry needs to be synchronized to each vbrs forwarding device deployed by the forwarding plane network element of the vbrs, so that efficient learning and synchronization of routing information can be realized, and packet forwarding efficiency is improved. Meanwhile, the functional requirement of the pUP equipment is simplified, the deployment cost of the vBRAS equipment is reduced, and the network cloud and the 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 vbars forwarding device configured to synchronize the routing forwarding table entry to the forwarding plane network element of the vbars includes:
and storing the routing forwarding table entry in a local database, and synchronizing the routing forwarding table entry in the local database to each vBRAS forwarding device in a forwarding plane network element of the vBRAS based on a database synchronization technology.
In an embodiment of the application, a database module is deployed in a control plane network element, and the database module is used for providing a database for data storage; after the route forwarding table entry is generated, the control plane network element stores the route forwarding table entry in the database, synchronizes the route forwarding table entry in the database to each vbars forwarding device through a database synchronization technology, for example, synchronizes the route forwarding table entry to the database in each vbars forwarding device through the database synchronization technology, so as to implement efficient route notification based on the database.
Alternatively, the database synchronization technology may be to implement synchronization operation between databases by means of publish-subscribe. The subscription issuing comprises two steps: 1. and (5) releasing. 2. And subscribing. Firstly, data needing synchronization is published on a control plane network element, and then the publication is subscribed on vBRAS forwarding equipment.
The database synchronization technology can also realize synchronization through SQL joba or through mysql database synchronization; the route forwarding table entry may also be issued to each vbars forwarding device, such as an Sx interface or an N4 interface, through a CUPS (Control and User Plane Separation) interface, which may implement a requirement of low delay at network millisecond level, and implement fast synchronization.
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 vbrs forwarding device in the forwarding plane network element of the vbrs, the route advertisement method provided in the embodiment of the present application further includes:
s140, when the route is updated, the route updating information announced by the network equipment is learned, so that the route forwarding table entry is updated according to the route updating information.
In an embodiment of the present application, when there is a route update, the network device may advertise route update information, where the route update information may include only updated route information, for example, when a router a is added to the network, the route update information includes updated route information of the router a; the control plane network element learns the route updating information announced by the network equipment and updates the route forwarding table according to the route updating information. For example, a new route, network segment, next hop, and egress interface are added to the updated route forwarding table entry.
In another embodiment, the route update information may also be all updated route information, for example, the network device learns 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 when learning the route update information, the control plane network element may compare with the original route to ensure the accuracy of the route information.
And S150, synchronizing the updated routing forwarding table entry to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
After the route forwarding table entry is updated, the updated route forwarding table entry is stored in the local database to replace the original route forwarding table entry, optionally, the updated route forwarding table entry 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 convenience of understanding, the present embodiment describes a route advertisement method in a specific application scenario, where the route advertisement method is implemented by a route advertisement system. The route advertisement system includes a Leaf device of a vbars network and a Spine-Leaf network, a networking schematic diagram is shown in fig. 5, and based on the route advertisement system, as shown in fig. 6, the route advertisement method includes:
and S610, initializing the system, and deploying the vBRAS in a transfer control separation mode.
The CP clouding and deploying a routing function module and a database module, and the pUP becomes a pool and simplifies the routing function;
s620, the CP establishes a BGP neighbor relation with Leaf equipment of the Spine-Leaf network.
Optionally, the CP uses an LOOPBACK interface to send the TCP packet and the Leaf device to establish a BGP neighbor relationship.
After establishing a BGP neighbor relation, the Leaf device advertises an external BGP route to the CP, wherein the external BGP route is obtained by learning the route advertised by the neighbor device by the Leaf device;
the CP notifies the Leaf device of the user route, specifically, when the user dials online, the CP allocates a network segment to the pUP, the pUP generates the user route, and the CP notifies the Leaf device of the user route, that is, notifies the LOOPBACK address of which the next hop is pUP.
S630, CP generates route forwarding table based on learned BGP route, and stores the table in database;
when the CP learns a plurality of BGP routes (paths) which are destined for the same destination network, the CP loads all the routes into a BGP route table, carries out route optimization in the entries according to a BGP route optimization rule, finally decides an optimal (Best) route destined for the network, thus decides an optimal plurality of routes destined for different networks, 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 to the BGP route 1 to the internet 1, and the Leaf device 2 advertises to the BGP route 2 to the internet 1, and the path to the internet 1 is preferably BGP1, a route forwarding entry is generated based on BGP 1.
Of course, when the Leaf device also learns the user route advertised by the CP, a route forwarding table entry is also generated.
S640, the CP rapidly synchronizes the route forwarding table item information to each pUP device through the CU separation interface;
and the CP informs the CU separation interface to quickly synchronize the routing forwarding table entries in the database to each pUP device.
S650, the pUP forwards the user message to the corresponding Leaf device according to the forwarding table.
The pUP receives a user message sent by a user, and if the user message needs to be sent to the Internet 1, the pUP forwards the user message to the Leaf device 1 according to the routing forwarding table entry, and then the Leaf device 1 forwards the user message to the Internet 1.
Certainly, after the Leaf device generates the route forwarding table entry, if a user packet from the internet is received, the Leaf device forwards the user packet to the corresponding pUP device according to its own forwarding table.
S660, when the route is updated, the Leaf device and the CP announce the updated route information.
When a route is updated, 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 then the CP learns the added route information and updates the route forwarding table entry, and then synchronizes the updated route forwarding table entry to each pUP device.
The route notification method provided in this embodiment is directed to the problem that currently, each of the pucps needs to establish a BGP neighbor with an external network and learn that the same route consumes network resources, and establishes the BGP neighbor with the external network through the CP and notifies the route to generate a route forwarding table, and issues route forwarding table information to each of the pucp devices based on a database synchronization manner. Each pUP device does not need to learn the route, the route is quickly learned based on the CP, and the forwarding table is sent to the pUP, so that the message forwarding efficiency is improved; meanwhile, the functional requirements of the pUP equipment are simplified, the route notification process is simplified, and the message forwarding efficiency is improved; the method simplifies the functional requirements of the pUP equipment, reduces the equipment cost, and can solve the problem that equipment resources are consumed when BGP neighbors are established between each pUP and Leaf equipment in the vBRAS to learn the same route; meanwhile, the routing control function is transferred from the pUP to the CP, so that transfer control separation is really realized, the programmability of the network is further improved, and the network cloud and intelligent processes are promoted.
The following describes embodiments of an apparatus of the present application, which may be used to perform the route advertisement method in the above embodiments of the present application. For details that are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the route advertisement method described above 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 in a control plane network element of a virtual broadband access server vbars, and includes:
the relationship establishing module 710 establishes a neighbor relationship with the network device to become a routing neighbor with the network device;
a route learning module 720, which learns the network route advertised by the network device to generate a route forwarding table according to the network route;
the route synchronization module 730 synchronizes the route forwarding table entry to each vbars forwarding device deployed by the forwarding plane network element of the vbars, so that the vbars forwarding device forwards the user packet to the corresponding network device according to the route forwarding table entry.
In some embodiments of the present application, based on the foregoing scheme, the route notification device further includes a notification module, where the notification module is specifically configured to notify, while learning a network route notified by the network device, a user route to the network device according to an access user, so that the network device generates a second forwarding table entry, and forwards a corresponding second user packet to a corresponding vbars forwarding device according to the second forwarding table entry, where the user route is used to describe a vbars 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 Leaf Spine, and the relationship establishing module 710 is specifically configured to establish a neighbor relationship between the border gateway protocol BGP and the Leaf device of the Spine-Leaf network, so as to become a BGP neighbor.
In some embodiments of the present application, based on the foregoing scheme, the route advertisement device further includes a route control module, and before establishing a neighbor relationship with the network device to become a routing neighbor with the network device, the route control module is configured to control the vbrs forwarding device to disconnect from the network device if it is determined that the vbrs forwarding device has established a BGP neighbor relationship with the network device.
In some embodiments of the present application, based on the foregoing scheme, the route synchronization module 730 is specifically configured to synchronize the route forwarding table entry to each forwarding device in the forwarding plane network element of the vbars, and includes: and storing the routing forwarding table entry in a local database, and synchronizing the routing forwarding table entry in the local database to each vBRAS forwarding device in a 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, by controlling a CUPS interface separated from a user plane, a route forwarding entry in the database to each vbars forwarding device in a forwarding plane network element of a vbars.
In some embodiments of the present application, based on the foregoing solution, the route notification apparatus further includes a route update module, where the route update module is configured to, when the route is updated, learn, by the vbrs control plane network element, route update information notified by the network device, so as to update the route forwarding table entry according to the route update information; and synchronizing the updated routing forwarding table entry to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
It should be noted that the apparatus provided in the foregoing embodiment and the method provided in the foregoing embodiment belong to the same concept, and the specific manner in which each module and unit execute operations has been described in detail in the method embodiment, and is not described again here.
The device provided by this embodiment establishes a neighbor relationship between the control plane network element and the network device, learns routes from each other, stores the generated route forwarding table in the database, and then issues the route forwarding table to each vbars forwarding device by using a database synchronization technology, thereby implementing table synchronization. The routing is quickly learned and the routing forwarding table is synchronously issued to each vBRAS forwarding device based on the control surface network element, so that efficient learning and synchronization of routing information can be realized, the message forwarding efficiency is improved, the functional requirements of the vBRAS forwarding devices are simplified, the deployment cost of the vBRAS devices is reduced, and the network cloud and the intellectualization are further promoted based on the further decoupling of the forwarding surface and the control surface function.
In an exemplary embodiment, an electronic device includes one or more processors; storage means for storing one or more programs which, 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 in a control plane network element of the vbars, 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 only an example adapted to the application and should not be considered as providing any limitation to the scope of use of the application. The electronic device is also not to be construed as requiring reliance on, or necessity of, one or more components of the exemplary electronic device illustrated 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 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 all necessary, and the electronic device may add other components or reduce some components according to its own functional requirements, 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. The processing components 801 may include one or more processors 806 to execute instructions to perform all or a portion of the above-described operations. Further, the processing component 801 may include one or more modules that facilitate interaction between the 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.
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 stores 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 supplies, and other components associated with generating, managing, and distributing power for an electronic device.
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 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect 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 voice recognition mode. In some embodiments, the audio component 805 also includes a speaker for outputting audio signals.
The sensor assembly 807 includes one or more sensors for providing various aspects of status assessment for the electronic device. For example, the sensor assembly 807 may detect an open/closed state of the electronic device, and may also detect a 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).
It will be appreciated 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 the method as described above. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist separately without being incorporated in the electronic device.
It should be noted that the computer readable storage medium shown in the embodiments of the present application may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. 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 (EPROM), a 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 present application, 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 invention 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 invention pertains.
The above description is only 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 can easily 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 (10)

1. A route advertisement method, applied to a control plane network element of a virtual broadband access server, vbars, the method comprising:
establishing a neighbor relation with a network device to become a routing neighbor with the network device;
learning a network route advertised by the network equipment to generate a route forwarding table entry according to the network route;
and synchronizing the routing forwarding table entry to each vBRAS forwarding device deployed by a 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 routing forwarding table entry.
2. The method of claim 1, further comprising:
and when learning the network route announced by the network equipment, announcing a user route to the network equipment according to an access user so that the network equipment generates a second forwarding table entry, and forwarding a corresponding second user message to corresponding vBRAS forwarding equipment according to the second forwarding table entry, wherein the user route is used for describing the vBRAS forwarding equipment of a next hop.
3. The method according to claim 1, wherein the network device is a Leaf device of a metro Leaf Spine-Leaf network, and the establishing a neighbor relationship with the network device to become a routing neighbor comprises:
and establishing a neighbor relation with the Leaf equipment of the Spine-Leaf network through a Border Gateway Protocol (BGP) so as to form a BGP neighbor.
4. The method of claim 3, wherein before establishing a neighbor relation with a network device to become a routing neighbor with the network device, the method further comprises:
and if the fact that the BGP neighbor relation between the vBRAS forwarding equipment and the network equipment is established is determined, the vBRAS forwarding equipment is controlled to be disconnected with the network equipment.
5. The method of claim 1, wherein the synchronizing the routing forwarding table entry to each vbars forwarding device in the vbars' forwarding plane network element comprises:
and storing the routing forwarding table entry in a local database, and synchronizing the routing forwarding table entry 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. The method of claim 5, wherein the synchronizing the routing forwarding entries in the local database to the respective vBRAS forwarding devices in the forwarding plane network element of the vBRAS based on the database synchronization technique comprises:
and synchronizing the routing forwarding table entry in the local database to each vBRAS forwarding device in the forwarding plane network element of the vBRAS by controlling a CUPS interface separated from the user plane.
7. The method according to any of claims 1-6, wherein after synchronizing the routing forwarding table entry to each vBRAS forwarding device in a forwarding plane network element of the vBRAS, the method comprises:
when the route is updated, the vBRAS control plane network element learns the route updating information announced by the network equipment so as to update the route forwarding table entry according to the route updating information;
and synchronizing the updated routing forwarding table entry to each vBRAS forwarding device in the forwarding plane network element of the vBRAS.
8. A route advertisement device, wherein the device is configured in a control plane network element of a virtual broadband access server, vbars, and comprises:
the system comprises a relationship establishing module, a routing module and a routing module, wherein the relationship establishing module establishes a neighbor relationship with network equipment so as to become a routing neighbor with the network equipment;
the route learning module learns the network route announced by the network equipment so as to generate a route forwarding table item according to the network route;
and the route synchronization module synchronizes the route forwarding table entry 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 entry.
9. 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-7.
10. A computer-readable storage medium having computer-readable instructions stored thereon, which, when executed by a processor of a computer, cause the computer to perform the method of any one of claims 1-7.
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 true CN114301823A (en) 2022-04-08
CN114301823B 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)

Cited By (3)

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

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云化部署实践", 通信世界, no. 33 *
李晶林等: "浙江电信物联网超大规模认证资源池项目剖析", 《移动通信》, vol. 43, no. 07, pages 13 - 21 *
陈运清;雷波;解云鹏;: "面向云网一体的新型城域网演进探讨", 中兴通讯技术, no. 02 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023124480A1 (en) * 2021-12-29 2023-07-06 中国电信股份有限公司 Route advertisement method and apparatus, device, and storage medium
CN115002016A (en) * 2022-05-17 2022-09-02 阿里云计算有限公司 Message processing system, method, device 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

Also Published As

Publication number Publication date
CN114301823B (en) 2024-01-02
WO2023124480A1 (en) 2023-07-06

Similar Documents

Publication Publication Date Title
CN114301823B (en) Route notification method, device, equipment and storage medium
EP1905203B1 (en) Router and method for protocol process migration
EP1093262B1 (en) Method, computer program and apparatus to maintain timely topology data within a link state routing network
JP4763791B2 (en) Optimized synchronization of MAC address tables in network interconnect devices
US20160173415A1 (en) Issuing method for forwarding adjacency link
US20050169281A1 (en) Distributed router
US7836142B2 (en) System and method for updating a dynamic domain name server
CN103716281B (en) control method, electronic device and server
US20080225699A1 (en) Router and method of supporting nonstop packet forwarding on system redundant network
US9288067B2 (en) Adjacency server for virtual private networks
WO2009082041A1 (en) Group communication system using media server having distributed structure and method thereof
US7860027B2 (en) Extending an IP everywhere network over a plurality of flooding domains
CN105340226A (en) Primary and secondary system handover method for dynamic route device, and apparatus thereof
CN107276846B (en) Gateway disaster tolerance method, device and storage medium
EP2991288B1 (en) Method and device for determining next hop and distributing routing information
CN112995027B (en) Route publishing method and VTEP node
CN101924684A (en) Routing processing method and system as well as router
CN114125827B (en) Terminal management method, device and centralized management system
CN114172762B (en) Communication method, device, system and readable storage medium
CN115665026A (en) Cluster networking method and device
CN115314356A (en) OVN-based cross-region distributed SDN control device and method
CN116055393A (en) Private line communication method, device and system
US10938590B2 (en) Synchronizing multi-homed network elements for multicast traffic
CN113612812B (en) Implementation of distributed group server and data synchronization method thereof
CN106878051B (en) Multi-machine backup implementation method and device

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