# US 10,958,738 B2 · Timer services

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,958,738 B2
- Document ID: US10958738B2
- Status: Granted
- Kind: B2
- Application number: 16/275,151
- Filed: 2019-02-13
- Published: 2019-06-13
- Granted: 2021-03-23
- Earliest claimed: 2014-01-24
- Assignees: Metaswitch Network Ltd.
- Applicants: Metaswitch Networks Ltd.
- Inventors: Andrew Caldwell; Matthew Williams; Michael Jeffrey Evans
- Web page: https://patentgrep.com/patent/US10958738B2

## CPC

- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- H04L 69/28: Timers or timing mechanisms used in protocols
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Measures for providing timer services in a network including a cluster of nodes responsible for providing timer services to clients. At a given node in the cluster, a request to provide a timer is received from a client. Configuration of a primary replica of the requested timer on a first node in the cluster to pop after a first time has elapsed is initiated. A first timer replication message is transmitted to a second node in the cluster, the first timer replication message indicating that the second node should configure a first backup replica of the requested timer. A second timer replication message is transmitted to a third node in the cluster, the second timer replication message indicating that the third node should configure a second backup replica of the requested timer. Popping of the primary, first backup or second backup timer replicas includes initiating callback of a given client.

## Claims

### Claim 1

A method of identifying nodes in a network, the network comprising a cluster of nodes for clients in the network, the method comprising:
receiving, by a given node in the cluster, from a client, an update request to apply an update to a given function configured as respective replicas of the given function on a plurality of nodes in the cluster, the update request comprising an identifier for the given function, the identifier for the given function comprising information encoded using a probabilistic set, the encoded information being associated with the plurality of nodes on which the given function has been configured;
decoding, by the given node, the encoded information to identify the plurality of nodes on which the respective replicas of the given function have been configured;
transmitting, by the given node, at least one replica function update message to one or more nodes of the plurality of nodes to instruct update of configured replicas of the given function of the one or more nodes according to the update request by the client;
determining, by a first node in the cluster, first determined nodes, on which replicas of the given function were configured, prior to receipt of the update request in relation to a previously requested function replica creation process, according to a deterministic process on basis of the identifier for the given function and nodes which the first node believed were in the cluster at a time of the function replica creation process, wherein the probabilistic set used by the first node to encode the first determined nodes comprises a first bloom filter;
determining, by the given node, second determined nodes, on which replicas of the given function are to be updated, according to a deterministic process on basis of the identifier for the given function and nodes which the given node believes are in the cluster at a time of the receipt of the update request;
generating a second bloom filter to encode the second determined nodes;
comparing the first bloom filter to the second bloom filter; and
in response to the comparison indicating at least one discrepancy between the first determined nodes and the second determined nodes, transmitting at least one further replica function update message to at least one further node to instruct update of a configured replica of the given function of the at least one further node according to the update request by the client.

### Claim 2 (depends on 1)

A method according to claim 1, wherein the first bloom filter produces a positive response when queried for a presence of a predetermined identifier for any of the plurality of nodes.

### Claim 3 (depends on 1)

A method according to claim 1, comprising generating the first bloom filter by:
for each of the plurality of nodes, generating a replica-specific bloom filter on basis of an identifier for each of the plurality of nodes; and
performing a binary OR operation between the replica-specific bloom filter generated for each of the plurality of nodes.

### Claim 4 (depends on 3)

A method according to claim 3, wherein generating a replica-specific bloom filter for a second node in the plurality of nodes comprises performing a hashing operation on a predetermined identifier for the second node.

### Claim 5 (depends on 1)

A method according to claim 1, comprising maintaining a store of stored identifiers for stored nodes that the given node believes are currently in the cluster, and
comparing the decoded information with the stored identifiers in the store.

### Claim 6 (depends on 5)

A method according to claim 5, comprising:
calculating which bits in the first bloom filter would have to be set if each of the stored nodes identified in the store is in the plurality of nodes, wherein the calculating comprises looking up identifiers in the store; and
checking for a presence of the calculated set bits in the first bloom filter.

### Claim 7 (depends on 1)

A method according to claim 1, wherein the first determined nodes comprises the at least one further node.

### Claim 8 (depends on 1)

A method according to claim 1, comprising notifying a client of the second bloom filter.

### Claim 9 (depends on 1)

A method according to claim 1, wherein the function replica creation process was carried out by the given node.

### Claim 10 (depends on 1)

A method according to claim 1, wherein the function replica creation process was carried out by a different node to the given node in the cluster.

### Claim 11 (depends on 1)

A method according to claim 1, wherein the function replica creation process was previously requested by a different client, to the client from which the update request was received.

### Claim 12 (depends on 1)

A method according to claim 1, wherein the given function comprises a timer function.

### Claim 13 (depends on 12)

A method according to claim 12, wherein a popping of the timer function comprises initiating callback of a client by a respective configured replica.

### Claim 14 (depends on 1)

A method according to claim 1, wherein the update request comprises a request to apply one or more changes to an existing given function configured on the plurality of nodes.

### Claim 15 (depends on 14)

A method according to claim 14, wherein the given function comprises a timer function, and the one or more changes relate to one or more of the following in relation to the timer function:
a different configured pop time,
a different number of configured replicas, and
a different number of configured recurrences.

### Claim 16 (depends on 1)

A method according to claim 1, wherein the update request comprises a request to delete an existing given function configured on the plurality of nodes.

### Claim 17 (depends on 1)

A method according to claim 1, further comprising identifying at least one node in the cluster of nodes on which a replica of the given function has not been configured, and transmitting a replica update message to the at least one node in the cluster which is not in the plurality of nodes.

### Claim 18 (depends on 1)

A method according to claim 1, wherein the client from which the update request was received is co-located with the given node.

### Claim 19 (depends on 1)

A method according to claim 1, wherein the client from which the update request was received is located remotely from the given node.

### Claim 20 (depends on 1)

A method according to claim 1, wherein the encoded information comprises 64 bits encoded information.

### Claim 21 (depends on 20)

A method according to claim 20, wherein the identifier for the given function comprises a 64-bit number and the 64-bit encoded information.

### Claim 22

A system, of identifying nodes in a network, the network comprising a cluster of nodes for clients in the network, the system comprising:
non-transitory memory and one processor to perform:
receive, by a given node in the cluster, from a client, an update request to apply an update to a given function configured as respective replicas of the given function on a plurality of nodes in the cluster, the update request comprising an identifier for the given function, the identifier for the given function identifier comprising information encoded using a probabilistic set, the encoded information being associated with the plurality of nodes on which the given function has been configured;
decode, by the given node, the encoded information to identify the plurality of nodes on which the respective replicas of the given function have been configured;
transmit, by the given node, at least one replica function update message to one or more nodes of the plurality of nodes to instruct update of configured replicas of the given function of the one or more nodes according to the update request by the client;
determining, by a first node in the cluster, first determined nodes, on which replicas of the given function were configured, prior to receipt of the update request in relation to a previously requested function replica creation process, according to a deterministic process on basis of the identifier for the given function and nodes which the first node believed were in the cluster at a time of the function replica creation process, wherein the probabilistic set used by the first node to encode the first determined nodes comprises a first bloom filter;
determining, by the given node, second determined nodes, on which replicas of the given function are to be updated, according to a deterministic process on basis of the identifier for the given function and nodes which the given node believes are in the cluster at a time of the receipt of the update request;
generating a second bloom filter to encode the second determined nodes;
comparing the first bloom filter to the second bloom filter; and
in response to the comparison indicating at least one discrepancy between the first determined nodes and the second determined nodes, transmitting at least one further replica function update message to at least one further node to instruct update of a configured replica of the given function of the at least one further node according to the update request by the client.

### Claim 23

A non-transitory computer readable medium storing instructions that, when executed by one processor, perform a method of identifying nodes in a network, the network comprising a cluster of nodes for clients in the network, the method comprising:
receiving, by a given node in the cluster, from a client, an update request to apply an update to a given function configured as respective replicas of the given function on a plurality of nodes in the cluster, the update request comprising an identifier for the given function, the identifier for the given function comprising information encoded using a probabilistic set, the encoded information being associated with the plurality of nodes on which the given function has been configured;
decoding, by the given node, the encoded information to identify the plurality of nodes on which the respective replicas of the given function have been configured;
transmitting, by the given node, at least one replica function update message to one or more nodes of the plurality of nodes to instruct update of configured replicas of the given function of the one or more nodes according to the update request by the client;
determining, by a first node in the cluster, first determined nodes, on which replicas of the given function were configured, prior to receipt of the update request in relation to a previously requested function replica creation process, according to a deterministic process on basis of the identifier for the given function and nodes which the first node believed were in the cluster at a time of the function replica creation process, wherein the probabilistic set used by the first node to encode the first determined nodes comprises a first bloom filter;
determining, by the given node, second determined nodes, on which replicas of the given function are to be updated, according to a deterministic process on basis of the identifier for the given function and nodes which the given node believes are in the cluster at a time of the receipt of the update request;
generating a second bloom filter to encode the second determined nodes;
comparing the first bloom filter to the second bloom filter; and
in response to the comparison indicating at least one discrepancy between the first determined nodes and the second determined nodes, transmitting at least one further replica function update message to at least one further node to instruct update of a configured replica of the given function of the at least one further node according to the update request by the client.
