UDP-Based BGP Peer Establishment Reducing TCP Overhead
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing method for establishing a Border Gateway Protocol (BGP) peer relationship between network devices is complex and resource-intensive, requiring a Transmission Control Protocol (TCP) connection which consumes a lot of resources and is inefficient.
Innovation Solution
A method and apparatus for establishing a BGP peer relationship in a User Datagram Protocol (UDP) manner, eliminating the need for a TCP connection, by sending a first packet to a second network device in UDP, and establishing the BGP peer relationship upon receiving a corresponding packet from the second device.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a TCP connection is established between network devices to set up a BGP peer, then the BGP peer relationship can be established reliably, but the process becomes complex and consumes large quantities of resources
Solution Approach 1:
The patent extracts the essential function of BGP peer establishment from the TCP connection framework. Instead of requiring a full TCP connection handshake, the invention uses a simplified UDP-based packet exchange mechanism that accomplishes the same peer establishment goal without the overhead of TCP's three-way handshake and connection management, thereby reducing process complexity while maintaining reliability
Solution Approach 2:
The patent changes the transport protocol parameter from TCP to UDP for BGP peer establishment. This parameter change fundamentally alters the connection establishment process from a complex, stateful TCP handshake to a simpler, stateless UDP packet exchange, reducing both procedural complexity and resource consumption while preserving the ability to reliably establish BGP peer relationships
2Reliability
If a TCP connection is established between network devices to set up a BGP peer, then the BGP peer relationship can be established reliably, but resource consumption increases
Solution Approach 1:
The patent extracts only the essential peer establishment function from the TCP connection protocol, discarding the resource-intensive connection management overhead. By using UDP packets with specific BGP establishment messages, the system achieves reliable peer setup without consuming the excessive resources required for TCP connection maintenance, state tracking, and error recovery mechanisms
Solution Approach 2:
The patent changes the transport protocol parameter from TCP to UDP, which fundamentally reduces resource consumption. UDP's connectionless nature eliminates the need for connection state maintenance, acknowledgment retransmission logic, and flow control mechanisms that consume significant CPU and memory resources in TCP, thereby reducing overall resource usage while maintaining BGP peer establishment reliability
3Reliability
If a TCP connection is established between network devices to set up a BGP peer, then the BGP peer relationship can be established with proper error handling, but the establishment efficiency is low
Solution Approach 1:
The patent extracts the core peer establishment function from TCP while removing the time-consuming connection handshake process. By using UDP with streamlined BGP opening sequences, the system achieves rapid peer establishment without waiting for TCP's three-way handshake, significantly improving efficiency while maintaining error handling capabilities through BGP's own message-based error detection and recovery mechanisms
Solution Approach 2:
The patent changes the transport protocol parameter from TCP to UDP, which eliminates the sequential nature of TCP's connection establishment. UDP's connectionless operation allows BGP peer establishment to proceed immediately without waiting for TCP handshake completion, thereby improving establishment efficiency and speed while BGP's protocol-level error handling ensures reliability
Data Source
AI summary
A method and an apparatus for establishing a BGP peer, a device, and a system. A first network device sends a first packet to a second network device in a UDP manner, where the first packet is used to establish a BGP peer with the second network device; and if the first network device can receive a second packet sent by the second network device in the UDP manner, the first network device establishes a BGP peer relationship with the second network device in response to the received second packet.


