CN114268583A - Dual-stack backbone network management method and device based on SDN, and electronic equipment - Google Patents

Dual-stack backbone network management method and device based on SDN, and electronic equipment Download PDF

Info

Publication number
CN114268583A
CN114268583A CN202111422347.1A CN202111422347A CN114268583A CN 114268583 A CN114268583 A CN 114268583A CN 202111422347 A CN202111422347 A CN 202111422347A CN 114268583 A CN114268583 A CN 114268583A
Authority
CN
China
Prior art keywords
link
service
bgp
state
updated
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
CN202111422347.1A
Other languages
Chinese (zh)
Other versions
CN114268583B (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.)
Network Communication and Security Zijinshan Laboratory
Original Assignee
Network Communication and Security Zijinshan Laboratory
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 Network Communication and Security Zijinshan Laboratory filed Critical Network Communication and Security Zijinshan Laboratory
Priority to CN202111422347.1A priority Critical patent/CN114268583B/en
Publication of CN114268583A publication Critical patent/CN114268583A/en
Application granted granted Critical
Publication of CN114268583B publication Critical patent/CN114268583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a double-stack backbone network management method and device based on an SDN (software defined network), and electronic equipment, and relates to the technical field of network management. The SDN-based dual-stack backbone network management method comprises the following steps: judging the address type of the BGP-LS link route; obtaining an updated topology according to the address type of the BGP-LS link route; and completing service forwarding based on the updated topology and the service requirement information. The invention provides a dual-stack backbone network management method, a dual-stack backbone network management device and electronic equipment based on an SDN (software defined network). under the condition that a backbone bearing network is in a hybrid networking state, BGP-LS link routes can be classified by judging the address types of the BGP-LS link routes, then updated topologies of corresponding types are obtained, then a service forwarding path meeting service requirement conditions can be rapidly calculated based on the updated topologies and service requirement information, and then service forwarding can be flexibly, rapidly and accurately completed.

Description

Dual-stack backbone network management method and device based on SDN, and electronic equipment
Technical Field
The present invention relates to the field of network management technologies, and in particular, to a dual-stack backbone network management method and apparatus based on an SDN, an electronic device, a non-transitory computer-readable storage medium, and a computer program product.
Background
With the rapid development of the mobile Internet, the development of IPv6(Internet Protocol version 6) is gradually rapid, the rapid development of 5G, IOT and cloud services requires more IP addresses, the IPv6 of the terminal and OTT vendor is accelerating, and more services are forwarded based on IPv6, so that it becomes necessary for the backbone bearer network to support IPv 6. However, the original service running on the backbone bearer network needs to continue to use IPv4(Internet Protocol version 4) to implement forwarding, and a lengthy process is required to upgrade all services to IPv6, and the existing backbone bearer network is not in a state of hybrid networking (for example, IPv4 and IPv6 coexist) for a long time.
The development of the internet to date, the network pipelining of operators has become a great trend, the service-driven network has become a consensus in the industry, and the operators are bound to go out when implementing refined flow management. In order to implement refined traffic management, an operator needs to provide an intelligent pipeline, so that a user can recognize the intelligent pipeline, traffic can be guided, and a service can be perceived, and therefore an overlay network (overlay network) needs to be managed more flexibly, so that the capability of rapidly and accurately opening an end-to-end service can be achieved.
Disclosure of Invention
The invention provides a double-stack backbone network management method based on an SDN (software defined network), which is used for solving the technical problem that the service is required to be quickly and correctly forwarded when a backbone bearing network is in a mixed networking state.
The invention provides a dual-stack backbone network management method based on an SDN (software defined network), which comprises the following steps:
judging the address type of the BGP-LS link route;
obtaining an updated topology according to the address type of the BGP-LS link route;
and completing service forwarding based on the updated topology and the service requirement information.
According to the SDN-based dual-stack backbone network management method provided by the invention, the judging of the address type of the BGP-LS link route comprises the following steps:
analyzing the BGP-LS link route to obtain link source port IP information and link destination port IP information;
and obtaining the address type of the BGP-LS link route based on the IP information of the link source port and the IP information of the link destination port.
According to the dual-stack backbone network management method based on the SDN provided by the invention, the address types of the BGP-LS link routing comprise an IPv4 address type and an IPv6 address type, and the updating topology is obtained according to the address type of the BGP-LS link routing state routing, and the method comprises the following steps:
when the address type of the BGP-LS link route is the IPv4 address type, obtaining L3 v4 updated topology based on a first definition condition;
and when the address type of the BGP-LS link route is the IPv6 address type, obtaining L3 v6 to update the topology based on a second defined condition.
According to the dual-stack backbone network management method based on the SDN provided by the invention, the service demand information comprises service delay demand information, service bandwidth demand information, service bearing tunnel type demand information and service configuration demand information, the service forwarding is completed based on the updated topology and the service demand information, and the method comprises the following steps:
obtaining segment identifier information based on the service delay requirement information and the service bandwidth requirement information;
and completing service forwarding based on the segment identifier information, the service bearing tunnel type requirement information and the service configuration requirement information.
According to the dual-stack backbone network management method based on the SDN provided by the invention, the service bearing tunnel type requirement information comprises one of the following items: sr-te service bearing tunnel type requirement information and srv6-policy service bearing tunnel type requirement information.
According to the dual-stack backbone network management method based on the SDN provided by the invention, the method further comprises the following steps:
and updating the link state of the link database based on the comparison between the updated topology and the link database.
According to the dual-stack backbone network management method based on the SDN provided by the present invention, the updating the link state of the link database based on the comparison between the updated topology and the link database includes:
updating the link state of the link database to an up state when a new link exists in the updated topology, the new link does not exist in the link database, and a reverse link of the new link exists in the updated topology;
not updating link state when a new link exists in the updated topology, the new link does not exist in the link database, and a reverse link of the new link does not exist in the updated topology;
when a new link exists in the updated topology and the new link also exists in the link database, and the link state of the new link in the link database is not in the up state, and a reverse link of the new link exists in the updated topology, the updated link state is in the up state;
when a new link exists in the updated topology and the new link also exists in the link database, the link state of the new link in the link database is in an up state, and the reverse link of the new link exists in the updated topology, the link state is not updated;
when a new link exists in the updated topology and the new link also exists in the link database, the link state of the new link in the link database is an up state, and the reverse link of the new link does not exist in the updated topology, the updated link state is a down state;
and when the link database is stored in a new link and the new link does not exist in the updated topology, the updated link state is a down state.
The invention also provides a dual-stack backbone network management device based on the SDN, which comprises:
the address type judging module is used for judging the address type of the BGP-LS link route;
the updating topology obtaining module is used for obtaining an updating topology according to the address type of the BGP-LS link route;
and the service forwarding module is used for finishing service forwarding based on the updated topology and the service requirement information.
The present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the processor implements the steps of the SDN-based dual-stack backbone management method according to any one of the above.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the SDN based dual stack backbone management method as described in any of the above.
The present invention also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the SDN based dual stack backbone management method as described in any of the above.
According to the SDN-based dual-stack backbone network management method, device and electronic equipment, when a backbone bearing network is in a mixed networking state, the BGP-LS link routes can be classified by judging the address types of the BGP-LS link routes, then the corresponding types of updated topologies are obtained, then the service forwarding paths meeting service requirement conditions can be rapidly calculated based on the updated topologies and service requirement information, and then service forwarding is flexibly, rapidly and accurately completed.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a dual-stack backbone management method based on SDN according to the present invention;
fig. 2 illustrates a definition of an IPv4 link structure, which may constitute a first defined condition in the SDN-based dual stack backbone management method provided by the present invention;
fig. 3 illustrates the definition of an IPv6 link structure, which may constitute a second definition condition in the SDN-based dual stack backbone management method provided by the present invention;
figure 4 is a block diagram of a dual stack backbone management system based on SDN provided by the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flowchart of a dual-stack backbone management method based on an SDN according to an embodiment of the present invention.
Referring to fig. 1, a dual-stack backbone management method based on an SDN according to an embodiment of the present invention may include the following steps:
s110, judging the address type of the BGP-LS link route;
s120, obtaining an updated topology according to the address type of the BGP-LS link route;
s130, service forwarding is completed based on the updated topology and the service requirement information.
It should be noted that BGP is a routing protocol between autonomous systems, and network reachability information exchanged by BGP provides sufficient information to detect routing loops and make decisions on routes according to performance priorities and policy constraints.
It should be noted that an execution subject of the dual-stack backbone management method based on the SDN provided by the embodiment of the present invention may be a network-side device, such as an SDN controller.
Before the network side device performs step S110, the network side device performs step S100:
BGP-LS link routes are obtained.
Specifically, a BGP-LS spoke, which establishes a neighbor relationship with a BGP link state address family with the network side device, may send a BGP link state route to the network side device, and then convert the BGP link state route into a link structure pre-stored by the network side device, to obtain a BGP-LS link route.
In step S110, the network-side device determines the address type of the BGP-LS link route.
When the network side equipment faces that the backbone bearer network is in a hybrid networking state, the network side equipment judges the address types of a plurality of BGP-LS link routes, for example, the hybrid networking may include two network protocols of IPv4 and IPv6, BGP-LS link routes corresponding to the two types can be judged, and the classification of the plurality of BGP-LS link routes can facilitate the flexible processing of the BGP-LS link routes in subsequent steps.
In step S120, the network side device obtains an updated topology according to the address type of the BGP-LS link route.
In one embodiment, the address types of the BGP-LS link routes include an IPv4 address type and an IPv6 address type.
For example, when the address type of the BGP-LS link route is the IPv4 address type, the network side device may obtain L3 v4 updated topology, and when the address type of the BGP-LS link route is the IPv6 address type, the network side device may obtain L3 v6 updated topology.
And the network side equipment obtains different updating topologies according to the address types of different BGP-LS link routes, and can provide more refined information for subsequent steps. Furthermore, the network side device can support BGP-LS link routing for handling different address types through step S120, which makes it more flexible.
In step S130, the network side device will complete service forwarding based on the updated topology and the service requirement information.
The service requirement information may be preset by the user.
In an embodiment, the service requirement information includes service delay requirement information, service bandwidth requirement information, service bearer tunnel type requirement information, and service configuration requirement information.
Specifically, the traffic bearer tunnel type requirement information may include one of the following items: the sr-te service carries the type requirement information of the tunnel, and the srv6-policy service carries the type requirement information of the tunnel; the service configuration requirement information may include at least one of: vpn access point information, access routing information, vpn drainage mode information, and bgp configuration information.
The network side device can quickly calculate a service forwarding path meeting a service requirement condition (for example, meeting the type of a certain service bearer tunnel, the service delay requirement, the service bandwidth requirement and other service configuration requirements) according to the updated topology and the service requirement information, and then flexibly, quickly and accurately complete service forwarding.
According to the SDN-based dual-stack backbone network management method, when a backbone bearing network is in a mixed networking state, BGP-LS link routes can be classified by judging the address types of the BGP-LS link routes, then the updated topology of the corresponding type is obtained, then the service forwarding path meeting the service requirement condition can be rapidly calculated based on the updated topology and the service requirement information, and then the service forwarding is flexibly, rapidly and accurately completed.
In one embodiment, the determining the address type of the BGP-LS link route includes:
analyzing the BGP-LS link route to obtain link source port IP information and link destination port IP information;
and obtaining the address type of the BGP-LS link route based on the IP information of the link source port and the IP information of the link destination port.
When the network side device analyzes the BGP-LS link route, link source port IP information, link destination port IP information, source node id information, destination node id information, time delay information and the like are obtained, and according to the link source port IP information and the link destination port IP information, the address type of the BGP-LS link route can be rapidly judged, such as the IPv4 address type or the IPv6 address type.
In an embodiment, the address types of the BGP-LS link route include an IPv4 address type and an IPv6 address type, and obtaining the updated topology according to the address type of the BGP-LS link route status route includes:
when the address type of the BGP-LS link route is the IPv4 address type, obtaining L3 v4 updated topology based on a first definition condition;
and when the address type of the BGP-LS link route is the IPv6 address type, obtaining L3 v6 to update the topology based on a second defined condition.
Specifically, referring to fig. 2, fig. 2 illustrates a definition of an IPv4 link structure, which may constitute a first definition condition. When the address type of the BGP-LS link route is the IPv4 address type, the network side equipment generates a link instance from the link information according to a first defined condition, and then obtains L3 v4 to update the topology.
Referring to fig. 3, fig. 3 illustrates the definition of the IPv6 link structure, which may constitute a second definition condition. When the address type of the BGP-LS link route is the IPv6 address type, the network side equipment generates a link instance according to the link information under a second defined condition, and then obtains L3 v6 to update the topology.
The network side equipment can flexibly process BGP-LS link routes with different address types, obtain different updating topologies according to the address types of the BGP-LS link routes, and can provide more refined information for subsequent steps.
In one embodiment, the service requirement information includes service delay requirement information, service bandwidth requirement information, service bearer tunnel type requirement information, and service configuration requirement information, and the completing service forwarding based on the updated topology and the service requirement information includes:
obtaining segment identifier information based on the service delay requirement information and the service bandwidth requirement information;
and completing service forwarding based on the segment identifier information, the service bearing tunnel type requirement information and the service configuration requirement information.
It should be noted that the segment identifier information may be an sid (segment id) list, where the sid list includes path information for forwarding the service.
The network side equipment firstly mirrors the updated topology out of the computational route topology, synchronizes the link time delay and updates the link attribute, then calculates the optimal forwarding path meeting the conditions according to the service time delay requirement information and the service bandwidth requirement information to generate a sid list, then combines the service bearing tunnel type requirement information (sr-te service bearing tunnel type requirement information or srv6-policy service bearing tunnel type requirement information) to send the message for creating the sr-te service bearing tunnel or the srv6-policy service bearing tunnel (when the message for creating the sr-te service bearing tunnel is sent, the message comprises the information of the tunnel interface and the sid list; when the message for creating the srv6-policy service bearing tunnel is sent, the message comprises an srv6-policy entity, a candidate path and a sid list), and then combines the service configuration requirement information (comprising vpn access point information, link time delay and service bandwidth requirement information), Access routing information, vpn drainage mode information, and bgp information) to complete the forwarding of the service quickly and accurately.
In one embodiment, the SDN-based dual stack backbone management method further includes:
and updating the link state of the link database based on the comparison between the updated topology and the link database.
For example, the link database may be a database that is preset in the network-side device.
The updated topology is compared with original data of the link database, and a new link can be found according to the difference between the updated topology and the data in the link database, so that the link state of the link database is updated, and the SDN-based dual-stack backbone network management method provided by the embodiment of the application can be more flexibly executed by network side equipment.
In one embodiment, the updating the link state of the link database based on the comparison of the updated topology and the link database includes:
updating the link state of the link database to an up state when a new link exists in the updated topology, the new link does not exist in the link database, and a reverse link of the new link exists in the updated topology;
not updating link state when a new link exists in the updated topology, the new link does not exist in the link database, and a reverse link of the new link does not exist in the updated topology;
when a new link exists in the updated topology and the new link also exists in the link database, and the link state of the new link in the link database is not in the up state, and a reverse link of the new link exists in the updated topology, the updated link state is in the up state;
when a new link exists in the updated topology and the new link also exists in the link database, the link state of the new link in the link database is in an up state, and the reverse link of the new link exists in the updated topology, the link state is not updated;
when a new link exists in the updated topology and the new link also exists in the link database, the link state of the new link in the link database is an up state, and the reverse link of the new link does not exist in the updated topology, the updated link state is a down state;
and when the link database is stored in a new link and the new link does not exist in the updated topology, the updated link state is a down state.
It should be noted that the up state refers to link up and may indicate that the link is connected, and the down state refers to link down and may indicate that the link is temporarily disconnected.
The updated topology is compared with original data in a link database, a new link can be found, and whether the new link is established or not is judged according to whether a reverse link exists in the new link, so that the link state of the link database is selectively updated according to different conditions, the accuracy of the data in the link database can be ensured, and the SDN-based dual-stack backbone network management method provided by the embodiment of the application can be better executed by network side equipment.
It should be noted that an execution subject of the SDN-based dual-stack backbone management method provided by the embodiment of the present invention may cooperate with other devices to form an SDN-based dual-stack backbone management system, so as to implement forwarding of services, where the other devices may be, for example, a P device, a PE device, and a BGP-LS spoke (BGP speaker) device.
The P device may be a router, a switch, a white box, or the like, which supports an IGP protocol isis or ospf, supports the capability of forwarding an IPv4 message and an IPv6 message, supports a BGP protocol, supports netconf and a telemetering protocol, and may send data such as link delay, packet loss rate, and traffic to a network side device (SDN controller) through the telemetering protocol.
The PE device may be a router, a switch, a white box, or the like, which supports an IGP protocol isis or ospf, supports the capability of forwarding an IPv4 message and an IPv6 message, supports a BGP protocol, supports SRv6, supports netconf and a telemetering protocol, and may send data such as link delay, packet loss rate, and traffic to a network side device (SDN controller) through the telemetering protocol.
A BGP-LS spreader device, which may be a P device or PE device as described above, is responsible for collecting the topology within IGP and sending it to the neighbors of the BGP link-state address family via BGP link-state routes.
A network side device (SDN controller) executing the dual-stack backbone management method based on the SDN according to the embodiment of the present invention establishes a neighbor relationship of a BGP link-state address family with a BGP-LS streamer, and is responsible for device admission, topology collection, service forwarding, and system monitoring of a P device and a PE device, supports a BGP protocol, and supports a netconf client function.
It should be noted that before the network side device executes the dual-stack backbone management method based on the SDN provided by the embodiment of the present invention, the network side device, the P device, the PE device, and a BGP-LS speaker device need to be configured.
For example, it is necessary to initialize network side devices, P devices, PE devices, and BGP-LS spaker devices, and configure IGP neighbors for PE devices and P devices according to network planning, where each device enables an IGP capability of advertising an IPv6 link attribute, and the IGP does not advertise an IPv6 link attribute but only advertises an IPv4 link attribute in a default case.
Specifically, the initialization process may include:
according to networking planning, configuring an interface and a network address for PE equipment and P equipment, wherein the interface can be configured with an IPv4 address and an IPv6 address simultaneously or can be configured with one of an IPv4 address or an IPv6 address independently, and the configuration can be carried out according to actual requirements;
the IGP protocol capability of the interface with configured IP address is enabled for PE equipment and P equipment, the existing IGP can simultaneously support IPv4 and IPv6 multi-topology capability, if the equipment needs to establish IPv4 and IPv6 IGP neighbors simultaneously through the same interface, the IGP examples of IPv4 and IPv6 need to be bound simultaneously, otherwise, the IGP examples of IPv4 or IPv6 are bound respectively according to the networking;
the ability to advertise IPv6 link attributes is enabled for devices that need to establish IPv6 IGP neighbors;
configuring timing link detection for P equipment, PE equipment and BGP-LS spreader equipment, and periodically synchronizing the performance information of a link with network side equipment (SDN controller); BGP vpnv4 and Evpn neighbors among PEs are configured, a vpnv4 address family uses IPv4 addresses to establish links, and an Evpn address family uses IPv6 addresses to establish links.
In another aspect, establishing a neighbor relation of a BGP link-state address family between a network side device (SDN controller) and a BGP-LS spoke may be implemented by:
configuring BGP neighbors of a BGP-LS spreader, wherein the neighbor type is IBGP, the link establishment address is an address of network side equipment, and a link-state address family is enabled;
configuring BGP neighbors of network side equipment, wherein the neighbor type is IBGP, the link establishment address is an address of BGP-LS spaker, and a link-state address family is enabled;
the BGP-LS maker configuration enables the IGP to advertise the ability of link-state routes.
After the network side device, the P device, the PE device, and the BGP-LS speaker device are configured, the network side device may cooperate with the P device, the PE device, and the BGP-LS speaker device to implement forwarding of a service.
The SDN-based dual-stack backbone management device, the electronic device, the non-transitory computer-readable storage medium, and the computer program product provided in the present invention are described below, and the SDN-based dual-stack backbone management device, the electronic device, the non-transitory computer-readable storage medium, and the computer program product described below and the SDN-based dual-stack backbone management method described above may be referred to in correspondence.
Referring to fig. 4, an SDN-based dual stack backbone management apparatus according to an embodiment of the present invention may include:
an address type determining module 410, configured to determine an address type of a BGP-LS link route;
an update topology obtaining module 420, configured to obtain an update topology according to the address type of the BGP-LS link route;
and a service forwarding module 430, configured to complete service forwarding based on the updated topology and the service requirement information.
In one embodiment, the address type determining module 410 includes:
the BGP-LS link route analyzing submodule is used for analyzing the BGP-LS link route to obtain link source port IP information and link destination port IP information;
and the address type obtaining submodule is used for obtaining the address type of the BGP-LS link route based on the IP information of the link source port and the IP information of the link destination port.
In one embodiment, the address types of the BGP-LS link routes include an IPv4 address type and an IPv6 address type, and the update topology obtaining module 420 includes:
an L3 v4 updating topology obtaining submodule, configured to obtain an L3 v4 updating topology based on a first definition condition when an address type of the BGP-LS link route is an IPv4 address type;
and the L3 v6 updating topology obtaining submodule is used for obtaining L3 v6 updating topology based on a second defined condition when the address type of the BGP-LS link route is the IPv6 address type.
In an embodiment, the service requirement information includes service delay requirement information, service bandwidth requirement information, service bearer tunnel type requirement information, and service configuration requirement information, and the service forwarding module 430 includes:
a segment identifier information obtaining submodule, configured to obtain segment identifier information based on the service delay requirement information and the service bandwidth requirement information;
and the service forwarding submodule is used for completing service forwarding based on the segmented identifier information, the service bearing tunnel type requirement information and the service configuration requirement information.
In one embodiment, the traffic bearer tunnel type requirement information includes one of the following: sr-te service bearing tunnel type requirement information and srv6-policy service bearing tunnel type requirement information.
In one embodiment, the SDN based dual stack backbone management apparatus further comprises:
and the link state updating module is used for updating the link state of the link database based on the comparison between the updated topology and the link database.
In one embodiment, the link state update module comprises:
a first updating submodule, configured to update a link state of the link database to an up state when a new link exists in the updated topology, the new link does not exist in the link database, and a reverse link of the new link exists in the updated topology;
a second update submodule for not updating a link state when a new link exists in the updated topology, the new link does not exist in the link database, and a reverse link of the new link does not exist in the updated topology;
a third updating submodule, configured to update the link status to the up status when a new link exists in the updated topology, the new link also exists in the link database, and the link status of the new link in the link database is not in the up status, and a reverse link of the new link exists in the updated topology;
a fourth updating submodule, configured to not update the link state when a new link exists in the updated topology, the new link also exists in the link database, and the link state of the new link in the link database is an up state, and a reverse link of the new link exists in the updated topology;
a fifth updating submodule, configured to update the link state to be a down state when a new link exists in the updated topology and the new link also exists in the link database, and a link state of the new link in the link database is an up state and a reverse link of the new link does not exist in the updated topology;
and the sixth updating submodule is used for updating the link state into a down state when the link database is stored in a new link and the new link does not exist in the updated topology.
Fig. 5 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 5: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may invoke logic instructions in the memory 830 to perform a SDN based dual stack backbone management method comprising:
judging the address type of the BGP-LS link route;
obtaining an updated topology according to the address type of the BGP-LS link route;
and completing service forwarding based on the updated topology and the service requirement information.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention further provides a computer program product, where the computer program product includes a computer program, the computer program may be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, a computer is capable of executing the SDN-based dual-stack backbone management method provided by the above methods, the method includes:
judging the address type of the BGP-LS link route;
obtaining an updated topology according to the address type of the BGP-LS link route;
and completing service forwarding based on the updated topology and the service requirement information.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the SDN-based dual-stack backbone management method provided by the above methods, the method including:
judging the address type of the BGP-LS link route;
obtaining an updated topology according to the address type of the BGP-LS link route;
and completing service forwarding based on the updated topology and the service requirement information.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A dual-stack backbone network management method based on an SDN is characterized by comprising the following steps:
judging the address type of the BGP-LS link route;
obtaining an updated topology according to the address type of the BGP-LS link route;
and completing service forwarding based on the updated topology and the service requirement information.
2. The SDN-based dual stack backbone management method of claim 1, wherein the determining an address type of a BGP-LS link route comprises:
analyzing the BGP-LS link route to obtain link source port IP information and link destination port IP information;
and obtaining the address type of the BGP-LS link route based on the IP information of the link source port and the IP information of the link destination port.
3. The SDN-based dual stack backbone management method of claim 2, wherein the address types of the BGP-LS link route include an IPv4 address type and an IPv6 address type, and wherein obtaining the updated topology according to the address type of the BGP-LS link route state route comprises:
when the address type of the BGP-LS link route is the IPv4 address type, obtaining L3 v4 updated topology based on a first definition condition;
and when the address type of the BGP-LS link route is the IPv6 address type, obtaining L3 v6 to update the topology based on a second defined condition.
4. The SDN-based dual-stack backbone management method according to any one of claims 1 to 3, wherein the service requirement information includes service delay requirement information, service bandwidth requirement information, service bearer tunnel type requirement information, and service configuration requirement information, and the completing service forwarding based on the updated topology and the service requirement information includes:
obtaining segment identifier information based on the service delay requirement information and the service bandwidth requirement information;
and completing service forwarding based on the segment identifier information, the service bearing tunnel type requirement information and the service configuration requirement information.
5. The SDN-based dual stack backbone management method of claim 4, wherein the traffic bearer tunnel type requirement information comprises one of: sr-te service bearing tunnel type requirement information and srv6-policy service bearing tunnel type requirement information.
6. The SDN-based dual stack backbone management method of any one of claims 1-3, further comprising:
and updating the link state of the link database based on the comparison between the updated topology and the link database.
7. The SDN-based dual stack backbone management method of claim 6, wherein updating the link state of the link database based on the comparison of the updated topology to the link database comprises:
updating the link state of the link database to an up state when a new link exists in the updated topology, the new link does not exist in the link database, and a reverse link of the new link exists in the updated topology;
not updating link state when a new link exists in the updated topology, the new link does not exist in the link database, and a reverse link of the new link does not exist in the updated topology;
when a new link exists in the updated topology and the new link also exists in the link database, and the link state of the new link in the link database is not in the up state, and a reverse link of the new link exists in the updated topology, the updated link state is in the up state;
when a new link exists in the updated topology and the new link also exists in the link database, the link state of the new link in the link database is in an up state, and the reverse link of the new link exists in the updated topology, the link state is not updated;
when a new link exists in the updated topology and the new link also exists in the link database, the link state of the new link in the link database is an up state, and the reverse link of the new link does not exist in the updated topology, the updated link state is a down state;
and when the link database is stored in a new link and the new link does not exist in the updated topology, the updated link state is a down state.
8. A dual-stack backbone management device based on SDN is characterized by comprising:
the address type judging module is used for judging the address type of the BGP-LS link route;
the updating topology obtaining module is used for obtaining an updating topology according to the address type of the BGP-LS link route;
and the service forwarding module is used for finishing service forwarding based on the updated topology and the service requirement information.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the SDN based dual stack backbone management method according to any one of claims 1 to 7.
10. A computer program product comprising a computer program, wherein the computer program when executed by a processor implements the steps of the SDN based dual stack backbone management method according to any of claims 1 to 7.
CN202111422347.1A 2021-11-26 2021-11-26 SDN-based dual-stack backbone management method and device and electronic equipment Active CN114268583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111422347.1A CN114268583B (en) 2021-11-26 2021-11-26 SDN-based dual-stack backbone management method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111422347.1A CN114268583B (en) 2021-11-26 2021-11-26 SDN-based dual-stack backbone management method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114268583A true CN114268583A (en) 2022-04-01
CN114268583B CN114268583B (en) 2024-01-23

Family

ID=80825604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111422347.1A Active CN114268583B (en) 2021-11-26 2021-11-26 SDN-based dual-stack backbone management method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114268583B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070011326A1 (en) * 2005-07-05 2007-01-11 Brother Kogyo Kabushiki Kaisha Information processing device and program
CN101257435A (en) * 2007-02-28 2008-09-03 上海亿人通信终端有限公司 Implementing method of SIP application-level gateways based on NAT-PT
CN101771571A (en) * 2010-03-01 2010-07-07 浙江大学 Topology discovery method based on perception of adjacency in reconfigurable flexible network
WO2011055478A1 (en) * 2009-11-06 2011-05-12 パナソニック株式会社 Mobile terminal and packet filter setting method
CN102724068A (en) * 2012-04-05 2012-10-10 杭州安恒信息技术有限公司 Method for identifying audit log asset in internet protocol version 6 (IPv6) mixed network
CN103888359A (en) * 2012-12-21 2014-06-25 杭州华三通信技术有限公司 Route calculation method and network device
CN105721319A (en) * 2016-03-02 2016-06-29 上海斐讯数据通信技术有限公司 SDN based network topology discovery method and system
CN106656720A (en) * 2016-10-31 2017-05-10 上海斐讯数据通信技术有限公司 SDN-based IPv4 to IPv6 transition method and system
CN107147655A (en) * 2017-05-25 2017-09-08 北京中电普华信息技术有限公司 A kind of network dual stack parallel process model and its processing method
CN109587064A (en) * 2019-01-09 2019-04-05 中国铁路总公司 A kind of IPv4/IPv6 address management system and method
CN113364683A (en) * 2020-03-05 2021-09-07 华为技术有限公司 Route sending method and equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070011326A1 (en) * 2005-07-05 2007-01-11 Brother Kogyo Kabushiki Kaisha Information processing device and program
CN101257435A (en) * 2007-02-28 2008-09-03 上海亿人通信终端有限公司 Implementing method of SIP application-level gateways based on NAT-PT
WO2011055478A1 (en) * 2009-11-06 2011-05-12 パナソニック株式会社 Mobile terminal and packet filter setting method
CN101771571A (en) * 2010-03-01 2010-07-07 浙江大学 Topology discovery method based on perception of adjacency in reconfigurable flexible network
CN102724068A (en) * 2012-04-05 2012-10-10 杭州安恒信息技术有限公司 Method for identifying audit log asset in internet protocol version 6 (IPv6) mixed network
CN103888359A (en) * 2012-12-21 2014-06-25 杭州华三通信技术有限公司 Route calculation method and network device
CN105721319A (en) * 2016-03-02 2016-06-29 上海斐讯数据通信技术有限公司 SDN based network topology discovery method and system
CN106656720A (en) * 2016-10-31 2017-05-10 上海斐讯数据通信技术有限公司 SDN-based IPv4 to IPv6 transition method and system
CN107147655A (en) * 2017-05-25 2017-09-08 北京中电普华信息技术有限公司 A kind of network dual stack parallel process model and its processing method
CN109587064A (en) * 2019-01-09 2019-04-05 中国铁路总公司 A kind of IPv4/IPv6 address management system and method
CN113364683A (en) * 2020-03-05 2021-09-07 华为技术有限公司 Route sending method and equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
N. CHUANGCHUNSONG等: "An Enhancement of IPv4-in-IPv6 Mechanism", 2014 TENTH INTERNATIONAL CONFERENCE ON INTELLIGENT INFORMATION HIDING AND MULTIMEDIA SIGNAL PROCESSING *
牛大伟, 王海, 张燕: "基于MPLS的无线网络中双向虚电路的建立", 电讯技术, no. 03 *
王德正;夏阳;: "基于IPv6网络拓扑发现技术的研究", 北京信息科技大学学报(自然科学版), no. 02 *
许殊玮;盛涛;胡大海;黄晓晨;: "IPv6拓扑发现的研究", 电脑与信息技术, no. 03 *

Also Published As

Publication number Publication date
CN114268583B (en) 2024-01-23

Similar Documents

Publication Publication Date Title
EP3414874B1 (en) Border gateway protocol for communication among software defined network controllers
EP3103230B1 (en) Software defined networking (sdn) specific topology information discovery
JP6250825B2 (en) Method and system for deploying a MAXIMALLY REDUNDANT TREE in a data network
US10218600B2 (en) Path computation element hierarchical software defined network control
US10848416B2 (en) Reduced configuration for multi-stage network fabrics
WO2017089933A1 (en) A method and apparatus for autonomously relaying statistics to a network controller in a software-defined networking network
US10084558B2 (en) Cross-domain clock synchronization method, device and system and computer storage medium
US10812373B2 (en) Data network
CN109729019B (en) Speed limiting method and device for special line service in EVPN (Ethernet virtual private network) networking
US8667174B2 (en) Method and system for survival of data plane through a total control plane failure
CN112868214B (en) Coordinated load transfer OAM records within packets
US20090129387A1 (en) Extending an ip everywhere network over a plurality of flooding domains
EP3188408B1 (en) Method and apparatus for determining network topology, and centralized network state information storage device
CN112910704B (en) Local area network system, method and device supporting dynamic self-adaptive network configuration
WO2020230146A1 (en) Method and apparatus for layer 2 route calculation in a route reflector network device
US8078758B1 (en) Automatic configuration of source address filters within a network device
CN111327524B (en) Flow forwarding method and system, SDN controller and computer readable storage medium
US20190190813A1 (en) Method for Synchronizing Topology Information in SFC Network, and Routing Network Element
CN114268583B (en) SDN-based dual-stack backbone management method and device and electronic equipment
EP3975511A1 (en) Neighbor discovery for border gateway protocol in a multi-access network
CN111464441A (en) Communication method and device
CN108965120B (en) Route notification method, device, communication equipment and storage medium
CN115865769A (en) Message processing method, network equipment and system
CN114422415A (en) Egress node processing flows in segmented routing
US10129089B1 (en) Shifting network traffic

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