Patent ID: 8612601

Claim:
A management method for network address translation, comprising: obtaining, by a management device for network address translation, a network resource section of a client and using state information of the network resource section; wherein the network resource section comprises a port range, or the network resource section comprises a port range and an IP address that is corresponding to the port range; wherein using state information of the network resource section comprises one of: an occupancy rate of the port range, an idleness rate of the port range, a number of idle ports in the port range; adjusting, by the management device for network address translation, the port range in the network resource section according to the using state information of the network resource section, wherein the adjusted network resource section can provide a network resource for all connections of the client; respectively establishing, by the management device for network address translation, a network address translation entry for each of the connection of the client according to the adjusted network resource section; and establishing, by the management device for network address translation, a corresponding log record for the network resource section; wherein adjusting the network resource section according to the using state information of the network resource section comprises: if the occupancy rate of the port range is greater than or equal to a preset occupancy rate threshold or the idleness rate of the port range is smaller than a preset idleness rate threshold, adding a new port range into the network resource section of the client; or if the number of idle ports in the port range is smaller than or equal to a preset idle number threshold, adding a new port range into the network resource section of the client.