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

Network address translation method and device, gateway equipment and storage medium

A technology of network address translation and gateway equipment, which is applied in the fields of devices, network address translation methods, gateway equipment and storage media, and can solve the problems that NAT gateways do not support destination network address translation and cannot map public network IP.

Active Publication Date: 2020-06-23
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF3 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing NAT gateway does not support destination network address translation, and cannot map the public network IP on the NAT gateway to the cloud computing instance in the cloud server in the VPC (Virtual Private Cloud, referred to as a virtual private cloud). If the cloud computing instance can provide Internet services, it is necessary to purchase additional load balancing products to realize this scenario

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 address translation method and device, gateway equipment and storage medium
  • Network address translation method and device, gateway equipment and storage medium
  • Network address translation method and device, gateway equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] figure 1 It is a schematic flow chart of the network address translation method provided in Embodiment 1 of the present application. The method can be executed by a network address translation device or a gateway device. The device or gateway device can be implemented by software and / or hardware. The device or gateway The device can be integrated in any smart device with network communication function. Such as figure 1 As shown, the network address translation method may include the following steps:

[0057] S101. Receive the IP access data packet sent by the public network device; wherein, the source IP address, destination IP address, source port number and destination port number of the IP access data packet are respectively: the IP address of the public network device, the destination of the gateway device IP address, port number of the public network device, and port number of the gateway device.

[0058] In a specific embodiment of the present application, the ...

Embodiment 2

[0069] figure 2 It is a schematic flowchart of the network address translation method provided in Embodiment 2 of the present application. Such as image 3 As shown, the network address translation method may include the following steps:

[0070] S201. Periodically send a heartbeat data packet to the management server; receive a response data packet returned by the management server.

[0071] In a specific embodiment of the present application, the gateway device may periodically send a heartbeat data packet to the management server; and receive a response data packet returned by the management server. Specifically, the heartbeat data packet sent by the gateway device to the management server may include status information of the preset IP data table. The status information of the IP data packet may include: the update succeeds or the update fails. After the management server receives the heartbeat data packet sent by the gateway device, it can perform corresponding opera...

Embodiment 3

[0095] image 3 It is a schematic structural diagram of a network address translation device provided in Embodiment 3 of the present application. Such as image 3 As shown, the device 300 includes: a receiving module 301, a determining module 302, a converting module 303 and a sending module 304; wherein,

[0096] The receiving module 301 is configured to receive an IP access data packet sent by a public network device; wherein, the source IP address, destination IP address, source port number, and destination port number of the IP access data packet are respectively: the public network The IP address of the device, the destination IP address of the gateway device, the port number of the public network device, and the port number of the gateway device;

[0097] The determining module 302 is configured to determine the IP address and The port number;

[0098] The conversion module 303 is configured to convert the destination IP address in the IP access data packet into 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 discloses a destination address conversion method and device, gateway equipment and a storage medium, and relates to the computer network technology. The specific implementation scheme is as follows: receiving an IP access data packet sent by public network equipment; determining an IP address and a port number of a cloud server in a virtual private cloud VPC corresponding to the IPaccess data packet according to an elastic public network internet protocol address EIP instance pre-bound by the management server and a pre-created network address translation rule corresponding toeach EIP instance; converting a destination IP address in the IP access data packet into an IP address of a cloud server; converting a destination port number in the IP access data packet into a portnumber of a cloud server; and sending the converted IP access data packet to a cloud server. According to the embodiment of the invention, the gateway device can support the destination network address translation, so that the public network IP can be mapped to the cloud computing instance in the cloud server for use.

Description

technical field [0001] The present application relates to the field of computer application technology, and further relates to computer network technology, especially a network address translation method, device, gateway device and storage medium. Background technique [0002] Network Address Translation (NAT for short) gateways provide access to the Internet for private networks, allowing multiple cloud servers to share public network IP resources to access the Internet. Specifically, the NAT gateway can be bound to an Elastic IP Address (EIP for short) instance and shared bandwidth to implement many-to-one or many-to-many connections from internal network addresses to public network addresses for cloud servers. Address translation service. That is, when the internal network address wants to access the service on the public network address (such as web page access), the internal address will actively initiate a connection, and the gateway on the router or firewall will per...

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
IPC IPC(8): H04L29/12
CPCH04L61/2503H04L61/255H04L61/2557
Inventor 雷思源黄志峰
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
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