TCP NAT crossing method base on PCP protocol

A protocol and hole-piercing technology, applied in the field of TCP NAT traversal, which can solve the problems that peer nodes cannot directly connect and communicate, TCPNAT traversal, etc.

Inactive Publication Date: 2009-02-25
ZHEJIANG TELECOM
View PDF0 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, there are many P2P video playback software developed based on Peercast, such as the Tvants video playback software currently used by Zhejiang Telecom, Peercast is an open source P2P streaming software developed abroad, Peercast has customized the PCP (Peercast Protocol) The media data and control messages between media are transmitted through the PCP protocol. The PCP protocol is an application layer protocol built on the TCP / UDP transport layer. Currently, the PCP protocol uses the TCP transport layer protocol. In the current Internet network environment, there are a large number of NAT (Network Address Translation) equipment creates a logically separated area, so that peer nodes behind NAT cannot directly connect and communicate. Therefore, video playback software developed on the basis of Peercast will face the problem of TCP NAT traversal

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
  • TCP NAT crossing method base on PCP protocol
  • TCP NAT crossing method base on PCP protocol
  • TCP NAT crossing method base on PCP protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] Assuming that client A is the initiator of the connection, client B is the connected party, and server S is the NAT traversal server, the process of realizing TCP NAT traversal can be divided into the following five steps:

[0035] 1) Client B first connects to server S, establishes a registration channel, and completes registration through this channel using the ID number that identifies the machine. After registration, if no NAT type detection has been performed before or if there is a change in the NAT configuration, it needs to be registered. NAT type detection, the detection process is as follows:

[0036] Client B initiates four consecutive connections to server S and establishes an echo channel, through which server S returns the corresponding NAT N mapped IP addresses and port numbers for the four connections. Server S analyzes and judges the results returned four times and saves them as records, and then client B waits to receive the connection request from cli...

Embodiment 2

[0043] Combining the above TCP NAT traversal principle with the PCP protocol to realize TCP NAT traversal, the traversal process is shown in the figure below. Among them, node A and node B are hosts located in two private networks behind NAT M and NAT N respectively, S is a streaming media server, node B and streaming media server S have established a connection and can send and receive messages and media data normally, The implementation process is as follows:

[0044]When node A wants to play a certain channel, it will send a channel request to the streaming media server S. After receiving the request, the server S first judges whether the node A has a firewall or is behind a NAT M, and then judges whether the node A can provide media data for the node. If the server S cannot provide it, a node is selected from the node list of the channel. If the selected node is also behind a NAT or firewall, a broadcast hole-through request is sent to nodes such as B. Unicast the hole ...

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 discloses a TCP NAT (Network Address Translation) traversing method based on PCP (Peercast Protocol) Protocol. The traversing method adopt three critical technologies such as NAT type detection and port prediction, the design of an NAT traversing server, and PCP protocol expansion, and combines TCP NAT realization principle with the PCP expansion protocol to realize connection between host computers in two private networks and media data interchange by a few critical steps such as registering, detecting the NAT type, predicting terminal, interchanging NAT mapping IP address and a Port number, and performing connecting part boring and connected part perforation.

Description

technical field [0001] The invention relates to a TCP NAT traversal method based on the PCP (Peercast Protocol) protocol. Background technique [0002] At present, there are many P2P video playback software developed based on Peercast, such as the Tvants video playback software currently used by Zhejiang Telecom, Peercast is an open source P2P streaming software developed abroad, Peercast has customized the PCP (Peercast Protocol) The media data and control messages between media are transmitted through the PCP protocol. The PCP protocol is an application layer protocol built on the TCP / UDP transport layer. Currently, the PCP protocol uses the TCP transport layer protocol. In the current Internet network environment, there are a large number of NAT (Network Address Translation) equipment creates a logically separated area, so that peer nodes behind NAT cannot directly connect and communicate. Therefore, video playback software developed on the basis of Peercast will face the...

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/06H04L12/56
Inventor 邢小良黄炜袁江宋革联杨晓波龚轩金朝晖叶挺群郑金荣胡伟中
Owner ZHEJIANG TELECOM
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