Gateway Synchronous Proxy TCP Sequence Number Conversion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In existing synchronous proxy mechanisms, gateways process both incoming and outgoing traffic, leading to increased processing time delays and potential network congestion, which negatively impacts user experience and the gateway's performance, especially during increased traffic.
Innovation Solution
After establishing a TCP connection between a client and a server through a synchronous proxy mechanism, the server converts the TCP sequence number of data packets to match the acknowledgment number sent by the client, allowing the server to send data packets directly to the client without relay through the gateway, thereby reducing the gateway's processing load.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the gateway processes both incoming and outgoing traffic through synchronous proxy mechanism, then the gateway can establish TCP connection between client and server, but the processing time delay increases and network congestion occurs
Solution Approach 1:
The patent segments the traffic processing into two independent paths: incoming traffic through the gateway and outgoing traffic directly from server to client. This segmentation allows the gateway to focus only on connection establishment while reducing processing delays for data transmission.
Solution Approach 2:
The gateway performs preliminary action by establishing the TCP connection and setting up sequence number conversion information before actual data transmission. Once the connection is established, the server can directly send data to the client without further gateway intervention.
2Reliability
If the gateway handles all traffic, then connection establishment is achieved, but network congestion and gateway overload occur during increased traffic
Solution Approach 1:
The patent extracts the outgoing traffic handling function from the gateway and assigns it directly to the server. The gateway only retains the essential function of connection establishment and sequence number management, significantly reducing its processing load and preventing overload during high traffic periods.
Solution Approach 2:
The gateway acts as an intermediary only for connection establishment and sequence number coordination, not for all traffic. This limited intermediary role maintains connection reliability while improving gateway processing capacity by removing unnecessary traffic handling.
3Reliability
If the gateway relays all data packets, then connection management is maintained, but user experience deteriorates due to increased processing delay
Solution Approach 1:
The patent segments the data transmission path so that user data traffic bypasses the gateway after connection establishment. Only control plane traffic (connection setup and sequence number synchronization) passes through the gateway, while user data flows directly, improving user experience by reducing processing delays.
Data Source
AI summary
A data transmission method includes: establishing, by a server, a connection with a client according to a transmission control protocol (TCP) through a gateway with a synchronous proxy mechanism; acquiring, by the server, sequence number conversion information and converting a first TCP sequence number of a first data packet to be sent to the client according to the sequence number conversion information, so that the first TCP sequence number is matched, by the server, with a first acknowledgment number of the second data packet sent by the client; and sending, by the server, the first data packet, for which the first TCP sequence number has been converted, to the client directly. A server, a gateway, and a computer-readable medium are also disclosed.


