Apparatus and method for NAT/NAPT session management
First Claim
1. A method for network session management used in a switch controller comprising a memory, comprising:
- storing related information of a network session into the memory, wherein the related information comprises at least an indication and a connection time, wherein the connection time is equal to a predetermined value of T and the indication shows that the related information is valid;
increasing the connection time by a first value every default unit time; and
changing the indication to show that the related information is invalid if the connection time reaches a first threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides an apparatus and method for NAT/NAPT session management used in a network switch controller. The apparatus comprises a translation table for storing related information of NAT/NAPT sessions, a register for storing setting values required by the apparatus, and a control logic for managing the NAT/NAPT sessions based on the setting values stored in the register and the related information in the translation table. The apparatus offers a connection time to each NAT/NAPT session and decreases it every unit time. When it is reduced to zero, the related information of the session is invalidated and the session is then disconnected. The apparatus stores related information of NAT/NAPT sessions and offers associated connection time and unit time based on the protocols used, thereby invalidating the related information timely to empty part of the translation table for storing related information of other sessions. Thus, efficient and automatic management for NAT/NAPT sessions is achieved to avoid that limited translation table is occupied by time-exceeded or disconnected sessions, thereby upgrading NAT/NAPT performance.
76 Citations
35 Claims
-
1. A method for network session management used in a switch controller comprising a memory, comprising:
-
storing related information of a network session into the memory, wherein the related information comprises at least an indication and a connection time, wherein the connection time is equal to a predetermined value of T and the indication shows that the related information is valid;
increasing the connection time by a first value every default unit time; and
changing the indication to show that the related information is invalid if the connection time reaches a first threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. An apparatus for Network Address Translation (NAT)/Network Address-Port Translation (NAPT) session management used in a switch controller comprising a packet translation module for performing NAT/NAPT of packets, comprising:
-
a translation table, which is coupled to the packet translation module, comprising a plurality of storage locations, wherein each storage location is used to store related information of a NAT/NAPT session, and the related information comprises at least an indication and a connection time; and
a control logic, coupled to the packet translation module and the translation table, accessing the related information, and managing the NAT/NAPT session based on the related information;
wherein the control logic stores the related information into the translation table, wherein the connection time is equal to a predetermined value of T and the indication shows that the related information is valid, then the control logic increases the connection time by a first value every default unit time and changes the indication to show that the related information is invalid if the connection time reaches a first threshold. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
-
34. A switch controller for managing Network Address Translation (NAT)/Network Address-Port Translation (NAPT) sessions, comprising:
-
a translation table having a plurality of storage locations, wherein each storage location is used to store related information of a NAT/NAPT session, and the related information comprises an indication and a connection time;
a packet translation module, coupled to the translation table, performing NAT/NAPT of packets;
a control logic, coupled to the packet translation module and the translation table, accessing the related information, and managing the NAT/NAPT session based on the related information;
wherein the control logic stores the related information into the translation table, wherein the connection time is equal to a predetermined value of T and the indication shows that the related information is valid, then the control logic increases the connection time by a first value every default unit time and changes the indication to show that the related information is invalid if the connection time reaches a first threshold. - View Dependent Claims (35)
-
Specification