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

Network layer NAT traversal algorithm of distributed network

A distributed network and network layer technology, applied in the field of communication, can solve problems such as increased security risks and host difficulties, and achieve the effect of accurate traversal

Pending Publication Date: 2022-03-22
北京中合谷投资有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the increasing popularity of the network and more and more computers connected to the Internet, it is increasingly difficult to match IP address resources. The NAT technology that appeared in 1994 can just solve the above problems, but it is difficult for hosts in different LANs to be directly connected, so Intranet traversal technology has appeared again. The traversal technology usually requires a server to coordinate and drill holes, that is, the participation of an external network server is required to realize the traversal between two nodes, which increases security risks.

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 layer NAT traversal algorithm of distributed network
  • Network layer NAT traversal algorithm of distributed network
  • Network layer NAT traversal algorithm of distributed network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention will be described in further detail below in conjunction with the accompanying drawings and the following embodiments.

[0017] In some embodiments, such as figure 1 As shown, a network layer NAT traversal algorithm of a distributed network is provided, and the NAT traversal algorithm includes the following steps:

[0018] S1: Any scheduling node located in the same distributed network receives the data packet sent by its adjacent traversal node, and the data packet includes the hash value corresponding to the IP, port number and request content of the traversal node;

[0019] S2: The scheduling node locates the traversed node storing the requested content according to the hash value corresponding to the requested content in the data packet;

[0020] S3: The scheduling node guides the traversing node and the traversed node to traverse.

[0021] Among them, each node discovers adjacent nodes through the random-walk or bootstrap-list protocol. The ...

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 layer NAT (Network Address Translation) traversal algorithm of a distributed network, and the network layer NAT traversal algorithm of the distributed network comprises the following steps: S1, any scheduling node in the same distributed network receives a data packet sent by an adjacent traversal node, and the data packet comprises an IP (Internet Protocol), a port number and a hash value corresponding to request content of the traversal node; s2, the scheduling node locates a traversed node storing the request content according to a hash value corresponding to the request content in the data packet; s3, the scheduling node guides the traversing node and the traversed node to traverse; according to the network layer NAT traversal algorithm of the distributed network provided by the invention, any scheduling node in the same distributed network receives the data packet which is sent by the adjacent traversal node and carries the hash value corresponding to the request content, so that the specific traversal node can be positioned according to the content; therefore, the crossing node and the crossed node can quickly and accurately pass through each other, and the connection is established.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a network layer NAT traversal algorithm of a distributed network. Background technique [0002] Libp2p is the infrastructure of IPFS and Filecoin, and also the infrastructure of all P2P, blockchain, and Internet of Things in the future. Libp2p is a P2P network, which is divided into network layer, routing layer, and exchange layer. Discovering nodes, connecting them, discovering content, and transferring them, a node using Libp2p can communicate with another node, can use a variety of different transmission methods, these transmission methods include connection delays, and communicate through different protocols, And negotiate according to the needs. The Libp2p module is mainly responsible for the data transfer function in IPFS, that is, routing, network, exchange, etc. With the increasing popularity of the network and more and more computers connected to the Internet, it ...

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): H04L61/256H04L67/10
CPCH04L61/256H04L67/10
Inventor 陈霁红
Owner 北京中合谷投资有限公司
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