IPv6 (Internet Protocol Version 6) route synchronization and high-availability scheduling system of BGP (Border Gateway Protocol) dynamic route based on Neutron
By adopting the IPv6 routing synchronization and high-availability scheduling system based on BGP dynamic routing in the cloud computing environment, the problem that traditional static routing methods are difficult to meet dynamic and real-time network requirements is solved, efficient IPv6 routing synchronization and high-availability scheduling are achieved, and the reliability and efficiency of cloud services are improved.
Patent Information
- Application Number
- CN202510268186.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2025-06-06
AI Technical Summary
In the cloud computing environment, traditional static routing methods are difficult to meet the needs of dynamic and real-time networks, especially in the context of the popularization of virtualization technology and IPv6 promotion, the application of dynamic routing protocols has become urgent.
Using IPv6 routing synchronization and high-availability scheduling system based on Neutron, the control plane and service plane work together to achieve efficient IPv6 routing synchronization and high-availability scheduling.
This system ensures that the IPv6 address of the virtual machine can be accessed stably from the network traffic, and improves the fault tolerance of the system through intelligent scheduling, optimizes network resource management, promotes the efficient operation of the cloud platform in a multi-tenant environment, and improves the reliability and efficiency of cloud services.
Smart Images

Figure CN120111059A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of cloud computing and network virtualization, and in particular to an IPv6 routing synchronization and high-availability scheduling system based on Neutron's BGP dynamic routing. Background Art
[0002] With the rapid development of information technology, cloud computing has become the core driving force for the digital transformation of enterprises. The flexibility, scalability and efficiency provided by cloud computing have made it widely used in various application scenarios, including big data processing, artificial intelligence, and the Internet of Things (IoT). In a cloud computing environment, the network is a key component for realizing resource virtualization and service delivery. OpenStack is an open cloud computing platform, and its Neutron module focuses on providing network services, allowing users to flexibly create and manage virtual networks through APIs.
[0003] In the cloud computing environment, the introduction of network virtualization technology makes the management of network resources more flexible and efficient. Virtual networks can be quickly configured and adjusted according to different application requirements, supporting multi-tenant isolation and resource sharing. However, with the complexity brought by network virtualization, traditional static routing methods can no longer meet dynamic and real-time network requirements. This has prompted the widespread application of dynamic routing protocols.
[0004] Border Gateway Protocol (BGP) is the core routing protocol in the Internet, mainly used for exchanging routing information between different autonomous systems. The dynamic routing characteristics of BGP make it of great application value in cloud computing environments, especially when real-time updates of network status are required.
[0005] In the cloud computing environment, with the popularization of virtualization technology and the promotion of IPv6, the demand for dynamic routing has become more urgent. The combination of BGP dynamic routing and IPv6 can effectively solve the following problems:
[0006] 1. Efficient routing management
[0007] The dynamic characteristics of BGP can reflect the changes of IPv6 addresses in real time, ensuring that the network traffic of virtual machines in the cloud computing environment can be routed to the correct destination in a timely manner. This is the basis for ensuring the quality of service for large-scale cloud platforms.
[0008] 2. Dealing with complex network topology
[0009] With the increasing number of cloud computing applications, network topology has become more complex. Dynamic routing can automatically adapt to changes in network topology, ensure network flexibility and scalability, and support the simultaneous operation of multiple tenants and multiple business scenarios.
[0010] 3. Improve resource utilization
[0011] Dynamic routing can effectively manage network traffic, reduce redundant routing and unnecessary network overhead, and improve resource utilization efficiency. For cloud service providers, this means higher economic benefits and lower operating costs.
[0012] In the cloud computing environment, the combination of dynamic routing and IPv6 is an inevitable trend in the future network development. The application of BGP dynamic routing will provide a solid foundation for the flexibility, high availability and reliability of cloud services, and will also promote the full deployment and application of IPv6. By continuously optimizing the network architecture and management mechanism, the cloud computing platform can better adapt to future challenges and opportunities. Summary of the invention
[0013] In order to solve the above technical problems, the present invention provides an IPv6 routing synchronization and high-availability scheduling system based on Neutron's BGP dynamic routing, which meets the strict requirements for flexibility and reliability in modern cloud computing environments by realizing efficient IPv6 routing synchronization and high-availability scheduling functions. By ensuring that the IPv6 address of the virtual machine can stably access the outbound traffic and improving the fault tolerance of the system through intelligent scheduling, the present invention not only optimizes the management of network resources, but also promotes the efficient operation of the cloud platform in a multi-tenant environment, and promotes the sustainable development of cloud computing and the widespread application of IPv6.
[0014] The technical solution of the present invention is:
[0015] An IPv6 routing synchronization and high availability scheduling system based on Neutron's BGP dynamic routing, including
[0016] The control plane is responsible for the configuration, management and monitoring of the network, ensuring the accuracy and timely update of dynamic routing information, including
[0017] 1) Routing management module: The control plane needs to manage and maintain the routing information of the virtual network to ensure the accuracy and timely update of the routing table;
[0018] 2) BGP configuration management: manage all BGP-related configurations to ensure the stability of dynamic routing;
[0019] 3) Health check and monitoring: real-time monitoring of the health status of BGP-DRAgent to ensure system reliability;
[0020] 4) Load balancing scheduling: implement load balancing scheduling of BGP-DRAgent and optimize resource utilization.
[0021] The business side is responsible for specific routing operations and real-time processing of network status to ensure the effectiveness of dynamic routing; including:
[0022] 1) Routing synchronization and update: responsible for interacting with the control plane and synchronizing routing information in real time;
[0023] 2) BGP protocol implementation, implement the core logic of the BGP protocol, and exchange and update routing information;
[0024] 3) Fault detection and automatic recovery, monitoring system status, and ensuring high availability;
[0025] 4) Load balancing and resource optimization: dynamically adjust load distribution according to the current network status.
[0026] Furthermore,
[0027] Routing management module, specific functions include
[0028] Routing information creation and deletion: When a user creates or deletes a virtual machine in OpenStack, NeutronServer automatically generates the corresponding IPv6 routing information; the system calls the Neutron API to register the relevant routing information into the routing table and ensures that all relevant network components can update their routing information in a timely manner;
[0029] Routing policy configuration: Users configure routing policies through APIs, including setting priorities for static and dynamic routing. The control plane will flexibly generate and manage routing information based on user-defined policies to meet different business needs.
[0030] Routing table maintenance: Regularly maintain the routing table, clean up invalid routing entries, and ensure the validity and latest status of each routing entry.
[0031] Furthermore,
[0032] The specific functions of BGP configuration management include:
[0033] BGP session establishment: The control plane automatically establishes a connection with the adjacent BGP node and ensures the smooth establishment of the session through the initialization process of the BGP protocol. The system maintains the status of the BGP session to ensure that the session remains active at all times;
[0034] Route announcement management: The control plane is responsible for defining route announcement policies and generating and sending route update information through the BGP protocol. This includes sending new route information to all neighbors to ensure the consistency of the network topology.
[0035] Furthermore,
[0036] The specific functions of health check and monitoring include:
[0037] Status monitoring: The control plane regularly sends health check requests to each BGP-DRAgent instance to obtain its operating status to ensure the normal operation of the node; once the health status of a node is found to be abnormal, it will be automatically marked as a fault state and subsequent processing will be carried out;
[0038] Fault alarm mechanism: When a node failure is detected, the control plane should immediately issue an alarm and trigger an automatic failover mechanism.
[0039] Furthermore,
[0040] The specific functions of load balancing scheduling include:
[0041] Intelligent scheduling algorithm: The control plane intelligently allocates BGP-DRAgent instances based on the current load of the node and network status information; dynamically adjusts the load;
[0042] Resource allocation strategy: During peak load periods, the control plane dynamically adjusts routing and traffic distribution to make rational use of existing resources.
[0043] Furthermore,
[0044] Routing synchronization and update specific functions include
[0045] Routing information reception: BGP-DRAgent receives routing update requests from Neutron Server, parses and applies this information to the local routing table; the system needs to have routing information parsing capabilities to process routing updates;
[0046] Routing information notification: Regularly notify other BGP neighbors of local routing information to ensure the consistency of routing information in the network; BGP-DRAgent will periodically send routing update information according to the configured time interval.
[0047] Furthermore,
[0048] The specific functions implemented by the BGP protocol include:
[0049] BGP session management: BGP-DRAgent establishes and maintains sessions with other BGP neighbors and handles the reception and transmission of BGP messages, including receiving routing updates, routing withdrawals, and heartbeat information to maintain connections from neighbors.
[0050] Routing path selection: According to the BGP routing selection algorithm, the best routing path is selected and the local routing table is updated; the system must follow BGP's multiple selection criteria to ensure that the selected path has the best performance.
[0051] Furthermore,
[0052] The specific functions of fault detection and automatic recovery include:
[0053] Fault detection mechanism: The heartbeat mechanism monitors the connection status between itself and other BGP-DRAgent nodes to detect faults in a timely manner; the system sends heartbeat signals regularly to ensure stable connection with neighboring nodes;
[0054] Fault recovery mechanism: After detecting a fault, BGP-DRAgent will immediately trigger the fault recovery process and automatically switch to the backup node to ensure the continuity of network services.
[0055] Furthermore,
[0056] The specific functions of load balancing and resource optimization include:
[0057] Traffic distribution: Dynamically adjust traffic distribution based on current network traffic conditions and node loads; BGP-DRAgent monitors real-time traffic and adjusts routing to achieve load balancing;
[0058] Resource monitoring: Real-time monitoring of BGP-DRAgent resource usage, including CPU, memory, and network bandwidth usage, to schedule and optimize resources in a timely manner; the system will adjust resource allocation through adaptive algorithms to ensure stable operation.
[0059] Furthermore,
[0060] The specific implementation includes the following modules:
[0061] IPv6 routing synchronization module: integrated into the BGP dynamic routing agent, used to monitor and synchronize the IPv6 address routing information mounted on the virtual machine network to the physical network device that supports BGP, ensuring the timely synchronization of IPv6 routing;
[0062] High availability scheduling module: It is tightly integrated with BGP dynamic routing agent to monitor the running status and health of the agent. When a failure or performance degradation is detected, it automatically triggers the high availability scheduling mechanism to migrate the BGP speaker and the routing information it manages to another healthy agent to achieve high availability of BGP dynamic routing services.
[0063] Integration interface: Provides a RESTful API interface to allow cloud management platforms or other third-party tools to perform remote management and monitoring, and to achieve collaboration with other Neutron components.
[0064] The beneficial effects of the present invention are
[0065] The OpenStack Neutron BGP dynamic routing Agent of the present invention has significant beneficial effects in many aspects. First, through efficient IPv6 routing synchronization, the network connection of the virtual machine is ensured to be stable, continuous outbound traffic access is supported, and the availability of the cloud computing environment is improved. Secondly, the intelligent load balancing and fault detection mechanism enhances the high availability of the system and reduces the risk of service interruption. In addition, flexible scheduling strategies and dynamic routing updates can optimize resource utilization, improve network performance, and meet complex business requirements in a multi-tenant environment. On the whole, it promotes the reliability and efficiency of cloud services and promotes the widespread application of IPv6. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 This is the bgp-dragent dynamic routing architecture diagram. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0068] Control plane processing flow
[0069] The control plane is mainly responsible for the configuration, management and monitoring of the network to ensure the accuracy and timely update of dynamic routing information. The following is a specific implementation plan:
[0070] 1. Routing management module
[0071] Function description: The control plane needs to manage and maintain the routing information of the virtual network to ensure the accuracy and timely update of the routing table.
[0072] -Creating and deleting routing information:
[0073] -When a user creates or deletes a virtual machine (VM) in OpenStack, Neutron Server automatically generates the corresponding IPv6 routing information. The system registers the relevant routing information into the routing table by calling Neutron's API and ensures that all relevant network components can update their routing information in a timely manner.
[0074] -Routing policy configuration:
[0075] -Users can configure routing policies through the API, including setting priorities for static and dynamic routing. The control plane will flexibly generate and manage routing information based on user-defined policies to meet different business needs.
[0076] -Maintenance of routing table:
[0077] -Perform regular maintenance on the routing table, clean up invalid routing entries, and ensure the validity and latest status of each routing entry.
[0078] 2.BGP Configuration Management
[0079] Function description: Manage all BGP-related configurations to ensure the stability of dynamic routing.
[0080] -BGP session establishment:
[0081] -The control plane automatically establishes a connection with the adjacent BGP node and ensures the smooth establishment of the session through the initialization process of the BGP protocol. The system maintains the status of the BGP session to ensure that the session remains active at all times.
[0082] -Route Advertisement Management:
[0083] -The control plane is responsible for defining the routing announcement policy and generating and sending routing update information through the BGP protocol. This includes sending new routing information to all neighbors to ensure the consistency of the network topology.
[0084] 3. Health Check and Monitoring
[0085] Function description: Real-time monitoring of the health status of BGP-DRAgent to ensure system reliability.
[0086] - Condition Monitoring:
[0087] -The control plane regularly sends health check requests to each BGP-DRAgent instance to obtain its operating status to ensure the normal operation of the node. Once the health status of a node is found to be abnormal, it will be automatically marked as a fault state and subsequent processing will be carried out.
[0088] -Fault alarm mechanism:
[0089] -When a node failure is detected, the control plane should immediately issue an alarm and trigger an automatic failover mechanism to ensure the continuous availability of network services.
[0090] 4. Load balancing scheduling
[0091] Function description: Implement load balancing scheduling for BGP-DRAgent and optimize resource utilization.
[0092] -Intelligent scheduling algorithm:
[0093] -The control plane intelligently allocates BGP-DRAgent instances based on the current node load, network status and other information to ensure efficient operation of network services. The scheduling algorithm considers indicators such as the CPU, memory and network bandwidth of each node to dynamically adjust the load.
[0094] -Resource allocation strategy:
[0095] -During peak load periods, the control plane can dynamically adjust routing and traffic distribution to rationally utilize existing resources to avoid single point overload.
[0096] 2. Business plane (BGP-DRAgent processing logic)
[0097] The business plane is mainly responsible for specific routing operations and real-time processing of network status to ensure the effectiveness of dynamic routing. The following is a specific implementation plan:
[0098] 1. Routing synchronization and update
[0099] Function description: Responsible for interacting with the control plane and synchronizing routing information in real time.
[0100] - Routing information reception:
[0101] -BGP-DRAgent receives routing update requests from Neutron Server, parses and applies this information to the local routing table. The system needs to have efficient routing information parsing capabilities to quickly process a large number of routing updates.
[0102] - Routing information announcement:
[0103] -Regularly inform other BGP neighbors of local routing information to ensure the consistency of routing information in the network. BGP-DRAgent will send routing update information regularly according to the configured time interval.
[0104] 2. BGP protocol implementation
[0105] Function description: Implement the core logic of the BGP protocol to exchange and update routing information.
[0106] -BGP Session Management:
[0107] -BGP-DRAgent establishes and maintains sessions with other BGP neighbors and handles the reception and transmission of BGP messages. This includes receiving routing updates, routing withdrawals, and heartbeat messages from neighbors to maintain connections.
[0108] - Routing path selection:
[0109] -Based on the BGP routing selection algorithm, select the best routing path and update the local routing table. The system must follow BGP's various selection criteria, such as path length, number of ASs, etc., to ensure that the selected path has the best performance.
[0110] 3. Fault detection and automatic recovery
[0111] Function description: Monitor system status and ensure high availability.
[0112] -Fault detection mechanism:
[0113] -The heartbeat mechanism monitors the connection status between itself and other BGP-DRAgent nodes to detect faults in time. The system will send heartbeat signals regularly to ensure stable connection with neighboring nodes.
[0114] -Failure recovery mechanism:
[0115] -After detecting a fault, BGP-DRAgent will immediately trigger the fault recovery process and automatically switch to the backup node to ensure the continuity of network services. This mechanism is crucial to improving the fault tolerance of the system.
[0116] 4. Load balancing and resource optimization
[0117] Function description: Dynamically adjust load distribution according to the current network status.
[0118] -Flow distribution:
[0119] -Dynamically adjust traffic distribution based on current network traffic conditions and node load. BGP-DRAgent monitors real-time traffic and adjusts routing to achieve load balancing.
[0120] - Resource Monitoring:
[0121] -Real-time monitoring of BGP-DRAgent resource usage, including CPU, memory, and network bandwidth usage, and timely resource scheduling and optimization. The system will adjust resource allocation through adaptive algorithms to ensure stable operation.
[0122] The above description is only a preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, and is not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. An IPv6 routing synchronization and high availability scheduling system based on Neutron's BGP dynamic routing, characterized in that: include The control plane is responsible for the configuration, management and monitoring of the network, ensuring the accuracy and timely update of dynamic routing information, including 1) Routing management module: The control plane needs to manage and maintain the routing information of the virtual network to ensure the accuracy and timely update of the routing table; 2) BGP configuration management: manage all BGP-related configurations to ensure the stability of dynamic routing; 3) Health check and monitoring: real-time monitoring of the health status of BGP-DRAgent to ensure system reliability; 4) Load balancing scheduling, realizing load balancing scheduling of BGP-DRAgent and optimizing resource utilization; The business side is responsible for specific routing operations and real-time processing of network status to ensure the effectiveness of dynamic routing; including: 1) Routing synchronization and update: responsible for interacting with the control plane and synchronizing routing information in real time; 2) BGP protocol implementation, implement the core logic of the BGP protocol, and exchange and update routing information; 3) Fault detection and automatic recovery, monitoring system status, and ensuring high availability; 4) Load balancing and resource optimization: dynamically adjust load distribution according to the current network status.
2. The system according to claim 1, characterized in that Routing management module, specific functions include Routing information creation and deletion: When a user creates or deletes a virtual machine in OpenStack, Neutron Server automatically generates the corresponding IPv6 routing information. The system calls the Neutron API to register the relevant routing information in the routing table and ensures that all relevant network components can update their routing information in a timely manner. Routing policy configuration: Users configure routing policies through APIs, including setting priorities for static and dynamic routing. The control plane will flexibly generate and manage routing information based on user-defined policies to meet different business needs. Routing table maintenance: Regularly maintain the routing table, clean up invalid routing entries, and ensure the validity and latest status of each routing entry.
3. The system according to claim 1, characterized in that The specific functions of BGP configuration management include: BGP session establishment: The control plane automatically establishes a connection with the adjacent BGP node and ensures the smooth establishment of the session through the initialization process of the BGP protocol. The system maintains the status of the BGP session to ensure that the session remains active at all times; Routing announcement management: The control plane is responsible for defining routing announcement policies and generating and sending routing update information through the BGP protocol; This includes sending new routing information to all neighbors to ensure the consistency of the network topology.
4. The system according to claim 1, characterized in that The specific functions of health check and monitoring include: Status monitoring: The control plane periodically sends health check requests to each BGP-DRAgent instance to obtain its operating status to ensure the normal operation of the node; Once a node's health status is found to be abnormal, it will be automatically marked as a fault state and processed later; Fault alarm mechanism: When a node failure is detected, the control plane should immediately issue an alarm and trigger an automatic failover mechanism.
5. The system according to claim 1, characterized in that The specific functions of load balancing scheduling include: Intelligent scheduling algorithm: The control plane intelligently allocates BGP-DRAgent instances based on the current load of the node and network status information; dynamically adjusts the load; Resource allocation strategy: During peak load periods, the control plane dynamically adjusts routing and traffic distribution to make rational use of existing resources.
6. The system according to claim 1, characterized in that Routing synchronization and update specific functions include Routing information reception: BGP-DRAgent receives routing update requests from Neutron Server, parses and applies this information to the local routing table; the system needs to have routing information parsing capabilities to process routing updates; Routing information notification: Regularly notify other BGP neighbors of local routing information to ensure the consistency of routing information in the network; BGP-DRAgent will periodically send routing update information according to the configured time interval.
7. The system according to claim 1, characterized in that The specific functions implemented by the BGP protocol include: BGP session management: BGP-DRAgent establishes and maintains sessions with other BGP neighbors and handles the reception and transmission of BGP messages; This includes receiving routing updates, routing withdrawals, and heartbeat information from neighbors to maintain connections; Routing path selection: According to the BGP routing selection algorithm, the best routing path is selected and the local routing table is updated; the system needs to follow several BGP selection criteria to ensure that the selected path has the best performance.
8. The system according to claim 1, characterized in that The specific functions of fault detection and automatic recovery include: Fault detection mechanism: The heartbeat mechanism monitors the connection status between itself and other BGP-DRAgent nodes to detect faults in a timely manner; the system sends heartbeat signals regularly to ensure stable connection with neighboring nodes; Fault recovery mechanism: After detecting a fault, BGP-DRAgent will immediately trigger the fault recovery process and automatically switch to the backup node to ensure the continuity of network services.
9. The system according to claim 1, characterized in that The specific functions of load balancing and resource optimization include: Traffic distribution: Dynamically adjust traffic distribution based on current network traffic conditions and node load; BGP-DRAgent monitors real-time traffic and adjusts routing to achieve load balancing; Resource monitoring: Real-time monitoring of BGP-DRAgent resource usage, including CPU, memory, and network bandwidth usage, to schedule and optimize resources in a timely manner; the system will adjust resource allocation through adaptive algorithms to ensure stable operation.
10. The system according to claim 1, characterized in that The specific implementation includes the following modules: IPv6 routing synchronization module: integrated into the BGP dynamic routing agent, used to monitor and synchronize the IPv6 address routing information mounted on the virtual machine network to the physical network device that supports BGP, ensuring the timely synchronization of IPv6 routing; High availability scheduling module: It is tightly integrated with BGP dynamic routing agent to monitor the running status and health of the agent. When a failure or performance degradation is detected, it automatically triggers the high availability scheduling mechanism to migrate the BGP speaker and the routing information it manages to another healthy agent to achieve high availability of BGP dynamic routing services. Integration interface: Provides a RESTful API interface to allow cloud management platforms or other third-party tools to perform remote management and monitoring, and to achieve collaboration with other Neutron components.