Relay with efficient service change handling
First Claim
1. A relay device comprising:
- a processor;
a memory;
a communication interface; and
a plurality of connection objects, each of the plurality of connection objects comprising a respective queue of messages, each of the messages for relay in association with respective mobile devices via the communication interface,the processor configured to;
maintain, in the memory, a cache of associations data between respective identifiers of the connection objects and identifiers associated with respective messages respectively queued therein;
receive, from a server configured to manage service changes for the mobile devices, an indication of a termination of service of a given mobile device;
determine, from the cache, a subset of the plurality of connection objects comprising given messages associated with the given mobile device by comparing data in the indication with the associations data stored at the cache to determine which of the plurality of connection objects are presently queuing messages associated with the given mobile device; and
,communicate only with the subset to delete the given messages from their respective queues, while ignoring the remaining connection objects in association with deleting the given messages, so that no communication occurs with the remaining connection objects in association with receipt of the indication.
2 Assignments
0 Petitions
Accused Products
Abstract
A relay device with efficient service change handling, and method there for, is provided. The relay comprises: a processor; a memory; a communication interface; and a plurality of connection objects, each of the plurality of connection objects comprising a respective queue of messages, each of the messages for relay in association with respective devices via the communication interface, the processor enabled to maintain, in the memory, a cache of associations between respective identifiers of the connection objects and identifiers associated with respective messages respectively queued therein; receive an indication of a service change to a given device; determine, from the cache, a subset of the plurality of connection objects comprising given messages associated with the given device; and, communicate only with the subset to apply an action associated with the service change to the given messages, while ignoring the remaining connection objects.
11 Citations
18 Claims
-
1. A relay device comprising:
-
a processor; a memory; a communication interface; and a plurality of connection objects, each of the plurality of connection objects comprising a respective queue of messages, each of the messages for relay in association with respective mobile devices via the communication interface, the processor configured to; maintain, in the memory, a cache of associations data between respective identifiers of the connection objects and identifiers associated with respective messages respectively queued therein; receive, from a server configured to manage service changes for the mobile devices, an indication of a termination of service of a given mobile device; determine, from the cache, a subset of the plurality of connection objects comprising given messages associated with the given mobile device by comparing data in the indication with the associations data stored at the cache to determine which of the plurality of connection objects are presently queuing messages associated with the given mobile device; and
,communicate only with the subset to delete the given messages from their respective queues, while ignoring the remaining connection objects in association with deleting the given messages, so that no communication occurs with the remaining connection objects in association with receipt of the indication. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method comprising:
-
maintaining, in a memory of a relay device, a cache of associations data between respective identifiers of connection objects and identifiers associated with respective messages respectively queued therein, the relay device comprising a plurality of connection objects, each of the plurality of connection objects comprising a respective queue of messages, each of the messages for relay in association with respective mobile devices via a communication interface of the relay device; receiving, from a server configured to manage service changes for the mobile devices, at a processor of the relay device, an indication of a termination of service of a given mobile device; determining, from the cache, a subset of the plurality of connection objects comprising given messages associated with the given mobile device by comparing data in the indication with the associations data stored at the cache to determine which of the plurality of connection objects are presently queuing messages associated with the given mobile device; and
,the processor communicating only with the subset to delete the given messages, while ignoring the remaining connection objects in association with the deleting the given messages, so that no communication occurs with the remaining connection objects in association with receipt of the indication. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory computer program product, comprising a computer usable medium having a computer readable program code adapted to be executed to implement a method comprising:
-
maintaining, in a memory of a relay device, a cache of associations data between respective identifiers of connection objects and identifiers associated with respective messages respectively queued therein, the relay device comprising a plurality of connection objects, each of the plurality of connection objects comprising a respective queue of messages, each of the messages for relay in association with respective mobile devices via a communication interface of the relay device; receiving, from a server configured to manage service changes for the mobile devices, at a processor of the relay device, an indication of a termination of service of a given mobile device; determining, from the cache, a subset of the plurality of connection objects comprising given messages associated with the given mobile device by comoaring data in the indication with the associations data stored at the cache to determine which of the plurality of connection objects are presently queuing messages associated with the given mobile device; and
,the processor communicating only with the subset to delete the given messages, while ignoring the remaining connection objects in association with the deleting the given messages, so that no communication occurs with the remaining connection objects in association with receipt of the indication.
-
Specification