Network address translation (NAT) type determination method and device

A type and purpose technology, applied in the field of determining the NAT type, can solve the problems of lack of efficiency, cumbersome process, unable to meet the NAT detection request, etc., to save the detection time and obtain the effect quickly.

Active Publication Date: 2011-09-21
SHENZHEN TENCENT COMP SYST CO LTD
View PDF3 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the existing solution, if the UDP failure is ruled out, at least two test packets must be sent to detect the type of NAT; moreover, the test packets are sequentially dependent and must be followed step by step. next test
Obviously, the existing serialized NAT type test method cannot meet the NAT detection requests of large-scale clients, and the existing scheme is quite cumbersome in process and lacks efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network address translation (NAT) type determination method and device
  • Network address translation (NAT) type determination method and device
  • Network address translation (NAT) type determination method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] image 3 It is a schematic diagram of the STUN test scheme of the present invention, such as image 3 As shown, the STUN test scheme of the present invention is based on the core idea of ​​the standard STUN protocol, including two STUN Servers, following the agreement agreed by both parties between the two STUNServers and the STUN Client, in image 3 In the technical solution shown, two test items are required, where request packet a and request packet b represent the request packets of these two test items respectively, and request packet a and request packet b are sent from the STUN Client to the same STUN at the same time Server( image 3 Take STUN ServerA as an example) in different ports ( image 3 Take port X and port Y as an example); STUN ServerA and STUN ServerB return the response packet according to the corresponding protocol, image 3The four response packets shown in are represented by dot-dash arrow lines, dot-dash arrow line 1, dot-dash arrow line 2, d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a network address translation (NAT) type determination method and an NAT type determination device. The method comprises that: a simple traversal of user datagram protocol through network address translators (STUN) client simultaneously transmits a request packet of a first test item and the request packet of a second test item to a first port and a second port of a first STUN server respectively; the first STUN server and a second STUN server return corresponding response packets; and the STUN client judges the NAT type of a client according to the received response packets. By the NAT type determination method provided by the invention, dependence on the sequence of test packets is avoided, and NAT type detection time is shortened by parallel testing. Moreover, the NAT type determination method provided by the invention is simpler and more highly efficient.

Description

technical field [0001] The invention relates to network address translation (NAT) technology, especially a method and device for determining the type of NAT. Background technique [0002] With the continuous increase of the number of computers connected to the Internet, Internet Protocol (IP) address resources are increasingly stretched. In this case, Network Address Translation (NAT) technology has emerged as the times require. For a while, NAT became popular as a solution to the shortage of IPv4 addresses to avoid the difficulty of reserving IP addresses. Not only that, the use of NAT technology can also effectively avoid attacks from outside the network, hide and protect computers inside the network. Although NAT technology has played a positive role in solving the shortage of IP address resources and protecting internal computers, on the other hand, NAT technology is undoubtedly contrary to the openness of the Internet and has greatly affected many applications. For th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/12H04L29/06
Inventor 王志华陈谦鲁小锁邵颖哲
Owner SHENZHEN TENCENT COMP SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products