Distributing publication messages to devices
First Claim
1. A system comprising:
- at least one processor;
a memory device including instructions that, when executed by the at least one processor, cause the system to;
receive, at a first device gateway, a publication message from a device, wherein the first device gateway is one of a plurality of device gateways that (1) act as gateways to a service provider environment and (2) broadcast publication messages to devices subscribed to a broadcast topic using subscription tables maintained by the plurality of device gateways and (3) forward messages published to non-broadcast topics to a centralized publication-subscription service located in the service provider environment;
determine, at the first device gateway, that the publication message is for broadcast to other devices subscribed to the broadcast topic;
obtain from a first subscription table a device listing of the devices which are in network connection with the first device gateway and are subscribed to the broadcast topic;
send the publication message to the devices indicated in the device listing; and
send the publication message to a second device gateway, which is included in the plurality of device gateways, that maintains a second subscription table indicating which of the devices in network connection with the second device gateway are subscribed to receive the publication message via the broadcast topic.
1 Assignment
0 Petitions
Accused Products
Abstract
A technology is described for distributing a publication message. An example method may include receiving a message at a first device gateway to broadcast to devices subscribed to a broadcast topic. The first device gateway maintains a first subscription table indicating which devices connected to the first device gateway are subscribed to the broadcast topic. The first device gateway distributes the message to the devices indicated in the first subscription table as being subscribed to the broadcast topic. In addition, the first device gateway may distribute the message to a second device gateway which maintains a second subscription table indicating which devices connected to the second device gateway are subscribed to the broadcast topic, and the second device gateway distributes the message to the devices indicated in the second subscription table as being subscribed to the broadcast topic.
38 Citations
20 Claims
-
1. A system comprising:
-
at least one processor; a memory device including instructions that, when executed by the at least one processor, cause the system to; receive, at a first device gateway, a publication message from a device, wherein the first device gateway is one of a plurality of device gateways that (1) act as gateways to a service provider environment and (2) broadcast publication messages to devices subscribed to a broadcast topic using subscription tables maintained by the plurality of device gateways and (3) forward messages published to non-broadcast topics to a centralized publication-subscription service located in the service provider environment; determine, at the first device gateway, that the publication message is for broadcast to other devices subscribed to the broadcast topic; obtain from a first subscription table a device listing of the devices which are in network connection with the first device gateway and are subscribed to the broadcast topic; send the publication message to the devices indicated in the device listing; and send the publication message to a second device gateway, which is included in the plurality of device gateways, that maintains a second subscription table indicating which of the devices in network connection with the second device gateway are subscribed to receive the publication message via the broadcast topic. - View Dependent Claims (2, 3, 4)
-
-
5. A computer implemented method, comprising:
-
receiving, at a first device gateway, a publication message, wherein the first device gateway is one of a plurality of device gateways which act as gateways to a service provider environment and broadcast publication messages to devices subscribed to a broadcast topic using subscription tables and forward messages published to non-broadcast topics to a centralized publication-subscription service located in the service provider environment; determining, at the first device gateway, that the publication message is for broadcast to the devices subscribed to the broadcast topic; obtaining subscription information from a first subscription table indicating the devices subscribed to the broadcast topic; sending the publication message to the devices which are subscribed to the broadcast topic and are in network connection with the first device gateway; and sending the publication message to a second device gateway to be broadcast to the devices connected to the second device gateway, which are subscribed to the broadcast topic. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory machine readable storage medium having instructions embodied thereon, the instructions when executed by a processor:
-
receive, at a first device gateway, a publication message, wherein the first device gateway is one of a plurality of device gateways that act as gateways to a service provider environment, and broadcast publication messages to devices subscribed to a broadcast topic using subscription tables maintained by the plurality of device gateways, and forward messages published to non-broadcast topics to a centralized publication-subscription service located in the service provider environment; determine, at the first device gateway, that the publication message is to be broadcast to the devices subscribed to the broadcast topic; identify a subscription table in computer memory for the first device gateway that indicates which of the devices in network connection with the first device gateway are subscribed to the broadcast topic; query the subscription table to identify the devices subscribed to the broadcast topic in response to receiving the publication message; send the publication message to the devices, in network connection with the first device gateway, which are identified as being subscribed to the broadcast topic; and send the publication message to a second device gateway included in the plurality of device gateways to allow the publication message to be distributed to the devices connected to the second device gateway subscribed to the broadcast topic. - View Dependent Claims (18, 19, 20)
-
Specification