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

Port allocation method and device for multi-core forwarding network address port translation

An allocation method and port technology, applied in the field of network communication, can solve the problem that the performance of multi-core forwarding NAPT needs to be improved, and achieve the effect of improving performance

Active Publication Date: 2018-09-14
NEUSOFT CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In related technologies, in the multi-core forwarding scenario, the locking method and common search algorithm are used to determine the port allocation strategy of NAPT. However, this port allocation strategy makes the multi-core forwarding NAPT performance need to be improved.

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
  • Port allocation method and device for multi-core forwarding network address port translation
  • Port allocation method and device for multi-core forwarding network address port translation
  • Port allocation method and device for multi-core forwarding network address port translation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar modules or modules having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.

[0021] figure 1 It is a schematic flow diagram of a port allocation method for multi-core forwarding NAPT proposed by an embodiment of the present invention, and the method includes:

[0022] S11: After receiving the message, check whether there is an unallocated port number in the independent resource pool independently occupied by the CPU.

[0023] For example, correspondin...

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 port allocation method and device for multi-core forwarding NAPT. The port allocation method for the multi-core forwarding NAPT comprises the following steps: after receiving a message, looking up whether unallocated port numbers exist in an independent resource pool occupied by a CPU independently; if so, determining a matched port number among the unallocated port numbers, and allocating the matched port number to the message; if not, looking up whether the unallocated port numbers exist in a shared resource pool shared by multiple cores; if the unallocated port numbers exist in the shared resource pool, determining the matched port number among the unallocated port numbers, and allocating the matched port number to the message; and if the unallocated port numbers do not exist in the shared resource pool, selecting an available CPU, and forwarding the message to the available CPU to be processed. The method can be used for improving the performance of multi-core forwarding NAPT.

Description

technical field [0001] The present invention relates to the technical field of network communication, in particular to a multi-core forwarding network address port translation (Network Address Port Translation, NAPT) port allocation method and device. Background technique [0002] NAPT is to convert the source Internet Protocol (IP) address of the data packet into another specified IP address, and at the same time perform Port Address Translation (PAT) on the initial source port, mainly for access from the internal network of the firewall In the case of the external network, the IP address used by the internal network is hidden to ensure the security of the private network to a certain extent. [0003] For network security vendors, the implementation of NAPT is mainly to select a legal IP address in the IP resource pool of Network Address Translation (NAT), and select an unused port number (1024-65535). How to find unused port numbers with high performance is the key perfor...

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/12
CPCH04L61/2517
Inventor 刘健男
Owner NEUSOFT CORP
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