Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

NAT network type detection method and device

A technology of network type and detection method, applied in the field of NAT detection, can solve the problems of high network overhead and many system resources, etc.

Active Publication Date: 2016-06-01
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The definitions of these STUN message formats occupy a lot of system resources in actual business processing, resulting in a large network overhead

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
  • NAT network type detection method and device
  • NAT network type detection method and device
  • NAT network type detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0064] In order to solve the problems in the prior art, an embodiment of the present invention provides a method and device for detecting a NAT network type.

[0065] A method for detecting a NAT network type provided by an embodiment of the present invention is firstly introduced below.

[0066] It should be noted that, a method for detecting a NAT network type provided by an embodiment of the present invention is applied to a client. In practical applicatio...

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 embodiment of the invention provides a NAT network type detection method and device. The first binding request information is sent to a server in a P2P network at the moment of preset network type detection, and the first binding response information fed back by the server is monitored; if the Mapped-Address carried by the monitored first binding response information is different from the network address itself, it is determined that there is provided a NAT device; the second binding request information is sent to the server to obtain monitoring results in a second preset binding response time period; and the NAT network type itself is determined based on the monitoring results. Compared with the prior art, the NAT network type detection method and device perform network type detection through a custom STUN protocol, the binding request information used by the protocol only includes information codes required by business, the used binding response information only includes a mapping address and a displacement address required by the business, and the STUN protocol is simplified through removing bytes being irrespective of the business to compress the information, so that the less system resource is occupied, and the network cost is saved.

Description

technical field [0001] The invention relates to the field of NAT detection, in particular to a NAT network type detection method and device. Background technique [0002] Due to the existence of network address translation (NAT) devices in peer-to-peer computing P2P networks, P2P nodes generally need to detect the type of NAT network first, so as to select an effective NAT penetration technology. [0003] In the prior art, the Internet Engineering Task Force IETF recommends using the STUN (Simple Traversal of UDP over NATs, NAT's UDP simple traversal) protocol described in RFC3489. The detailed specifications of the STUN protocol are described in the RFC3489 document. The binding request defined by it includes session ID, Message type, message code, replacement address and message attributes. The binding response defined by it includes session ID, message type, message code, replacement address, mapping address and message attributes. According to the difference of message t...

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/12
CPCH04L61/2575
Inventor 陈归
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products