The present invention relates generally to communication methods and systems, and more particularly, to methods and systems that notify one or more users of information.
Several technologies are available to notify users of events or new information. Typically, these technologies are based on email lists, bulletin boards, publish-subscribe systems, database triggers and filtering systems. A core issue in all of these systems is how the message to be sent is matched with interested subscribers. Email distribution lists and bulletin boards, for example, provide a fixed taxonomy of topics of interest. People subscribe to receive notifications for one or more topics by joining the email list or the bulletin board on that topic.
Publish-subscribe systems are also often organized with fixed taxonomies of topics. These systems are sometimes called topic-based (or type-based) publish-subscribe systems in the literature. Another category of publish-subscribe system is called the content-based publish-subscribe system. In these systems, attribute-value pairs in the message published are matched against user-specified constraints that are conjunctions of relational expressions over some of the attribute-value pairs (for example, item=car and price <$10,000) or, more generally selection queries in a normal form such as conjunctive normal form (for example, ((item=car) or (item=motorcycle)) and (price <$10,000)).
While such publish-subscribe systems provide an effective mechanism for notifying users of events or new information, they suffer from a number of limitations which, if overcome could make such publish-subscribe systems better suited for enterprise applications. For example, while some fee-based publish-subscribe systems are motivated to ensure that only authorized users are notified, they do not contain access control mechanisms that protect the content of the notifications. A need therefore exists for improved methods and apparatus that make such publish-subscribe systems suitable for use by enterprise applications. A further need exists for publish-subscribe methods and systems that provide improved security. Yet another need exists for publish-subscribe methods and systems that provide improved efficiency for enterprise users.
Generally, methods and apparatus are provided for notifying one or more users of information, where the information has a plurality of attributes. A plurality of subscribable objects are provided to one or more of the users, where each of the subscribable objects comprises one or more of the plurality of attributes as required attributes and zero or more of the attributes as optional attributes. Subscription requests are received from one or more of the users based on at least one of the subscribable objects. The plurality of subscribable objects are based, for example, on a set of predefined templates. The predefined templates identify each of the plurality of attributes as a required attribute or an optional attribute. In this manner, the predefined templates allow users to view the information based an associated user role.
According to another aspect of the invention, each of the attributes is presented to a user using a display format selected based on a cardinality of the corresponding attribute. For example, the display format for a given attribute may comprise one or more of a user entry, a scrollable list and a check box.
A more complete understanding of the present invention, as well as further features and advantages of the present invention, will be obtained by reference to the following detailed description and drawings.
According to another aspect of the invention, the subscription server 300 employs subscribable objects that are specific things of potential interest to users. For example, using subscribable objects, applications 110 can specify information of interest based on, e.g., customers or customer locations. A user can subscribe to a subscribable object. For example, a user can subscribe to the subscribable object for a customer to be notified about service requests from that customer.
In addition, subscribable objects can have access controls applied to them, so, for example, the set of users who can subscribe to a specific customer can be restricted. Privileges specify what a user or role can do. Privileges can apply with respect to a specific person or object, or they can apply more generally. For example, an application may have the privilege to notify a specific user, or it may be able to notify any user. Privileges can include the ability of a person or role to subscribe to a subscribable object or to an application.
In this manner, the portal 170 can perform an initial access control when a user attempts to register a subscription to ensure that the user has the appropriate privileges required for the subscription. In addition, according to another aspect of the invention, the portal 170 ensures that a user only sees objects during the registration process that the user is authorized to view. In addition, the subscription server 300 can perform a secondary check at run time to ensure that the users associated with matching subscriptions are authorized to receive the notifications.
According to yet another aspect of the invention, the subscription server 300 identifies the users having subscriptions that match the notification requests and provides a list of the matching users to a third party application, such as a notification and response system 200, discussed below in conjunction with
Subscriptions provide a mechanism for specifying in advance the application-specific events about which a user will be notified. Subscriptions enable applications 110 to create notification requests without having to generate a communication flow or explicitly identify the users to notify. Instead, the subscription server 300 uses subscription information to preprocess the request, identifying the users to notify and generating a communication flow. After this preprocessing, the notification and response system 200 executes the communication flow. Furthermore, subscriptions provide an easy way for users to define the conditions under which they want to be notified (self subscription). Users can also define the conditions under which other users are to be notified (automatic subscription).
As discussed more fully below, a subscription may be created based on (i) subscribable objects that represent characteristics of a request to which a user can subscribe, e.g., a customer or customer location; (ii) zero or more attribute values that specify the values of request attributes that match a user's subscription; and (iii) optional rules that specify further conditions to be met for a request to match a user's subscription. A subscription could include any combination of mechanisms, e.g., a subscribable object and a rule. A rule could contain a condition, or it could refer to a general rule. A general rule contains a condition that can be reused in multiple subscriptions, and can be a subscribable object. Each subscription has an owner and a subscriber, and may also have a delegate. The owner is typically the creator of the subscription, while the subscriber is the primary user to be notified. The delegate is a second or alternate user to be notified, when specified. For a notification to match a subscription, it must match at least one subscribable object of the subscription. It also must match at least one value of each attribute specified on the subscription, and it must satisfy all of the subscription's rules.
Generally, the applications 110 provide notification requests to the subscription server 300 when they have information to publish (that may be of interest to one or more subscribers), in a manner described below in conjunction with
Generally, as shown in
The applications 110 create notification requests and submit them to the notification and response system 200. The notification requests must contain a communication flow to execute. Once the notification and response system 200 receives a notification request, the notification and response system 200 executes the communication flow logic to notify the recipients 220 and collect their responses. Generally, subscriptions specify criteria for deciding whether a user should be included in the communication flow for a request. A subscription belongs to a user and is specific to an application.
As discussed further below, the separation of the notification functionality provided by the notification and response system 200 from the subscription processing functionality provided by the subscription server 300, according to another aspect of the invention, allows the subscription server 300 to handle issues like scalability, security and access controls, and availability.
As discussed further below in conjunction with
In one exemplary implementation, the subscription server 300 provides an API that enables applications 110 to create notification requests that notify users according to their subscriptions. As discussed further below in conjunction with
Once a notification request has been created by an application 110 for subscription processing, the subscription server 300 processes the notification to identify users and generate a communication flow. Generally, as discussed further below in conjunction with
Once the subscriptions that match a request have been identified, the subscription server 300 employs a communication flow generation process 2200 (
It should be noted that for each attribute (e.g., ZIP Code), the notification request can have at most one value (e.g., 07920). However, for a single attribute, a subscription may have any number of values. Both notification requests and subscriptions can have any number of subscribable objects.
For a high volume of requests and a large number of subscriptions, computational efficiency will become an issue in matching notification requests to subscriptions. There are several ways that the matching could be done in practice:
1. First of all, the subscription server could maintain a conventional tree type index on the subscribable object associations of the subscriptions. The subscription server could use this index to match the request to those subscriptions with the same subscribable objects as the request. The subscription server could then further filter the subscriptions based on their attribute values and rules.
2. It may be that some subscriptions have no associated subscribable objects. In this case, the request need only match the attribute values and rules of the subscription, and the approach above will not work. Instead the subscription server could maintain a bitmap index on the attribute values of the subscriptions. The subscription server could use this index to match the request to those subscriptions with the same attribute values as the request. The subscription server could then further filter the subscriptions based on rules.
Privileges
Privileges identify what a user can do in the subscription server 300. These privileges are subscription server specific, and are distinct from database or operating system privileges. As shown in
Roles
A role is treated as a type of user in the subscription server 300, but is not a person or application. A role can have privileges. Users can have roles, and thereby inherit privileges from those roles. A role can also have other roles, and thereby inherit privileges from those roles. A role cannot initiate a session with the subscription server 300, and the subscription server 300 cannot perform an activity on behalf of a role. A user or role can be granted a user privilege vis-à-vis a role. A role can be specified as the recipient in a subscription or escalation.
Objects
The subscription server 300 will provide implicit or explicit access controls on the following subscription server objects: attributes; attribute values; requests; request attributes; rules; general rules; subscribable objects; and subscriptions. In other words, when performing an action involving these entities on the behalf of a user or application, the subscription server 300 will apply access controls on those objects.
Object Ownership
The subscription server 300 will determine object ownership based on the following principles. The owner of a request and its attributes is the requestor (application). The owner of subscriptions, subscribable objects, attributes, and general rules is the creator (which could be an application). The owner of an attribute value is the attribute owner.
Access Controls
Access controls identify what a user can do to an object. Access controls apply to subscribable objects, requests, and other objects. Explicit access controls comprise a ternary relationship between user accounts, objects, and privileges. Access controls can also be implicit through object ownership. Generally, the object owner has all applicable privileges on the object and the object owner can grant and revoke privileges on the object.
A community of interested parties could benefit tremendously from a process that enabled them to be notified only of the events of interest to them. Typically, a publish-subscribe model is used. However, the publish-subscribe paradigm is in direct conflict with another overriding need of many enterprises to preserve the confidentiality of the information being published.
For example, consider a hospital system that needs to notify health care workers about patient events. There are many such possible events, and they could be of interest to many different people. For example, a cardiologist might want to subscribe to events for patients under their care, or public health officials might want to subscribe to cases of a specific disease. And yet, the confidentiality of the information in the notifications is paramount. In addition, it is important to preserve the confidentiality of the patient's existence in the system. For example, the cardiologist might subscribe to the collection of all of her patients as a single entity, or she might subscribe only to specific patients. In the former case, the subscribable object is the collection of the cardiologists patients. In the latter case, the subscribable objects are the individual patients. In the latter case, only people with a need to know would be allowed to see that a patient was available for inclusion in subscriptions. For example, a patient's primary care physician might be able to see and subscribe to the patient, but would not be able to see or subscribe to other patients of the cardiologist, or see or subscribe to the cardiologist's patient collection object.
As discussed further below, confidentiality is preserved through a specific privilege to subscribe that can be applied to subscribable objects. The privilege to subscribe is different from the privilege to create, modify, or delete subscriptions.
In addition to choosing subscribable objects for subscriptions, the creator (owner) of a subscription has the ability to cause other users to be notified about events. Specifically, the owner of a subscription may make another user the subscriber (this is known as automatic subscription), or the owner may delegate a subscription to another user. For example, a supervisor might create subscriptions for his direct reports, or the cardiologist above might delegate her subscription to another physician while she is away on vacation. These capabilities are different from standard publish-subscribe models, since those models only allow users to create subscriptions for themselves.
Since the present invention allows others to be notified, the subscription services of the present invention provide access controls on the ability to notify other users. For example, without this capability, a disgruntled employee, who is about to be fired, could create a subscription for the CEO that causes thousands of notifications per hour to be sent. Instead, a supervisor might have the capability of notifying his direct reports, and the cardiologist might have the capability to notify all of the physicians affiliated with the hospital.
The following example illustrates the workings of the subscription server 300 using a hospital notification system as an example.
Typically, regular users would get most or all of their privileges through roles, which greatly simplifies administration of privileges. A user or role may have more than one role.
The hospital application also has subscribable objects listed in the subscribable objects database 1300 of
Dr. Tandon, a cardiologist, enters the portal 170 to create a subscription, and sees that she can subscribe to the hospital application (hosp_app). This is because she has the hosp_user role, which has the privilege Subscribe to Application with respect to the hosp_app application. If she had the Subscribe Any privilege (either directly or through a role), she would see the entire list of applications. Dr. Tandon selects the hospital application, and finds she may subscribe by patient or by patient list. She decides to subscribe by patient list. Because there is a moderate number of Patient List subscribable objects (cardinality medium), the portal 170 retrieves the list of all Patient List type subscribable objects owned by hosp_app, then checks to see if ntandon has the Subscribe Any privilege. Since she does not, the portal 170 then filters the list on the set of subscribable objects to which user ntandon has the Subscribe To privilege. The portal 170 then displays the list, which contains only the item Dr. Tandon's Patients, on the subscription form. Dr. Tandon creates a subscription to Dr. Tandon's Patients, but only for Admitted and Discharged events types. Then, she decides that she also needs to subscribe by patient. She enters the form to subscribe by patient, and on the list of patients to which she can subscribe, she sees J. Ordille, H. Slye, and P. Tendick, but not Q. Yang. She creates a subscription to P. Tendick for an event type of Status Changed. Dr. Tandon (user ntandon) is both the owner and the subscriber for this subscription. There is no delegate at this point.
If there were a large number of Patient List subscribable objects (cardinality large), the portal 170 would provide the capability for the user to enter a partial string value, and the portal 170 would return a list of matching subscribable objects, e.g., containing the string ‘Tendick’. If ntandon had the Subscribe Any privilege, the portal 170 would display the entire list of matching subscribable objects. Otherwise, before displaying the list, the portal 170 would then filter the list on the set of subscribable objects to which user ntandon had the Subscribe To privilege. Once the list of matching subscribable objects were displayed, the user could select zero or more to include in the subscription. The user also could enter the subscribable object names directly on the form. Through repeated use of these mechanisms, the user could enter multiple subscribable objects on the form. In any event, on submission of the subscription by the user, the portal 170 would check whether the subscribable existed, and also whether the user had appropriate privileges to subscribe to the subscribable objects by the mechanisms described above. If a subscribable object on the subscription did not exist, or if the user did not have sufficient privileges to subscribe to an object on the subscription, the portal 170 would display an error and not allow the submission of the subscription.
Dr. Weiss enters the portal to create a subscription, and also finds that he may subscribe by patient or by patient list. He decides to subscribe by patient list, and sees only Dr. Weiss' Patients. He creates a subscription to Dr. Weiss' Patients, but only for Admitted events. If Dr. Weiss tried to subscribe by patient, he would see J. Ordille, H. Slye, and Q. Yang, but not P. Tendick. He could subscribe to one or more patients in a single subscription.
If patient P. Tendick's status were upgraded from serious to fair, the hospital application would create a notification request with the subscribable objects P. Tendick and Dr. Tandon's Patients, with an event type attribute value of Status Changed and a status attribute value of Fair. Dr. Tandon's subscription to “Status Changed” events for P. Tendick would match the new request, but before adding Dr. Tandon (user ntandon) to the communication flow for the request, the subscription server would check to make certain user ntandon had sufficient privileges to subscribe to the P. Tendick object. The subscription server also would check to make sure the owner of the subscription (ntandon) had sufficient privileges to notify the subscriber (also ntandon). In this case, the owner may notify the subscriber, since a user may always notify her self.
Now Dr. Tandon enters the portal 170 again, but this time she modifies the subscription to P. Tendick status changes so it is delegated to Dr. Weiss. She does this because she is going on vacation and wants to make sure someone is notified of changes in P. Tendick's status. She specifies the “and” communication flow operator, so both she and Dr. Weiss will be notified. Before allowing Dr. Tandon to submit the delegation, however, the subscription portal 170 checks to make sure Dr. Tandon has sufficient privileges to notify Dr. Weiss. Since user ntandon has the Notify privilege with respect to user weiss, the portal allows Dr. Tandon to submit the delegation.
If patient P. Tendick's status were upgraded from fair to good, the hospital application would create a notification request with the subscribable objects P. Tendick and Dr. Tandon's Patients, with an event type attribute value of “Status Changed” and a status attribute value of Good. Dr. Tandon's subscription to status change events for P. Tendick would again match the new request, but before adding Dr. Tandon and Dr. Weiss to the commflow for the request, the subscription server would check to make certain that user ntandon had sufficient privileges to subscribe to the P. Tendick object. Note that the subscription server only does this for the owner of the subscription, not the subscriber or delegate. The fact that Dr. Weiss does not have sufficient privileges to subscribe to patient P. Tendick is not relevant. The subscription server also checks to make sure the owner of the subscription (ntandon) has sufficient privileges to notify the subscriber and the delegate. As before, Dr. Tandon may notify herself, and she also may notify Dr. Weiss because she has a specific privilege to do so.
The reason for checking privileges when a request is processed by the subscription server is twofold: First of all, the subscription portal 170 is a separate process from the subscription server 300 and should not be trusted by it. In other words, the subscription server 300 must assume that the subscription portal 170 could allow the creation of a subscription with insufficient privileges. Second, privileges might change over time. For example, if patient P. Tendick left Dr. Tandon's care, Dr. Tandon might lose privileges to subscribe to P. Tendick's events, while Dr. Tandon's subscription might continue to exist. Similarly, Dr. Weiss might move to another practice, somehow causing Dr. Tandon to lose her privilege to notify him.
Subscription Portal 170
After a user logs in to the subscription portal 170, the portal 170 presents a list of applications that the user has access to. The list of applications is obtained from the subscription server 300 and is based on the privilege rules defined in the subscription server 300 (and previously provided by the application). The privilege rule states that a particular user can subscribe to messages from this application 110.
In addition to the privilege rules, an application must provide a set of attributes as a classification attribute set, that is, a complete list of attributes that can be used to classify information, and users can use these attributes to register their subscriptions. The attributes in the classification set may or may not be part of the data that will be presented to the users. According to one aspect of the invention, an application can specify some of the attributes or attribute sets to be required, in order to limit the amount of data transferred from the application database to the subscription server 300. In other words, when subscribers input rules for their subscriptions, the presence of one of the required attributes or attribute sets is mandatory. For each of those required attributes or attributes sets, a list of optional attributes can be provided, as discussed below in conjunction with
Another aspect of the invention recognizes that different users or sets of users may have a different view of the data. Thus, different users or sets of users (such as all users having a given role) can select a different required attribute when registering their subscriptions. Thus, the present invention provides a number of different templates that each specify a different required attribute (or set of required attributes) and zero or more corresponding optional attributes. In this manner, different users or sets of users can select a different attribute for their required attribute. For example, in an enterprise setting one group of users, such as users in a customer service organization, may be interested in registering their subscriptions by Company Name, while another group of users, such as users in a on-site technical support organization, may be interested in registering their subscriptions by Company Location.
For example, row 1510 indicates that the company name is a required attribute. When this required attribute is supplied, values for the optional attributes, severity, status, SEid, source, city, Province/state, Pn/Zip, country, product and region can also be supplied. Another example, row 1520 indicates that the combination of city and province/state is required in this case.
For the classification attributes, a list of valid values can be provided by the application. For example, severity codes can be from 1 to 4. But for some attributes, users need to input possible values when they subscribe. Applications must provide some mechanism to validate these values.
Again, after a user logs in to the subscription portal 170, the portal 170 presents a list of applications that the user has access to. Next to the application name is a list of the required attributes, which are links to different tables that are generated dynamically according to the data in attribute_map table in the subscription server 300, such as the subscription table 1600 shown in
In one exemplary implementation, when a user first logs in, the subscription portal 170 automatically creates a user account for the user in the subscription server 300. Also, a default role can optionally be assigned to this user to satisfy the basic needs of the user with reduced administration efforts. For example, if the default role can satisfy 70% of the users, then 70% of the administration efforts on assigning special roles can be saved.
Required attributes can be either subscribable objects or normal attributes. The benefits for defining subscribable objects is that a privilege rule can be associated with a subscribable object and that it will optimize the filtering process in the subscription server. However, for users, it is totally transparent for those two types of required attributes.
The format of every attribute in the subscription form available to the user, that is either a checkbox, list or search box, is defined by the cardinality table. By specifying the size of the attribute value group in the cardinality table, time is saved, and the trouble of counting the number of entries in the attribute table is avoided. The optimization is critical for some larger applications, and increases the scalability of the subscription server 300 and portal 170 and makes the portal 170 more user-friendly. An interface 2700 that presents the attributes based on the cardinality table is discussed further below in conjunction with
In the following discussion, it is assumed that a subscription has an owner, a subscriber, and possibly a delegate. The owner and the subscriber are typically the same. If they aren't the same, this is called automatic subscription. For a subscription to be added to the communication flow for a request, the owner must have privileges to notify the subscriber and the delegate (if any). Someone may always notify themselves, so if the subscriber is the owner, then the owner has sufficient privileges to notify the subscriber. If the subscriber is not the owner, the owner may also have the blanket privilege to notify anyone, or the privilege to notify the specific subscriber or delegate. For subscription with a delegate, the delegate is notified in addition to or instead of the subscriber.
A further test is performed during step 1725 to determine if there are additional subscribable objects to be processed. If it is determined during step 1725 that there are additional objects to be processed, then one or more subscribable object records are created during step 1730, until all the objects have been processed. Once it is determined during step 1725 that there are no additional objects to be processed, then program control proceeds to step 1735.
A further test is performed during step 1735 to determine if there are additional attributes within the request to be processed. If it is determined during step 1735 that there are additional attributes to be processed, then the values for the attributes are set during step 1740, until all the attributes have been processed. Once it is determined during step 1735 that there are no additional attributes to be processed, then program control proceeds to step 1745.
A further test is performed during step 1745 to determine if there are additional media, such as text and voice, to be processed. If it is determined during step 1745 that there are additional media to be processed, then the notification content for the media is added during step 1750, until all the media types have been processed. Once it is determined during step 1745 that there are no additional media types to be processed, then the database transaction is committed during step 1760 and program control returns to step 1715.
Once it is determined during step 1715 that there are no additional requests to be processed, then program control proceeds to step 1780 where the database connection is closed.
A test is performed during step 1825 to determine if there are additional requests to be processed. If it is determined during step 1825 that there are additional requests to be processed, then the next request record is retrieved during step 1830.
As discussed further below in conjunction with
A test is performed during step 1855 to determine if there are additional subscriptions to be processed. If it is determined during step 1855 that there are additional subscriptions to be processed, then the subscriber or delegate is added to the communication flow being generated during step 1860, until all subscriptions have been processed. Once it is determined during step 1855 that all subscriptions have been processed, program flow proceeds to step 1865.
A further test is performed during step 1865 to determine if there are additional media, such as text and voice, to be processed. If it is determined during step 1865 that there are additional media to be processed, then the notification content for the media is added during step 1870, until all the media types have been processed. Once it is determined during step 1865 that there are no additional media types to be processed, then a request document is generated during step 1875. The request is then submitted to the notification and response system 200 during step 1880 and the transaction is committed during step 1885. Once it is determined during step 1825 that there are no additional requests to be processed, then the database connection is closed during step 1890.
A test is performed during step 1925 to determine if there are additional subscribable objects to process. If it is determined during step 1925 that there are additional subscribable objects to process, then the next subscribable object is obtained during step 1930. The subscriptions that have at least one matching object are then retrieved during step 1940.
A further test is performed during step 1945 to determine if there are additional subscriptions to process. If it is determined during step 1945 that there are additional subscriptions to process, then the next subscription is obtained during step 1950. A test is performed during step 1955 to determine if any attributes of the subscription matches. It is noted that the attribute value for a request must match one specified attribute for a subscription, if the value is specified in the subscription. The subscription is added during step 1960 to the matching set and program control returns to step 1945.
Once it is determined during step 1945 that there are no additional subscriptions to process, then program control returns to step 1925. Once it is determined during step 1925 that there are no additional subscribable objects to process, then the matching subscriptions are output during step 1970.
A test is performed during step 2020 to determine if there are additional subscriptions to process. If it is determined during step 2020 that there are additional subscriptions to process, then the next subscriptions is obtained during step 2030. A test is performed during step 2035 to determine if any attributes of the subscription matches. It is noted that the attribute value for a request must match one specified attribute for a subscription, if the value is specified in the subscription. The subscription is added during step 2040 to the matching set and program control returns to step 2020.
Once it is determined during step 2020 that there are no additional subscriptions to process, then the matching subscriptions are output during step 2045.
A search for candidate subscriptions is performed during step 2120, based on relevance (where relevance is, for example, the number of attribute value matches). The number of attributes specified for the candidates is calculated during step 2130, a filter is applied to the subscriptions during step 2140 with the number of attributes equal to the relevance measure. The matching subscriptions are output during step 2150.
In the following discussion, it is assumed that the communication flow for a request (as generated by the communication flow generation process 2200) consists of zero or more subexpressions conjoined by the operator AND. Each subexpression corresponds to a matching subscription, and contains one or two recipients (the subscriber and/or the delegate). The notification and response system 200 evaluates the communication flow by attempting to satisfy each subexpression. There are three possible delegation options:
For example, the communication flow for a request having four matching subscriptions may be expressed as:
(kevin) AND (dave) AND (ham RACES joann) AND (pat AND qian) where kevin is a subscriber without a delegate, dave is delegate with NOT (notify the delegate instead of the subscriber); the third expression is an example of a delegation with RACES; and the fourth expression is an example of a delegation with AND.
A further test is performed during step 2220 to determine if the user associated with the subscription has the appropriate privileges. Generally, the owner of subscription must have privileges to subscribe to an object on the request and to notify the subscriber and delegate. If it is determined during step 2220 that user associated with the subscription does not have the appropriate privileges, then an error is logged during step 2222. Each type of error (no object privilege, no notify privilege) can be logged separately for each subscription.
If it is determined during step 2220 that user associated with the subscription has the appropriate privileges, then a further test is performed during step 2225 to determine if the current subscription is the first subscription being added to the communication flow. The exemplary system conjoins the communication flow subexpressions for the subscription using the AND operator, so the AND operator must be appended to the commflow before adding subsequent terms.
If it is determined during step 2225 that the current subscription is the first subscription being added to the communication flow, then a new communication flow subexpression is started during step 2230. Each subexpression can have a term for the subscriber or a term for the delegate, or both. At this step, only the opening (left) parenthesis is provided. If, however, it is determined during step 2225 that the current subscription is not the first subscription being added to the communication flow, then the AND operator is appended to the communication flow during step 2228.
A further test is performed during step 2235 to determine if the user associated with the subscription has a delegate. This decision indicates whether to add the delegate term to the subexpression for the subscription. If it is determined during step 2235 that the user associated with the subscription has a delegate, then the delegate is added to the subexpression during step 2240. Another test is performed during step 2245 to determine if the delegation is expressed using the NOT option (notify the delegate instead of the subscriber). This decision thus indicates whether to substitute the delegate for the subscriber (skip adding a term for the subscriber), or include both. If it is determined during step 2245 that the delegation is expressed using the NOT option, then program control proceeds to step 2270, below. If, however, it is determined during step 2245 that the delegation is not expressed using the NOT option, then another test is performed during step 2250 to determine if the delegation is expressed using the RACES option (attempt to notify both the delegate and the subscriber until one of them responds). This decision thus indicates whether to use the RACES operator (attempt to notify both the delegate and the subscriber until one of them responds) or the AND operator (attempt to notify each regardless of how the other responds).
If it is determined during step 2250 that the delegation is expressed using the RACES option, then RACES is added to the subexpression during step 2255. If, however, it is determined during step 2250 that the delegation is not expressed using the RACES option, then AND is added to the subexpression during step 2260 before proceeding to step 2265. If it was determined during step 2235 that the user associated with the subscription does not have a delegate, then the subscriber is added to the subexpression during step 2265. At this point, the closing (right) parenthesis of the subexpression is added to the subexpression.
A further test is performed during step 2270 to determine if the subscription contains one or more escalations. Escalations for subscriptions can be retrieved from another table. An escalation for a subscription causes the user associated with the escalation to be notified if neither the subscriber nor the delegate (if applicable) responds. The subscription server 300 also optionally provides the ability to register to receive escalations. Escalations are different from subscriptions in that while subscriptions specify the features of a request that make it of interest, escalations describe ways of dealing with exceptional circumstances. In other words, escalations provide a way of handling things about which someone should be notified, but for some reason no one is. Escalations aren't subscriptions, but they can be something you can subscribe to. An escalation could be based on the failure of notification of the subscriber in a subscription (in which case the escalation relates to a specific person), or it could be based on the failure to notify anyone for a request.
If it is determined during step 2270 that the subscription contains one or more escalations, then the escalation term is added to the subexpression during step 2275. The escalation term contains one term for each escalation record, with the delay for the individual escalation represented by the AFTER operator. The individual escalation terms are conjoined by the AND or RACES operator within the overall escalation term, which is enclosed in parentheses. The overall escalation term for all subscription escalations is conjoined with the existing subexpression using the AND or RACES operator. The entire subexpression for the subscription, including the escalation term, is then enclosed in parentheses and appended to the commflow for the request.
If it is determined during step 2270 that the subscription does not contain one or more escalations, then program control proceeds directly to step 2280, where the subexpression is added to the communication flow.
Once it is determined during step 2210 that there are no additional subscriptions to be processed, then a further test is performed during step 2285 to determine if the subscribable objects have escalations. Escalations for the subscribable objects of the request can be retrieved from another table. An escalation for a subscribable object causes the user associated with the escalation to be notified if no one responds to a notification request with that object. If it is determined during step 2285 that the subscribable objects have escalations, then the escalation term is added to the communication flow during step 2290. The escalation term contains one term for each escalation record for each subscribable object on the request, with the delay for the individual escalation represented by the AFTER operator. The individual escalation terms are conjoined by the AND or RACES operator within the overall escalation term, which is enclosed in parentheses. The overall escalation term for all subscribable object escalations is conjoined with the existing commflow using the AND or RACES operator. Finally, the communication flow string is output during step 2295.
Third Party Subscription Delivery
As previously indicated, the subscription server 300 optionally provides the communication flows generated by the communication flow generation process 2200 to a third party, such as the notification and response system 200, for delivery to end users. As previously indicated, the application 110 sends a request proposal to the subscription server 300 that includes the Notification and Response System Request to be made, specified in XML or another appropriate specification language such as the Web Services Description Language (WSDL).
The XML for the Notification and Response System Request includes a line with a special string that marks where the communication flow needs to be inserted, as follows:
<target>%% COMMUNICATION_FLOW %%</target>
The <target> element is used to specify the communication flow in the Request XML specification and the subscription server 300 replaces the string “%% COMMUNICATION_FLOW %%” with a generated communication flow expression.
As long as the special string to be replaced is unique in all specifications, it is not even necessary for the subscription server 300 to know that the field for the insertion is <target> or that the request specification is in XML. This technique works for the specification of any downstream service.
To escalate for a single person not responding, say joann not responding, the communication flow would be expressed as:
joann races dave after +04:00
Thus, if joann doesn't answer in within 4 hours, dave is also contacted. A response from one of them completes the entire communication flow. Similarly, to escalate on a delegation, the communication flows would be expressed as:
Full delegation of joann to ham becomes:
ham races dave after +04:00
Shared delegation of joann to joann, ham becomes:
(joann races ham) races dave after +04:00
Parallel delegation of joann to joann, ham becomes:
(joann and ham) races dave after +04:00
In the last case, joann and ham must both respond before the four hours have passed to prevent the escalation. This last case assumes commflows in accordance with Version 2.5 of the Xui™ system and that users can only answer “Yes” and not “No” to the notification. Handling “No” is more complicated and requires V3.0 communication flows.
If the initial person contacted should continue to be contacted even if the escalated person responds, then the above examples are changed to have the following form:
joann and not dave after +04:00
To escalate for a group, any one of whom can answer to prevent the escalation, a V3.0 communication flow is needed.
Assume that you don't want the answer from one member of the group to cancel the notifications to the other members of the group, and that individuals can only answer “Yes” and not “No” to the notification. The group is ham, dave, joann and the escalation is to pat. The communication flow may be expressed as follows:
CONSULT {ham, dave, joann} races pat after +04:00
It is noted that “CONSULT” is a parallel list operator that evaluates all of its children and waits for one of them to result in a TRUE or FALSE. This result is returned as the value of the operator, but the remaining operands are placed OUT-OF-BAND so that they can continue operation but have no affect on the outcome of the overall expression. They may additionally be tagged with an OUTOFBAND label. CONSULT evaluates to NORESULT until one of its children has evaluated to a truth-value of TRUE or FALSE, it then returns that result placing the rest of its children OUT-OF-BAND. If all of its children result in a truth-value of MAYBE, then this operator results in MAYBE.
If at least one member in the consult answers then Pat never receives the escalation. If Pat receives the escalation and answers, then all messages to the group in CONSULT are cancelled. This parallels the technique above for individuals and does not use the limitation that the recipients can't answer “No.”
If you want the group to continue to be notified even if the escalated person answers, then the communication flow is expressed as follows:
CONSULT {ham, dave, joann} and NOT pat after +04:00
This communication flow uses the assumption that people cannot answer “No.”
For a more detailed discussion of the generation and evaluation of communication flows, see U.S. patent application Ser. No. 10/184,236, filed Jun. 26, 2002, entitled “Method and Apparatus for Automatic Notification and Response;” and U.S. patent application Ser. No. 10/184,325, filed Jun. 26, 2002, entitled “Method and Apparatus for Automatic Notification and Response Based on Communication Flow Expressions,” each incorporated by reference herein.
In addition, the exemplary user interface 2300 includes the following three questions in section 2330 that allows a user to indicate whether they will take responsibility for the request:
Yes, I take responsibility for this;
No, I don't take responsibility for this case, but will follow its progress; or
No, I don't take responsibility for this case.
System and Article of Manufacture Details
As is known in the art, the methods and apparatus discussed herein may be distributed as an article of manufacture that itself comprises a computer readable medium having computer readable code means embodied thereon. The computer readable program code means is operable, in conjunction with a computer system, to carry out all or some of the steps to perform the methods or create the apparatuses discussed herein. The computer readable medium may be a recordable medium (e.g., floppy disks, hard drives, compact disks, or memory cards) or may be a transmission medium (e.g., a network comprising fiber-optics, the world-wide web, cables, or a wireless channel using time-division multiple access, code-division multiple access, or other radio-frequency channel). Any medium known or developed that can store information suitable for use with a computer system may be used. The computer-readable code means is any mechanism for allowing a computer to read instructions and data, such as magnetic variations on a magnetic media or height variations on the surface of a compact disk.
The computer systems and servers described herein each contain a memory that will configure associated processors to implement the methods, steps, and functions disclosed herein. The memories could be distributed or local and the processors could be distributed or singular. The memories could be implemented as an electrical, magnetic or optical memory, or any combination of these or other types of storage devices. Moreover, the term “memory” should be construed broadly enough to encompass any information able to be read from or written to an address in the addressable space accessed by an associated processor. With this definition, information on a network is still within a memory because the associated processor can retrieve the information from the network.
It is to be understood that the embodiments and variations shown and described herein are merely illustrative of the principles of this invention and that various modifications may be implemented by those skilled in the art without departing from the scope and spirit of the invention.
This application claims the benefit of U.S. Provisional Application No. 60/554,232, filed Mar. 18, 2004, and is related to U.S. patent application Ser. No. 10/184,236, filed Jun. 26, 2002, entitled “Method and Apparatus for Automatic Notification and Response;” and U.S. patent application Ser. No. 10/184,325, filed Jun. 26, 2002, entitled “Method and Apparatus for Automatic Notification and Response Based on Communication Flow Expressions,” each incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
Parent | 10999909 | Nov 2004 | US |
Child | 13621198 | US |