Hierarchical publish/subscribe system
First Claim
1. A method for publishing a message, the method comprising:
- receiving, at a first relay, a subscription request from a first client, wherein the subscription request includes a target;
recording, at the first relay, subscription information of the first client based on the subscription request;
receiving, at the first relay, a publication request from a second client, wherein the publication request includes a message string characterized by a pattern;
determining, by the first relay, that the second client is not on a black list of clients stored at the first relay;
determining, by the first relay, that the target matches at least a portion of the pattern;
determining, by the first relay, that the publication request is a local publication request based on a predetermined policy rule, wherein the local publication request is a publication request for one or more clients connected to the first relay, wherein the predetermined policy rule comprises one or more of;
designating publication requests from a particular set of one or more clients as local publication requests, or designating publication messages having a specific pattern as local publication requests; and
transmitting the message string to the first client based on the determining that the publication request is a local publication request.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for publishing a message includes receiving, at a first relay, a subscription request from a first client, wherein the subscription request includes a target. The method also includes: recording, at the first relay, subscription information of the first client based on the subscription request; receiving, at the first relay, a publication request from a second client, wherein the publication request includes a message string characterized by a pattern; determining, by the first relay, that the target matches at least a portion of the pattern; determining, by the first relay, if the publication request is a local publication request based on a predetermined policy rule; and transmitting the message string to the first client if the publication request is determined to be a local publication request.
101 Citations
20 Claims
-
1. A method for publishing a message, the method comprising:
-
receiving, at a first relay, a subscription request from a first client, wherein the subscription request includes a target; recording, at the first relay, subscription information of the first client based on the subscription request; receiving, at the first relay, a publication request from a second client, wherein the publication request includes a message string characterized by a pattern; determining, by the first relay, that the second client is not on a black list of clients stored at the first relay; determining, by the first relay, that the target matches at least a portion of the pattern; determining, by the first relay, that the publication request is a local publication request based on a predetermined policy rule, wherein the local publication request is a publication request for one or more clients connected to the first relay, wherein the predetermined policy rule comprises one or more of;
designating publication requests from a particular set of one or more clients as local publication requests, or designating publication messages having a specific pattern as local publication requests; andtransmitting the message string to the first client based on the determining that the publication request is a local publication request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A first relay in a publish/subscribe message system, the first relay is configured to:
-
receive a subscription request from a first client, wherein the subscription request includes a target; record subscription information of the first client based on the subscription request; receive a publication request from a second client, wherein the publication request includes a message string characterized by a pattern; determine that the second client is not on a black list of clients stored at the first relay; determine that the target matches at least a portion of the pattern; determine that the publication request is a local publication request based on a predetermined policy rule, wherein the local publication request is a publication request for one or more clients connected to the first relay, wherein the predetermined policy rule comprises one or more of;
designating publication requests from a particular set of one or more clients as local publication requests, or designating publication messages having a specific pattern as local publication requests; andtransmit the message string to the first client. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification