A p2p traversal method and system integrating upnp and stun

A P2P server, NAT&& technology, applied in the system field of P2P traversal, can solve the problem of not mentioning NAT or P2P re-traversal and so on

Active Publication Date: 2019-08-06
SKY LIGHT ELECTRONIC (SHENZHEN) LIMITED CORPORATION
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Among the above three patents, the first patent uses UPNP, STUN, and TURN to judge traversal sequentially, not collective use; the second and third patents do not mention how to re-traversal NAT or P2P

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
  • A p2p traversal method and system integrating upnp and stun
  • A p2p traversal method and system integrating upnp and stun
  • A p2p traversal method and system integrating upnp and stun

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] In order to fully understand the technical content of the present invention, the technical solutions of the present invention will be further introduced and illustrated below in conjunction with specific examples, but not limited thereto.

[0075] Such as Figure 1~4 In the specific embodiment shown, a P2P traversal method integrating UPNP and STUN provided by this embodiment can be used in the communication process to realize the characteristics of easy success and fast speed of P2P under single-layer routing combined with UPNP and enhanced STUN in a symmetrical manner. NAT hole-punching capability improves the success rate of NAT traversal in P2P.

[0076] A P2P traversal method that combines UPNP and STUN, comprising the following specific steps:

[0077] Step 1, NAT mapping step, IPC carries out the NAT mapping of UPNP to local router;

[0078] Step 2, UPNP registration step, IPC carries out UPNP registration to service control server;

[0079] Step 3, the P2P se...

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 relates to a P2P traverse method in fusion with UPNP and STUN (simple traversal of UDP over NATs) and system thereof. The method comprises the following steps: an IPC performing NAT (network address translation)mapping of UPNP on a local router; the IPC performing UPNP registration on a service control server; the IPC reporting equipment information to a P2P server and maintaining heartbeat to finish the P2P server registration; after acquiring the UPNP information of an appointed IPC from the service control server, an APP using the IP address information fed back by the UPNP to access the IPC, returning the step of NAT mapping of the UPNP till receiving an power down signal if the access is successful; the APP interacting with the P2P server to finish the P2P server registration if the access is failed; the APP and the IPC and the P2P server finishing the punching process of the STUN to establish a P2P channel; the APP accessing the IPC according to the through channel; repeating the NAT mapping of the UPNP till receiving the power down signal. Through the adoption of the method provided by the invention, the communication access of the UPNP is firstly performed in communication, the STUN access is performed when the access is failed, the P2P can successfully and fast enhance the punching traverse capacity of the STUN at the symmetric NAT more easily under single-layer routing in combination with the UPNP, the NAT traverse success rate of the P2P is improved.

Description

technical field [0001] The present invention relates to the technical field of P2P communication, and more specifically refers to a P2P traversal method integrating UPNP and STUN and a P2P traversal system integrating UPNP and STUN. Background technique [0002] NAT: Network Address Translation, also known as network masking or IP masking (IP masquerading), is a technology that rewrites the source IP address or destination IP address when an IP packet passes through a router or firewall. Commonly used in private networks where there are multiple hosts accessing the Internet through only one public IP address. [0003] P2P is point-to-point communication, or peer-to-peer networking, which is obviously different from the traditional server-client mode. In the P2P network, the status of all communication nodes is equal, and each node plays the dual role of client and server, and various functional applications are realized through direct communication between nodes. [0004] ...

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 Patents(China)
IPC IPC(8): H04L29/08H04L29/12
CPCH04L61/256H04L67/104
Inventor 田伟聂文峰
Owner SKY LIGHT ELECTRONIC (SHENZHEN) LIMITED CORPORATION
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