Method and apparatus for mapping network events to names of network devices
First Claim
1. An event gateway apparatus, comprising:
- a network interface that is communicatively coupled to a network comprising a logical group having two or more packet data routers as members;
an event bus interface that is communicatively coupled to a software event bus configured to receive event subscribe requests comprising subject identifiers, to logically subscribe a specified network device to events having a matching subject identifier, and to logically publish events having the matching subject identifier to the specified network device;
a data store comprising a stored mapping that associates a plurality of routers with the logical group and that associates the logical group with one or more events that can pass over the event bus to the router;
automatic event subscription logic encoded in one or more media for execution and when executed operable to;
receive an event subscribe request from the router that includes a router identifier that uniquely identifies the router and an event identifier;
in response to receiving the event subscribe request;
locating the router identifier and the event identifier in the mapping;
identifying the logical group of which the router is a member;
based on the logical group, router identifier and event identifier, identifying an event subject list that identifies all subjects that are available using the event bus and to which the router should subscribe; and
sending one or more event subscribe requests to the event bus that request the event bus to subscribe the router to all events in the event subject list.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of automatically subscribing a network device to a plurality of events applicable to a logical group, of which the network device is a member, is disclosed. The method involves first creating and storing a mapping that associates a plurality of network devices with a logical group and that associates the logical group with one or more events that can pass over an event bus to which the network device is logically coupled. At runtime, a device identifier of one of the network devices in the logical group is received, an event identifier of an event that is among the one or more events that are in the second mapping is received. Based on the mapping, the method causes the network device to receive all events that are associated in the mapping with the logical group that includes the network device. As a result, a network device receives all events that pertain to it without having to store a list of the logical groups in which it participates and without having to know what events pertain to it or the groups.
40 Citations
11 Claims
-
1. An event gateway apparatus, comprising:
-
a network interface that is communicatively coupled to a network comprising a logical group having two or more packet data routers as members; an event bus interface that is communicatively coupled to a software event bus configured to receive event subscribe requests comprising subject identifiers, to logically subscribe a specified network device to events having a matching subject identifier, and to logically publish events having the matching subject identifier to the specified network device; a data store comprising a stored mapping that associates a plurality of routers with the logical group and that associates the logical group with one or more events that can pass over the event bus to the router; automatic event subscription logic encoded in one or more media for execution and when executed operable to; receive an event subscribe request from the router that includes a router identifier that uniquely identifies the router and an event identifier; in response to receiving the event subscribe request;
locating the router identifier and the event identifier in the mapping;
identifying the logical group of which the router is a member;
based on the logical group, router identifier and event identifier, identifying an event subject list that identifies all subjects that are available using the event bus and to which the router should subscribe; and
sending one or more event subscribe requests to the event bus that request the event bus to subscribe the router to all events in the event subject list. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-readable storage medium encoded with logic for automatically subscribing a router of a packet-switched network to a plurality of events applicable to a logical group of which the router is a member, which when executed is operable to:
-
interface to a network comprising a logical group having two or more packet data routers as members; interface to a software event bus configured to receive event subscribe requests comprising subject identifiers, to logically subscribe a specified network device to events having a matching subject identifier, and to logically publish events having the matching subject identifier to the specified network device; create and store a mapping that associates a plurality of routers with the logical group and that associates the logical group with one or more events that can pass over the event bus to the router; receive an event subscribe request from the router that includes a router identifier that uniquely identifies the router and an event identifier; in response to receiving the event subscribe request;
locating the router identifier and the event identifier in the mapping;
identifying the logical group of which the router is a member;
based on the logical group, router identifier and event identifier, identifying an event subject list that identifies all subjects that are available using the event bus and to which the router should subscribe; and
sending one or more event subscribe requests to the event bus that request the event bus to subscribe the router to all events in the event subject list.
-
-
7. An apparatus for automatically subscribing a router of a packet-switched network to a plurality of events applicable to a logical group of which the router is a member, comprising:
-
means for interfacing to a network comprising a logical group having two or more packet data routers as members; means for interfacing to a software event bus configured to receive event subscribe requests comprising subject identifiers, to logically subscribe a specified network device to events having a matching subject identifier, and to logically publish events having the matching subject identifier to the specified network device; means for storing a mapping that associates a plurality of routers with the logical group and that associates the logical group with one or more events that can pass over the event bus to the router; means for receiving an event subscribe request from the router that includes a router identifier that uniquely identifies the router and an event identifier; means for performing, in response to receiving the event subscribe request;
locating the router identifier and the event identifier in the mapping;
identifying the logical group of which the router is a member;
based on the logical group, router identifier and event identifier, identifying an event subject list that identifies all subjects that are available using the event bus and to which the router should subscribe; and
sending one or more event subscribe requests to the event bus that request the event bus to subscribe the router to all events in the event subject list. - View Dependent Claims (8, 9, 10, 11)
-
Specification