The invention relates to the field of telecommunications and, particularly, to messaging.
The following description of background art may include insights, discoveries, understandings or disclosures, or associations together with disclosures not known to the relevant art prior to the present invention but provided by the invention. Some such contributions of the invention may be specifically pointed out below, whereas other such contributions of the invention will be apparent from their context.
The evolvement of communication technology, particularly IP-based communication technology and end user device, has enabled versatile communication possibilities and introduction of different services. For example, messaging has evolved from text string short messages with a very limited size to various messaging services able to deliver multimedia content not having size restrictions. Further, the messaging may be bi-directional conversation-type of messaging, such as instant messaging or chatting, or uni-directional messaging, called “one shot” or “standalone” messaging. Basically the difference is that in the bi-directional messaging a recipient of a message receives the message in near real-time fashion but in the uni-directional messaging the recipient may receive the message in near real-time fashion, or the message may be temporarily stored in the recipient's network to be delivered later. A reason for deferred delivery of a message may be that the user is not available or not willing to receive it, i.e. the recipient may be in offline state or lost temporarily connection to the network or the recipient's service settings may indicate that the user does not want to be disturbed at the moment, thereby indicating to hold the message, for example. Such messages are called herein waiting messages.
Some messaging services, such as instant messaging using SIMPLE (session initiation protocol for instant messaging and presence leveraging extensions) or converged IP (Internet protocol) messaging (CPM), provide alternatives for delivery of the waiting messages. Depending, for example, on the recipient's settings, message characteristics and/or service provider policies, the waiting messages may be pushed to the recipient automatically or the recipient may receive a notification on waiting messages and then decide whether to retrieve, delete, or to store to the user's network storage one or more of the deferred messages.
However, a problem is that selecting different alternatives for different messages within a notification is an iterative process. For example, if the user wants to delete two waiting messages and retrieve one waiting message in a SIP-based (session initiation protocol) messaging system, such as CPM, the user opens the notification, selects from the notification messages to be deleted, then selects delete action which triggers deletion function for deferred messages in user equipment the user is using, the deletion function closing the notification and sending delete instructions in SIP REFER request to address delete@hostname. Then the user opens the notification once again, selects from the notification the message(s) to be retrieved and selects retrieval action which triggers retrieval function for deferred messages in the user equipment, the retrieval function closing the notification, sending retrieval instructions in SIP INVITE request to address deferred@hostname.
An object of the present invention is to enable a user having received a notification on waiting messages, deferred or waiting for another reason, to convey message-specific, possibly different handling instructions in one go. The object of the invention is achieved by means of methods, apparatuses, a system, and a computer program, and a computer readable storage medium as claimed in the independent claims. The preferred embodiments of the invention are disclosed in the dependent claims.
An advantage is that an “one go” solution helps to minimize complexity of a system and it may reduce signalling load of the system.
In the following different embodiments will be described in greater detail with reference to the attached drawings, in which
Exemplary embodiments of the present invention will now be described more fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the invention are shown. Indeed, the invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will satisfy applicable legal requirements. Although the specification may refer to “an”, “one”, or “some” embodiment(s) in several locations, this does not necessarily mean that each such reference is to the same embodiment(s), or that the feature only applies to a single embodiment. Single features of different embodiments may also be combined to provide other embodiments.
Embodiments of present invention are applicable to any user device (i.e. user equipment), messaging server, corresponding component, corresponding apparatus, and/or to any communication system or any combination of different communication systems supporting different user selections relating to waiting messages. The communication system may be a wireless communication system or a communication system utilizing both fixed networks and wireless networks. The protocols used and the specifications of communication systems, and apparatuses, especially in wireless communication, develop rapidly. Such development may require extra changes to an embodiment. Therefore, all words and expressions should be interpreted broadly and are intended to illustrate, not to restrict, the embodiment.
In the following, different embodiments will be described using, as an example of an architecture to which the embodiments may be applied, a converged IP messaging CPM enabler architecture without restricting the embodiments to such an architecture, however.
A general architecture of CPM is illustrated in
The CPM enabler (not shown in
However, the details of CPM are not essential and are therefore not described or illustrated in more detail herein. A more detailed description on CPM is disclosed in documents “Converged IP Messaging Architecture, Draft Version 1.0”, 20 Mar. 2009, OMA-AD-CPM-V1—0-20090320-D, “OMA Converged IP Messaging System Description, Draft Version 1.0”, 20 Mar. 2009, OMA-TS-CPM_System_Description-V1—0-20090320-D and “Converged IP Messaging Requirements, Draft Version 1.0”, 2 Feb. 2009, OMA-RD-CPM-V1—0-20090202-D, which are incorporated by reference herein.
The user device 110 illustrates one type of an apparatus with which a user may receive messages, notifications and give instructions. The user device 110 refers to a computing device that includes fixed communication devices, wireless mobile communication devices operating with or without a subscriber identification module (SIM), including, but not limited to, the following types of devices: mobile phone, smartphone, personal digital assistant (PDA), handset, laptop computer, desktop computer and a fixed phone. The user device 110 is configured to perform one or more of user device functionalities described below with an embodiment, and it may be configured to perform functionalities from different embodiments. For this purpose, the user equipment comprises a messaging client unit MCU 111 for providing functionality to form and transmit handling instructions for message waiting delivery according to one or more of the embodiments described below. The messaging client unit may be part of a CPM client. Further, the user device may comprise other clients, and it comprises different interfaces, such as a receiving unit 112, a sending unit 113 and user interface 114. The user interface may show the user first a handling instruction alternative, then information on waiting messages and then let the user to select messages to which the handling instruction alternative is to be applied, or the user may be provided with the handling instruction alternatives (i.e. options) message by message, so that the user select for each message an alternative. However, how it is implemented, bears no significance to the invention.
The user's home network 200 comprises the participating function PF 120, which acts as the network-side surrogate for the user, including the coordination of interaction with the multiple CPM clients the user may have. The participating function may be seen as a user-specific functional component that may temporarily store in a memory 124 messages that are waiting delivery to the user. The participating function with its memory represents a network node (a computing apparatus) called a messaging server, and the term “messaging server” is used below. The messaging server 120 is configured to perform one or more of messaging server functionalities described below with an embodiment, and it may be configured to perform functionalities from different embodiments. For this purpose, the messaging server comprises a message handling unit MHU 121 for providing functionality to receive handling instructions for waiting messages according to one or more of the embodiments described below. The message handling unit 121 may further be configured to form a notification according to one or more of the embodiments described below. Further, the messaging server may comprise other handling units and functionalities, and it comprises different interfaces, such as a receiving unit 122 and a sending unit 123.
It should be appreciated that the message storage server provides a permanent user-specific storage, whereas the messaging server provides only a temporary buffer which is shared among all users.
Although the apparatuses, i.e. the user device, the messaging server, the message storage server, the interworking function and the interworking selection function, have been depicted as one entity, they (not shown in
The apparatuses may generally include a processor (not shown in
The receiving units and the transmitting units each provides an interface in an apparatus, the interface including a transmitter and/or a receiver or a corresponding means for receiving and/or transmitting information, such as data, content, control information, messages and performing necessary functions so that user data, content, control information, signalling and/or messages can be received and/or transmitted. The receiving and sending units may comprise a set of antennas, the number of which is not limited to any particular number.
The apparatuses may generally include volatile and/or non-volatile memory and typically store content, data, or the like. For example, the memory may store computer program code such as software applications (for example, for the message handling unit or the messaging client unit) or operating systems, information, data, content, or the like for the processor to perform steps associated with operation of the apparatus in accordance with embodiments. The memory may be, for example, random access memory, a hard drive, or other fixed data memory or storage device. Further, the memory, or part of it, may be removable memory detachably connected to the apparatus.
It should be appreciated that the apparatuses may comprise other units used in or for messaging, and other information transmission. However, they are irrelevant to the actual invention and, therefore, they need not to be discussed in more detail here.
Below different embodiments are disclosed assuming that user has waiting messages, and a notification on them is sent. The reasons why there are waiting messages or the event that triggers sending the notification bears no significance and therefore they are not described in detail here. In case the user has multiple devices, the notification may be sent to one, some or all of them. However, below it is assumed for clarity's sake that there is only one user device to which the notification is sent.
Then the messaging server takes, in step 203, a message, and determines, in step 204, allowable handling instruction alternatives for this specific message by comparing the message features/characteristics (size, media type etc) with obtained device capabilities and user-specific restrictions. When the allowable alternatives have been determined, the messaging server adds, in step 205 metadata of the message with the allowable alternatives (or indication(s) to them) to a body of the notification. If allowable alternatives have been determined for all waiting messages (step 206), the notification is sent, in step 207. Otherwise the process returns to step 203, and the next message is taken.
The notification may be an in-band notification or an out-of band notification. An in-band notification may be SIP NOTIFY, or a corresponding message having in a body, for example, a summary indicating how many messages there are waiting, and for each message the metadata. The metadata is a header summarizing and identifying the message. The header (metadata) contains preferably a message identifier, or corresponding information with which the specific message can be identified in the messaging server, and the header may further contain one or more of the following fields: to, from, subject, date, size, and priority. The same information may be sent in an out-of band notification, which may be a message sent, for example, as a short message to the user's device.
In another embodiment, the messaging server is configured not to indicate the allowable alternatives with the metadata if all alternatives are allowable. Depending on an implementation, the user device may show all handling alternatives if the indication of alternatives is missing, or the user device may comprise a set of default alternatives that the user device is configured to use if there is no indication of alternatives.
In another embodiment, the user device is configured to determine, on the basis of the received metadata, what alternatives are possible for the corresponding message, and to allow the user select amongst them only.
It should be appreciated that there are embodiments, in which the device capabilities, device connectivity, message characteristics, service provider policies and/or user-specific restrictions are not taken into account but all handling instruction alternatives provided to the user may be the same regardless of the device and/or message properties. At its simplest the notification forming procedure contains only adding to the notification metadata on waiting messages.
When the messaging server receives (step 301), a message handling document, or other corresponding instructions how to handle one or more of waiting messages, it takes, in step 302, a message identifier, or corresponding information, and the corresponding instruction.
If the instruction is “keep” (step 303), the messaging server continues, in step 304, to store the message in the temporary buffer. In other words, nothing is done to the message. Depending on an implementation, a timer may be updated, and/or the message be notified again later.
If the instruction is “store” (step 305), the message is delivered, in step 306, to the user's network storage.
If the instruction is “delete” (step 307), the message is deleted, in step 308, (without the user seeing/hearing it) from the temporary buffer.
If the instruction is “interwork” (step 309), the messaging server checks, in step 310, whether or not the instruction contains an extension label indicating what interworking function to use. If there is no label or the label indicates that the messaging server, or a network, may decide, the message is delivered, in step 311, to the interworking selection function for further delivery to a proper interworking function. If there is a label indicating what interworking function to use (step 310), the message is delivered, in step 312, to a corresponding interworking function.
If the instruction is none of the above mentioned, in the embodiment the instruction is then “retrieve”, and the message is temporarily marked, in step 313, for retrieval delivery.
The above described process from step 302, i.e. from taking a message identifier, or corresponding information, and the corresponding instruction, is repeated until all instructions are handled (step 314).
Then it is checked, in step 315, whether or not there are any messages marked for retrieval delivery, and if yes, the session is set up in step 316, the message(s) marked for retrieval delivery are delivered in step 317, and the session is ended in step 318.
If there is no message marked for retrieval delivery (step 315), the process ends (step 319).
In another embodiment of the invention, no extension labels are used, and all messages having the “interwork” instruction are delivered via the interworking selection function to an interworking function. In other words, steps 310 and 312 are omitted.
In another embodiment, if the extension label indicates what interworking function to use (i.e. answer in step 311 is yes), the interworking selection function is not by-passed, but the message is forwarded with the indication to the interworking selection function so that the interworking selection function can do the final selection.
Although not mentioned, it should be appreciated that after a message is delivered, it is deleted from the temporary buffer.
The user device receives, in step 401, a notification on waiting messages. As described above, the notification may be an in-band notification or an out-of band notification, and it may be SIP NOTIFY, or a corresponding message having in a body, for example, a summary indicating how many messages there are waiting and preferably for each message a header summarizing and identifying the message, i.e. metadata of the message.
At some point, the body (the content of the notification) is shown (step 402) to a user of the user device, either because the user specifically instructed so, or because of some other event. It is irrelevant what causes the content to be shown. In response to detecting (step 403) that the user has selected a metadata of one message, different handling alternatives are shown, in step 404 to the user. In the illustrated example, the handling alternatives include “retrieve”, “keep”, “store”, “interwork” and “delete”, the meaning of these alternatives being described above. In response to the user selecting one of these alternatives, the selection is received, in step 405, and an association is formed, in step 406, with the metadata (or with the message identifier) and the selection. Then it is checked, in step 407, whether or not each metadata has a selection (i.e. an association), and if not, it is then checked, in step 408, whether a user instructions indicating that the user does not want to continue, is received. If the user wants to continue (i.e. no contradictory instruction have been received), the process proceeds to step 403 to detect that the user has selected a metadata of another message.
If each metadata has a selection (step 407) or the user does not want to continue (step 408), the user device forms (compiles), in step 409, a message handling document using the associations to provide message-specific instructions. Examples of the message handling document are described with
In another embodiment, the user device may check, when generating the SIP INVITE, whether or not the alternative “retrieve” is selected at least once. If yes, the user device continues as described above, and if no, the SDP description (or no SDP description) in the SIP INVITE may indicate that the SIP INVITE is used for sending handling instruction and no session establishment is requested. In the embodiment, step 315 in the messaging server is replaced by checking whether or not the SIP INVITE is also for session establishment.
In a further embodiment, the user device may be configured to check after sending the SIP INVITE, whether or not the alternative “retrieve” is selected at least once. If yes, the user device continues the session set up, receives the messages and then ends the session If no, the user device cancels the session set up.
The actual message handling document 500 begins with a root element 5-2 defining the namespace 5-21 and comprising number of leg elements 5-3. Each leg element contains a “MSG-ID” attribute containing a unique identity of a message the requested handling instruction indicated by a “handling” attribute relates to. The message handling document may be identified with the mime-type “application/vnd.cpm.message-id+xml” in CPM. In other architectures another kind of mime-type may be used.
A corresponding XML schema providing a formal description on an appearance of a message handling document illustrated in
An advantage of the embodiment is that everything is in one body.
In other words, the message handling instructions is a system message based on XML (extensible markup language) 1.0 document and uses UTF-8 encoding (UTF is a universal character set transformation format), indicated by 6-1. The actual message handling document 600 comprises two parts: a resource list (a first body 6-6) comprising list elements 6-5 beginning with a root element 6-4 and a message handling document (a second body 6-7) comprising leg elements 6-3 and beginning with a root element 6-2, both root elements from the namespace 6-21. Each list and leg element contains an “MSG-ID” attribute containing a unique identity of a message the requested handling instruction indicated by a “handling” attribute relates to. The message handling document may be identified with the mime-type “application/vnd.cpm.message-id+xml” in CPM. In other architectures another kind of mime-type may be used.
An advantage of the embodiment is that the prior art body for content type “application/resource-list+xml” used for retrieve messages can be reused without change.
It should be appreciated that in further embodiments, the message handling instructions may be formed so that there is a separate body for each different instruction alternative, or some of them may have a common body and some their own body. For example, “store” and “keep” may have a common body, but “retrieve”, “delete” and “interwork” their own body.
Although not shown in
Referring to
When the messaging server receives, in point 7-4, handling instructions 7-3, it takes a first body, detects that there is list definitions, and therefore a session needs to be established, the session being described in the handling instruction 7-3. Thus, the messaging server sends an acceptance 7-5, such as SIP 200 OK, and retrieves, in point 7-4, messages M2 and M4. After receiving from the user device an acknowledgement 7-6, such as SIP ACK, for the message sending session, the messaging server sends (point 7-7) the messages M2 and M4 in message 7-8, such as MSRP (message session relay protocol) SEND. When the user device has received messages M2 and M4, the user devices acknowledges the reception by sending message 7-9, such as MSRP OK. After receiving the acceptance, the messaging server ends (point 7-10) the session by sending message 7-11, such as SIP BYE, and the user device confirms that the session will end by sending message 7-12, such as SIP 200 OK.
Meanwhile, or after that, the messaging server takes, in point 7-13, a second body, and goes the leg definitions trough leg by leg. In this example, the messaging server deletes messages M1 and M3 from the temporary storage.
If no message is to be retrieved, the messaging server may acknowledge the handling instruction by sending a specific type of message indicating that the instructions are received but no session is established.
In another embodiment, if there is no instruction associated with a message, i.e. the resource list is formed so that it contains all the same identifiers that were sent in a notification, but the user has not provided any instruction for a message, the messaging server may be configured to use a default value, such as “keep”, or to treat the message as “non-notified”. The default-value may be user-specific or service provider-specific and it may depend on message content, size, user device capabilities, etc.
As can be seen from the above example, the invention is not limited to CPM but it may be implemented in any system utilizing SIP or corresponding platform. An example includes a SIMPLE instant messaging system.
The handling instruction alternatives given above are only exemplary and only some of them may be used, or in addition to them, or some of them, some other handling instructions, such as “forward”, may be used, or for the same purpose another term may be used. For example, in the above terms “delete” and “discard” have been used for the same purpose. In other words, the handling instruction alternatives are not restricted in any way.
Although in the above the embodiments have been described, for the sake of clarity, assuming that one message has one handling instruction, it should be appreciated that one message may have more than one handling instruction, and the messaging server performs them. For example, there may be only one waiting message, and the user instructs to forward the message to another user and in addition to store or retrieve it.
The steps/points, messages, information exchange and related functions described above in
Although in the above the embodiments have been described assuming that the messaging server is in the user's home network, it should be appreciated that a solution, in which waiting messages are stored in another network than the home network, and the messaging server locates in such a network, is possible and straightforwardly implementable using the above descriptions.
The techniques described herein may be implemented by various means so that an apparatus implementing one or more functions of a corresponding user device or messaging server described with an embodiment comprises not only prior art means, but also means for implementing the one or more functions of a corresponding apparatus described with an embodiment and it may comprise separate means for each separate function, or means may be configured to perform two or more functions. For example, these techniques may be implemented in hardware (one or more apparatuses), firmware (one or more apparatuses), software (one or more modules), or combinations thereof. For a firmware or software, implementation can be through modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in any suitable, processor/computer-readable data storage medium(s) or memory unit(s) or article(s) of manufacture and executed by one or more processors/computers. The data storage medium or the memory unit may be implemented within the processor/computer or external to the processor/computer, in which case it can be communicatively coupled to the processor/computer via various means as is known in the art.
It will be obvious to a person skilled in the art that, as the technology advances, the inventive concept can be implemented in various ways. The invention and its embodiments are not limited to the examples described above but may vary within the scope of the claims.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2009/053933 | 4/2/2009 | WO | 00 | 12/16/2011 |