TECHNIQUE FOR PERFORMING SIGNALING CONVERSION BETWEEN HTTP AND SIP DOMAINS
A technique for performing signaling conversion between an HTTP stateful session and an SIP dialog is described. In a method realization of this technique, an HTTP request message including HTTP state information is received from an HTTP enabled entity. In response to receipt of the HTTP request message, an SIP message belonging to an SIP dialog is created. In further steps, the first SIP message is sent to an SIP enabled entity, and a mapping between the HTTP state information and the SIP dialog is established.
The present invention generally relates to signaling conversion between HTTP and SIP domains. In particular, the invention is directed to a conversion technique that allows for a stateful communication between the two domains.
BACKGROUNDToday, the HyperText Transport Protocol (HTTP) constitutes the primary means for the delivery of content in the World Wide Web (WWW). HTTP is a text-based, stateless application layer protocol that defines a request/response-based message exchange mechanism between an HTTP client and an HTTP server. In the HTTP client-server model, an HTTP request is issued by an HTTP User Agent Client, while the HTTP response to the request comes from an HTTP User Agent Server.
Increasing demand for personalized WWW services has led to the development of HTTP stateful sessions comprising two or more (nominally independent) pairs of HTTP request and response messages. Currently, the dominant approaches to HTTP session administration are cookies, parameters in HTTP Universal Resource Locators (URLs) and so-called Fat URLs.
As regards cookies, the memorandum RFC2965 published by the Internet Engineering Task Force (IETF) and titled “HTTP State Management Mechanism” proposes several HTTP headers capable of conveying state information between the endpoints of an HTTP request-response message exchange. Cookies are defined as Attribute Value Pairs (AVP) of arbitrary names and values that may be accompanied by a range of predefined parameters as described in RFC2965. In a single HTTP request or response message, one or more cookies may be included as required.
An example of an HTTP request containing cookies is the following:
-
- GET URI HTTP/1.1
- Cookie: dialog-id=ali2alice1;method=bye
This HTTP request contains two cookies that collectively identify the present state of a session. The first cookie defines attribute ‘dialog-id’ as ‘ali2alice1’, while the second cookie assigns to attribute ‘method’ the value ‘bye’.
Another possibility for keeping HTTP state information are HTTP parameters and query components. It is well known that URL schemes base their URL syntax on a nine-part general format (see RFC2396):
Using this format, it is possible to convey session state information to remote network applications either as parameters or as query components. The following code listings illustrate two HTTP requests of an HTTP client to deliver session state information to an HTTP server.
Signaling session state information as URL parameters:
-
- GET path;dialog-id=ali2alice1;method=bye HTTP/1.1 host: URI
Signaling session state information as URL query components:
-
- GET path?dialog-id=ali2alice1&method=bye HTTP/1.1 host: URI
In both cases the HTTP server is informed that the current values for the attributes ‘dialog-id’ and ‘method’ are and ‘bye’, respectively.
Fat URLs are extended versions of URLs, suffixed with information used to identify the current state of an HTTP session. The following HTTP request illustrates how state information can be included in the path indication of an URL:
-
- GET path/dialog-id=ali2alice1/method=bye HTTP/1.1 host: URI
In the above example, the HTTP client issues a request to an HTTP server who is aware that the last two path segments correspond to session state information. In this particular case, the attribute ‘dialog-id’ is equivalent to ‘ali2alice1’ and the attribute ‘method’ is equivalent to ‘bye’.
While HTTP constitutes the primary means for content distribution in the WWW, the Session Initiation Protocol (SIP) is the primary signaling protocol on the control plane of the IMS (Internet Protocol Multimedia Subsystem) and other service provisioning networks. SIP is a text-based protocol used for authorizing user access as well as establishing, controlling and terminating media sessions between applications hosted by SIP enabled endpoints.
Similar to HTTP, SIP is based on the transmission of request and response messages. These messages are exchanged between User Agents installed on the communicating SIP endpoints. An SIP User Agent can either act as a User Agent Client (when sending a request message) or as a User Agent Server (when responding to the request message with a response message).
SIP defines that one or more media sessions between two SIP endpoints can only be established within the context of an SIP dialog. The dialog is a conceptual relation between the involved SIP endpoints that is maintained by the Transaction User Layer of the SIP Protocol Layers. In practice, a dialog is manifested as a collection of information that reflects the current state of the dialog for each endpoint. As understood herein, each SIP dialog comprises one or more SIP transactions, and each SIP transaction involves one or more messages (typically one request message and one or more response messages). In this sense, each SIP message can be regarded as part of an SIP transaction.
Each SIP dialog is identified by an identifier (the so-called dialog-ID) that is formed by a number of attributes negotiated between the SIP endpoints during initiation of a session and remaining valid for the lifetime of the dialog. Specifically, the dialog-ID of a dialog between a User Agent Client and a User Agent Server (the two endpoints of a SIP dialog) is defined as:
Dialog (-ID)=Call-ID, local tag (To-header tag of dialog response), remote tag (From-header tag of dialog request)
SIP and SIP's Universal Resource Identifiers (URIs) follow the guidelines set by RFC2396. The general form of a SIP URI as defined in RFC3261 has the following syntax:
-
- sip:user:password@host:port;uri-parameters?headers
The SIP URI structure allows for the inclusion of several parameters and headers within its generic form.
While HTTP is the standard protocol for the delivery of content in the WWW, there currently exists no documented or implemented solution that would allow HTTP enabled user equipment to initiate, conduct and terminate sessions with an SIP User Agent.
SUMMARYAccordingly, there is a need for enabling an efficient signaling conversion between HTTP and SIP domains that preserves the session concept.
According to a first aspect, a method of performing signaling conversion between an HTTP stateful session and an SIP dialog is provided, which comprises receiving from an HTTP enabled entity a first HTTP request message, the first HTTP request message including HTTP state information; creating a first SIP message in response to receipt of the first HTTP request message, the first SIP message belonging to an SIP dialog; sending the first SIP message to an SIP enabled entity; and establishing a mapping between the HTTP state information and the SIP dialog.
The HTTP state information may have any format and content. In one implementation, the HTTP state information takes the form of a string of alphanumerical characters that is unique at least locally (e.g., among the network components controlling the message transfer described herein).
The mapping between the HTTP state information and the SIP dialog may be performed at an interface between an HTTP domain comprising one or more HTTP enabled entities and an SIP domain comprising one or more SIP enabled entities. Specifically, the mapping may be used to bind session-related signaling originating or terminating in the SIP domain to session-related signaling originating or terminating in the HTTP domain. To this end, the mapping may be established, consulted and/or updated each time a message intended for the SIP domain arrives from the HTTP domain, and vice versa. As a result, the mapping may form the basis for any HTTP enabled entity to initiate, accept, conduct and terminate one or more sessions with an SIP enabled entity (e.g., an IMS enabled entity such as an IMS subscriber or an IMS application server), and vice versa.
The techniques discussed herein may be performed in context with an SIP dialog that has already been established (e.g., for which one or more messages have already been exchanged between the HTTP enabled entity and the SIP enabled entity). Alternatively, the techniques may also be performed in context with an SIP dialog that is about to be established (e.g., for which only the HTTP enabled entity or the SIP enabled entity has thus far transmitted a message with the purpose of establishing a dialog).
As stated above, the first SIP message is created in response to receipt of the first HTTP request message. Further in response to receipt of the first HTTP request message, a first HTTP response message may be sent to the HTTP enabled entity. The first HTTP response message may optionally include or reference the HTTP state information received via the first HTTP request message.
The method may further comprise the steps of receiving a second SIP message; determining the SIP dialog to which the second SIP message belongs; determining the HTTP state information associated with the SIP dialog; generating a second HTTP request message including or referencing the HTTP state information thus determined; and sending the second HTTP request message to the HTTP enabled entity.
Additionally, a second HTTP response message responsive to the second HTTP request message may be received from the HTTP enabled entity. The second HTTP response message may optionally include or reference the HTTP state information.
Based on the HTTP state information, the pair of first HTTP request and response messages as well as the pair of second HTTP request and response messages may be grouped into an HTTP stateful session. In other words, by associating the HTTP state information (or information uniquely derived therefrom or referencing the same) with two or more pairs of HTTP request and response messages, the message pairs may be classified as belonging to one specific session stretching between the HTTP domain and the SIP domain.
The first or any later HTTP request message may further include address information indicative of an SIP User Agent of the SIP enabled entity. The address information included in the first HTTP request message may be used to address the first SIP message to the SIP User Agent. To this end, the address information may be written (e.g., copied) into the first SIP message.
The first or any later HTTP request message may further include HTTP dialog information. The HTTP dialog information and the SIP dialog information may each uniquely identify one specific session-related dialog between at least one HTTP enabled entity and at least one SIP enabled entity. In some cases, one and the same identifier may simultaneously constitute the HTTP dialog information and the SIP dialog information, so that a mapping would become obsolete and a simple storing of this identifier would suffice. Together with the HTTP and/or SIP dialog information, information about the current state of the specific dialog may be stored. This approach permits to look-up the current state of any dialog based on the HTTP and/or SIP dialog information. Such a look-up may be performed in context with the construction of one or more SIP messages for continuing, modifying or terminating the dialog.
According to a still further possibility, the first or any later HTTP request message may include session description information such as information according to the Session Description Protocol (SDP) standard. The session description information may, for example, be sent in an SDP offer/answer context. In the case the first HTTP request message includes session description information, this information may be forwarded via the first SIP message to the SIP enabled entity. In other words, the session description information received via the first HTTP request message may be included (e.g., copied) into the first SIP message.
There exist various possibilities for inserting HTTP state information in at least one of the first HTTP request message and the second HTTP request message. According to a first variant, HTTP cookies are used for conveying state information. According to a second variant, state information in the form of a Fat URL is transmitted. As a still further variant, the utilization of HTTP parameters and query components can be mentioned. Two or more of these variants can be combined as needed.
The first HTTP request message may include an SIP message indication that permits the recipient of the first HTTP request message to identify the type of SIP message that is to be created. The SIP message indication may directly or indirectly refer to any SIP method such as INVITE, ACK, BYE, CANCEL, OPTIONS, REGISTER and INFO. According to another variant, the SIP message indication may directly or indirectly refer to an SIP code such as any one of the following (or other) response codes: 1xx Informational (e.g., 100 Trying, 180 Ringing), 2xx Successful (e.g., 200 OK, 202 Accepted), 3xx Re-Direction, 4xx Request Failure, 5xx Server Failure, and 6xx Global Failure. According to a still further variant, the SIP message indication may directly or indirectly refer to an HTTP status code that can be translated into a corresponding SIP code or SIP method.
According to a further aspect, a method of performing signaling conversion between an SIP dialog and an HTTP stateful session is provided, which comprises receiving from an SIP enabled entity a first SIP message, the first SIP message belonging to an SIP dialog; establishing a mapping between HTTP state information and the SIP dialog; creating a first HTTP request message indicative of a content of the first SIP message, the first HTTP request message including the HTTP state information that is mapped on the SIP dialog; and sending the first HTTP request message to an HTTP enabled entity.
The method may further comprise receiving a first HTTP response message responsive to the first HTTP request message from the HTTP enabled entity. The first HTTP response message may optionally include or reference the HTTP state information received by the HTTP enabled entity via the first HTTP request message.
Still further, the method may comprise the steps of receiving a second HTTP request message including the HTTP state information and, optionally, including an SIP message indication indicative of a second SIP message that is to be created; determining the SIP dialog mapped on the HTTP state information; creating a second SIP message in response to receipt of a second HTTP request message based on the determined SIP dialog (and optionally based on the SIP message indication if available); and sending the second SIP message to the SIP enabled entity. Moreover, a second HTTP response message may be returned to the HTTP enabled entity in response to the second HTTP request message. The second HTTP response message may optionally include or reference the HTTP state information.
Based on the HTTP state information, the pair of first HTTP request and response messages as well as the pair of second HTTP request and response messages may be grouped into the HTTP stateful session. In other words, while HTTP as such is stateless, the inclusion of the HTTP state information in at least the HTTP request messages (and optionally also in the corresponding response messages) permits to extend the stateful session paradigm from the SIP domain into the HTTP domain.
The HTTP state information may be generated (e.g., in response to receipt of the first SIP message) by any of the network components involved in the message exchange. If, for example, the session is initiated from the HTTP domain (i.e., by an HTTP enabled entity), the HTTP state information may be generated by the HTTP enabled entity and transmitted with the first HTTP request message. If, on the other hand, the session is initiated from the SIP domain (i.e., by an SIP enabled entity), the HTTP state information may be generated by the network component establishing the mapping between the HTTP state information and the SIP dialog. Of course, there exist various further possibilities how and where the HTTP state information can be generated.
The HTTP enabled entity participating in the message transfer described herein may take the form of any user equipment, such as a mobile telephone, a personal digital assistant, a personal computer, a laptop, a network or data card and so on. The SIP enabled entity may be an IMS entity such as an IMS application server or an IMS enabled user equipment.
The SIP dialog performed between the HTTP enabled entity and the SIP enabled entity may be performed in any SIP messaging context. Possible SIP messaging contexts include a user registration context, a session initiation context and a session termination context.
According to another aspect, a computer program product is provided. The computer program product comprises program code portions for performing one or more of the steps of one or more of the methods described herein when the computer program product is executed on one or more computing devices. The computer program to product may be stored on a computer-readable recording medium such as a permanent or re-writable memory, a CD-ROM, or a DVD. The computer program product may also be provided for download via one or more computer networks such as the Internet, a cellular telecommunications network or a wireless or wired Local Area Network (LAN).
According to a still further aspect, an apparatus for performing signaling conversion between an HTTP stateful session and an SIP dialog is provided. The apparatus comprises an HTTP User Agent adapted to receive from an HTTP enabled entity a first HTTP request message, the first HTTP request message including HTTP state information; an SIP User Agent adapted to send a first SIP message to an SIP enabled entity in response to receipt of the first HTTP request message, the first SIP message belonging to an SIP dialog; and a mapping logic adapted to establish a mapping between the HTTP state information and the SIP dialog. The apparatus may be configured to perform any of the method aspects discussed herein.
The SIP User Agent or another component of the apparatus may be configured to also create the first SIP message. Further, the HTTP User Agent may be adapted to return a first HTTP response message to the HTTP enabled entity.
A further apparatus for performing signaling conversion between an SIP dialog and an HTTP stateful session comprises an SIP User Agent adapted to receive from an SIP enabled entity a first SIP message, the first SIP message belonging to an SIP dialog; a mapping logic adapted to establish a mapping between HTTP state information and the SIP dialog; and an HTTP User Agent adapted to send a first HTTP request message indicative of a content of the first SIP message to an HTTP enabled entity, the first HTTP request message including or referencing the HTTP state information mapped on the SIP dialog. The apparatus may be configured to perform any of the method aspects discussed herein.
The HTTP User Agent or another component of the apparatus may be adapted to also create the first HTTP request message. The HTTP User Agent may further be adapted to receive a first HTTP response message responsive to the first HTTP request message from the HTTP enabled entity.
Any of the apparatuses described herein may be configured as an intermediate network node interfacing (or bridging) an HTTP domain on the one side and an SIP domain on the other. In one possible implementation, the apparatus is configured as a Web proxy.
In the following, the present invention will be described in more detail with reference to exemplary embodiments illustrated in the drawings, wherein
In the following description, for purposes of explanation and not limitation, specific details are set forth such as specific network configurations and specific signaling scenarios in order to provide a thorough understanding of the techniques disclosed herein. It will be apparent to one skilled in the art that the techniques may be practised in other embodiments that depart from these specific details. For example, the skilled artisan will appreciate that the techniques discussed herein may be practised in combination with other network configurations and different signaling steps. Moreover, while the following embodiments will primarily be described in relation to SIP enabled IMS entities, it will be readily apparent that the techniques described herein may also be practised in context with SIP enabled entities that are not compliant with the IMS standard.
Those skilled in the art will further appreciate that the methods, steps and functions explained herein may be implemented using individual hardware circuitry, using software functioning in conjunction with a programmed microprocessor or general purpose computer, using an Application Specific Integrated Circuit (ASIC) and/or using one or more Digital Signal Processors (DSPs). It will also be appreciated that, while the following embodiments will primarily be described in the form of methods and apparatuses, the techniques disclosed herein may also be embodied in a computer processor and a memory coupled to the processor, wherein the memory is encoded with one or more programs that perform the steps discussed herein when executed by the processor.
Reference is now made to
The HIAnet 104 provides a central network node hosting a so-called HTTP-to-IMS Access Function (HIAF) 108. The HIAF 108 serves the various HUEs 106 via HTTP-based network links and at the same time maintains an SIP-based network link to the IMS network 102. The HIAF 108 thus interfaces or intervenes between the plurality of HUEs 106 on the one side and the IMS network 102 on the other side.
The IMS network 102 comprises a plurality of network nodes distributed over an application plane, a control plane and a transport plane. The control plane includes a plurality of SIP servers and SIP proxys that are collectively called Call Session Control Functions (CSCF) and that are used to process SIP signaling. A Proxy CSCF (P-CSCF) 110 is a SIP proxy constituting the first point of contact for external IMS enabled entities such as mobile telephones. The P-CSCF 110 is assigned to an IMS enabled entity during registration and provides authentication services. A Serving CSCF (S-CSCF) 112 is the central node of the control plane. It is a SIP server but also performs session control. The main tasks of the S-CSCF 112 include the handling of SIP registrations and the selection of an Application Server (AS) 114 that is to provide a requested service. An Interrogating CSCF (I-CSCF) 116 is another SIP function configured to query a Home Subscriber Server (HSS) 118 in response to receipt of an SIP request, and to route the received SIP request to the assigned S-CSCF 112 based on the information retrieved from the HSS 118.
On the application layer, the one or more ASs 114 host and execute services, including voice, data and multimedia services. The ASs 114 interface with the S-CSCF 112 via SIP signaling. The HSS 118 is a further application layer component maintaining subscription-related information (user profiles), and participating in authentication and authorization processes. The Media Resource Function (MRF) 120 is a media server that provides media-related functions including media manipulation (e.g., voice stream mixing).
A Media Gateway Controller Function (MGCF) 122 is a Public Switched Telephone Network (PSTN) gateway in charge of call control protocol conversion between SIP and the ISDN User Part (ISUP) protocol. A Media Gateway (MGW) 124 is a further PSTN gateway that is located on the transport layer and interfaces with the media plane of the PSTN by performing protocol conversion between the Real-time Transport Protocol (RTP) as used in the IMS network 102 and Pulse-Code Modulation (PCM) as used in the circuit-switched PSTNs.
The IMS network 102 further comprises SIP enabled user equipment 110′, 112′, 116′, 122′, 124′ including mobile telephones (as schematically illustrated in
As mentioned above, the HIAF 108 constitutes the central network node of the HIAnet 104. The HIAF 108 operates as a Web proxy and intercepts HTTP requests generated by the HUEs 106. The network address of the HIAF 108 may be statically preconfigured, or it may be dynamically discovered as will be described in more detail below.
The basic task of the HIAF 108 is to enable an interaction between the HUEs 106 on the one hand and the IMS network 102 on the other. This interaction includes the initiation, acception and termination of multimedia sessions with SIP enabled IMS entities including IMS subscribers (i.e., IMS enabled user equipment) and IMS ASs 114. The HIAF 108 is configured to establish, update and terminate mappings between SIP dialogs and HTTP state information (i.e., HTTP stateful sessions). Based on these mappings, the HIAF 108 additionally performs signaling conversion that permits the HUEs 106 to initiate media sessions towards IMS entities, and to be the target of media sessions initiated by IMS entities.
The HTTP User Agent 130 constitutes an endpoint of HTTP messaging, while the SIP User Agent 132 constitutes an endpoint for SIP messaging. A function called HTTP-to-SIP Mapping Logic (HSML) 134 is coupled between the HTTP User Agent 130 and the SIP User Agent 132. The HSML 134 is in charge of establishing (e.g., determining, creating, updating or deleting) state information for HTTP and SIP sessions and additionally performs signaling conversion between them. Specifically, in the HSML 134 each SIP message may be associated with and translated into an HTTP request-response message pair and vice versa. The resulting signaling pattern is illustrated in
As is well-known, HTTP is a stateless protocol in which for each pair of request and response messages a new TCP connection is opened (as shown on the left-hand side of
The HIAF 108 additionally establishes (e.g., generates and/or maintains) a mapping between an SIP dialog (involving one SIP request message and one SIP response message in the exemplary scenario shown on the right-hand side of
The HTTP messages illustrated in
As shown in
The transaction socket layer 140 and the transaction administration layer 142 are configured to perform transaction-based processing operations. A transaction typically comprises the exchange of a single SIP request message and one or more related SIP response messages as part of an SIP dialog. Each SIP dialog, in turn, includes one or more individual transactions (such as INVITE transactions, non-INVITE transactions and ACK requests, that constitute their own transaction).
As already mentioned, individual SIP request and response messages are mapped onto separate HTTP request and response message pairs based on HTTP state information. It is the purpose of the transaction socket layer 140 to exploit the mapping in context with utilizing the HTTP state information included within HTTP request and response pairs in order to match each HTTP request message (containing, for example, an SIP transaction request) with its associated HTTP response message. In addition, the transaction socket layer 140 handles HTTP timeouts and retransmissions. For this purpose, the transaction socket layer 140 implements a separate state machine depending on the required type of transaction administration component (client 142A or server 142B) and the transaction type (e.g., INVITE or non-INVITE transaction).
The transaction administration layer 142 is arranged above the transaction socket layer 140 and is responsible for creating (or initiating) and cancelling SIP transactions belonging to individual SIP dialogs. The dialog administration layer 144 maintains state information for each established SIP dialog. In addition, the dialog administration layer 144 comprises inter-element communication logic that intervenes between the client and server components 142A, 142B of each HTTP User Agent 130 and administers the whole stack of software layers.
In the following, the cooperation of the individual software layers 140, 142 and 144 illustrated in
The Session Description Protocol, or SDP, is described in RFC2327 and defines a syntax for describing the multimedia sessions with the information required in order to participate in that session. Session descriptions may be sent using arbitrary existing application protocols for transport.
The offer/answer model as defined in RFC3264 enables endpoints to use SDP in order to obtain a shared view of a session. Some session parameters are negotiated (e.g., codecs to use), while others are simply communicated from one endpoint to the other (e.g., IP addresses). According to the SDP offer/answer model, a communication endpoint (the ‘offerer’) generates an SDP message that constitutes the offer. The offer needs to be conveyed to the other endpoint (the ‘answerer’). The answerer generates an answer, which is an SDP message that responds to the offer submitted by the offerer. The answer has a matching media stream for each stream in the offer, indicating whether the stream is accepted or not. The SDP offer/answer model does not define a specific means of transportation for delivering SDP messages between endpoints.
The HTTP state information received with the first HTTP request message of
The HTTP request message from the HUAC 106B is received at the transaction socket layer 140 of the HTTP User Agent 130 of HIAF 108. On the transaction socket layer 140, the HTTP request message is processed, and a HTTP response message responsive to the HTTP request message is returned to the HUAC 106B as shown in
Then, the transaction request, the SDP offer and the HTTP state information are passed from the transaction socket layer 140 to the client component 142A of the transaction administration layer 142. Responsive to receipt of these items, the client component 142A creates a new client transaction instance (step 3 in
Responsive to receipt of the SIP request message (INVITE) including the SDP offer, the S-CSCF 112 returns an SIP response message with the response code 183 and an SDP answer as shown in
The transaction socket layer 140 constructs a new HTTP request message carrying the response code, the SDP answer as well as a cookie with the HTTP state information as received from the HUE 106 with the first HTTP request message. The newly created HTTP request message is then sent in a next step to the HUAS 106A of HUE 106 as shown in
Since the same (or uniquely associable) HTTP state information is included in both the first HTTP request message sent from the HUAC 106B to the HIAF 108 and the second HTTP request message sent from the HIAF 108 to the HUAS 106A, the HUE 106 and the HIAF 108 can group the two nominally independent HTTP request and response message pairs into an HTTP session corresponding to an SIP dialog in the form of an INVITE transaction. In addition, this HTTP state management mechanism can also be used to map HTTP request and response messages on extra-dialog SIP signaling such as registration requests and responses.
In case the HUE 106 determines based on the SDP answer that certain parameters (e.g., media-related parameters or terminal capability-related parameters) need to be re-negotiated, the messaging pattern discussed above may repeat itself when the HUAC 106B sends a new HTTP request message to the HIAF 108 offering to renegotiate (see
During the various dialogs performed in context with the signaling illustrated in
In the scenario illustrated in
Having described the general messaging concept between the HUE 106 and the S-CSCF 112 under control of the HIAF 108, the state management mechanism performed by the HSML 134 of the HIAF 108 (see
The following mapping examples are exemplarily based on the detailed session initiation signaling diagram of
Referring now to
The dialog-id is in the simplest case the SIP call-id. However, the call-id may also be mapped to another identifier that happens to be more convenient as dialog-id. The transaction counter is an identifier that corresponds to media sessions existing within the SIP dialog. An example would be multiple video streams within one SIP dialog. The transaction counter might in such a case be used to distinguish between these different video streams.
The information item “method” in the body of the first HTTP request message of
Based on the information received via the HTTP request message from the HUE 106, the HIAF 108 is informed that an INVITE transaction is requested (method=invite) and that an SDP offer/answer procedure has to be performed. As the resulting session will stretch between the HTTP domain of the HUE 106 on the one hand and the SIP domain of the S-CSCF 112 on the other hand, the HTTP state information needs to be stored by the HIAF 108 in order to allow for a stateful communication with the HUE 106 in the context of this session.
To store the HTTP state information, the HIAF populates local tables based on the HTTP state information received via the HTTP request message from the HUE 106 and the associated SIP dialog ID generated by the dialog administration layer 144 as discussed above in context with
As shown in
The TCT 800 shown in
Based on the DRT 700 and the TCT 800, the SIP dialog ID can thus be looked-up when knowing the HIAF dialog ID and the transaction number. Each time the HIAF 108 determines that a new dialog is about to be established, it assigns a new HIAF dialog ID and updates the DRT 700 (new SIP dialog ID) and the TCT 800 (new transaction number) accordingly. As shown in
Whenever the HIAF 108 receives an HTTP request message from the HUAC of HUE 106, it performs the following tasks in relation to the DRT 700 and TCT 800. In a first step, the HIAF 108 determines whether the requesting HUE 106 has a valid registration with an outstanding lifetime. To this end, the HIAF 108 searches through its local registration table (as discussed in more detail below) for an entry containing the IP address that has sourced the incoming HTTP request message (i.e., the IP address of the HUE 106). In a next step, the HIAF 108 uses information from the registration table, the DRT 700 and the HTTP request message to construct the required SIP request message. At the same time, the HIAF updates its DRT 700.
In a further step, the HIAF 108 utilizes information acquired from the DRT 700 and the TCT 800 to construct a HTTP response message to the HUE 106. As illustrated in
Whenever the HIAF 108 receives a SIP message from the IMS network (i.e., from the S-CSCF 112), the following tasks are performed (see
In the signaling embodiment discussed above in context with
Then, the HIAF 108 receives a PRACK message from the S-CSCF 112 and maps this message into a new HTTP request message again including the previously generated HTTP state information as well as a new SDP offer (offer2) as received via the PRACK message. The new HTTP request message sent from the HIAF 108 to the HUAS 106A results in an acknowledgement in the form of a HTTP response message. The further message exchange has similarities with the message exchange discussed above in context with
The signaling diagram of
The signaling diagrams of
In the following embodiments, some further HIAF-related aspects that may be implemented in combination with the above embodiments or in a separate manner are explained. Specifically, the technical aspects of HIAF discovery, HIAF media transcoding, HIAF authentication and HIAF registration messages are discussed.
HIAF discovery involves the determination of the address of the HIAF 108 in the HIAnet 104 (see
Alternatively, the HUE 108 can use the Dynamic Host Configuration Protocol (DHCP) to discover the HIAF 108. If the address of the HIAF 108 is returned by DHCP as a Fully Qualified Domain Name (FQDN), then the IP address of the HIAF 108 can be acquired through the Domain Name System (DNS) as is well-known in the art. As a further possibility, the HIAF 108 may automatically be discovered with the help of a Proxy Autoconfiguration Protocol (PAD) such as the Web Proxy Autodiscovery Protocol (WPAD) or the Proxy AutoConfig (PAC) standard.
The HIAF 108 may also perform media transcoding operations. During the negotiation of a media session format, the HIAF 108 may declare itself as the recipient of the media session. As a result, the media session is received by the HIAF 108, and the HIAF 108 performs media transcoding into a session format that has been previously negotiated between (or preconfigured at) the HIAF 108 and the HUE 106. After the transcoding operation, the new media session is delivered to the HUE 106. Such a HIAF-based media transcoding helps to reduce processing load and complexity on the side of the HUE 106.
Now, various authentication and registration-related aspects that precede an actual media session will be discussed in more detail.
HTTP offers an authentication framework with support for a basic scheme (basic authentication) and a scheme based on cryptographic hashes (digest access authentication) both implementing a challenge-response authentication mechanism. In basic authentication, a User Agent Client will respond to a User Agent Server challenge by issuing a base64 encoded string containing its username and password. The fact that basic authentication dictates the transmission of user credentials almost in clear text makes this authentication scheme unsuitable for certain applications. In digest access authentication, the User Agent Client is challenged with a nonce and asked to return a string produced by applying a digest algorithm with a shared secret onto the nonce and a set of data.
A HUE 106 that wishes to be reachable on a SIP URI or to enjoy IMS value-added services has initially to perform IMS registration. To this end, the HIAF 108 may, for example, provide the Trusted Gateway authentication mode.
Generally, HIAF registration involves a HTTP registration conducted between the HUE 106 and the HIAF 108, and an SIP registration conducted between the HIAF 108 and the IMS network 102. In the Trusted Gateway authentication mode, the HIAF 108 authenticates each HUE 106 via HTTP authentication (e.g., using basic or digest access authentication) and confirms to the IMS network 102 the authenticity of the HUE 106. In this operational mode, the HIAF 108 is authorized to act on behalf of the HUE 106 and to source (or respond to) SIP registration requests and responses exchanged with the IMS network 102. The HTTP and SIP registrations on both sides of the HIAF 108 are independent from each other. This means that a successful HTTP registration does not necessarily mean that the SIP registration will likewise be successful.
In the following, the content of HIAF registration messages as well as the basic steps of the Trusted Gateway authentication method will be discussed in more detail. In this regard it will be assumed that the SIP domain is considering the HIAF 108 as trusted. Consequently, all registration requests coming from the HIAF 108 will automatically be accepted. However, the HIAF 108 does not trust the HUEs 106, which thus have to be authenticated.
Each HIAF registration request from a HUE 106 includes an HTTP request message that contains information indicating that the HTTP session is entering the registration state. A possible HTTP request message sent from the HUE 106 to the HIAF 108 is shown in the schematic signaling diagram of
The registration reply of the HIAF 108 is an HTTP response message. If the status code of the HTTP response message is 200 OK as illustrated in
It should be noted that the HUE 106 and the HIAF 108 do not face the problem of having to determine a match between HIAF registration request and response messages since these messages are transported over one and the same TCP connection. For this reason, no stateful HTTP session needs to be initiated.
In the following, an example of a Trusted Gateway authentication process will be described in more detail with reference to the signaling diagram of
-
- 1. Authorization information has been a priori established between the HUE 106 and the HIAF 108. That is, the HUE 106 is in a position to authenticate itself with the HIAF 108 using either basic or digest authentication.
- 2. The HIAF 108 maintains a subscriber table 1500 as shown in
FIG. 15 that maps HUE authentication user names to IMS subscribers. The subscriber table 1500 contains all the necessary fields with which the HUE 106 can be authenticated. The authentication scheme column of table 1500 indicates the specific method by which the user should be authenticated. The remaining columns are used to construct the authentication header (with which the user is challenged) and to verify the validity of user response.
Trusted Gateway authentication basically comprises two parts. During the first part, the HUE 106 is authenticated with the HIAF 108. The specific HTTP authentication method used in this regard depends on the subscriber profile as defined in the subscriber table 1500. For example, a subscriber with the table entry “digest” in the authentication scheme column will be authenticated using digest authentication.
Now referring to the signaling diagram of
Once authentication has been successfully performed and before transmission of the HTTP response message (200 OK) to the HUE 106, the HIAF 108 creates an entry for the user in a HIAF registration table 1600 as illustrated in
The registration table 1600 has several columns. The Authentication Username column indicates the Authentication Username used by the HUE 106 during HIAF registration. The Public User ID column indicates the corresponding ID of the subscriber and may be reserved for future use. The Home Domain column of the HUE 106 is populated with the corresponding content of the authentication header in the HIAF registration request message. The IP Address column is populated with the IP Address of the HUE 106. This address is generally derived from the source IP Address of incoming HIAF registration request messages. The Status column indicates the Status of HIAF registrations and the Lifetime column indicates the Lifetime of HIAF registrations.
After each successful authentication, a new entry in the HIAF registration table 1600 is created and populated as follows. The Authentication Username and Home Domain fields are populated with the values used by the subscriber during authentication. The Public User ID list is kept empty and reserved for future use. The IP address field is set to the address used by the HUE 106 during HIAF registration. The Status Field is set to REGISTERED and the lifetime is left empty.
The HIAF 108 then constructs a SIP REGISTER message (see
For every SIP registration response message received from the IMS network 102, the HSML 134 of the HIAF 108 performs the following actions. In a first step, the HSML 134 updates the lifetime value of the respective entry in the registration table 1600 to the corresponding value in the SIP registration response message. It then constructs an HTTP response message with a 200 OK status line containing the cookie “lifetime=xxxx” in its message body. This cookie indicates to the HUE 106 the lifetime of the HIAF registration.
As has become apparent from the above embodiments, the techniques presented herein permit HTTP enabled user equipment to initiate, conduct and terminate sessions with an SIP User Agent based on mappings that are established between SIP dialogs and HTTP stateful sessions. The session paradigm can thus be extended into the HTTP domain, which increases the overall inter-operability of networks relying on different application layer protocols. Signaling conversion can efficiently be performed at an interface between the HTTP and SIP domains.
In the foregoing, the principles, preferred embodiments and various modes of implementing the techniques disclosed herein have been described. However, the present invention should not be construed as being limited to the particular principles, embodiments and modes discussed above. It will thus be appreciated that variations and modifications may be made by a person skilled in the art without departing from the scope of the present invention as defined by the following claims.
Claims
1. A method of performing signaling conversion between a Hypertext Transfer Protocol (HTTP) stateful session and a Session Initiation Protocol (SIP) dialog, comprising
- receiving from an HTTP enabled entity a first HTTP request message, the first HTTP request message including HTTP state information;
- creating a first SIP message in response to receipt of the first HTTP request message, the first SIP message belonging to an SIP dialog;
- sending the first SIP message to an SIP enabled entity; and
- establishing a mapping between the HTTP state information and the SIP dialog.
2. The method of claim 1, further comprising returning a first HTTP response message to the HTTP enabled entity.
3. The method of claim 1, further comprising
- receiving a second SIP message;
- determining the SIP dialog to which the second SIP message belongs;
- determining the HTTP state information associated with the SIP dialog;
- generating a second HTTP request message including or referencing the HTTP state information thus determined; and
- sending the second HTTP request message to the HTTP enabled entity.
4. The method of claim 3, further comprising receiving a second HTTP response message responsive to the second HTTP request message from the HTTP enabled entity.
5. The method of claim 1, wherein based on the HTTP state information, the pair of first HTTP request and response messages as well as the pair of second HTTP request and response messages are grouped into the HTTP stateful session.
6. The method of claim 1, wherein the first HTTP request message further includes address information indicative of an SIP User Agent of the SIP enabled entity, and wherein the address information is used to address the first SIP message to the SIP User Agent.
7. The method of claim 1, wherein the first HTTP request message further includes HTTP dialog information, and wherein the HTTP dialog information is mapped to SIP dialog information.
8. The method of claim 1, wherein the first HTTP request message further includes session description information, and further comprising inserting the session description information included in the first HTTP request message into the first SIP message.
9. The method of claim 8, wherein the session description information is sent in a Session Description Protocol (SDP) offer/answer context.
10. The method of claim 1, wherein the state information is included in at least one of the first HTTP request message and the second HTTP request message in the form of at least one of an HTTP cookie, a Fat Universal Resource Locator (Fat URL) an HTTP parameter and a query component.
11. The method of claim 1, wherein the first HTTP request message includes an SIP message indication indicative of at least one of an SIP method, an SIP code and an HTTP status code.
12. A method of performing signaling conversion between a Session Initiation Protocol (SIP) dialog and a Hypertext Transfer Protocol (HTTP) stateful session, comprising
- receiving from an SIP enabled entity a first SIP message, the first SIP message belonging to an SIP dialog;
- establishing a mapping between HTTP state information and the SIP dialog;
- creating a first HTTP request message indicative of a content of the first SIP message, the first HTTP request message including the HTTP state information mapped on the SIP dialog; and
- sending the first HTTP request message to an HTTP enabled entity.
13. The method of claim 12, further comprising receiving a first HTTP response message responsive to the first HTTP request message from the HTTP enabled entity.
14. The method of claim 12, further comprising
- receiving a second HTTP request message, the second HTTP request message including the HTTP state information and an optional indication of a second SIP message that is to be created;
- determining the SIP dialog mapped on the HTTP state information;
- creating a second SIP message in response to receipt of the second HTTP request message based on the optional indication in the second HTTP request message and the determined SIP dialog; and
- sending the second SIP message to the SIP enabled entity.
15. The method of claim 14, further comprising returning a second HTTP response message to the HTTP enabled entity.
16. The method of claim 12, wherein based on the HTTP state information the pair of first HTTP request and response messages as well as the pair of second HTTP request and response messages are grouped into the HTTP stateful session.
17. The method of claim 12, further comprising generating the HTTP state information in response to receipt of the first SIP message.
18. The method of claim 1, wherein the HTTP enabled entity is a user equipment or the SIP enabled entity is an Internet Protocol Multimedia Subsystem (IMS) entity.
19. The method of claim 1, wherein the SIP dialog is performed in one of a user registration context, a session initiation context and a session termination context.
20.-21. (canceled)
22. An apparatus for performing signaling conversion between a Hypertext Transfer Protocol (HTTP) stateful session and a Session Initiation Protocol (SIP) dialog, comprising
- an HTTP User Agent adapted to receive from an HTTP enabled entity a first HTTP request message, the first HTTP request message including HTTP state information;
- an SIP User Agent adapted to send a first SIP message to an SIP enabled entity in response to receipt of the first HTTP request message, the first SIP message belonging to an SIP dialog; and
- a mapping logic adapted to establish a mapping between the HTTP state information and the SIP dialog.
23. The apparatus of claim 22, wherein the HTTP User Agent is further adapted to return a first HTTP response message to the HTTP enabled entity.
24. (canceled)
25. An apparatus for performing signaling conversion between a Session Initiation Protocol (SIP) dialog and a Hypertext Transfer Protocol, or HTTP, stateful session, comprising
- an SIP User Agent adapted to receive from an SIP enabled entity a first SIP message, the first SIP message belonging to an SIP dialog;
- a mapping logic adapted to establish a mapping between HTTP state information and the SIP dialog;
- an HTTP User Agent adapted to send a first HTTP request message indicative of a content of the first SIP message to an HTTP enabled entity, the first HTTP request message including the HTTP state information mapped on the SIP dialog.
26. The apparatus of claim 25, wherein the HTTP User Agent is further adapted to receive a first HTTP response message responsive to the first HTTP request message from the HTTP enabled entity.
27. (canceled)
28. The apparatus of claim 22, configured as a Web proxy.
Type: Application
Filed: Dec 11, 2008
Publication Date: Mar 24, 2011
Patent Grant number: 9094463
Inventors: Ioannis Fikouras (Aachen), Nikolaos Albertos Fikouras (Attika), Roman Levenshteyn (Aachen)
Application Number: 12/919,844
International Classification: H04L 29/06 (20060101);