Publish-subscribe messaging with distributed processing
First Claim
Patent Images
1. A computer-implemented method for distributed processing of raw data in a publish-subscribe system, comprising:
- determining, by a broker node managing publish-subscribe messaging of nodes in the publish-subscribe system, a schema defining a structure to be applied to the raw data in a publication message published by a publisher device in the publish-subscribe system, using publisher data included in the publication message;
distributing, using a publish-subscribe channel that includes other nodes in the publish-subscribe system, the schema defining the structure to be applied to the raw data from the broker node to the other nodes to enforce the schema across the publish-subscribe channel;
receiving the publication message from the publisher device;
transforming the raw data in the publication message to comply with the schema defining the structure to be applied to the raw data, resulting in transformed data;
identifying a rule to execute on the transformed data based on the schema, the rule being distributable across the other nodes;
determining whether to execute the rule at one of the other nodes based in part on one or more device conditions or network conditions being monitored for the other nodes; and
sending the rule from the broker node to the determined one of the other nodes to process the transformed data using the rule, resulting in processed data at a subscriber in the publish-subscribe system.
1 Assignment
0 Petitions
Accused Products
Abstract
Technology for a publish-subscribe messaging method may include determining a schema for structuring raw data published in a publication by a publisher in a publish-subscribe system at a channel node in a network and distributing the schema from the channel node to other channel nodes in the network. The method may include identifying the publication from the publisher at one of the channel nodes and applying the schema to the raw data of the publication at the channel node, transforming the raw data to transformed data. The transformed data may be provided at a subscriber in the publish-subscribe system.
16 Citations
20 Claims
-
1. A computer-implemented method for distributed processing of raw data in a publish-subscribe system, comprising:
-
determining, by a broker node managing publish-subscribe messaging of nodes in the publish-subscribe system, a schema defining a structure to be applied to the raw data in a publication message published by a publisher device in the publish-subscribe system, using publisher data included in the publication message; distributing, using a publish-subscribe channel that includes other nodes in the publish-subscribe system, the schema defining the structure to be applied to the raw data from the broker node to the other nodes to enforce the schema across the publish-subscribe channel; receiving the publication message from the publisher device; transforming the raw data in the publication message to comply with the schema defining the structure to be applied to the raw data, resulting in transformed data; identifying a rule to execute on the transformed data based on the schema, the rule being distributable across the other nodes; determining whether to execute the rule at one of the other nodes based in part on one or more device conditions or network conditions being monitored for the other nodes; and sending the rule from the broker node to the determined one of the other nodes to process the transformed data using the rule, resulting in processed data at a subscriber in the publish-subscribe system. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-implemented method, comprising:
-
determining, at a channel node in a network, a schema defining a structure to be applied to raw data published in a publication message by a publisher device in a publish-subscribe system that includes the channel node, using data of the publication message; distributing, using a publish-subscribe channel that includes other nodes in the network, the schema defining the structure to be applied to the raw data from the channel node to the other nodes in the network to enforce the schema across the network; identifying the publication message from the publisher device at the channel node; determining, based in part on one or more device conditions or network conditions at the other nodes in the network, whether to apply the schema to the raw data of the publication message, at the channel node, in order to transform the raw data to transformed data; determining, based in part on the one or more device conditions or network conditions at the other nodes, whether to execute a rule at the channel node on the transformed data to process the transformed data using the rule, resulting in processed data; and providing the processed data to a subscriber in the publish-subscribe system using the channel node. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer-readable medium comprising computer-executable instructions which implement a publish-subscribe network, comprising:
-
a schema detector configured for detecting a schema defining a structure to be applied to raw data in a publication message published by a publisher device in the publish-subscribe network that includes a plurality of channel nodes, using publisher data included in the publication message at one channel node in the plurality of channel nodes; a network distribution engine configured for distributing, using a publish-subscribe channel that includes the plurality of nodes, the schema defining the structure to be applied to the raw data from the one channel node to another channel node in the plurality of channel nodes in the publish-subscribe network, including to the publisher device, to enforce the schema across the publish-subscribe network; a schema engine for applying the schema to the raw data to transform the raw data to transformed data; and a rules engine for executing a rule on the transformed data for processing the data into processed data; wherein the network distribution engine monitors the plurality of channel nodes to distribute, based in part on one or more device conditions or network conditions monitored for the plurality of nodes, the rule from the one channel node to the other channel node in the publish-subscribe network to optimize performance of the plurality of channel nodes. - View Dependent Claims (18, 19, 20)
-
Specification