P
US7447220B2ExpiredUtilityPatentIndex 76

Methods and systems for packet classification with improved memory utilization in a media gateway

Assignee: SANTERA SYSTEMS LLCPriority: Oct 7, 2004Filed: Jan 7, 2005Granted: Nov 4, 2008
Est. expiryOct 7, 2024(expired)· nominal 20-yr term from priority
Inventors:LU DAVID ZHUOSHEI YEN
H04L 65/1083H04L 65/765H04L 65/103H04L 65/104H04L 65/80
76
PatentIndex Score
14
Cited by
31
References
42
Claims

Abstract

Methods and systems for classifying incoming and/or outgoing packets to sessions in a media gateway store session identifiers for active sessions in a media gateway in a memory. Each session identifier is a combination of a local network address, a local port number, a remote network address, and a remote port number for the session. Alternatively, each session identifier is a combination of a local network address and a local port number. An incoming and/or outgoing packet is classified to one of the active sessions by using network address and port number information from the packet to perform a lookup for a corresponding session identifier in the memory.

Claims

exact text as granted — not AI-modified
1. A method for classifying incoming packets to sessions in a media gateway, the method comprising:
 at a network interface in a media gateway: 
 (a) storing session identifiers for active sessions in the media gateway in a memory, each session identifier being a combination of a local network address and a local port number for the active session; and 
 (b) classifying an incoming packet to one of the active sessions by using a destination network address and a destination port number from the packet to perform a lookup for a corresponding session identifier in the memory. 
 
     
     
       2. The method of  claim 1  wherein each session identifier in the memory consists exclusively of the local network address and the local port number. 
     
     
       3. The method of  claim 1  wherein the local network address is an IP address and the local port number is a UDP port number. 
     
     
       4. The method of  claim 1  wherein storing session identifiers for active sessions in a media gateway in a memory comprises storing session identifiers in a content addressable memory. 
     
     
       5. The method of  claim 1  wherein classifying incoming packets to one of the active sessions comprises retrieving information about the session, the information being associated with the session identifier. 
     
     
       6. The method of  claim 5  wherein the retrieved information comprises a remote network address and a remote port number associated with the session. 
     
     
       7. The method of  claim 6  comprising verifying that the remote network address and the remote port number associated with the session corresponds to a source network address and a source port number of the packet. 
     
     
       8. The method of  claim 1  comprising classifying an outgoing packet to one of the active sessions. 
     
     
       9. The method of  claim 1  wherein each session identifier is assigned to a voice chip in the media gateway for a duration of the active session. 
     
     
       10. A method for classifying outgoing packets to sessions in a media gateway, the method comprising:
 at a network interface in a media gateway: 
 (a) storing session identifiers for active sessions in the media gateway in a memory, each session identifier being a combination of a local network address and a local port number for the active session; and 
 (b) classifying an outgoing packet to one of the active sessions by using a source network address and a source port number from the outgoing packet to perform a lookup for a corresponding session identifier in the memory. 
 
     
     
       11. The method of  claim 10  wherein each session identifier in the memory consists exclusively of the local network address and the local port number. 
     
     
       12. The method of  claim 10  wherein the local network address is an IP address and the local port number is a UDP port number. 
     
     
       13. The method of  claim 10  wherein storing session identifiers for active sessions in a media gateway in a memory comprises storing session identifiers in a content addressable memory. 
     
     
       14. The method of  claim 10  wherein classifying outgoing packets to one of the active sessions comprises retrieving information about the session, the information being associated with the session identifier. 
     
     
       15. The method of  claim 14  wherein the retrieved information comprises a remote network address and a remote port number associated with the session. 
     
     
       16. The method of  claim 15  comprising verifying that the remote network address and the remote port number associated with the session corresponds to a destination network address and a destination port number of the packet. 
     
     
       17. The method of  claim 10  comprising classifying an incoming packet to one of the active sessions. 
     
     
       18. The method of  claim 10  wherein each session identifier is assigned to a voice chip in the media gateway for a duration of the active session. 
     
     
       19. A method for classifying incoming and outgoing packets to sessions in a media gateway, the method comprising:
 at a network interface in a media gateway: 
 (a) storing session identifiers for active sessions in the media gateway in a memory, each session identifier including a combination of at least a local network address and a local port number for the active session; 
 (b) classifying an incoming packet to one of the active sessions by using at least a destination network address and a destination port number from the packet to perform a lookup for a corresponding session identifier in the memory; and 
 (c) classifying an outgoing packet to one of the active sessions by using at least a source network address and a source port number to perform a lookup for the same corresponding session identifier in the memory. 
 
     
     
       20. The method of  claim 19  wherein storing session identifiers for active sessions in a media gateway in a memory comprises storing session identifiers in a content addressable memory. 
     
     
       21. The method of  claim 19  wherein each session identifier is assigned to a voice chip in the media gateway for a duration of the active session. 
     
     
       22. A system for classifying incoming packets to sessions in a media gateway, the system comprising:
 (a) a memory for storing session identifiers for active sessions in a media gateway, each session identifier being a combination of a local network address and a local port number for the session active session; and 
 (b) a network processor operatively associated with the memory and including logic configured to classify incoming packets to one of the active sessions by using a destination network address and a destination port number from the packet to perform a lookup for a corresponding session identifier in the memory, wherein the memory and the network processor are located at a network interface in the media gateway. 
 
     
     
       23. The system of  claim 22  wherein each session identifier in the memory consists exclusively of the local network address and the local port number. 
     
     
       24. The system of  claim 22  wherein the local network address is an IP address and the local port number is a UDP port number. 
     
     
       25. The system of  claim 22  wherein the memory is a content addressable memory. 
     
     
       26. The system of  claim 22  wherein the network processor includes logic configured to retrieve information about the session from the memory, the information being associated with the session identifier. 
     
     
       27. The system of  claim 26  wherein the retrieved information comprises a remote network address and a remote port number associated with the session. 
     
     
       28. The system of  claim 27  wherein the network processor includes logic configured to verify that the remote network address and the remote port number associated with the session corresponds to a source network address and a source port number of the packet. 
     
     
       29. The system of  claim 22  wherein the network processor includes logic configured to classify outgoing packets by performing a lookup in the memory. 
     
     
       30. The system of  claim 22  wherein each session identifier is assigned to a voice chip in the media gateway for a duration of the active session. 
     
     
       31. A system for classifying outgoing packets to sessions in a media gateway, the system comprising:
 (a) a memory for storing session identifiers for active sessions in a media gateway, each session identifier being a combination of a local network address and a local port number for the session active session; and 
 (b) a network processor operatively associated with the memory for classifying outgoing packets to one of the active sessions by using a source network address and a source port number to perform a lookup for a corresponding session identifier in the memory, wherein the memory and the network processor are located at a network interface in the media gateway. 
 
     
     
       32. The system of  claim 31  wherein each session identifier in the memory consists exclusively of the local network address and the local port number. 
     
     
       33. The system of  claim 31  wherein the local network address is an IP address and the local port number is a UDP port number. 
     
     
       34. The system of  claim 31  wherein the memory is a content addressable memory. 
     
     
       35. The system of  claim 31  wherein the network processor includes logic configured to retrieve information about the session from the memory, the information being associated with the session identifier. 
     
     
       36. The system of  claim 35  wherein the retrieved information comprises a remote network address and a remote port number associated with the session. 
     
     
       37. The system of  claim 36  wherein the network processor includes logic configured to verify that the remote network address and the remote port number associated with the session corresponds to a destination network address and a destination port number of the packet. 
     
     
       38. The system of  claim 31  wherein the network processor includes logic configured to classify incoming packets by performing a lookup in the memory. 
     
     
       39. The system of  claim 31  wherein each session identifier is assigned to a voice chip in the media gateway for a duration of the active session. 
     
     
       40. A system for classifying incoming and outgoing packets to sessions in a media gateway, the system comprising:
 (a) a memory for storing session identifiers for active sessions in a media gateway, each session identifier including a combination of at least a local network address and a local port number for the session active session; and 
 (b) a network processor operatively associated with the memory for classifying both incoming and outgoing packets to one of the active sessions using a combination of addresses from each packet to perform a lookup for a corresponding session identifier in the memory, wherein the memory and the network processor are located at a network interface in the media gateway. 
 
     
     
       41. The system of  claim 40  wherein the memory is a content addressable memory. 
     
     
       42. The system of  claim 40  wherein each session identifier is assigned to a voice chip in the media gateway for a duration of the active session.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.