WO2014005317A1 - Method and corresponding device for presence server to find non-presence user service capability - Google Patents

Method and corresponding device for presence server to find non-presence user service capability Download PDF

Info

Publication number
WO2014005317A1
WO2014005317A1 PCT/CN2012/078267 CN2012078267W WO2014005317A1 WO 2014005317 A1 WO2014005317 A1 WO 2014005317A1 CN 2012078267 W CN2012078267 W CN 2012078267W WO 2014005317 A1 WO2014005317 A1 WO 2014005317A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
request
iwf
sip options
service capability
Prior art date
Application number
PCT/CN2012/078267
Other languages
French (fr)
Chinese (zh)
Inventor
梁刚
Original Assignee
华为技术有限公司
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280001193.1A priority Critical patent/CN103999425B/en
Priority to PCT/CN2012/078267 priority patent/WO2014005317A1/en
Publication of WO2014005317A1 publication Critical patent/WO2014005317A1/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]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/02Inter-networking arrangements

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a method and corresponding apparatus for a presence server to discover non-presentation user service capabilities. Background technique
  • Rich Communication Suite is a collection of services based on address book that provides a variety of functions including instant messaging, file transfer, video calling, and video sharing.
  • RCS provides a capability discovery mechanism to discover the type of service that the other party currently supports (such as whether a video call is currently available, whether file transfer is possible, etc.). Only when you know that the other party supports a certain business capability, you can initiate a business invitation to make a call, thereby reducing the invitation failure caused by the other party's failure to support certain business capabilities.
  • the principle of the Presence-based service capability discovery mechanism is: the requested party terminal publishes its currently available service capability information to the Presence server; the requestor terminal subscribes to the Presence server for the currently available service capability information of the requested party terminal; the Presence server requests the request The party terminal delivers the service capability information available to the requested party terminal. If the service capability information of the requested party terminal changes, the requested terminal will notify the presence server to update; the Presence server will pass the updated service capability information of the requested party terminal through the session initiation protocol (SIP, Session Initiation Protocol). The NOTIFY signaling in ) is sent to the requesting terminal.
  • SIP Session Initiation Protocol
  • the principle of the SIP OPTIONS-based service capability discovery mechanism is: The requesting terminal sends a SIP OPTIONS request to the requested party terminal, and the requested party terminal receives the request and returns a corresponding response, where the response includes the service supported by the requested party terminal. Capability information.
  • Carrier A uses the SIP OPTIONS mechanism and Carrier B uses the Presence mechanism. Since the carrier A does not have the corresponding Presence service support for the service capability discovery, the Presence server cannot obtain the service capability information of the terminal belonging to the operator A. Summary of the invention
  • the technical problem to be solved by the embodiment of the present invention is to provide a presentation of a presence server. It is not a method and corresponding device for presenting the user's business capabilities.
  • the presence server can be made to discover the business capabilities of non-rendering users.
  • an embodiment of the present invention provides a method for a Presence Server to discover a non-presentation user service capability, including: a presence server receiving a subscription second terminal sent by a first terminal The service capability subscription request of the service capability information, the service capability subscription request carrying the identifier of the second terminal; determining, according to the identifier of the second terminal, the operator of the second terminal to support the session initiation protocol, selecting the SIP OPTIONS capability a discovery mechanism: sending a presence request to the second terminal's service capability information to an Interworking Function (IFF), so that the IWF converts the presence request into a SIP OPTIONS request and belongs to the second terminal
  • IFF Interworking Function
  • the IP Multimedia Subsystem (IMS) network sends the SIP OPTIONS request, the Presence request carries the identifier of the second terminal, receives a NOTIFY message sent by the IWF, and the NOTIFY message is sent by the IWF.
  • IMS IP Multimedia Subsystem
  • the IMS to which the second terminal belongs In the transmission network after receiving the SIP OPTIONS request to the IWF in response to the SIP OPTIONS and transformed into the NOTIFY SIP OPTIONS message and said response comprising service capability information of the second terminal.
  • the determining, by the identifier of the second terminal, that the operator of the second terminal belongs to the session initiation protocol, selects a SIP OPTIONS capability discovery mechanism including: the presence server is configured according to The identifier of the first terminal and the identifier of the second terminal in the service capability subscription request determine that the second terminal and the first terminal belong to different operators; the presence server operates according to different storages thereof
  • the service capability discovery mechanism supported by the quotient determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism; if the presence server fails to determine the second terminal according to the service capability discovery mechanism supported by different operators
  • the sending a Presence request for subscribing to the service capability information of the second terminal includes: when the service capability subscription request is periodic At the time of the subscription, the presence server stores a subscription relationship in which the first terminal periodically subscribes to the second terminal service capability information, where the subscription relationship includes a time interval set by the operator or the user to which the first terminal belongs; The time interval set by the operator or the user to which the first terminal belongs is sent, and the presence request is sent.
  • the sending a Presence request to the interworking function module IWF that subscribes to the service capability information of the second terminal includes: The presence server directly communicates with the IWF to send the presence request to the IWF; the receiving the NOTIFY message sent by the IWF includes: the presence server directly communicating with the IWF to receive the IWF sending The NOTIFY message.
  • the sending a Presence request to the interworking function module IWF that subscribes to the service capability information of the second terminal includes: The presence server sends the presence request to the IWF through the IMS network to which the first terminal belongs; the receiving the NOTIFY message sent by the IWF includes: the presence server receives the location through the IMS network to which the first terminal belongs.
  • the second aspect of the embodiment of the present invention is provided by the IWF.
  • the embodiment of the present invention provides a method for the Presence server to discover the service capability of the non-Presence user, including: the interworking function module IWF receives the subscription station sent by the presence server.
  • the Presence request is converted into a SIP OPTIONS request; and the second terminal belongs to the second terminal according to the identifier of the second terminal Sending, by the IMS network, the SIP OPTIONS request; receiving the second terminal belongs to And the SIP OPTIONS response sent by the IMS network to the IWF after receiving the SIP OPTIONS request, and converting the SIP OPTIONS response into a NOTIFY message, where the SIP OPTIONS response and the NOTIFY message include the service of the second terminal Capability information; the NOTIFY message is sent to the presence server.
  • the method further includes: receiving, by the IWF, a presence request sent by the presence server to subscribe to the second terminal service capability information. And determining, by the IWF, that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism, according to the identifier of the second terminal, before the request is converted to the SIP OPTIONS request.
  • the IWF receiving the presence request sent by the presence server and subscribing to the service capability information of the second terminal includes: the IWF directly interacting with the presence server Communicating to receive the Presence request; the transmitting the NOTIFY message to the presence server comprises: the IWF directly communicating with the presence server to send the NOTIFY message to the presence server.
  • the IWF receiving the presence request sent by the presence server to subscribe to the service capability information of the second terminal includes: the IWF passing the first terminal
  • the IMS network receives the Presence request
  • the sending the NOTIFY message to the presence server includes: sending, by the IWF, the NOTIFY message to the presence server by using an IMS network to which the first terminal belongs.
  • an embodiment of the present invention further provides a presentation of a presence server, including: a first receiving module, configured to receive a service capability subscription that is sent by a first terminal and subscribes to service capability information of a second terminal.
  • the service capability subscription request carries the identifier of the second terminal; and receiving a NOTIFY message sent by the interworking function module IWF, where the NOTIFY message is used by the IWF to belong to the IP multimedia subsystem IMS to which the second terminal belongs
  • the network converts the SIP OPTIONS response sent to the IWF after receiving the SIP OPTIONS request, the NOTIFY message and the SIP OPTIONS response include the service capability information of the second terminal, and the first determining module is configured to The identifier of the second terminal determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism, and the first sending module is configured to send a presence request for subscribing to the service capability information of the second terminal to the IWF, so that The IWF converts the presence request into the SIP OPTIONS request and to the first IMS network sends the terminal belongs SIP OPTIONS request, the request carries the identifier Presence of the second terminal.
  • the first determining module includes: a second determining module, configured to: according to the identifier of the first terminal and the second in the service capability subscription request Determining, by the identifier of the terminal, that the second terminal and the first terminal belong to different operators; a first storage module, configured to store a service capability discovery mechanism supported by different operators; and a third determining module, configured to: A service capability discovery mechanism corresponding to different operators stored by a storage module determines The operator of the second terminal supports the SIP OPTIONS capability discovery mechanism.
  • the first determining module includes: a second sending module, configured to send, according to the identifier of the second terminal, to the second terminal by using an IMS network, a second receiving module, configured to receive a response indicating that the operator to which the second terminal belongs does not support Presence, and a fourth determining module, configured to receive, by the second receiving module, that the second terminal belongs to the operation
  • a second sending module configured to send, according to the identifier of the second terminal, to the second terminal by using an IMS network
  • a second receiving module configured to receive a response indicating that the operator to which the second terminal belongs does not support Presence
  • a fourth determining module configured to receive, by the second receiving module, that the second terminal belongs to the operation
  • the first determining module further includes: a fifth determining module, configured to: according to the identifier of the first terminal in the service capability subscription request Determining, by the identifier of the second terminal, that the second terminal and the first terminal belong to different operators; the second storage module is configured to store a service capability discovery mechanism supported by different operators; And determining, according to the service capability discovery mechanism supported by the different operators stored by the second storage module, that the operator of the second terminal supports the SIP OPTIONS capability discovery mechanism, and if not, the second sending module is triggered.
  • a fifth determining module configured to: according to the identifier of the first terminal in the service capability subscription request Determining, by the identifier of the second terminal, that the second terminal and the first terminal belong to different operators; the second storage module is configured to store a service capability discovery mechanism supported by different operators; And determining, according to the service capability discovery mechanism supported by the different operators stored by the second storage module, that the operator of the second terminal supports the SIP OPTIONS capability discovery mechanism, and if not
  • the presence server further includes: a third storage module, configured to store the first terminal periodic subscription a subscription relationship of the service capability information of the second terminal, where the subscription relationship includes a time interval set by the operator or the user to which the first terminal belongs, and a timing triggering module, configured to set according to the operator or user to which the first terminal belongs The time interval triggers the presence server to send the presence request.
  • a third storage module configured to store the first terminal periodic subscription a subscription relationship of the service capability information of the second terminal, where the subscription relationship includes a time interval set by the operator or the user to which the first terminal belongs
  • a timing triggering module configured to set according to the operator or user to which the first terminal belongs The time interval triggers the presence server to send the presence request.
  • the first sending module is configured to determine the second in the first determining module
  • the Presence request is sent to the IWF by using the IMS network to which the first terminal belongs
  • the first receiving module is configured to receive by using the IMS network to which the first terminal belongs.
  • the presence server includes the IWF
  • the IWF includes: a third receiving module, Directly communicating with the first sending module to receive the Presence request sent by the first sending module, and for receiving the SIP OPTIONS response; and a converting module, configured to convert the Presence request into the SIP An OPTIONS request, and for converting the SIP OPTIONS response into the NOTIFY message; a third sending module, configured to send the SIP OPTIONS request, And for communicating directly with the first receiving module to send the NOTIFY message to the first receiving module.
  • an embodiment of the present invention further provides an interworking function module IWF, including: a receiving module, configured to receive a presence request sent by a presence server of a first terminal to subscribe to second terminal service capability information
  • the Presence request carries the identifier of the second terminal, and is configured to receive a SIP OPTIONS response sent by the IP Multimedia Subsystem IMS network to which the second terminal belongs to the IWF after receiving the SIP OPTIONS request, the SIP
  • the OPTIONS response includes the service capability information of the second terminal; a conversion module, configured to convert the Presence request into the SIP OPTIONS request, and to convert the SIP OPTIONS response to include the second terminal service capability a NOTIFY message of the information; the sending module, configured to send the SIP OPTIONS request to the IMS network to which the second terminal belongs according to the identifier of the second terminal, and to send the NOTIFY message to the presence server.
  • the IWF further includes: a determining module, configured to determine, according to the identifier of the second terminal in the Presence request, after the receiving module receives the Presence request.
  • a determining module configured to determine, according to the identifier of the second terminal in the Presence request, after the receiving module receives the Presence request.
  • the receiving module is configured to directly communicate with the presence server to receive the Presence request sent by the presence server, where the sending module is used to Directly communicating with the presence server to send the NOTIFY message to the presence server.
  • the receiving module is configured to receive, by using an IMS network to which the first terminal belongs, the Presence request sent by the presence server, where the sending module is used by Sending the NOTIFY message to the presence server by the IMS network to which the first terminal belongs.
  • the implementation of the embodiment of the present invention has the following beneficial effects:
  • the IWF is used to perform the corresponding signaling conversion, so that the user who selects the Presence as the service capability discovery mechanism can obtain the service of the user who selects the SIP OPTIONS as the service capability discovery mechanism.
  • the capability information thus avoids the problem that the business capability cannot be obtained due to the adoption of different business capability mechanisms, and the business session invitation fails.
  • FIG. 1 is a schematic flow chart of a method for a Presence server to discover non-Presence user service capabilities according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a method for a Presence server to discover non-Presence user service capabilities according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a communication flow of a Presence user discovering non-Presence user service capabilities according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a communication flow of a Presence user discovering non-Presence user service capabilities according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a Presence Server according to an embodiment of the present invention.
  • 6A is a schematic diagram showing the structure of a first determining module of a Presence Server according to an embodiment of the present invention
  • 6B is a schematic diagram showing the structure of a first determining module of a Presence Server according to an embodiment of the present invention
  • 6C is a schematic diagram showing the structure of a first determining module of a Presence Server according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a Presence Server according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a Presence Server according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a Presence Server according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a Presence server according to an embodiment of the present invention
  • FIG. 11 is a schematic structural diagram of an IWF according to an embodiment of the present invention
  • FIG. 12 is a schematic structural diagram of an IWF according to an embodiment of the present invention. detailed description
  • FIG. 1 is a schematic flowchart of a method for a Presence server to discover non-Presence user service capabilities according to an embodiment of the present invention. Referring to FIG. 1, the method includes:
  • the Presence server receives a service capability subscription request that is sent by the first terminal to subscribe to the service capability information of the second terminal, where the service capability subscription request carries the identifier of the second terminal, where the identifier of the second terminal includes a mobile phone number and a universal resource identifier.
  • S200 Determine, according to the identifier of the second terminal, that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism;
  • S300 Send a presence request to subscribe to the service capability information of the second terminal to the interworking function module IWF, so that the IWF converts the presence request into a SIP OPTIONS request and sends the SIP OPTIONS request to the IP multimedia subsystem IMS network to which the second terminal belongs,
  • the Presence request carries the identifier of the second terminal;
  • Expires indicates the subscription period (the value of Expires is in seconds, the value of Expires is 0 for single subscription, and the value of Expires is greater than 0. Periodic subscription), the second half of the service capability subscription request is Body (message body), indicating that you want to subscribe to the Service ID and Version, which means to subscribe to the other party's business capability information.
  • the Presence server may determine that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism in the following two manners:
  • step S100 the Presence server sends a p resence request to the second terminal according to the identifier of the second terminal and the IMS network, and if the operator that the second terminal belongs does not support
  • Presence response (the response may be a 4XX, 5XX or 6XX response, and the specific response number may be determined according to a protocol signed by the operator of the first terminal and the operator of the second terminal, for example, may indicate that the second terminal belongs to the operation
  • the operator of the second terminal is determined to support the SIP OPTIONS capability discovery mechanism.
  • This method of determination is based on: There are only two modes of the existing RCS service: Presence and OPTIONS, and the two must choose one. Therefore, the operator adopting RCS either supports the Presence service capability discovery mechanism or supports the SIP OPTIONS capability discovery mechanism.
  • the Presence server can determine, according to the stored information, that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism. For example, Presence can store the names of different carriers, The address information and its corresponding supported service capability discovery mechanism are shown in Table 1:
  • the Presence server may determine, according to the identifier of the first terminal in the From header field of the service capability subscription request and the identifier of the second terminal in the To header field, that the second terminal and the first terminal belong to different operators (for example, if the service capability subscription is In the request, the domain information of the first terminal in the From header field is ⁇ chinamobile.com or starts with 138, and the domain information of the second terminal in the To header field is @chinaunicom.com or starts with 130, then the first terminal belongs to China. Move, the second terminal belongs to China Unicom), and do the following:
  • the presence server determines the operator to which the second terminal belongs according to the identifier of the second terminal in the To header field of the service capability subscription request, and determines, according to the stored service capability discovery mechanism supported by the different operators, that the operator of the second terminal supports the SIP OPTIONS capability.
  • the discovery mechanism in this case, the service capability discovery mechanism supported by the different operators stored by the Presence server includes the service capability discovery mechanism supported by the operator to which the second terminal belongs); or, the Presence server supports the corresponding carrier according to the storage.
  • the service capability discovery mechanism cannot determine that the operator of the second terminal supports the SIP OPTIONS capability discovery mechanism. (The Presence server may not store the service capability discovery mechanism of all operators, so in some cases, the judgment cannot be made.
  • the Presence server may not be stored.
  • the service capability discovery mechanism information supported by the operator to which the second terminal belongs the Presence server sends a presence request to the second terminal through the IMS network according to the identifier of the second terminal, and receives the representation indicating that the second terminal belongs to Business Presence does not support the response, it is determined that the second terminal operator that owns the ability to support SIP OPTIONS discovery mechanism.
  • the Presence server can send a Presence request for subscribing to the service capability information of the second terminal to the IWF in the following two manners: Manner 1: When the service capability subscription request received by the presence server is a single subscription, the Presence server sends a presence request for subscribing to the service capability information of the second terminal to the interworking function module IWF.
  • the Presence server stores a subscription relationship in which the first terminal periodically subscribes to the second terminal service capability information, where the subscription relationship includes the operator to which the first terminal belongs or The time interval set by the user, the Presence server periodically sends a presence request to the IWF according to the time interval. For example, the Presence server sends a presence request according to the time interval set by the operator or the user.
  • the operator can set the trigger period of the subscription according to its own situation, for example, it is set to 3600 seconds, and the user can also set it by itself (or modify it in the background after setting).
  • the trigger period for example, is set to 1800 seconds.
  • the Presence server can trigger the presence request through the timer. Send.
  • FIG. 2 is a schematic flowchart of a method for a Presence server to discover non-Presence user service capabilities according to an embodiment of the present invention. Referring to FIG. 2, the method includes:
  • the IWF receives a Presence request sent by the Presence server to subscribe to the service capability information of the second terminal, where the Presence request carries the identifier of the second terminal.
  • S204 Send a SIP OPTIONS request to the IMS network to which the second terminal belongs according to the identifier of the second terminal.
  • S206 Receive a SIP OPTIONS response and convert it into a NOTIFY message, where the SIP OPTIONS response is sent by the IMS network to which the second terminal belongs to the IWF after receiving the SIP OPTIONS request, and the SIP OPTIONS response and the NOTIFY message include the service capability of the second terminal.
  • the IWF communicates with the Presence server through the IMS network to which the first terminal belongs.
  • FIG. 3 is a schematic diagram of a communication process for a Presence user to discover non-Presence user service capabilities according to an embodiment of the present invention.
  • the communication process includes:
  • Step 1 to Step 2 The first terminal A goes to the Presence Server A through its IMS network A. Sending a service capability subscription request for subscribing to the service capability information of the second terminal (for a description of the service capability subscription request, refer to the corresponding description in the embodiment shown in FIG. 1);
  • Step 3 to Step 4 The Presence Server A determines the address of the second terminal B according to the identifier of the second terminal in the To header field of the Presence request, and then sends the subscription to the IMS network B to which the second terminal B belongs through the IMS network A.
  • the Presence request of the service capability information of the terminal B, the presence request is as follows:
  • Step 5 to Step 6 The IMS network B finds that the network does not have the corresponding Presence service support (that is, the operator to which the second terminal belongs does not support the Presence capability discovery mechanism), so the IMS network B sends the non-2XX to the Presence server A through the IMS network A.
  • the response (which may be a 4XX, 5XX, or 6XX response, the specific response number may be determined according to the protocol signed by the operator of the first terminal A and the operator of the second terminal B, for example, may indicate that the operator of the second terminal belongs to Supporting the 488 response of Presence), indicating that there is no corresponding Presence service support in IMS network B;
  • Step 7 to Step 8 Because there is no corresponding Presence service support in the IMS network B, the Presence Server A determines that the IWF needs to be interoperable, and the Presence Server A sends the Presence request to the IWF through the IMS network A.
  • Step 9 After receiving the presence request, the IWF may determine, according to the identifier of the second terminal in the presence request, that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism (specifically, the IWF may determine according to the identifier of the second terminal B in the presence request)
  • the operator of the second terminal B further determines, according to the information about the service capability discovery mechanism supported by the operator that is sent by the stored or Presence server A, that the operator of the second terminal B supports the SIP OPTIONS capability discovery mechanism, and then sends a message.
  • the converted SIP OPTIONS request is as follows (omit the message body):
  • OPTIONS indicates that the request message is a service capability discovery request, and FROM and TO respectively represent the requester (from the header i or the Presence request) and the requested party (the TO header field from the Presence request).
  • IMS network A forwards the SIP OPTIONS request to the IMS network B;
  • Step 11 IMS network B forwards the SIP OPTIONS request to the second terminal B;
  • Step 12 to Step 14 After receiving the SIP OPTIONS request, the second terminal B generates a corresponding SIP OPTIONS request.
  • SIP OPTIONS responds and sends a SIP OPTIONS response to the IWF over IMS network B and IMS network A.
  • the SIP OPTIONS response is as follows:
  • the OPTIONS response starts with SIP/2.0 plus three digits. FROM and TO represent the subscriber (first terminal A) and the subscriber (second terminal B) respectively.
  • the Feature Tag in the CONTACT header field indicates the first The service capabilities supported by Terminal B (refer to Table 2).
  • Step 15 to Step 16 The IWF sends a 202 Accept response to the Presence Server A through the IMS network A, indicating that the subscription is accepted;
  • Step 17 to Step 18 Presence Server A sends a 202 Accept response to the first terminal A through the IMS network A, indicating that the subscription is accepted;
  • Step 19 to Step 20 After receiving the SIP OPTIONS response including the service capability information of the second terminal B, the IWF performs signaling conversion to convert the SIP OPTIONS response into a NOTIFY message, and sends the IMS network A to the Presence server A. Sending the NOTIFY message; in the signaling conversion process, according to the correspondence between the Tag (feature value) and the Service Tuple (the service tuple, including the service ID and the Version) in the table (2), the SIP OPTIONS response is The Feature Tag is converted into the corresponding Service Tuple information, and the Service Tuple information is placed in the corresponding part of the Body of the NOTIFY message.
  • the relationship between their Feature Tag and Service Tuple is not here. Another example.
  • the NOTIFY message is represented by NOTIFY, and FROM and TO respectively represent the subscriber (second terminal B) and the subscriber (first terminal A) described above, that is, the notification is notified by the subscriber to the subscriber.
  • the NOTIFY message carries the service capability information through its message body.
  • the NOTIFY message is as follows:
  • Step 21 to Step 22 Presence Server A sends the NOTIFY message to the first terminal A through the IMS network A after receiving the NOTIFY message;
  • Step 23 to Step 24 After receiving the NOTIFY message, the first terminal A returns a 200 ok response to the Presence Server A through the IMS network A, and confirms that the NOTIFY message is received.
  • the Presence server is separately configured from the IWF, that is, the IWF is a physical entity, and the two perform signaling interaction through the IMS network A.
  • steps 15 to 18 and step 9 have no temporal sequence.
  • step 3 to step 6 may also be replaced by the following manner: Presence server A determines, by using the second type in the embodiment shown in FIG. 1 , that the operator of the second terminal supports SIP OPTIONS capability discovery. The way the mechanism is determined.
  • the IWF is integral with the Presence Server and communicates with each other.
  • FIG. 4 is a schematic diagram of a communication flow in which a Presence user discovers a non-Presence user service capability according to an embodiment of the present invention. (To facilitate the description of the communication process, the IWF and the Presence Server A are still separately expressed in the figure. But in fact, the two constitute a whole).
  • the Presence Server A stores service capability information corresponding to different operators (including the operator to which the second terminal B belongs). specific:
  • Step a1 to step a2 The first terminal A sends a service capability subscription request for subscribing to the service capability information of the second terminal B to the presence server A through its IMS network A, and the Exprires value in the service capability subscription request is greater than 0, for example, the Exprires value is 3600 (the format of the service capability subscription request, the Presence request, the SIP OPTIONS request, the SIP OPTIONS response, and the NOTIFY message in this embodiment, and the conversion between the signaling, please refer to FIG. 1 and FIG. Corresponding description in the embodiment, no further details here;
  • Step a3 The Presence Server A determines that the subscription is a periodic subscription according to the value of the Exprires in the service capability subscription request, and then stores the periodic subscription relationship in which the first terminal A periodically subscribes to the service capability information of the second terminal B; Presence Server A Determining the operator to which the first terminal A and the second terminal B belong according to the identifier of the first terminal A in the From header field and the identifier of the second terminal B in the To header field in the service capability subscription request, and determining the second terminal B and the second terminal A terminal A belongs to different operators, and then determines that the operator of the second terminal B supports the SIP OPTIONS capability discovery mechanism according to the service capability mechanism supported by the different operators stored in the Presence server; the Presence server A according to the carrier in the periodic subscription relationship Or sending a presence request to the IWF at a time interval set by the user (specifically, refer to the corresponding description in the embodiment shown in FIG. 1);
  • Step b to step d After receiving the presence request, the IWF converts it into a SIP OPTIONS request (or the IWF receives the presence request and determines, according to the identifier of the second terminal in the Presence request, that the operator of the second terminal supports the SIP OPTIONS capability discovery mechanism. Afterwards, the Presence request is converted into a SIP OPTIONS request;), and the SIP OPTIONS request is sent to the second terminal B through the IMS network A and the IMS network B;
  • Step e to step g After receiving the SIP OPTIONS request, the second terminal B sends the SIP OPTIONS response to the IWF through the IMS network B and the IMS network A.
  • the SIP OPTIONS response includes the service capability information of the second terminal B.
  • Step h The IWF sends a response indicating that the subscription is accepted to the Presence Server A (202 Accept response);
  • Step i The IWF converts the SIP OPTIONS response into a NOTIFY message, and sends the NOTIFY message to the Presence server A;
  • Step j to step K Presence server A sends a NOTIFY message to the first terminal A through the IMS network A;
  • Step 1 to Step m The first terminal A sends a response to the Presence Server A through the IMS network A to confirm receipt of the NOTIFY message.
  • step h and step b have no prioritized sequence.
  • the second terminal B in the periodic subscription, during the subscription period (determined according to the Expires value in the Presence subscription request), the second terminal B may include the latest when the service capability changes.
  • the SIP OPTIONS response of the service capability information is sent to the IWF to be converted by the IWF into a NOTIFY message and sent to the Presence Server A, without sending a corresponding response only when receiving the SIP OPTIONS request; Presence Server A receives the NOTIFY message. If it is determined that the service capability of the second terminal B has not changed, the NOTIFY message may not be sent to the first terminal A, and the NOTIFY message may be sent to the first terminal A only when the service capability of the second terminal B changes.
  • Presence Server and the IWF can be used as physical entities alone or in combination.
  • the IMS network B to which the second terminal B belongs receives the SIP OPTIONS request and returns a SIP OPTIONS response indicating that the second terminal B is offline (for example: 480 response, indicating that the message is temporarily unreachable).
  • SIP OPTIONS response indicating that the second terminal B is offline (for example: 480 response, indicating that the message is temporarily unreachable).
  • step 11 and step 12 are not performed in the communication flow; and, for example, in the embodiment shown in FIG. 4, if the second terminal B is not online Then, step d to step e are not performed in the communication process.
  • the SIP OPTIONS response and the NOTIFY message converted by the response may also be changed.
  • SIP OPTIONS may be:
  • the IWF After receiving the response, the IWF converts the response to a SIP NOTIFY message by blanking the contents of the ⁇ pr:provide-services> tag in the message body to indicate that the other party's service capability is not obtained.
  • the NOTIFY message can be:
  • the SIP OPTIONS response that does not contain the service capability information may be another 4XX response indicating that the request failed, in addition to the 480 response indicating that the message is temporarily unreachable, indicating that the server is in error.
  • the 5XX response, the 6XX response indicating the system error, etc., the corresponding NOTIFY message also does not include the service capability information of the second terminal.
  • FIG. 5 is a schematic structural diagram of a Presence server according to an embodiment of the present invention.
  • the Presence server 50 includes:
  • the first receiving module 500 is configured to receive a service capability subscription request that is sent by the first terminal to subscribe to the service capability information of the second terminal, where the service capability subscription request carries the identifier of the second terminal, and is configured to receive the NOTIFY message sent by the IWF.
  • the NOTIFY message is converted by the IWF to the SIP OPTIONS response sent by the IMS network to which the second terminal belongs to the IWF after receiving the SIP OPTIONS request, and the NOTIFY message and the SIP OPTIONS response include the service capability information of the second terminal;
  • the first determining module 502 is configured to determine, according to the identifier of the second terminal, the operator support of the second terminal SIP OPTIONS capability discovery mechanism;
  • the first sending module 504 is configured to send a Presence request for subscribing to the service capability information of the second terminal to the IWF, so that the IWF converts the Presence request into a SIP OPTIONS request and sends a SIP OPTIONS request to the IMS network to which the second terminal belongs, the Presence request Carry the identifier of the second terminal.
  • the first determining module 502 can have multiple implementation manners.
  • the first determining module 502 can include:
  • a second determining module 600 configured to determine, according to the identifier of the first terminal and the identifier of the second terminal in the service capability subscription request, that the second terminal and the first terminal belong to different operators; a storage module 602, configured to store a service capability discovery mechanism supported by different operators; and a third determining module 604, configured to determine the second according to a service capability discovery mechanism supported by different operators stored by the first storage module 602
  • the operator of the terminal supports the SIP OPTIONS capability discovery mechanism.
  • the second determining module 600 or the third determining module 604 may determine, according to the identifier of the second terminal, which carrier the second terminal belongs to, and then according to the first storage module 600.
  • the stored information determines that the operator supports the business capability discovery mechanism.
  • the first determining module 502 may include:
  • the second sending module 610 is configured to send a presence request to the second terminal according to the identifier of the second terminal and by using the IMS network. For example, after the Presence server receives the service capability subscription request, the Presence request may be sent to the second terminal by using the IMS network. , or trigger the sending of a presence request through a timer.
  • the second receiving module 612 is configured to receive a response indicating that the operator to which the second terminal belongs does not support Presence;
  • the fourth determining module 614 is configured to: when the second receiving module 612 receives the response indicating that the operator to which the second terminal belongs does not support the Presence, determine that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism.
  • the first determining module 502 may include the foregoing second sending module 610, second receiving module 612, fourth determining module 614, and:
  • the fifth determining module 616 is configured to determine, according to the identifier of the first terminal and the identifier of the second terminal in the service capability subscription request, that the second terminal and the first terminal belong to different operators;
  • the second storage module 618 is configured to store a service capability discovery mechanism supported by different operators.
  • the sixth determination module 620 is configured to support different operators according to the second storage module 618.
  • the service capability discovery mechanism determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism; if not, the second sending module 610 is triggered to send a presence request to the second terminal through the IMS network.
  • the Presence server and the IWF each constitute a physical entity, and the two can perform various signaling interactions through the IMS network to which the first terminal belongs.
  • the various signaling includes: a Presence request, The NOTIFY message, and the response sent by the IWF to the Presence Server indicating acceptance of the subscription (eg, 202 response), the response may be received by the first receiving module of the Presence Server.
  • the Presence server 50 and the IWF 70 are integrated, that is, the Presence server 50 includes an IWF 70, and the IWF 70 includes:
  • the third receiving module 700 is configured to directly communicate with the first sending module 504 to receive the Presence request sent by the first sending module 504, and to receive a SIP OPTIONS response, where the SIP OPTIONS response may be generated by the second terminal;
  • the conversion module 702 is configured to convert the Presence request into a SIP OPTIONS request, and to convert the SIP OPTIONS response into a NOTIFY message;
  • the third sending module 704 is configured to send a SIP OPTIONS request to the IMS network to which the second terminal belongs, and to directly communicate with the first receiving module 500 to send the NOTIFY message to the first receiving module 500.
  • the conversion module 702 can include: a first conversion module and a second conversion module.
  • the first conversion module is configured to convert the SIP SUBSCRIBE command used in the Presence request into a SIP OPTIONS command;
  • the second conversion module is configured to convert the feature value indicating the service capability information in the SIP OPTIONS response into the corresponding service tuple information and fill the service tuple information into the NOTIFY in the case that the SIP OPTIONS response includes the second terminal service capability information.
  • the content in the tag indicating the service capability information in the message body of the NOTIFY message is blanked.
  • the third sending module 704 of the IWF can directly communicate with the first receiving module 500 to send a response indicating acceptance of the subscription to the first receiving module 500.
  • FIG. 8 is a schematic structural diagram of a presence server according to an embodiment of the present invention.
  • the Presence server 80 includes: a first receiving module 800, a first determining module 802, and a first sending module. Block 804, and:
  • the third storage module 806 is configured to store a subscription relationship in which the first terminal periodically subscribes to the second terminal service capability information (for example, when the service capability subscription request received by the first receiving module 800 indicates a periodic subscription), the subscription The relationship includes a time interval set by an operator or a user to which the first terminal belongs;
  • the timing triggering module 808 is configured to trigger the Presence server to send a Presence request according to a time interval set by an operator or a user to which the first terminal belongs.
  • the first receiving module 800 the first determining module 802, and the first sending module 804
  • the Presence server and the IWF each constitute a physical entity, and the two can perform various signaling interactions through the IMS network to which the first terminal belongs.
  • the various signaling includes: a Presence request, The NOTIFY message, and the response sent by the IWF to the Presence Server indicating acceptance of the subscription (eg, 202 response), the response may be received by the first receiving module 800 of the Presence Server.
  • the Presence server 80 and the IWF 90 are integrated, that is, the Presence server 80 includes an IWF 90, and the IWF 90 includes: a third receiving module 900, a conversion module 902, and a Three transmitting module 904.
  • the third receiving module 900, the converting module 902, and the third sending module 904 refer to the description of the third receiving module 700, the converting module 702, and the third sending module 704 in the embodiment shown in FIG. No longer detailed.
  • FIG. 10 is a schematic structural diagram of a Presence server according to an embodiment of the present invention.
  • the Presence server 100 includes: a transceiver 101, a memory 102, and a processor 103.
  • the transceiver 101 is configured to communicate with an external device, receive a service capability subscription request that is sent by the first terminal and subscribe to the service capability information of the second terminal, and send a service to the IWF to subscribe to the second terminal.
  • the presence request of the capability information, and the reception of the NOTIFY message and the transmission of the service capability information of the second terminal to the first terminal, and the reception and transmission of other messages are not limited herein.
  • the memory 102 is coupled to a processor 103 for storing various programs and applications, and is called by the processor 103 to execute the programs and applications to perform the corresponding functions.
  • the processor 103 can be used to determine that the operator of the second terminal supports the SIP OPTIONS capability discovery mechanism. For the specific determination manner, refer to the corresponding description in the embodiment shown in FIG. 1.
  • processor 103 in this implementation manner may also be used to execute the method embodiment shown in FIG.
  • the steps of the description and the steps performed by the server in the embodiment shown in FIG. 3 and FIG. 4 are not described in detail herein.
  • the transceiver 101 is configured to communicate with an external device, and receive a service capability subscription request that is sent by the first terminal and subscribe to the service capability information of the second terminal, and send the service capability subscription request to the IMS network to which the second terminal belongs.
  • the memory 102 is coupled to a processor 103 for storing various programs and applications, and is called by the processor 103 to execute the programs and applications to perform the corresponding functions.
  • the processor 103 may be configured to determine, according to the identifier of the second terminal, that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism (refer to the corresponding description in the embodiment shown in FIG. 1 for the specific determination manner); The conversion of the Presence request and the SIP OPTIONS request and the conversion of the SIP OPTIONS response and the NOTIFY message (refer to the corresponding description in the embodiment shown in FIG. 3 for the specific signaling conversion manner) and the like.
  • the IWF and the Presence server are integrated, and the processor 103 calls the program and the application in the memory 102 to implement message passing between the two, including: a Presence request, a NOTIFY message, a 202Accept response, and the like.
  • processor 103 in this implementation manner may also be used to perform the steps described in the method embodiments shown in FIG. 1 and FIG. 2 and the steps performed by the presentation server and the IWF in the embodiments shown in FIG. 3 and FIG.
  • the embodiments of the present invention are not described in detail herein.
  • FIG. 11 is a schematic structural diagram of an IWF according to an embodiment of the present invention.
  • the IWF 110 includes:
  • the receiving module 1100 is configured to receive a Presence request sent by the Presence server of the first terminal to subscribe to the service capability information of the second terminal, where the Presence request carries the identifier of the second terminal, and is configured to receive the IMS network to which the second terminal belongs to receive a SIP OPTIONS response sent to the IWF after the SIP OPTIONS request, the SIP OPTIONS response containing the service capability information of the second terminal; the conversion module 1102, configured to convert the Presence request into a SIP OPTIONS request, and convert the SIP OPTIONS response to include The NOTIFY message of the second terminal service capability information;
  • the sending module 1104 is configured to send, according to the identifier of the second terminal, a SIP OPTIONS request to the IMS network to which the second terminal belongs, and send a NOTIFY message to the presence server.
  • the determining module 1106 is configured to, according to the Presence, after the receiving module 1100 receives the presence request.
  • the identifier of the second terminal in the request determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism, thereby ensuring the conversion module 1102 performs the conversion of the presence request and the validity of the sending module 1104 to perform the SIP OPTIONS request.
  • the determining module 1106 is a selectable module, that is, the IWF 110 may not have the determining module 1106 without affecting the normal implementation of the embodiment of the present invention.
  • the receiving module 1100 can directly communicate with the Presence server to receive the Presence request sent by the Presence server.
  • the sending module 1104 can directly communicate with the Presence server to send a NOTIFY message to the Presence server. At this time, the sending module 1104 can also directly communicate with the Presence server to send. Represents a response to accept a subscription (for example: 202 response).
  • the receiving module 1100 may receive the presence request sent by the Presence server through the IMS network to which the first terminal belongs; the sending module 1104 may send a NOTIFY message to the Presence server through the IMS network to which the first terminal belongs, and the sending module 1104 may also pass the first The IMS network to which the terminal belongs sends a response to the Presence Server indicating acceptance of the subscription.
  • the conversion module 1102 can include: a first conversion module and a second conversion module.
  • the first conversion module is configured to convert the SIP SUBSCRIBE command used in the Presence request into a SIP OPTIONS command;
  • the second conversion module is configured to convert, in the case that the SIP OPTIONS response includes the second terminal service capability information, a feature value indicating the service capability information in the SIP OPTIONS response into a corresponding service tuple information and the service
  • the tuple information is filled in the message body of the NOTIFY message; in the case that the SIP OPTIONS response does not include the second terminal service capability information, the content in the label indicating the service capability information in the message body of the NOTIFY message is Blanking.
  • FIG. 12 is a schematic structural diagram of an IWF according to an embodiment of the present invention.
  • the IWF 120 includes: a transceiver 121, a memory 122, and a processor 123.
  • the transceiver 121 can be configured to communicate with the outside, for example, receiving a presence request sent by the Presence server to subscribe to the second terminal service capability information, sending a SIP OPTIONS request to the second terminal, and receiving the SIP OPTIONS response and sending the response to the Presence server.
  • the NOTIFY message, and the receiving and sending of other messages, are not limited herein.
  • the memory 122 is coupled to a processor 122 for storing various programs and applications, and is called by the processor 123 to execute the programs and applications to implement the corresponding functions.
  • the processor 123 is configured to convert the Presence request received by the transceiver 121 into a SIP OPTIONS request, and convert the SIP OPTIONS response received by the transceiver 121 into a corresponding NOTIFY message.
  • the processor 123 is configured to convert the Presence request received by the transceiver 121 into a SIP OPTIONS request, and convert the SIP OPTIONS response received by the transceiver 121 into a corresponding NOTIFY message.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

Disclosed are a method and corresponding device for a presence server to find non-presence user service capability.The method comprises: a presence server receiving a service capability subscription request sent by a first terminal and carrying an identifier of a second terminal; according to the identifier of the second terminal, determining an SIP OPTIONS capability discovery mechanism supported by an operator to which the second terminal is subordinate; sending to an inter-working function module (IWF) a presence request for subscribing the service capability information about the second terminal so that the IWF converts the presence request into an SIP OPTIONS request, the presence request carrying the identifier of the second terminal; and receiving a NOTIFY message sent by the IWF, the NOTIFY message being converted by the IWF from an SIP OPTIONS response sent to the IWF by an IMS network to which the second terminal is subordinate after the IMS network receives the SIP OPTIONS request sent by the IWF, the NOTIFY message and the SIP OPTIONS response containing the service capability information about the second terminal. Using the present invention, a presence server can obtain service capability information about a non-presence user, thereby avoiding problems such as the inability to obtain service capability and failure of service session invitation due to the utilisation of different service capability mechanisms.

Description

呈现服务器发现非呈现用户业务能力的方法和相应装置 技术领域  Method and corresponding device for presenting server to discover non-rendering user service capability
本发明涉及无线通信领域, 尤其涉及一种呈现(Presence )服务器发现非呈 现用户业务能力的方法和相应装置。 背景技术  The present invention relates to the field of wireless communications, and in particular, to a method and corresponding apparatus for a presence server to discover non-presentation user service capabilities. Background technique
富通信套件 (Rich Communication Suite, RCS)是一种以地址簿为基础, 提 供包括即时消息、 文件传输、 视频通话、 视频共享等多种功能的业务集合。 RCS 提供了能力发现机制, 可以发现对方当前所支持的业务类型 (如当前是否可以 进行视频通话, 是否可以进行文件传输等)。 只有在知道对方支持某种业务能力 的情况下, 才可以发起业务邀请以进行通话, 从而减少因为对方不支持某种业 务能力而引起的邀请失败。  Rich Communication Suite (RCS) is a collection of services based on address book that provides a variety of functions including instant messaging, file transfer, video calling, and video sharing. RCS provides a capability discovery mechanism to discover the type of service that the other party currently supports (such as whether a video call is currently available, whether file transfer is possible, etc.). Only when you know that the other party supports a certain business capability, you can initiate a business invitation to make a call, thereby reducing the invitation failure caused by the other party's failure to support certain business capabilities.
基于 Presence的业务能力发现机制的原理是: 被请求方终端将自身当前可 用的业务能力信息发布到 Presence服务器; 请求方终端向 Presence服务器订阅 被请求方终端的当前可用业务能力信息; Presence服务器向请求方终端下发被请 求方终端可用的业务能力信息。 如果被请求方终端的业务能力信息发生改变, 被请求终端将通知 Presence 良务器进行更新; Presence 良务器将更新后的被请求 方终端的业务能力信息通过会话初始协议(SIP, Session Initiation Protocol ) 中 的 NOTIFY信令发送给请求方终端。  The principle of the Presence-based service capability discovery mechanism is: the requested party terminal publishes its currently available service capability information to the Presence server; the requestor terminal subscribes to the Presence server for the currently available service capability information of the requested party terminal; the Presence server requests the request The party terminal delivers the service capability information available to the requested party terminal. If the service capability information of the requested party terminal changes, the requested terminal will notify the presence server to update; the Presence server will pass the updated service capability information of the requested party terminal through the session initiation protocol (SIP, Session Initiation Protocol). The NOTIFY signaling in ) is sent to the requesting terminal.
基于 SIP OPTIONS的业务能力发现机制的原理是: 请求方终端向被请求方 终端发送 SIP OPTIONS请求, 被请求方终端接收到该请求后返回相应响应, 该 响应中包含被请求方终端所支持的业务能力信息。  The principle of the SIP OPTIONS-based service capability discovery mechanism is: The requesting terminal sends a SIP OPTIONS request to the requested party terminal, and the requested party terminal receives the request and returns a corresponding response, where the response includes the service supported by the requested party terminal. Capability information.
在现有的系统中, 两个运营商可能会采用不同的业务能力发现机制。 例如: 运营商 A采用 SIP OPTIONS机制,运营商 B采用 Presence机制。 由于运营商 A 没有相应的支持业务能力发现的 Presence服务支持, 所以 Presence服务器无法 获取归属于运营商 A的终端的业务能力信息。 发明内容  In existing systems, two operators may adopt different service capability discovery mechanisms. For example: Carrier A uses the SIP OPTIONS mechanism and Carrier B uses the Presence mechanism. Since the carrier A does not have the corresponding Presence service support for the service capability discovery, the Presence server cannot obtain the service capability information of the terminal belonging to the operator A. Summary of the invention
本发明实施例所要解决的技术问题在于, 提供一种呈现 Presence服务器发 现非呈现用户业务能力的方法和相应装置。 可以使呈现服务器发现非呈现用户 的业务能力。 The technical problem to be solved by the embodiment of the present invention is to provide a presentation of a presence server. It is not a method and corresponding device for presenting the user's business capabilities. The presence server can be made to discover the business capabilities of non-rendering users.
为了解决上述技术问题, 根据本发明实施例的第一方面, 本发明实施例提 供了一种呈现 Presence服务器发现非呈现用户业务能力的方法, 包括: 呈现服 务器接收第一终端发送的订阅第二终端的业务能力信息的业务能力订阅请求, 所述业务能力订阅请求携带所述第二终端的标识; 根据所述第二终端的标识确 定所述第二终端所属运营商支持会话初始协议选择 SIP OPTIONS 能力发现机 制; 发送订阅所述第二终端的业务能力信息的 Presence请求至互通功能模块 ( Interworking Function, IWF ), 以便所述 IWF将所述 Presence请求转化为 SIP OPTIONS 请求并向所述第二终端所属 IP多媒体子系统 ( IP Multimedia Subsystem, IMS ) 网络发送所述 SIP OPTIONS请求, 所述 Presence请求携带所 述第二终端的标识; 接收所述 IWF发送的通知 NOTIFY消息, 所述 NOTIFY消 息由所述 IWF将所述第二终端所属 IMS网络在接收到所述 SIP OPTIONS请求 后发送至所述 IWF的 SIP OPTIONS响应转化而成, 所述 NOTIFY消息和所述 SIP OPTIONS响应包含所述第二终端的业务能力信息。  In order to solve the above technical problem, according to a first aspect of the embodiments of the present invention, an embodiment of the present invention provides a method for a Presence Server to discover a non-presentation user service capability, including: a presence server receiving a subscription second terminal sent by a first terminal The service capability subscription request of the service capability information, the service capability subscription request carrying the identifier of the second terminal; determining, according to the identifier of the second terminal, the operator of the second terminal to support the session initiation protocol, selecting the SIP OPTIONS capability a discovery mechanism: sending a presence request to the second terminal's service capability information to an Interworking Function (IFF), so that the IWF converts the presence request into a SIP OPTIONS request and belongs to the second terminal The IP Multimedia Subsystem (IMS) network sends the SIP OPTIONS request, the Presence request carries the identifier of the second terminal, receives a NOTIFY message sent by the IWF, and the NOTIFY message is sent by the IWF. The IMS to which the second terminal belongs In the transmission network after receiving the SIP OPTIONS request to the IWF in response to the SIP OPTIONS and transformed into the NOTIFY SIP OPTIONS message and said response comprising service capability information of the second terminal.
作为本发明实施例的第一方面的第一可能, 所述根据所述第二终端的标识 确定所述第二终端所属运营商支持会话初始协议选择 SIP OPTIONS能力发现机 制包括: 所述呈现服务器根据所述业务能力订阅请求中的所述第一终端的标识 和所述第二终端的标识确定所述第二终端与所述第一终端属于不同运营商; 所 述呈现服务器根据其存储的不同运营商对应支持的业务能力发现机制确定所述 第二终端所属运营商支持 SIP OPTIONS能力发现机制; 如果所述呈现服务器根 据其存储的不同运营商对应支持的业务能力发现机制无法确定所述第二终端所 属运营商支持 SIP OPTIONS能力发现机制, 则所述呈现服务器根据所述第二终 端的标识以及通过 IMS网络向所述第二终端发送所述 Presence请求, 接收到表 示所述第二终端所属运营商不支持 Presence的响应, 则确定所述第二终端所属 运营商支持 SIP OPTIONS能力发现机制。  As a first possibility of the first aspect of the embodiment of the present invention, the determining, by the identifier of the second terminal, that the operator of the second terminal belongs to the session initiation protocol, selects a SIP OPTIONS capability discovery mechanism, including: the presence server is configured according to The identifier of the first terminal and the identifier of the second terminal in the service capability subscription request determine that the second terminal and the first terminal belong to different operators; the presence server operates according to different storages thereof The service capability discovery mechanism supported by the quotient determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism; if the presence server fails to determine the second terminal according to the service capability discovery mechanism supported by different operators The operator supports the SIP OPTIONS capability discovery mechanism, and the presence server sends the presence request to the second terminal according to the identifier of the second terminal and the IMS network, and the operator that the second terminal belongs to is received. Determining the response of the presence, determining the second terminal It belongs to the operator the ability to support SIP OPTIONS discovery mechanism.
作为本发明实施例的第一方面的第二可能, 所述根据所述第二终端的标识 确定所述第二终端所属运营商支持会话初始协议选择 SIP OPTIONS能力发现机 制包括: 所述呈现服务器根据所述第二终端的标识以及通过 IMS网络向所述第 二终端发送所述 Presence请求, 接收到表示所述第二终端所属运营商不支持 Presence的响应, 则确定所述第二终端所属运营商支持 SIP OPTIONS能力发现 机制。 As a second possibility of the first aspect of the embodiment of the present invention, the determining, according to the identifier of the second terminal, that the operator of the second terminal belongs to the session initiation protocol, selects a SIP OPTIONS capability discovery mechanism, including: the presence server is configured according to The identifier of the second terminal and the sending of the presence request to the second terminal by using an IMS network, and receiving an indication that the operator of the second terminal does not support The response of the Presence determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism.
结合本发明实施例的第一方面或第一可能或第二可能的第三可能, 所述发 送订阅所述第二终端的业务能力信息的 Presence请求包括: 当所述业务能力订 阅请求为周期性订阅时, 所述呈现服务器存储所述第一终端周期性订阅所述第 二终端业务能力信息的订阅关系, 所述订阅关系包括所述第一终端所属运营商 或用户设置的时间间隔; 根据所述第一终端所属运营商或用户设置的时间间隔, 发送所述 Presence请求。  In combination with the first aspect or the first possible or the second possible third possibility of the embodiment of the present invention, the sending a Presence request for subscribing to the service capability information of the second terminal includes: when the service capability subscription request is periodic At the time of the subscription, the presence server stores a subscription relationship in which the first terminal periodically subscribes to the second terminal service capability information, where the subscription relationship includes a time interval set by the operator or the user to which the first terminal belongs; The time interval set by the operator or the user to which the first terminal belongs is sent, and the presence request is sent.
结合本发明实施例的第一方面或第一可能或第二可能或第三可能的第四可 能, 所述发送订阅所述第二终端的业务能力信息的 Presence请求至互通功能模 块 IWF包括:所述呈现服务器直接与所述 IWF通信以将所述 Presence请求发送 至所述 IWF; 所述接收所述 IWF发送的 NOTIFY消息包括: 所述呈现服务器直 接与所述 IWF通信以接收所述 IWF发送的所述 NOTIFY消息。  In combination with the first aspect of the embodiment of the present invention or the first possible or the second possible or the third possible fourth possible, the sending a Presence request to the interworking function module IWF that subscribes to the service capability information of the second terminal includes: The presence server directly communicates with the IWF to send the presence request to the IWF; the receiving the NOTIFY message sent by the IWF includes: the presence server directly communicating with the IWF to receive the IWF sending The NOTIFY message.
结合本发明实施例的第一方面或第一可能或第二可能或第三可能的第五可 能, 所述发送订阅所述第二终端的业务能力信息的 Presence请求至互通功能模 块 IWF包括: 所述呈现服务器通过所述第一终端所属 IMS网络将所述 Presence 请求发送至所述 IWF; 所述接收所述 IWF发送的 NOTIFY消息包括: 所述呈现 服务器通过所述第一终端所属 IMS网络接收所述 IWF发送的所述 NOTIFY消 根据本发明实施例的第二方面, 本发明实施例提供了一种 Presence服务器 发现非 Presence用户业务能力的方法, 包括: 互通功能模块 IWF接收呈现服务 器发送的订阅所述第二终端业务能力信息的 Presence请求, 所述 Presence请求 携带所述第二终端的标识; 将所述 Presence请求转化为 SIP OPTIONS请求; 根 据所述第二终端的标识向所述第二终端所属 IMS网络发送所述 SIP OPTIONS请 求;接收所述第二终端所属 IMS网络在接收到所述 SIP OPTIONS请求后发送至 所述 IWF的 SIP OPTIONS响应并将所述 SIP OPTIONS响应转化为 NOTIFY消 息, 所述 SIP OPTIONS响应和所述 NOTIFY消息包含所述第二终端的业务能力 信息; 向所述呈现服务器发送所述 NOTIFY消息。  In combination with the first aspect or the first possible or the second possible or the third possible fifth possibility of the embodiment of the present invention, the sending a Presence request to the interworking function module IWF that subscribes to the service capability information of the second terminal includes: The presence server sends the presence request to the IWF through the IMS network to which the first terminal belongs; the receiving the NOTIFY message sent by the IWF includes: the presence server receives the location through the IMS network to which the first terminal belongs The second aspect of the embodiment of the present invention is provided by the IWF. The embodiment of the present invention provides a method for the Presence server to discover the service capability of the non-Presence user, including: the interworking function module IWF receives the subscription station sent by the presence server. a presence request of the second terminal service capability information, where the presence request carries the identifier of the second terminal; the Presence request is converted into a SIP OPTIONS request; and the second terminal belongs to the second terminal according to the identifier of the second terminal Sending, by the IMS network, the SIP OPTIONS request; receiving the second terminal belongs to And the SIP OPTIONS response sent by the IMS network to the IWF after receiving the SIP OPTIONS request, and converting the SIP OPTIONS response into a NOTIFY message, where the SIP OPTIONS response and the NOTIFY message include the service of the second terminal Capability information; the NOTIFY message is sent to the presence server.
作为本发明实施例的第二方面的第一可能, 所述方法还包括: 在所述 IWF 接收所述呈现服务器发送的订阅所述第二终端业务能力信息的 Presence请求之 后, 并且在将所述 Presence请求转化为 SIP OPTIONS请求之前, 所述 IWF根据 所述第二终端的标识确定所述第二终端所属运营商支持 SIP OPTIONS能力发现 机制。 As a first possibility of the second aspect of the embodiment of the present invention, the method further includes: receiving, by the IWF, a presence request sent by the presence server to subscribe to the second terminal service capability information. And determining, by the IWF, that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism, according to the identifier of the second terminal, before the request is converted to the SIP OPTIONS request.
结合本发明实施例的第二方面或第一可能的第二可能, 所述 IWF接收呈现 服务器发送的订阅所述第二终端的业务能力信息的 Presence请求包括:所述 IWF 直接与所述呈现服务器通信以接收所述 Presence请求; 所述向所述呈现服务器 发送所述 NOTIFY消息包括: 所述 IWF直接与所述呈现服务器通信以向所述呈 现服务器发送所述 NOTIFY消息。  With reference to the second aspect of the embodiment of the present invention or the first possible second possibility, the IWF receiving the presence request sent by the presence server and subscribing to the service capability information of the second terminal includes: the IWF directly interacting with the presence server Communicating to receive the Presence request; the transmitting the NOTIFY message to the presence server comprises: the IWF directly communicating with the presence server to send the NOTIFY message to the presence server.
结合本发明实施例的第二方面或第一可能的第三可能, 所述 IWF接收呈现 服务器发送的订阅所述第二终端的业务能力信息的 Presence请求包括:所述 IWF 通过所述第一终端所属 IMS网络接收所述 Presence请求; 所述向所述呈现服务 器发送所述 NOTIFY消息包括:所述 IWF通过所述第一终端所属 IMS网络将所 述 NOTIFY消息发送至所述呈现服务器。  With reference to the second aspect or the first possible third possibility of the embodiment of the present invention, the IWF receiving the presence request sent by the presence server to subscribe to the service capability information of the second terminal includes: the IWF passing the first terminal The IMS network receives the Presence request; the sending the NOTIFY message to the presence server includes: sending, by the IWF, the NOTIFY message to the presence server by using an IMS network to which the first terminal belongs.
根据本发明实施例的第三方面, 本发明实施例还提供了一种呈现 Presence 服务器, 包括: 第一接收模块: 用于接收第一终端发送的订阅第二终端的业务 能力信息的业务能力订阅请求, 所述业务能力订阅请求携带所述第二终端的标 识; 以及用于接收互通功能模块 IWF发送的 NOTIFY消息, 所述 NOTIFY消息 由所述 IWF 将所述第二终端所属 IP多媒体子系统 IMS 网络在接收到 SIP OPTIONS请求后发送至所述 IWF的 SIP OPTIONS响应转化而成,所述 NOTIFY 消息和所述 SIP OPTIONS响应包含所述第二终端的业务能力信息; 第一确定模 块, 用于根据所述第二终端的标识确定所述第二终端所属运营商支持 SIP OPTIONS能力发现机制; 第一发送模块, 用于发送订阅所述第二终端的业务能 力信息的 Presence请求至所述 IWF, 以便所述 IWF将所述 Presence请求转化为 所述 SIP OPTIONS请求并向所述第二终端所属 IMS网络发送所述 SIP OPTIONS 请求, 所述 Presence请求携带所述第二终端的标识。  According to a third aspect of the present invention, an embodiment of the present invention further provides a presentation of a presence server, including: a first receiving module, configured to receive a service capability subscription that is sent by a first terminal and subscribes to service capability information of a second terminal. Requesting, the service capability subscription request carries the identifier of the second terminal; and receiving a NOTIFY message sent by the interworking function module IWF, where the NOTIFY message is used by the IWF to belong to the IP multimedia subsystem IMS to which the second terminal belongs The network converts the SIP OPTIONS response sent to the IWF after receiving the SIP OPTIONS request, the NOTIFY message and the SIP OPTIONS response include the service capability information of the second terminal, and the first determining module is configured to The identifier of the second terminal determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism, and the first sending module is configured to send a presence request for subscribing to the service capability information of the second terminal to the IWF, so that The IWF converts the presence request into the SIP OPTIONS request and to the first IMS network sends the terminal belongs SIP OPTIONS request, the request carries the identifier Presence of the second terminal.
作为本发明实施例的第三方面的第一可能, 所述第一确定模块包括: 第二 确定模块, 用于根据所述业务能力订阅请求中的所述第一终端的标识和所述第 二终端的标识确定所述第二终端与所述第一终端属于不同运营商; 第一存储模 块, 用于存储不同运营商对应支持的业务能力发现机制; 第三确定模块, 用于 根据所述第一存储模块存储的不同运营商对应支持的业务能力发现机制确定所 述第二终端所属运营商支持 SIP OPTIONS能力发现机制。 As a first possibility of the third aspect of the embodiment of the present invention, the first determining module includes: a second determining module, configured to: according to the identifier of the first terminal and the second in the service capability subscription request Determining, by the identifier of the terminal, that the second terminal and the first terminal belong to different operators; a first storage module, configured to store a service capability discovery mechanism supported by different operators; and a third determining module, configured to: A service capability discovery mechanism corresponding to different operators stored by a storage module determines The operator of the second terminal supports the SIP OPTIONS capability discovery mechanism.
作为本发明实施例的第三方面的第二可能, 所述第一确定模块包括: 第二 发送模块, 用于根据所述第二终端的标识以及通过 IMS网络向所述第二终端发 送所述 Presence请求; 第二接收模块, 用于接收表示所述第二终端所属运营商 不支持 Presence的响应; 第四确定模块, 用于在所述第二接收模块接收到表示 所述第二终端所属运营商不支持 Presence的响应时, 确定所述第二终端所属运 营商支持 SIP OPTIONS能力发现机制。  As a second possibility of the third aspect of the embodiment of the present invention, the first determining module includes: a second sending module, configured to send, according to the identifier of the second terminal, to the second terminal by using an IMS network, a second receiving module, configured to receive a response indicating that the operator to which the second terminal belongs does not support Presence, and a fourth determining module, configured to receive, by the second receiving module, that the second terminal belongs to the operation When the Provider does not support the response of the Presence, it is determined that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism.
结合本发明实施例的第三方面的第二可能的第三可能, 所述第一确定模块 还包括: 第五确定模块, 用于根据所述业务能力订阅请求中的所述第一终端的 标识和所述第二终端的标识确定所述第二终端与所述第一终端属于不同运营 商; 第二存储模块, 用于存储不同运营商对应支持的业务能力发现机制; 第六 确定模块, 用于根据所述第二存储模块存储的不同运营商对应支持的业务能力 发现机制确定所述第二终端所属运营商支持 SIP OPTIONS能力发现机制, 如果 无法确定, 则触发所述第二发送模块。  With reference to the second possible third possibility of the third aspect of the embodiment of the present invention, the first determining module further includes: a fifth determining module, configured to: according to the identifier of the first terminal in the service capability subscription request Determining, by the identifier of the second terminal, that the second terminal and the first terminal belong to different operators; the second storage module is configured to store a service capability discovery mechanism supported by different operators; And determining, according to the service capability discovery mechanism supported by the different operators stored by the second storage module, that the operator of the second terminal supports the SIP OPTIONS capability discovery mechanism, and if not, the second sending module is triggered.
结合本发明实施例的第三方面或第一可能或第二可能或第三可能的第四可 能, 所述呈现服务器还包括: 第三存储模块, 用于存储所述第一终端周期性订 阅所述第二终端的业务能力信息的订阅关系, 所述订阅关系包括所述第一终端 所属运营商或用户设置的时间间隔; 计时触发模块, 用于根据所述第一终端所 属运营商或用户设置的时间间隔, 触发所述呈现服务器发送所述 Presence请求。  In conjunction with the third aspect of the present invention or the first possible or the second possible or the third possible fourth possible, the presence server further includes: a third storage module, configured to store the first terminal periodic subscription a subscription relationship of the service capability information of the second terminal, where the subscription relationship includes a time interval set by the operator or the user to which the first terminal belongs, and a timing triggering module, configured to set according to the operator or user to which the first terminal belongs The time interval triggers the presence server to send the presence request.
结合本发明实施例的第三方面或第一可能或第二可能或第三可能或第四可 能的第五可能, 所述第一发送模块用于在所述第一确定模块确定所述第二终端 所属运营商支持 SIP OPTIONS能力发现机制后,通过所述第一终端所属 IMS网 络将所述 Presence请求发送至所述 IWF; 所述第一接收模块用于通过所述第一 终端所属 IMS网络接收所述 IWF发送的所述 NOTIFY消息。  In combination with the third aspect of the embodiment of the present invention or the first possible or the second possible or the third possible or the fourth possible fifth possible, the first sending module is configured to determine the second in the first determining module After the operator of the terminal supports the SIP OPTIONS capability discovery mechanism, the Presence request is sent to the IWF by using the IMS network to which the first terminal belongs; the first receiving module is configured to receive by using the IMS network to which the first terminal belongs. The NOTIFY message sent by the IWF.
结合本发明实施例的第三方面或第一可能或第二可能或第三可能或第四可 能的第六可能, 所述呈现服务器包括所述 IWF, 所述 IWF包括: 第三接收模块, 用于直接与所述第一发送模块通信以接收所述第一发送模块发送的所述 Presence请求, 以及用于接收所述 SIP OPTIONS响应; 转化模块, 用于将所述 Presence请求转化为所述 SIP OPTIONS请求, 以及用于将所述 SIP OPTIONS响 应转化为所述 NOTIFY消息;第三发送模块,用于发送所述 SIP OPTIONS请求, 以及用于直接与所述第一接收模块通信以将所述 NOTIFY消息发送至所述第一 接收模块。 With reference to the third aspect of the present invention or the first possible or the second possible or the third possible or the fourth possible sixth possible, the presence server includes the IWF, and the IWF includes: a third receiving module, Directly communicating with the first sending module to receive the Presence request sent by the first sending module, and for receiving the SIP OPTIONS response; and a converting module, configured to convert the Presence request into the SIP An OPTIONS request, and for converting the SIP OPTIONS response into the NOTIFY message; a third sending module, configured to send the SIP OPTIONS request, And for communicating directly with the first receiving module to send the NOTIFY message to the first receiving module.
根据本发明实施例的第四方面, 本发明实施例还提供了一种互通功能模块 IWF, 包括: 接收模块, 用于接收第一终端的呈现服务器发送的订阅第二终端业 务能力信息的 Presence请求, 所述 Presence请求携带所述第二终端的标识; 以 及用于接收所述第二终端所属 IP多媒体子系统 IMS网络在接收到 SIP OPTIONS 请求后发送至所述 IWF的 SIP OPTIONS响应, 所述 SIP OPTIONS响应包含所 述第二终端的业务能力信息; 转化模块, 用于将所述 Presence请求转化为所述 SIP OPTIONS请求, 以及用于将所述 SIP OPTIONS响应转化为包含所述第二终 端业务能力信息的 NOTIFY消息; 发送模块, 用于根据所述第二终端的标识向 所述第二终端所属 IMS网络发送所述 SIP OPTIONS请求, 以及用于向所述呈现 服务器发送所述 NOTIFY消息。  According to a fourth aspect of the present invention, an embodiment of the present invention further provides an interworking function module IWF, including: a receiving module, configured to receive a presence request sent by a presence server of a first terminal to subscribe to second terminal service capability information The Presence request carries the identifier of the second terminal, and is configured to receive a SIP OPTIONS response sent by the IP Multimedia Subsystem IMS network to which the second terminal belongs to the IWF after receiving the SIP OPTIONS request, the SIP The OPTIONS response includes the service capability information of the second terminal; a conversion module, configured to convert the Presence request into the SIP OPTIONS request, and to convert the SIP OPTIONS response to include the second terminal service capability a NOTIFY message of the information; the sending module, configured to send the SIP OPTIONS request to the IMS network to which the second terminal belongs according to the identifier of the second terminal, and to send the NOTIFY message to the presence server.
作为本发明实施例的第四方面的第一可能, 所述 IWF还包括: 确定模块, 用于在所述接收模块接收到所述 Presence请求后根据所述 Presence请求中的第 二终端的标识确定所述第二终端所属运营商支持 SIP OPTIONS能力发现机制。  As a first possibility of the fourth aspect of the embodiment of the present invention, the IWF further includes: a determining module, configured to determine, according to the identifier of the second terminal in the Presence request, after the receiving module receives the Presence request The operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism.
结合本发明实施例的第四方面或第一可能的第二可能, 所述接收模块用于 直接与所述呈现服务器通信以接收所述呈现服务器发送的所述 Presence请求, 所述发送模块用于直接与所述呈现服务器通信以向所述呈现服务器发送所述 NOTIFY消息。  In conjunction with the fourth aspect of the present invention or the first possible second possibility, the receiving module is configured to directly communicate with the presence server to receive the Presence request sent by the presence server, where the sending module is used to Directly communicating with the presence server to send the NOTIFY message to the presence server.
结合本发明实施例的第四方面或第一可能的第三可能, 所述接收模块用于 通过所述第一终端所属 IMS网络接收述呈现服务器发送的所述 Presence请求, 所述发送模块用于通过所述第一终端所属 IMS网络向所述呈现服务器发送所述 NOTIFY消息。  In conjunction with the fourth aspect of the present invention or the first possible third possibility, the receiving module is configured to receive, by using an IMS network to which the first terminal belongs, the Presence request sent by the presence server, where the sending module is used by Sending the NOTIFY message to the presence server by the IMS network to which the first terminal belongs.
实施本发明实施例, 具有如下有益效果: 利用 IWF进行相应信令的转化, 使得选择 Presence作为业务能力发现机制的运营商的用户可以获得选择 SIP OPTIONS作为业务能力发现机制的运营商的用户的业务能力信息从而避免了由 于采用不同的业务能力机制而导致的业务能力无法获取、 业务会话邀请失败等 问题。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施 例或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 The implementation of the embodiment of the present invention has the following beneficial effects: The IWF is used to perform the corresponding signaling conversion, so that the user who selects the Presence as the service capability discovery mechanism can obtain the service of the user who selects the SIP OPTIONS as the service capability discovery mechanism. The capability information thus avoids the problem that the business capability cannot be obtained due to the adoption of different business capability mechanisms, and the business session invitation fails. DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description For some embodiments of the present invention, other drawings may be obtained from those skilled in the art without departing from the drawings.
图 1是根据本发明一种实施例的 Presence服务器发现非 Presence用户业务 能力的方法的流程示意图;  1 is a schematic flow chart of a method for a Presence server to discover non-Presence user service capabilities according to an embodiment of the present invention;
图 2是根据本发明一种实施例的 Presence服务器发现非 Presence用户业务 能力的方法的流程示意图;  2 is a schematic flow chart of a method for a Presence server to discover non-Presence user service capabilities according to an embodiment of the present invention;
图 3是根据本发明一种实施例的 Presence用户发现非 Presence用户业务能 力的通信流程示意图;  3 is a schematic diagram of a communication flow of a Presence user discovering non-Presence user service capabilities according to an embodiment of the present invention;
图 4是根据本发明一种实施例的 Presence用户发现非 Presence用户业务能 力的通信流程示意图;  4 is a schematic diagram of a communication flow of a Presence user discovering non-Presence user service capabilities according to an embodiment of the present invention;
图 5是根据本发明一种实施例的 Presence服务器的结构示意图;  FIG. 5 is a schematic structural diagram of a Presence Server according to an embodiment of the present invention; FIG.
图 6A是根据本发明一种实施例的 Presence服务器的第一确定模块的结构示 意图;  6A is a schematic diagram showing the structure of a first determining module of a Presence Server according to an embodiment of the present invention;
图 6B是根据本发明一种实施例的 Presence服务器的第一确定模块的结构示 意图;  6B is a schematic diagram showing the structure of a first determining module of a Presence Server according to an embodiment of the present invention;
图 6C是根据本发明一种实施例的 Presence服务器的第一确定模块的结构示 意图;  6C is a schematic diagram showing the structure of a first determining module of a Presence Server according to an embodiment of the present invention;
图 7是根据本发明一种实施例的 Presence服务器的结构示意图;  7 is a schematic structural diagram of a Presence Server according to an embodiment of the present invention;
图 8是根据本发明一种实施例的 Presence服务器的结构示意图;  FIG. 8 is a schematic structural diagram of a Presence Server according to an embodiment of the present invention; FIG.
图 9是根据本发明一种实施例的 Presence服务器的结构示意图;  9 is a schematic structural diagram of a Presence Server according to an embodiment of the present invention;
图 10是根据本发明一种实施例的 Presence服务器的结构示意图; 图 11是根据本发明一种实施例的 IWF的结构示意图;  FIG. 10 is a schematic structural diagram of a Presence server according to an embodiment of the present invention; FIG. 11 is a schematic structural diagram of an IWF according to an embodiment of the present invention;
图 12是根据本发明一种实施例的 IWF的结构示意图。 具体实施方式  FIG. 12 is a schematic structural diagram of an IWF according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 图 1是根据本发明一种实施例的 Presence服务器发现非 Presence用户业务 能力的方法的流程示意图, 参照图 1 , 该方法包括: The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, one of ordinary skill in the art does not create All other embodiments obtained under the premise of sexual labor are within the scope of protection of the present invention. FIG. 1 is a schematic flowchart of a method for a Presence server to discover non-Presence user service capabilities according to an embodiment of the present invention. Referring to FIG. 1, the method includes:
S100: Presence服务器接收第一终端发送的订阅第二终端的业务能力信息的 业务能力订阅请求, 所述业务能力订阅请求携带第二终端的标识, 该第二终端 的标识包括手机号码、 通用资源标志符( Uniform Resource Identifier, URI )等; S100: The Presence server receives a service capability subscription request that is sent by the first terminal to subscribe to the service capability information of the second terminal, where the service capability subscription request carries the identifier of the second terminal, where the identifier of the second terminal includes a mobile phone number and a universal resource identifier. Uniform Resource Identifier (URI), etc.
S200: 根据第二终端的标识确定第二终端所属运营商支持 SIP OPTIONS能 力发现机制; S200: Determine, according to the identifier of the second terminal, that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism;
S300: 发送订阅第二终端的业务能力信息的 Presence请求至互通功能模块 IWF, 以便 IWF将 Presence请求转化为 SIP OPTIONS请求并向第二终端所属 IP 多媒体子系统 IMS网络发送该 SIP OPTIONS请求, 所述 Presence请求携带所述 第二终端的标识;  S300: Send a presence request to subscribe to the service capability information of the second terminal to the interworking function module IWF, so that the IWF converts the presence request into a SIP OPTIONS request and sends the SIP OPTIONS request to the IP multimedia subsystem IMS network to which the second terminal belongs, The Presence request carries the identifier of the second terminal;
S400: 接收 IWF发送的 NOTIFY消息, 该 NOTIFY消息由 IWF将第二终 端所属 IMS网络在接收到 SIP OPTIONS请求后发送至所述 IWF的 SIP OPTIONS 响应转化而成, NOTIFY消息和 SIP OPTIONS响应包含第二终端的业务能力信 步骤 S100中的业务能力订阅请求如下(需要说明的是, 在说明书中描述的 各种消息的形式仅是示例性的以便本领域技术人员充分理解本发明请求保护的 技术方案, 并非对本发明的保护范围构成限制):  S400: Receive a NOTIFY message sent by the IWF, where the NOTIFY message is converted by the IWF to the SIP OPTIONS response sent by the IMS network of the second terminal to the IWF after receiving the SIP OPTIONS request, and the NOTIFY message and the SIP OPTIONS response include the second The service capability subscription request in the step S100 of the terminal is as follows. It should be noted that the forms of the various messages described in the specification are merely exemplary so that those skilled in the art can fully understand the technical solution claimed by the present invention. It does not limit the scope of protection of the present invention):
SUBSCRIBE sip:deviceA@domainl .com SIP/2.0  SUBSCRIBE sip:deviceA@domainl .com SIP/2.0
To: <sip:deviceB @domain2.com>  To: <sip:deviceB @domain2.com>
From: <sip : device A @ domain 1.com>; tag= 12341234  From: <sip : device A @ domain 1.com>; tag= 12341234
Call-ID: 12345678  Call-ID: 12345678
CSeq: 1 SUBSCRIBE  CSeq: 1 SUBSCRIBE
Max-Forwards: 70  Max-Forwards: 70
Expires: 0  Expires: 0
Event: presence  Event: presence
Contact: sip: device A @ domain 1.example.com  Contact: sip: device A @ domain 1.example.com
Content-Length: 396 <?xml version="1.0" encodings "UTF- 8 "?> Content-Length: 396 <?xml version="1.0" encodings "UTF- 8 "?>
<f ilter- set xmlns=Murn:ietf:params:xml:ns:simple-filterM> <f ilter- set xmlns= M urn:ietf:params:xml:ns:simple-filter M >
<ns-bindings>  <ns-bindings>
<ns-binding prefix="pidf" urn="urn:ietf:params:xml:ns:pidf"/>  <ns-binding prefix="pidf" urn="urn:ietf:params:xml:ns:pidf"/>
<ns-binding prefix="pdm" urn="urn:ietf:params:xml:ns:pidf:data-model"/> <ns-binding prefix="pdm" urn="urn:ietf:params:xml:ns:pidf:data-model"/>
</ns-bindings> </ns-bindings>
<filter id="person">  <filter id="person">
<what>  <what>
<include>//pidf:presence/pdm:service-id</include>  <include>//pidf:presence/pdm:service-id</include>
<include>//pidf:presence/pdm:version</include>  <include>//pidf:presence/pdm:version</include>
</what>  </what>
</filter>  </filter>
</filter-set>  </filter-set>
其中 From和 To分别代表订阅方(第一终端)和被订阅方(第二终端), Expires 表示订阅周期( Expires的数值的单位为秒, Expires值为 0表示单次订阅, Expires 值大于 0表示周期性订阅 ), 业务能力订阅请求的后半部分是 Body (消息体), 表明了要订阅 Service ID (业务标识 )和 Version (版本), 即表示要订阅对方的 业务能力信息。  From and To represent the subscriber (first terminal) and the subscriber (second terminal) respectively, Expires indicates the subscription period (the value of Expires is in seconds, the value of Expires is 0 for single subscription, and the value of Expires is greater than 0. Periodic subscription), the second half of the service capability subscription request is Body (message body), indicating that you want to subscribe to the Service ID and Version, which means to subscribe to the other party's business capability information.
在本实施例的一种实现方式中, Presence服务器可以通过以下两种方式确定 第二终端所属运营商支持 SIP OPTIONS能力发现机制:  In an implementation manner of this embodiment, the Presence server may determine that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism in the following two manners:
方式一: 在步骤 S100后, Presence服务器根据第二终端的标识并通过 IMS 网络向第二终端发送 presence请求, 若接收到表示第二终端所属运营商不支持Manner 1: After step S100, the Presence server sends a p resence request to the second terminal according to the identifier of the second terminal and the IMS network, and if the operator that the second terminal belongs does not support
Presence的响应(该响应可以是 4XX、 5XX或 6XX响应, 具体的响应数字可以 根据第一终端的运营商和第二终端的运营商签订的协议进行判断, 例如, 可以 是表示第二终端所属运营商不支持 Presence的 488响应 ), 则确定第二终端所属 运营商支持 SIP OPTIONS能力发现机制。 这种确定方式是基于: 现有的 RCS业 务只有两种模式: Presence和 OPTIONS, 二者必选其一, 因而采用 RCS的运营 商要么支持 Presence业务能力发现机制,要么支持 SIP OPTIONS能力发现机制。 Presence response (the response may be a 4XX, 5XX or 6XX response, and the specific response number may be determined according to a protocol signed by the operator of the first terminal and the operator of the second terminal, for example, may indicate that the second terminal belongs to the operation If the 488 response of the presence is not supported, the operator of the second terminal is determined to support the SIP OPTIONS capability discovery mechanism. This method of determination is based on: There are only two modes of the existing RCS service: Presence and OPTIONS, and the two must choose one. Therefore, the operator adopting RCS either supports the Presence service capability discovery mechanism or supports the SIP OPTIONS capability discovery mechanism.
方式二: Presence服务器可以根据存储的相应信息确定第二终端所属运营商 支持 SIP OPTIONS能力发现机制。 例如, Presence可以存储不同运营商的名称、 地址信息及其对应支持的业务能力发现机制, 如表 1所示: Manner 2: The Presence server can determine, according to the stored information, that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism. For example, Presence can store the names of different carriers, The address information and its corresponding supported service capability discovery mechanism are shown in Table 1:
Figure imgf000012_0001
Figure imgf000012_0001
表(1 )  Table 1 )
具体的, Presence服务器可以根据业务能力订阅请求的 From头域中第一终 端的标识和 To头域中第二终端的标识确定第二终端与第一终端属于不同运营商 (例如, 如果业务能力订阅请求中, From 头域中第一终端所属域信息为 ©chinamobile.com 或以 138 开头, To 头域中第二终端所属域信息为 @chinaunicom.com或以 130开头, 则确定第一终端属于中国移动, 第二终端属 于中国联通), 并进行以下操作:  Specifically, the Presence server may determine, according to the identifier of the first terminal in the From header field of the service capability subscription request and the identifier of the second terminal in the To header field, that the second terminal and the first terminal belong to different operators (for example, if the service capability subscription is In the request, the domain information of the first terminal in the From header field is ©chinamobile.com or starts with 138, and the domain information of the second terminal in the To header field is @chinaunicom.com or starts with 130, then the first terminal belongs to China. Move, the second terminal belongs to China Unicom), and do the following:
Presence服务器根据业务能力订阅请求的 To头域中第二终端的标识确定第 二终端所属运营商, 并根据存储的不同运营商对应支持的业务能力发现机制确 定第二终端所属运营商支持 SIP OPTIONS能力发现机制(这种情况下, Presence 服务器存储的不同运营商对应支持的业务能力发现机制包括第二终端所属运营 商支持的业务能力发现机制); 或, Presence服务器根据存储的不同运营商对应 支持的业务能力发现机制无法确定第二终端所属运营商支持 SIP OPTIONS能力 发现机制(Presence服务器可能未存储所有运营商的业务能力发现机制, 所以在 某些情况下无法进行判断, 例如, Presence服务器可能没有存储第二终端所属运 营商支持的业务能力发现机制信息), 则 Presence服务器根据第二终端的标识并 通过 IMS网络向第二终端发送 Presence请求, 接收到表示第二终端所属运营商 不支持 Presence的响应, 则确定第二终端所属运营商支持 SIP OPTIONS能力发 现机制。  The presence server determines the operator to which the second terminal belongs according to the identifier of the second terminal in the To header field of the service capability subscription request, and determines, according to the stored service capability discovery mechanism supported by the different operators, that the operator of the second terminal supports the SIP OPTIONS capability. The discovery mechanism (in this case, the service capability discovery mechanism supported by the different operators stored by the Presence server includes the service capability discovery mechanism supported by the operator to which the second terminal belongs); or, the Presence server supports the corresponding carrier according to the storage. The service capability discovery mechanism cannot determine that the operator of the second terminal supports the SIP OPTIONS capability discovery mechanism. (The Presence server may not store the service capability discovery mechanism of all operators, so in some cases, the judgment cannot be made. For example, the Presence server may not be stored. The service capability discovery mechanism information supported by the operator to which the second terminal belongs, the Presence server sends a presence request to the second terminal through the IMS network according to the identifier of the second terminal, and receives the representation indicating that the second terminal belongs to Business Presence does not support the response, it is determined that the second terminal operator that owns the ability to support SIP OPTIONS discovery mechanism.
在本实施例的一种实现方式中, Presence 良务器可以通过以下两种方式将订 阅第二终端的业务能力信息的 Presence请求发送至 IWF: 方式一: 当 Presence服务器接收到的业务能力订阅请求为单次订阅时, Presence服务器将订阅第二终端的业务能力信息的 Presence请求发送至互通功 能模块 IWF。 In an implementation manner of this embodiment, the Presence server can send a Presence request for subscribing to the service capability information of the second terminal to the IWF in the following two manners: Manner 1: When the service capability subscription request received by the presence server is a single subscription, the Presence server sends a presence request for subscribing to the service capability information of the second terminal to the interworking function module IWF.
方式二: 当 Presence服务器接收到的业务能力信息的请求为周期性订阅时, Presence服务器存储第一终端周期性订阅第二终端业务能力信息的订阅关系,该 订阅关系包括第一终端所属运营商或用户设置的时间间隔, Presence服务器按照 该时间间隔周期性地向 IWF发送 Presence请求。 例如: Presence服务器根据运 营商或用户设置的时间间隔发送 Presence请求, 具体地, 运营商可以根据自身 情况设置订阅的触发周期, 例如设置为 3600秒, 用户也可以自己设置 (或设置后 在后台修改)触发周期, 例如设置为 1800秒。 这种情况下, 根据运营商的策略, 可以选择 1800秒作为触发周期(即用户设置优先 ), 也可以选择 3600秒作为触 发周期(即运营商设置优先), Presence服务器可以通过计时器触发 Presence请 求的发送。  Manner 2: When the request for the service capability information received by the Presence server is a periodic subscription, the Presence server stores a subscription relationship in which the first terminal periodically subscribes to the second terminal service capability information, where the subscription relationship includes the operator to which the first terminal belongs or The time interval set by the user, the Presence server periodically sends a presence request to the IWF according to the time interval. For example, the Presence server sends a presence request according to the time interval set by the operator or the user. Specifically, the operator can set the trigger period of the subscription according to its own situation, for example, it is set to 3600 seconds, and the user can also set it by itself (or modify it in the background after setting). The trigger period, for example, is set to 1800 seconds. In this case, according to the carrier's policy, you can select 1800 seconds as the trigger period (that is, the user setting priority), or you can select 3600 seconds as the trigger period (that is, the operator setting priority), and the Presence server can trigger the presence request through the timer. Send.
图 2是根据本发明一种实施例的 Presence服务器发现非 Presence用户业务 能力的方法的流程示意图, 参照图 2, 该方法包括:  2 is a schematic flowchart of a method for a Presence server to discover non-Presence user service capabilities according to an embodiment of the present invention. Referring to FIG. 2, the method includes:
S200: IWF接收 Presence服务器发送的订阅第二终端的业务能力信息的 Presence请求, 所述 Presence请求携带第二终端的标识;  S200: The IWF receives a Presence request sent by the Presence server to subscribe to the service capability information of the second terminal, where the Presence request carries the identifier of the second terminal.
S202: 将 Presence请求转化为 SIP OPTIONS请求;  S202: Convert the Presence request into a SIP OPTIONS request;
S204:根据第二终端的标识向第二终端所属 IMS网络发送 SIP OPTIONS请 求;  S204: Send a SIP OPTIONS request to the IMS network to which the second terminal belongs according to the identifier of the second terminal.
S206: 接收 SIP OPTIONS 响应并将其转化为 NOTIFY 消息, 其中, SIP OPTIONS响应由第二终端所属 IMS网络在接收到 SIP OPTIONS请求后发送至 IWF, SIP OPTIONS响应和 NOTIFY消息包含第二终端的业务能力信息;  S206: Receive a SIP OPTIONS response and convert it into a NOTIFY message, where the SIP OPTIONS response is sent by the IMS network to which the second terminal belongs to the IWF after receiving the SIP OPTIONS request, and the SIP OPTIONS response and the NOTIFY message include the service capability of the second terminal. Information
S208: 向 Presence月良务器发送 NOTIFY消息。  S208: Send a NOTIFY message to the Presence server.
在本实施例的一种实现方式中, IWF与 Presence服务器之间通过第一终端 所属 IMS网络进行通信。  In an implementation manner of this embodiment, the IWF communicates with the Presence server through the IMS network to which the first terminal belongs.
在本实施例的一种实现方式中, IWF与 Presence服务器直接进行信令交互。 图 3是根据本发明一种实施例的 Presence用户发现非 Presence用户业务能 力的通信流程示意图, 参照图 3 , 该通信流程包括:  In an implementation manner of this embodiment, the IWF directly performs signaling interaction with the Presence server. FIG. 3 is a schematic diagram of a communication process for a Presence user to discover non-Presence user service capabilities according to an embodiment of the present invention. Referring to FIG. 3, the communication process includes:
步骤 1至步骤 2: 第一终端 A通过其所属 IMS网络 A向 Presence服务器 A 发送用于订阅第二终端的业务能力信息的业务能力订阅请求(关于该业务能力 订阅请求的说明请参照图 1所示实施例中的相应描述); Step 1 to Step 2: The first terminal A goes to the Presence Server A through its IMS network A. Sending a service capability subscription request for subscribing to the service capability information of the second terminal (for a description of the service capability subscription request, refer to the corresponding description in the embodiment shown in FIG. 1);
步骤 3至步骤 4: Presence服务器 A根据 Presence请求的 To头域中第二终 端的标识确定第二终端 B的地址,然后通过 IMS网络 A向第二终端 B所属的 IMS 网络 B发送用于订阅第二终端 B的业务能力信息的 Presence请求, 该 Presence 请求如下:  Step 3 to Step 4: The Presence Server A determines the address of the second terminal B according to the identifier of the second terminal in the To header field of the Presence request, and then sends the subscription to the IMS network B to which the second terminal B belongs through the IMS network A. Second, the Presence request of the service capability information of the terminal B, the presence request is as follows:
SUBSCRIBE sip:deviceA@domainl .com SIP/2.0  SUBSCRIBE sip:deviceA@domainl .com SIP/2.0
To: <sip:deviceB @domain2.com>  To: <sip:deviceB @domain2.com>
From: <sip : device A @ domain 1.com>; tag= 12341234  From: <sip : device A @ domain 1.com>; tag= 12341234
Call-ID: 12345678  Call-ID: 12345678
CSeq: 1 SUBSCRIBE  CSeq: 1 SUBSCRIBE
Max-Forwards: 70  Max-Forwards: 70
Expires: 0  Expires: 0
Event: presence  Event: presence
Contact: sip: device A @ domain 1.example.com  Contact: sip: device A @ domain 1.example.com
Content-Length: 396  Content-Length: 396
<?xml version="1.0" encodings "UTF- 8 "?> <?xml version="1.0" encodings "UTF- 8 "?>
<f ilter- set xmlns=Murn:ietf:params:xml:ns:simple-filterM> <f ilter- set xmlns= M urn:ietf:params:xml:ns:simple-filter M >
<ns-bindings>  <ns-bindings>
<ns-binding prefix="pidf" urn="urn:ietf:params:xml:ns:pidf"/>  <ns-binding prefix="pidf" urn="urn:ietf:params:xml:ns:pidf"/>
<ns-binding prefix="pdm" urn="urn:ietf:params:xml:ns:pidf:data-model"/> <ns-binding prefix="pdm" urn="urn:ietf:params:xml:ns:pidf:data-model"/>
</ns-bindings> </ns-bindings>
<filter id="person">  <filter id="person">
<what>  <what>
<include>//pidf:presence/pdm:service-id</include>  <include>//pidf:presence/pdm:service-id</include>
<include>//pidf:presence/pdm:version</include>  <include>//pidf:presence/pdm:version</include>
</what>  </what>
</filter>  </filter>
</filter-set> 步骤 5至步骤 6: IMS网络 B发现本网络并没有相应的 Presence服务支持 (即第二终端所属运营商不支持 Presence能力发现机制 ), 所以 IMS网络 B通 过 IMS网络 A向 Presence服务器 A发送非 2XX响应(可以是 4XX、 5XX或 6XX 响应, 具体的响应数字可以根据第一终端 A的运营商和第二终端 B的运营商签 订的协议进行判断, 例如, 可以是表示第二终端所属运营商不支持 Presence的 488响应), 表示 IMS网络 B中没有相应的 Presence服务支持; </filter-set> Step 5 to Step 6: The IMS network B finds that the network does not have the corresponding Presence service support (that is, the operator to which the second terminal belongs does not support the Presence capability discovery mechanism), so the IMS network B sends the non-2XX to the Presence server A through the IMS network A. The response (which may be a 4XX, 5XX, or 6XX response, the specific response number may be determined according to the protocol signed by the operator of the first terminal A and the operator of the second terminal B, for example, may indicate that the operator of the second terminal belongs to Supporting the 488 response of Presence), indicating that there is no corresponding Presence service support in IMS network B;
步骤 7至步骤 8: 因为 IMS网络 B中并没有相应的 Presence服务支持, 所 以 Presence服务器 A确定需要进行与 IWF进行互通操作,于是 Presence服务器 A通过 IMS网络 A将 Presence请求发送至 IWF;  Step 7 to Step 8: Because there is no corresponding Presence service support in the IMS network B, the Presence Server A determines that the IWF needs to be interoperable, and the Presence Server A sends the Presence request to the IWF through the IMS network A.
步骤 9: IWF接收到 Presence请求后, 可以根据 Presence请求中第二终端 的标识确定第二终端所属运营商支持 SIP OPTIONS能力发现机制(具体地, IWF 可以根据 Presence请求中第二终端 B的标识确定第二终端 B所属运营商进而根 据存储的或者 Presence服务器 A发送的与运营商对应支持的业务能力发现机制 相关的信息确定第二终端 B所述运营商支持 SIP OPTIONS能力发现机制 ), 然 后进行信令转化以将 Presence请求转化为 SIP OPTIONS 请求, 并将该 SIP OPTIONS请求发送给 IMS网络 A; 或者 IWF接收到 Presence请求后直接进行 信令转化以将 presenCe请求转化为 SIP OPTIONS请求,并将该 SIP OPTIONS请 求发送给 IMS网络 A。在信令转化中用 SIP OPTIONS命令代替 Presence请求中 的 SUBSCRIBE命令, 转化后的 SIP OPTIONS请求如下 (省略消息体 ): Step 9: After receiving the presence request, the IWF may determine, according to the identifier of the second terminal in the presence request, that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism (specifically, the IWF may determine according to the identifier of the second terminal B in the presence request) The operator of the second terminal B further determines, according to the information about the service capability discovery mechanism supported by the operator that is sent by the stored or Presence server A, that the operator of the second terminal B supports the SIP OPTIONS capability discovery mechanism, and then sends a message. Converting to convert the presence request into a SIP OPTIONS request and sending the SIP OPTIONS request to the IMS network A; or the IWF receives the presence request and directly performs signaling conversion to convert the resenCe request into a SIP OPTIONS request, and The SIP OPTIONS request is sent to IMS network A. In the signaling conversion, the SIP OPTIONS command is used to replace the SUBSCRIBE command in the presence request. The converted SIP OPTIONS request is as follows (omit the message body):
OPTIONS sip: deviceA@domainl .com SIP/2.0  OPTIONS sip: deviceA@domainl .com SIP/2.0
To: <sip:deviceB @domain2.com>  To: <sip:deviceB @domain2.com>
From: Alice <sip : device A @ domain 1.com>; tag=1928301774 From: Alice <sip : device A @ domain 1.com>; tag=1928301774
Call-ID: a84b4c76e66710 Call-ID: a84b4c76e66710
CSeq: 63104 OPTIONS  CSeq: 63104 OPTIONS
Contact: <sip: device A @ domain 1.com>;  Contact: <sip: device A @ domain 1.com>;
Accept: application/sdp  Accept: application/sdp
Content-Length: 0  Content-Length: 0
其中, OPTIONS表示该请求消息是业务能力发现请求, FROM和 TO分别 代表请求方(来自 Presence请求的 From头 i或 )和被请求方(来自 Presence请求 的 TO头域)。 步骤 10: IMS网络 A转发 SIP OPTIONS请求给 IMS网络 B; Among them, OPTIONS indicates that the request message is a service capability discovery request, and FROM and TO respectively represent the requester (from the header i or the Presence request) and the requested party (the TO header field from the Presence request). Step 10: IMS network A forwards the SIP OPTIONS request to the IMS network B;
步骤 11: IMS网络 B转发 SIP OPTIONS请求给第二终端 B;  Step 11: IMS network B forwards the SIP OPTIONS request to the second terminal B;
步骤 12至步骤 14: 第二终端 B接收到 SIP OPTIONS请求后, 产生对应的 Step 12 to Step 14: After receiving the SIP OPTIONS request, the second terminal B generates a corresponding
SIP OPTIONS响应,并通过 IMS网络 B和 IMS网络 A向 IWF发送 SIP OPTIONS 响应, 该 SIP OPTIONS响应如下: SIP OPTIONS responds and sends a SIP OPTIONS response to the IWF over IMS network B and IMS network A. The SIP OPTIONS response is as follows:
SIP/2.0 200 OK  SIP/2.0 200 OK
To: <sip:deviceB @domain2.com>; tag=93810874  To: <sip:deviceB @domain2.com>; tag=93810874
From: Alice <sip : device A @ domain 1.com>; tag=1928301774 From: Alice <sip : device A @ domain 1.com>; tag=1928301774
Call-ID: a84b4c76e66710 Call-ID: a84b4c76e66710
CSeq: 63104 OPTIONS  CSeq: 63104 OPTIONS
Contact: <sip:deviceB @domain2.com> ; feature tag = Contact: <sip:deviceB @domain2.com> ; feature tag =
+g gpp jari-ref="um:urn-7:3gpp-application.ims.iari.gsma-vs'' , +g gpp jari-ref="um:um-7:3gpp-serviceims.icsi.mmtel.video'' +g gpp jari-ref="um:urn-7:3gpp-application.ims.iari.gsma-vs'' , +g gpp jari-ref="um:um-7:3gpp-serviceims.icsi.mmtel. Video''
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
Accept: application/sdp  Accept: application/sdp
OPTIONS响应均为 SIP/2.0加三位数字开头, FROM和 TO分别代表订阅方 (第一终端 A )和被订阅方(第二终端 B ), CONTACT头域中的 Feature Tag (特 征值 )表示第二终端 B支持的业务能力 (请参照表 2 )。  The OPTIONS response starts with SIP/2.0 plus three digits. FROM and TO represent the subscriber (first terminal A) and the subscriber (second terminal B) respectively. The Feature Tag in the CONTACT header field indicates the first The service capabilities supported by Terminal B (refer to Table 2).
步骤 15至步骤 16: IWF通过 IMS网络 A向 Presence服务器 A发送 202 Accept 响应, 表示接受订阅;  Step 15 to Step 16: The IWF sends a 202 Accept response to the Presence Server A through the IMS network A, indicating that the subscription is accepted;
步骤 17至步骤 18: Presence服务器 A通过 IMS网络 A向第一终端 A发送 202 Accept响应, 表示接受订阅;  Step 17 to Step 18: Presence Server A sends a 202 Accept response to the first terminal A through the IMS network A, indicating that the subscription is accepted;
步骤 19至步骤 20:当 IWF接收到包含有第二终端 B的业务能力信息的 SIP OPTIONS响应后, 进行信令转化以将该 SIP OPTIONS响应转化成 NOTIFY消 息, 并通过 IMS网络 A向 Presence服务器 A发送该 NOTIFY消息; 在进行信 令转化过程中, 根据表(2 ) 中 Tag (特征值)与 Service Tuple (业务元组, 其 中包括 Service ID和 Version两部分 ) 的对应关系, 将 SIP OPTIONS响应中的 Feature Tag转化为对应的 Service Tuple信息, 并将所述 Service Tuple信息放到 NOTIFY消息的 Body的相应部分。 当然, 除了表( 2 ) 中示例性列举的业务, 还可以有其他多种业务, 他们的 Feature Tag和 Service Tuple的对应关系在此不 再举例。 Step 19 to Step 20: After receiving the SIP OPTIONS response including the service capability information of the second terminal B, the IWF performs signaling conversion to convert the SIP OPTIONS response into a NOTIFY message, and sends the IMS network A to the Presence server A. Sending the NOTIFY message; in the signaling conversion process, according to the correspondence between the Tag (feature value) and the Service Tuple (the service tuple, including the service ID and the Version) in the table (2), the SIP OPTIONS response is The Feature Tag is converted into the corresponding Service Tuple information, and the Service Tuple information is placed in the corresponding part of the Body of the NOTIFY message. Of course, in addition to the services listed in Table (2), there are many other services. The relationship between their Feature Tag and Service Tuple is not here. Another example.
Figure imgf000017_0001
Figure imgf000017_0001
表(2 )  Table 2 )
NOTIFY消息以 NOTIFY表示, FROM和 TO分别代表上文所述被订阅方 (第二终端 B )和订阅方 (第一终端 A ), 即该通知是被订阅方通知订阅方的。 NOTIFY消息通过其消息体携带业务能力信息, 该 NOTIFY消息如下:  The NOTIFY message is represented by NOTIFY, and FROM and TO respectively represent the subscriber (second terminal B) and the subscriber (first terminal A) described above, that is, the notification is notified by the subscriber to the subscriber. The NOTIFY message carries the service capability information through its message body. The NOTIFY message is as follows:
NOTIFY sip:deviceB@ domain2.com SIP/2.0 To: <sip : device A @ domain 1.com>; tag= 12341234 NOTIFY sip:deviceB@ domain2.com SIP/2.0 To: <sip : device A @ domain 1.com>; tag= 12341234
From: <sip:deviceB @domain2.com>; tag=abcdl234  From: <sip:deviceB @domain2.com>; tag=abcdl234
Call-ID: 12345678  Call-ID: 12345678
CSeq: 1 NOTIFY  CSeq: 1 NOTIFY
Event: presence  Event: presence
Contact: sip:pa.example.com  Contact: sip:pa.example.com
Content- Type: application/pidf+xml  Content- Type: application/pidf+xml
Content- Length:972  Content- Length: 972
<pr:provide-services> <pr:provide-services>
<op:service-id> org.gsma.videoshare  <op:service-id> org.gsma.videoshare
<version> 2.0</version>  <version> 2.0</version>
</op:service-id>  </op:service-id>
<op:service-id> org.3gpp.urn:urn-7:3gpp-service.ims.icsi.mmtel  <op:service-id> org.3gpp.urn:urn-7:3gpp-service.ims.icsi.mmtel
<version> 1.0</version>  <version> 1.0</version>
</op:service-id>  </op:service-id>
</pr:provide-services> 步骤 21至步骤 22: Presence服务器 A接收到 NOTIFY消息后通过 IMS网 络 A向第一终端 A发送该 NOTIFY消息;  </pr:provide-services> Step 21 to Step 22: Presence Server A sends the NOTIFY message to the first terminal A through the IMS network A after receiving the NOTIFY message;
步骤 23至步骤 24: 第一终端 A接收到 NOTIFY消息后通过 IMS网络 A返 回 200 ok响应给 Presence服务器 A, 确认接收到所述 NOTIFY消息。  Step 23 to Step 24: After receiving the NOTIFY message, the first terminal A returns a 200 ok response to the Presence Server A through the IMS network A, and confirms that the NOTIFY message is received.
在本实施例中, Presence服务器与 IWF分开设置, 即 IWF是一个物理实体, 二者通过 IMS网络 A进行信令交互。  In this embodiment, the Presence server is separately configured from the IWF, that is, the IWF is a physical entity, and the two perform signaling interaction through the IMS network A.
在本实施例的一种实现方式中, 步骤 15至步骤 18与步骤 9没有时间上的 先后顺序。  In an implementation manner of this embodiment, steps 15 to 18 and step 9 have no temporal sequence.
在本实施例的一种实现方式中, 步骤 3至步骤 6也可以由以下方式代替: Presence服务器 A通过图 1所示实施例中的第二种确定第二终端所属运营商支 持 SIP OPTIONS能力发现机制的方式进行确定。 在本发明的另一种实施例中, IWF与 Presence服务器构成一个整体并互相 通信。 例如, 参照图 4, 图 4是根据本发明一种实施例的 Presence用户发现非 Presence用户业务能力的通信流程示意图(为了方便通信流程的描述,在图中仍 将 IWF与 Presence服务器 A分开表达, 但实际上二者构成一个整体)。 在本实 施例中, Presence服务器 A存储有不同运营商 (包括第二终端 B所属运营商 ) 对应支持的业务能力信息。 具体的: In an implementation manner of this embodiment, step 3 to step 6 may also be replaced by the following manner: Presence server A determines, by using the second type in the embodiment shown in FIG. 1 , that the operator of the second terminal supports SIP OPTIONS capability discovery. The way the mechanism is determined. In another embodiment of the invention, the IWF is integral with the Presence Server and communicates with each other. For example, referring to FIG. 4, FIG. 4 is a schematic diagram of a communication flow in which a Presence user discovers a non-Presence user service capability according to an embodiment of the present invention. (To facilitate the description of the communication process, the IWF and the Presence Server A are still separately expressed in the figure. But in fact, the two constitute a whole). In this embodiment, the Presence Server A stores service capability information corresponding to different operators (including the operator to which the second terminal B belongs). specific:
步骤 al至步骤 a2: 第一终端 A通过其所属 IMS网络 A向 Presence 良务器 A发送用于订阅第二终端 B的业务能力信息的业务能力订阅请求, 该业务能力 订阅请求中的 Exprires值大于 0, 例如, Exprires值为 3600 (本实施例中的业务 能力订阅请求、 Presence请求、 SIP OPTIONS请求、 SIP OPTIONS响应和 NOTIFY 消息的格式, 以及信令间的转化请参照图 1和图 3所示实施例中的相应说明, 此处不再赘述);  Step a1 to step a2: The first terminal A sends a service capability subscription request for subscribing to the service capability information of the second terminal B to the presence server A through its IMS network A, and the Exprires value in the service capability subscription request is greater than 0, for example, the Exprires value is 3600 (the format of the service capability subscription request, the Presence request, the SIP OPTIONS request, the SIP OPTIONS response, and the NOTIFY message in this embodiment, and the conversion between the signaling, please refer to FIG. 1 and FIG. Corresponding description in the embodiment, no further details here;
步骤 a3: Presence服务器 A根据业务能力订阅请求中的 Exprires值确定本 次订阅为周期性订阅, 于是存储第一终端 A周期性订阅第二终端 B的业务能力 信息的周期性订阅关系; Presence服务器 A根据业务能力订阅请求中的 From头 域中第一终端 A的标识和 To头域中第二终端 B的标识确定第一终端 A和第二 终端 B所属运营商, 并确定第二终端 B与第一终端 A属于不同运营商, 然后根 据 Presence服务器内部存储的不同运营商对应支持的业务能力机制确定第二终 端 B所属运营商支持 SIP OPTIONS能力发现机制; Presence服务器 A根据周期 性订阅关系中运营商或用户设置的时间间隔向 IWF发送 Presence请求(具体的, 请参照图 1所示实施例中的相应描述);  Step a3: The Presence Server A determines that the subscription is a periodic subscription according to the value of the Exprires in the service capability subscription request, and then stores the periodic subscription relationship in which the first terminal A periodically subscribes to the service capability information of the second terminal B; Presence Server A Determining the operator to which the first terminal A and the second terminal B belong according to the identifier of the first terminal A in the From header field and the identifier of the second terminal B in the To header field in the service capability subscription request, and determining the second terminal B and the second terminal A terminal A belongs to different operators, and then determines that the operator of the second terminal B supports the SIP OPTIONS capability discovery mechanism according to the service capability mechanism supported by the different operators stored in the Presence server; the Presence server A according to the carrier in the periodic subscription relationship Or sending a presence request to the IWF at a time interval set by the user (specifically, refer to the corresponding description in the embodiment shown in FIG. 1);
步骤 b至步骤 d: IWF接收到 Presence请求后, 将其转化成 SIP OPTIONS 请求(或者 IWF接收到 Presence请求并根据 Presence请求中第二终端的标识确 定第二终端所属运营商支持 SIP OPTIONS能力发现机制后, 将 Presence请求转 化成 SIP OPTIONS请求;),并通过 IMS网络 A和 IMS网络 B将该 SIP OPTIONS 请求发送至第二终端 B;  Step b to step d: After receiving the presence request, the IWF converts it into a SIP OPTIONS request (or the IWF receives the presence request and determines, according to the identifier of the second terminal in the Presence request, that the operator of the second terminal supports the SIP OPTIONS capability discovery mechanism. Afterwards, the Presence request is converted into a SIP OPTIONS request;), and the SIP OPTIONS request is sent to the second terminal B through the IMS network A and the IMS network B;
步骤 e至步骤 g: 第二终端 B接收到 SIP OPTIONS请求后, 通过 IMS网络 B和 IMS网络 A将 SIP OPTIONS响应发送给 IWF, SIP OPTIONS响应中包含 了第二终端 B的业务能力信息;  Step e to step g: After receiving the SIP OPTIONS request, the second terminal B sends the SIP OPTIONS response to the IWF through the IMS network B and the IMS network A. The SIP OPTIONS response includes the service capability information of the second terminal B.
步骤 h: IWF向 Presence服务器 A发送表示接受订阅的响应 ( 202 Accept 响应 ); Step h: The IWF sends a response indicating that the subscription is accepted to the Presence Server A (202 Accept response);
步骤 i:IWF将 SIP OPTIONS响应转化为 NOTIFY消息, 并将该 NOTIFY消 息发送至 Presence服务器 A;  Step i: The IWF converts the SIP OPTIONS response into a NOTIFY message, and sends the NOTIFY message to the Presence server A;
步骤 j至步骤 K: Presence服务器 A通过 IMS网络 A将 NOTIFY消息发送 至第一终端 A;  Step j to step K: Presence server A sends a NOTIFY message to the first terminal A through the IMS network A;
步骤 1至步骤 m:第一终端 A通过 IMS网络 A向 Presence服务器 A发送确 认收到 NOTIFY消息的响应。  Step 1 to Step m: The first terminal A sends a response to the Presence Server A through the IMS network A to confirm receipt of the NOTIFY message.
在本实施例的一种实现方式中, 步骤 h与步骤 b没有时间上的先后顺序。 在本实施例的一种实现方式中, 在周期性订阅中, 在订阅周期内 (根据 Presence订阅请求中的 Expires值确定), 第二终端 B在其业务能力发生变化时, 可以将包含其最新业务能力信息的 SIP OPTIONS响应发送至 IWF以由 IWF将 SIP OPTIONS响应转化为 NOTIFY消息进而发送至 Presence服务器 A, 而不需 要只在接收到 SIP OPTIONS请求时发送相应响应; Presence服务器 A接收到 NOTIFY消息后如果判断第二终端 B的业务能力没有发生变化, 也可以不向第 一终端 A发送 NOTIFY 消息, 而只在第二终端 B 的业务能力发生变化时将 NOTIFY消息发送至第一终端 A。  In an implementation manner of this embodiment, step h and step b have no prioritized sequence. In an implementation manner of this embodiment, in the periodic subscription, during the subscription period (determined according to the Expires value in the Presence subscription request), the second terminal B may include the latest when the service capability changes. The SIP OPTIONS response of the service capability information is sent to the IWF to be converted by the IWF into a NOTIFY message and sent to the Presence Server A, without sending a corresponding response only when receiving the SIP OPTIONS request; Presence Server A receives the NOTIFY message. If it is determined that the service capability of the second terminal B has not changed, the NOTIFY message may not be sent to the first terminal A, and the NOTIFY message may be sent to the first terminal A only when the service capability of the second terminal B changes.
当然, 无论是单次订阅还是周期性订阅, Presence服务器和 IWF均可以单 独作为物理实体, 也可以组合构成一个整体。  Of course, whether it is a single subscription or a periodic subscription, the Presence Server and the IWF can be used as physical entities alone or in combination.
在本发明的一种实施方式中, 在第二终端 B不在线的情况下, 第二终端 B 所属 IMS网络 B接收到 SIP OPTIONS请求后返回表示第二终端 B不在线的 SIP OPTIONS响应(例如: 480响应, 表示消息暂时不可达)。 例如, 在图 3所示实 施例中, 如果第二终端 B不在线, 则通信流程中不执行步骤 11和步骤 12; 再例 如, 在图 4所示实施例中, 如果第二终端 B不在线, 则通信流程中不执行步骤 d 至步骤 e, 当然, 其中的 SIP OPTIONS响应以及由该响应转化而成的 NOTIFY 消息也会改变, 例如, SIP OPTIONS可以是:  In an embodiment of the present invention, when the second terminal B is offline, the IMS network B to which the second terminal B belongs receives the SIP OPTIONS request and returns a SIP OPTIONS response indicating that the second terminal B is offline (for example: 480 response, indicating that the message is temporarily unreachable). For example, in the embodiment shown in FIG. 3, if the second terminal B is not online, step 11 and step 12 are not performed in the communication flow; and, for example, in the embodiment shown in FIG. 4, if the second terminal B is not online Then, step d to step e are not performed in the communication process. Of course, the SIP OPTIONS response and the NOTIFY message converted by the response may also be changed. For example, SIP OPTIONS may be:
SIP/2.0480 Temporarily Unavailable  SIP/2.0480 Temporarily Unavailable
To: <sip:deviceB @domain2.com>; tag=93810874  To: <sip:deviceB @domain2.com>; tag=93810874
From: Alice <sip : device A @ domain 1.com>; tag=1928301774  From: Alice <sip : device A @ domain 1.com>; tag=1928301774
Call-ID: a84b4c76e66710  Call-ID: a84b4c76e66710
CSeq: 63104 OPTIONS Contact: <sip:deviceB @domain2.com>; CSeq: 63104 OPTIONS Contact: <sip:deviceB @domain2.com>;
Accept: application/sdp  Accept: application/sdp
IWF接收到该响应后, 通过将消息体中的 <pr:provide-services>标签中的内 容置空表示未能得到对方业务能力,从而将该响应转化为 SIP NOTIFY消息。该 NOTIFY消息可以是:  After receiving the response, the IWF converts the response to a SIP NOTIFY message by blanking the contents of the <pr:provide-services> tag in the message body to indicate that the other party's service capability is not obtained. The NOTIFY message can be:
NOTIFY sip: deviceB@domain2.com SIP/2.0  NOTIFY sip: deviceB@domain2.com SIP/2.0
To: <sip : device A @ domain 1.com>; tag= 12341234  To: <sip : device A @ domain 1.com>; tag= 12341234
From: <sip:deviceB @domain2.com>; tag=abcdl234  From: <sip:deviceB @domain2.com>; tag=abcdl234
Call-ID: 12345678  Call-ID: 12345678
CSeq: 1 NOTIFY  CSeq: 1 NOTIFY
Event: presence  Event: presence
Contact: sip:pa.example.com  Contact: sip:pa.example.com
Content- Type: application/pidf+xml  Content- Type: application/pidf+xml
Content- Length: 376  Content- Length: 376
<pr:provide-servicesx/pr:provide-services> 当然, 不包含业务能力信息的 SIP OPTIONS响应除了表示消息暂时不可达 的 480响应外,还可以是其他表示请求失败的 4XX响应,表示服务器错误的 5XX 响应、 表示系统错误的 6XX响应等, 相应的 NOTIFY消息也不包含第二终端的 业务能力信息。 <pr:provide-servicesx/pr:provide-services> Of course, the SIP OPTIONS response that does not contain the service capability information may be another 4XX response indicating that the request failed, in addition to the 480 response indicating that the message is temporarily unreachable, indicating that the server is in error. The 5XX response, the 6XX response indicating the system error, etc., the corresponding NOTIFY message also does not include the service capability information of the second terminal.
图 5是根据本发明一种实施例的 Presence月良务器的结构示意图,该 Presence 服务器 50包括:  FIG. 5 is a schematic structural diagram of a Presence server according to an embodiment of the present invention. The Presence server 50 includes:
第一接收模块 500,用于接收第一终端发送的订阅第二终端的业务能力信息 的业务能力订阅请求, 所述业务能力订阅请求携带第二终端的标识; 以及用于 接收 IWF发送的 NOTIFY消息,其中, NOTIFY消息由 IWF将第二终端所属 IMS 网络在接收到 SIP OPTIONS请求后发送至 IWF的 SIP OPTIONS响应转化而成, NOTIFY消息和 SIP OPTIONS响应包含第二终端的业务能力信息;  The first receiving module 500 is configured to receive a service capability subscription request that is sent by the first terminal to subscribe to the service capability information of the second terminal, where the service capability subscription request carries the identifier of the second terminal, and is configured to receive the NOTIFY message sent by the IWF. The NOTIFY message is converted by the IWF to the SIP OPTIONS response sent by the IMS network to which the second terminal belongs to the IWF after receiving the SIP OPTIONS request, and the NOTIFY message and the SIP OPTIONS response include the service capability information of the second terminal;
第一确定模块 502,用于根据第二终端的标识确定第二终端所属运营商支持 SIP OPTIONS能力发现机制; The first determining module 502 is configured to determine, according to the identifier of the second terminal, the operator support of the second terminal SIP OPTIONS capability discovery mechanism;
第一发送模块 504,用于发送订阅第二终端的业务能力信息的 Presence请求 至 IWF,以便 IWF将 Presence请求转化为 SIP OPTIONS请求并向第二终端所属 IMS网络发送 SIP OPTIONS请求, 所述 Presence请求携带第二终端的标识。  The first sending module 504 is configured to send a Presence request for subscribing to the service capability information of the second terminal to the IWF, so that the IWF converts the Presence request into a SIP OPTIONS request and sends a SIP OPTIONS request to the IMS network to which the second terminal belongs, the Presence request Carry the identifier of the second terminal.
其中, 第一确定模块 502可以有多种实现方式, 例如, 参照图 6A, 第一确 定模块 502可以包括:  The first determining module 502 can have multiple implementation manners. For example, referring to FIG. 6A, the first determining module 502 can include:
第二确定模块 600,用于根据所述业务能力订阅请求中的所述第一终端的标 识和所述第二终端的标识确定所述第二终端与所述第一终端属于不同运营商; 第一存储模块 602, 用于存储不同运营商对应支持的业务能力发现机制; 第三确定模块 604,用于根据第一存储模块 602存储的不同运营商对应支持 的业务能力发现机制确定所述第二终端所属运营商支持 SIP OPTIONS能力发现 机制; 具体地, 可以由第二确定模块 600或第三确定模块 604根据第二终端的 标识确定第二终端属于哪个运营商, 然后根据第一存储模块 600 中存储的信息 确定该运营商支持业务能力发现机制。  a second determining module 600, configured to determine, according to the identifier of the first terminal and the identifier of the second terminal in the service capability subscription request, that the second terminal and the first terminal belong to different operators; a storage module 602, configured to store a service capability discovery mechanism supported by different operators; and a third determining module 604, configured to determine the second according to a service capability discovery mechanism supported by different operators stored by the first storage module 602 The operator of the terminal supports the SIP OPTIONS capability discovery mechanism. Specifically, the second determining module 600 or the third determining module 604 may determine, according to the identifier of the second terminal, which carrier the second terminal belongs to, and then according to the first storage module 600. The stored information determines that the operator supports the business capability discovery mechanism.
或者, 参照图 6B , 第一确定模块 502可以包括:  Alternatively, referring to FIG. 6B, the first determining module 502 may include:
第二发送模块 610, 用于根据第二终端的标识并通过 IMS 网络向第二终端 发送 Presence请求; 例如, 可以在 Presence服务器接收到业务能力订阅请求后, 通过 IMS网络向第二终端发送 Presence请求, 或通过计时器触发 Presence请求 的发送。  The second sending module 610 is configured to send a presence request to the second terminal according to the identifier of the second terminal and by using the IMS network. For example, after the Presence server receives the service capability subscription request, the Presence request may be sent to the second terminal by using the IMS network. , or trigger the sending of a presence request through a timer.
第二接收模块 612,用于接收表示第二终端所属运营商不支持 Presence的响 应;  The second receiving module 612 is configured to receive a response indicating that the operator to which the second terminal belongs does not support Presence;
第四确定模块 614,用于在第二接收模块 612接收到表示第二终端所属运营 商不支持 Presence的响应时, 确定第二终端所属运营商支持 SIP OPTIONS能力 发现机制。  The fourth determining module 614 is configured to: when the second receiving module 612 receives the response indicating that the operator to which the second terminal belongs does not support the Presence, determine that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism.
或者, 参照图 6C, 第一确定模块 502可以包括上述的第二发送模块 610、 第二接收模块 612、 第四确定模块 614, 以及:  Alternatively, referring to FIG. 6C, the first determining module 502 may include the foregoing second sending module 610, second receiving module 612, fourth determining module 614, and:
第五确定模块 616 ,用于根据业务能力订阅请求中的第一终端的标识和第二 终端的标识确定第二终端与第一终端属于不同运营商;  The fifth determining module 616 is configured to determine, according to the identifier of the first terminal and the identifier of the second terminal in the service capability subscription request, that the second terminal and the first terminal belong to different operators;
第二存储模块 618, 用于存储不同运营商对应支持的业务能力发现机制; 第六确定模块 620,用于根据第二存储模块 618存储的不同运营商对应支持 的业务能力发现机制确定第二终端所属运营商支持 SIP OPTIONS 能力发现机 制; 如果无法确定, 则触发第二发送模块 610通过 IMS 网络向第二终端发送 Presence请求。 The second storage module 618 is configured to store a service capability discovery mechanism supported by different operators. The sixth determination module 620 is configured to support different operators according to the second storage module 618. The service capability discovery mechanism determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism; if not, the second sending module 610 is triggered to send a presence request to the second terminal through the IMS network.
在图 5所示实施例的一种实现方式中, Presence服务器与 IWF各自构成物 理实体, 二者可以通过第一终端所属 IMS网络进行各种信令的交互, 各种信令 包括: Presence请求、 NOTIFY消息, 以及 IWF向 Presence服务器发送的表示 接受订阅的响应 (例如: 202响应 ), 该响应可以由 Presence服务器的第一接收 模块接收。  In an implementation manner of the embodiment shown in FIG. 5, the Presence server and the IWF each constitute a physical entity, and the two can perform various signaling interactions through the IMS network to which the first terminal belongs. The various signaling includes: a Presence request, The NOTIFY message, and the response sent by the IWF to the Presence Server indicating acceptance of the subscription (eg, 202 response), the response may be received by the first receiving module of the Presence Server.
在图 5所示实施例的一种实现方式中,参照图 7, Presence月良务器 50与 IWF70 构成一个整体, 即: Presence服务器 50包括 IWF70, 该 IWF70包括:  In an implementation of the embodiment shown in FIG. 5, referring to FIG. 7, the Presence server 50 and the IWF 70 are integrated, that is, the Presence server 50 includes an IWF 70, and the IWF 70 includes:
第三接收模块 700,用于直接与第一发送模块 504通信以接收第一发送模块 504发送的 Presence请求, 以及用于接收 SIP OPTIONS响应, 该 SIP OPTIONS 响应可以是由第二终端生成的;  The third receiving module 700 is configured to directly communicate with the first sending module 504 to receive the Presence request sent by the first sending module 504, and to receive a SIP OPTIONS response, where the SIP OPTIONS response may be generated by the second terminal;
转化模块 702, 用于将 Presence请求转化为 SIP OPTIONS请求, 以及用于 将 SIP OPTIONS响应转化为 NOTIFY消息;  The conversion module 702 is configured to convert the Presence request into a SIP OPTIONS request, and to convert the SIP OPTIONS response into a NOTIFY message;
第三发送模块 704,用于发送 SIP OPTIONS请求至第二终端所属 IMS网络, 以及用于直接与第一接收模块 500通信以将 NOTIFY消息发送至第一接收模块 500。  The third sending module 704 is configured to send a SIP OPTIONS request to the IMS network to which the second terminal belongs, and to directly communicate with the first receiving module 500 to send the NOTIFY message to the first receiving module 500.
其中, 转化模块 702可以包括: 第一转化模块和第二转化模块。  The conversion module 702 can include: a first conversion module and a second conversion module.
具体的, 第一转化模块用于将所述 Presence请求中使用的 SIP SUBSCRIBE 命令转化为 SIP OPTIONS命令;  Specifically, the first conversion module is configured to convert the SIP SUBSCRIBE command used in the Presence request into a SIP OPTIONS command;
第二转化模块用于在 SIP OPTIONS响应包含第二终端业务能力信息的情况 下, 将 SIP OPTIONS响应中表示业务能力信息的特征值转化为相应的业务元组 信息并将业务元组信息填写到 NOTIFY消息的消息体中; 在 SIP OPTIONS响应 不包含第二终端业务能力信息的情况下, 将 NOTIFY消息的消息体中表示业务 能力信息的标签中的内容置空。  The second conversion module is configured to convert the feature value indicating the service capability information in the SIP OPTIONS response into the corresponding service tuple information and fill the service tuple information into the NOTIFY in the case that the SIP OPTIONS response includes the second terminal service capability information. In the message body of the message; in the case that the SIP OPTIONS response does not include the second terminal service capability information, the content in the tag indicating the service capability information in the message body of the NOTIFY message is blanked.
在本实现方式中, IWF的第三发送模块 704可以直接与第一接收模块 500 通信以将表示接受订阅的响应发送至第一接收模块 500。  In this implementation, the third sending module 704 of the IWF can directly communicate with the first receiving module 500 to send a response indicating acceptance of the subscription to the first receiving module 500.
图 8是根据本发明一种实施例的 Presence服务器的结构示意图, 参照图 8, Presence服务器 80包括: 第一接收模块 800、 第一确定模块 802和第一发送模 块 804, 以及: FIG. 8 is a schematic structural diagram of a presence server according to an embodiment of the present invention. Referring to FIG. 8, the Presence server 80 includes: a first receiving module 800, a first determining module 802, and a first sending module. Block 804, and:
第三存储模块 806,用于存储第一终端周期性订阅第二终端业务能力信息的 订阅关系 (例如, 在第一接收模块 800接收到的业务能力订阅请求表示周期性 订阅时), 所述订阅关系包括第一终端所属运营商或用户设置的时间间隔;  The third storage module 806 is configured to store a subscription relationship in which the first terminal periodically subscribes to the second terminal service capability information (for example, when the service capability subscription request received by the first receiving module 800 indicates a periodic subscription), the subscription The relationship includes a time interval set by an operator or a user to which the first terminal belongs;
计时触发模块 808, 用于根据第一终端所属运营商或用户设置的时间间隔, 触发 Presence月^务器发送 Presence请求。  The timing triggering module 808 is configured to trigger the Presence server to send a Presence request according to a time interval set by an operator or a user to which the first terminal belongs.
其中, 对于第一接收模块 800、 第一确定模块 802和第一发送模块 804的说 明请参照图 5所示实施例中对第一接收模块 500、第一确定模块 502和第一发送 模块 504的描述, 此处不再详述。  For the description of the first receiving module 800, the first determining module 802, and the first sending module 804, please refer to the first receiving module 500, the first determining module 502, and the first sending module 504 in the embodiment shown in FIG. Description, no longer detailed here.
在图 8所示实施例的一种实现方式中, Presence服务器与 IWF各自构成物 理实体, 二者可以通过第一终端所属 IMS网络进行各种信令的交互, 各种信令 包括: Presence请求、 NOTIFY消息, 以及 IWF向 Presence服务器发送的表示 接受订阅的响应 (例如: 202响应 ), 该响应可以由 Presence服务器的第一接收 模块 800接收。  In an implementation manner of the embodiment shown in FIG. 8, the Presence server and the IWF each constitute a physical entity, and the two can perform various signaling interactions through the IMS network to which the first terminal belongs. The various signaling includes: a Presence request, The NOTIFY message, and the response sent by the IWF to the Presence Server indicating acceptance of the subscription (eg, 202 response), the response may be received by the first receiving module 800 of the Presence Server.
在图 8所示实施例的一种实现方式中,参照图 9 , Presence服务器 80与 IWF90 构成一个整体, 即: Presence服务器 80包括 IWF90, 该 IWF90包括: 第三接收 模块 900、 转化模块 902和第三发送模块 904。 其中, 对于第三接收模块 900、 转化模块 902和第三发送模块 904的说明请参照图 7所示实施例中对第三接收 模块 700、 转化模块 702和第三发送模块 704的说明, 此处不再详述。  In an implementation manner of the embodiment shown in FIG. 8, referring to FIG. 9, the Presence server 80 and the IWF 90 are integrated, that is, the Presence server 80 includes an IWF 90, and the IWF 90 includes: a third receiving module 900, a conversion module 902, and a Three transmitting module 904. For a description of the third receiving module 900, the converting module 902, and the third sending module 904, refer to the description of the third receiving module 700, the converting module 702, and the third sending module 704 in the embodiment shown in FIG. No longer detailed.
图 10为根据本发明实施例的一种 Presence月良务器的结构示意图,该 Presence 服务器 100包括: 收发器 101、 存储器 102、 处理器 103。  FIG. 10 is a schematic structural diagram of a Presence server according to an embodiment of the present invention. The Presence server 100 includes: a transceiver 101, a memory 102, and a processor 103.
在本实施例的一种实现方式中, 收发器 101 用于与外部进行通信, 接收第 一终端发送的订阅第二终端的业务能力信息的业务能力订阅请求, 向 IWF发送 订阅第二终端的业务能力信息的 Presence请求, 以及接收 NOTIFY消息和向第 一终端发送第二终端的业务能力信息, 以及进行其它的消息的接收和发送, 本 发明实施例在此不做限定。 存储器 102与处理器 103耦合, 存储器 102用于存 储各种程序与应用, 由处理器 103调用以执行各程序与应用从而实现相应功能。 具体的, 处理器 103可以用于确定第二终端所属运营商支持 SIP OPTIONS能力 发现机制, 具体的确定方式请参照图 1所示实施例中的相应说明。  In an implementation manner of the embodiment, the transceiver 101 is configured to communicate with an external device, receive a service capability subscription request that is sent by the first terminal and subscribe to the service capability information of the second terminal, and send a service to the IWF to subscribe to the second terminal. The presence request of the capability information, and the reception of the NOTIFY message and the transmission of the service capability information of the second terminal to the first terminal, and the reception and transmission of other messages are not limited herein. The memory 102 is coupled to a processor 103 for storing various programs and applications, and is called by the processor 103 to execute the programs and applications to perform the corresponding functions. Specifically, the processor 103 can be used to determine that the operator of the second terminal supports the SIP OPTIONS capability discovery mechanism. For the specific determination manner, refer to the corresponding description in the embodiment shown in FIG. 1.
此外, 本实现方式中的处理器 103还可以用于执行图 1所示方法实施例中 描述的各步骤以及图 3和图 4所示实施例中呈现服务器执行的各步骤, 本发明 实施例在此不再详述。 In addition, the processor 103 in this implementation manner may also be used to execute the method embodiment shown in FIG. The steps of the description and the steps performed by the server in the embodiment shown in FIG. 3 and FIG. 4 are not described in detail herein.
在本实施例的另一种实现方式中, 收发器 101 用于与外部进行通信, 接收 第一终端发送的订阅第二终端的业务能力信息的业务能力订阅请求, 向第二终 端所属 IMS网络发送 SIP OPTIONS请求, 以及接收第二终端所属 IMS网络在 接收到 SIP OPTIONS请求后发送的 SIPOPTIONS响应和向第一终端发送第二终 端的业务能力信息, 以及进行其它的消息的接收和发送, 本发明实施例在此不 做限定。 存储器 102与处理器 103耦合, 存储器 102用于存储各种程序与应用, 由处理器 103调用以执行各程序与应用从而实现相应功能。 具体的, 处理器 103 可以用于根据第二终端的标识确定第二终端所属运营商支持 SIP OPTIONS能力 发现机制 (具体的确定方式请参照图 1 所示实施例中的相应说明); 用于执行 Presence请求与 SIP OPTIONS请求的转化以及 SIP OPTIONS响应与 NOTIFY消 息的转化(具体的信令转化方式请参照图 3所示实施例中的相应说明)等。 在 这种实现方式中, IWF与 Presence服务器构成一个整体, 由处理器 103调用存 储器 102中的程序与应用从而实现二者之间的消息传递, 包括: Presence请求、 NOTIFY消息、 202Accept响应等。  In another implementation manner of the embodiment, the transceiver 101 is configured to communicate with an external device, and receive a service capability subscription request that is sent by the first terminal and subscribe to the service capability information of the second terminal, and send the service capability subscription request to the IMS network to which the second terminal belongs. The SIP OPTIONS request, and receiving the SIPOPTIONS response sent by the IMS network to which the second terminal belongs after receiving the SIP OPTIONS request, and transmitting the service capability information of the second terminal to the first terminal, and receiving and transmitting other messages, the present invention implements The example is not limited here. The memory 102 is coupled to a processor 103 for storing various programs and applications, and is called by the processor 103 to execute the programs and applications to perform the corresponding functions. Specifically, the processor 103 may be configured to determine, according to the identifier of the second terminal, that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism (refer to the corresponding description in the embodiment shown in FIG. 1 for the specific determination manner); The conversion of the Presence request and the SIP OPTIONS request and the conversion of the SIP OPTIONS response and the NOTIFY message (refer to the corresponding description in the embodiment shown in FIG. 3 for the specific signaling conversion manner) and the like. In this implementation, the IWF and the Presence server are integrated, and the processor 103 calls the program and the application in the memory 102 to implement message passing between the two, including: a Presence request, a NOTIFY message, a 202Accept response, and the like.
此外, 本实现方式中的处理器 103还可以用于执行图 1和图 2所示方法实 施例中描述的各步骤以及图 3和图 4所示实施例中呈现服务器和 IWF执行的各 步骤, 本发明实施例在此不再详述。  In addition, the processor 103 in this implementation manner may also be used to perform the steps described in the method embodiments shown in FIG. 1 and FIG. 2 and the steps performed by the presentation server and the IWF in the embodiments shown in FIG. 3 and FIG. The embodiments of the present invention are not described in detail herein.
图 11是根据本发明实施例的一种 IWF的结构示意图,参照图 11 ,该 IWF110 包括:  FIG. 11 is a schematic structural diagram of an IWF according to an embodiment of the present invention. Referring to FIG. 11, the IWF 110 includes:
接收模块 1100, 用于接收第一终端的 Presence服务器发送的订阅第二终端 的业务能力信息的 Presence请求, 所述 Presence请求携带第二终端的标识; 以 及用于接收第二终端所属 IMS网络在接收到 SIP OPTIONS请求后发送至 IWF 的 SIP OPTIONS响应, 该 SIP OPTIONS响应包含第二终端的业务能力信息; 转化模块 1102, 用于将 Presence请求转化为 SIP OPTIONS请求, 和将 SIP OPTIONS响应转化为包含第二终端业务能力信息的 NOTIFY消息;  The receiving module 1100 is configured to receive a Presence request sent by the Presence server of the first terminal to subscribe to the service capability information of the second terminal, where the Presence request carries the identifier of the second terminal, and is configured to receive the IMS network to which the second terminal belongs to receive a SIP OPTIONS response sent to the IWF after the SIP OPTIONS request, the SIP OPTIONS response containing the service capability information of the second terminal; the conversion module 1102, configured to convert the Presence request into a SIP OPTIONS request, and convert the SIP OPTIONS response to include The NOTIFY message of the second terminal service capability information;
发送模块 1104,用于根据第二终端的标识向第二终端所属 IMS网络发送 SIP OPTIONS请求, 以及用于向呈现服务器发送 NOTIFY消息;  The sending module 1104 is configured to send, according to the identifier of the second terminal, a SIP OPTIONS request to the IMS network to which the second terminal belongs, and send a NOTIFY message to the presence server.
确定模块 1106, 用于在接收模块 1100接收到 Presence请求后根据 Presence 请求中的第二终端的标识确定第二终端所属运营商支持 SIP OPTIONS能力发现 机制, 从而确保转化模块 1102进行 Presence请求的转化以及发送模块 1104进 行 SIP OPTIONS请求的发送的有效性。 其中, 确定模块 1106是可选择模块, 即 IWF110可以没有确定模块 1106而不影响本发明实施例的正常实施。 The determining module 1106 is configured to, according to the Presence, after the receiving module 1100 receives the presence request The identifier of the second terminal in the request determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism, thereby ensuring the conversion module 1102 performs the conversion of the presence request and the validity of the sending module 1104 to perform the SIP OPTIONS request. The determining module 1106 is a selectable module, that is, the IWF 110 may not have the determining module 1106 without affecting the normal implementation of the embodiment of the present invention.
接收模块 1100可以直接与 Presence服务器通信以接收 Presence服务器发送 的 Presence请求; 发送模块 1104可以直接与 Presence服务器通信以向 Presence 服务器发送 NOTIFY消息, 此时, 发送模块 1104还可以直接与 Presence服务器 通信以发送表示接受订阅的响应(例如: 202响应)。 或者, 接收模块 1100可以 通过第一终端所属 IMS网络接收 Presence服务器发送的 Presence请求; 发送模 块 1104可以通过第一终端所属 IMS网络向 Presence服务器发送 NOTIFY消息, 此时,发送模块 1104还可以通过第一终端所属 IMS网络向 Presence服务器发送 表示接受订阅的响应。  The receiving module 1100 can directly communicate with the Presence server to receive the Presence request sent by the Presence server. The sending module 1104 can directly communicate with the Presence server to send a NOTIFY message to the Presence server. At this time, the sending module 1104 can also directly communicate with the Presence server to send. Represents a response to accept a subscription (for example: 202 response). Alternatively, the receiving module 1100 may receive the presence request sent by the Presence server through the IMS network to which the first terminal belongs; the sending module 1104 may send a NOTIFY message to the Presence server through the IMS network to which the first terminal belongs, and the sending module 1104 may also pass the first The IMS network to which the terminal belongs sends a response to the Presence Server indicating acceptance of the subscription.
其中, 转化模块 1102可以包括: 第一转化模块和第二转化模块。  The conversion module 1102 can include: a first conversion module and a second conversion module.
具体的, 第一转化模块用于将所述 Presence请求中使用的 SIP SUBSCRIBE 命令转化为 SIP OPTIONS命令;  Specifically, the first conversion module is configured to convert the SIP SUBSCRIBE command used in the Presence request into a SIP OPTIONS command;
第二转化模块用于在所述 SIP OPTIONS响应包含第二终端业务能力信息的 情况下, 将所述 SIP OPTIONS响应中表示业务能力信息的特征值转化为相应的 业务元组信息并将所述业务元组信息填写到所述 NOTIFY消息的消息体中; 在 所述 SIP OPTIONS 响应不包含第二终端业务能力信息的情况下, 将所述 NOTIFY消息的消息体中表示业务能力信息的标签中的内容置空。  The second conversion module is configured to convert, in the case that the SIP OPTIONS response includes the second terminal service capability information, a feature value indicating the service capability information in the SIP OPTIONS response into a corresponding service tuple information and the service The tuple information is filled in the message body of the NOTIFY message; in the case that the SIP OPTIONS response does not include the second terminal service capability information, the content in the label indicating the service capability information in the message body of the NOTIFY message is Blanking.
图 12为根据本发明实施例的一种 IWF结构示意图, 该 IWF120包括: 收发 器 121、 存储器 122、 处理器 123。  FIG. 12 is a schematic structural diagram of an IWF according to an embodiment of the present invention. The IWF 120 includes: a transceiver 121, a memory 122, and a processor 123.
具体的, 收发器 121可以用于与外部进行通信, 例如接收 Presence服务器 发送的订阅第二终端业务能力信息的 Presence请求, 向第二终端发送 SIP OPTIONS请求,以及接收 SIP OPTIONS响应和向 Presence服务器发送 NOTIFY 消息, 以及进行其它的消息的接收和发送, 本发明实施例在此不做限定。 存储 器 122与处理器 123耦合, 存储器 122用于存储各种程序与应用, 由处理器 123 调用以执行各程序与应用从而实现相应功能。 具体的, 处理器 123用于将收发 器 121接收到的 Presence请求转化为 SIP OPTIONS请求, 和将收发器 121接收 的 SIP OPTIONS响应转化为相应的 NOTIFY消息, 具体的转化过程请参照图 3 所示实施例中的相应说明。 Specifically, the transceiver 121 can be configured to communicate with the outside, for example, receiving a presence request sent by the Presence server to subscribe to the second terminal service capability information, sending a SIP OPTIONS request to the second terminal, and receiving the SIP OPTIONS response and sending the response to the Presence server. The NOTIFY message, and the receiving and sending of other messages, are not limited herein. The memory 122 is coupled to a processor 122 for storing various programs and applications, and is called by the processor 123 to execute the programs and applications to implement the corresponding functions. Specifically, the processor 123 is configured to convert the Presence request received by the transceiver 121 into a SIP OPTIONS request, and convert the SIP OPTIONS response received by the transceiver 121 into a corresponding NOTIFY message. For the specific conversion process, refer to FIG. 3 Corresponding description in the illustrated embodiment.
在本发明的各种装置实施例中, 对于其中的各种信令和信令的转化的具体 说明, 以及装置的各个模块实现其对应功能的方法说明请参照上文的方法实施 例中的相应描述。  In the various device embodiments of the present invention, for a detailed description of the conversion of various signaling and signaling therein, and a description of the method for implementing the corresponding functions of each module of the device, refer to the corresponding in the method embodiment above. description.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于一计算 机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体(Random Access Memory, RAM )等。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明一种较佳实施例而已, 当然不能以此来限定本发 明之权利范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵盖的 范围。  The above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and the equivalent changes made by the claims of the present invention are still within the scope of the present invention.

Claims

权 利 要 求 Rights request
1、一种呈现 Presence服务器发现非呈现用户业务能力的方法,其特征在于, 所述方法包括: 1. A method for a presence server to discover the service capabilities of non-presence users, characterized in that the method includes:
呈现服务器接收第一终端发送的订阅第二终端的业务能力信息的业务能力 订阅请求, 所述业务能力订阅请求携带所述第二终端的标识; The presence server receives a service capability subscription request sent by the first terminal to subscribe to the service capability information of the second terminal, where the service capability subscription request carries the identifier of the second terminal;
根据所述第二终端的标识确定所述第二终端所属运营商支持会话初始协议 选择 SIP OPTIONS能力发现机制; Determine that the operator to which the second terminal belongs supports the session initialization protocol and select the SIP OPTIONS capability discovery mechanism according to the identifier of the second terminal;
发送订阅所述第二终端的业务能力信息的 Presence请求至互通功能模块 IWF, 以便所述 IWF将所述 Presence请求转化为 SIP OPTIONS请求并向所述第 二终端所属 IP多媒体子系统 IMS网络发送所述 SIP OPTIONS请求,所述 Presence 请求携带所述第二终端的标识; Send a presence request for subscribing to the service capability information of the second terminal to the interworking function module IWF, so that the IWF converts the presence request into a SIP OPTIONS request and sends the presence request to the IMS network of the IP multimedia subsystem to which the second terminal belongs. The SIP OPTIONS request, the Presence request carries the identity of the second terminal;
接收所述 IWF发送的通知 NOTIFY消息, 所述 NOTIFY消息由所述 IWF 将所述第二终端所属 IMS 网络在接收到所述 SIP OPTIONS请求后发送至所述 IWF的 SIP OPTIONS响应转化而成, 所述 NOTIFY消息和所述 SIP OPTIONS 响应包含所述第二终端的业务能力信息。 Receive the notification NOTIFY message sent by the IWF. The NOTIFY message is formed by the IWF converting the SIP OPTIONS response sent to the IWF by the IMS network to which the second terminal belongs after receiving the SIP OPTIONS request, so The NOTIFY message and the SIP OPTIONS response include service capability information of the second terminal.
2、 如权利要求 1所述方法, 其特征在于, 所述根据所述第二终端的标识确 定所述第二终端所属运营商支持会话初始协议选择 SIP OPTIONS能力发现机制 包括: 2. The method according to claim 1, characterized in that, determining based on the identifier of the second terminal that the operator to which the second terminal belongs supports session initialization protocol selection SIP OPTIONS capability discovery mechanism includes:
所述呈现服务器根据所述业务能力订阅请求中的所述第一终端的标识和所 述第二终端的标识确定所述第二终端与所述第一终端属于不同运营商; The presence server determines that the second terminal and the first terminal belong to different operators based on the identity of the first terminal and the identity of the second terminal in the service capability subscription request;
所述呈现服务器根据其存储的不同运营商对应支持的业务能力发现机制确 定所述第二终端所属运营商支持 SIP OPTIONS能力发现机制; 如果所述呈现服 务器根据其存储的不同运营商对应支持的业务能力发现机制无法确定所述第二 终端所属运营商支持 SIP OPTIONS能力发现机制, 则所述呈现服务器根据所述 第二终端的标识以及通过 IMS网络向所述第二终端发送所述 Presence请求, 接 收到表示所述第二终端所属运营商不支持 Presence的响应, 则确定所述第二终 端所属运营商支持 SIP OPTIONS能力发现机制。 The presence server determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism based on the service capability discovery mechanisms stored by the presence server corresponding to different operators. If the capability discovery mechanism cannot determine that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism, the presence server sends the presence request to the second terminal according to the identifier of the second terminal and through the IMS network, and receives When receiving a response indicating that the operator to which the second terminal belongs does not support Presence, it is determined that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism.
3、 如权利要求 1所述方法, 其特征在于, 所述根据所述第二终端的标识确 定所述第二终端所属运营商支持会话初始协议选择 SIP OPTIONS能力发现机制 包括: 3. The method according to claim 1, characterized in that, determining based on the identifier of the second terminal that the operator to which the second terminal belongs supports session initialization protocol selection SIP OPTIONS capability discovery mechanism includes:
所述呈现服务器根据所述第二终端的标识以及通过 IMS网络向所述第二终 端发送所述 Presence请求,接收到表示所述第二终端所属运营商不支持 Presence 的响应, 则确定所述第二终端所属运营商支持 SIP OPTIONS能力发现机制。 The presence server sends the presence request to the second terminal according to the identity of the second terminal and through the IMS network, and upon receiving a response indicating that the operator to which the second terminal belongs does not support presence, determines that the first The operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism.
4、 如权利要求 1至 3任一项所述方法, 其特征在于, 所述发送订阅所述第 二终端的业务能力信息的 Presence请求包括: 4. The method according to any one of claims 1 to 3, characterized in that said sending a Presence request for subscribing to the service capability information of the second terminal includes:
当所述业务能力订阅请求为周期性订阅时, 所述呈现服务器存储所述第一 终端周期性订阅所述第二终端业务能力信息的订阅关系, 所述订阅关系包括所 述第一终端所属运营商或用户设置的时间间隔; When the service capability subscription request is a periodic subscription, the presence server stores a subscription relationship for the first terminal to periodically subscribe to the service capability information of the second terminal. The subscription relationship includes an operation to which the first terminal belongs. The time interval set by the supplier or user;
根据所述第一终端所属运营商或用户设置的时间间隔, 发送所述 Presence 请求。 The presence request is sent according to the time interval set by the operator or user of the first terminal.
5、 如权利要求 1至 4任一项所述方法, 其特征在于, 5. The method according to any one of claims 1 to 4, characterized in that,
所述发送订阅所述第二终端的业务能力信息的 Presence请求至互通功能模 块 IWF包括: The sending of the Presence request for subscribing the service capability information of the second terminal to the interworking function module IWF includes:
所述呈现服务器直接与所述 IWF通信以将所述 Presence请求发送至所述 IWF; The presence server communicates directly with the IWF to send the Presence request to the IWF;
所述接收所述 IWF发送的 NOTIFY消息包括: The receiving the NOTIFY message sent by the IWF includes:
所述呈现服务器直接与所述 IWF通信以接收所述 IWF发送的所述 NOTIFY 消息。 The presence server communicates directly with the IWF to receive the NOTIFY message sent by the IWF.
6、 如权利要求 1至 4任一项所述方法, 其特征在于, 6. The method according to any one of claims 1 to 4, characterized in that,
所述发送订阅所述第二终端的业务能力信息的 Presence请求至互通功能模 块 IWF包括: The sending of the Presence request for subscribing the service capability information of the second terminal to the interworking function module IWF includes:
所述呈现服务器通过所述第一终端所属 IMS网络将所述 Presence请求发送 至所述 IWF; The presence server sends the Presence request to the IWF through the IMS network to which the first terminal belongs;
所述接收所述 IWF发送的 NOTIFY消息包括: 所述呈现服务器通过所述第一终端所属 IMS网络接收所述 IWF发送的所述 NOTIFY消息。 The receiving the NOTIFY message sent by the IWF includes: The presence server receives the NOTIFY message sent by the IWF through the IMS network to which the first terminal belongs.
7、一种呈现 Presence服务器发现非呈现用户业务能力的方法,其特征在于, 所述方法包括: 7. A method for a presence server to discover the service capabilities of non-presence users, characterized in that the method includes:
互通功能模块 IWF接收呈现服务器发送的订阅所述第二终端业务能力信息 的 Presence请求, 所述 Presence请求携带所述第二终端的标识; The interworking function module IWF receives a Presence request sent by the presence server to subscribe to the service capability information of the second terminal, where the Presence request carries the identity of the second terminal;
将所述 Presence请求转化为 SIP OPTIONS请求; Convert the Presence request into a SIP OPTIONS request;
根据所述第二终端的标识向所述第二终端所属 IMS 网络发送所述 SIP OPTIONS请求; Send the SIP OPTIONS request to the IMS network to which the second terminal belongs according to the identification of the second terminal;
接收所述第二终端所属 IMS网络在接收到所述 SIP OPTIONS请求后发送至 所述 IWF的 SIP OPTIONS响应并将所述 SIP OPTIONS响应转化为 NOTIFY消 息, 所述 SIP OPTIONS响应和所述 NOTIFY消息包含所述第二终端的业务能力 信息; Receive the SIP OPTIONS response sent to the IWF by the IMS network to which the second terminal belongs after receiving the SIP OPTIONS request and convert the SIP OPTIONS response into a NOTIFY message, where the SIP OPTIONS response and the NOTIFY message include Business capability information of the second terminal;
向所述呈现服务器发送所述 NOTIFY消息。 Send the NOTIFY message to the presence server.
8、 如权利要求 7所述方法, 其特征在于, 所述方法还包括: 8. The method according to claim 7, characterized in that, the method further includes:
在所述 IWF接收所述呈现服务器发送的订阅所述第二终端业务能力信息的 Presence请求之后,并且在将所述 Presence请求转化为 SIP OPTIONS请求之前, 所述 IWF 根据所述第二终端的标识确定所述第二终端所属运营商支持 SIP OPTIONS能力发现机制。 After the IWF receives the presence request sent by the presence server to subscribe to the service capability information of the second terminal, and before converting the presence request into a SIP OPTIONS request, the IWF determines the presence of the second terminal according to the identity of the second terminal. It is determined that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism.
9、 如权利要求 7或 8所述方法, 其特征在于, 9. The method according to claim 7 or 8, characterized in that,
所述 IWF接收呈现服务器发送的订阅所述第二终端的业务能力信息的 Presence请求包括: The IWF receiving the Presence request sent by the presence server to subscribe to the service capability information of the second terminal includes:
所述 IWF直接与所述呈现服务器通信以接收所述 Presence请求; The IWF communicates directly with the presence server to receive the Presence request;
所述向所述呈现服务器发送所述 NOTIFY消息包括: Sending the NOTIFY message to the presence server includes:
所述 IWF 直接与所述呈现服务器通信以向所述呈现服务器发送所述 NOTIFY消息。 The IWF communicates directly with the presence server to send the NOTIFY message to the presence server.
10、 如权利要求 7或 8所述方法, 其特征在于, 10. The method according to claim 7 or 8, characterized in that,
所述 IWF接收呈现服务器发送的订阅所述第二终端的业务能力信息的 Presence请求包括: The IWF receiving the Presence request sent by the presence server to subscribe to the service capability information of the second terminal includes:
所述 IWF通过所述第一终端所属 IMS网络接收所述 Presence请求; 所述向所述呈现服务器发送所述 NOTIFY消息包括: The IWF receives the Presence request through the IMS network to which the first terminal belongs; sending the NOTIFY message to the presence server includes:
所述 IWF通过所述第一终端所属 IMS网络将所述 NOTIFY消息发送至所述 呈现服务器。 The IWF sends the NOTIFY message to the presence server through the IMS network to which the first terminal belongs.
11、 一种呈现 Presence服务器, 其特征在于, 所述呈现服务器包括: 第一接收模块: 用于接收第一终端发送的订阅第二终端的业务能力信息的 业务能力订阅请求, 所述业务能力订阅请求携带所述第二终端的标识; 以及用 于接收互通功能模块 IWF发送的 NOTIFY消息,所述 NOTIFY消息由所述 IWF 将所述第二终端所属 IP多媒体子系统 IMS网络在接收到 SIP OPTIONS请求后发 送至所述 IWF的 SIP OPTIONS响应转化而成, 所述 NOTIFY消息和所述 SIP OPTIONS响应包含所述第二终端的业务能力信息; 11. A presence server, characterized in that, the presence server includes: a first receiving module: configured to receive a business capability subscription request sent by a first terminal to subscribe to the business capability information of a second terminal, the business capability subscription The request carries the identification of the second terminal; and is used to receive the NOTIFY message sent by the interworking function module IWF. The NOTIFY message is sent by the IWF to the IP multimedia subsystem IMS network to which the second terminal belongs after receiving the SIP OPTIONS request. The NOTIFY message and the SIP OPTIONS response include the service capability information of the second terminal;
第一确定模块, 用于根据所述第二终端的标识确定所述第二终端所属运营 商支持 SIP OPTIONS能力发现机制; A first determination module, configured to determine, according to the identifier of the second terminal, that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism;
第一发送模块, 用于发送订阅所述第二终端的业务能力信息的 Presence请 求至所述 IWF, 以便所述 IWF将所述 Presence请求转化为所述 SIP OPTIONS 请求并向所述第二终端所属 IMS网络发送所述 SIP OPTIONS请求,所述 Presence 请求携带所述第二终端的标识。 A first sending module, configured to send a presence request for subscribing to the service capability information of the second terminal to the IWF, so that the IWF converts the presence request into the SIP OPTIONS request and sends it to the second terminal. The IMS network sends the SIP OPTIONS request, and the Presence request carries the identity of the second terminal.
12、如权利要求 11所述呈现服务器, 其特征在于, 所述第一确定模块包括: 第二确定模块, 用于根据所述业务能力订阅请求中的所述第一终端的标识 和所述第二终端的标识确定所述第二终端与所述第一终端属于不同运营商; 第一存储模块, 用于存储不同运营商对应支持的业务能力发现机制; 第三确定模块, 用于根据所述第一存储模块存储的不同运营商对应支持的 业务能力发现机制确定所述第二终端所属运营商支持 SIP OPTIONS能力发现机 制。 12. The presence server of claim 11, wherein the first determination module includes: a second determination module, configured to determine based on the identity of the first terminal and the third terminal in the service capability subscription request. The identifiers of the two terminals determine that the second terminal and the first terminal belong to different operators; the first storage module is used to store the service capability discovery mechanisms correspondingly supported by different operators; the third determination module is used to determine according to the The service capability discovery mechanism correspondingly supported by different operators stored in the first storage module determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism.
13、如权利要求 11所述呈现服务器, 其特征在于, 所述第一确定模块包括: 第二发送模块, 用于根据所述第二终端的标识以及通过 IMS网络向所述第 二终端发送所述 Presence请求; 13. The presence server of claim 11, wherein the first determining module includes: a second sending module, configured to send the information to the second terminal according to the identity of the second terminal and through the IMS network. Described Presence request;
第二接收模块, 用于接收表示所述第二终端所属运营商不支持 Presence的 响应; A second receiving module, configured to receive a response indicating that the operator to which the second terminal belongs does not support Presence;
第四确定模块, 用于在所述第二接收模块接收到表示所述第二终端所属运 营商不支持 Presence的响应时,确定所述第二终端所属运营商支持 SIP OPTIONS 能力发现机制。 The fourth determination module is configured to determine that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism when the second receiving module receives a response indicating that the operator to which the second terminal belongs does not support Presence.
14、 如权利要求 13所述呈现服务器, 其特征在于, 所述第一确定模块还包 括: 14. The presentation server according to claim 13, wherein the first determination module further includes:
第五确定模块, 用于根据所述业务能力订阅请求中的所述第一终端的标识 和所述第二终端的标识确定所述第二终端与所述第一终端属于不同运营商; 第二存储模块, 用于存储不同运营商对应支持的业务能力发现机制; 第六确定模块, 用于根据所述第二存储模块存储的不同运营商对应支持的 业务能力发现机制确定所述第二终端所属运营商支持 SIP OPTIONS能力发现机 制, 如果无法确定, 则触发所述第二发送模块。 A fifth determination module, configured to determine that the second terminal and the first terminal belong to different operators based on the identity of the first terminal and the identity of the second terminal in the service capability subscription request; second The storage module is used to store the service capability discovery mechanisms correspondingly supported by different operators; the sixth determination module is used to determine the second terminal to which the second terminal belongs based on the service capability discovery mechanisms correspondingly supported by different operators stored in the second storage module. The operator supports the SIP OPTIONS capability discovery mechanism. If it cannot be determined, the second sending module is triggered.
15、 如权利要求 11至 14任一项所述呈现服务器, 其特征在于, 所述呈现 服务器还包括: 15. The presentation server according to any one of claims 11 to 14, characterized in that, the presentation server further includes:
第三存储模块, 用于存储所述第一终端周期性订阅所述第二终端的业务能 力信息的订阅关系, 所述订阅关系包括所述第一终端所属运营商或用户设置的 时间间隔; A third storage module configured to store a subscription relationship in which the first terminal periodically subscribes to the service capability information of the second terminal, where the subscription relationship includes a time interval set by the operator or user to which the first terminal belongs;
计时触发模块, 用于根据所述第一终端所属运营商或用户设置的时间间隔, 触发所述呈现服务器发送所述 Presence请求。 A timing triggering module, configured to trigger the presence server to send the presence request according to a time interval set by the operator or user to which the first terminal belongs.
16、 如权利要求 11至 15任一项所述呈现服务器, 其特征在于, 16. The presentation server according to any one of claims 11 to 15, characterized in that,
所述第一发送模块用于在所述第一确定模块确定所述第二终端所属运营商 支持 SIP OPTIONS能力发现机制后, 通过所述第一终端所属 IMS 网络将所述 Presence请求发送至所述 IWF; 所述第一接收模块用于通过所述第一终端所属 IMS网络接收所述 IWF发送 的所述 NOTIFY消息。 The first sending module is configured to send the presence request to the first terminal through the IMS network to which the first terminal belongs after the first determining module determines that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism. IWF; The first receiving module is configured to receive the NOTIFY message sent by the IWF through the IMS network to which the first terminal belongs.
17、 如权利要求 11至 15任一项所述呈现服务器, 其特征在于, 所述呈现 服务器包括所述 IWF, 所述 IWF包括: 17. The presentation server according to any one of claims 11 to 15, characterized in that the presentation server includes the IWF, and the IWF includes:
第三接收模块, 用于直接与所述第一发送模块通信以接收所述第一发送模 块发送的所述 Presence请求, 以及用于接收所述 SIP OPTIONS响应; A third receiving module, configured to communicate directly with the first sending module to receive the Presence request sent by the first sending module, and to receive the SIP OPTIONS response;
转化模块, 用于将所述 Presence请求转化为所述 SIP OPTIONS请求, 以及 用于将所述 SIP OPTIONS响应转化为所述 NOTIFY消息; A conversion module, used to convert the Presence request into the SIP OPTIONS request, and used to convert the SIP OPTIONS response into the NOTIFY message;
第三发送模块, 用于发送所述 SIP OPTIONS请求, 以及用于直接与所述第 一接收模块通信以将所述 NOTIFY消息发送至所述第一接收模块。 The third sending module is used to send the SIP OPTIONS request, and is used to directly communicate with the first receiving module to send the NOTIFY message to the first receiving module.
18、 一种互通功能模块 IWF, 其特征在于, 所述 IWF包括: 18. An interoperability function module IWF, characterized in that the IWF includes:
接收模块, 用于接收第一终端的呈现服务器发送的订阅第二终端业务能力 信息的 Presence请求, 所述 Presence请求携带所述第二终端的标识; 以及用于 接收所述第二终端所属 IP多媒体子系统 IMS网络在接收到 SIP OPTIONS请求后 发送至所述 IWF的 SIP OPTIONS响应, 所述 SIP OPTIONS响应包含所述第二 终端的业务能力信息; A receiving module, configured to receive a presence request sent by the presence server of the first terminal to subscribe to the service capability information of the second terminal, where the presence request carries the identification of the second terminal; and to receive the IP multimedia to which the second terminal belongs. After receiving the SIP OPTIONS request, the subsystem IMS network sends a SIP OPTIONS response to the IWF, where the SIP OPTIONS response contains the service capability information of the second terminal;
转化模块, 用于将所述 Presence请求转化为所述 SIP OPTIONS请求, 以及 用于将所述 SIP OPTIONS 响应转化为包含所述第二终端业务能力信息的 NOTIFY消息; A conversion module for converting the Presence request into the SIP OPTIONS request, and for converting the SIP OPTIONS response into a NOTIFY message containing the second terminal service capability information;
发送模块, 用于根据所述第二终端的标识向所述第二终端所属 IMS网络发 送所述 SIP OPTIONS请求,以及用于向所述呈现服务器发送所述 NOTIFY消息。 A sending module, configured to send the SIP OPTIONS request to the IMS network to which the second terminal belongs according to the identity of the second terminal, and to send the NOTIFY message to the presence server.
19、 如权利要求 18所述 IWF, 其特征在于, 所述 IWF还包括: 19. The IWF according to claim 18, characterized in that the IWF further includes:
确定模块, 用于在所述接收模块接收到所述 Presence 请求后根据所述 Presence 请求中的第二终端的标识确定所述第二终端所属运营商支持 SIP OPTIONS能力发现机制。 A determining module, configured to determine that the operator to which the second terminal belongs supports the SIP OPTIONS capability discovery mechanism based on the identity of the second terminal in the presence request after the receiving module receives the presence request.
20、 如权利要求 18或 19所述 IWF, 其特征在于, 所述接收模块用于直接与所述呈现服务器通信以接收所述呈现服务器发送 的所述 Presence请求, 所述发送模块用于直接与所述呈现服务器通信以向所述 呈现服务器发送所述 NOTIFY消息; 或者, 20. The IWF according to claim 18 or 19, characterized in that, The receiving module is used to communicate directly with the presence server to receive the Presence request sent by the presence server, and the sending module is used to communicate directly with the presence server to send the NOTIFY message to the presence server. ; or,
所述接收模块用于通过所述第一终端所属 IMS网络接收述呈现服务器发送 的所述 Presence请求, 所述发送模块用于通过所述第一终端所属 IMS网络向所 述呈现服务器发送所述 NOTIFY消息。 The receiving module is configured to receive the Presence request sent by the presence server through the IMS network to which the first terminal belongs, and the sending module is used to send the NOTIFY to the presence server through the IMS network to which the first terminal belongs. information.
PCT/CN2012/078267 2012-07-06 2012-07-06 Method and corresponding device for presence server to find non-presence user service capability WO2014005317A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280001193.1A CN103999425B (en) 2012-07-06 2012-07-06 Presence server finds method and the related device of non-exhibiting user professional ability
PCT/CN2012/078267 WO2014005317A1 (en) 2012-07-06 2012-07-06 Method and corresponding device for presence server to find non-presence user service capability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/078267 WO2014005317A1 (en) 2012-07-06 2012-07-06 Method and corresponding device for presence server to find non-presence user service capability

Publications (1)

Publication Number Publication Date
WO2014005317A1 true WO2014005317A1 (en) 2014-01-09

Family

ID=49881264

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078267 WO2014005317A1 (en) 2012-07-06 2012-07-06 Method and corresponding device for presence server to find non-presence user service capability

Country Status (2)

Country Link
CN (1) CN103999425B (en)
WO (1) WO2014005317A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007025803A (en) * 2005-07-12 2007-02-01 Kyowa Exeo Corp Presence information acquisition method and device
US20080028211A1 (en) * 2006-07-26 2008-01-31 Kabushiki Kaisha Toshiba Server apparatus, terminal device, and method for performing IP multicast communication
CN101159569A (en) * 2007-10-26 2008-04-09 华为技术有限公司 Method of issuing user service capability and present server and communication service system
CN101682617A (en) * 2007-05-11 2010-03-24 艾利森电话股份有限公司 Group call capability query
US7730156B1 (en) * 2003-03-27 2010-06-01 Sprint Spectrum L.P. Method and system for reporting changes in PIM data
CN101998374A (en) * 2009-08-31 2011-03-30 中兴通讯股份有限公司 Presence information subscribing method and IP multimedia subsystem

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007062566A1 (en) * 2005-11-29 2007-06-07 Huawei Technologies Co. Ltd. A method and system for implementing the service subscription
CN101184258B (en) * 2006-11-15 2012-03-21 华为技术有限公司 Message intercommunication method, system and message intercommunication entity
CN101207577B (en) * 2006-12-19 2011-04-13 华为技术有限公司 Interconnecting method among message systems and message interconnecting gateway

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7730156B1 (en) * 2003-03-27 2010-06-01 Sprint Spectrum L.P. Method and system for reporting changes in PIM data
JP2007025803A (en) * 2005-07-12 2007-02-01 Kyowa Exeo Corp Presence information acquisition method and device
US20080028211A1 (en) * 2006-07-26 2008-01-31 Kabushiki Kaisha Toshiba Server apparatus, terminal device, and method for performing IP multicast communication
CN101682617A (en) * 2007-05-11 2010-03-24 艾利森电话股份有限公司 Group call capability query
CN101159569A (en) * 2007-10-26 2008-04-09 华为技术有限公司 Method of issuing user service capability and present server and communication service system
CN101998374A (en) * 2009-08-31 2011-03-30 中兴通讯股份有限公司 Presence information subscribing method and IP multimedia subsystem

Also Published As

Publication number Publication date
CN103999425A (en) 2014-08-20
CN103999425B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
US10560489B2 (en) Method and device for processing a piece of information indicative of a desire to be involved in at least one user application session
US8266203B2 (en) Method for obtaining device information of user terminals and communication service function entity
EP2131546B1 (en) Method, system, and apparatus for processing business message with a plurality of terminals
JP5156645B2 (en) Display network availability status information in presence information
US20140372557A1 (en) System and Method for Adaptation of Capability Discovery for a Multitude of Transport Protocol Requirements/Scenarios Through Interworking
US9037734B2 (en) Method for performing transfer of collaborative session control in wireless communication system based on internet protocol multimedia subsystem
WO2009092263A1 (en) A terminal, a server, a method for managing the terminal and a method for reporting the terminal ability information
US8185094B2 (en) Message handling in an IP multimedia subsystem
US20080270553A1 (en) Method and System for Instant Notification of Communication Block Information
EP2418817B1 (en) Application server for managing communications towards a set of user entities
WO2010040301A1 (en) Method, device, gateway and agent for pushing message to multiple terminals
WO2008058486A1 (en) Group user registration method, state update method, processing equipment, ims network entity and communication system
US20160308993A1 (en) Methods and apparatus for aggregating and distributing contact and presence information
JP2009508242A (en) Method and apparatus for retaining information in an IMS client
EP1914973A1 (en) System and method to provide combinational services to anonymous callers
WO2011143821A1 (en) Method and device for forking call request to called user address
EP2140664B1 (en) Method and apparatus for use in a communications network
WO2008138186A1 (en) Method and system for configuring service on terminal
KR20130073941A (en) Network entity and method for managing session initiation protocol communications towards a user entity in a communication network
WO2012037799A1 (en) Digital television reception terminal and method enabling multimedia instant messaging therefor
US11418635B2 (en) Method of dynamic selection, by a caller, from a plurality of terminals of a callee
WO2014005317A1 (en) Method and corresponding device for presence server to find non-presence user service capability
CN102571710B (en) Information subscribing method and system
US11540209B2 (en) Method for determining a set of encoding formats in order to establish a communication
US20180375901A1 (en) Method of communication between a calling terminal and a plurality of called terminals

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: 12880669

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: 12880669

Country of ref document: EP

Kind code of ref document: A1