Target port determination method, apparatus and device, and readable storage medium

A technology of target port and determination method, applied in the field of computer network, can solve the problems of large delay in information transmission, long time required for port allocation method, etc.

Pending Publication Date: 2020-07-24
SANGFOR TECH INC
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the object of the present invention is to provide a method for determining a target port, a device for determining a target port, a device for determining a target port, and a computer-r

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
  • Target port determination method, apparatus and device, and readable storage medium
  • Target port determination method, apparatus and device, and readable storage medium
  • Target port determination method, apparatus and device, and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0061] In one possible implementation, please refer to figure 1 , figure 1 It is a flow chart of a method for determining a target port provided by an embodiment of the present invention. The method includes:

[0062] S101: When a target request is acquired, determine target state data from state data respectively corresponding to multiple...

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 target port determination method, which comprises the following steps of: when a target request is obtained, determining target state data from state data respectively corresponding to a plurality of port sections; determining a target port section corresponding to the target state data by utilizing a preset corresponding relationship; traversing the target state data, and when idle information is detected, determining a port corresponding to the idle information in the target port segment as a target port; according to the method, traversal detection does not need tobe carried out on all ports; whether the idle port exists in the corresponding port segment or not is judged by utilizing the state data, and the target port is determined when the idle port exists in the port segment, so that the time required for determining the target port is reduced, the time required for the whole NAPT conversion is further reduced, and the information sending time delay isreduced; in addition, the invention also provides a target port determination device, target port determination equipment and a computer readable storage medium, which also have the above beneficial effects.

Description

technical field [0001] The present invention relates to the technical field of computer networks, in particular to a method for determining a target port, a device for determining a target port, equipment for determining a target port, and a computer-readable storage medium. Background technique [0002] NAPT (Network Address Port Translation), that is, network address port translation, uses a legal public network address to correspond to different internal addresses with different protocol port numbers, and converts internal network addresses and ports into external network addresses and ports. That is, the conversion between <internal address + internal port> and <external address + external port>. NAPT is commonly used in access devices, and it can hide small and medium-sized networks behind a legal IP address. NAPT is also called "one-to-many" NAT, or PAT (Port Address Translations, port address translation), address overloading (address overloading). [00...

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/25H04L61/2517
Inventor 丁跃
Owner SANGFOR TECH INC
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