Network address converting attribute self-adaptive method and apparatus

A technology of attributes and address pools, applied in the field of NAT attribute adaptive methods and devices, can solve the problems of session table redundancy and inability to perform NAT, etc., achieve self-adaptation, ensure normal operation, and achieve simple effects

Active Publication Date: 2008-02-06
北京紫光通信科技集团有限公司
View PDF0 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] In view of this, the present invention provides a method and device for adapting NAT attributes to solve the problem of redundant session tables or inability to perform NAT in existing solutions when NAT attributes are changed.

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 converting attribute self-adaptive method and apparatus
  • Network address converting attribute self-adaptive method and apparatus
  • Network address converting attribute self-adaptive method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] In the existing solution, in order to avoid matching the original wrong session entry during link switching, the NAT outbound interface index restriction is added. Although NAT can be performed correctly, the original session entry and the new session entry exist at the same time. The reason for the redundancy of the session table is that the session table is not updated according to the latest rules of the rule table.

[0053] In this embodiment, in the query results of the session table and the rule table, a field is added. This field is used to store NAT_IDs representing different address pools. The NAT_IDs corresponding to different address pools are different. When the address pool changes, the corresponding The NAT_ID changes accordingly.

[0054] When looking up the session table, only the packet IP quintuple or part of the IP quintuple is used for indexing. Regardless of whether a session entry is matched or not, the rule table must be further searched. When l...

Embodiment 2

[0098] In Embodiment 1, since it is a link switch involving the change of the outgoing interface, the key of the index rule table includes the outgoing interface of the NAT device. The outbound interface of the NAT device is not included. When the remaining NAT attributes change, the change of the outgoing interface is not involved, and the above two keywords are not strictly limited. At this time, the keywords of the index rule table can be only IP quintuples, part of IP quintuples, or It is "IP quintuple / part of IP quintuple + outbound interface of NAT device"; similarly, the keyword for indexing the session table can be only IP quintuple, part of IP quintuple, or "IP quintuple Group / partial IP quintuple + outbound interface of NAT device".

[0099] In the first embodiment, the NAT_ID changes with the change of the address pool. Whether the change of the address range in the specific address pool leads to the change of the NAT_ID is not concerned, as long as the NAT_ID of e...

Embodiment 3

[0116]In Embodiment 1 and Embodiment 2, a new field is added to represent NAT_ID in the session table and the rule table, but in this embodiment, the original address pool ID in the NAT device is used as the NAT_ID, that is, in the session table and the rule table The address pool ID is added to the result of the rule table, and the address pool ID is used to distinguish each address pool. Obviously, the address pool IDs of each address pool are different. This embodiment is suitable for NAT attribute adaptation related to address change.

[0117] For link switching, it is only necessary to ensure that the address pool IDs are different. When the address range in the address pool changes, whether the address pool ID also changes is applicable, as long as the changed address pool ID is also unique. Adopt present embodiment to the processing procedure of link switching, similar to embodiment one, when searching session table, also be only with data packet IP quintuple or part IP...

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 present invention discloses a NAT characteristic self adapting method, which comprises the following steps; looking for dialogue table using data packet IP five tuple or part of IP five tuple as index to match the dialogue tables items that contains NAT_ID; besides looking for the regulation table using the data packet as key works to match the regulation table items that contains NAT_ID; judging the NAT_ID in the dialogue tables items and regulation table items, if is the same, processing NAT according to the dialogue tables items; otherwise, deleting dialogue tables items and building new dialogue tables items according to the regulation table items and processing the NAT according to the new dialogue tables items. The present invention can renew the dialogue tables immediately after the NAT regulations changing, so as to realize NAT attribution self adapting. Corresponding to the above method, the present invention also provides a NAT charactersitic self adapting device.

Description

technical field [0001] The present invention relates to the technical field of mobile communication NAT (Network Address Translation, network address translation), in particular to a method and device for adapting NAT attributes. Background technique [0002] NAT is to use the internal address inside the LAN, and when the internal node wants to communicate with the external network, replace the internal address with the global address, so as to access normally on the external public network (Internet). The global address refers to the address in the address pool allocated by NIC (Network Information Center, Network Information Center) or ISP (Internet Service Provider, Internet Service Provider). Or the ISP applies for multiple address pools, so that when a NIC or ISP link fails, it can be switched to other NICs or ISPs to ensure business continuity. NAT can meet the needs of multiple computers to share Internet connections. This technology solves the problem of shortage of...

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): H04L12/56H04L29/02H04L45/741
Inventor 卢胜文
Owner 北京紫光通信科技集团有限公司
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