Version caching mechanism
First Claim
1. A method for caching a supported protocol of a device, the method comprising:
- receiving a first request to establish a connection with the device, the request being associated with contact information related to the device;
using the contact information as a key or index into a protocol cache;
attempting to establish the connection with the device using a protocol associated with a previously stored protocol identifier if the previously stored protocol identifier is stored in association with the contact information;
attempting to establish the connection with the device with a first protocol if the previously stored protocol identifier is not stored in association with the contact information;
storing a first protocol identifier in a protocol cache in association with the contact information if the attempt to establish the connection with the device with the first protocol was successful;
attempting to establish a connection with the device with a second protocol if the attempt to establish the connection with the device with the first protocol was not successful; and
, storing a second protocol identifier in the protocol cache in association with the contact information if the attempt to establish the connection with the device with the second protocol was successful and the attempt to establish the connection with the device with the first protocol was not successful.
4 Assignments
0 Petitions
Accused Products
Abstract
A protocol identifier, such as, a GTP version identifier, is automatically cached in association with device contact information. Setup latency is reduced for subsequent connections. For instance, the cache indicates that a GGSN only supports GTPV0. An SGSN attempts to create a PDP context with the GGSN using GTPV0 without first trying GTPV1. If the cache does not include a version identifier for an APN IP address, the SGSN tries to create a context with a first version (e.g., GTPV1) and, if necessary, a second version (e.g., GTPV0). An identifier associated with the successful protocol is stored in the cache in association with the contact information (e.g., APN or APN IP address). Freshness of cached information is assured. For example, when all tunnels associated with an APN IP address are torn down, a flush timer is started. If the timer expires, the cache entry is removed.
-
Citations
26 Claims
-
1. A method for caching a supported protocol of a device, the method comprising:
-
receiving a first request to establish a connection with the device, the request being associated with contact information related to the device;
using the contact information as a key or index into a protocol cache;
attempting to establish the connection with the device using a protocol associated with a previously stored protocol identifier if the previously stored protocol identifier is stored in association with the contact information;
attempting to establish the connection with the device with a first protocol if the previously stored protocol identifier is not stored in association with the contact information;
storing a first protocol identifier in a protocol cache in association with the contact information if the attempt to establish the connection with the device with the first protocol was successful;
attempting to establish a connection with the device with a second protocol if the attempt to establish the connection with the device with the first protocol was not successful; and
,storing a second protocol identifier in the protocol cache in association with the contact information if the attempt to establish the connection with the device with the second protocol was successful and the attempt to establish the connection with the device with the first protocol was not successful. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for caching a GTP version of a GPRS support node, the method comprising:
-
receiving a GTP tunnel setup request message associated with an APN or APN IP address;
determining if a previously stored GTP version entry associated with the APN or APN IP address exists in a GTP version cache table;
if the previously stored GTP version entry does not exist;
attempting to establish a connection with the GPRS support node with a first version of GTP;
determining if the attempt to establish a connection with the GPRS support node with a first version of GTP was successful;
if the attempt to establish a connection with the GPRS support node with a first version of GTP was successful;
storing a first GTP version identifier in the GTP version cache table in association with the APN or APN IP address;
if the attempt to establish a connection with the GPRS support node with the first version of GTP was not successful;
attempting to establish a connection with the GPRS support node with a second version of GTP;
determining if the attempt to establish a connection with the GPRS support node with the second version of GTP was successful; and
if the attempt to establish a connection with the GPRS support node with a second version of GTP was successful;
storing a second GTP version identifier in the GTP version cache table in association with the APN or APN IP address. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. An SGSN operative to cache a GTP version associated with a GGSN, the SGSN comprising:
-
a GTP version cache including a plurality of GTP version identifiers in association with a respective plurality of APNs or APN IP addresses and a respective plurality of context counts;
means for receiving a GTP tunnel setup request message associated with an APN or an APN IP address;
means for attempting to establish a connection with the GPRS support node with a version of GTP associated with the previously stored GTP version identifier;
means for incrementing a context count when a context is successfully set up using an APN or APN IP address and a GTP version associated with a GTP version identifier stored in the GTP version cache in association with the APN IP address; and
,means for decrementing the context count when the context associated with the APN or APN IP address and the GTP version associated with the GTP version identifier stored in the GTP version cache in association with the APN or APN IP address, is torn down. - View Dependent Claims (21, 22, 23, 24, 25, 26)
-
Specification