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

Method and system for achieving network address translation

A network address translation and network address technology, applied in the field of network address translation, can solve the problems of datagram discarding, port resource exhaustion, limited number of private network addresses, etc., and achieve the effect of preventing datagrams from being discarded and realizing multiplexing.

Inactive Publication Date: 2012-07-18
OPZOON TECH
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this scheme, due to the limited length of the port queue (port value ranges from 0 to 65535), the number of private network addresses that can be used for conversion of a public network address is limited, and it is easy to run out of port resources in actual use resulting in datagrams being discarded

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 achieving network address translation
  • Method and system for achieving network address translation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0027] figure 1 It is a flowchart of a method for implementing network address translation according to an embodiment of the present invention; refer to figure 1 , the method of this embodiment includes the following steps:

[0028] S1: Receive the current datagram that needs to be processed by network address port conversion, and realize the conversion between the internal network IP address and the public network IP address of the current datagram, the public network IP address of the current datagram has N port queues, The N is an integer greater than 1;

[0029] S2: Select one of the N port queues according to the destination external network IP address of the curre...

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 method and a system for achieving network address translation, which relates to the technical field of network communication. The method comprises the steps of: S1, receiving a current datagram requiring network address port translation, achieving translation of an inner network IP (internet protocol) address and a public network IP (internet protocol) address of the current datagram, wherein the public network IP address of the current datagram comprises N port queues, and N is an integer greater than 1; S2, selecting one port sequence in the N port queues according to an outer network IP address of the current datagram, and selecting a port which is not distributed in the selected port queue as a public network port number of the current datagram. According to the invention, judgment of a target IP is increased on a conversion method of PAT (port address translation); the same port number can be adopted as to different resources; multiplexing of the port is achieved; the different resources are expanded for N times relatively to the port resource, and the datagram is prevented from being abandoned due to exhausting of the port resource.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method and system for realizing network address translation. Background technique [0002] The Network Address Translation (NETWORK ADDRESS TRANSLATION, NAT) protocol realizes the mutual conversion between the IP address in the private network and the IP address in the public network, and the private network address corresponds to the public network address one by one. [0003] Network Address Port Translation (PORT ADDRESS TRANSLATION, PAT) is a variant of NAT, which allows multiple private network addresses to be mapped to the same public network address. It can also be called "many-to-one address translation" or "address multiplexing". . PAT maps IP addresses and port numbers at the same time. The source addresses of datagrams from different private network addresses can be mapped to the same public network address, but the port numbers of these datagrams from...

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
Inventor 陈海滨王晓凡
Owner OPZOON TECH
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