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

A kind of method and device for keeping alive NAT equipment

A device and state maintenance technology, applied in the field of communication, to achieve the effect of reducing the burden of signaling processing and reducing the burden

Active Publication Date: 2017-11-10
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for keeping alive a NAT device, so as to at least solve the extra burden on the client-side device or the server-side device caused by the generation of a large number of useless keep-alive data packets in the existing NAT device keep-alive mechanism And the problem of extra signaling processing burden on the network side equipment caused by the transmission of a large number of useless keep-alive data packets

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
  • A kind of method and device for keeping alive NAT equipment
  • A kind of method and device for keeping alive NAT equipment
  • A kind of method and device for keeping alive NAT equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] An embodiment of the present invention provides a method for keeping alive a NAT device, specifically as figure 1 shown, including:

[0033] S101. After a first connection is established for a first application, acquire a first state retention time of the first connection corresponding to the first application.

[0034] Wherein, the first state keeping time refers to the state keeping time required by the first connection corresponding to the first application. When establishing a connection for different applications, depending on the type of the application and the type of the connection, the required state holding time may be different, which is not specifically limited in this embodiment of the present invention.

[0035] Specifically, the first connection in this embodiment of the present invention may be a connection based on the TCP protocol, or a connection based on the UDP protocol, etc., which is not specifically limited in this embodiment of the present invent...

Embodiment 2

[0094] An embodiment of the present invention provides a keep-alive device 1 of a network address translation NAT device, such as Figure 5 As shown, the keep-alive device 1 includes: an acquisition unit 10 , a determination unit 11 , a timer reset unit 12 , and a counter counting unit 13 .

[0095] Wherein, the obtaining unit 10 is configured to obtain the first state retention time of the first connection corresponding to the first application after the first connection is established for the first application;

[0096] The determination unit 11 is configured to determine the observation time and the number of automatic resets of the first connection according to the first state retention time in combination with a preset strategy, wherein, when the first state retention time is greater than the uniformly set second state of the first connection During the holding time, the observation time is less than the second state holding time;

[0097] The timer reset unit 12 is 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
Login to View More

PUM

No PUM Login to View More

Abstract

An embodiment of the invention provides a keep-alive method and device of an NAT (Network Address Translation) device, and at least aims to solve the problems of the existing NAT device keep-alive mechanism of additional burden on client side devices or server side devices due to generation of a large number of useless keep-alive data packets, and additional signaling processing burden on network side devices caused by transmission of the large number of the useless keep-alive data packets. The keep-alive method includes: obtaining first state keeping time of first connection corresponding to a first application; determining the observation time and the automatic reset number of the first connection according to the first state keeping time by combining a preset strategy, wherein the observation time is smaller than second state keeping time when the fist state keeping time is larger than the unified second state keeping time of the first connection; conducting loop execution when the automatic reset number is zero; when the lost state keeping time is equal to the observation time, resetting the second state keeping time and subtracting one from the automatic reset number to obtain the updated automatic reset number. The keep-alive method and device are applicable to the communication field.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for keeping alive a NAT device. Background technique [0002] With the development of electronic technology and network technology, computer networks have gradually entered people's daily life. Many electronic devices in daily life may need to be connected to the global Internet. Therefore, the Internet Protocol version 4 (Internet Protocol version 4, IPv4) addresses are facing the problem of insufficient available numbers. Currently, Network Address Translation (NAT) is one of the main means to slow down the depletion of IPv4 address space. [0003] NAT is a process of converting an IP address in an Internet Protocol (Internet Protocol, IP) packet header into another IP address. When a NAT device is in use, NAT aging occurs. NAT aging means that the NAT device adopts a timeout timer with a configurable timeout period of the mapping state. If a specific entry is n...

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/2503
Inventor 华一强王光全夏俊杰王海军
Owner CHINA UNITED NETWORK COMM GRP 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