Method and system for implementing NAT penetration in P2P network

A P2P network, the other party's technology, applied in transmission systems, digital transmission systems, data exchange networks, etc., can solve the problems of poor communication reliability and low efficiency, and achieve the effect of high-speed and reliable transmission

Inactive Publication Date: 2009-05-27
北京硅谷新创数模科技有限公司
View PDF0 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the defects of poor reliability and low efficiency of communication between different intranets in existing P2P network applications, the present invention proposes a method and system for realizing NAT traversal in a P2P network

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
  • Method and system for implementing NAT penetration in P2P network
  • Method and system for implementing NAT penetration in P2P network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] A method and system for implementing NAT traversal in a P2P network provided by the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0048] Such as figure 1 As shown, in one embodiment of the present invention, a flow chart of a NAT traversal method in a P2P network is shown.

[0049] Such as figure 1 As shown, in step S10, all user nodes register with the NAT server.

[0050] The NAT server is mainly used to register the user's registration information and forward the user's hole punching request.

[0051] The process of registering with the NAT server in step S10 is described in detail below, including the following steps:

[0052] In step S101, the user node sends a data message including its own node ID (usually a random value with a certain length) to the NAT server;

[0053] In step S102, the NAT server records each received user node ID, extracts the user node IP address and UDP port n...

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 method and a system for realizing NAT traversal in a P2P network. The method comprises the following steps: a user node registers on a NAT server; the user node determines a network type of the user node as a node in a public network or a node in an internal network by interacting with the NAT server; if the user node is the node in the public network, the NAT traversal is realized through the reverse connection of an opponent node; and if the user node is the node in the internal network, the opponent node and the user node are determined not to be in the same internal network through the broadcasting in the internal network, and the NAT traversal is realized by using a UDP for hole punching and simulating a TCP mode. Compared with the prior NAT traversal system, the method for the NAT traversal in P2P network environment has the characteristics of reliability and high efficiency.

Description

technical field [0001] The present invention relates to the technical field of Network Address Translator (NAT), and more specifically, the present invention relates to a method and system for realizing NAT traversal in a P2P network. Background technique [0002] With the continuous improvement of computer performance and the continuous development of network technology, the dominance of the client-server communication mode in the Internet has been broken, and the peer-to-peer (Peer-to-Peer, P2P) communication mode is being used more and more Used by web applications. In the P2P communication mode, hosts can communicate directly to realize resource sharing and information exchange, which provides greater convenience for communication and exchange between users. P2P is also called a peer-to-peer connection or a peer-to-peer network. In this network, all communication nodes have equal status, and each node plays the dual role of client and server. The file exchange is realiz...

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): H04L12/56H04L29/08H04L29/06H04L29/12
Inventor 马晨光杨平改李军刘靖
Owner 北京硅谷新创数模科技有限公司
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