Message forwarding method and device

A technology for forwarding messages and messages, applied to electrical components, transmission systems, etc., can solve the problems of occupied sessions, large resources occupied by static configuration, inconvenient maintenance, etc., to reduce the resources occupied by sessions and reduce manual maintenance Effect

Inactive Publication Date: 2014-12-03
ZTE CORP
View PDF2 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the external network access setup that needs to keep the port mappings of the internal network and the external network consistent, static NAPT must be used to set the port mappings of the internal network and the external network one by one.
In this way, the static configuration takes up too much resources, it is very inconvenient to maintain manually, and the number of sessions is occupied

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
  • Message forwarding method and device
  • Message forwarding method and device
  • Message forwarding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] Embodiment 1, according to such as image 3 The shown structure builds a network, and the method for forwarding messages provided by the present invention includes:

[0069] Step 301: Set the IP address of the intranet server to 192.168.0.1, and the IP address of host 1 to 192.168.0.1.

[0070] Step 302: The NAT device configures the IP address 202.1.1.1 in the IP address pool of the external network.

[0071] Step 303: Configure static network address port group translation rules on the NAT device.

[0072] The static conversion rule of the network address port group includes: for the intranet packets with the source address 192.168.0.1 source port 1 to 1024 port range, perform network address port group conversion, and convert to the IP address 202.1.1.1 port in a certain address pool The range is 1 to 1024.

[0073] After the rules are configured, the 202.1.1.1 address and port number range and the source IP address 192.168.0.1 address and port number range esta...

Embodiment 2

[0076] Embodiment two, according to such as image 3 The shown structure builds a network, and the method for forwarding messages provided by the present invention includes:

[0077] Step 401: Set the IP address of the intranet server to 192.168.0.1, and the IP address of host 1 to 192.168.0.1.

[0078] Step 402: The NAT device configures IP addresses 202.1.1.1 and 202.1.1.2 in the IP address pool of the external network.

[0079] Step 403: After the dynamic network address port group translation rule is configured on the NAT device, step 404 and step 405 are executed.

[0080] The network address port group dynamic conversion rule includes: For all intranet packets whose source IP address is in the range of 192.168.0.1 to 192.168.0.254 and the port interval is 1 to 1024, perform network address port group conversion, through the above configuration IP addresses and ports in the address pool are dynamically converted.

[0081] Step 404: When the NAT device receives the mess...

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

Disclosed is a method for forwarding a message, comprising: if a suited network address port group translation entry is found according to a source Internet protocol (IP) address and a source port number or a target IP address and a target port number of a received message, then conducting translation on the message according to the network address port group translation entry and sending the message out. Further disclosed is a device for forwarding a message. By adopting the present invention, a memory resource occupied by static configuration network address port translation (NAPT) rules and entries can be reduced, and configurations can be effectively reduced, thereby facilitating maintenance.

Description

technical field [0001] The invention relates to the address conversion technology in the field of mobile communication, in particular to a method and device for forwarding messages. Background technique [0002] Network Address Port Translation (NAPT, Network Address Port Translation) is a familiar packet translation method, commonly used in access devices, and can hide small and medium-sized networks behind legal Internet Protocol (IP, Internet Protocol) addresses . The main advantage of NAPT is the ability to use one globally valid IP address for versatility. [0003] However, in the external network access setup that needs to keep the port mappings of the internal network and the external network consistent, static NAPT must be used to set the port mappings of the internal network and the external network one by one. In this way, the static configuration takes up too much resources, it is very inconvenient to maintain manually, and the number of sessions is occupied. ...

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
CPCH04L61/2514H04L61/2517
Inventor 王君
Owner ZTE CORP
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