This invention relates generally to Internet telephony, and more particularly to a call processing architecture and feature model adapted for implementation via the Internet.
Inexpensive connectivity provided by the Internet, along with wireless devices and the emergence of ubiquitous sensors is creating the conditions for a generation of new services based on an ‘always-connected’ feature model. In this model users are always reachable by means of portable wireless appliances without limitation due to time or location. Conversely, users are also always able to reach useful collaborators and information. These capabilities call into question a number of assumptions that underlie traditional prior art call processing models. Many features of prior art call processing models make implicit assumptions about system and user behavior that are used to handle calls to a busy or not-present user. In the ‘always-connected’ feature model, the ‘not-present’ assumption is invalidated.
Traditional models of call processing fall into two distinct categories. The older model utilizes centralized call processing in which a call is created as a single entity in a single place. In such prior art systems, ‘busy’ meant that a telephone set was off-hook and therefore the telephone switch control could not communicate with it.
In the newer Intelligent Network (IN) SS7 (signaling system 7) model, the call results from the cooperation of two distinct entities (call-halves) which cooperate by means of message passing and negotiation over a digital backbone using ISUP protocol. Feature logic is centralized in offices referred to as SCPs (service control points). Features operating in the local offices (SSPs or service signaling points) may have trigger points in their code for referring operation to an SCP to obtain proper behavior.
The distributed call-halve model allows for call processing to be physically distributed. With call state sharing, the assumptions regarding ‘busy’ status have been modified giving rise to features such as ‘call waiting’ and ‘camp on’. A call process separate from the equipment used to make call connection has allowed for communication with the user on an existing call, and user notification of a call queue awaiting his/her attention.
Both of these call-processing models share the characteristic of a centralized definition of features. Indeed, in the instantiation of the Intelligent Network (IN), this was considered to be a primary benefit of the distributed model (i.e. new features can be defined and provisioned centrally in the IN). This has resulted in the benefit of creating a faster time to market for new features and greater stability in the network as features need to be designed only once to run on switching systems purchased from any manufacturer. Network stability has also been enhanced since features have been designed by teams of experienced designers with a view to avoiding ‘bugs’ resulting form interactions of multiple feature designs. Most useful features are specific to and have knowledge of the current user context. IN services therefore have great difficulty with customized and personalized services, which are the services of most utility. As a result the IN and its successor the Advanced Intelligent Network (AIN) have not been able to achieve what had been hoped.
The Internet has created an emphasis on a new set of non-functional requirements that have been difficult to achieve using the above-described existing models of call processing. Centralized feature definitions make it difficult to create customized services tailored to particular enterprises in the public network and to create services personalized to the needs of specific users in enterprise networks, which are hallmarks of Internet applications.
More recently, the SIP and CPL protocols have been developed by IETF to provide user defined call handling (see Sinnreich, H; Johnston, A. B., Internet Communication Using SIP, Wiley, 2001 pp 104-108, and The Internet Draft by Schulzrinne, H.; Rosenberg, J.; SIP Caller Preferences and Callee Capabilities, draft-ieff-sip-callerprefs-05.txt available at: http://www.softarmor.com/sipwg/drafts/draft-ieff-sipcallerprefs-05.txt). In these models call disposition is not controlled by a centralized set of standard features designed in a lab environment by expert developers. Rather, the user specifies a set of personal features that can be tailored to closely match the needs of the user's activities within an enterprise environment. These personal features can be cognizant of the identity of the user's collaborators, the nature of the work being done, the user's calendar and so on.
Within SIP, a user may register several Contact addresses with the proxy server that is serving him/her. The user may specify in the SIP INVITE message the types of connections he/she will accept. This is done by specifying the characteristics of the end point (or User Agent) in the ACCEPT-CONTACT and REJECT-CONTACT headers that the user prefers to either accept or reject, respectively. These headers can specify specific end-points in terms of their URLs as being preferred for acceptance or rejection.
The ability to identify specific end points that are preferred for rejection or acceptance indicates a new level of features that are being enabled by SIP. The caller preferences in SIP may specify specific characteristics of the physical device at the end point, which provides an easily understood application of this protocol to conventional telephony.
However, there is no adequate explanation in the SIP drafts of how conflict between called party and caller preferences may be identified and resolved. The CPL specification (Lennox, J.; Schulzrinne, H.; Call Processing Language Framework and Requirements, IETF RFC2824, http://www.ieff.org/internet-drafts/draft-ieff-iptel-cpl-06.txt) mentions that certain caller preferences may be ignored in making a decision. However no guidance is given as to whether such a capability is acceptable or even useful. In short the currently specified SIP call handling procedures are inadequate for call handling in realistic call processing situations.
Thus, SIP and CPL do not provide an effective architecture for handling user preferences in the execution of features and especially in the handling of conflicts between preferences. Consequently, doubts have been expressed concerning the scalability and evolvability of such protocols to realistically sized systems using Internet technology.
Accordingly, the inventor has recognized the desirability of extending the IETF model, understanding the features that it enables and developing practical technological solutions to issues in implementation of these features.
In the present invention, an Active Call Delivery (ACD) system is provided according to a distributed call processing model which uses local rather than centralized feature definition. Communication end points within the system have the ability to define their own feature behavior. A standard language is used to convey indications between end points for negotiation of call behavior. There are two important differences between the call processing model of the present invention and prior art call processing models. Firstly, there is no distributed call state. This follows from the capability of each communication end point to define its own call handling preferences, such that the call states of each end point are in general unknowable to each other end point (that is, in Internet telephony there is no central repository of features). Secondly, the indications exchanged between each side have no commonly shared semantics. They are merely syntactic entities that a receiving end point can interpret as indications of the goals of the sender end point for the purpose of creating an interaction that meets the needs of its user.
Several new applications in call processing are possible in the system according to the present invention that are characterized by the interpretation of external events to facilitate personalized and customized services. There are three main types of such new application implemented services.
Personalized call control services are provided which are aware of the user's relationships in his/her business environment. These services interpret the importance and urgency of a call in the context of the relationship between the called and calling parties. For example, this type of service processes information to determine if a call is relevant to the user's current activities or if it is from an important customer, etc. to determine how it should be handled.
A second type of service shares awareness of a user's availability. Instead of controlling incoming calls and restricting access as traditional telephony does, this type of service attempts to engender useful communication by advertising the availability of potential collaborators. In order to do so, it attempts to understand the user's current area of interest either by taking direct instruction from the user or by interpreting his/her activities. It then determines the interest of potential collaborators in this area of interest and presents that information to the user. This use of availability can be extended to directly selecting expert collaborators and other resources.
The third type of new service utilizes events in the enterprise environment to make the user aware of activities of his/her collaborators. This includes examples such as notification and alert services. For example, the registering of a visitor at the reception area of an enterprise may be taken as an indication that an alert should be sent to a user's pager if he/she is not at his/her desk. This action happens automatically without human intervention. Additional examples include airplane schedule changes and stock price alerts, etc. The above examples exist in a virtual space that models the user's activities. However other examples can be given in which real space is marked with notifications and alerts.
In order to implement the new application-based services set forth above, the following functional elements are provided according to the present invention: Context update, Feature selection, and Feature execution, each of which is described in detail below.
A detailed description of the invention is set forth herein below, with reference to the following drawings, in which:
Turning to
Our co-pending patent application filed on the same date as this application and entitled “Availability and Location Predictor Using Call Processing Indications” describes a method of evidence gathering that surmises (i.e. makes guesses) about user availability from his/her interactions with a PBX system. The interactions are gathered as awareness information and processed by an algorithm into availability information. By using awareness information as evidence, the algorithm makes predictions about availability of the user or makes decisions in call processing. This information is fed back into a tuple space as assertions that indicate high level assessments about the user's state. These assessments are then used by the call processing components described below to make decisions on call handling.
Additional inventive aspects relating to the application of awareness data 1 to context-based communication systems is set forth in our copending applications filed on the same date as this application and entitled “System and method for facilitating communication using presence and communication services” and “Generation of Availability Indicators from Call Control Policies for Presence Enabled Telephony System”.
Awareness data (i.e. raw information about the user) that has been processed by context engine 3 into availability information is then applied to a policy engine 5 in the form of assertions of interest to policies within the system, as described in detail below. The policy engine 5 includes a context update block 9 and feature selection policies 11.
In context update block 9, an incoming event (e.g. Invite, etc.) is related to the current context of the user. Every event has associated with it some indicators that are pertinent to the user's call that provide evidence of the relevance, urgency and importance of the call to the user. Such indicators include caller identity, role relationship between caller and called party, group or project membership, location of user, current state of called user, subject of the call, and so on. Some of these evidential indicators are explicit in the call and some can be derived by inference from other indicators (e.g. awareness data, as discussed above). The context update block 9 uses opportunistic reasoning to develop the required evidence. This evidence is then supplied to the feature selection policies 11 for selecting a feature, discussed in greater detail below. As discussed in our counterpart application entitled “Generation of Availability Indicators from Call Control Policies for Presence Enabled Telephony System”, the evidential indicators may be in the form of fuzzy variables. The fuzziness of these variables is used to indicate the degree of credence that the system has in them.
In the context update evidence gathering process performed by block 9, the system occasionally asks the user which feature he/she wishes to have executed. Sending the user options to his/her wireless browser asking for his/her selection is one among several mutually appropriate options for accomplishing this. Moreover, options may be sent to the calling party asking him/her to select one of several acceptable options.
As discussed above, the user sets some of the policies used in the opportunistic reasoning of context update block 9, although many of the policies are implicit in the way people generally interact. Thus, several default policies are set by system administrators using sociological principles. Examples of such default policies include calls from superiors being more important than calls from subordinates, someone alone in an office being more available than someone with several visitors, calls with a subject related to a user's current activities are less intrusive than calls with unrelated subjects, etc.
Once the user context has been updated with call specific information in block 9, the feature to be performed is selected in block 11. Feature selection policies block 11 utilizes the evidence generated previously in block 9 to direct call handling in accordance with policies set by the user governing the personalized call handling he/she expects. These policies indicate how calls should be handled for differing role relationships, time of day, user state, user location etc. According to applicant's counterpart application filed on the same day as this application and entitled “Personalizable and Customizable Feature Execution for IP Telephony Using Operational Semantics and Deontic Task Trees”, block 11 uses forward chaining with fuzzy reasoning to generate priorities among all proposed features and relates that to the intrusiveness of the proposed actions. This results in the selection of a single feature as being the most appropriate for call handling given the declared personalized preferences of the user. The feature is then executed, as shown at block 13.
The execution of features at block 13 can be modulated as described in co-pending UK Application No. 9920051.1 (Call Processing by Synchronized Tuple Spaces) to allow external features acting as enterprise constraints to control the execution of the selected feature.
Thus, in an implementation of the invention that extends the capabilities of SIP, higher levels of abstraction may be specified beyond merely specifying the characteristics of the end point in the ACCEPT-CONTACT and REJECT-CONTACT headers. The end-points may also specify higher level aspects of the user's business relationship. Thus, when an incoming INVITE or other call set up message is received, the content of the message is parsed and used to update the context of the user within block 9 with indicators of the current call. This information is then used to determine which aspect of the user is most appropriate for the call to be directed to The SIP ACCEPT-CONTACT and REJECT-CONTACT headers are used as evidence in this selection. Appropriate features can then be selected in block 11 based on the derived context, and executed as shown at 13.
With the new addressing capabilities of Internet-based telephony, features can take on new semantics. Instead of remaining at the device level as in conventional telephony, features can operate at a personal level. Calls are not directed to physical endpoints but rather to aspects of the user's identity within his/her business context. A user may have multiple aspects to his/her identity, each of which has different capabilities in the business environment. For example, a user may have multiple aspects to his identity in the form of:
Voice mail box for messages that do not need current attention
Secretary or equivalent function that can use mechanisms outside of call processing to make routine decisions about call disposition and other matters to shield the user from interruption
Identities that represent the user in distinct current projects
Etc.
These multiple identifies may be carried directly in URIs that convey meaning in respect to aspects of the user's identity using the standard ‘dot’ convention. Thus, a user named John Doe may have multiple aspects of his business identity specified as:
secretary.john_doe@example.com
personal.john_doe@example.com
voice-mail.john_doe@example.com
project.sub.-3499.john_doe@example.com
This change in convention effectively creates an entirely new model of how telephony features operate in converged voice and data systems. As indicated above, according to this invention, features operate with an understanding of the current user context and communications are directed to the most appropriate aspect of the user identity. Thus, for example, calling parties can indicate which aspects of the identity they wish to contact and which aspects they do not wish to deal with. In practice this can be enabled in SIP, by allowing a user to specify multiple end points (called User Agents) where he can be contacted. The user invokes the REGISTER method to declare these locations with a registrar that serves his proxy. When a calling party wishes to make a connection with another user, he may specify contacts that he does not wish to make connection with in a REJECT_CONTACT header and give a list of acceptable contacts with relative priorities for each of them in ACCEPT_CONTACT headers. This convention allows the SIP constructs to enable personal level features beyond the current practice of device level features.
An exemplary hardware implementation of the system according to the present invention is shown in
The ACD client 21 consists of user interfaces and user agents. The user interfaces provide an introduction window, a login window for a registered system user, and a registration window for a new user. Knowledge management is an important part of the user interface on the client system. A user can create or manage personal information such as a buddy list, relationship information, a schedule and a user preference rule. The client server utilizes two types of agents: The Call Delivery (CD) agent and the System Management (SM) agent. The CD agent acknowledges events, which are generated by the Call Monitor, in the TSpaces server 23. The Call Monitor is a direct interface with the MiTAI Gateway 25, and creates an event that is fed into the TSpaces server 23 for starting call processing by the CD agent. Next, the SM agent acknowledges the event from the CD agent, and distributes the call processing to agents on the network. Although each agent has distinct services, both the server and the client have certain common modules as per customary object-oriented design. These common object modules and the other modules are explained below.
The Event Handler subsystem 33 is a monitoring daemon that resides between the user interface 31 and the Application Level subsystem 35. It waits for physical events to arrive from the user interface 31, such as mouse clicks, and directs them to the appropriate application module. The development tool, Java, provides embedded event handlers, such as ActionListener, for this purpose.
The Application Level 35 is the core of the system. It consists of multiple agents that provide services for a client as well as for a server. All of the system transactions, functionalities, and knowledge management are performed within this subsystem.
As shown in the class diagram of
Each agent is also responsible for registering an event into the TSpaces 37 to communicate with client machines. Whenever an awaited tuple is written into the TSpaces, the TSpaces server 23 notifies this to an agent that registered the event. Generating an event and getting notification of the event from the TSpaces 37 forms a two-way communication-acknowledgement between agents.
The Relationship Assigning (RA) agent is responsible for responding to a relationship-assigning request from a client's SM agent. The request from a SM agent contains caller and receiver information. The RA agent assigns the relationship between the user and the caller according to the user's buddy-list.
The User Rule Assigning (URA) agent is responsible for responding to a user-rule-assigning request from a client's SM agent. Upon request, the URA agent retrieves both the relationship information and the user's current contexts. The relationship information is a relationship between the caller and the receiver, set by the RA agent. The user's current contexts are the user's location, the current time with the user's schedule, and the user's activity.
Who is calling?
Where is the user?
What the user is doing?
When is it?
The User-rule Conflict Resolving (UCR) agent is responsible for responding to a client's SM agent for the user-rule conflict-resolving request. The request contains user rule information that is assigned by the URA agent. The UCR agent selects one rule that is the most specific among the assigned rules. The more conditions a rule has, the more specific a rule is considered to be. The Call Simulation service is provided for testing without connecting to a MiTAI Gateway 25. A window with a form serves this functionality.
As shown in the client module class diagram of
The Call Delivery (CD) agent is responsible for communication with the phone switch or PBX 26 through MiTAI Gateway 25. In particular, the CD agent registers events to MiTAI Gateway 25 and waits for the notification of an incoming call for a user. When the notification arrives, the CD agent sends a request to the SM agent for further processing and waits for response. This response from the SM agent contains an action to be taken as a result of an entire call processing. Then the CD agent is responsible for requesting the selected action to the MiTAI Gateway 25.
The System Management (SM) agent is responsible for managing other agents' status and sequencing call processing according to the system agents' priority. When the CD agent requests call processing, the SM agent scans the agents' status tuples in the TSpaces 37 and makes a sequence table according to their priority. It sends a processing request to the highest-priority-agent, waits for a response and then sends it to the next-highest-priority-agent. When the SM agent receives a response from the lowest-priority-agent, it sends an information tuple back to the CD agent.
The Context Simulation module serves as a context agent that dynamically detects, interprets and updates the user's current contexts. A Context Simulation window includes all of the possible contexts, which are set by a system administrator, and a user selects from them.
TSpaces 37 (i.e. tuple spaces), are implemented in one or more servers 23 as a network communication buffer with database capabilities. A more complete description of TSpaces 37 may be found in http://www.almaden.ibm.com/cs/TSpaces/, and in co-pending UK Patent Application No. 9920051.1. TSpaces 37 enable communication between applications and devices in a network of heterogeneous computers and operating systems. TSpaces 37 provides group communication services, database services, URL-based file transfer services, and event notification services. The TSpaces 37 are implemented in the Java programming language and thus automatically possess network ubiquity through platform independence, as well as a standard type of representation for all data types. The TSpaces system is appropriate for any application that has distribution or data storage requirements. It can perform many of the duties of a relational database system without imposing an overly restrictive (and primitive) type system, a rigid schema, a clumsy user interface or a severe runtime memory requirement. In the present invention, the TSpaces Server 23 is the medium between the system and user knowledge stores. It is responsible for managing all tuple-based knowledge transactions, which include read, write, update, take and scan. It is also responsible for event handling, such as registration and notification of events.
The MiTAI Gateway 25 facilitates communication to the MITEL telephony servers (i.e. PBX 26) for processes that are not based on the “C” development language. A description of the MiTAI Gateway 25 may be found in Ramiro Liscano, “MiTAI Gateway”, MITEL Networks, June 2001. The MiTAI Gateway 25 is a Windows based process that can be executed on any Windows platform. It can manage a single socket connection from any other process on a network and it supports a limited session protocol.
The MiTAI Gateway Server 25 is the intermediate system between the PBX 26 and the ACD's Application Level subsystem 35. The Application Level subsystem 35 registers an event to the MiTAI Gateway server 25 for the purpose of monitoring incoming calls.
In terms of system topology, the User Interface 31 is built on a Windows Platform, and it interacts with the Application Level 35 through an Event Handler 33. The Application Level 35 subsystems use TSpaces server 23 as the medium for communication and for accessing the System Knowledge Management of the server and clients.
All of the knowledge, which includes user information, user rules, the user's current context information, and call information, is stored in the TSpaces 37. The unit of storage is a tuple, as set forth in the references cited above, and as discussed in the Appendix to this specification.
User Information consists of basic user information, relationship information, a buddy list, user preference rules and the dynamically varying user's current context information. User Information is stored in a tuple named “UserProfile” and the structure is as follows:
{“UserProfile”, id, user-info, relationship, buddy-list, user-rule, context}
where “UserProfile” is the name of the tuple, id is user identification for uniquely identifying a user in the system. The user-info field contains basic user information about the user such as: password, name, phone numbers, and the user's time schedule. The phone numbers are extension phone numbers within the PBX 26, such as my office and secretary's phone numbers (e.g. 4001). This field also contains the schedules of the user. Schedules for lunches and meetings may be input by the user directly or ascertained from another application (e.g. Microsoft Outlook, etc.). The relationship field contains relationship information which is defined by the user in a relationship hierarchy using the user interface. The user can add any person as his “buddy” in a buddy list. The buddy list contains information about such persons including as name and phone number, as well as their relationship to the user. The user-rule field contains a user preference rule. The user creates his/her personal preferences for handling incoming calls via the user interface 31. The conditions in a rule can make use of the contexts, the buddy list and a relationship selected from the relationship information hierarchy. In that regard, the context field contains context information. The context determining parameters, which are used in the system, are location, the user's current activity and the present time. The location and activity contexts have a hierarchy, so that they may have sub-contexts. The current context information of a user can be either a real context or a pretended context set by the user. The real context information is updated by the context agent(s) whereas the pretended context, on the other hand, is set and controlled by the user. The pretended context is designed to override the real contexts if so desired by the user. The hierarchy of the location parameters is defined by a system administrator. Thus, if a location's properties are coupled with the phone number, the system can deliver the user's call to the phone nearest to the user's current location.
There are two kinds of activities that can be defined. Some activities can be automatically detected by the system, whereas others can only be assumed or set by a user. For example, the system is able to know whether the user is ‘on the phone’, but it is difficult to judge if the user is ‘busy at work’ or ‘having a break’. Therefore, detectable activities are updated by the system automatically, and others are set by the user. A receiver's time context is set according to his time schedule. For example, if the user's lunchtime is scheduled from 12 p.m. to 1 p.m., the system can assume that the user is having lunch during that time period.
Call information is contained in a tuple that an agent shares to communicate with other agents for processing an incoming call. Therefore, it contains all of the necessary data fields for caller information and user preference rules. Agents take the “Call” tuple from the TSpaces 37 and update it according to their responsibility. For example, the RA agent assigns relationships between the caller and the receiver, the URA agent assigns all the appropriate user rules, and the UCR agent resolves user rule conflict by selecting only one user rule. The form of this tuple is:
{“Call”, dest-agent, source-agent, id, call-info, user-rule}
where “Call” is the name of the tuple, dest-agent is the destination agent that is expected to receive this tuple, the source-agent field identifies the source agent that sends this tuple, the id field is user identification, and the call-info field contains basic information of both the caller and the receiver such as phone number, name and relationship information between them. The user-rule matches user rule(s) assigned by the agents. The “Call” field and the dest-agent field are used when agents register an event in the TSpaces server 23. The following is a part of the SM agent event registration routine to the TSpaces server 23:
Tuple template=new Tuple(“Call”, “SMAgent”, new Field(String.class), id, new Field(String.class), new Field(String.class), new Field(String.class)),
seqNum=ts.eventRegister(TupleSpace.WRITE, template, this, newThread);
It requests the TSpaces server 23 to notify the SM agent when a tuple is posted where the first field is “Call”, the second is “SMAgent”, and the fourth is user id, and where the third field is new Field(String.class) which means that any value will be acceptable for this field.
Module interactions show the behavior of the classes, the modules, and the system as a whole. They describe how the components of the system interact by message passing, function calls, and by sharing the state information. The components interaction for the present invention are shown in the use case diagram and a state chart diagram of
In order to use the system, including the server system for administrators and the client system for users, a person must be authorized. First time users register by clicking the “Register” button in the “Log-in Window”, as indicated in
Registered users and administrators need to be authenticated before using the system. The fields for user ID and password in the “Log-in Window” have to be correctly filled in, and then the “OK” button clicked. If both fields are filled without omission, the system checks validation of each field. This validation procedure is the same as it for the user registration. The validated user-ID and password pair should be matched with those in the Tspaces 37. The system obtains the information by executing the “read( )” operation and comparing them. The login processes are finished when either the user clicks the “Exit” button or there is a match between the input user ID and password pair and the pair already in the Tspaces 37.
A prototype of the ACD system of the present invention has been implemented using the Java programming language on a Windows NT platform, with the following packages used for the implementation:
The Java 2 Platform, Standard Edition v1.3.1, for a Java development environment
The TSpaces v2.1.2 as a data repository and a communication medium between agents
Mitel Telephony Application Interface (MiTAI) for the PBX interface
The details of the system's installation and execution method include unpacking the Java class files and executing them, as well as other server initiation processes which would be well known to a person of skill in the art.
The design of the ACD system is not restricted to any specific domain of users. A flexible method of defining knowledge for a user domain allows the system to be used in different domains. A system administrator can define a hierarchy of the user's location, activity and time according to a domain of target users. For the purposes of the successful prototype of this invention, the system provides two example domains: an office worker's domain and a professor's domain. A user may choose one of the two domains by clicking the corresponding button in the introduction window, as shown in
The ACD server system 27 is designed to be simple and easy to use. Having connected to the TSpaces Server 23, the installation procedure for the ACD server system 27 requires unpacking the Java class files and executing them on any machine on the network. At the start, a welcoming window provides brief information about the ACD system, administrator login information, and two buttons to load information for testing purposes: “An Office Worker Context Set Loading”, and “A Professor Context Set Loading”, as shown in
To login as an administrator, who controls knowledge and services for the server, the user is authenticated through the login window for an administrator as shown in
Once the login is authorized, the Server Main Window is presented for further processing, as shown in
Returning to
The server agents can be executed on any machine that has access to the TSpaces server 23. This means that any machine within the network can be used to execute a server agent. This design gives a flexible distribution of agents. All the agents can be executed together on a given machine by clicking the “ALL” button (
The Relationship Assigning (RA) agent assigns relationship information between the caller and the receiver based on the user's buddy-list. An example of execution is shown in
The User Rule Assigning (URA) agent assigns all user preference rules that match the conditions of the rules and the user's current context, as shown in
Rule name: Worker-office rule
Condition: If a call is coming from (worker) relationship
And when I am in my (office)
Action: Put through the call
Rule name: Thomas Ragan-busy rule
Condition: If a call is coming from (Thomas Ragan)
And if I am (busy)
Action: Ask the caller what to do
Rule name: worker-office-busy rule
Condition: if a call is coming from (worker) relationship
When I am in my (office)
If I'm (busy)
Action: Forward it to voice mailbox
The names of the assigning rules are displayed as they are matched in
The User-rule Conflict Resolving (UCR) agent selects one user preference rule if there is more than one rule assigned by the URA agent. According to one embodiment of the invention, the UCR selects the most specific among the assigned rules. A rule with more conditions is considered more specific. In the scenario set forth above, the “worker-office-busy rule” is the most specific rule among the assigned rules, and is therefore selected as shown in the
As discussed above with reference to
During the login process (
A first-time user is prompted to provide basic user information such as user ID, password, name and phone numbers through registration. The input user ID is checked to see if it is not duplicated with existing user IDs. Each field has its own constraints of length and format. An error window notifies the user if any constraint is violated on clicking the “Register” button (
The main window for client control is presented if the login or registration process is successful, as shown in
The personal relationship information is shown as a tree structure that is easy to maintain (
Clicking any of the fields on the table in
As shown in
The user-rule Setting Window consists of three parts: the user rule table, which consists of sequence numbers and user rule names, UI buttons, and a Description window, as shown in
Clicking the “Add” button in the “User-rule Setting Window” starts the creation of a new rule. Adding a new user rule involves four steps. The first step is to select the contexts as a part of the conditions of the rule being created (
The second step is selecting a type of caller as a part of the condition. One of three categories can be selected: any caller, a buddy list table, and a relationship tree. These three categories are exclusive, so that radio buttons are provided to select only one category. When a category is selected, the user can then select items in its selection window.
The third step is selecting an action of the rule from the predefined list of actions, as shown in
The fourth and the last step for creating a new rule is confirmation. As shown in
The description of the rule as an example for creating a new rule (from
Rule name: Mindy Baker-office room-busy rule
Condition: If a call is coming from (Mindy Baker)
And when I'm in my (office room)
And when I'm (busy)
Action: Forward it to secretary
The entire process to create a user preference rule is shown in
Ultimately, the user's current contexts such as the current location and activity are updated by the Context Agent. In the successful prototype, a simulation program was used to substitute the occurrence of events in real-life. For testing purposes, the tester selects one of the desired contexts on the hierarchy trees, and then clicks the “Apply” (
As discussed above, the client has two agents: the Call Delivery Agent (CD) agent and the System Management Agent (SM) agent. Each agent has its own display window to present procedural messages to a user. The CD agent is connected to both the TSpaces server 23 to communicate with other agents and to the MiTAI Gateway server 25 to communicate with the phone system.
The window in
A call processing request can be received from either the Call Simulation or the Call Monitor. The Call Monitor communicates with the MiTAI Gateway server 25 for handling actual phone calls whereas the Call Simulation is another window on a server machine to test the system without MiTAI Gateway interfaces. When call processing has finished involving all the available agents, the CD agent extracts the selected user rule, which is a result of the processing, and requests the Call Monitor to carry out the action stated in the selected rule. When the example in
The SM agent is also connected to the TSpaces server 23 to communicate with other agents. The display in
In summary, according to the present invention a model of contexts is defined for a message delivery system and a system architecture provided that facilitates the creation of context- and rule-based communication. Location context is used to forward incoming calls based on location information. The user's activity or availability is used in the instant invention to notify other connected users about the user's status such as “busy”, “be back”, “away” and “lunch”. The time context is used to set the time of application of certain user-defined rules.
By receiving the appropriate messages in the right situation, system users benefit from minimal interruptions. By exploiting personal traits and filtering messages based on both a user's current context models and his/her preference rules, the possibility of having desirable delivery action for the user is enhanced. Although the user's current contexts have been simulated for the purpose of the working prototype of the system set forth in detail above, a person of skill in the art will readily appreciate that the system can be implemented with a Context Agent, which actually detects a user's contexts. To that end, a simple type of the Context Agent, which detects a computer's mouse movement, has been tested in operation, a user who uses multiple machines in the network first logs into a particular computer. The Context Agent detects the computer's mouse movement and in response updates the user's location information in the Tspaces 37 so that an incoming call can be notified or forwarded to the user at that location.
As discussed in our co-pending application entitled “Privacy and Security for Presence Systems with Tuple Spaces”, although using the TSpaces 37 provides great flexibility in the aspect of multiple agent system design, it suffers from a weakness in security since it allows for the sharing of all information. Some of the privacy-sensitive information such as the user profile should be protected. The TSpaces server 23 provides access control by setting user and group permissions on the Tspaces 37 so that only users with the proper access control permissions may read and write tuples from the TSpaces. Additional security measures are set forth in the aforenoted copending application.
Also, although the successful prototype has been described in terms of call processing, it is contemplated that the principles of the invention may be extended to implement context-based event handling beyond telephony, such as email processing, visitor notification services, etc.
All such modifications and variations are believed to be within the sphere and scope of the present invention as defined by the claims appended hereto.
The following Appendix sets forth in greater detail the structure and operation of specific tuples used to implement the successful prototype:
Knowledge is stored in the Tspaces 37. The unit of knowledge is a “tuple”, which is also the unit of data transaction with the TSpaces. A tuple is an aggregation of field(s), and maximum of seven fields are allowed by the TSpaces. The first field is reserved for the name of a tuple, and other fields can be either a simple string or a string with tags. Each field contains simple but flexible data. It uses tags similar to XML format but it does not use any particular parser due to the problems of TSpaces with XML. It uses internal function to have access to data instead of parsing. The simple string will be marked as ‘String’, and the string with tags will be marked as ‘Tag String’ in the definitions below. There are four tuples for this system: ‘UserProfile’, ‘Call’, ‘Context’ and ‘AgentInfo’.
There are user-defined fields: the ‘relationship’ in the ‘UserProfile’, the ‘location’ and the ‘activity’ in the ‘Context’. The knowledge structure for those fields will be defined during run-time by using the GUIs. Those fields will be marked as the ‘User Defined’. Some fields allow saving many same-format-fields. For example, the ‘userrule’ field in the ‘UserProfile’ tuple allows saving many user rules in that field. (marked as *)
1. UserProfile
1.1 Description
This is user specific information, includes basic user information, for call delivery.
1.2 Tuple Fields
userinfo Field: This field contains fundamental user information for operating the system.
sup.2XML DTD is for reference only. The implementation did not use these DTDs.
relationship Field: This field contains the hierarchy of personalized relationship information that is defined by a user using GUI.
buddylist Field: This field contains a list of buddy and their information, which is set by a user
userrule Field: This field contains a list of user rules, which are created by a user
context field: This field contains the user's current contexts, which are set by either simulation agent or context agent.
2. Call
2.1 Description
This tuple is for call processing among agents.
2.2 Tuple Fields
destagent Field: This field contains a name of the destination agent that will receive this tuple.
sourceagent Field: This field contains a name of the source agent that is sending this tuple.
id Field: This is a unique user id that using as a key value to scan and read tuples.
callinfo Field: This field contains basic information of both a caller and a receiver such as phone number and name. It also contains relationship information between them.
userrule Field: This field contains user preference rules that are selected by agent(s). The format of this field is exactly the same as that ‘UserProfile’ has.
3. Context
3.1 Description
This is the hierarchy of context information that will be decided and input by system administrator. The contexts, which will be used in our prototype system, are a user's location, his/her current activity and the present time.
3.2 Tuple Fields
4. AgentInfo
4.1 Description
Agents are responsible for updating their status into the TSpaces. The SM agent uses this agent information when it decides the sequence of the process according to their availability.
4.2 Tuple Fields
Number | Date | Country | Kind |
---|---|---|---|
0218713.6 | Aug 2002 | GB | national |
This is a continuation of U.S. patent application Ser. No. 10/631,811, filed Aug. 1, 2003 now U.S. Pat. No. 7,406,170.
Number | Name | Date | Kind |
---|---|---|---|
5493692 | Theimer et al. | Feb 1996 | A |
5970388 | Will | Oct 1999 | A |
6301609 | Aravamundan et al. | Oct 2001 | B1 |
6697840 | Godefroid et al. | Feb 2004 | B1 |
20020085701 | Parsons et al. | Jul 2002 | A1 |
20030182394 | Ryngler et al. | Sep 2003 | A1 |
20050246682 | Hines | Nov 2005 | A1 |
20060053377 | Newell et al. | Mar 2006 | A1 |
Number | Date | Country |
---|---|---|
0510411 | Mar 1992 | EP |
2351870 | Oct 2001 | GB |
2111148 | Apr 1990 | JP |
2309757 | Dec 1990 | JP |
5063828 | Mar 1993 | JP |
Number | Date | Country | |
---|---|---|---|
20080253551 A1 | Oct 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10631811 | Aug 2003 | US |
Child | 12157891 | US |