WO2009067780A1 - Presence model for presence service and method of providing presence information - Google Patents

Presence model for presence service and method of providing presence information Download PDF

Info

Publication number
WO2009067780A1
WO2009067780A1 PCT/CA2008/000409 CA2008000409W WO2009067780A1 WO 2009067780 A1 WO2009067780 A1 WO 2009067780A1 CA 2008000409 W CA2008000409 W CA 2008000409W WO 2009067780 A1 WO2009067780 A1 WO 2009067780A1
Authority
WO
WIPO (PCT)
Prior art keywords
state
presence server
rule
user
machine
Prior art date
Application number
PCT/CA2008/000409
Other languages
French (fr)
Inventor
Alain Southiere
Andy Pearson
Gwenael Le Bodic
Haraldur Thorkelsson
Jean Regnier
Manuel Laflamme
Original Assignee
Nokia Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US11/945,294 external-priority patent/US20080133742A1/en
Application filed by Nokia Corporation filed Critical Nokia Corporation
Publication of WO2009067780A1 publication Critical patent/WO2009067780A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Definitions

  • the present invention relates generally to presence services for mobile devices and, more particularly, to a presence model for instant messaging between mobile users, or between mobile and fixed users.
  • connection state of the user becomes more complex.
  • the user is not always required to log in or log out of the instant messaging application.
  • the mobile device may transparently log in during power up and log out during power down without any user intervention.
  • the instant messaging and presence application may run in the background even when the mobile user is not actively engaged in instant messaging conversations.
  • the "on line” and "off line” statuses may not accurately reflect the status of a mobile user.
  • a presence server comprising a finite state machine and a mapper.
  • the finite state machine maintains current machine states for a plurality of users and outputs state updates indicative of the current machine states of said users responsive to state transitions.
  • the mapper receives state updates from the state machine and maps said current machine states of said users to corresponding presence statuses.
  • the machine state for each user is maintained by a separate dedicated instance of the finite state machine.
  • the current states of the state machine include the "Available” state, the "Inactive” state, and the "Unavailable” state.
  • the state machine is configured to enter the "Available” state when the corresponding user logs into the presence server.
  • the state machine transitions from the "Available” state to the "Inactive” state when the user is inactive for a first predetermined period of time, and transitions from the "Inactive” state to the "Unavailable” state when the user is inactive for a second predetermined period of time.
  • the state machine may further include an "Active” state.
  • the state machine may be configured to enter the "Active” state when the corresponding user logs into the presence server in response to an invitation from another user.
  • the state machine may also be configured to transition from the "Inactive” state or the "Available” state to the "Active” state responsive to the detection of user instant messaging activity, and to transition from the "Active” state to the "Available” state when the user is inactive for a third predetermined period of time.
  • the state machine further generates message delivery rules responsive to state transitions.
  • the message delivery rules include instant message rules for delivering instant messages and presence update rules to control presence updating behavior.
  • the instant message rules may include an "online messaging” rule for directing an instant messaging application to use online messaging, an "offline messaging rule” for directing an instant messaging application to store instant messages for subsequent online delivery, and an alternative messaging rule for an instant messaging application to use an alternative delivery method (e.g., SMS) to deliver instant messages.
  • the message delivery rules may further include presence update rules for reporting presence information.
  • the presence update rules may include a "standard update” rule for configuring the presence server to provide presence updates at a default reporting frequency, a "reduced update” rule to configure the presence server to provide presence updates at a reporting frequency lower than the default reporting frequency, and a "no update” rule to configure the presence server to suspend presence updates.
  • Fig. 1 is a block diagram of a communication network including an instant messaging and presence server according to one embodiment of the present invention.
  • Fig. 2 illustrates user registration states according to one embodiment of the invention.
  • Fig. 3 illustrates the functional components of an IMPS server according to one embodiment of the present invention.
  • Fig. 4 illustrates the functional components of an exemplary presence service element for the IMPS server according to one embodiment of the invention.
  • Fig. 5 illustrates machine states defined by an exemplary presence model according to one embodiment of the invention, and the relationship between machine states and user registrations states.
  • Fig. 6 illustrates one exemplary mapping of machine states to corresponding presence statuses according to one embodiment of the invention.
  • Fig. 7 illustrates another exemplary mapping of machine states to corresponding presence statuses according to one embodiment of the invention.
  • Fig. 8 illustrates an exemplary non-exclusive set of event and state transitions realized by the state machine.
  • the present invention provides a method and apparatus for implementing instant messaging and presence service (IMPS) to enable the exchange of instant messages between mobile users, or between mobile users and fixed users.
  • IMPS instant messaging and presence service
  • the IMPS solution according to the present invention defines and implements a presence model specifically adapted for mobile users.
  • Fig. 1 illustrates an exemplary network 10 in which the present invention may be used.
  • the network 10 comprises a plurality of mobile devices 100 having IMPS clients, a wireless access network 12 for communicating with the mobile devices 100, and a wireless core network 14 providing connection to the Internet 18 or other packet data network.
  • the wireless access network 12 preferably comprises a packet- switched network, such as a GPRS, cdma2000, WCDMA, or WiMAX network.
  • the wireless access network 12 includes one or more base stations 16 or other wireless access points.
  • An IMPS server 200 connects to the Internet 18, or, alternatively, may reside in the wireless core network 14.
  • the IMPS server 200 provides instant messaging and presence services to the mobile devices 100.
  • the IMPS server 200 may also provide instant messaging and presence services to other user devices 20, such as desktop computers, with Internet connections.
  • the mobile devices 100 have an IMPS client (not shown) for communicating with the IMPS server 200.
  • the IMPS client is a software application that is executed on a processor and provides support for IMPS services to user applications, such as an instant messaging (IM) application or presence enhanced phone book.
  • IM instant messaging
  • the users of the mobile devices 100 may register with the IMPS server 200 for instant messaging and presence services.
  • a user can have one of three registrations states: registered, unregistered and pre-registered.
  • the registrations states and events or conditions that cause transitions between registration states are shown in Fig. 2.
  • a registered user is a user that has registered with the IMPS server 200 and has received an IMPS user ID. For purposes of this application, it is assumed that the registered users have a mobile device 100 with an IMPS client.
  • a registered user can exchange instant messages and presence information with other registered users.
  • a registered user may have a contact list for persons that the user converses with.
  • a pre-registered user is one that has not registered, but has been pre-registered by the system operator and has been assigned an IMPS user ID.
  • Registered users can interact on a limited basis with pre-registered users. For example, pre-registered users may have a contact list and may appear in contact lists for other users. When a registered user adds a pre-registered user to its contact list, the reciprocal add procedure can be used to add the registered user to the contact list for the pre- registered user.
  • the pre-registered user may have access to a pre-populated contact list when the pre-registered user registers with the IMPS.
  • An unregistered user is one that is included in the contact list of a registered user, but is not registered or pre-registered.
  • An unregistered user does not have an IMPS user ID.
  • a registered user cannot exchange presence updates with unregistered users.
  • an instant message may be delivered to an unregistered user by alternative delivery methods, such as SMS.
  • the mobile devices 100 can exchange instant messages, publish presence information, and subscribe to presence updates from other IMPS users. Presence information may, for example, reflect the current availability and/or willingness of the IMPS user to engage in an IM conversation.
  • IMPS users may elect to make their presence status available to other IMPS users.
  • IMPS users that provide presence information to other users are referred to as presentities.
  • a user that wants to receive presence information from another user may subscribe to receive presence updates from the presentity of that user.
  • An IMPS user that subscribes to receive presence updates from a presentity is referred to as a watcher.
  • An IMPS user can be both a presentity and a watcher.
  • the IMPS server 200 maintains presence information for IMPS users and serves as an intermediary between presentities and watchers for publishing presence information.
  • the IMPS server 200 implements a presence model described herein that is used to determine the presence states of presentities. Fig.
  • the IMPS server 200 comprises a service access point (SAP) 202 and one or more service elements 204.
  • the SAP 202 authenticates users, performs service discovery and service negotiation, manages user profiles, and routes service requests and responses.
  • the SAP 202 includes interfaces 202A, 202B, and 202C.
  • Interface 202A implements a Client to Server Protocol (CSP) to provide access for IMPS clients residing on mobile devices 100, or on desktop computers.
  • Interface 202B implements a Server to Mobile Core Network Protocol (SMCNP) to provide a connection to the mobile core network.
  • CSP Client to Server Protocol
  • SMCNP Server to Mobile Core Network Protocol
  • the IMPS server 200 can receive system events from the mobile core network 14 over the SMCNP interface. As one example, the mobile core network 14 could notify the IMPS server 200 when a user connects or disconnects from the mobile network.
  • Interface 202C implements a Server to Server Protocol (for example, the OMA SSP protocol or the OMA SIP/SIMPLE protocol) for connecting to other IMPS servers 200.
  • the SSP or SIP/SIMPLE interface can be used, for example, to establish an interconnect route between IMPS servers to join distinct IMPS communities into a larger IMPS community. When an interconnect route is established between IMPS communities, IMPS users in one community can interact with IMPS users in the other community in the same manner as if they belonged to the same IMPS community, subject to any differences in implementation.
  • the service elements 204 include a presence service element 204A, an instant messaging service element 204B, a group service element 204C, and a content service element 204D.
  • the presence service element 204A implements the presence model described herein and provides functionality for presence services.
  • the instant messaging service element 204B provides functionality for sending and receiving instant messages between IMPS users.
  • the group service element 204C provides functionality for defining and managing groups for IMPS users.
  • the content service element 204D provides functionality for sharing content, such as images and documents between IMPS users.
  • the IMPS server preferably complies with the Open Mobile Alliance (OMA) standard IMPS Architecture (OMS-AD-IMPS-V1_3- 20051011 -C), which is incorporated herein by reference.
  • OMA Open Mobile Alliance
  • Fig. 4 illustrates the functional components of the presence service element 204A according to one exemplary embodiment of the present invention.
  • the presence service elements 204A comprise a finite state machine 210, a mapper 220, and an activity timer 230.
  • the finite state machine 210 maintains presence information based on the presence model described herein.
  • each known user is represented by one dedicated instance of the finite state machine 210.
  • the presence model implemented by the finite state machine 210 comprises a number of machine states 212, the transactions or events that result in transitions between the machine states 212, and the actions that take place when entering of leaving a machine state.
  • the machine states are internal states and are not exposed to users.
  • the mapper 220 performs a consolidation of the machine states 212 into corresponding presence statuses to provide an indication of the likelihood that a user will respond to an instant message. The operation of the mapper 220 is described in more detail below.
  • the state machine 210 may use the activity timer 230 to monitor the activity level of the user.
  • the machine states 212 are defined by the presence model at a functional level without inferring them from presence statuses defined at the technology enabler level. At any given instant in time, the current state of the user is represented by one machine state 212. When a predetermined event occurs, or a predetermined condition is satisfied, the state machine 210 transitions between machine states 212. In response to a state transition, the state machine 210 outputs the current machine state 212 to the mapper 220. This output is referred to herein as a state update. The mapper 220, in turn, maps the current machine state 212 to a corresponding presence status. Table 1 below lists eight machine states 212 for one exemplary embodiment of the invention.
  • the list of machine states 212 is illustrative only and those skilled in the art will recognize that additional machine states 212 may be defined. Each machine state corresponds to only one registration state. A registration, however, may have a plurality of corresponding machine states 212. Thus, the relationship between registration states and machine states 212 is one-to-many.
  • the machine states 212 and corresponding registration states are shown in Fig. 5.
  • the finite state machine 210 for a given user transitions between machine states 212 when certain events occur, or when certain conditions are satisfied. Some events may be the result of intentional user action, such as launching an application, and logging into or out of the IMPS server. Other events may occur without user awareness. For example, the user may move into or out of coverage, or the mobile device may transparently log into or log out of the IMPS server 200 without user intervention.
  • users may also have an option to declare their presence status.
  • the IM application on a mobile device 100 may have an option allowing users to make themselves "invisible' so that they appear to be offline.
  • a user may invoke a "do-not-disturb" function that makes the user appear "busy" to other users.
  • Table 2 lists a number of events that can trigger a state transition in one exemplary embodiment. The list is intended to be illustrative and other events and other transitions may be defined.
  • the event list shown in Table 2 assumes two types of IMPS clients, referred to herein as manual clients and background clients.
  • manual clients the user must manually launch an instant messaging application in order to access to the IMPS server 200.
  • a JAVA client that is not automatically launched at power up is a manual client.
  • a background client is one that automatically launches and logs into the IMPS server 200 at device power up and automatically logs out and shuts down at power down.
  • a background client is persistent and runs in the background even when the user is not engaged in an instant messaging conversation.
  • many mobile devices include a presence enhanced phone book. In this case, the IMPS client runs in the background to provide presence updates to the phone book even when the user is not engaged in an instant message conversation.
  • the output of the finite state machine 210 comprises state updates and message delivery rules.
  • the finite state machine 210 transitions between machine states 212
  • the finite state machine 210 outputs a state update to the mapper 220 reflecting the current machine state of the user.
  • the mapper 220 performs a consolidation in which multiple machine states 212 are mapped into a single presence status.
  • the consolidation rules can be applied system wide, or, more preferably, may be dependent on specific user categories.
  • the output of the mapper 220 is the current presence status of the user.
  • Fig. 6 illustrates an exemplary consolidation of machine states 212 into corresponding presence statuses. In the exemplary embodiment shown in Fig.
  • the presence status indicates the likelihood that a user will respond to an instant message. Such likelihood is affected both by the readiness of the user (e.g., is the user logged in) and the willingness of the user (e.g., user declares themselves invisible) to respond.
  • Fig. 7 illustrates an alternate consolidation of machine states 212 into corresponding presence statuses.
  • the message delivery rules are a second form of output from the state machine 210.
  • the message delivery rules specify how and whether instant messages and/or presence updates are delivered.
  • a message delivery rule for instant messages referred to herein as an instant message rule
  • Presence update rules are also defined to determine when the presence service element 204A delivers presence updates. Table 3 lists message delivery rules and their corresponding states.
  • Fig. 8 illustrates exemplary events and state transitions realized by the sate machine 210 to illustrate the operation of the state machine.
  • An IMPS user denoted as User A
  • User A is currently in the "Available" state. In this state, User A is logged in to the IMPS server 200, but is not currently involved in an instant messaging conversation.
  • the state machine 210 may use the activity timer 230 to monitor the activity level of User A and transition between states based on the activity level. If User A remains inactive for a predetermined period of time (e.g., 30 min.) while in the "Available” state, the state machine 210 will transition to the "Inactive" state.
  • a predetermined period of time e.g. 30 min.
  • the state machine 210 for that user will transition to the "Unavailable” state. If User A sends an instant message, or responds to an instant message, the state machine 210 will transition to the "Active” state. Once in the "Active” state, the state machine will monitor user activity and transition back to the "Available” state if the user is inactive for a third predetermined period of time (e.g., 10 min).
  • a third predetermined period of time e.g. 10 min.
  • the GSM Association (GSMA) standard IM SPT Phase 1 recommends the following presence statuses: on-line, on-line but unavailable, and off-line.
  • the OMA standard for IMPS (OMA-IMPS-WV-PA-V1_2-20050125-A) defines two relevant presence attributes: OnlineStatus and UserAvailability.
  • the OnlineStatus attribute is a Boolean value that indicates whether the user is currently online.
  • the OnlineStatus attribute takes the following values:
  • the UserAvailability attribute indicates the availability of the user for instant messaging and takes the following values:
  • the mapper 220 can accommodate different presence statuses defined by different standardization bodies. Such flexibility may be necessary because some IMPS clients may be limited to a defined set of presence statuses. For example, the IM client for a user or mobile operator providing service may support only the GSMA presence statuses. Table 4 illustrates one possible mapping of machine states into presence statuses/attributes for GSMA and OMA IMPS.
  • the state machine 210 could include logic to learn user behaviors and to adapt transitions between states accordingly.
  • the state machine 210 could implement a neural network to learn user behaviors. To illustrate the learning process, consider the scenario in which User A goes to a recurrent meeting every Monday morning. The state machine 210 logic initially provides that if the user is having a meeting (according to user's agenda in the phone), the user should be shown as unlikely to respond. However, during Monday morning meetings, User A typically responds to instant messages.
  • the state machine 210 dynamically learns this behavior and, as a consequence, changes its internal logic so that during Monday morning meetings, the status of User A is shown as 'likely to respond'. Now assume that User A has another recurrent meeting on Tuesday mornings. However, during this meeting, User A never responds to instant messages. The system also dynamically learns this behavior and adapts the presence status shown to others.

Abstract

A presence server comprises a state machine to maintain current machine states for a plurality of users, and a mapper to map the current machine state for each user to a corresponding presence status.

Description

PRESENCE MODEL FOR PRESENCE SERVICE AND METHOD OF PROVIDING PRESENCE INFORMATION
BACKGROUND The present invention relates generally to presence services for mobile devices and, more particularly, to a presence model for instant messaging between mobile users, or between mobile and fixed users.
Cellular networks were originally developed to provide primarily voice services over circuit-switched networks. Although circuit-switched networks are still in widespread use, the current trend is toward packet-switched networks that provide high speed packet data services in addition to voice services. The high-speed packet data services currently offered enable mobile users to surf the web, read e-mail, download video and audio files, and do other things that Internet users can do on fixed networks. Consumer demand for mobile data services is growing rapidly. One of the services in greatest demand by mobile users is instant messaging (IM). Desktop IM over fixed network has gained widespread acceptance. Currently, there are more than 100 million registered users of instant messaging services and more than 50 million regular users. Based on the success and adoption rate of desktop instant messaging, wireless service providers are hoping to capitalize on the demand for IM services by extending the same services to mobile users.
Most of the presence models for IM evolved in the context of fixed networks and have been adapted to the usage patterns of PC users. One problem in extending IM services to mobile users is that existing presence models do not fit the usage patterns of mobile users. For instance, the status "away" is generally taken to mean that the user is away from the computer and consequently unavailable to engage in instant messaging conversations. In the mobile environment, the status "away" may not be very relevant since mobile users typically carry their devices with them. Similarly, the "on line" and "off line" statuses, which indicate the connection state of the user, may not accurately reflect the connection state of a mobile user due to the integration of instant messaging and presence services with other applications (e.g., presence enhanced phone book, threaded conversations in the message inbox, etc.). With this integration, the connection state of the user becomes more complex. The user is not always required to log in or log out of the instant messaging application. Instead, the mobile device may transparently log in during power up and log out during power down without any user intervention. Thus, the instant messaging and presence application may run in the background even when the mobile user is not actively engaged in instant messaging conversations. Thus, the "on line" and "off line" statuses may not accurately reflect the status of a mobile user.
Because the usage patterns of mobile and PC users are different, new presence models are needed for mobile users to more accurately reflect the status of mobile users.
SUMMARY
The present invention provides a method and apparatus for maintaining presence information. In one exemplary embodiment, a presence server comprising a finite state machine and a mapper is provided. The finite state machine maintains current machine states for a plurality of users and outputs state updates indicative of the current machine states of said users responsive to state transitions. The mapper receives state updates from the state machine and maps said current machine states of said users to corresponding presence statuses. In a preferred embodiment, the machine state for each user is maintained by a separate dedicated instance of the finite state machine.
In one exemplary embodiment, the current states of the state machine include the "Available" state, the "Inactive" state, and the "Unavailable" state. The state machine is configured to enter the "Available" state when the corresponding user logs into the presence server. The state machine transitions from the "Available" state to the "Inactive" state when the user is inactive for a first predetermined period of time, and transitions from the "Inactive" state to the "Unavailable" state when the user is inactive for a second predetermined period of time. The state machine may further include an "Active" state. The state machine may be configured to enter the "Active" state when the corresponding user logs into the presence server in response to an invitation from another user. The state machine may also be configured to transition from the "Inactive" state or the "Available" state to the "Active" state responsive to the detection of user instant messaging activity, and to transition from the "Active" state to the "Available" state when the user is inactive for a third predetermined period of time. In one embodiment, the state machine further generates message delivery rules responsive to state transitions. The message delivery rules include instant message rules for delivering instant messages and presence update rules to control presence updating behavior. The instant message rules may include an "online messaging" rule for directing an instant messaging application to use online messaging, an "offline messaging rule" for directing an instant messaging application to store instant messages for subsequent online delivery, and an alternative messaging rule for an instant messaging application to use an alternative delivery method (e.g., SMS) to deliver instant messages. The message delivery rules may further include presence update rules for reporting presence information. The presence update rules may include a "standard update" rule for configuring the presence server to provide presence updates at a default reporting frequency, a "reduced update" rule to configure the presence server to provide presence updates at a reporting frequency lower than the default reporting frequency, and a "no update" rule to configure the presence server to suspend presence updates.
BRIEF DESCRIPTION OF THE DRAWINGS
Fig. 1 is a block diagram of a communication network including an instant messaging and presence server according to one embodiment of the present invention.
Fig. 2 illustrates user registration states according to one embodiment of the invention.
Fig. 3 illustrates the functional components of an IMPS server according to one embodiment of the present invention. Fig. 4 illustrates the functional components of an exemplary presence service element for the IMPS server according to one embodiment of the invention.
Fig. 5 illustrates machine states defined by an exemplary presence model according to one embodiment of the invention, and the relationship between machine states and user registrations states. Fig. 6 illustrates one exemplary mapping of machine states to corresponding presence statuses according to one embodiment of the invention.
Fig. 7 illustrates another exemplary mapping of machine states to corresponding presence statuses according to one embodiment of the invention. Fig. 8 illustrates an exemplary non-exclusive set of event and state transitions realized by the state machine.
DETAILED DESCRIPTION The present invention provides a method and apparatus for implementing instant messaging and presence service (IMPS) to enable the exchange of instant messages between mobile users, or between mobile users and fixed users. The IMPS solution according to the present invention defines and implements a presence model specifically adapted for mobile users. Fig. 1 illustrates an exemplary network 10 in which the present invention may be used. The network 10 comprises a plurality of mobile devices 100 having IMPS clients, a wireless access network 12 for communicating with the mobile devices 100, and a wireless core network 14 providing connection to the Internet 18 or other packet data network. The wireless access network 12 preferably comprises a packet- switched network, such as a GPRS, cdma2000, WCDMA, or WiMAX network. The wireless access network 12 includes one or more base stations 16 or other wireless access points. An IMPS server 200 connects to the Internet 18, or, alternatively, may reside in the wireless core network 14. The IMPS server 200 provides instant messaging and presence services to the mobile devices 100. The IMPS server 200 may also provide instant messaging and presence services to other user devices 20, such as desktop computers, with Internet connections.
The mobile devices 100 have an IMPS client (not shown) for communicating with the IMPS server 200. The IMPS client is a software application that is executed on a processor and provides support for IMPS services to user applications, such as an instant messaging (IM) application or presence enhanced phone book. The users of the mobile devices 100 may register with the IMPS server 200 for instant messaging and presence services. A user can have one of three registrations states: registered, unregistered and pre-registered. The registrations states and events or conditions that cause transitions between registration states are shown in Fig. 2. A registered user is a user that has registered with the IMPS server 200 and has received an IMPS user ID. For purposes of this application, it is assumed that the registered users have a mobile device 100 with an IMPS client. A registered user can exchange instant messages and presence information with other registered users. A registered user may have a contact list for persons that the user converses with. A pre-registered user is one that has not registered, but has been pre-registered by the system operator and has been assigned an IMPS user ID. Registered users can interact on a limited basis with pre-registered users. For example, pre-registered users may have a contact list and may appear in contact lists for other users. When a registered user adds a pre-registered user to its contact list, the reciprocal add procedure can be used to add the registered user to the contact list for the pre- registered user. Thus, the pre-registered user may have access to a pre-populated contact list when the pre-registered user registers with the IMPS. An unregistered user is one that is included in the contact list of a registered user, but is not registered or pre-registered. An unregistered user does not have an IMPS user ID. A registered user cannot exchange presence updates with unregistered users. However, an instant message may be delivered to an unregistered user by alternative delivery methods, such as SMS. Once registered, the mobile devices 100 can exchange instant messages, publish presence information, and subscribe to presence updates from other IMPS users. Presence information may, for example, reflect the current availability and/or willingness of the IMPS user to engage in an IM conversation. IMPS users may elect to make their presence status available to other IMPS users. IMPS users that provide presence information to other users are referred to as presentities. A user that wants to receive presence information from another user may subscribe to receive presence updates from the presentity of that user. An IMPS user that subscribes to receive presence updates from a presentity is referred to as a watcher. An IMPS user can be both a presentity and a watcher. The IMPS server 200 maintains presence information for IMPS users and serves as an intermediary between presentities and watchers for publishing presence information. The IMPS server 200 implements a presence model described herein that is used to determine the presence states of presentities. Fig. 3 illustrates the functional entities of the IMPS server 200, which may be implemented as a software application running on a computer workstation or server. The IMPS server 200 comprises a service access point (SAP) 202 and one or more service elements 204. The SAP 202 authenticates users, performs service discovery and service negotiation, manages user profiles, and routes service requests and responses. The SAP 202 includes interfaces 202A, 202B, and 202C. Interface 202A implements a Client to Server Protocol (CSP) to provide access for IMPS clients residing on mobile devices 100, or on desktop computers. Interface 202B implements a Server to Mobile Core Network Protocol (SMCNP) to provide a connection to the mobile core network. The IMPS server 200 can receive system events from the mobile core network 14 over the SMCNP interface. As one example, the mobile core network 14 could notify the IMPS server 200 when a user connects or disconnects from the mobile network. Interface 202C implements a Server to Server Protocol (for example, the OMA SSP protocol or the OMA SIP/SIMPLE protocol) for connecting to other IMPS servers 200. The SSP or SIP/SIMPLE interface can be used, for example, to establish an interconnect route between IMPS servers to join distinct IMPS communities into a larger IMPS community. When an interconnect route is established between IMPS communities, IMPS users in one community can interact with IMPS users in the other community in the same manner as if they belonged to the same IMPS community, subject to any differences in implementation.
The service elements 204 include a presence service element 204A, an instant messaging service element 204B, a group service element 204C, and a content service element 204D. The presence service element 204A implements the presence model described herein and provides functionality for presence services. The instant messaging service element 204B provides functionality for sending and receiving instant messages between IMPS users. The group service element 204C provides functionality for defining and managing groups for IMPS users. The content service element 204D provides functionality for sharing content, such as images and documents between IMPS users. The IMPS server preferably complies with the Open Mobile Alliance (OMA) standard IMPS Architecture (OMS-AD-IMPS-V1_3- 20051011 -C), which is incorporated herein by reference.
Fig. 4 illustrates the functional components of the presence service element 204A according to one exemplary embodiment of the present invention. Those skilled in the art will appreciate that the components illustrated in Fig. 4 may comprise software, hardware, firmware, or a combination thereof. The presence service elements 204A comprise a finite state machine 210, a mapper 220, and an activity timer 230. The finite state machine 210 maintains presence information based on the presence model described herein. In a preferred embodiment of the invention, each known user is represented by one dedicated instance of the finite state machine 210. The presence model implemented by the finite state machine 210 comprises a number of machine states 212, the transactions or events that result in transitions between the machine states 212, and the actions that take place when entering of leaving a machine state. The machine states are internal states and are not exposed to users. The mapper 220 performs a consolidation of the machine states 212 into corresponding presence statuses to provide an indication of the likelihood that a user will respond to an instant message. The operation of the mapper 220 is described in more detail below. The state machine 210 may use the activity timer 230 to monitor the activity level of the user.
The machine states 212 are defined by the presence model at a functional level without inferring them from presence statuses defined at the technology enabler level. At any given instant in time, the current state of the user is represented by one machine state 212. When a predetermined event occurs, or a predetermined condition is satisfied, the state machine 210 transitions between machine states 212. In response to a state transition, the state machine 210 outputs the current machine state 212 to the mapper 220. This output is referred to herein as a state update. The mapper 220, in turn, maps the current machine state 212 to a corresponding presence status. Table 1 below lists eight machine states 212 for one exemplary embodiment of the invention. The list of machine states 212 is illustrative only and those skilled in the art will recognize that additional machine states 212 may be defined. Each machine state corresponds to only one registration state. A registration, however, may have a plurality of corresponding machine states 212. Thus, the relationship between registration states and machine states 212 is one-to-many. The machine states 212 and corresponding registration states are shown in Fig. 5.
Figure imgf000010_0001
Figure imgf000011_0001
The finite state machine 210 for a given user transitions between machine states 212 when certain events occur, or when certain conditions are satisfied. Some events may be the result of intentional user action, such as launching an application, and logging into or out of the IMPS server. Other events may occur without user awareness. For example, the user may move into or out of coverage, or the mobile device may transparently log into or log out of the IMPS server 200 without user intervention. In a preferred embodiment of the invention, users may also have an option to declare their presence status. For example, the IM application on a mobile device 100 may have an option allowing users to make themselves "invisible' so that they appear to be offline. As another example, a user may invoke a "do-not-disturb" function that makes the user appear "busy" to other users.
Table 2 below lists a number of events that can trigger a state transition in one exemplary embodiment. The list is intended to be illustrative and other events and other transitions may be defined.
Figure imgf000011_0002
Figure imgf000012_0001
Figure imgf000013_0001
Figure imgf000014_0001
The event list shown in Table 2 assumes two types of IMPS clients, referred to herein as manual clients and background clients. With a manual client, the user must manually launch an instant messaging application in order to access to the IMPS server 200. For example, a JAVA client that is not automatically launched at power up is a manual client. In contrast, a background client is one that automatically launches and logs into the IMPS server 200 at device power up and automatically logs out and shuts down at power down. A background client is persistent and runs in the background even when the user is not engaged in an instant messaging conversation. For example, many mobile devices include a presence enhanced phone book. In this case, the IMPS client runs in the background to provide presence updates to the phone book even when the user is not engaged in an instant message conversation.
The output of the finite state machine 210 comprises state updates and message delivery rules. When the finite state machine 210 transitions between machine states 212, the finite state machine 210 outputs a state update to the mapper 220 reflecting the current machine state of the user. Because there is not a one-to-one correspondence between machine states 212 and presence statuses, the mapper 220 performs a consolidation in which multiple machine states 212 are mapped into a single presence status. The consolidation rules can be applied system wide, or, more preferably, may be dependent on specific user categories. The output of the mapper 220 is the current presence status of the user. Fig. 6 illustrates an exemplary consolidation of machine states 212 into corresponding presence statuses. In the exemplary embodiment shown in Fig. 6, the presence status indicates the likelihood that a user will respond to an instant message. Such likelihood is affected both by the readiness of the user (e.g., is the user logged in) and the willingness of the user (e.g., user declares themselves invisible) to respond. Fig. 7 illustrates an alternate consolidation of machine states 212 into corresponding presence statuses.
The message delivery rules are a second form of output from the state machine 210. The message delivery rules specify how and whether instant messages and/or presence updates are delivered. When the finite state machine 210 transitions between states, a message delivery rule for instant messages, referred to herein as an instant message rule, may be output to the instant messaging service element 204B. Presence update rules are also defined to determine when the presence service element 204A delivers presence updates. Table 3 lists message delivery rules and their corresponding states.
Figure imgf000016_0001
Fig. 8 illustrates exemplary events and state transitions realized by the sate machine 210 to illustrate the operation of the state machine. This example and the event and transitions are not meant to be exclusive. An IMPS user, denoted as User A, is currently in the "Available" state. In this state, User A is logged in to the IMPS server 200, but is not currently involved in an instant messaging conversation. The state machine 210 may use the activity timer 230 to monitor the activity level of User A and transition between states based on the activity level. If User A remains inactive for a predetermined period of time (e.g., 30 min.) while in the "Available" state, the state machine 210 will transition to the "Inactive" state. If User A remains inactive for a second predetermined period of time (e.g., 24 hrs) after transitioning to the "Inactive" state, the state machine 210 for that user will transition to the "Unavailable" state. If User A sends an instant message, or responds to an instant message, the state machine 210 will transition to the "Active" state. Once in the "Active" state, the state machine will monitor user activity and transition back to the "Available" state if the user is inactive for a third predetermined period of time (e.g., 10 min). Some standardization bodies have already defined a set of presence statuses to be supported by IM clients or to be conveyed over interconnect interfaces. For example, the GSM Association (GSMA) standard IM SPT Phase 1 recommends the following presence statuses: on-line, on-line but unavailable, and off-line. The OMA standard for IMPS (OMA-IMPS-WV-PA-V1_2-20050125-A) defines two relevant presence attributes: OnlineStatus and UserAvailability. The OnlineStatus attribute is a Boolean value that indicates whether the user is currently online. The OnlineStatus attribute takes the following values:
True - the client is logged into the IMPS service False - the client is not logged into the IMPS service
The UserAvailability attribute indicates the availability of the user for instant messaging and takes the following values:
Available - the user is available for communication Not Available - the user is not available for communication. Discreet - Communication with the publisher is left to the discretion of the user.
The mapper 220 can accommodate different presence statuses defined by different standardization bodies. Such flexibility may be necessary because some IMPS clients may be limited to a defined set of presence statuses. For example, the IM client for a user or mobile operator providing service may support only the GSMA presence statuses. Table 4 illustrates one possible mapping of machine states into presence statuses/attributes for GSMA and OMA IMPS.
Figure imgf000017_0001
It has been assumed that the events and transitions are predefined and static. Increasing the number of conditions and/or system events can increase significantly the complexity of the state machine 210. Rather than defining statically the events and conditions when transitions shall occur between machine states 212, the state machine 210 could include logic to learn user behaviors and to adapt transitions between states accordingly. For example, the state machine 210 could implement a neural network to learn user behaviors. To illustrate the learning process, consider the scenario in which User A goes to a recurrent meeting every Monday morning. The state machine 210 logic initially provides that if the user is having a meeting (according to user's agenda in the phone), the user should be shown as unlikely to respond. However, during Monday morning meetings, User A typically responds to instant messages. The state machine 210 dynamically learns this behavior and, as a consequence, changes its internal logic so that during Monday morning meetings, the status of User A is shown as 'likely to respond'. Now assume that User A has another recurrent meeting on Tuesday mornings. However, during this meeting, User A never responds to instant messages. The system also dynamically learns this behavior and adapts the presence status shown to others.
The present invention may, of course, be carried out in other specific ways than those herein set forth without departing from the scope and essential characteristics of the invention. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, and all changes coming within the meaning and equivalency range of the appended claims are intended to be embraced therein.

Claims

CLAIMSWHAT IS CLAIMED IS:
1. A presence server comprising: a state machine to maintain current machine states for a plurality of users and to generate state updates indicative of the current machine states of said users responsive to state transitions; and a mapper to receive said state updates from said state machine and to map said current machine states of said users to corresponding presence statuses.
2. The presence server of claim 1 wherein each user is represented by one instance of said state machine.
3. The presence server of claim 1 wherein the machine states of the state machine include the "Available" state, the "Inactive" state, and the "Unavailable" state.
4. The presence server of claim 3 wherein the state machine is configured to enter the "Available" state when the corresponding user logs into the presence server.
5. The presence server of claim 4 wherein the state machine is configured to transition from the "Available" state to the "Inactive" state when the user is inactive for a first predetermined period of time.
6. The presence server of claim 5 wherein the state machine is configured to transition from the "Inactive" state to the "Unavailable" state when the user is inactive for a second predetermined period of time.
7. The presence server of claim 6 wherein the machine states of the state machine further include a "Active" state.
8. The presence server of claim 7 wherein the state machine is configured to enter the "Active" state when the corresponding user logs into the presence server in response to an invitation from another user.
9. The presence server of claim 7 wherein the state machine is configured to transition from the "Inactive" state or the "Available" state to the "Active" state responsive to the detection of user instant messaging activity.
10. The presence server of claim 9 wherein the state machine is configured to transition from the "Active" state to the "Available" state when the user is inactive for a third predetermined period of time.
11. The presence server of claim 1 wherein the state machine further generates message delivery rules responsive to state transitions.
12. The presence server of claim 11 wherein said message delivery rules include instant message rules for delivering instant messages.
13. The presence server of claim 12 wherein said instant message rules include an "online messaging" rule, an "offline messaging rule" and an alternative messaging rule.
14. The presence server of claim 13 wherein the "online messaging" rule directs an instant messaging application to use online messaging.
15. The presence server of claim 13 wherein the "offline messaging" rule directs an instant messaging application to store instant messages for subsequent online delivery.
16. The presence server of claim 13 wherein the "alternative messaging" rule directs an instant messaging application to use an alternative delivery method to deliver instant messages.
17. The presence server of claim 11 wherein said message delivery rules include presence update rules for reporting presence information.
18. The presence server of claim 17 wherein said presence update rules include a "standard update" rule, a "reduced update" rule, and a "no update" rule.
19. The presence server of claim 18 wherein the "standard update" rule configures the presence server to provide presence updates at a default reporting frequency.
20. The presence server of claim 18 wherein the "reduced update" rule configures the presence server to provide presence updates at a reporting frequency lower than the default reporting frequency.
21. The presence server of claim 18 wherein the "no update" rule configures the presence server to suspend presence updates.
22. A method of providing presence updates, said method comprising: maintaining current machine states for a plurality of users and generating state updates indicative of the current machine states of said users responsive to state transitions; and mapping current machine states of said users to corresponding presence statuses.
23. The method of claim 22 wherein said current machine states of said users are maintained by a state machine.
24. The method of claim 23 wherein said current machine states of said users are maintained by a dedicated state machine for each user.
25. The method of claim 22 wherein the machine states of the state machine include the "Available" state, the "Inactive" state, and the "Unavailable" state.
26. The method of claim 25 wherein the state machine is configured to enter the "Available" state when the corresponding user logs into the presence server.
27. The method of claim 26 wherein the state machine is configured to transition from the "Available" state to the "Inactive" state when the user is inactive for a first predetermined period of time.
28. The method of claim 27 wherein the state machine is configured to transition from the "Inactive" state to the "Unavailable" state when the user is inactive for a second predetermined period of time.
29. The method of claim 28 wherein the machine states of the state machine further include a "Active" state.
30. The method of claim 29 wherein the state machine is configured to enter the "Active" state when the corresponding user logs into the presence server in response to an invitation from another user.
31. The presence server of claim 29 wherein the state machine is configured to transition from the "Inactive" state or the "Available" state to the "Active" state responsive to the detection of user instant messaging activity.
32. The presence server of claim 31 wherein the state machine is configured to transition from the "Active" state to the "Available" state when the user is inactive for a third predetermined period of time.
33. The method of claim 22 further comprising generating message delivery rules responsive to said state transitions.
34. The method of claim 33 wherein said message delivery rules include instant messaging rules for delivering instant messages.
35. The method of claim 34 wherein said instant message rules include an "online messaging" rule, an "offline messaging rule" and an alternative messaging rule.
36. The method of claim 35 wherein the "online messaging" rule directs an instant messaging application to use online messaging.
37. The method of claim 35 wherein the "offline messaging" rule directs an instant messaging application to store instant messages for subsequent online delivery.
38. The method of claim 35 wherein the "alternative messaging" rule directs an instant messaging application to use an alternative delivery method to deliver instant messages.
39. The method of claim 33 wherein said message delivery rules include presence update rules for providing presence updates.
40. The method of claim 39 wherein said presence update rules include a "standard update" rule, a "reduced update" rule, and a "no update" rule.
41. The method of claim 40 wherein the "standard update" rule configures the presence server to provide presence updates at a default reporting frequency.
42. The method of claim 40 wherein the "reduced update" rule configures the presence server to provide presence updates at a reporting frequency lower than the default reporting frequency.
43. The method of claim 40 wherein the "no update" rule configures the presence server to suspend presence updates.
PCT/CA2008/000409 2007-11-27 2008-02-29 Presence model for presence service and method of providing presence information WO2009067780A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US11/945,294 2007-11-27
US11/945,294 US20080133742A1 (en) 2006-11-30 2007-11-27 Presence model for presence service and method of providing presence information
CA002613000A CA2613000A1 (en) 2006-11-30 2007-11-30 Presence model for presence service and method of providing presence information
CA2,613,000 2007-11-30

Publications (1)

Publication Number Publication Date
WO2009067780A1 true WO2009067780A1 (en) 2009-06-04

Family

ID=40677970

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CA2008/000409 WO2009067780A1 (en) 2007-11-27 2008-02-29 Presence model for presence service and method of providing presence information

Country Status (1)

Country Link
WO (1) WO2009067780A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013168030A1 (en) * 2012-05-07 2013-11-14 International Business Machines Corporation Enabling and supporting a presence server cache
WO2014194405A1 (en) * 2013-06-04 2014-12-11 Canfocus Technologies Inc. System and method for managing interruptions by indicating an availability status on a communication device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7035923B1 (en) * 2002-04-10 2006-04-25 Nortel Networks Limited Presence information specifying communication preferences
WO2006048758A2 (en) * 2004-11-08 2006-05-11 Nokia Corporation Using presence to inform other clients about capability limitations
US20060165007A1 (en) * 2004-12-15 2006-07-27 Alcatel Presence system and method for computing media status
US7124370B2 (en) * 2003-05-20 2006-10-17 America Online, Inc. Presence and geographic location notification based on a delegation model
US20070010275A1 (en) * 2005-07-11 2007-01-11 Krisztian Kiss Method and apparatus for providing presence information in support of wireless communication services
US20070276909A1 (en) * 2006-05-23 2007-11-29 Microsoft Corporation Publication of customized presence information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7035923B1 (en) * 2002-04-10 2006-04-25 Nortel Networks Limited Presence information specifying communication preferences
US7124370B2 (en) * 2003-05-20 2006-10-17 America Online, Inc. Presence and geographic location notification based on a delegation model
WO2006048758A2 (en) * 2004-11-08 2006-05-11 Nokia Corporation Using presence to inform other clients about capability limitations
US20060165007A1 (en) * 2004-12-15 2006-07-27 Alcatel Presence system and method for computing media status
US20070010275A1 (en) * 2005-07-11 2007-01-11 Krisztian Kiss Method and apparatus for providing presence information in support of wireless communication services
US20070276909A1 (en) * 2006-05-23 2007-11-29 Microsoft Corporation Publication of customized presence information

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
"First IEEE Consumer Communications and Networking Conference", 5 January 2004, article DEBBABI, M. ET AL.: "The war of presence and instant messaging: right protocols and APIs", pages: 341 - 346, XP032165233, DOI: doi:10.1109/CCNC.2004.1286884 *
"the 7th International Conference on Advanced Communication Technology", vol. 2, 2005, article OK PARK, SUN ET AL.: "A study on XCAP client system for SIP-based IMPP services", pages: 1027 - 1030, XP010813849 *
"the 9th International Conference on Advanced Communication Technology", vol. 2, 12 February 2007, article CHEON HAN, JAE ET AL.: "A study on SIP-based instant message and presence", pages: 1298 - 1302 *
MAKELAINEN, SAMI ET AL.: "Seminar paper for the Instant Messaging and Presence Seminar", 2005, UNIVERSITY OF HELSINKI, article "OMA IMPS (Previously Wireless Village)", pages: 12 *
MAKELAINEN, SAMI ET AL.: "Wireless Village - Open Mobile Alliance - Instant Messaging and Presence Service (IMPS)", PRESENTATION SLIDES, 29 September 2005 (2005-09-29), pages 55 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013168030A1 (en) * 2012-05-07 2013-11-14 International Business Machines Corporation Enabling and supporting a presence server cache
US9596198B2 (en) 2012-05-07 2017-03-14 International Business Machines Corporation Enabling and supporting a presence server cache
US9596199B2 (en) 2012-05-07 2017-03-14 International Business Machines Corporation Enabling and supporting a presence server cache
WO2014194405A1 (en) * 2013-06-04 2014-12-11 Canfocus Technologies Inc. System and method for managing interruptions by indicating an availability status on a communication device

Similar Documents

Publication Publication Date Title
US20080133742A1 (en) Presence model for presence service and method of providing presence information
US7523165B2 (en) Transmission of application information and commands using presence technology
US7941495B2 (en) Management capabilities for real-time messaging networks
JP4431000B2 (en) Method and apparatus for delivering an e-mail message with instructions indicating the presence of the sender
US7752273B2 (en) Group communication system based on presence information and client device
US20070130323A1 (en) Implied presence detection in a communication system
US20090106677A1 (en) Mechanism for publishing presence information within a presence service and user interface for configuring same
US20060259555A1 (en) Systems and methods for creating and/or utilizing virtual automated agents
US20080005294A1 (en) Method and system for exchanging messages using a presence service
US20050198545A1 (en) Automatic user device presence registration system
EP2543173B1 (en) Presentity authorization of buddy subscription in a communication system
WO2001045368A2 (en) Aggregates in a presence management system
WO2001045342A2 (en) Presence management system
EP1240756A2 (en) Anonymity in a presence management system
CA2641084A1 (en) Mechanism for publishing presence information within a presence service and user interface for configuring same
US20110258308A1 (en) System and method for deducing presence status from network data
US10367892B2 (en) System and method for aggregating communication connections
JP2009539180A (en) Automatically subscribe to syndication feeds using contact lists
US20080250149A1 (en) Methods And System For Providing Concurrent Access To A Resource In A Communication Session
EP2560329B1 (en) Method and processing system for routing a message request
US20080208982A1 (en) Method and system for providing status information relating to a relation between a plurality of participants
US20140149511A1 (en) Method for providing social presence information in telecommunication networks
US10075403B2 (en) Method and system for managing voice mails in a universal plug and play network environment
WO2009067780A1 (en) Presence model for presence service and method of providing presence information
US7730156B1 (en) Method and system for reporting changes in PIM data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08714729

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08714729

Country of ref document: EP

Kind code of ref document: A1