Symmetric NAT Port Prediction for Direct Peer-to-Peer Communication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current peer-to-peer communication techniques struggle to traverse Network Address Translation (NAT) systems, particularly with symmetric NAT and NATs having strictly restricted ports, leading to inefficient network communication and high resource occupation by transition servers.
Innovation Solution
A method that predicts the port changing regularity of symmetric NATs to establish peer-to-peer connections by attempting communication through potentially changed ports, using server coordination and port prediction techniques to minimize reliance on transition servers.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If transition server is used to traverse NAT, then peer-to-peer connection can be established, but server resource occupation increases and network operation costs rise
Solution Approach 1:
The patent extracts the port prediction function from the transition server and implements it locally in the NAT traversal module. This allows the system to predict port changes independently without continuous server intervention, reducing server resource occupation while maintaining reliable peer-to-peer connection establishment
Solution Approach 2:
The patent performs preliminary port prediction before actual connection attempts. By predicting the port that will be assigned by symmetric NAT in advance, the system can prepare connection parameters beforehand, enabling direct peer-to-peer communication without requiring transition server resources during the actual connection phase
2Loss of energy
If symmetric NAT traversal is attempted directly, then server resources are saved, but connection establishment fails due to port changing
Solution Approach 1:
The system performs preliminary port prediction by analyzing the symmetric NAT's port assignment pattern before attempting connection. This advance preparation ensures that when connection attempts are made, the correct predicted port is already known, guaranteeing connection establishment without requiring transition server assistance
Solution Approach 2:
The patent implements a feedback mechanism where the system monitors actual port assignments from symmetric NAT and uses this information to refine and update the port prediction model. This continuous feedback improves prediction accuracy over time, ensuring reliable connection establishment while minimizing server resource usage
3Productivity
If port prediction is performed, then direct peer-to-peer communication is enabled, but system complexity increases
Solution Approach 1:
The patent segments the NAT traversal functionality into a separate, modular prediction module that operates independently from the core communication logic. This modular approach enables port prediction to be implemented as a distinct component, improving communication efficiency while containing system complexity within a manageable, isolated module
Data Source
AI summary
The employment relates to a realization method for establishing peer-to-peer communication connection, a method, an apparatus and a system for realizing network communication by traversing NAT. The employment mainly comprises following steps. When the user terminal may not directly communicate with the peer user terminal by the manner of peer-to-peer communication for needing to traverse through the NAT (network address translator) entity, the type information of the NAT entity needed to be traversed is determined. Then, the communication connection with the peer user terminal is established according to the determined type information of the NAT entity and by using the predefined manner of peer-to peer communication and the communications between the user terminals are carried out. The employment realizes that the manner of peer-to-peer communication is adopted as much as possible during the process of traversing the NAT to carry out the communication so as to reduce the occupation of server source and effectively save the costs of network operation. The employment also tries to use the corresponding re-issue mechanism during the procedure of establishing the peer-to-peer communication in order to resolve various connection establishment problems when the factors which may affect the connection establishment appear.


