Patent ID: 8185559

Claim:
A method for operating a telecommunications device using at least one hash table, comprising: storing first session data comprising received data packets in the at least one hash table by means of a first hash function; monitoring efficiency of the at least one hash table in performing at least a predetermined operation; and when the efficiency is below a predetermined threshold, storing second session data comprising received data packets in the at least one hash table by means of a second hash function different from the first hash function, temporarily preventing operations of insertion, deletion and retrieval in the at least one hash table, transferring the first session data and the second session data stored in the at least one hash table to a temporary data structure, initializing the at least one hash table to an empty state, inserting back the first session data and the second session data transferred to the temporary data structure into the at least one hash table by using the second hash function, and re-allowing the operations of insertion, retrieval and deletion on the at least one hash table.