WO2007068206A1 - A method and network entity for operating the session capability information - Google Patents

A method and network entity for operating the session capability information Download PDF

Info

Publication number
WO2007068206A1
WO2007068206A1 PCT/CN2006/003395 CN2006003395W WO2007068206A1 WO 2007068206 A1 WO2007068206 A1 WO 2007068206A1 CN 2006003395 W CN2006003395 W CN 2006003395W WO 2007068206 A1 WO2007068206 A1 WO 2007068206A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
message
network
capability information
information
Prior art date
Application number
PCT/CN2006/003395
Other languages
French (fr)
Chinese (zh)
Inventor
Long Luo
Lei Zhu
Yajuan Wu
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007068206A1 publication Critical patent/WO2007068206A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]

Definitions

  • the present invention relates to session establishment techniques in a Session Initiation Protocol (SIP) network, and more particularly to a method and network entity for performing session capability information operations during session establishment.
  • SIP Session Initiation Protocol
  • mobile communications are not limited to traditional voice communications, but can also combine multiple media services such as audio, video, pictures and text.
  • a variety of media services can meet the diverse needs of user equipment (UE) by combining data services such as presence, short message, web browsing, location information, push service (PUSH) and file sharing.
  • UE user equipment
  • data services such as presence, short message, web browsing, location information, push service (PUSH) and file sharing.
  • PUSH push service
  • 3GPP and 3GPP2 have successively launched IMS architectures.
  • the purpose is to implement a variety of multimedia service applications using a standardized open architecture in mobile networks, providing more to the UE. Choice and richer feelings.
  • IMS In the 3GPP Release 5 (R5, Release) phase, IMS is introduced, which is superimposed on the packet domain network, by Call Control Function (CSCF), Media Gateway Control Function (MGCF), Media Resource Function (MRF) and Home Subscriber A functional entity such as a server (HSS).
  • the CSCF can be divided into three logical entities: service CSCF (S-CSCF), proxy CSCF (P-CSCF) and query CSCF (I-CSCF).
  • S-CSCF service switching center of the IMS, performs session control, maintains session state, is responsible for managing UE information, and generates charging information.
  • the P-CSCF is an access point for the UE to access the IMS, completes UE registration, and is responsible for quality of service (QoS) Control and security management;
  • the I-CSCF is responsible for interworking between IMS domains, managing the allocation and selection of S-CSCFs, hiding network topology and configuration, and generating billing data.
  • the MGCF controls the gateway to implement interworking between the IMS and other networks.
  • MRF provides media resources.
  • the HSS stores subscription data, configuration information, and the like of the UE.
  • the IMS network defined by 3GPP can also be applied to the packet network defined in 3GPP2, providing interworking with multiple types of networks, and achieving independence from the use of terminal types. Therefore, there is no restriction on IMS being applied only to 3GPP related networks and applications. Other types of access networks and bearer network services and applications can also be implemented by the IMS architecture.
  • SIP is an IP telephony signaling protocol proposed by the Internet Engineering Task Force (IETF). SIP is used to initiate a session. It can control the establishment and termination of multimedia sessions attended by multiple participants, and can dynamically adjust and modify session attributes such as session bandwidth requirements, media types (voice, video, text, etc.), media. Codec format, support for multicast and unicast, etc. In IMS, the SIP protocol is used as the signaling control protocol for IP multimedia sessions.
  • IETF Internet Engineering Task Force
  • the service platform of the IMS network is a service platform based on SIP established Internet Protocol (IP) telephony sessions.
  • IP Internet Protocol
  • a session needs to be established between the terminal and the terminal or the AS.
  • the calling and called terminals need to negotiate the service capability, and the IMS in the process of the service capability negotiation.
  • Network entities on the network may participate in the process of business capability negotiation.
  • the service capability of a session refers to the ability to implement the required business needs after the negotiation of the session is completed.
  • the information of the business capability can be carried by the message body of the SIP message, and can be through Content/sdp, Content/application or Content/mime.
  • the calling terminal when the calling and called terminals negotiate the session through the IMS network, the calling terminal sends a session establishment request message to the called terminal through the IMS network, and the request uses the SIP message and carries the session capability information, and the request passes the Processing of network entities in an IMS network.
  • the network entity in the IMS network forwards the request to the called terminal.
  • the called terminal determines that it does not support the service capability of the calling terminal according to the session capability information carried in the request, it returns to the network entity or the master in the IMS network. Calling the terminal error response message, the network entity or the calling terminal in the IMS network receives the error response message and then re-executes the main called terminal.
  • negotiation and conversion of end business capabilities when the calling and called terminals negotiate the session through the IMS network, the calling terminal sends a session establishment request message to the called terminal through the IMS network, and the request uses the SIP message and carries the session capability information, and the request passes the Processing of network entities in an IMS network.
  • the service capability described herein refers to various capabilities required by the network entity of the IMS network or the calling and called terminal to implement the service, such as codec capability, multimedia processing capability, media parameter capability, and application, etc.
  • Information refers to the description of service capabilities, such as the method specified by the Session Description Protocol (SDP), and can also be described in the message body using XML voice and SCRIPT methods.
  • SDP Session Description Protocol
  • the network entity included in the process includes: a calling terminal UE1, a P-CSCF#1 to which the UE1 belongs, an S-CSCF#1 to which the UE1 belongs, and a called terminal.
  • UE2 P-CSCF #2 to which the called terminal UE2 belongs, and S-CSCF#1 to which UE1 belongs, the specific process is as follows:
  • Step 101 The UE1 adds an encoding parameter to the load of the SDP, where the encoding parameter reflects the service capability of the UE1 and the encoding parameters expected in the session.
  • Step 102 Carry an SDP in the session establishment request (INVITE) sent by UE1, and send it to P-CSCF#1.
  • Step 103 The P-CSCF#1 checks the media parameter information in the SDP. If the P-CSCF#1 cannot allow the media parameter information to be used in the session due to local policy reasons or QoS authorization reasons, the service capability negotiation is denied. . The rejection message will contain enough information to inform UE1 so that UE1 initiates the next session negotiation based on this information.
  • Step 104 P-CSCF#1 allows media parameter information to be used in the session, and CSCF #1 forwards the INVITE to S-CSCF #1.
  • Step 105 The S-CSCF#1 checks the media parameter information described in the SDP. If the S-CSCF#1 cannot allow the media parameter information to be used in the session due to the local policy reason or the UE1 subscription, the service capability negotiation is rejected. The rejection message will contain enough information to inform UE1 so that UE1 initiates the next session negotiation based on this information.
  • Step 106 S-CSCF#1 allows media parameter information to be used in the session, S-CSCF# 1 Forward the INVITE to S-CSCF # 2.
  • Step 107 The S-CSCF #2 checks the media parameter information described in the SDP. If the S-CSCF #2 cannot allow the media parameter information to be used in the session due to the local policy reason or the UE2 subscription, the service capability negotiation is rejected. In the rejection message, sufficient information is sent to UE1 so that 'UE1 initiates the next session negotiation based on this information.
  • Step 108 S-CSCF#2 allows the media parameter information to be used in the session, and S-CSCF#2 forwards the INVITE to P-CSCF #2.
  • Step 109 The P-CSCF#2 checks the media parameter information described in the SDP. If the P-CSCF #2 cannot allow the media parameter information to be used in the session due to local policy reasons or QoS authorization reasons, the service capability negotiation is rejected. . The rejection message will contain enough information to inform UE1 so that UE1 initiates the next session negotiation based on this information.
  • P-CSCF # 2 generates an authorization token (Authentication-Token).
  • Step 110 P-CSCF#2 allows media parameter information to be used in the session, P-CSCF#2 forwards the INVITE to UE #2, and the authorization token is included in the INVITE.
  • Step 111 UE#2 determines a complete set of encodings for completing the session, and compares the intersection of the encoded information in the SDP in the message. If any media is not supported, the port number of the media description is set to 0, for the supporting media. The port number of the media description is inserted to assign a port number.
  • Step 112 UE2 returns an SDP response to P-CSCF #2, that is, a description of a group of media streams and codes.
  • Step 113 P-CSCF#2 authorizes retaining these media streams and encoded QoS resources.
  • Step 115 S-CSCF#2 forwards the SDP response to S-CSCF#1.
  • Step 116 S-CSCF#1 forwards the SDP response to P-CSCF#1.
  • Step 117 P-CSCF#1 authorizes retaining these media streams and encoded QoS resources.
  • Step 119 UE1 determines which media streams are used in the session, and UE1 determines which encoding parameters are used in the media stream. If more than one media stream can be selected in a session, or if more than one encoding parameter can be selected in a media stream, then UE1 needs to negotiate with UE2 again to reduce the number of encoding parameters to one.
  • Steps 120-124 UE1 sends a proposed SDP (sold SDP) to UE2.
  • the coding parameters used in the session can be negotiated during the session negotiation process, and the coding parameters are the service capabilities negotiated by the called terminal.
  • the network entity decides whether to accept the negotiation request according to the local policy, the quality of service (QoS) authorization, or the subscription of the user. If the network entity rejects the session negotiation, it returns a rejection response, and in the response of the rejection. Provide sufficient information to the calling terminal so that the calling terminal decides how to proceed to the next session negotiation.
  • QoS quality of service
  • the IMS network entity involved in this process includes: an S-CSCF, an AS in the IMS network, and an MRF that provides IMS network media resources. The specific steps are as follows:
  • Step 200 The calling terminal UE1 sends an INVITE request carrying the session capability information of the UE1 to the S-CSCF, where the request carries a service identifier, which is used to identify the service type of the current service request.
  • Step 201 The S-CSCF returns, to the UE1, a response that receives the INVITE request, that is, a 100 Trying message.
  • Step 202 The S-CSCF determines, according to the service identifier carried in the INVITE request, the AS that processes the current service request, and forwards the INVITE request that carries the session capability information of the UE1 to the determined AS.
  • Step 203 The AS returns a response of the INVITE request to the S-CSCF.
  • Step 206 The S-CSCF sends an acknowledgement message, that is, an ACK message, to the UE2 that receives the error message.
  • Step 207 The S-CSCF forwards an error message, that is, a 606-2 message, to the AS.
  • Step 209 The AS returns an acknowledgement message, that is, an ACK-2 message, to the S-CSCF that receives the error message.
  • the INVITE request, the SDP of the UE2 is obtained by the AS from an error message carrying the session capability information supported by the UE2.
  • Steps 213 to 214 The S-CSCF sends a 200 OK response to the AS, and the AS returns an acknowledgement message, that is, an ACK-3 message, to the S-CSCF to receive the 200 OK message.
  • Step 215 The S-CSCF returns an acknowledgement message, that is, an ACK-3 message, to the MRP that receives the 200 OK message.
  • Step 216 Determine that the data transmitted between the UE1 and the UE2 is to be converted according to the SDP supported by the UE1 and the service capability supported by the UE2, and then continue to perform the subsequent establishment session according to the 3GPP IMS specification until the UE1 and the UE2 Establish a session between.
  • a method for performing session capability information operations comprising:
  • the session message may be a session establishment request message, a session establishment response message, a session establishment negotiation message, a session establishment negotiation confirmation message, a session update message, or a session update confirmation message.
  • the session establishment request message is an INVITE message or a REFER message; the session establishment response message is a 200 OK message; the session establishment negotiation message is a 183 message; and the session establishment negotiation confirmation message is a PRACK message.
  • the session update message is an UPDATE message or a REINVITE message; the session update confirmation message is a 200 OK message.
  • the network entity in the SIP network may add, delete, or/and modify the content in the session capability information in the session message sent by the calling party, and set the attribute information in the session capability information.
  • the modification of the message by the network entity further includes adding, deleting, or/and modifying the attribute information of the session capability information, and the session message is a session establishment request message or a session establishment response message.
  • the session capability information in the session message can be used.
  • the method description specified by the SDP protocol can also be described by describing a media information language (XML), or a scripting language (SCRIPT).
  • the modification of the session capability information specified by the SDP protocol may be extended to the description method specified by the SDP protocol.
  • Capability Server can also be replaced by Capability Provide Function.
  • the UE is mainly used as a calling party that initiates session negotiation as an example.
  • the calling party that initiates the session and the called party that terminates the session may be the UE, or may be the border gateway of the AS or SIP network that performs the client agent (UA).
  • the calling and called UEs in the SIP network can use the service capability negotiation method of the embodiment of the present invention as the calling party and the called party to perform session negotiation; a calling UE and an AS in the SIP network can serve as the calling party and the calling party.
  • the called party uses the service capability negotiation method of the embodiment of the present invention to perform session negotiation.
  • the two ASs in the SIP network can also use the service capability negotiation method of the embodiment of the present invention to perform session negotiation.
  • Step 300 The calling party sends a session establishment request message to the calling party side network entity, where the request message carries the session capability information of the calling party.
  • Step 303 The session negotiation processing entity may send a service capability query request supported by the SIP network to the Capability Server.
  • Step 304 The Capability Server returns a service capability query request response supported by the SIP network to the session negotiation processing entity, where the response carries the session capability information supported by the SIP network, for example, the description of the session capability information supported by the SIP network, SDP1, SDP2, and SDP3. And SDP4.
  • Steps 308-309 The called party that receives the session establishment request message carries the session capability information, such as the service capabilities described by SDP1, SDP2, SDP3, and SDP4, according to the service capability, and selects the service capability supported by itself, such as the service described by SDP4.
  • the capability by the called party side network entity, returns a response to the SDP4 carrying the session capability information of the calling party side network entity.
  • Step 310 The calling party side network entity forwards the received response of the SDP4 carrying the session capability information to the session negotiation processing entity.
  • Step 311 The session negotiation processing entity compares the description SDP4 of the session capability information carried in response with the description SDP1 of the session capability information supported by the calling party to determine whether the two are the same. If yes, determine the transmission between the calling party and the called party. The data is directly sent to the party through the session negotiation processing entity, and step 312 is performed; if not, the data transmitted between the calling party and the called party is converted into a service capability and then sent to the other party, and step 312 is performed.
  • the embodiment of the present invention may omit steps 303-304.
  • the session negotiation processing entity directly carries the stored service capability in the session establishment request. Sent in the message.
  • the service capability interaction process of the session negotiation in the embodiment of the present invention may be applied to multiple scenarios, such as the calling party network and the called party network, and the session service capability negotiation method of the embodiment of the present invention is supported; the calling party network supports the present invention.
  • the session service capability negotiation method of the embodiment, the called party network does not support the session service capability negotiation method of the embodiment of the present invention; the calling party network does not support the session service capability negotiation method of the embodiment of the present invention, and the called party network supports the present invention.
  • the session service capability negotiation method of the embodiment does not distinguish the primary called party network.
  • the calling party here may be a UE or a network entity in an IMS network.
  • the CSCF, the AS, the MRF, and the like in the different IMS networks may use the method in the embodiment of the present invention to modify the session capability information in the message body of the session message. And joining the session capability message supported by the IMS network.
  • the IMS network where the calling party is located and the network entity in the IMS network where the called party is located can use the method described in this embodiment of the present invention to modify the session in the session negotiation. Capability information and provided to the called party.
  • the descriptions SDP1, SDP2, SDP3, and SDP4 of the session capability information added to the session establishment request message by the IMS network where the calling party is located and the network entity on the IMS network where the called party is located are provided to the called party for selection. .
  • the network entity on the IMS network where the calling party is located and the IMS network where the called party is located can also query the Capability Server on the IMS network where it supports the session capability information supported by the IMS network.
  • the Capability Server returns the supported IMS network. Description of session capability information SDP.
  • the network entity on the IMS network where the primary and called parties are located joins the session capability information supported by the IMS network, it needs to follow the carrier's local policy and under the control of the operator.
  • the local policy is derived from the carrier's local settings and can be saved. On the Capability Server, it can also be saved on other network entities.
  • the embodiment of the present invention is described by performing a session establishment process in the IMS network.
  • a P-CSCF in the IMS network where the calling party is located.
  • #1, S-CSCF#1 and AS#1, P-CSCF#2, S-CSCF#2 and AS#2 in the IMS network where the called party is located participate.
  • the S-CSCF #1 in the IMS network where the calling party is located can modify the session capability information in the session establishment request message sent by the calling party according to the local policy, and add the description SDP2 of the session capability information supported by the calling party's IMS network.
  • the P-CSCF # 2 and S-CSCF # 2 on the IMS network where the called party is located are responsible for checking the session capability information and attribute information of the session negotiation, and deleting the session capability prohibited on the IMS network where the called party is located according to the operator's local policy.
  • the information, the description SDP5 of the session capability information supported by the IMS network of the called party is added to the session establishment request message according to the operator local policy, and the attribute information is set for the session capability information SDP5, and the session establishment request is set according to the content of the session negotiation.
  • the message is forwarded to AS#2 of the IMS network where the called party is located.
  • the AS #2 on the IMS network can change the session establishment request message, and add the SDP6 and SDP7 descriptions of the session capability information supported by the IMS network where the calling party can obtain the AS #2 to the session message.
  • the session capability information SDP6 and SDP7 set attribute information.
  • the network entity on the IMS network where the called party is located (including P-CSCF # 2, S-CSCF # 2 and AS # 2) must comply with the carrier's local policy and the carrier when joining the service capabilities supported by the IMS network. Under the control, the local policy is derived from the carrier's settings, and can be saved on the Capability Server or on other network entities.
  • These session capability information are divided into a plurality of session capability information blocks in the message using the method specified by the SDP protocol, and the plurality of session capability information blocks are distinguished using the session capability information attribute.
  • P-CSCF #1, S-CSCF #1 and AS #1 of the IMS network where the calling party is located and P-CSCF # 2, S-CSCF # 2 and AS # 2 of the IMS network where the called party is located are in the message body
  • SDP2, SDP3, SDP4, SDP5, SDP6, and SDP7 is provided to the called party for selection.
  • the IMS network where the called party is located sends a session establishment request message to the called party, and the called party selects the description SDP1 of the desired session capability information according to the session capability information of the session establishment request message and its service capability, and returns a response message.
  • a description of the SCP1 carrying the selected session capability information Therefore, in the session negotiation process in which both the calling party IMS network and the called party IMS network support the service capability of the embodiment of the present invention, the AS participates in the session protocol.
  • the process of business has completed the process of negotiating business capabilities.
  • the network entity on the SIP network can save the service capability for supporting the service on the Capability Server, and the service capability is saved according to different network entities.
  • the Capability Server query the Capability Server for the session capability required to provide the service.
  • the Capability Server retrieves the service capabilities that can be supported on the saved SIP network, and returns the description of the session capability information to the querying network entity in the query response message using the description format specified by the SDP protocol in accordance with the operator's local policy.
  • Different network entities in the IMS network may be querying network entities supporting the service capabilities in the IMS network.
  • the specific process of using the Capability Server by network entities such as CSCF, AS, and MRF is as follows.
  • P-CSCF #1 in the IMS network where the calling party is located.
  • P-CSCF in the IMS network where the calling party is located #1, S-CSCF#1 can modify the description of the session capability information in the session establishment request message sent by the calling party, SDP1, and add the description SDP2 of the session capability information supported by the IMS network where the calling party is located according to the local policy of the operator.
  • SDP3 and SDP4 can be pre-stored on AS #1, can be obtained from other ASs participating in the session, or can send service capability query requests to Capability Server#1. Query the session capability information supported by the IMS network saved on Capability Server#1. The message returned by Capability Server #1 is the description of the session capability information supported by the IMS network.
  • SDP3 and SDP4o CSCF in the IMS network where the calling party is located. responsible for forwarding the session negotiation processed by AS #1 to the IMS network where the called party is located, and describing the session capability information of the session negotiation SDP1, SDP2, SDP3, and SDP4.
  • the S-CSCF #2 on the IMS network where the called party is located is responsible for checking the session capability information of the session negotiation, and adding the description SDP5 of the session capability information supported by the IMS network of the called party to the session establishment request message according to the carrier local policy. And the attribute information is set for the session capability information SDP5, and the message is forwarded to the AS#2 of the IMS network where the called party is located according to the content of the session negotiation.
  • the local policy of the operator may be pre-set, may be determined according to the service capability of the network entity, or may be determined by combining pre-setting and service capabilities of the network entity.
  • the descriptions of the session capability information of the CSCF # 1 and AS # 1 of the IMS network where the calling party is located and the CSCF # 2 and AS # 2 of the IMS network where the called party is located in the message body are SDP2, SDP3, SDP4, SDP5, SDP6 and SDP7, provided to the called party to make a selection.
  • the S-CSCF #2 on the IMS network where the called party is located sends a session establishment request message to the called party, and the called party can select a description of the desired session capability information according to the session capability information of the session establishment request message and its service capability. SDP1, and carries a description SDP1 of its selected session capability information in the returned response message.
  • the network entity on the IMS network uses the session service capability negotiation method in the embodiment of the present invention to query the Capability Server for the session capability information on the IMS network, thereby completing the session negotiation process.
  • the MRF can be called by other network entities.
  • the MRF can also directly communicate with the calling and called parties as a SIP Proxy and SIP B2BUA.
  • the network entity may further determine whether to perform service media data routing according to the operation of the session capability information carried in the session message.
  • the process of determining whether to perform the service media data routing is as follows: The network entity determines whether the session capability information of the terminal carried by the session message cannot be operated, and if yes, sets the service media data route, and routes to the media resource function MRF. The session capability information carried by the session message is operated by the MRF; otherwise, the session capability information carried by the session message is directly operated by the network entity.
  • the method provided by the embodiment of the present invention can also be applied to the PoC service.
  • the following specific embodiments illustrate the application of the service capability negotiation in the PoC service.
  • PoC server provides the PoC service for the UE as the AS in the IMS platform.
  • the PoC server when the PoC server (Controlling) and the PoC Server (the Participating) receive the service negotiation request message, is called the INVITE request, and is in the INVITE request. Adding the business capabilities supported by the PoC server is provided to the called party to select.
  • PoC Server (Controlling) and PoC Server (Parting) may belong to the same IMS network or belong to different IMS networks.
  • PoC Server (Controlling) and PoC Server (Parting) may change the call request information of the session request by a PoC server.
  • the operation describing the content of the SDP can also be performed to change the call request.
  • the description of the speech capability information describes the operation of the content of the SDP.
  • Step 400 The UE1 sends a PoC session request to the S-CSCF1, that is, an INVITE request, where the request carries the session capability information SDP1 of the UE1, and may include attribute information.
  • Step 401 The S-CSCF1 determines, according to the INVITE request, that the current service is configured by the PoC Server.
  • Controlling Processes and forwards the INVITE request to the PoC Server (Controlling).
  • Step 402 The PoC Server (Controlling) sends an INVITE request describing the attributes of the SDP1, SDP2, SDP3, and SDP4 and the session capability information of the session capability information supported by the PoC Server (Controlling) to the S-CSCF1 according to the PoC service, where the service
  • the capability support information includes information about the network to which the PoC Server (Controlling) belongs, information indicating the PoC server, priority information, and other information used to identify the session capability information.
  • Step 406 The S-CSCF2 sends an INVITE request to the UE2.
  • Step 407 The UE2 that receives the INVITE request selects the SDP, which is supported by the SDP1, SDP2, SDP3, and SDP4, according to the description of the session capability information carried by the request, such as SDP4, and returns to the S-CSCF2 a 200 OK description SDP4 carrying the session capability information. response.
  • Steps 408 to 409 the S-CSCF2 sends the 200 OK response of the SDP4 to the PoC Server (Parting), and the PoC Server (Parting) returns a response to receive the 200 OK response to the S-CSCF2.
  • Step 410 The S-CSCF2 sends a description of the session capability information, and the 200 OK response of the SDP4 is sent to the S-CSCF1.
  • Step 412 The PoC Server (Controlling) compares the SDP4 description of the session capability information carried by the 200 OK response with the description SDP1 of the session capability information supported by the UE1, and determines whether the two are the same. If yes, the PoC Server determines the UE1 and The data transmitted between the UE2 is directly sent to the other terminal through the PoC Server (Controlling), and step 413 is performed; otherwise, the PoC Server (Controlling) determines that the data transmitted between the UE1 and the UE2 is converted into a service capability and then sent to the other terminal. 413.
  • Steps 413 to 414 the PoC Server (Controlling) sends a 200 OK response to the UE1 through the S-CSCF1 according to the procedure specified by the PoC service specification, and the service capability negotiation between the UE1 and the UE2 is completed.
  • the PoC Server (Controlling) implements the IMS-based PoC service capability negotiation process by using the interaction optimization process of the service capability negotiation in the embodiment of the present invention.
  • FIG. 5 is a diagram showing a service capability association of a terminal when an IMS network adopts a PoC service according to the present invention
  • the signaling flow chart of the second embodiment includes: the calling terminal UE1, the called terminal UE2, the S-CSCF1 to which the UE1 in the IMS network belongs, and the S-CSCF2 to which the UE2 in the IMS network belongs.
  • the PoC Server Controlling of the group in which the UE1 and the UE2 are located, the PoC Server (the Participating) that governs the UE2, and the PoC Server (the Participating) are supported by the SDP.
  • the session capability information has attribute information.
  • the PoC server processes the session capability information according to the attribute information. The specific steps are:
  • Step 500 The UE1 sends a PoC session request to the S-CSCF1, that is, an INVITE request, where the request carries the description SDP1 of the session capability information of the UE1.
  • the SDP1 may include attribute information, and the attribute information describes that the SDP1 is from the initiator terminal, and the priority is the highest level. Since UE1 sends the initiator terminal, it can also be specified that SDP1 does not add attribute information.
  • Step 501 The S-CSCF1 determines, according to the INVITE request, that the current service is processed by the PoC Server (Controlling), and forwards the INVITE request to the PoC Server (Controlling). In this process, the P-CSCF and the S-CSCF may perform a session. Ability information is checked.
  • Step 502 PoC Serve Controlling) sends a response to the S-CSCF 1 to receive the INVITE request.
  • Step 503 According to the PoC service specification, the S-CSCF1 sends the INVITE request to the S-CSCF2 according to the PoC service specification.
  • Step 505 The PoC ServerC Participating sends an INVITE request describing the SDP1, SDP2, SDP3, and SDP4 of the service capability supported by the PoC Server (Parting) to the S-CSCF2.
  • Step 506 The S-CSCF2 sends an INVITE request to the UE2.
  • Step 507 The UE2 that receives the INVITE request according to the description of the session capability information carried by the request SDP1, SDP2, SDP3, and SDP4 selects the SDP supported by itself, such as SDP4, and returns the S-CSCF2 with the description of the SDP4 carrying the session capability information. Response to S-CSCF2.
  • Step 508 The S-CSCF2 sends a 200 OK response carrying the SDP4 to the PoC Server (Parting).
  • Step 509 The PoC Server (Parting) compares the SDP4 description of the session capability information carried by the 200 OK response with the description SDP1 of the session capability information supported by the UE1, and determines whether the two are the same. If yes, the PoC Server (Parting) determines the UE1 and The data transmitted between the UE2 is directly sent to the opposite terminal through the PoC Server (Controlling), and step 510 is performed; otherwise, the PoC Server (Parting) determines that the data transmitted between the UE1 and the UE2 is converted into a service capability and then sent to the other terminal, and the steps are performed. 510.
  • Step 510 The PoC Server (Parting) returns a response to the 200 OK response to the S-CSCF2.
  • Step 511 The S-CSCF2 sends a 200 OK response to the S-CSCFL.
  • Step 512 The S-CSCF1 forwards the 200 OK response to the PoC ServerC Controlling.
  • Steps 513-514, PoC Server (Controlling) sends a 200 OK response to UE1 through S-CSCF1 according to the procedure specified by the PoC service specification, and the service capability negotiation between UE1 and UE2 is completed.
  • the PoC Server (Parting) implements the IMS-based PoC service capability negotiation process by using the interaction optimization process of the service capability negotiation in the embodiment of the present invention.
  • PoC Server ( Controlling ) and PoC Server ( Participating ) are respectively controlled The AS of the network where the PoC service is located and the AS of the network where the calling and called terminals are located. It should be noted that after receiving the INVITE message, the PoC Server (Controlling) and the PoC Server (Parting) can add the description SDP of the session capability information supported by the network to the INVITE request to provide the called terminal for selection. When PoC Server (Controlling) and PoC Server (Parting) add session capability information, you can describe the attribute information of session capability information. PoC Server (Controlling) can add the attributes of session capability information to belong to the initiator network and control session network. Lower than the session capability information of the terminal.
  • the PoC Server (Parting) can add the session capability information attribute to the called party network.
  • the priority of setting the session capability information can be higher or lower than the priority of the session capability information added by the PoC Server (Controlling).
  • the PoC server may first check attribute information of multiple session capability information, and according to priority information, home network information, and other information, multiple One or more of the session capability information is selected in the session capability information. Selecting a corresponding parameter describing the session capability information among the selected one or more session capability information.
  • FIG. 6 is a schematic diagram of the service capability conversion supported by the called terminal in the IMS network according to the present invention, as shown in the following figure:
  • the session between the UE1 and the UE2 is established through the AS of the IMS network, and the AS can be based on the type of service provided and
  • the service capability provided by itself determines whether the server needs to provide service capability support. If yes, the data transmission between UE1 and UE2 is respectively transmitted by the AS and the server after the service capability is converted.
  • the data transmission between the UE1 and the UE2 is performed by the AS, and the service capability conversion in the process of sending the data to the other party may be performed independently by the AS, or the AS may authorize other services in the IMS network.
  • the entity of the capability conversion function is completed, and can also be completed by other entities in the AS and IMS networks that have the capability conversion function. to make.
  • the other server provides the service capability conversion of the data transmitted by the calling party and the called party; when the description of the session capability information selected by the called party is different from the description SDP of the session capability information supported by the calling party, and the called party In the selected SDP, there is a description of the session capability information supported by the AS, and the description of the session capability information supported by the other server.
  • the AS and the other server jointly provide the service capability conversion of the data transmitted by the calling party and the called party.
  • Figure ⁇ is a flowchart of a signaling embodiment of a terminal for performing service capability negotiation in an IMS network, where the network entity includes: a calling terminal UE1, a called terminal UE2, and an S-CSCF1 to which the UE1 in the IMS network belongs.
  • the specific steps are as follows:
  • Step 701 The S-CSCF1 returns, to the UE1, a response that receives the INVITE request, that is, a 100 Trying message.
  • Step 702 The S-CSCF1 determines, according to the INVITE request, an AS that provides a service capability negotiation function, and forwards the INVITE request to the AS.
  • Step 703 The AS sends a service capability query request to the Capability Server.
  • Step 704 The Capability Server returns a service capability query request response to the AS, where the response carries a description SDP of the session capability information supported by the IMS network, for example, SDP1, SDP2, SDP3, and SDP4.
  • SDP1 and SDP2 are descriptions of service capabilities supported by the AS, and SDP1, SDP2, SDP3, and SDP4 are descriptions of service capabilities supported by other servers.
  • Step 705 The AS sends an INVITE request carrying the service capability descriptions SDP1, SDP2, SDP3, and SDP4 to the S-CSCF1.
  • Steps 706 ⁇ 707 S-CSCF1 sends the received INVITE request to UE2 through S-CSCF2.
  • Steps 708 to 709 the UE2 that receives the INVITE request, according to the description of the session capability information carried by the request, SDP1, SDP2, SDP3, and SDP4 selects the service capabilities supported by the UE, such as SDP4 and SDP2, and returns to the S-CSCF1 through the S-CSCF2. 200 OK response for SDP4 and SDP2.
  • the service capability described by the selected SDP4 is the service capability supported by the application server, and the service capability described by the selected SDP2 is the service capability supported by the AS.
  • Step 710 The S-CSCF1 forwards the received 200 OK response of the SDP4 and SDP2 carrying the service capability to the AS.
  • Step 711 The AS compares the description of the session capability information carried by the 200 OK response with the SDP4 and the SDP1 supported by the UE1 to determine whether the two are the same. If yes, the AS determines that the data transmitted between the UE1 and the UE2 directly passes through the AS and the application. The server sends the signal to the other party, and performs step 712. If not, the data transmitted between the UE1 and the UE2 is determined to be converted to a service capability, and then sent to the other party through the AS and other servers. Step 712.
  • Steps 712-713 the AS sends a 200 OK response to the UE1 through the S-CSCF1, and the service capability negotiation between the UE1 and the UE2 is completed.
  • a specific embodiment is used to describe the operations of the network entity of the SIP network to add, delete, or/and modify the session establishment request message and the session establishment response message for session establishment, so as to implement the session capability of the embodiment of the present invention. Information operation.
  • FIG. 8 is a flow chart of Embodiment 2 of signaling for performing service capability negotiation in an IMS network according to the present invention.
  • the network entity involved includes: a calling terminal UE1, a called terminal UE2, a network entity in a SIP network to which UE1 belongs, a network entity to which UE2 belongs, a processing entity in a SIP network to which UE1 belongs, and a SIP network to which UE2 belongs.
  • Processing entity 2 in .
  • the processing entity 1 and the processing entity 2 respectively add, delete, and modify the session capability information in the message body of the session establishment request message and the session establishment response message, and implement the session negotiation process.
  • the processing entity may be an independent network entity, or may be a logical function integrated on the network entity, and the network entity may be an AS, a CSCF, an MRF, a SIP-ALG, or the like.
  • the specific steps are:
  • Step 800 The UE1 sends an INVITE request message to the network entity 1, where the request message carries the session capability information of the UE1.
  • Step 801 The network entity 1 forwards the INVITE request message to the processing entity 1.
  • Step 802 803 The processing entity 1 checks the session capability information in the message body of the INVITE request message, and adds the session capability information supported by the SIP network where the ⁇ 1 is located, and then sends the INVITE request message to the network entity 1.
  • Step 804 The network entity 1 transmits an INVITE request message to the processing entity 2.
  • Step 805 806 Processing the entity 2, checking the session capability information in the message body of the INVITE request message, deleting the session capability information that is not supported by the SIP network to which the UE2 belongs, adding the session capability information supported by the SIP network to which the UE2 belongs, and modifying the INVITE After requesting the session capability information in the message body of the message, the INVITE request message is sent to the network entity 2. ,
  • Step 810 The network entity 2 sends a session establishment response message response carrying the session capability information supported by the UE2 to the processing entity 2.
  • Step 815 The network entity 1 transmits a response message to the UE1, and the process of the service capability negotiation is completed.
  • the method for negotiating the service capability provided by the embodiment of the present invention may be not limited to the network used by the network, that is, the functional entity used in the network where the calling party is located, and may be CSCF, AS, MRP, and SIP-ALG, and may be the above.
  • the network entity is not limited to these network entities; it can also be used for the SIP network where the called party is located.
  • the method for negotiating the service capability in the embodiment of the present invention may be used at the same time as the service network where the calling party and the called party are located, or may be separately used. In addition, in some applications, the calling party network may not be distinguished, and may also be used. This method of business capability negotiation.
  • the network entity in the SIP network can directly change the session establishment request message when the calling party sends a session establishment request message carrying the service capability of the calling party to the SIP network.
  • the information of the service capability supported by the SIP network is carried in the request message and sent to the called party, and the called party selects the service capability supported by the called party and sends the response to the SIP network through the session establishment response message.
  • the network entity, the network entity in the SIP network performs subsequent processing according to the accepted service capability supported by the called party, and the network entity in the SIP network can also add, delete, and modify the service capability of the session establishment response message.
  • the calling terminal does not wait until the called terminal returns the reject message, and then re-negotiates the service capability between the calling and called terminals, and directly provides the session capability information of the SIP network for the called party.
  • the terminal selects, thereby the process of negotiating the service capability negotiation between the calling and called terminals, and reducing the delay of session establishment.
  • the session capability information can be described by using the SDP protocol, that is, the session message adopts SDP.
  • the session capability information carried in the session message may be divided into multiple session capability information blocks, and the SDP adds a number and an attribute definition to the session capability information block, so that multiple session capability information blocks carried by the session message can be Identifying, and determining which session capability information block to select for processing based on the number and attributes of the session capability information block.
  • the session capability information block is identified by a number, for example, the number is defined as Series, or is defined as SDP ID, etc., and series is used as the number of the session capability information block.
  • the numbering enables multiple session capability information blocks in the message body of the same session message to be distinguished from each other.
  • the method of the identification may be:
  • the specific usage method is: if the current session capability information block is the third session capability information block in the current session message, the session capability information block is identified.
  • the sequence number is defined from 0 - n, and the message body that does not support a session message in the embodiment of the present invention contains more than n different session capability information blocks.
  • the range of the number can also be determined according to the processing capability of the SIP network.
  • the embodiment of the present invention may set the end flag information to the session capability information block: Since the message body of the session message may include multiple session capability information blocks, it is necessary to increase the end flag of the session capability information block at the end of each session capability information block.
  • the information enables the network entity of the SIP network to identify the end flag information of the session capability information block.
  • the end flag information is defined as the end flag of a complete session capability information block. Once the network entity of the SIP network finds the end flag, it can be determined that a session capability information block has ended.
  • the embodiment of the present invention can define the end flag of the session capability information block in the ⁇ finished manner.
  • Embodiment 1 The embodiment of the present invention defines a message body content in a session message as follows.
  • a definition of a message body content attribute is newly added in a message header of a session message, and a message body content attribute describes a content attribute of a message body content of the session message, and the message body content attribute is provided to the network entity and the session initiator. , or / and message recipients.
  • Which session capability information blocks, attributes of these session capability information blocks, and priority levels are carried in the message body.
  • the content attribute of the message body of the session message is defined as follows.
  • the message header of the session message is defined as Content
  • the definition of the Content field is as follows:
  • the message header Content indicates that the session capability information block carried in the message body of the session message is described in this field.
  • Series[x] represents the number of the session capability information block. After each series[x], it is necessary to include the attribution attribute of the session capability information block, the priority level, and the description attribute attribute of the media information of the session capability information block.
  • the attribution attribute identifies which network entity the session capability information block belongs to.
  • the home attribute of the session capability information block is the terminal, the session initiator, the network where the calling terminal is located, the network where the session controller is located, or/and the called terminal is located.
  • the internet The following defined method is used in the embodiment of the present invention: Define the attribution attribute of the session capability information block, that is, Belong is endpoint, origination network:, focus network:, or / and termination network.
  • the description of the media information of the session capability information block that is, the Entity specifies which network entity the description of the media information belongs to, and may belong to an AS, a Session Controller, such as a PoC CF, Conference Server, etc., or/and a resource controller, such as MRF, media gateway, etc.
  • a Session Controller such as a PoC CF, Conference Server, etc.
  • a resource controller such as MRF, media gateway, etc.
  • Entity As Application Server ⁇ Session Controller or / and Resource Controller.
  • the priority determination process of the session capability information block is as follows.
  • the priority may be included in the message body content attribute set in the message header of the session message. Since the called party determines which network the session capability information block belongs to and which network entity belongs to, by analyzing the session capability information block, the priority order of the plurality of session capability information blocks in the session message body can be determined, and each session capability information is The priority of the block is set in the message body content attribute in the message header of the session message.
  • the embodiment of the present invention also defines the content length in the message body of the session message. After the description of the attribute of the session capability information block in the message body in the session message ends, the session capability information block should be identified by the method of counting the number of bytes in decimal. The specific definition is that if a session capability information block is 518 bytes long, the length is defined as: Content-length: 518.
  • the specific method for extending the message header of the session message in the embodiment of the present invention is as follows.
  • the message header of the session message in the embodiment of the present invention performs content attribute setting on the content part in the message body of the session message, thereby expanding the message header.
  • the extended method is to add a description Content field of the message body content attribute in the message header of the session message for each session capability information block or other message body content in the message body of the session message, and to view this in the Content field.
  • the type, format, content length, etc. of some message body contents are described.
  • all session capability information blocks or message body contents in the message body of the session message are set with a content attribute in the message header of the session message, and the content attribute defines the session capability information block or the number of the message body content, the network to which it belongs, or the network to which it belongs or The terminal, which network entity it belongs to, the priority of the option, the type of content, such as SDP, picture or audio, etc., encoding format or/and message body content length.
  • the first message body content carried by the session message is a session capability information block desired by the calling party, and the second message body content is that the calling party adds a personal photo to the session message, and the third message body
  • the content is a session capability information block provided by the SIP network where the calling party is located;
  • the fourth message body content is the session capability information block provided by the network where the session controller is located.
  • Embodiment 2 The definition of the message body type is added to the message body of the session message, and the message body content attribute of the session message is expanded, and the rest is the same as that of Embodiment 1.
  • the message body content attribute including the message body type is used in the session message as described below.
  • the message body of the session message can contain multiple session capability information blocks, then the type of the Content-type identifier in the message header of the session message should be, Content-type: Application/MIME.
  • each session capability information block in the message body of the session message should be described.
  • the session capability information block in the message body of the session message needs to be used in the message header.
  • the field describes the message body type.
  • the called party's use of the message body type in the message header of the session message is: The calling party is received in the message header of the session message.
  • the message body representing the session message received by the called party carries multiple complete session capability information blocks.
  • the called party needs to view the content of the Content field in the message header of the session message, and based on the content attribute of each session capability information block in the Content field, determines which session capability information block selects the media parameter desired by the called party.
  • the content in the message body of the session message includes:
  • a plurality of media parameters may be present in a session capability information block. Therefore, a description of the media parameter attribute and the priority information is added to a session capability information block carried in the session message, according to the description of the media parameter attribute. It can be obtained which type of network entity or terminal the media parameter belongs to, and the priority level of the media parameter is determined according to the priority information of the media parameter. In this way, the called party of the session message can obtain the service attribute information of the media by viewing the media parameter attribute, and can effectively select the media parameter.
  • the media parameters of the session capability information block include three types:
  • the first category belongs to the session information, including the session identifier and other session-level parameters, such as the IP address of the session initiator, the topic, the contact information of the session or the creator, etc.; Timing description information, including start and stop time, number of repetitions, and one or more media level descriptions;
  • third category belongs to media type and format description information, including transport protocol and transport address, such as IP address and port number, type of media, Encoding type and other media parameters.
  • the definition of the media parameter attribution attribute and the priority is added, and a method for how the called party selects the media parameter according to the attribution attribute and priority of the media parameter is provided.
  • multiple media parameters from different networks and network entities are added in the session capability information block.
  • the description of the media parameters needs to be distinguished in different media parameters.
  • the description of the media parameter may be a description of the network parameter belonging to which network in the session negotiation process, the type of network entity to which the media parameter belongs, the priority parameter to which the network entity or the called party joins, or/and other attributes.
  • the description of the media parameter in the message body of the session message received by the called party including the network parameter belonging to the network in the session negotiation process, the network entity to which the media parameter belongs, the priority of the network entity or the receiver.
  • a description of the parameters, or/and other attributes, the called party uses the description of these media parameters to select the media parameters for this session negotiation.
  • the format of the message body of the session message is as follows.
  • o (owner/creator and session identifier).
  • timing level The parameters defined by the timing level are:
  • the parameters defined at the media level are:
  • the specific meaning of the media parameters of the session capability information block can be referred to the RFC 2327 standard.
  • the actual travel example of the present invention uses the a parameter to increase the media parameter attribution attribute, the media parameter type, and the media parameter priority definition.
  • the media parameter attribution attribute is defined as the network entity or terminal where the media parameter is located.
  • the format of the definition is:
  • the belonging may be the end point of the session, the network where the session initiator is located, the network where the message receiver is located, or/and the network where the controller is located, and the specific definition may be endpoint origination networks termination network:, or / and focus network :.
  • the endpoint indicates the media parameter provided by the calling party;
  • the origination network indicates the media parameter provided by the calling party's network;
  • the termination network indicates the media parameter provided by the called party's network;
  • the focus network identifies the media provided by the session controller's network. parameter.
  • the media parameter priority attribute is defined as the priority order of the media parameters provided by the network. For example, it is specified that the smaller the number between 0 and n, the higher the priority.
  • the parameter 0 indicates that the media parameter belongs to a type of media parameter that is preferentially supported by the service, and belongs to the most commonly used media parameter.
  • the media parameter of parameter 0 may be one or more, and is a media parameter recommended by the network entity.
  • Parameter 1 represents, in addition to the recommended media parameters, other media parameters provided by the network.
  • multiple media parameters of the session capability information block can be considered as multiple media parameters within a group. Since the default group is unique in the session capability information block in RFC 3388 describing the definition of the media parameter grouping, it is extended on the basis of which a plurality of media parameter groups are included in one session capability information block.
  • the method of using the media attribution attribute and priority of the calling party in the message body of the session message is as follows.
  • the calling party is the initiator of the session, and the session capability information block that sends the session establishment request message to the network in which it is located carries the expected media parameters of the session initiator, and the media parameters are in addition to the normal media parameter attributes.
  • the method of using the media parameter attribution attribute and priority in the message body of the session message by the network side is as follows.
  • Adding media parameter attribution attribute and priority attribute on the network side can be divided into three parts, namely, the network where the calling party is located, the network where the controlling party is located, and the network where the called party is located.
  • the three parts of the network may separately add media parameters supported by the network, or may provide media parameters supported by the network by a certain network.
  • the schematic diagram of the network is shown in FIG. 6.
  • the network where the calling party is located After receiving the session establishment request message, the network where the calling party is located processes the content in the session establishment request message according to the normal process of the IMS specification, and can also add the service capability supported by the network where the calling party is located to the session establishment request message. in.
  • the session capability information block of the session establishment request message is added with multiple or more sets of media parameters, and the network where the session initiator is located needs to set the media parameter attribution attribute and the priority attribute for the plurality or groups of media parameters.
  • the network where the calling party is located processes the session establishment request message according to the normal flow of the IMS specification.
  • the network where the service controller is located processes the content in the session establishment request message according to the normal process of the IMS specification, and can also add the service capability supported by the network where the service controller is located to the session establishment request.
  • the session capability information block of the session establishment request message is added with multiple or more sets of media parameters, and the network where the controller is located needs to set the media parameter attribution attribute and the priority attribute for the added plurality or groups of media parameters.
  • the network where the calling party is located and the network where the controlling party is located may be the same network, that is, the network where the PoC server (Controlling) is located is both the network where the calling party is located and the network where the calling party is located. The network where the controlling party is located.
  • the network where the controller is located processes the session establishment request message according to the normal flow of the IMS specification.
  • the network where the called party is located processes the content in the session establishment request according to the normal process of the IMS specification, and can also add the service capability supported by the network of the called party to the session establishment request.
  • the SDP description of the session establishment request is added with multiple or multiple sets of media parameters, and the network where the message receiver is located needs to set the media parameter attribution attribute and the priority attribute for the multiple or multiple sets of media parameters. Since the judgment of the priority is made on the AS, and the other network entities cannot determine the priority of the current media parameter, the criterion for the priority of the AS judgment can be considered to be uniform and no conflict occurs.
  • the network where the called party is located processes the session establishment request message according to the normal flow of the IMS specification.
  • the process of adding the media parameters supported by the network side in the call setup request message may be optional.
  • the network where the calling party is located, the network where the controlling party is located, and the network where the called party is located may select whether to join the network supported by the network.
  • the condition for judging whether to join the media parameters supported by the network may be the service f or the like.
  • the processing procedure of the session capability information block in the session establishment request message by the AS is as follows.
  • the AS acts as a service processing network entity in the IMS network and can be responsible for the IMS network. Query the media parameters supported by the IMS network, and add the media parameters of the query to the session establishment request. In this case, the media parameter attribution attribute and the priority parameter need to be added to the media parameters in the added media parameters.
  • the media parameters are stored on the network entity on the IMS platform.
  • the media parameters do not need to carry the parameter attribution attribute and the priority parameter before being sent to the AS.
  • the priority attributes of the media parameters are added to the obtained media parameters according to the services to be provided by the AS.
  • the method of determining the media parameter priority attribute by the AS may be determined according to the description of the media parameter attribute in the message body of the session negotiation message.
  • the entity in the SIP network may also edit or add or delete the application information carried in the request message, and the application information includes ringtones, pictures, messages, videos, and executable programs. And so on.
  • the called party can execute or delete the application information according to the settings of the called party.
  • FIG. 9 is a signaling flowchart of a method for a network entity to add a ringtone and modify a ringtone to a message body in a session establishment request message according to the present invention.
  • the entities involved include: a calling terminal UE1, a called terminal UE2, and a SIP network.
  • S-CSCF #1 in the SIP network to which UE1 belongs S-CSCF in the SIP network to which UE2 belongs, 2, AS #1 in the SIP network to which UE1 belongs, and AS #2 in the SIP network to which UE2 belongs, assuming AS #1
  • Step 900 The UE1 sends a session establishment request message, that is, an INVITE request, to the S-CSCF #1, where the request carries the session capability information of the UE1, and the UE1 may also add the ringtone playback program Sound to the message body of the request message.
  • a session establishment request message that is, an INVITE request
  • Step 901 The S-CSCF #1 determines, according to the INVITE request, that the current service is by AS #1. Processing, forwarding the INVITE request to AS #1.
  • Step 902 AS #1 determines, according to the policy of the operator, whether to add, modify, or delete the ringtone player Sound saved on the AS #1 supported by the SIP network in the message body of the session message. If the operator's policy requires AS #1 to join the ringtone player Sound # l and delete the original ringtone player Sound, AS #1 sends an INVITE request carrying Sound #1 to S-CSCF #1.
  • Step 903 The S-CSCF #1 sends the received INVITE request to the S-CSCF #2.
  • Steps 904 ⁇ 905 S-CSCF # 2 sends the received INVITE request to AS # 2 , and AS # 2 can select whether to add, change, or delete the content in the message body of the session request message according to the policy of the operator, and return to receive.
  • the response to the INVITE request is given to S-CSCF #2, and the message body of the session request message may include Sound #1 and/or Sound #2.
  • Step 906 S-CSCF # 2 sends an INVITE request to the UE.
  • Steps 907-908 The ringtone playing program carried by the UE2 that receives the INVITE request according to the request, in addition to the session negotiation, plays a ringtone to the user who uses the UE2. At this time, UE2 returns a 200 OK response to S-CSCF #2 and performs other operational steps of the session negotiation process.
  • AS #1 and AS #2 modify the content of the message body of the session establishment request message according to the policy of the operator, and may add, modify, or delete the ringtone player Sound in the message body of the request message.
  • other application information is provided.
  • the network entity that edits or adds or deletes the application information in the message body of the session establishment request message may be one or more of the S-CSCF, the P-CSCF, the AS, and the MRF, and is not limited to the above network entity.
  • the application information of the network entity to edit or add or delete application information may include, but is not limited to, ringtones, pictures, messages, videos, and program content.
  • the process of editing or adding or deleting application information by a network entity can be performed simultaneously with the process of session negotiation. Conducting does not affect the process of business capability negotiation.
  • FIG. 10 is a signaling flowchart of a description of a media entity in a SIP network in a SIP network that adds a video type to a message body in a session establishment request message, and the network entity involved is: a session initiator terminal UE1, a session access The party terminal UE2, the AS #1 in the SIP network to which the UE1 belongs, and the AS#2 in the SIP network to which the UE2 belongs, the specific steps are as follows:
  • Step 1000 UE1 sends a session establishment request message to AS#1. Since UE1 only supports audio, only the description of the media information of the audio media type supported by UE1 is carried in the session request setup message.
  • Steps 1001 to 1003 after receiving the session establishment request message, AS#1 adds a description of the media information of the video media type supported by AS#1 to the message, and then sends a session establishment request message to UE2 through AS#2.
  • AS# 1 may also add priority level and attribute information to the description of each media information in the session establishment request message, and provide it to UE2 for reference.
  • Step 1004 After receiving the session establishment request message, the UE2 selects the audio and video media type in the description of the media information carried in the session establishment request message as the result of the session establishment.
  • UE2 can first determine that UE1 only supports audio, UE2 must select an audio media type; then UE2 can determine that AS#2 supports video, UE2 selects the video media type, and video communication can be established between AS#2 and AS#1.
  • audio and video communication can be performed through AS#2 and AS#1 and UE2.
  • Steps 1005 ⁇ 1006 UE2 returns a 200 OK message through AS#2, which carries a description of the media information of the audio and video media type selected by UE2.
  • Step 1007 After receiving the 200 OK message, AS#1 determines that UE2 selects audio and The video media type is used as the media type of the session. AS#1 establishes an audio media type connection between AS#1 and UE1, and establishes an audio and video media type connection between AS#1 and UE2 via AS#1. A 200 OK message is returned to UE1, which carries a description of the media information of the audio media type supported by UE1.
  • the description of the media information of the audio and video media type selected by the UE2 may or may not be carried in the 200 OK message returned by the AS1 to the UE1.
  • the UE1 may determine the present.
  • the media type of the secondary session, if not carried, does not affect UE1's use of audio as a media type in this session.
  • the embodiment of the present invention further adds a system for session capability information operation.
  • the terminals in the SIP network are connected by one or more network entities set by the present invention.
  • a terminal in a SIP network can be a receiver or a sender.
  • the network entity includes: a receiving module 120, a policy obtaining module 121, and a processing module 122, which are sequentially connected, and a response module 123 and a forwarding module 124 respectively connected to the processing module 122;
  • the receiving module 120, the response module 123, and the forwarding module 124 are also connected to respective terminals in the SIP network.
  • the terminal that is, the sender of the session message, sends the session message to the receiving module 120.
  • the policy obtaining module 121 transparently transmits the session message received by the receiving module 120 to the processing module 122 and processes the session message.
  • the policy is sent to the processing module 122.
  • the processing module 122 processes the session message by using the policy of processing the session message
  • the generated session establishment request message is sent to the forwarding module 124, or the session establishment response message is sent to the response module 123, and the forwarding module 124
  • the session establishment request message is sent to the terminal, and the response module 123 sends a session establishment response message to the corresponding terminal, that is, the receiver of the session message.
  • the network entity in the embodiment of the present invention further includes a Capability Provide Function and a policy.
  • the obtaining module is connected, configured to store a policy for processing the session message, and send the stored policy for processing the session message to the policy acquiring module.
  • the Capability Provide Function can also exist independently of the network entity.

Abstract

A method and network entity is used in operating the session capability information. The method includes: the session capability message carried in the session information is operated after the network entity of the session initiate protocol SIP network receives the session information, which carries on the session capability message. The method and the network entity provided in the invention can make process of the service capability negotiation between the calling party and the called party simply, so as to reduce the relay the setting up the session.

Description

一种进行会话能力信息操作的方法及网络实体  Method and network entity for performing session capability information operation
技术领域 Technical field
本发明涉及在会话发起协议(SIP )网络中的会话建立技术, 特别涉 及一种在会话建立过程中进行会话能力信息操作的方法及网络实体。 发明背景  The present invention relates to session establishment techniques in a Session Initiation Protocol (SIP) network, and more particularly to a method and network entity for performing session capability information operations during session establishment. Background of the invention
随着宽带网络的发展, 移动通信不仅仅局限于传统的语音通信, 而 且可以结合音频、 视频、 图片和文本等多种媒体业务。 多种媒体业务通 过与呈现业务(presence ), 短消息、 网页 ( WEB )浏览、 定位信息、 推 送业务( PUSH )和文件共享等数据业务的结合,可以满足用户设备( UE ) 的多种需求。  With the development of broadband networks, mobile communications are not limited to traditional voice communications, but can also combine multiple media services such as audio, video, pictures and text. A variety of media services can meet the diverse needs of user equipment (UE) by combining data services such as presence, short message, web browsing, location information, push service (PUSH) and file sharing.
在多种数据业务应用的推动下, 3GPP以及 3GPP2等标准组织都先 后推出了 IMS架构, 目的是在移动网絡中使用一种标准化开放结构实现 多种多样的多媒体业务应用, 提供给 UE更多的选择和更丰富的感受。  Driven by various data service applications, standards organizations such as 3GPP and 3GPP2 have successively launched IMS architectures. The purpose is to implement a variety of multimedia service applications using a standardized open architecture in mobile networks, providing more to the UE. Choice and richer feelings.
在 3GPP版本 5 ( R5,Release ) 阶段, 引入了 IMS, IMS叠加在分组 域网络之上, 由呼叫控制功能(CSCF )、 媒体网关控制功能 ( MGCF )、 媒体资源功能(MRF )和归属签约用户服务器(HSS )等功能实体组成。 其中 CSCF又可以分为服务 CSCF ( S-CSCF ), 代理 CSCF ( P-CSCF ) 和查询 CSCF ( I-CSCF )三个逻辑实体。 S-CSCF是 IMS的业务交换中 心, 执行会话控制, 维持会话状态, 负责管理 UE信息, 产生计费信息 等; P-CSCF是 UE接入 IMS的接入点, 完成 UE注册, 负责服务质量 ( QoS )控制和安全管理等; I-CSCF 负责 IMS 域之间的互通, 管理 S-CSCF 的分配和选择, 对外隐藏网络拓朴和配置, 产生计费数据等。 MGCF控制网关, 实现 IMS和其它网络的互通。 MRF提供媒体资源。 HSS存储 UE的签约数据和配置信息等。 In the 3GPP Release 5 (R5, Release) phase, IMS is introduced, which is superimposed on the packet domain network, by Call Control Function (CSCF), Media Gateway Control Function (MGCF), Media Resource Function (MRF) and Home Subscriber A functional entity such as a server (HSS). The CSCF can be divided into three logical entities: service CSCF (S-CSCF), proxy CSCF (P-CSCF) and query CSCF (I-CSCF). The S-CSCF is a service switching center of the IMS, performs session control, maintains session state, is responsible for managing UE information, and generates charging information. The P-CSCF is an access point for the UE to access the IMS, completes UE registration, and is responsible for quality of service ( QoS) Control and security management; The I-CSCF is responsible for interworking between IMS domains, managing the allocation and selection of S-CSCFs, hiding network topology and configuration, and generating billing data. The MGCF controls the gateway to implement interworking between the IMS and other networks. MRF provides media resources. The HSS stores subscription data, configuration information, and the like of the UE.
3GPP定义的 IMS网络也可以应用于 3GPP2中定义的分组网络之上, 提供和多种类型网絡的互通, 实现和使用终端类型的无关性。 因此在这 里不限制 IMS只应用在 3 GPP相关的网络和应用上, 其他类型的接入网 络和承载网络的业务和应用也可以用 IMS架构来实现。  The IMS network defined by 3GPP can also be applied to the packet network defined in 3GPP2, providing interworking with multiple types of networks, and achieving independence from the use of terminal types. Therefore, there is no restriction on IMS being applied only to 3GPP related networks and applications. Other types of access networks and bearer network services and applications can also be implemented by the IMS architecture.
SIP是由 Internet工程任务组( IETF )提出的 IP电话信令协议。 SIP 用于发起会话, 它能控制多个参与者参加的多媒体会话的建立和终结, 并能动态调整和修改会话属性, 如会话带宽要求、 传输的媒体类型 (语 音、 视频和文本等)、 媒体的编解码格式、 对组播和单播的支持等。 在 IMS中, 使用 SIP协议作为 IP多媒体会话的信令控制协议。  SIP is an IP telephony signaling protocol proposed by the Internet Engineering Task Force (IETF). SIP is used to initiate a session. It can control the establishment and termination of multimedia sessions attended by multiple participants, and can dynamically adjust and modify session attributes such as session bandwidth requirements, media types (voice, video, text, etc.), media. Codec format, support for multicast and unicast, etc. In IMS, the SIP protocol is used as the signaling control protocol for IP multimedia sessions.
IMS网絡的业务平台是基于 SIP建立的网际协议(IP ) 电话会话的 业务平台。 当终端要享受 IMS网络上的应用服务时, 需要在终端与终端 或者 AS之间建立会话, 在建立会话的过程中, 主被叫终端需要进行业 务能力的协商,在业务能力协商的过程中 IMS网络上的网络实体有可能 参与业务能力协商的过程。 会话的业务能力是指在会话协商完成后实现 所开始的业务需要的能力。 业务能力的信息可以由 SIP 消息的消息体 ( Content ) 携带, 可以通过 Content/sdp、 Content/application 或者 Content/mime等方式。  The service platform of the IMS network is a service platform based on SIP established Internet Protocol (IP) telephony sessions. When the terminal needs to enjoy the application service on the IMS network, a session needs to be established between the terminal and the terminal or the AS. In the process of establishing the session, the calling and called terminals need to negotiate the service capability, and the IMS in the process of the service capability negotiation. Network entities on the network may participate in the process of business capability negotiation. The service capability of a session refers to the ability to implement the required business needs after the negotiation of the session is completed. The information of the business capability can be carried by the message body of the SIP message, and can be through Content/sdp, Content/application or Content/mime.
在现有 3GPP IMS规范中, 当主被叫终端通过 IMS网络进行会话协 商时, 主叫终端通过 IMS网络向被叫终端发出会话建立请求消息, 该请 求采用 SIP消息并且携带会话能力信息,该请求经过 IMS网络中的网络 实体的处理。 IMS网络中的网络实体将该请求转发给被叫终端, 当被叫 终端根据该请求携带的会话能力信息判断出自身不支持主叫终端的业 务能力后,返回给 IMS网络中的网络实体或主叫终端错误响应消息, IMS 网络中的网络实体或主叫终端收到错误响应消息后重新进行主被叫终 端业务能力的协商以及转换。 In the existing 3GPP IMS specification, when the calling and called terminals negotiate the session through the IMS network, the calling terminal sends a session establishment request message to the called terminal through the IMS network, and the request uses the SIP message and carries the session capability information, and the request passes the Processing of network entities in an IMS network. The network entity in the IMS network forwards the request to the called terminal. When the called terminal determines that it does not support the service capability of the calling terminal according to the session capability information carried in the request, it returns to the network entity or the master in the IMS network. Calling the terminal error response message, the network entity or the calling terminal in the IMS network receives the error response message and then re-executes the main called terminal. Negotiation and conversion of end business capabilities.
这里所述的业务能力指的是 IMS网絡的网络实体或者主被叫终端在 实现业务时所需要具备的各种能力,比如编解码能力、多媒体处理能力、 媒体参数能力以及应用程序等, 会话能力信息指对业务能力的描述, 比 如可以使用会话描述协议(SDP)规定的方法进行描述, 还可以在消息 体中使用 XML语音和 SCRIPT方法进行描述等。  The service capability described herein refers to various capabilities required by the network entity of the IMS network or the calling and called terminal to implement the service, such as codec capability, multimedia processing capability, media parameter capability, and application, etc. Information refers to the description of service capabilities, such as the method specified by the Session Description Protocol (SDP), and can also be described in the message body using XML voice and SCRIPT methods.
图 1为现有 IMS规范规定的媒体参数能力协商流程图,该流程包括 的网络实体有: 主叫终端 UE1、 UE1所属的 P-CSCF#1、 UE1所属的 S-CSCF# 1、被叫终端 UE2、被叫终端 UE2所属的 P-CSCF # 2以及 UE1 所属的 S-CSCF#1, 其具体过程为:  1 is a flow chart of media parameter capability negotiation stipulated by the existing IMS specification. The network entity included in the process includes: a calling terminal UE1, a P-CSCF#1 to which the UE1 belongs, an S-CSCF#1 to which the UE1 belongs, and a called terminal. UE2, P-CSCF #2 to which the called terminal UE2 belongs, and S-CSCF#1 to which UE1 belongs, the specific process is as follows:
步骤 101、 UE1在 SDP的负载中增加了编码参数, 编码参数反映了 UE1的业务能力和在会话中期望的编码参数。  Step 101: The UE1 adds an encoding parameter to the load of the SDP, where the encoding parameter reflects the service capability of the UE1 and the encoding parameters expected in the session.
步骤 102、 在 UE1发出的会话建立请求 ( INVITE ) 中携带了 SDP, 发给 P-CSCF# 1。  Step 102: Carry an SDP in the session establishment request (INVITE) sent by UE1, and send it to P-CSCF#1.
步骤 103、 P-CSCF#1检查 SDP中描速的媒体参数信息, 如果由于 本地策略原因或者 QoS授权原因, P-CSCF # 1不能允许媒体参数信息在 会话中使用,'就拒绝业务能力的协商。 在拒绝消息中会包含足够的信息 通知给 UE1, 以便 UE1根据这些信息发起下一次会话协商。  Step 103: The P-CSCF#1 checks the media parameter information in the SDP. If the P-CSCF#1 cannot allow the media parameter information to be used in the session due to local policy reasons or QoS authorization reasons, the service capability negotiation is denied. . The rejection message will contain enough information to inform UE1 so that UE1 initiates the next session negotiation based on this information.
步骤 104、 P-CSCF#1 允许媒体参数信息在会话中使用, CSCF # 1将 INVITE转发给 S-CSCF # 1。  Step 104: P-CSCF#1 allows media parameter information to be used in the session, and CSCF #1 forwards the INVITE to S-CSCF #1.
步骤 105、 S-CSCF#1检查 SDP中描述的媒体参数信息, 如果由于 本地策略原因或者 UE1签约的原因, S-CSCF # 1不能允许媒体参数信息 在会话中使用, 就拒绝业务能力的协商。 在拒绝消息中会包含足够的信 息通知给 UE1, 以便 UE1根据这些信息发起下一次会话协商。  Step 105: The S-CSCF#1 checks the media parameter information described in the SDP. If the S-CSCF#1 cannot allow the media parameter information to be used in the session due to the local policy reason or the UE1 subscription, the service capability negotiation is rejected. The rejection message will contain enough information to inform UE1 so that UE1 initiates the next session negotiation based on this information.
步驟 106、 S-CSCF#1允许媒体参数信息在会话中使用, S-CSCF# 1将 INVITE转发给 S-CSCF # 2。 Step 106, S-CSCF#1 allows media parameter information to be used in the session, S-CSCF# 1 Forward the INVITE to S-CSCF # 2.
步骤 107、 S-CSCF #2检查 SDP中描述的媒体参数信息, 如果由于 本地策略原因或者 UE2签约的原因, S-CSCF # 2不能允许媒体参数信息 在会话中使用, 就拒绝业务能力的协商。 在拒绝消息中会包含足够的信 息通知给 UE1, 以便 'UE1根据这些信息发起下一次会话协商。  Step 107: The S-CSCF #2 checks the media parameter information described in the SDP. If the S-CSCF #2 cannot allow the media parameter information to be used in the session due to the local policy reason or the UE2 subscription, the service capability negotiation is rejected. In the rejection message, sufficient information is sent to UE1 so that 'UE1 initiates the next session negotiation based on this information.
步骤 108、 S-CSCF#2允许媒体参数信息在会话中使用, S-CSCF# 2将 INVITE转发给 P-CSCF # 2。  Step 108: S-CSCF#2 allows the media parameter information to be used in the session, and S-CSCF#2 forwards the INVITE to P-CSCF #2.
步骤 109、 P-CSCF#2检查 SDP中描述的媒体参数信息, 如果由于 本地策略原因或者 QoS授权的原因, P-CSCF # 2不能允许媒体参数信息 在会话中使用., 就拒绝业务能力的协商。 在拒绝消息中会包含足够的信 息通知给 UE1, 以便 UE1根据这些信息发起下一次会话协商。  Step 109: The P-CSCF#2 checks the media parameter information described in the SDP. If the P-CSCF #2 cannot allow the media parameter information to be used in the session due to local policy reasons or QoS authorization reasons, the service capability negotiation is rejected. . The rejection message will contain enough information to inform UE1 so that UE1 initiates the next session negotiation based on this information.
这时 P-CSCF # 2生成授权令牌 ( Authorization-Token )。  At this time, P-CSCF # 2 generates an authorization token (Authentication-Token).
步驟 110、 P-CSCF#2允许媒体参数信息在会话中使用, P-CSCF# 2将 INVITE转发给 UE # 2 , 授权令牌包含在 INVITE中。  Step 110: P-CSCF#2 allows media parameter information to be used in the session, P-CSCF#2 forwards the INVITE to UE #2, and the authorization token is included in the INVITE.
步驟 111、 UE#2决定完成会话的一组完整编码, 和对比在消息中 的 SDP中编码信息的交集,如果哪种媒体不支持就在该媒体描述的端口 号上设为 0, 对支持媒体的媒体描述的端口号上插入分配一个端口号。  Step 111: UE#2 determines a complete set of encodings for completing the session, and compares the intersection of the encoded information in the SDP in the message. If any media is not supported, the port number of the media description is set to 0, for the supporting media. The port number of the media description is inserted to assign a port number.
步骤 112、 UE2给 P-CSCF # 2返回 SDP响应, 即一组媒体流和编码 的描述。  Step 112: UE2 returns an SDP response to P-CSCF #2, that is, a description of a group of media streams and codes.
步骤 113、 P-CSCF#2授权保留这些媒体流和编码的 QoS资源。 步驟 114、 P-CSCF # 2转发 SDP响应给 S-CSCF # 2。  Step 113: P-CSCF#2 authorizes retaining these media streams and encoded QoS resources. Step 114: P-CSCF # 2 forwards the SDP response to S-CSCF #2.
步骤 115、 S-CSCF#2转发 SDP响应给 S-CSCF#1。  Step 115: S-CSCF#2 forwards the SDP response to S-CSCF#1.
步骤 116、 S-CSCF# 1转发 SDP响应给 P-CSCF# 1。  Step 116: S-CSCF#1 forwards the SDP response to P-CSCF#1.
步骤 117、 P-CSCF# 1授权保留这些媒体流和编码的 QoS资源。 步骤 118、 授权令牌包含在 SDP描述中, P-CSCF转发 SDP响应给 UE # 1。 Step 117, P-CSCF#1 authorizes retaining these media streams and encoded QoS resources. Step 118: The authorization token is included in the SDP description, and the P-CSCF forwards the SDP response to UE # 1.
步骤 119、 UE1决定在会话中使用哪些媒体流, UE1决定在媒体流 中使用哪些编码参数。 如果在一个会话中可以选择多于一种媒体流, 或 者如果一个媒体流中可以选择多于一种编码参数,那么 UE1需要再次和 UE2协商以将编码参数的数量减少到一个。  Step 119: UE1 determines which media streams are used in the session, and UE1 determines which encoding parameters are used in the media stream. If more than one media stream can be selected in a session, or if more than one encoding parameter can be selected in a media stream, then UE1 needs to negotiate with UE2 again to reduce the number of encoding parameters to one.
步骤 120 ~ 124、 UE1向 UE2发出提议的 SDP ( offered SDP )。  Steps 120-124, UE1 sends a proposed SDP (sold SDP) to UE2.
使用这种方法能够在会话协商过程中协商得到在会话中被使用的编 码参数, 该编码参数即为主被叫终端协商的业务能力。  Using this method, the coding parameters used in the session can be negotiated during the session negotiation process, and the coding parameters are the service capabilities negotiated by the called terminal.
在会话协商的过程中, 网络实体根据本地策略、 业务质量(QoS ) 授权或用户的签约等原因决定是否接受协商的请求, 如果网络实体拒绝 会话协商, 就返回拒绝响应, 并且在拒绝的响应中提供足够的信息提供 给主叫终端, 使得主叫终端决定如何进行下一次会话协商。  During the negotiation of the session, the network entity decides whether to accept the negotiation request according to the local policy, the quality of service (QoS) authorization, or the subscription of the user. If the network entity rejects the session negotiation, it returns a rejection response, and in the response of the rejection. Provide sufficient information to the calling terminal so that the calling terminal decides how to proceed to the next session negotiation.
图 2为现有技术主被叫终端通过 IMS网络建立多方通话会话的信令 部分截取的流程图。 本流程涉及的 IMS网络实体包括: S-CSCF、 IMS 网络中的 AS、 提供 IMS网络媒体资源的 MRF, 其具体步骤为:  2 is a flow chart of intercepting a signaling part of a multiparty call session established by a calling and a called terminal in an IMS network. The IMS network entity involved in this process includes: an S-CSCF, an AS in the IMS network, and an MRF that provides IMS network media resources. The specific steps are as follows:
步骤 200、主叫终端 UE1向 S-CSCF发送携带 UE1的会话能力信息 的 INVITE请求, 该请求携带业务标识, 用于标识本次业务请求的业务 类型。  Step 200: The calling terminal UE1 sends an INVITE request carrying the session capability information of the UE1 to the S-CSCF, where the request carries a service identifier, which is used to identify the service type of the current service request.
步骤 201、 S-CSCF给 UE1返回接收到该 INVITE请求的响应, 即 100 Trying消息。  Step 201: The S-CSCF returns, to the UE1, a response that receives the INVITE request, that is, a 100 Trying message.
对于每个 INVITE请求, 都会有一个 100 Trying消息的响应, 图 2 在以下的流程中没有标识出来。  For each INVITE request, there will be a response to a 100 Trying message, which is not identified in the following flow.
步骤 202、 S-CSCF根据 INVITE请求携带的业务标识确定处理本次 业务请求的 AS, 将携带 UE1的会话能力信息的 INVITE请求转发给所 确定的 AS。 步骤 203、 AS返回 INVITE请求的响应给 S-CSCF。 Step 202: The S-CSCF determines, according to the service identifier carried in the INVITE request, the AS that processes the current service request, and forwards the INVITE request that carries the session capability information of the UE1 to the determined AS. Step 203: The AS returns a response of the INVITE request to the S-CSCF.
步骤 204、 S-CSCF将携带 UEl的会话能力信息的 INVITE请求发送 给被叫终端 UE2。  Step 204: The S-CSCF sends an INVITE request carrying the session capability information of the UE1 to the called terminal UE2.
步骤 205、 UE2根据 INVITE请求携带的 UE1的会话能力信息, 判 断出自身不支持 UE1的业务能力, 返回给 S-CSCF携带 UE2支持的会 话能力信息的错误消息,该错误消息表示不支持 UE1业务能力,即 3GPP IMS规范中的 606 Response ( Not Acceptable, UA SDP )。  Step 205: The UE2 determines, according to the session capability information of the UE1 that is carried by the INVITE request, that it does not support the service capability of the UE1, and returns an error message that the S-CSCF carries the session capability information supported by the UE2, and the error message indicates that the UE1 service capability is not supported. , 606 Response ( Not Acceptable, UA SDP ) in the 3GPP IMS specification.
步骤 206、 S-CSCF给 UE2发送接收到错误消息的确认消息 ,即 ACK 消息。  Step 206: The S-CSCF sends an acknowledgement message, that is, an ACK message, to the UE2 that receives the error message.
步骤 207、 S-CSCF向 AS转发错误消息, 即 606-2消息。  Step 207: The S-CSCF forwards an error message, that is, a 606-2 message, to the AS.
步骤 208、接收到错误消息的 AS进行业务能力转换的判断后,判断 出需要进行业务能力的转换, 转入步骤 209。  Step 208: After the AS that receives the error message determines the service capability conversion, it is determined that the service capability needs to be converted, and the process proceeds to step 209.
步骤 209、 AS给 S-CSCF返回接收到错误消息的确认消息,即 ACK-2 消息。  Step 209: The AS returns an acknowledgement message, that is, an ACK-2 message, to the S-CSCF that receives the error message.
步骤 210、 AS 向 S-CSCF发送携带 UE2 支持的会话能力信息的 Step 210: The AS sends, to the S-CSCF, session capability information that is supported by the UE2.
INVITE请求,该 UE2的 SDP是由 AS从携带 UE2支持的会话能力信息 的错误消息中获得的。 The INVITE request, the SDP of the UE2 is obtained by the AS from an error message carrying the session capability information supported by the UE2.
步骤 211、 S-CSCF将携带 UE2支持的 SDP的 INVITE请求转发给 步骤 212、 MRF根据自身存储的媒体资源对 INVITE请求携带的 UE2 支持的会话能力信息进行判断,判断出 UE2支持 INVITE请求携带的会 话能力信息, 发送携带媒体参数的确认该 INVITE 请求的消息给 S-CSCF, 即携带媒体参数的 200 OK响应。  Step 211: The S-CSCF forwards the INVITE request carrying the SDP supported by the UE2 to the step 212, and the MRF determines the session capability information supported by the UE2 carried by the INVITE request according to the media resource stored by the MRF, and determines that the UE2 supports the session carried by the INVITE request. The capability information is sent to the S-CSCF, which is a 200 OK response carrying the media parameter.
步驟 213 ~ 214、 S-CSCF将 200 OK响应发送给 AS, AS返回给 S-CSCF收到该 200 OK消息的确认消息, 即 ACK-3消息。 步骤 215、 S-CSCF给 MRP返回收到该 200 OK消息的确认消息, 即 ACK-3消息。 Steps 213 to 214: The S-CSCF sends a 200 OK response to the AS, and the AS returns an acknowledgement message, that is, an ACK-3 message, to the S-CSCF to receive the 200 OK message. Step 215: The S-CSCF returns an acknowledgement message, that is, an ACK-3 message, to the MRP that receives the 200 OK message.
步骤 216、 确定 UE1与 UE2之间所传输的数据都要根据 UE1所支 持的 SDP 以及 UE2 所支持的业务能力进行业务能力的转换后, 按照 3GPP IMS规范继续执行后续建立会话步骤,直至 UE1和 UE2之间建立 会话。  Step 216: Determine that the data transmitted between the UE1 and the UE2 is to be converted according to the SDP supported by the UE1 and the service capability supported by the UE2, and then continue to perform the subsequent establishment session according to the 3GPP IMS specification until the UE1 and the UE2 Establish a session between.
从图 1和图 2所述的方案可以看出, 在进行主被叫终端能力协商的 过程中, 在被叫终端不支持主叫终端的业务能力或会话协商传输路径上 的网络实体不支持主叫终端的业务能力时会发送错误消息, 当会话协商 传输路径上的网络实体或主叫终端接收到被叫终端的错误消息后, 会重 新进行主被叫终端之间的业务能力协商, 完成本次主被叫终端的会话。  It can be seen from the schemes shown in FIG. 1 and FIG. 2 that during the process of negotiating the calling and called terminal capabilities, the network entity on the called terminal does not support the service capability of the calling terminal or the session negotiation transmission path does not support the master. When the service capability of the terminal is called, an error message is sent. When the network entity or the calling terminal on the session negotiation transmission path receives the error message of the called terminal, the service capability negotiation between the calling and the called terminal is re-established. The session of the secondary master called terminal.
由于被叫终端在收到会话建立请求不能建立会话时, 向主叫终端返 回错误响应消息, 并通知不能接受会话协商的原因, 主叫终端按照错误 响应消息的提示重新进行会话协商。 主叫终端在接收到错误响应消息 后,再在主被叫终端之间重新协商业务能力,这会造成会话建立的时延, 从而影响主被叫终端之间的会话质量。更进一步地, 在一些基于 IMS网 络的业务应用中, 比如: 基于蜂窝网络的按键即说 (PoC , PTT over Cellular )业务, 对于会话建立的时延有严格的要求, 当被叫终端返回错 误消息时, 再在主被叫终端之间的重新协商业务能力, 这增加了会话处 理的时延, 降低了用户使用的满意度, 这对 PoC业务在 IMS网络中的 发展造成了阻碍。  When the called terminal cannot establish a session when receiving the session establishment request, it returns an error response message to the calling terminal, and notifies the reason that the session negotiation cannot be accepted, and the calling terminal re-schedules the session according to the prompt of the error response message. After receiving the error response message, the calling terminal re-negotiates the service capability between the calling and called terminals, which causes a delay in session establishment, thereby affecting the session quality between the calling and called terminals. Further, in some IMS network-based service applications, for example, a cellular network-based push-to-talk (PoC, PTT over Cellular) service has strict requirements on the delay of session establishment, when the called terminal returns an error message. At this time, the renegotiation service capability between the calling and the called terminals increases the delay of the session processing and reduces the satisfaction of the user, which hinders the development of the PoC service in the IMS network.
更进一步地, 随着基于会话发起协议 ( SIP )的分组交换网络的多媒 体应用发展, 会出现多个网络实体同时参与会话的建立, 多个网络实体 共同提供一项业务的情况, 例如由不同的媒体资源处理实体分别处理音 频和视频媒体,这时由 SDP协议承担描述的媒体参数可能包括了参与服 务的不同运营商网络的多个网络实体或终端的媒体格式以及编码参数, 从数量上和种类上都将有所增加。 但是现有 SDP协议所支持的描述方 法,对不同来源的对媒体的描述就不能够在 SDP协议对媒体参数的描述 中区分出来, 在会话协商的接收方使用的 SIP也不支持在 SIP消息体内 携带来自不同网络实体或终端的多个不同 SDP描述的需求。这些随着技 术发展显现出来的需求, 都使得需要在技术上对描述的一个会话的会话 能力信息的优先级和属性进行定义, 并且对 SIP对会话能力信息的使用 进行必要的扩展。 发明内容 Further, with the development of multimedia applications of a Session Initiation Protocol (SIP)-based packet switched network, multiple network entities may participate in the establishment of a session at the same time, and multiple network entities jointly provide a service, for example, by different The media resource processing entity processes the audio and video media separately, and the media parameters described by the SDP protocol may include participation services. The media formats and coding parameters of multiple network entities or terminals of different carrier networks will increase in both quantity and type. However, the description methods supported by the existing SDP protocol cannot distinguish the media descriptions from different sources in the description of the media parameters by the SDP protocol, and the SIP used by the receiver of the session negotiation does not support the SIP message body. Carrying the requirements of multiple different SDP descriptions from different network entities or terminals. These requirements, which emerge with the development of technology, make it necessary to technically define the priority and attributes of the session capability information of a session described, and to expand the use of session capability information by SIP. Summary of the invention
本发明实施例提供一种进行会话能力信息操作的方法, 该方法能够 筒化主被叫终端进行业务能力协商的过程 , 从而减少会话建立的时延。 更进一步地, 该方法还能够在 SIP网络提供 PoC业务时, 简化业务能力 协商过程, 减少会话建立的时延。  The embodiment of the invention provides a method for performing session capability information operation, which can process the negotiation process of the service capability of the calling and called terminals, thereby reducing the delay of session establishment. Further, the method can also simplify the service capability negotiation process when the SIP network provides the PoC service, and reduce the delay of the session establishment.
本发明实施例还提供一种进行会话能力信息操作的网络实体, 该网 絡实体能够简化主被叫终端进行业务能力协商的过程, 从而减少会话建 立的时延。 更进一步地, 该方法还能够在 SIP网絡提供 PoC业务时, 简 化业务能力协商过程, 减少会话建立的时延。  The embodiment of the present invention further provides a network entity that performs session capability information operation, and the network entity can simplify the process of negotiating service capability of the calling and called terminals, thereby reducing the delay of session establishment. Further, the method can also simplify the service capability negotiation process when the SIP network provides the PoC service, and reduce the delay of the session establishment.
根据上述目的, 本发明实施例的技术方案是这样实现的:  According to the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
一种进行会话能力信息操作的方法, 该方法包括:  A method for performing session capability information operations, the method comprising:
会话发起协议 SIP网络中的网络实体接收到携带会话能力信息的会 话消息后 , 对会话消息所携带的会话能力信息进行操作。  Session Initiation Protocol After receiving the session message carrying the session capability information, the network entity in the SIP network operates the session capability information carried in the session message.
一种会话能力信息操作的网络实体, 该网絡实体包括: 依次连接的 接收模块、 策略获取模块和处理模块, 分别与处理模块相连接的响应模 块和转发模块; 其中, 接收模块、 响应模块和转发模块还与 SIP网络中 的各个终端相连接; A network entity that operates with session capability information, the network entity includes: a receiving module, a policy acquiring module, and a processing module that are sequentially connected, a response module and a forwarding module respectively connected to the processing module; wherein, the receiving module, the response module, and the forwarding Module is also in the SIP network Each terminal is connected;
主叫方将会话消息发送给接收模块, 策略获取模块获取到处理会话 消息的策略后, 将接收模块接收到的会话消息透传到处理模块并且将处 理会话消息的策略发送给处理模块, 处理模块采用处理会话消息的策略 对会话消息处理后, 生成会话建立请求消息发送给转发模块, 或者生成 会话建立响应消息发送给响应模块, 转发模块将会话建立请求消息发送 被叫方, 响应模块将会话建立响应消息发送给被叫方。  The calling party sends the session message to the receiving module, and after obtaining the policy for processing the session message, the policy obtaining module transparently transmits the session message received by the receiving module to the processing module and sends the policy for processing the session message to the processing module, and the processing module After the session message is processed by the policy for processing the session message, the session establishment request message is sent to the forwarding module, or the session establishment response message is sent to the response module, and the forwarding module sends the session establishment request message to the called party, and the response module establishes the session. A response message is sent to the called party.
从上述方案可以看出, 本发明实施例在主被叫终端进行业务能力协 商过程中, 当主叫方向 SIP网络发出携带主叫方的业务能力的会话建立 请求消息时, SIP 网络中的网络实体可以直接更改会话建立请求消息的 消息体中的内容, 将其获得的 SI?网络支持的会话能力信息携带在该请 求消息中发送给被叫方, 被发送的会话能力信息有属性信息区分, 属性 信息可以作为网络实体对会话能力信息操作的依据, 由被叫方选择其支 持的业务能力后发送给 SIP网络中的网络实体, SIP网络中的网络实体 根据所接受的被叫方支持的业务能力进行后续处理。 另外, 本发明实施 例在主被叫终端进行业务能力协商过程中, 被叫方也可以向 SIP网络返 回携带主叫方的业务能力的会话建立响应消息, SIP 网络中的网络实体 可以直接更改会话建立请求消息的消息体中的内容, 将其获得的 SIP网 络支持的会话能力信息携带在该请求消息中发送给主叫方, 由主叫方选 择其支持的业务能力后发送给 SIP网络中的网络实体, SIP网络中的网 络实体根据所接受的主叫方支持的业务能力进行后续处理。  As can be seen from the foregoing solution, in the process of the service capability negotiation between the calling and the called terminal, when the calling party sends a session establishment request message carrying the service capability of the calling party to the SIP network, the network entity in the SIP network The content of the message body of the session establishment request message can be directly changed, and the session capability information supported by the SI network is carried in the request message and sent to the called party, and the sent session capability information is distinguished by the attribute information. The information can be used as the basis for the operation of the session capability information by the network entity. The called party selects the service capability it supports and sends it to the network entity in the SIP network. The network entity in the SIP network according to the received service capability supported by the called party. Follow up. In addition, in the process of the service capability negotiation between the calling and the called terminal, the called party may also return a session establishment response message carrying the service capability of the calling party to the SIP network, and the network entity in the SIP network may directly change the session. The content of the message body of the request message is set, and the session capability information supported by the SIP network is carried in the request message and sent to the calling party, and the calling party selects the service capability supported by the calling party and sends it to the SIP network. The network entity, the network entity in the SIP network performs subsequent processing according to the accepted service capabilities supported by the calling party.
由于本发明实施例中的主叫终端并不像现有技术那样等到被叫终端 返回拒绝消息后重新进行主被叫终端之间业务能力的协商, 而是直接向 被叫终端提供 SIP网络的会话能力信息供被叫终端选择, 从而筒化了主 被叫终端进行业务能力协商的过程, 减少会话建立的时延。 由于本发明实施例的业务能力操作网絡实体及方法也可以在进行Because the calling terminal in the embodiment of the present invention does not wait for the called terminal to re-request the service capability between the calling and called terminals after returning the reject message, as in the prior art, but directly provides the SIP network session to the called terminal. The capability information is selected by the called terminal, thereby the process of negotiating the service capability of the calling and called terminals, and reducing the delay of session establishment. The service capability operation network entity and method according to the embodiment of the present invention may also be performed.
PoC会话建立过程中使用, 因此该方法在 SIP网络提供 PoC业务时, 简 化业务能力协商过程, 减少会话建立的时延, 提高用户使用的体验。 附图简要说明 It is used in the PoC session establishment process. Therefore, when the SIP network provides the PoC service, the method simplifies the service capability negotiation process, reduces the delay of session establishment, and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为现有 IMS规范规定的媒体参数能力协商流程图;  Figure 1 is a flow chart of media parameter capability negotiation stipulated by the existing IMS specification;
图 2为现有技术主被叫终端通过 IMS网络建立多方通话会话的信令 部分截取的流程图;  2 is a flow chart of intercepting a signaling part of a multiparty call session established by a calling and a called terminal in an existing IMS network;
图 3为本发明进行业务能力协商的信令流程图;  FIG. 3 is a signaling flowchart of performing service capability negotiation according to the present invention;
图 4为本发明当 IMS网络采用 PoC业务时,终端进行业务能力协商 实施例一的信令流程图;  4 is a signaling flowchart of Embodiment 1 of a service capability negotiation performed by a terminal when the IMS network adopts a PoC service according to the present invention;
图 5为本发明当 IMS网络采用 PoC业务时,终端进行业务能力协商 实施例二的信令流程图;  FIG. 5 is a signaling flowchart of Embodiment 2 of the service capability negotiation performed by the terminal when the IMS network adopts the PoC service according to the present invention;
图 6 为本发明 IMS 网络中的应用服务器共同提供被叫终端所支持 SDP的业务能力转换示意图;  FIG. 6 is a schematic diagram of the service capability conversion of the SDP supported by the called terminal by the application server in the IMS network according to the present invention;
图 7为本发明在 IMS网络中进行业务能力协商的信令实施例的流程 图;  7 is a flow chart of a signaling embodiment of performing service capability negotiation in an IMS network according to the present invention;
图 8为本发明在 IMS网络中进行业务能力协商的信令实施例二的流 程图;  8 is a flow chart of Embodiment 2 of signaling for performing service capability negotiation in an IMS network according to the present invention;
图 9为本发明 SIP网络中的网络实体向会话建立请求消息中的消息 :体增加铃声和修改铃声的信令流程图;  FIG. 9 is a signaling flow chart of a network entity in a SIP network to a session establishment request message according to the present invention: a signaling scheme for adding a ringtone and modifying a ringtone;
图 10为本发明 SIP网絡中的网络实体向会话建立请求消息中的消息 体增加支持视频类型的媒体信息的描述的信令流程图;  10 is a signaling flowchart of a description of adding a media type supporting media type to a message body in a session establishment request message in a SIP network according to the present invention;
图 11为本发明的会话能力信息操作的结构示意图;  11 is a schematic structural diagram of a session capability information operation according to the present invention;
图 12为本发明的网络实体的结构示意图。 实施本发明的方式 FIG. 12 is a schematic structural diagram of a network entity according to the present invention. Mode for carrying out the invention
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例 并参照附图, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
本发明实施例提供的方法可以用于 IMS网络, 但是不限于 IMS网 络, 本发明实施例可以用于任何 SIP网络。  The method provided by the embodiment of the present invention can be used in an IMS network, but is not limited to an IMS network, and the embodiment of the present invention can be applied to any SIP network.
本发明实施例所述的主叫方为主叫终端、 执行客户代理 UA的 AS、 或者 SIP网络的边界网关; 所述被叫方为被叫终端或者 SIP网絡中的网 絡实体。 当然, 作为主叫方 SIP网络的 IMS网络中的实体和作为被叫方 的 SIP网络的 IMS网络中的实体互不相同。  In the embodiment of the present invention, the calling party is the calling terminal, the AS performing the client proxy UA, or the border gateway of the SIP network; the called party is the called terminal or the network entity in the SIP network. Of course, the entities in the IMS network as the calling party's SIP network and the entities in the IMS network as the SIP network of the called party are different from each other.
本发明实施例在业务能力协商的过程中, 网络实体对会话消息的操 作包括了业务能力协商过程中的设置和信息协商 , 促使了业务能力协商 过程有效地进行。 网絡实体对会话消息的操作可以是对会话建立请求消 息的操作也可以是对会话建立响应消息的操作。  In the process of the service capability negotiation, the operation of the session message by the network entity includes the setting and information negotiation in the service capability negotiation process, which prompts the service capability negotiation process to be performed effectively. The operation of the session message by the network entity may be an operation of a session establishment request message or an operation of a session establishment response message.
在本发明实施例中, 会话消息可以为会话建立请求消息、 会话建立 响应消息、 会话建立协商消息、 会话建立协商确认消息、 会话更新消息 或者会话更新确认消息。 其中, 所述的会话建立请求消息为 INVITE消 息或者 REFER消息; 所述的会话建立响应消息为 200 OK消息; 所述的 会话建立协商消息为 183消息;所述的会话建立协商确认消息为 PRACK 消息; 所述的会话更新消息为 UPDATE消息或者 REINVITE消息; 所述 的会话更新确认消息为 200 OK消息。  In the embodiment of the present invention, the session message may be a session establishment request message, a session establishment response message, a session establishment negotiation message, a session establishment negotiation confirmation message, a session update message, or a session update confirmation message. The session establishment request message is an INVITE message or a REFER message; the session establishment response message is a 200 OK message; the session establishment negotiation message is a 183 message; and the session establishment negotiation confirmation message is a PRACK message. The session update message is an UPDATE message or a REINVITE message; the session update confirmation message is a 200 OK message.
SIP 网络中的网络实体在会话协商的过程中, 可以对收到的主叫方 发出的会话消息中的会话能力信息中的内容进行添加、 删除或 /和修改 , 会话能力信息设置了属性信息, 网络实体对消息的修改还包括了对会话 能力信息的属性信息的添加、删除或 /和修改, 会话消息为会话建立请求 消息或会话建立响应消息。 所述的会话消息中的会话能力信息可以使用 SDP协议规定的方法描述, 还可以采用描述媒体信息语言 (XML )、 或 脚本语言 (SCRIPT )描述。 对 SDP协议规定的对会话能力信息的修改 可以对 SDP协议规定的描述方法进行一些扩展。 During the session negotiation process, the network entity in the SIP network may add, delete, or/and modify the content in the session capability information in the session message sent by the calling party, and set the attribute information in the session capability information. The modification of the message by the network entity further includes adding, deleting, or/and modifying the attribute information of the session capability information, and the session message is a session establishment request message or a session establishment response message. The session capability information in the session message can be used. The method description specified by the SDP protocol can also be described by describing a media information language (XML), or a scripting language (SCRIPT). The modification of the session capability information specified by the SDP protocol may be extended to the description method specified by the SDP protocol.
在本发明实施例中以 SDP描述的会话能力信息为^)说明,网络实体 将 SIP 网络中支持的会话能力信息加入到会话建立请求消息的消息体 中, 消息中的会话能力信息使用属性信息区分, 提供给被叫方选择。 被 叫方收到会话建立请求消息后, 可以从该消息中选择期望的业务能力作 为本次会话的业务能力协商的结果。 在被叫方返回的响应消息中携带了 其选择的会话的业务能力, SIP 网络上的网络实体根据返回的会话建立 响应消息中携带的业务能力决定是否需要进行业务能力的转换。 SIP 网 络上的 络实体还可以根据会话建立响应消息中的业务能力对业务能 力进行增加、删除或 /和修改, 并且将返回的会话建立响应消息发送到主 叫方。  In the embodiment of the present invention, the session capability information described by the SDP is used as a description, and the network entity adds the session capability information supported by the SIP network to the message body of the session establishment request message, and the session capability information in the message uses the attribute information to distinguish , provided to the called party to choose. After receiving the session establishment request message, the called party can select the desired service capability from the message as the result of the service capability negotiation for the session. The response message returned by the called party carries the service capability of the selected session. The network entity on the SIP network determines whether the service capability needs to be converted according to the service capability carried in the returned session establishment response message. The network entity on the SIP network can also add, delete, or/and modify the service capabilities based on the service capabilities in the session establishment response message, and send the returned session establishment response message to the calling party.
网络实体将 SIP网络中支持的会话能力信息加入到会话建立请求消 息中的依据, 可以是网络在网絡实体上的预先设置, 按照固定方式添加 和修改会话能力信息和属性信息, 可以是根据网絡实体上获得的网络的 会话能力支持能力, 决定将网络的会话能力信息添加和修改会话能力信 The network entity adds the session capability information supported by the SIP network to the session establishment request message, which may be a preset of the network on the network entity, and adds and modifies the session capability information and the attribute information according to a fixed manner, which may be based on the network entity. The session capability support capability of the obtained network, the decision to add and modify the session capability information of the network
.
需要说明的是, 在进行会话协商过程中, 会话消息途径的 SIP网络 不仅仅只有一个, 也可能有多个。 所述的 SIP网络为主叫方和被叫方所 属的 SIP网络; 或者所述的 SIP网络为主叫方所属的 SIP网络和被叫方 所属的 SIP网络; 或者所述的 SIP网絡为主叫方所属的 SIP网絡、 被叫 方所属的 SIP网絡、 以及主叫方所属的 SIP网络和被叫方所属的 SIP网 络中间穿越的一个或多个 SIP网络。 会话能力信息的属性信息可以反映 会话消息途径或者参与处理会话能力信息的 SIP网络的信息, 如被叫网 絡、 主叫网络、 集中控制网络、 中间穿越网络, 还可以反映途径 SIP网 络或者参与处理会话能力信息的网络的标志信息 It should be noted that during the session negotiation process, there are more than one SIP network of the session message path, and there may be more than one. The SIP network is a SIP network to which the calling party and the called party belong; or the SIP network belongs to the SIP network to which the calling party belongs and the SIP network to which the called party belongs; or the SIP network is called The SIP network to which the party belongs, the SIP network to which the called party belongs, and the SIP network to which the calling party belongs and one or more SIP networks traversed by the SIP network to which the called party belongs. The attribute information of the session capability information may reflect the session message path or the information of the SIP network participating in the process capability information, such as the called network. Network, central control network, central traversal network, and can also reflect the logo information of the SIP network or the network involved in processing session capability information.
在本发明实施例中, SIP网络上支持的业务能力可以预先保存在 SIP 网络的网络实体上,也可以保存在独立的能力服务器( Capability Server ) 上。 Capability Server是, SIP网络上一个逻辑功能实体, Capability Server 上保存着 SIP 网络上的网络实体的业务能力, 这些业务能力可以在 Capability Server上按照不同的网络实体区分保存。 SIP网络上的网络实 体在修改会话建立请求消息或会话建立响应消息中的会话能力信息时, 网絡实体可以向 Capability Server查询 SIP 网络上支持的业务能力, Capability Server返回会话能力信息给查询的网络实体。网络实体将查询 到的会话能力信息加入到会话建立请求消息或会话建立响应消息中 , 提 供给被叫方或主叫方选择。  In the embodiment of the present invention, the service capability supported by the SIP network may be pre-stored in the network entity of the SIP network, or may be stored in a separate capability server (Capability Server). The Capability Server is a logical functional entity on the SIP network. The Capability Server stores the service capabilities of the network entities on the SIP network. These service capabilities can be stored on the Capability Server according to different network entities. When the network entity on the SIP network modifies the session capability information in the session establishment request message or the session establishment response message, the network entity may query the Capability Server for the service capability supported on the SIP network, and the Capability Server returns the session capability information to the queried network entity. . The network entity adds the queried session capability information to the session establishment request message or the session establishment response message, and provides the called party or the calling party to select.
当然 Capability Server也可以被能力提供功能(Capability Provide Function )替代。  Of course, Capability Server can also be replaced by Capability Provide Function.
本发明实施例的会话能力信息是以 SDP为例进行说明的,在实际的 实现中, 可以是任何通过 SIP协商的协议会话信息, 这个信息根据会话 使用的协议的不同而不同, 比如当协商的是 RTP协议的时候, 这个会话 能力信息可以是编解码类型或 /和编码速率等,而当协商的是 MSRP的时 候, 这个会话能力信息可以是媒体流的速率等。 当协商一些应用程序的 时候, 这个会话能力信息还可以包括位置信息、 呈现(presence )信息 和铃声等多种信息。 SDP包括会话信息、 会话发起方联系信息、 时间信 息、 连接信息、 编解码类型、 带宽信息、 封装密码、 传输协议会话属性 的描述、 编码速率、 媒体流的速率、 分组包间隔时间、 写字板方向、 多 方会话类型、 字体设置、媒体描述语言、 编码质量或 /和格式设置参数媒 体属性的描述; 应用程序包括文本、 铃声、 视频媒体、 音频媒体、 动画 或 /和执行程序。 The session capability information in the embodiment of the present invention is described by taking the SDP as an example. In actual implementation, it may be any protocol session information negotiated by SIP, and the information varies according to the protocol used by the session, for example, when negotiating When the RTP protocol is used, the session capability information may be a codec type or/and a coding rate, etc., and when the MSRP is negotiated, the session capability information may be a media stream rate or the like. When negotiating some applications, the session capability information may also include various information such as location information, presence information, and ringtones. The SDP includes session information, session initiator contact information, time information, connection information, codec type, bandwidth information, encapsulation password, description of transport protocol session attributes, coding rate, rate of media stream, packet interval, and tablet direction. Description of multi-party session type, font settings, media description language, encoding quality, or/and formatting parameter media properties; applications include text, ringtones, video media, audio media, animation Or / and execute the program.
本发明实施例在 SIP网络上可以修改会话协商中的业务能力的网络 实体为所述 SIP网络中的网络实体为 AS、 CSCF、 MRF、 SIP服务器。 其中 AS为控制按键即说 PoC业务功能 PoC Server ( Controlling )、 参与 控制 PoC 业务功能 PoC Server ( Participating )、 多方通话服务器 ( Conference Server )、 业务能力交互管理器 ( Service Capability Interaction Manager ( SCIM ) )或 /和呈现服务器( Presence Server ); CSCF 可以为 P-CSCF、 S-CSCF或 /和 I-CSCF; SIP服务器可以为呼出边界网 关控制功能(BGCF )或 /和 SIP协议的应用层网关 (SIP-ALG )。  In the embodiment of the present invention, the network entity that can modify the service capability in the session negotiation on the SIP network is the AS, the CSCF, the MRF, and the SIP server in the SIP network. The AS is a control button, that is, a PoC service function PoC Server (Controlling), a PoC service (Postation), a Conference Server, a Service Capability Interaction Manager (SCIM), or / and presence server (Presence Server); CSCF can be P-CSCF, S-CSCF or / and I-CSCF; SIP server can be an outbound border gateway control function (BGCF) or / and SIP protocol application layer gateway (SIP- ALG).
在本发明实施例中, 主要以 UE作为发起会话协商的主叫方为例进 行说明。 在实现过程中, 发起会话的主叫方和终结会话的被叫方可以是 UE, 也可以是执行客户代理(UA ) 的 AS或者 SIP网络的边界网关。 即在 SIP网络中的主被叫 UE可以作为主叫方和被叫方使用本发明实施 例的业务能力协商方法进行会话协商; SIP网络中的一个主叫 UE和一 个 AS可以作为主叫方和被叫方使用本发明实施例的业务能力协商方法 进行会话协商; 在 SIP网络中的两个 AS也可以作为主叫方和被叫方使 用本发明实施例的业务能力协商方法进行会话协商。  In the embodiment of the present invention, the UE is mainly used as a calling party that initiates session negotiation as an example. In the implementation process, the calling party that initiates the session and the called party that terminates the session may be the UE, or may be the border gateway of the AS or SIP network that performs the client agent (UA). That is, the calling and called UEs in the SIP network can use the service capability negotiation method of the embodiment of the present invention as the calling party and the called party to perform session negotiation; a calling UE and an AS in the SIP network can serve as the calling party and the calling party. The called party uses the service capability negotiation method of the embodiment of the present invention to perform session negotiation. The two ASs in the SIP network can also use the service capability negotiation method of the embodiment of the present invention to perform session negotiation.
下面实施例中使用的 SDP1 , SDP2等描述指的是使用 SDP描述的 会话能力信息, SDP1和 SDP2中还可以包括会话能力信息的属性信息。  The descriptions of SDP1, SDP2, and the like used in the following embodiments refer to the session capability information described by the SDP, and the SDP1 and SDP2 may further include attribute information of the session capability information.
图 3为本发明进行业务能力协商的信令流程图, 涉及的网络实体包 括: 主叫方、被叫方、主叫方侧网络实体、会话协商处理实体、 Capability Server、 被叫方侧网络实体, 其具体步骤为:  FIG. 3 is a signaling flowchart of a service capability negotiation according to the present invention. The network entity involved includes: a calling party, a called party, a calling party side network entity, a session negotiation processing entity, a Capability Server, and a called party side network entity. , the specific steps are:
步驟 300、 主叫方向主叫方侧网络实体发送会话建立请求消息, 该 请求消息携带主叫方的会话能力信息。  Step 300: The calling party sends a session establishment request message to the calling party side network entity, where the request message carries the session capability information of the calling party.
该会话能力信息可以用 SDP1来描述, SDP1中包括业务能力类型、 媒体参数以及编码参数等关于业务能力的参数。 SDP1 的属性信息, 包 括会话能力信息来自于主叫方, 业务信息的优先级, 业务信息所属的网 络标志等。 The session capability information can be described by SDP1, and the SDP1 includes the service capability type. Parameters related to business capabilities such as media parameters and encoding parameters. The attribute information of the SDP1, including the session capability information, is from the calling party, the priority of the service information, and the network identifier to which the service information belongs.
步骤 301、 主叫方侧网络实体给主叫方返回接收到该请求消息的响 应, 即 100 Trying消息。  Step 301: The calling party side network entity returns a response of the request message to the calling party, that is, a 100 Trying message.
对于每个会话建立请求消息, 都会有一个 100 Trying消息的响应, 本发明实施例在以下的流程中没有标识出来。  For each session establishment request message, there will be a response of 100 Trying messages, which is not identified in the following process.
步驟 302、 主叫方侧网络实体才艮据该请求消息确定如何处理会话建 立请求消息, 确定如何将会话建立请求消息提供给支持本发明实施例规 定的业务能力协商功能的会话协商处理实体, 将该请求消息发送给会话 协商处理实体。  Step 302: The calling party side network entity determines, according to the request message, how to process the session establishment request message, and determines how to provide the session establishment request message to the session negotiation processing entity that supports the service capability negotiation function specified in the embodiment of the present invention. The request message is sent to the session negotiation processing entity.
本发明实施例可以在会话建立请求消息中设置业务标识, 标识该请 求消息要进行的业务能力协商, 主叫方侧网络实体根据该请求消息中设 同样地, 主叫方侧网络实体也可以根据该请求消息中设置的业务标 识确定为发起该请求消息的主叫方提供何种服务。  The embodiment of the present invention may set a service identifier in the session establishment request message to identify the service capability negotiation to be performed by the request message, and the calling party side network entity may also set the same according to the request message, and the calling party side network entity may also be based on The service identifier set in the request message determines what service is provided to the calling party that initiated the request message.
步骤 303、会话协商处理实体可以向 Capability Server发送 SIP网络 所支持的业务能力查询请求。  Step 303: The session negotiation processing entity may send a service capability query request supported by the SIP network to the Capability Server.
步骤 304、 Capability Server给会话协商处理实体返回 SIP网络所支 持的业务能力查询请求响应, 该响应携带 SIP网络所支持的会话能力信 息, 例如 SIP 网络所支持的会话能力信息的描述 SDP1、 SDP2、 SDP3 以及 SDP4。  Step 304: The Capability Server returns a service capability query request response supported by the SIP network to the session negotiation processing entity, where the response carries the session capability information supported by the SIP network, for example, the description of the session capability information supported by the SIP network, SDP1, SDP2, and SDP3. And SDP4.
步驟 305、 会话协商处理实体, 可以根据预先的设置在会话消息中 添加、删除或 /和修改会话能力信息和属性信息, 向主叫方侧网絡实体发 送携带 IMS网络所支持的会话能力信息, 如 SDP1、 SDP2、 SDP3以及 SDP4的会话建立请求消息。 Step 305: The session negotiation processing entity may add, delete, or/and modify the session capability information and the attribute information in the session message according to the preset setting, and send the session capability information supported by the IMS network to the calling party side network entity, for example, SDP1, SDP2, SDP3 and Session establishment request message of SDP4.
步骤 306 - 307、主叫方侧网络实体将收到的该会话建立请求消息通 过被叫方侧网絡实体发送给被叫方, 其中包括了会话能力信息 SDP1、 SDP2、 SDP3 以及 SDP4, 主叫方侧网络实体需要将会话能力信息设置 属性信息,可以才艮据多个 SDP的来源、 网络确定的优先级等属性构成会 话能力信息的属性信息。  Step 306 - 307: The calling party side network entity sends the received session establishment request message to the called party through the called party side network entity, where the session capability information SDP1, SDP2, SDP3, and SDP4 are included, and the calling party The side network entity needs to set the attribute information of the session capability information, and can form the attribute information of the session capability information according to the attributes of the source of the multiple SDPs, the priority determined by the network, and the like.
步驟 308 ~ 309、接收到该会话建立请求消息的被叫方根据该请求消 息携带会话能力信息, 例如 SDP1、 SDP2、 SDP3以及 SDP4描述的业务 能力, 选择自身支持的业务能力, 如 SDP4描述的业务能力, 通过被叫 方侧网络实体返回给主叫方侧网絡实体携带会话能力信息的描述 SDP4 的响应。  Steps 308-309: The called party that receives the session establishment request message carries the session capability information, such as the service capabilities described by SDP1, SDP2, SDP3, and SDP4, according to the service capability, and selects the service capability supported by itself, such as the service described by SDP4. The capability, by the called party side network entity, returns a response to the SDP4 carrying the session capability information of the calling party side network entity.
步驟 310、 主叫方侧网络实体将接收到的携带会话能力信息的描述 SDP4的响应转发给会话协商处理实体。  Step 310: The calling party side network entity forwards the received response of the SDP4 carrying the session capability information to the session negotiation processing entity.
步驟 311、 会话协商处理实体将响应携带的会话能力信息的描述 SDP4和主叫方支持的会话能力信息的描述 SDP1进行比较,判断两者是 否相同, 如果是, 确定主被叫方之间传输的数据直接通过会话协商处理 实体发送给 方, 执行步骤 312; 如果不是, 确定主被叫方之间传输的 数据进行业务能力转换后发送给对方, 执行步驟 312。  Step 311: The session negotiation processing entity compares the description SDP4 of the session capability information carried in response with the description SDP1 of the session capability information supported by the calling party to determine whether the two are the same. If yes, determine the transmission between the calling party and the called party. The data is directly sent to the party through the session negotiation processing entity, and step 312 is performed; if not, the data transmitted between the calling party and the called party is converted into a service capability and then sent to the other party, and step 312 is performed.
步驟 312 313、 会话协商处理实体通过主叫方侧网络实体给主叫方 发送 200 OK响应, 本次主被叫方之间的业务能力协商完成。  Step 312 313: The session negotiation processing entity sends a 200 OK response to the calling party by using the calling party side network entity, and the service capability negotiation between the calling party and the called party is completed.
当然, 如果会话协商处理实体自身存储有 SIP网络支持的所有业务 能力, 则本发明实施例可以省略步骤 303 ~ 304, 在步骤 305中会话协商 处理实体直接将自身存储的业务能力携带在会话建立请求消息中发送。  Of course, if the session negotiation processing entity itself stores all the service capabilities supported by the SIP network, the embodiment of the present invention may omit steps 303-304. In step 305, the session negotiation processing entity directly carries the stored service capability in the session establishment request. Sent in the message.
这里所述的会话协商处理实体可以独立存在, 也可以集成在 SIP网 络中的任何一个网络实体中, 当会话协商处理实体集成在一个网络实体 中时, 该网络实 The session negotiation processing entity described herein may exist independently or may be integrated in any one of the network entities in the SIP network, when the session negotiation processing entity is integrated in one network entity. Medium time, the network is real
行会话协商过程。 Line session negotiation process.
本发明实施例的会话协商的业务能力交互过程可以适用与多个场 景中, 如主叫方网络和被叫方网络都支持本发明实施例的会话业务能力 协商方法; 主叫方网络支持本发明实施例的会话业务能力协商方法, 被 叫方网絡不支持本发明实施例的会话业务能力协商方法; 主叫方网络不 支持本发明实施例的会话业务能力协商方法, 被叫方网络支持本发明实 施例的会话业务能力协商方法; 不区分主被叫方网络。  The service capability interaction process of the session negotiation in the embodiment of the present invention may be applied to multiple scenarios, such as the calling party network and the called party network, and the session service capability negotiation method of the embodiment of the present invention is supported; the calling party network supports the present invention. The session service capability negotiation method of the embodiment, the called party network does not support the session service capability negotiation method of the embodiment of the present invention; the calling party network does not support the session service capability negotiation method of the embodiment of the present invention, and the called party network supports the present invention. The session service capability negotiation method of the embodiment; does not distinguish the primary called party network.
主叫方网絡和被叫方网络中的网络实体都支持业务能力协商的实 施例。  Both the calling party network and the network entities in the called party network support embodiments of service capability negotiation.
以在 IMS网络中,主叫方网络和被叫方网络都支持业务能力协商的 情况进行说明。 这里的主叫方可以是 UE, 也可以是 IMS网络中的网络 实体。 当主叫方和被叫方属于不同的 IMS网络时, 不同 IMS网络中的 CSCF、 AS和 MRF等都可以使用本发明实施例的方法, 对会话消息的 消息体中的会话能力信息进行修改,并加入 IMS网络支持的会话能力信 在本例中, 主叫方所在的 IMS网络和被叫方所在的 IMS网络中的 网络实体都可以使用本发明实施例描述的方法, 修改会话协商中的会话 能力信息, 并提供给被叫方。 会话能力信息中, 可以包括处理会话能力 信息的属性信息, 可以包括会话能力信息的属性信息, 还可以是处理会 话能力信息的网络实体的信息。主叫方^^据期望向其所在的 IMS网络发 出会话建立请求消息 , 在该请求消息中携带了主叫方期望的会话能力信 息的描述 SDP1。主叫方所在的 IMS网络中的 P-CSCF # 1和 S-CSCF # 1 根据收到的会话建立请求消息的会话能力信息的描述 SDP1和运营商的 本地策略, 本地策略包括预先设置, 还可以根据网络的能力, 在会话建 立请求消息的消息体中加入主叫方所在 IMS 网络支持的会话能力信息 的描述 SDP2,并且将会话建立请求消息发送到被叫方所在的 IMS网絡。 被叫方所在的 IMS网络上的 P-CSCF # 2和 S-CSCF # 2收到携带会话能 力信息的描述 SDP1和 SDP2的会话建立请求消息后, 根据被叫方所在 的 IMS 网络的运营商本地策略在会话建立请求消息中加入被叫方所在 的 IMS网络支持的会话能力信息的描述 SDP3和 SDP4。 在主叫方所在 的 IMS网络和被叫方所在的 IMS网络上的网络实体加入到会话建立请 求消息中的会话能力信息的描述 SDP1、 SDP2、 SDP3和 SDP4, 提供给 被叫方选择。 . In the IMS network, the case where the calling party network and the called party network support the service capability negotiation is described. The calling party here may be a UE or a network entity in an IMS network. When the calling party and the called party belong to different IMS networks, the CSCF, the AS, the MRF, and the like in the different IMS networks may use the method in the embodiment of the present invention to modify the session capability information in the message body of the session message. And joining the session capability message supported by the IMS network. In this example, the IMS network where the calling party is located and the network entity in the IMS network where the called party is located can use the method described in this embodiment of the present invention to modify the session in the session negotiation. Capability information and provided to the called party. The session capability information may include attribute information for processing session capability information, and may include attribute information of session capability information, and may also be information of a network entity that processes session capability information. The calling party sends a session establishment request message to the IMS network in which it is located, and the request message carries a description SDP1 of the session capability information expected by the calling party. The P-CSCF #1 and the S-CSCF #1 in the IMS network where the calling party is located are based on the description of the session capability information of the received session establishment request message, SDP1 and the local policy of the operator. The local policy includes pre-setting, and According to the capabilities of the network, built in the conversation The message body of the request message is added to the description SDP2 of the session capability information supported by the IMS network where the calling party is located, and the session establishment request message is sent to the IMS network where the called party is located. After receiving the session establishment request message describing the SDP1 and SDP2 carrying the session capability information, the P-CSCF #2 and the S-CSCF #2 on the IMS network where the called party is located are localized according to the operator of the IMS network where the called party is located. The policy adds the descriptions SDP3 and SDP4 of the session capability information supported by the IMS network where the called party is located in the session establishment request message. The descriptions SDP1, SDP2, SDP3, and SDP4 of the session capability information added to the session establishment request message by the IMS network where the calling party is located and the network entity on the IMS network where the called party is located are provided to the called party for selection. .
在主叫方所在的 IMS网络和被叫方所在的 IMS网络上的网络实体 也可以向其所在 IMS网络上的 Capability Server查询 IMS网络上支持的 会话能力信息, Capability Server返回的 IMS网络上支持的会话能力信 息的描述 SDP。 主被叫方所在的 IMS网络上的网络实体在加入 IMS网 络上支持的会话能力信息时, 需要遵循运营商的本地策略和在运营商的 控制下, 本地策略来源于运营商地设置, 可以保存在 Capability Server 上, 也可以保存在其他网络实体上。  The network entity on the IMS network where the calling party is located and the IMS network where the called party is located can also query the Capability Server on the IMS network where it supports the session capability information supported by the IMS network. The Capability Server returns the supported IMS network. Description of session capability information SDP. When the network entity on the IMS network where the primary and called parties are located joins the session capability information supported by the IMS network, it needs to follow the carrier's local policy and under the control of the operator. The local policy is derived from the carrier's local settings and can be saved. On the Capability Server, it can also be saved on other network entities.
被叫方收到的会话建立请求消息中携带了被主叫方和经过的 IMS 网络上的网络实体添加的会话能力信息的描述 SDP1、 SDP2、 SDP3 和 SDP4,被叫方根据被叫方上的业务能力选择期望的会话能力信息的描述 SDP2,并在返回的响应消息中携带了会话能力信息的描述 SDP2。 因此, 在主叫方 IMS网络和被叫方 IMS网络都支持本发明实施例的业务能力 的过程中, 完成了业务能力协商的过程。  The session establishment request message received by the called party carries the descriptions SDP1, SDP2, SDP3 and SDP4 of the session capability information added by the calling party and the network entity on the IMS network that has passed, and the called party is based on the called party. The service capability selects the description SCP2 of the desired session capability information, and carries the description SDP2 of the session capability information in the returned response message. Therefore, in the process in which both the calling party IMS network and the called party IMS network support the service capability of the embodiment of the present invention, the process of service capability negotiation is completed.
当主叫方和被叫方属于不同的 SIP网络, 且需要 AS加入会话的控 制和处理时, 以在 IMS网络中进行会话建立过程来说明本发明实施例。 在会话建立的信令交互过程中, 有主叫方所在的 IMS网络中的 P-CSCF #1、 S-CSCF#1和 AS#1、 被叫方所在的 IMS网络中的 P-CSCF#2、 S-CSCF # 2和 AS # 2参与。 主叫方所在的 IMS网络中的 S-CSCF # 1可 以根据本地策略修改主叫方发出的会话建立请求消息中的会话能力信 息, 将主叫方所在 IMS网络支持的会话能力信息的描述 SDP2加入到消 息体中, 主叫方所在的 IMS网络中的 AS#1可以将会话建立请求消息 改变, 将 AS#1可以获得的主叫方所在的 IMS网络支持的会话能力信 息的描述 SDP3和 SDP4加入到会话协商的消息体内。 When the calling party and the called party belong to different SIP networks, and the AS is required to join the session control and processing, the embodiment of the present invention is described by performing a session establishment process in the IMS network. During the signaling interaction established by the session, there is a P-CSCF in the IMS network where the calling party is located. #1, S-CSCF#1 and AS#1, P-CSCF#2, S-CSCF#2 and AS#2 in the IMS network where the called party is located participate. The S-CSCF #1 in the IMS network where the calling party is located can modify the session capability information in the session establishment request message sent by the calling party according to the local policy, and add the description SDP2 of the session capability information supported by the calling party's IMS network. In the message body, AS#1 in the IMS network where the calling party is located can change the session establishment request message, and add the descriptions SDP3 and SDP4 of the session capability information supported by the IMS network where the calling party can be obtained by AS#1. In the body of the conversation negotiation.
AS#1获得的 IMS 网络支持的其他会话能力信息的描述 SDP3和 SDP4的方法, 可以事先保存在 AS#1上, 可以从参与会话的其他 AS 上获得, 也可以从保存有这些会话能力信息的 Capability Server上查询 获得。  Description of other session capability information supported by the IMS network obtained by AS#1 The methods of SDP3 and SDP4 can be saved in AS#1 in advance, can be obtained from other ASs participating in the session, or can be saved from the session capability information. The query is obtained on Capability Server.
主叫方所在 IMS网络上的网络实体 (包括 P-CSCF#1、 S-CSCF #1 和 AS#1)在加入 IMS网络上支持的业务能力时, 需要遵循运营商的本 地策略和在运营商的控制下, 本地策略来源于运营商地设置, 可以保存 在 Capability Server上,也可以保存在其他网络实体上。主叫方所在 IMS 网络中的 S-CSCF # 1 负责将 AS # 1处理过的会话协商转发到被叫方所 在 IMS网絡上,会话协商的会话能力信息的描述可以包括 SDP1、 SDP2、 SDP3和 SDP4, 也可以为 SDP1、 SDP2、 SDP3和 SDP4设置会话能力 信息的属性信息。  The network entities on the IMS network where the calling party is located (including P-CSCF#1, S-CSCF #1 and AS#1) need to follow the carrier's local policy and the carrier when joining the service capabilities supported by the IMS network. Under the control of the local policy, the local policy comes from the carrier settings, and can be saved on the Capability Server or on other network entities. The S-CSCF #1 in the IMS network where the calling party is located is responsible for forwarding the session negotiation processed by the AS #1 to the IMS network where the called party is located. The description of the session capability information of the session negotiation may include SDP1, SDP2, SDP3, and SDP4. You can also set the attribute information of session capability information for SDP1, SDP2, SDP3, and SDP4.
被叫方所在 IMS网络上的 P-CSCF # 2和 S-CSCF # 2负责检查会话 协商的会话能力信息和其属性信息, 根据运营商本地策略, 删除被叫方 所在 IMS网络上禁止的会话能力信息,根据运营商本地策略将被叫方所 在 IMS网絡支持的会话能力信息的描述 SDP5加入到会话建立请求消息 中, 并且为会话能力信息 SDP5设置了属性信息, 根据会话协商的内容 将会话建立请求消息转发到被叫方所在 IMS网络的 AS#2上。 被叫方 所在的 IMS网络上的 AS # 2可以将会话建立请求消息改变, 将 AS # 2 可以获得的主叫方所在的 IMS网络支持的会话能力信息的描述 SDP6和 SDP7加入到会话消息中,被加入的会话能力信息 SDP6和 SDP7设置属 性信息。 The P-CSCF # 2 and S-CSCF # 2 on the IMS network where the called party is located are responsible for checking the session capability information and attribute information of the session negotiation, and deleting the session capability prohibited on the IMS network where the called party is located according to the operator's local policy. The information, the description SDP5 of the session capability information supported by the IMS network of the called party is added to the session establishment request message according to the operator local policy, and the attribute information is set for the session capability information SDP5, and the session establishment request is set according to the content of the session negotiation. The message is forwarded to AS#2 of the IMS network where the called party is located. Called party The AS #2 on the IMS network can change the session establishment request message, and add the SDP6 and SDP7 descriptions of the session capability information supported by the IMS network where the calling party can obtain the AS #2 to the session message. The session capability information SDP6 and SDP7 set attribute information.
AS # 2获得的 IMS 网络支持的其他会话能力信息的描述 SDP6和 SDP7的方法是,可以预先保存在 AS # 1上,可以从在被叫方所在的 IMS 网络上参与会话的其他 AS上获得, 也可以从保存有这些会话能力信息 的 Capability Server上查询获得。  Description of other session capability information supported by the IMS network obtained by AS # 2 The methods of SDP6 and SDP7 are pre-stored on AS #1 and can be obtained from other ASs participating in the session on the IMS network where the called party is located. It can also be queried from the Capability Server that holds these session capability information.
被叫方所在 IMS网络上的网络实体(包括 P-CSCF # 2、 S-CSCF # 2 和 AS # 2 )在加入 IMS网络上支持的业务能力时, 需要遵循运营商的本 地策略和在运营商的控制下, 本地策略来源于运营商地设置, 可以保存 在 Capability Server上, 也可以保存在其他网络实体上。 这时会话建立 请求消息中携带的会话能力信息的描述 SDP1、 SDP2、 SDP3、 SDP4、 SDP5、 SDP6和 SDF7。 这些会话能力信息在消息中使用 SDP协议规定 的方法被分为多个会话能力信息块, 多个会话能力信息块使用会话能力 信息属性区分。  The network entity on the IMS network where the called party is located (including P-CSCF # 2, S-CSCF # 2 and AS # 2) must comply with the carrier's local policy and the carrier when joining the service capabilities supported by the IMS network. Under the control, the local policy is derived from the carrier's settings, and can be saved on the Capability Server or on other network entities. Description of the session capability information carried in the session establishment request message SDP1, SDP2, SDP3, SDP4, SDP5, SDP6, and SDF7. These session capability information are divided into a plurality of session capability information blocks in the message using the method specified by the SDP protocol, and the plurality of session capability information blocks are distinguished using the session capability information attribute.
主叫方所在的 IMS网絡的 P-CSCF # 1、 S-CSCF # 1和 AS # 1和被 叫方所在的 IMS网络的 P-CSCF # 2、 S-CSCF # 2和 AS # 2在消息体中 的会话能力信息的描述 SDP2、 SDP3 SDP4、 SDP5、 SDP6和 SDP7, 以提供给被叫方进行选择。  P-CSCF #1, S-CSCF #1 and AS #1 of the IMS network where the calling party is located and P-CSCF # 2, S-CSCF # 2 and AS # 2 of the IMS network where the called party is located are in the message body The description of the session capability information in SDP2, SDP3, SDP4, SDP5, SDP6, and SDP7 is provided to the called party for selection.
被叫方所在的 IMS网络将会话建立请求消息发送到被叫方,被叫方 根据会话建立请求消息的会话能力信息和其业务能力选择期望的会话 能力信息的描述 SDP1 , 并且在返回的响应消息中携带其选择的会话能 力信息的描述 SDP1。 因此, 在主叫方 IMS网络和被叫方 IMS网络都支 持本发明实施例的业务能力的会话协商过程中, AS 如果参与了会话协 商的过程, 完成了业务能力协商的过程。 The IMS network where the called party is located sends a session establishment request message to the called party, and the called party selects the description SDP1 of the desired session capability information according to the session capability information of the session establishment request message and its service capability, and returns a response message. A description of the SCP1 carrying the selected session capability information. Therefore, in the session negotiation process in which both the calling party IMS network and the called party IMS network support the service capability of the embodiment of the present invention, the AS participates in the session protocol. The process of business has completed the process of negotiating business capabilities.
在上例中, 主叫方所在的 IMS 网络的 P-CSCF # 1、 S-CSCF # 1和 AS # 1和被叫方所在的 IMS网络的 P-CSCF # 2、 S-CSCF # 2和 AS # 2 都按照本发明实施例的方法改变了会话建立请求消息的会话能力信息。  In the above example, P-CSCF #1, S-CSCF #1 and AS #1 of the IMS network where the calling party is located and P-CSCF # 2, S-CSCF # 2 and AS of the IMS network where the called party is located #2 The session capability information of the session establishment request message is changed according to the method of the embodiment of the present invention.
以下具体说明 Capability Server在 SIP网络的业务能力交互中如何 使用。  The following details how the Capability Server is used in the business capability interaction of the SIP network.
Capability Server保存了 SIP网络中能够支持的业务能力,具体的业 务能力是被按照不同的功能实体保存,以在 IMS网络中的使用情况加以 说明。 IMS网络上保存业务能力的网络实体可以是 CSCF, AS或者 MRF, 包含这些网络实体但不限于这些网络实体。本发明实施例以 SDP描述的 业务能力为例说明会话能力信息的保存和业务能力协商过程中如何使 用 Capability Server。  Capability Server preserves the service capabilities that can be supported in a SIP network. The specific service capabilities are stored in different functional entities for use in the IMS network. The network entities that store service capabilities on the IMS network may be CSCF, AS or MRF, including but not limited to these network entities. The embodiment of the present invention uses the service capability described by the SDP as an example to describe how to use the Capability Server in the process of saving the session capability information and negotiating the service capability.
SIP 网络上的网络实体可以将为业务提供支持的业务能力保存在 Capability Server上, 业务能力被按照不同的网络实体保存, 当 SIP网络 上的其他网络实体向 Capability Server查询提供业务所需要的会话能力 信息时, Capability Server检索保存的 SIP网络上能够支持的业务能力, 并且遵循运营商的本地策略在查询响应消息中使用 SDP协议规定的描 述格式将会话能力信息的描述返回给进行查询的网络实体。在 IMS网络 中不同的网络实体均可以是查询 IMS网络中支持业务能力的网络实体。  The network entity on the SIP network can save the service capability for supporting the service on the Capability Server, and the service capability is saved according to different network entities. When other network entities on the SIP network query the Capability Server for the session capability required to provide the service. In the information, the Capability Server retrieves the service capabilities that can be supported on the saved SIP network, and returns the description of the session capability information to the querying network entity in the query response message using the description format specified by the SDP protocol in accordance with the operator's local policy. Different network entities in the IMS network may be querying network entities supporting the service capabilities in the IMS network.
在 IMS '网络会话协商过程中, CSCF、 AS和 MRF等网络实体对 Capability Server的使用具体过程如下。  During the IMS 'network session negotiation process, the specific process of using the Capability Server by network entities such as CSCF, AS, and MRF is as follows.
当主叫方和被叫方属于不同的 SIP网络,以在 IMS网络中的使用情 况为例, 在会话协商的信令交互过程中,有主叫方所在的 IMS网络中的 P-CSCF # 1、 S-CSCF # 1和 AS # 1、被叫方所在的 IMS网络中的 P-CSCF # 2、 S-CSCF # 2和 AS # 2参与。 主叫方所在的 IMS网络中的 P-CSCF #1、 S-CSCF#1 可以修改主叫方发出的会话建立请求消息中的会话能 力信息的描述 SDP1, 根据运营商的本地策略将主叫方所在 IMS网络支 持的会话能力信息的描述 SDP2加入到消息体中, 并且为会话能力信息 SDP2设置了属性信息。 P-CSCF#1、 S-CSCF#1获得 IMS网络支持的 会话能力信息的方法可以是向 Capability Server # 1发出业务能力查询, 在收到 Capability Server # 1返回消息中的业务能力查询结果后进行下一 步的操作。 主叫方所在的 IMS网络中的 AS # 1可以根据预先设置和 AS #1的能力判断将会话建立请求消息的消息体改变, 将 AS#1可以获得 的主叫方所在的 IMS网络支持的会话能力信息 SDP3和 SDP4加入到会 话协商的消息体内, 并且为会话能力信息 SDP3和 SDP4设置了属性信 息。 AS#1获得的 IMS 网络支持的其他会话能力信息的描述 SDP3和 SDP4, 可以预先保存在 AS #1上, 可以从参与会话的其他 AS上获得, 也可以向 Capability Server#l发出业务能力查询请求, 查询 Capability Server# 1上保存的 IMS网络支持的会话能力信息, 由 Capability Server #1 返回的消息中得到 IMS 网络支持的会话能力信息的描述 SDP3 和 SDP4o主叫方所在 IMS网络中的 CSCF # 1负责将 AS # 1处理过的会话 协商转发到被叫方所在 IMS 网络上, 会话协商的会话能力信息的描述 SDP1、 SDP2、 SDP3和 SDP4。 When the calling party and the called party belong to different SIP networks, taking the use situation in the IMS network as an example, in the signaling interaction process of the session negotiation, there is a P-CSCF #1 in the IMS network where the calling party is located. S-CSCF #1 and AS #1, P-CSCF #2, S-CSCF #2, and AS #2 in the IMS network where the called party is located participate. P-CSCF in the IMS network where the calling party is located #1, S-CSCF#1 can modify the description of the session capability information in the session establishment request message sent by the calling party, SDP1, and add the description SDP2 of the session capability information supported by the IMS network where the calling party is located according to the local policy of the operator. Go to the message body and set the attribute information for the session capability information SDP2. The P-CSCF#1 and the S-CSCF#1 may obtain the session capability information supported by the IMS network by sending a service capability query to the Capability Server #1, and receiving the service capability query result in the Capability Server #1 return message. The next step. The AS #1 in the IMS network where the calling party is located can determine the message body of the session establishment request message according to the pre-set and AS #1 capability, and the session supported by the IMS network where the calling party can be obtained by AS#1. The capability information SDP3 and SDP4 are added to the message of the session negotiation, and attribute information is set for the session capability information SDP3 and SDP4. Descriptions of other session capability information supported by the IMS network obtained by AS#1 SDP3 and SDP4 can be pre-stored on AS #1, can be obtained from other ASs participating in the session, or can send service capability query requests to Capability Server#1. Query the session capability information supported by the IMS network saved on Capability Server#1. The message returned by Capability Server #1 is the description of the session capability information supported by the IMS network. SDP3 and SDP4o CSCF in the IMS network where the calling party is located. Responsible for forwarding the session negotiation processed by AS #1 to the IMS network where the called party is located, and describing the session capability information of the session negotiation SDP1, SDP2, SDP3, and SDP4.
被叫方所在 IMS网络上的 S-CSCF#2负责检查会话协商的会话能 力信息,根据运营商本地策略将被叫方所在 IMS网络支持的会话能力信 息的描述 SDP5加入到会话建立请求消息中,并且为会话能力信息 SDP5 设置了属性信息,根据会话协商的内容将消息转发到被叫方所在 IMS网 络的 AS#2上。 运营商的本地策略, 可以是预先设置, 可以是根据网络 实体的业务能力进行判断, 还可以是结合预先设置和网络实体的业务能 力进行判断。 P-CSCF#2、 S-CSCF#2获得 IMS网络支持的业务能力的 方法可以是向 Capability Server # 2发出业务能力查询,在收到 Capability Server # 2返回消息中的业务能力查询结果后进行下一步的操作。被叫方 所在的 IMS网络上的 AS # 2可以根据运营商的本地策略将会话建立请 求消息改变, 运营商的本地策略, 可以是预先设置, 可以是根据网絡实 体的业务能力进行判断, 还可以是结合预先设置和网络实体的业务能力 进行判断。 将 AS # 2可以获得的主叫方所在的 IMS网络支持的会话能 力信息的描述 SDP6和 SDP7加入到会话协商的消息体内, 并且为会话 能力信息 SDP6和 SDP7设置了属性信息。 AS # 2获得的 IMS网络支持 的其他会话能力信息的描述 SDP6和 SDP7,可以预先保存在 AS # 2上, 可以从被叫方所在的 IMS网络上参与会话的其他 AS上获得, 也可以向 被叫方所在的 IMS网络的 Capability Server # 2发出业务能力查询请求, 查询 Capability Server # 2 上保存的 IMS 网络支持的业务能力, 由 Capability Server # 2返回的消息中得到 IMS网络支持的会话能力信息的 描述 SDP6和 SDP7。这时会话建立请求消息中携带的会话能力信息的描 述 SDP1、 SDP2、 SDP3、 SDP4、 SDP5、 SDP6和 SDP7。 会话能力信息 可以, ^^据业务能力的属性分为多个会话能力信息块。 The S-CSCF #2 on the IMS network where the called party is located is responsible for checking the session capability information of the session negotiation, and adding the description SDP5 of the session capability information supported by the IMS network of the called party to the session establishment request message according to the carrier local policy. And the attribute information is set for the session capability information SDP5, and the message is forwarded to the AS#2 of the IMS network where the called party is located according to the content of the session negotiation. The local policy of the operator may be pre-set, may be determined according to the service capability of the network entity, or may be determined by combining pre-setting and service capabilities of the network entity. P-CSCF#2, S-CSCF#2 obtain the service capabilities supported by the IMS network The method may be to send a service capability query to Capability Server #2, and perform the next operation after receiving the service capability query result in the Capability Server #2 return message. The AS # 2 on the IMS network where the called party is located can change the session establishment request message according to the local policy of the operator. The local policy of the operator can be preset, and can be determined according to the service capability of the network entity. It is judged by combining the pre-set and the business capabilities of the network entity. The descriptions SDP6 and SDP7 of the session capability information supported by the IMS network where the calling party can be obtained by the AS #2 are added to the message of the session negotiation, and the attribute information is set for the session capability information SDP6 and SDP7. The descriptions of other session capability information supported by the IMS network obtained by AS # 2, SDP6 and SDP7, may be pre-stored on AS #2, and may be obtained from other ASs participating in the session on the IMS network where the called party is located, or may be Capability Server # 2 of the IMS network where the calling party is located sends a service capability query request, and queries the service capability supported by the IMS network saved on Capability Server # 2, and the session capability information supported by the IMS network is obtained from the message returned by Capability Server # 2 Describe SDP6 and SDP7. At this time, the descriptions of the session capability information carried in the session establishment request message are SDP1, SDP2, SDP3, SDP4, SDP5, SDP6, and SDP7. The session capability information may be divided into a plurality of session capability information blocks according to attributes of the business capability.
主叫方所在的 IMS网络的 CSCF # 1和 AS # 1和被叫方所在的 IMS 网络的 CSCF # 2 和 AS # 2在消息体中会话能力信息的描述 SDP2、 SDP3、 SDP4、 SDP5、 SDP6和 SDP7, 提供给被叫方进行选择。  The descriptions of the session capability information of the CSCF # 1 and AS # 1 of the IMS network where the calling party is located and the CSCF # 2 and AS # 2 of the IMS network where the called party is located in the message body are SDP2, SDP3, SDP4, SDP5, SDP6 and SDP7, provided to the called party to make a selection.
被叫方所在的 IMS网络上的 S-CSCF # 2将会话建立请求消息发送 到被叫方, 被叫方可以根据会话建立请求消息的会话能力信息和其业务 能力选择期望的会话能力信息的描述 SDP1 , 并且在返回的响应消息中 携带其选择的会话能力信息的描述 SDP1。 这样 IMS网络上的网絡实体 使用本发明实施例的会话业务能力协商方法, 向 Capability Server查询 IMS网络上的会话能力信息, 从而完成会话协商的过程。 MRF作为 IMS 网络中共享的多媒体资源处理功能实体, 可以被其 他网络实体调用, MRF也可以作为 SIP Proxy和 SIP B2BUA直接同主被 叫方进行信令交互。在现有规范中规定, MRF可以直接同主被叫方进行 信令交互, MRF和主被叫方直接交互的场景主要出现在 Ad - hoc会议 中,主被叫方加入 MRF控制的会话和 MRF要求主被叫方加入到会话中。 因此, MRF在会话协商过程中也可以修改会话建立请求消息中的业务能 力。 The S-CSCF #2 on the IMS network where the called party is located sends a session establishment request message to the called party, and the called party can select a description of the desired session capability information according to the session capability information of the session establishment request message and its service capability. SDP1, and carries a description SDP1 of its selected session capability information in the returned response message. In this way, the network entity on the IMS network uses the session service capability negotiation method in the embodiment of the present invention to query the Capability Server for the session capability information on the IMS network, thereby completing the session negotiation process. As a shared multimedia resource processing function entity in the IMS network, the MRF can be called by other network entities. The MRF can also directly communicate with the calling and called parties as a SIP Proxy and SIP B2BUA. In the existing specification, the MRF can directly communicate with the calling party and the called party. The scenario in which the MRF interacts with the calling party and the called party mainly occurs in the Ad-hoc conference. The calling party and the called party join the MRF controlled session and the MRF. The calling party is required to join the session. Therefore, the MRF can also modify the service capability in the session establishment request message during the session negotiation process.
在本发明实施例中, 网络实体还可以根据对会话消息所携带的会话 能力信息进行操作的情况, 确定是否进行业务媒体数据路由的设置。  In the embodiment of the present invention, the network entity may further determine whether to perform service media data routing according to the operation of the session capability information carried in the session message.
确定是否进行业务媒体数据路由的设置过程为: 网络实体判断是否 无法对会话消息所携带的终端的会话能力信息进行操作, 如果是, 则进 行业务媒体数据路由的设置, 路由到媒体资源功能 MRF, 由 MRF对会 话消息所携带的会话能力信息进行操作; 否则, 则直接由网络实体对会 话消息所携带的会话能力信息进行操作。  The process of determining whether to perform the service media data routing is as follows: The network entity determines whether the session capability information of the terminal carried by the session message cannot be operated, and if yes, sets the service media data route, and routes to the media resource function MRF. The session capability information carried by the session message is operated by the MRF; otherwise, the session capability information carried by the session message is directly operated by the network entity.
本发明实施例提供的方法还可以应用在 PoC业务中,以下举具体的 实施例说明业务能力协商在 PoC业务中的应用。  The method provided by the embodiment of the present invention can also be applied to the PoC service. The following specific embodiments illustrate the application of the service capability negotiation in the PoC service.
在 IMS 网絡中实现 PoC业务时, 也可以采用本发明实施例所述的 方法进行业务能力协商。 PoC服务器在 IMS平台中作为 AS为 UE提供 PoC服务, PoC服务器, 可以是 PoC Server ( Controlling )和 PoC Server ( Participating )收到业务协商请求消息时,这里称之为 INVITE请求后, 在 INVITE请求中添加 PoC服务器支持的业务能力提供给被叫方选择。 PoC Server ( Controlling )和 PoC Server ( Participating )可以属于同一个 IMS网络也可以属于不同的 IMS网絡, PoC Server ( Controlling )和 PoC Server ( Participating )可以一个 PoC服务器进行改变呼叫请求的.会话能 力信息的描述 SDP 的内容的操作也可以先后都进行改变呼叫请求的会 话能力信息的描述 SDP的内容的操作。 被叫方收到 INVITE请求后, 根 据自己的业务能力, 选择 SDP描述的业务能力, 并在 200 OK响应中携 带已经选择的 SDP 中描述的业务能力。 PoC服务器收到被叫方发来的 200 OK响应后, 获得被叫方选择的会话能力信息的描述 SDP, 判断是 否需要进行业务能力的转换, 进行后续处理步骤。 When the PoC service is implemented in the IMS network, the method described in this embodiment of the present invention may also be used for service capability negotiation. The PoC server provides the PoC service for the UE as the AS in the IMS platform. The PoC server, when the PoC server (Controlling) and the PoC Server (the Participating) receive the service negotiation request message, is called the INVITE request, and is in the INVITE request. Adding the business capabilities supported by the PoC server is provided to the called party to select. PoC Server (Controlling) and PoC Server (Parting) may belong to the same IMS network or belong to different IMS networks. PoC Server (Controlling) and PoC Server (Parting) may change the call request information of the session request by a PoC server. The operation describing the content of the SDP can also be performed to change the call request. The description of the speech capability information describes the operation of the content of the SDP. After receiving the INVITE request, the called party selects the service capability described by the SDP according to its own service capability, and carries the service capability described in the selected SDP in the 200 OK response. After receiving the 200 OK response sent by the called party, the PoC server obtains the description SDP of the session capability information selected by the called party, determines whether the service capability needs to be converted, and performs subsequent processing steps.
图 4为本发明当 IMS网络采用 PoC业务时, 终端进行业务能力协 商实施例一的信令流程图, 涉及的实体包括: 主叫终端 UE1、 被叫终端 UE2、 IMS网络中的 UE1所属的 S-CSCF1、 IMS网络中的 UE2所属的 S-CSCF2、 在本次会话中管辖 UE1和 UE2所在群组的控制 PoC业务功 能 ( PoC Server ( Controlling ) )、 管辖 UE2的参与控制 PoC业务功能实 体 ( PoC Server ( Participating ) ), 假设 PoC Server ( Controlling )存储有 所支持的会话能力信息的描述 SDP, 其具体步骤为:  4 is a signaling flowchart of Embodiment 1 of a service capability negotiation performed by a terminal when an IMS network adopts a PoC service, where the entity involved includes: a calling terminal UE1, a called terminal UE2, and an S to which the UE1 in the IMS network belongs. -CSCF1, the S-CSCF2 to which the UE2 in the IMS network belongs, the PoC service control function (PoC Server (Controlling)) that governs the group in which the UE1 and the UE2 are located in this session, and the PoC service function entity (PoC) that governs the UE2. Server ( Participating ) ), assuming that the PoC Server (Controlling) stores a description of the supported session capability information, the specific steps are:
步驟 400、 UE1向 S-CSCF1发送建立 PoC会话请求, 即 INVITE请 求, 该请求携带了 UE1的会话能力信息 SDP1 , 可以包括属性信息。  Step 400: The UE1 sends a PoC session request to the S-CSCF1, that is, an INVITE request, where the request carries the session capability information SDP1 of the UE1, and may include attribute information.
步驟 401、 S-CSCF1根据该 INVITE请求确定本次业务由 PoC Server Step 401: The S-CSCF1 determines, according to the INVITE request, that the current service is configured by the PoC Server.
( Controlling ) 进行处理, 将该 INVITE 请求转发给 PoC Server ( Controlling )。 (Controlling) Processes and forwards the INVITE request to the PoC Server (Controlling).
步骤 402、 PoC Server ( Controlling )根据 PoC业务的向 S-CSCF1 发送携带 PoC Server ( Controlling )所支持的会话能力信息的描述 SDP1、 SDP2、 SDP3以及 SDP4以及会话能力信息的属性的 INVITE请求, 其 中业务能力支持信息包括, PoC Server ( Controlling )所属网络的信息, 标志 PoC服务器的信息, 优先级信息, 和其他用于标识会话能力信息的 Ί 息。  Step 402: The PoC Server (Controlling) sends an INVITE request describing the attributes of the SDP1, SDP2, SDP3, and SDP4 and the session capability information of the session capability information supported by the PoC Server (Controlling) to the S-CSCF1 according to the PoC service, where the service The capability support information includes information about the network to which the PoC Server (Controlling) belongs, information indicating the PoC server, priority information, and other information used to identify the session capability information.
步骤 403、 S-CSCF1将收到的 INVITE请求发送给 S-CSCF2。  Step 403: The S-CSCF1 sends the received INVITE request to the S-CSCF2.
步驟 404 ~ 405、 S-CSCF2将收到的 INVITE请求发送给管辖 UE2 的 PoC Server ( Participating ), PoC Server ( Participating )返回接 i]欠到 INVITE请求的响应给 S-CSCF2。 Steps 404 ~ 405, S-CSCF2 sends the received INVITE request to the jurisdiction UE2 PoC Server (Parting), PoC Server (Parting) returns the response to the INVITE request to S-CSCF2.
步驟 406、 S-CSCF2将 INVITE请求发送给 UE2。  Step 406: The S-CSCF2 sends an INVITE request to the UE2.
步骤 407、 接收到 INVITE请求的 UE2根据该请求携带的会话能力 信息的描述 SDP1、 SDP2、 SDP3以及 SDP4选择自身支持的 SDP, 如 SDP4,给 S-CSCF2返回携带会话能力信息的描述 SDP4的 200 OK响应。  Step 407: The UE2 that receives the INVITE request selects the SDP, which is supported by the SDP1, SDP2, SDP3, and SDP4, according to the description of the session capability information carried by the request, such as SDP4, and returns to the S-CSCF2 a 200 OK description SDP4 carrying the session capability information. response.
步骤 408 ~ 409、 S-CSCF2将携带会话能力信息的描述 SDP4的 200 OK响应发送给 PoC Server ( Participating ), PoC Server ( Participating ) 返回接收到 200 OK响应的响应给 S-CSCF2。  Steps 408 to 409, the S-CSCF2 sends the 200 OK response of the SDP4 to the PoC Server (Parting), and the PoC Server (Parting) returns a response to receive the 200 OK response to the S-CSCF2.
步驟 410、 S-CSCF2将携带会话能力信息的描述 SDP4的 200 OK响 应发送给 S-CSCF1。  Step 410: The S-CSCF2 sends a description of the session capability information, and the 200 OK response of the SDP4 is sent to the S-CSCF1.
步驟 411、 S-CSCF1将接收到的携带会话能力信息的描述 SDP4的 200 OK响应转发给 PoC Server ( Controlling )。  Step 411: The S-CSCF1 forwards the received 200 OK response of the SDP4 that carries the session capability information to the PoC Server (Controlling).
步骤 412、 PoC Server ( Controlling )将 200 OK响应携带的会话能 力信息的描述 SDP4和 UEl支持的会话能力信息的描述 SDP1进行比较, 判断两者是否相同, 如果是, PoC Server ( Controlling )确定 UE1和 UE2 之间传输的数据直接通过 PoC Server ( Controlling )发送给对方终端, 执 行步骤 413; 否则, PoC Server ( Controlling )确定 UEl和 UE2之间传 输的数据进行业务能力转换后发送给对方终端, 执行步驟 413。  Step 412: The PoC Server (Controlling) compares the SDP4 description of the session capability information carried by the 200 OK response with the description SDP1 of the session capability information supported by the UE1, and determines whether the two are the same. If yes, the PoC Server determines the UE1 and The data transmitted between the UE2 is directly sent to the other terminal through the PoC Server (Controlling), and step 413 is performed; otherwise, the PoC Server (Controlling) determines that the data transmitted between the UE1 and the UE2 is converted into a service capability and then sent to the other terminal. 413.
步驟 413〜414、 PoC Server ( Controlling )按照 PoC业务规范规定的 流程, 通过 S-CSCF1给 UE1发送 200 OK响应, 本次 UE1和 UE2之间 的业务能力协商完成。  Steps 413 to 414, the PoC Server (Controlling) sends a 200 OK response to the UE1 through the S-CSCF1 according to the procedure specified by the PoC service specification, and the service capability negotiation between the UE1 and the UE2 is completed.
这样, 使用本发明实施例中的业务能力协商的交互优化流程, PoC Server ( Controlling ) 实现了基于 IMS的 PoC业务能力协商过程。  In this way, the PoC Server (Controlling) implements the IMS-based PoC service capability negotiation process by using the interaction optimization process of the service capability negotiation in the embodiment of the present invention.
图 5为本发明当 IMS网络釆用 PoC业务时, 终端进行业务能力协 商实施例二的信令流程图, 涉及的实体包括: 主叫终端 UE1、 被叫终端 UE2、 IMS网络中的 UE1所属的 S-CSCF1、 IMS网络中的 UE2所属的 S-CSCF2 在本次会话中管辖 UE1 和 UE2 所在群组的 PoC Server ( Controlling )、管辖 UE2的 PoC Server ( Participating ), 设 PoC Server ( Participating )存储有所支持的 SDP, 在本实施例中会话能力信息带有 属性信息, PoC服务器根据属性信息对会话能力信息进行处理。 其具体 步骤为: FIG. 5 is a diagram showing a service capability association of a terminal when an IMS network adopts a PoC service according to the present invention; The signaling flow chart of the second embodiment includes: the calling terminal UE1, the called terminal UE2, the S-CSCF1 to which the UE1 in the IMS network belongs, and the S-CSCF2 to which the UE2 in the IMS network belongs. The PoC Server (Controlling) of the group in which the UE1 and the UE2 are located, the PoC Server (the Participating) that governs the UE2, and the PoC Server (the Participating) are supported by the SDP. In this embodiment, the session capability information has attribute information. The PoC server processes the session capability information according to the attribute information. The specific steps are:
步驟 500、 UE1向 S-CSCF1发送建立 PoC会话请求, 即 INVITE请 求, 该请求携带了 UE1 的会话能力信息的描述 SDP1。 SDP1可以包括 属性信息,属性信息描述了 SDP1来自于发起方终端,优先级为最高级。 由于 UE1发发起方终端, 也可以规定 SDP1不添加属性信息。  Step 500: The UE1 sends a PoC session request to the S-CSCF1, that is, an INVITE request, where the request carries the description SDP1 of the session capability information of the UE1. The SDP1 may include attribute information, and the attribute information describes that the SDP1 is from the initiator terminal, and the priority is the highest level. Since UE1 sends the initiator terminal, it can also be specified that SDP1 does not add attribute information.
步骤 501、S-CSCF1根据该 INVITE请求确定本次业务由 PoC Server ( Controlling ) 进行处理, 将该 INVITE 请求转发给 PoC Server ( Controlling )„ 在此过程中, P-CSCF和 S-CSCF可以对会话能力信息 进行检查。  Step 501: The S-CSCF1 determines, according to the INVITE request, that the current service is processed by the PoC Server (Controlling), and forwards the INVITE request to the PoC Server (Controlling). In this process, the P-CSCF and the S-CSCF may perform a session. Ability information is checked.
步驟 502、 PoC Serve Controlling )给 S-CSCF 1发送接收到该 INVITE 请求的响应。  Step 502: PoC Serve Controlling) sends a response to the S-CSCF 1 to receive the INVITE request.
步驟 503、 按照 PoC业务规范, S-CSCF1按照 PoC业务规范, 将该 INVITE请求发送给 S-CSCF2。  Step 503: According to the PoC service specification, the S-CSCF1 sends the INVITE request to the S-CSCF2 according to the PoC service specification.
步驟 504、 S-CSCF2将该 INVITE请求发送给管辖 UE2的 PoC Server Step 504: The S-CSCF2 sends the INVITE request to the PoC Server that governs UE2.
( Participating )。 ( Participating ).
步驟 505、 PoC ServerC Participating )向 S-CSCF2发送携带 PoC Server ( Participating )所支持的业务能力的描述 SDP1、 SDP2、 SDP3以及 SDP4 的 INVITE请求。  Step 505: The PoC ServerC Participating sends an INVITE request describing the SDP1, SDP2, SDP3, and SDP4 of the service capability supported by the PoC Server (Parting) to the S-CSCF2.
当然, PoC Server ( Participating )所支持的会话能力信息的描述 SDP 和 PoC Server ( Controlling )所支持的会话能力信息的描述 SDP可以不 相同。 Of course, the description of session capability information supported by PoC Server (Parting) SDP The description of the session capability information supported by the PoC Server (Controlling) may be different.
步驟 506、 S-CSCF2将 INVITE请求发送给 UE2。  Step 506: The S-CSCF2 sends an INVITE request to the UE2.
步骤 507、 接收到 INVITE请求的 UE2根据该请求携带的会话能力 信息的描述 SDP1、 SDP2、 SDP3 以及 SDP4选择自身支持的 SDP, 如 SDP4,给 S-CSCF2返回携带会话能力信息的描述 SDP4的 200 OK响应 给 S-CSCF2。  Step 507: The UE2 that receives the INVITE request according to the description of the session capability information carried by the request SDP1, SDP2, SDP3, and SDP4 selects the SDP supported by itself, such as SDP4, and returns the S-CSCF2 with the description of the SDP4 carrying the session capability information. Response to S-CSCF2.
步骤 508、 S-CSCF2将携带 SDP4的 200 OK响应发送给 PoC Server ( Participating )。  Step 508: The S-CSCF2 sends a 200 OK response carrying the SDP4 to the PoC Server (Parting).
步骤 509、 PoC Server ( Participating )将 200 OK响应携带的会话能 力信息的描述 SDP4和 UE1支持的会话能力信息的描述 SDP1进行比较, 判断两者是否相同, 如果是, PoC Server ( Participating )确定 UE1 和 UE2之间传输的数据直接通过 PoC Server ( Controlling )发送给对方终 端, 执行步骤 510; 否则, PoC Server ( Participating )确定 UE1和 UE2 之间传输的数据进行业务能力转换后发送给对方终端, 执行步骤 510。  Step 509: The PoC Server (Parting) compares the SDP4 description of the session capability information carried by the 200 OK response with the description SDP1 of the session capability information supported by the UE1, and determines whether the two are the same. If yes, the PoC Server (Parting) determines the UE1 and The data transmitted between the UE2 is directly sent to the opposite terminal through the PoC Server (Controlling), and step 510 is performed; otherwise, the PoC Server (Parting) determines that the data transmitted between the UE1 and the UE2 is converted into a service capability and then sent to the other terminal, and the steps are performed. 510.
步骤 510、 PoC Server ( Participating )返回接收到 200 OK响应的响 应给 S-CSCF2。  Step 510: The PoC Server (Parting) returns a response to the 200 OK response to the S-CSCF2.
步骤 511、 S-CSCF2将 200 OK响应发送给 S-CSCFL  Step 511: The S-CSCF2 sends a 200 OK response to the S-CSCFL.
步驟 512、S-CSCF1将 200 OK响应转发给 PoC ServerC Controlling )。 步骤 513~514、 PoC Server ( Controlling )按照 PoC业务规范规定的 流程, 通过 S-CSCF1给 UE1发送 200 OK响应, 本次 UE1和 UE2之间 的业务能力协商完成。  Step 512: The S-CSCF1 forwards the 200 OK response to the PoC ServerC Controlling. Steps 513-514, PoC Server (Controlling) sends a 200 OK response to UE1 through S-CSCF1 according to the procedure specified by the PoC service specification, and the service capability negotiation between UE1 and UE2 is completed.
这样, 使用本发明实施例中的业务能力协商的交互优化流程, PoC Server ( Participating ) 实现了基于 IMS的 PoC业务能力协商过程。  In this way, the PoC Server (Parting) implements the IMS-based PoC service capability negotiation process by using the interaction optimization process of the service capability negotiation in the embodiment of the present invention.
PoC Server ( Controlling )和 PoC Server ( Participating )分别属于控 制 PoC业务所在网络的 AS和主被叫终端所在网络的 AS。 需要注意的 是 PoC Server ( Controlling )和 PoC Server ( Participating )在收到 INVITE 消息后, 均可以将其所在网络支持的会话能力信息的描述 SDP加入到 INVITE请求中提供给被叫终端选择。 PoC Server ( Controlling )和 PoC Server ( Participating ) 添加会话能力信息时, 可以描述会话能力信息的 属性信息, PoC Server ( Controlling )可以添加会话能力信息的属性为属 于发起方网络和控制会话网络, 优先级低于终端的会话能力信息。 PoC Server ( Participating )可以添加会话能力信息的属性为属于被叫方网络, 根据设置会话能力信息的优先级可以高于或者低于 PoC Server ( Controlling )添加的会话能力信息的优先级。 PoC服务器收到一个携 带多个会话能力信息和多个属性信息的会话请求消息后, 可以首先检查 多个会话能力信息的属性信息, 根据优先级信息、 归属的网络信息和其 他信息, 从多个会话能力信息中选择其中的一个或者多个会话能力信 息。 在选择的一个或者多个会话能力信息中选择相应的描述会话能力信 息的参数。 PoC Server ( Controlling ) and PoC Server ( Participating ) are respectively controlled The AS of the network where the PoC service is located and the AS of the network where the calling and called terminals are located. It should be noted that after receiving the INVITE message, the PoC Server (Controlling) and the PoC Server (Parting) can add the description SDP of the session capability information supported by the network to the INVITE request to provide the called terminal for selection. When PoC Server (Controlling) and PoC Server (Parting) add session capability information, you can describe the attribute information of session capability information. PoC Server (Controlling) can add the attributes of session capability information to belong to the initiator network and control session network. Lower than the session capability information of the terminal. The PoC Server (Parting) can add the session capability information attribute to the called party network. The priority of setting the session capability information can be higher or lower than the priority of the session capability information added by the PoC Server (Controlling). After receiving a session request message carrying multiple session capability information and multiple attribute information, the PoC server may first check attribute information of multiple session capability information, and according to priority information, home network information, and other information, multiple One or more of the session capability information is selected in the session capability information. Selecting a corresponding parameter describing the session capability information among the selected one or more session capability information.
以下举几个具体的实施例说明本发明实施例提供的方法。  The following provides a specific embodiment to illustrate the method provided by the embodiments of the present invention.
图 6为本发明 IMS网络中的服务器共同提供被叫终端所支持的业务 能力转换示意图, 如图所示: UE1和 UE2之间的会话通过 IMS网络的 AS建立, AS可以根据提供业务的类型以及自身提供的业务能力确定是 否需要服务器提供业务能力支持, 如果是, 则 UE1和 UE2之间的数据 传输, 分别由 AS和服务器进行业务能力转换后传输。  FIG. 6 is a schematic diagram of the service capability conversion supported by the called terminal in the IMS network according to the present invention, as shown in the following figure: The session between the UE1 and the UE2 is established through the AS of the IMS network, and the AS can be based on the type of service provided and The service capability provided by itself determines whether the server needs to provide service capability support. If yes, the data transmission between UE1 and UE2 is respectively transmitted by the AS and the server after the service capability is converted.
由此可以看出, 本发明实施例 UE1和 UE2之间传输的数据进行业 务能力转换后发送给对方过程中的业务能力转换可以由 AS独立完成, 也可以由 AS授权 IMS网络中的其他有业务能力转换功能的实体完成, 还可以由 AS和 IMS 网络中的其他有业务能力转换功能的实体共同完 成。 It can be seen that, in the embodiment of the present invention, the data transmission between the UE1 and the UE2 is performed by the AS, and the service capability conversion in the process of sending the data to the other party may be performed independently by the AS, or the AS may authorize other services in the IMS network. The entity of the capability conversion function is completed, and can also be completed by other entities in the AS and IMS networks that have the capability conversion function. to make.
举例说明,当被叫方所选择的会话能力信息的描述 SDP与主叫方支 持的会话能力信息的描述 SDP 不相同且被叫方所选择的会话能力信息 的描述 SDP为其他服务器支持的 SDP时, 则由其他服务器提供主被叫 方所传输数据的业务能力转换; 当被叫方所选择的会话能力信息的描述 SDP与主叫方支持的会话能力信息的描述 SDP不相同且被叫方所选择 的 SDP中, 有 AS支持的会话能力信息的描述 SDP, 也有其他服务器支 持的会话能力信息的描述 SDP时, 则由 AS和其他服务器共同提供主被 叫方所传输数据的业务能力转换。  For example, when the description SDP of the session capability information selected by the called party is different from the description SDP of the session capability information supported by the calling party, and the description SDP of the session capability information selected by the called party is the SDP supported by other servers. , the other server provides the service capability conversion of the data transmitted by the calling party and the called party; when the description of the session capability information selected by the called party is different from the description SDP of the session capability information supported by the calling party, and the called party In the selected SDP, there is a description of the session capability information supported by the AS, and the description of the session capability information supported by the other server. When the SDP is described by the other server, the AS and the other server jointly provide the service capability conversion of the data transmitted by the calling party and the called party.
以下举一个具体的实施例来说明最终由其他服务器和 AS共同提供 业务转换能力地业务能力协商过程。图 Ί为本发明的终端在 IMS网络中 进行业务能力协商的信令实施例的流程图, 涉及的网络实体包括: 主叫 终端 UE1、 被叫终端 UE2、 IMS网络中的 UE1所属的 S-CSCF1、 IMS 网络中的 UE2所属的 S-CSCF2、 IMS网絡中的 AS、提供 IMS网络所支 持业务能力的 Capability Server, 其具体步骤为:  A specific embodiment will be described below to illustrate the service capability negotiation process that ultimately provides service conversion capabilities by other servers and ASs. Figure 的 is a flowchart of a signaling embodiment of a terminal for performing service capability negotiation in an IMS network, where the network entity includes: a calling terminal UE1, a called terminal UE2, and an S-CSCF1 to which the UE1 in the IMS network belongs. The S-CSCF to which the UE2 belongs in the IMS network, the AS in the IMS network, and the Capability Server that provides the service capability supported by the IMS network. The specific steps are as follows:
步骤 700、 UE1向 S-CSCF1发起会话协商, 即 INVITE请求, 该请 求携带 UE1的会话能力信息的描述 SDP1, SDP1中包括业务能力类型、 媒体参数以及编码参数等关于业务能力的参数。  Step 700: The UE1 initiates a session negotiation to the S-CSCF1, that is, an INVITE request, and the request carries a description of the session capability information of the UE1. The SDP1 includes parameters about the service capability, such as a service capability type, a media parameter, and an encoding parameter.
步驟 701、 S-CSCF1给 UE1返回接收到该 INVITE请求的响应, 即 100 Trying消息。  Step 701: The S-CSCF1 returns, to the UE1, a response that receives the INVITE request, that is, a 100 Trying message.
对于每个 INVITE请求, 都会有一个 100 Trying消息的响应, 本发 明实施例在以下的流程中没有标识出来。  For each INVITE request, there will be a response to a 100 Trying message, which is not identified in the following flow.
步驟 702、 S-CSCF1根据该 INVITE请求确定提供业务能力协商功 能的 AS , 将该 INVITE请求转发给 AS。  Step 702: The S-CSCF1 determines, according to the INVITE request, an AS that provides a service capability negotiation function, and forwards the INVITE request to the AS.
步骤 703、 AS向 Capability Server发送业务能力查询请求。 步骤 704、 Capability Server给 AS返回业务能力查询请求响应, 该 响应携带 IMS网络支持的会话能力信息的描述 SDP,例如 SDP1、 SDP2、 SDP3以及 SDP4。 Step 703: The AS sends a service capability query request to the Capability Server. Step 704: The Capability Server returns a service capability query request response to the AS, where the response carries a description SDP of the session capability information supported by the IMS network, for example, SDP1, SDP2, SDP3, and SDP4.
其中, SDP1和 SDP2为 AS支持的业务能力的描述, SDP1、 SDP2、 SDP3和 SDP4为其他服务器支持的业务能力的描述。  SDP1 and SDP2 are descriptions of service capabilities supported by the AS, and SDP1, SDP2, SDP3, and SDP4 are descriptions of service capabilities supported by other servers.
步骤 705、 AS向 S-CSCF1发送携带业务能力的描述 SDP1、 SDP2、 SDP3以及 SDP4的 INVITE请求。  Step 705: The AS sends an INVITE request carrying the service capability descriptions SDP1, SDP2, SDP3, and SDP4 to the S-CSCF1.
步骤 706 ~ 707、 S-CSCF1将收到的 INVITE请求通过 S-CSCF2发 送给 UE2。  Steps 706 ~ 707, S-CSCF1 sends the received INVITE request to UE2 through S-CSCF2.
步骤 708 ~ 709、接收到 INVITE请求的 UE2根据该请求携带的会话 能力信息的描述 SDP1、 SDP2、 SDP3以及 SDP4选择自身支持的业务能 力,如 SDP4和 SDP2,通过 S-CSCF2返回给 S-CSCF1携带 SDP4和 SDP2 的 200 OK响应。  Steps 708 to 709, the UE2 that receives the INVITE request, according to the description of the session capability information carried by the request, SDP1, SDP2, SDP3, and SDP4 selects the service capabilities supported by the UE, such as SDP4 and SDP2, and returns to the S-CSCF1 through the S-CSCF2. 200 OK response for SDP4 and SDP2.
其中, 所选择的 SDP4描述的业务能力为应用服务器支持的业务能 力, 所选择的 SDP2描述的业务能力为 AS支持的业务能力。  The service capability described by the selected SDP4 is the service capability supported by the application server, and the service capability described by the selected SDP2 is the service capability supported by the AS.
步驟 710、 S-CSCF1将接收到的携带业务能力的描述 SDP4和 SDP2 的 200 OK响应转发给 AS。  Step 710: The S-CSCF1 forwards the received 200 OK response of the SDP4 and SDP2 carrying the service capability to the AS.
步骤 711、 AS将 200 OK响应携带的会话能力信息的描述 SDP4以 及 SDP2和 UE1支持的 SDP1进行比较, 判断两者是否相同, 如果是, AS确定 UEl和 UE2之间传输的数据直接通过 AS和应用服务器发送给 对方终端, 执行步骤 712; 如果不是, 确定 UE1和 UE2之间传输的数据 进行业务能力转换后发送给对方终端, 即经过 AS和其他服务器共同进 行业务能力转换后发送给对方终端, 执行步骤 712。  Step 711: The AS compares the description of the session capability information carried by the 200 OK response with the SDP4 and the SDP1 supported by the UE1 to determine whether the two are the same. If yes, the AS determines that the data transmitted between the UE1 and the UE2 directly passes through the AS and the application. The server sends the signal to the other party, and performs step 712. If not, the data transmitted between the UE1 and the UE2 is determined to be converted to a service capability, and then sent to the other party through the AS and other servers. Step 712.
步骤 712~713、 AS通过 S-CSCF1给 UE1发送 200 OK响应, 本次 UE1和 UE2之间的业务能力协商完成。 以下举一个具体的实施例来说明 SIP网络的网络实体对用于会话建 立的会话建立请求消息和会话建立响应消息中进行增加、删除或 /和修改 的操作, 以实现本发明实施例的会话能力信息操作。 Steps 712-713, the AS sends a 200 OK response to the UE1 through the S-CSCF1, and the service capability negotiation between the UE1 and the UE2 is completed. A specific embodiment is used to describe the operations of the network entity of the SIP network to add, delete, or/and modify the session establishment request message and the session establishment response message for session establishment, so as to implement the session capability of the embodiment of the present invention. Information operation.
图 8为本发明在 IMS网络中进行业务能力协商的信令实施例二的流 程图。 涉及的网络实体包括: 主叫终端 UE1、 被叫终端 UE2、 UE1所属 的 SIP网络中的网络实体 1、 UE2所属的网络实体 2、 UE1所属的 SIP 网络中的处理实体 1、 UE2所属的 SIP网络中的处理实体 2。 在本实施 例中, 处理实体 1和处理实体 2分别对会话建立请求消息和会话建立响 应消息的消息体中的会话能力信息进行了增加、 删除和 4务改, 实现了会 话协商过程。 其中处理实体可以是独立的网络实体, 也可以是一个逻辑 功能集成在网络实体上, 网络实体可以是 AS、 CSCF、 MRF、 SIP-ALG 等。 其具体步骤为:  FIG. 8 is a flow chart of Embodiment 2 of signaling for performing service capability negotiation in an IMS network according to the present invention. The network entity involved includes: a calling terminal UE1, a called terminal UE2, a network entity in a SIP network to which UE1 belongs, a network entity to which UE2 belongs, a processing entity in a SIP network to which UE1 belongs, and a SIP network to which UE2 belongs. Processing entity 2 in . In this embodiment, the processing entity 1 and the processing entity 2 respectively add, delete, and modify the session capability information in the message body of the session establishment request message and the session establishment response message, and implement the session negotiation process. The processing entity may be an independent network entity, or may be a logical function integrated on the network entity, and the network entity may be an AS, a CSCF, an MRF, a SIP-ALG, or the like. The specific steps are:
步骤 800、 UE1向网络实体 1发送 INVITE请求消息, 请求消息中 携带了 UE1的会话能力信息。  Step 800: The UE1 sends an INVITE request message to the network entity 1, where the request message carries the session capability information of the UE1.
步驟 801、 网络实体 1将 INVITE请求消息转发给处理实体 1。 步骤 802 803、 处理实体 1检查 INVITE请求消息的消息体中的会 话能力信息, 并且添加了 ΌΈ1所在 SIP网络支持的会话能力倌息后, 将 INVITE请求消息发送给网络实体 1。  Step 801: The network entity 1 forwards the INVITE request message to the processing entity 1. Step 802 803: The processing entity 1 checks the session capability information in the message body of the INVITE request message, and adds the session capability information supported by the SIP network where the ΌΈ1 is located, and then sends the INVITE request message to the network entity 1.
步骤 804、 网络实体 1将 INVITE请求消息传送给处理实体 2。 步骤 805 806、 处理实体 2, 检查 INVITE请求消息的消息体中的 会话能力信息, 删除 UE2所属的 SIP网络不支持的会话能力信息, 添加 UE2所属的 SIP网络支持的会话能力信息, 还可以修改 INVITE请求消 息的消息体中的会话能力信息后, 将 INVITE请求消息发送给网絡实体 2。 ,  Step 804: The network entity 1 transmits an INVITE request message to the processing entity 2. Step 805 806: Processing the entity 2, checking the session capability information in the message body of the INVITE request message, deleting the session capability information that is not supported by the SIP network to which the UE2 belongs, adding the session capability information supported by the SIP network to which the UE2 belongs, and modifying the INVITE After requesting the session capability information in the message body of the message, the INVITE request message is sent to the network entity 2. ,
步骤 807、 网络实体 2将 INVITE请求消息转发给 UE2。 步骤 808 - 809、 UE2收到 INVITE请求消息, 检查 INVITE请求消 息的消息体中的会话能力信息,选择 UE2支持的会话能力信息后,将携 带 UE2支持的会话能力信息的会话建立响应消息发送给网絡实体 2。 Step 807: The network entity 2 forwards the INVITE request message to the UE2. Steps 808 - 809, the UE2 receives the INVITE request message, checks the session capability information in the message body of the INVITE request message, selects the session capability information supported by the UE2, and sends a session establishment response message carrying the session capability information supported by the UE2 to the network. Entity 2.
步骤 810、 网络实体 2将携带 UE2支持的会话能力信息的会话建立 响应消息响应发送给处理实体 2。  Step 810: The network entity 2 sends a session establishment response message response carrying the session capability information supported by the UE2 to the processing entity 2.
步骤 811、 处理实体 2检查会话建立响应消息中的会话能力信息, 根据预先设定的策略增加、删除或 /和修改会话建立响应消息中的会话能 力信息。 - 步骤 812、 处理实体 2将会话建立响应消息发送给处理实体 1。 步骤 813 ~ 814、 处理实体 1, 增加、 删除或 /和修改会话建立响应消 息中的会话能力信息后, 将会话建立响应消息发送给网络实体 1。  Step 811: The processing entity 2 checks the session capability information in the session establishment response message, and adds, deletes, and/or modifies the session capability information in the session establishment response message according to the preset policy. - Step 812: The processing entity 2 sends a session establishment response message to the processing entity 1. Steps 813 to 814, processing the entity 1, and adding, deleting, or/and modifying the session capability information in the session establishment response message, and sending the session establishment response message to the network entity 1.
步骤 815、 网络实体 1将响应消息传送给 UE1 , 业务能力协商的过 程完成。  Step 815: The network entity 1 transmits a response message to the UE1, and the process of the service capability negotiation is completed.
本发明实施例提供的业务能力的协商方法可以不限于其使用的网 络, 即, 用在主叫方所在的网络中的功能实体上, 可以是 CSCF、 AS、 MRP和 SIP-ALG, 可以是以上的网络实体但是并不限于这些网络实体; 也可以用于被叫方所在的 SIP网络。 本发明实施例的业务能力的协商方 法可以在主叫方和被叫方所在的业务网络同时使用, 也可以分别使用, 此外, 在某些应用中, 不区分主被叫方网络, 也可以使用这种业务能力 协商的方法。  The method for negotiating the service capability provided by the embodiment of the present invention may be not limited to the network used by the network, that is, the functional entity used in the network where the calling party is located, and may be CSCF, AS, MRP, and SIP-ALG, and may be the above. The network entity is not limited to these network entities; it can also be used for the SIP network where the called party is located. The method for negotiating the service capability in the embodiment of the present invention may be used at the same time as the service network where the calling party and the called party are located, or may be separately used. In addition, in some applications, the calling party network may not be distinguished, and may also be used. This method of business capability negotiation.
本发明实施例在主被叫方进行业务能力协商过程中, 当主叫方向 SIP网络发出携带主叫方的业务能力的会话建立请求消息时, SIP网络中 的网络实体可以直接更改会话建立请求消息中的内容, 将其获得的 SIP 网络支持的业务能力的信息携带在该请求消息中发送给被叫方, 由被叫 方选择其支持的业务能力后通过会话建立响应消息发送给 SIP网络中的 网絡实体, SIP 网络中的网络实体根据所接受的被叫方支持的业务能力 进行后续处理, SIP 网络中的网络实体还可以对会话建立响应消息的业 务能力进行增加、 删除和修改。 由于本发明实施例主叫终端并不像现有 技术那样等到被叫终端返回拒绝消息后才重新进行主被叫终端之间业 务能力的协商,而是直接提供 SIP网络的会话能力信息供被叫终端选择, 从而筒化了主被叫终端进行业务能力协商的过程, 减少会话建立的时 延。 In the embodiment of the present invention, when the calling party performs the service capability negotiation process, the network entity in the SIP network can directly change the session establishment request message when the calling party sends a session establishment request message carrying the service capability of the calling party to the SIP network. In the content, the information of the service capability supported by the SIP network is carried in the request message and sent to the called party, and the called party selects the service capability supported by the called party and sends the response to the SIP network through the session establishment response message. The network entity, the network entity in the SIP network performs subsequent processing according to the accepted service capability supported by the called party, and the network entity in the SIP network can also add, delete, and modify the service capability of the session establishment response message. In the embodiment of the present invention, the calling terminal does not wait until the called terminal returns the reject message, and then re-negotiates the service capability between the calling and called terminals, and directly provides the session capability information of the SIP network for the called party. The terminal selects, thereby the process of negotiating the service capability negotiation between the calling and called terminals, and reducing the delay of session establishment.
在会话消息中如何携带业务支持能力信息如下所述。  How to carry the service support capability information in the session message is as follows.
会话能力信息可以使用 SDP协议描述, 即会话消息采用 SDP。本发 明实施例可以将会话消息中携带的会话能力信息划分多个会话能力信 息块, SDP对会话能力信息块增加了编号和属性的定义, 使得会话消息 所携带的多个会话能力信息块能够被识别, 并且可以根据会话能力信息 块的编号和属性确定选择哪一个会话能力信息块进行处理。  The session capability information can be described by using the SDP protocol, that is, the session message adopts SDP. In the embodiment of the present invention, the session capability information carried in the session message may be divided into multiple session capability information blocks, and the SDP adds a number and an attribute definition to the session capability information block, so that multiple session capability information blocks carried by the session message can be Identifying, and determining which session capability information block to select for processing based on the number and attributes of the session capability information block.
会话能力信息块用编号标识, 例如该编号定义为 Series, 或者定义 为 SDP ID等,使用 series作为会话能力信息块的编号。编号能够让在同 一会话消息的消息体中的多个会话能力信息块相互之间可以被区分开。 在 SDP定义的会话能力信息块的版本信息后用编号标识,标识的方法可 以为:  The session capability information block is identified by a number, for example, the number is defined as Series, or is defined as SDP ID, etc., and series is used as the number of the session capability information block. The numbering enables multiple session capability information blocks in the message body of the same session message to be distinguished from each other. After the version information of the session capability information block defined by the SDP is identified by a number, the method of the identification may be:
在会话能力信息块的版本信息的 V字段内,增加编号。如: v=0 series: <series number from 0-n>。  In the V field of the version information of the session capability information block, the number is added. For example: v=0 series: <series number from 0-n>.
具体的使用方法是: 如果当前的会话能力信息块是当前会话消息中 的第三个会话能力信息块, 那么对该会话能力信息块进行标识。 序列号 定义从 0 - n,在本发明实施例中不支持一个会话消息的消息体中包含多 于 n个不同的会话能力信息块, 在本发明实施例中不希望一个会话消息 过大, 因此希望一个会话消息的消息体中的会话能力信息块不能超过一 个范围, 比如不能超过 n=10个, 当然也可以根据 SIP网络的处理能力, 确定编号的范围。 The specific usage method is: if the current session capability information block is the third session capability information block in the current session message, the session capability information block is identified. The sequence number is defined from 0 - n, and the message body that does not support a session message in the embodiment of the present invention contains more than n different session capability information blocks. In the embodiment of the present invention, it is not desirable that one session message is too large, so I hope that the session capability information block in the message body of a session message cannot exceed one. The range, for example, cannot exceed n=10. Of course, the range of the number can also be determined according to the processing capability of the SIP network.
本发明实施例可以给会话能力信息块设置结束标志信息: 由于会话 消息的消息体中可以包括多个会话能力信息块, 因此需要在每一个会话 能力信息块的最后增加会话能力信息块的结束标志信息, 使得 SIP网络 的网络实体能够识别会话能力信息块的结束标志信息。 结束标志信息被 定义为一个完整的会话能力信息块的结束标志, SIP 网络的网络实体一 旦发现结束标志, 就可以判定一个会话能力信息块已经结束了。 本发明 实施例可以采用 ^finished方式定义会话能力信息块的结束标志。  The embodiment of the present invention may set the end flag information to the session capability information block: Since the message body of the session message may include multiple session capability information blocks, it is necessary to increase the end flag of the session capability information block at the end of each session capability information block. The information enables the network entity of the SIP network to identify the end flag information of the session capability information block. The end flag information is defined as the end flag of a complete session capability information block. Once the network entity of the SIP network finds the end flag, it can be determined that a session capability information block has ended. The embodiment of the present invention can define the end flag of the session capability information block in the ^finished manner.
本发明实施例还可以给会话能力信息块设置开始标志信息, 开始标 志信息可以为会话能力信息块开始的第一个字符串 V = , 也可以为会话 能力信息块的开始标志。  The embodiment of the present invention may further set the start flag information to the session capability information block, and the start flag information may be the first character string V = starting from the session capability information block, or may be the start flag of the session capability information block.
本发明实施例具有一个完整会话能力信息块的会话消息的格式如 下所示:  The format of the session message with a complete session capability information block in the embodiment of the present invention is as follows:
v=0 series :3  v=0 series :3
o=mhandley 2890844526 2890842807 IN IP4 126.16.64.4 s^SDP Seminar  o=mhandley 2890844526 2890842807 IN IP4 126.16.64.4 s^SDP Seminar
i=A Seminar on the session description protocol u=http://www s.ucl.ac.uk staff/M.Handley/sdp.03.ps e=mjh@isi.edu (Mark Handley)  i=A Seminar on the session description protocol u=http://www s.ucl.ac.uk staff/M.Handley/sdp.03.ps e=mjh@isi.edu (Mark Handley)
c=IN IP4 224.2.17.12/127  c=IN IP4 224.2.17.12/127
t=2873397496 2873404696  t=2873397496 2873404696
a=recvonly  a=recvonly
m=audio 49170 RTP/AVP 0  m=audio 49170 RTP/AVP 0
m=video 51372 RTP/AVP 31  m=video 51372 RTP/AVP 31
m=application 32416 udp wb a=orient:portrait m=application 32416 udp wb a=orient:portrait
f=finished  f=finished
实施例 1 ,本发明实施例对会话消息中的消息体内容定义如下所述。 本发明实施例在会话消息的消息头中新增加对消息体内容属性的 定义, 消息体内容属性描述了会话消息的消息体内容的内容属性, 将消 息体内容属性提供给网络实体、 会话发起方、 或 /和消息接收方。 消息体 内容属性的描述可以有多个, 多个内容属性的描述对应了会话消息的消 息体中的会话能力信息块, 网络实体能够通过在会话消息的消息头中的 消息内容属性确定会话消息的消息体中都携带了哪些会话能力信息块、 这些会话能力信息块的属性以及优先级别。 本发明实施例对会话消息的 消息体内容属性的定义采用如下方式, 定义了会话消息的消息头为 Content , 对 Content字段的定义如下:  Embodiment 1 The embodiment of the present invention defines a message body content in a session message as follows. In the embodiment of the present invention, a definition of a message body content attribute is newly added in a message header of a session message, and a message body content attribute describes a content attribute of a message body content of the session message, and the message body content attribute is provided to the network entity and the session initiator. , or / and message recipients. There may be multiple descriptions of the message body content attributes, and the description of the multiple content attributes corresponds to the session capability information block in the message body of the session message, and the network entity can determine the session message by using the message content attribute in the message header of the session message. Which session capability information blocks, attributes of these session capability information blocks, and priority levels are carried in the message body. In the embodiment of the present invention, the content attribute of the message body of the session message is defined as follows. The message header of the session message is defined as Content, and the definition of the Content field is as follows:
Content: series 1 : <belong<which network belong to>|entity< which entity belong to>|priority<value>  Content: series 1 : <belong<which network belong to>|entity< which entity belong to>|priority<value>
Content: series2: <belong<which network belong to>| entity<which entity belong to>|priority<value>  Content: series2: <belong<which network belong to>| entity<which entity belong to>|priority<value>
Content: series3: <belong<which network belong to>| entity<which entity belong to>|priority<value>  Content: series3: <belong<which network belong to>| entity<which entity belong to>|priority<value>
其中, 消息头 Content表示本字段内要对会话消息的消息体中所携 带的会话能力信息块进行描述。 series[x]表示了会话能力信息块的编号, 在每一个 series[x]后, 都需要包含这个会话能力信息块的归属属性、 优 先级和这个会话能力信息块的媒体信息的描述归属属性。  The message header Content indicates that the session capability information block carried in the message body of the session message is described in this field. Series[x] represents the number of the session capability information block. After each series[x], it is necessary to include the attribution attribute of the session capability information block, the priority level, and the description attribute attribute of the media information of the session capability information block.
归属属性标识这个会话能力信息块属于哪个网络实体, 会话能力信 息块的归属属性为终端的、 会话发起方、 主叫终端所在网络的、 会话控 制方所在的网絡的、或 /和被叫终端所在网络。在本发明实施例中使用了 如下定义方法: 定义会话能力信息块的归属属性,即 Belong为 endpoint、 origination network:、 focus network:、 或 /和 termination network。 The attribution attribute identifies which network entity the session capability information block belongs to. The home attribute of the session capability information block is the terminal, the session initiator, the network where the calling terminal is located, the network where the session controller is located, or/and the called terminal is located. The internet. The following defined method is used in the embodiment of the present invention: Define the attribution attribute of the session capability information block, that is, Belong is endpoint, origination network:, focus network:, or / and termination network.
会话能力信息块的媒体信息的描述归属属性, 即 Entity规定了媒体 信息的描述是属于哪个网络实体的, 可以属于 AS、 Session Controller, 如 PoC CF, Conference Server等、 或 /和资源控制器, 如 MRF, 媒体网 关等。 在本发明实施例中使用了如下定义方法:  The description of the media information of the session capability information block, that is, the Entity specifies which network entity the description of the media information belongs to, and may belong to an AS, a Session Controller, such as a PoC CF, Conference Server, etc., or/and a resource controller, such as MRF, media gateway, etc. The following defined method is used in the embodiment of the present invention:
定义 Entity为 Application Server ^ Session Controller 或 /和 Resource Controller。  Define Entity as Application Server ^ Session Controller or / and Resource Controller.
会话能力信息块的优先级确定过程如下所述。  The priority determination process of the session capability information block is as follows.
在会话消息的消息头中设置的消息体内容属性中, 可以包括优先 级。 由于被叫方确定会话能力信息块归属哪个网络和属于哪个网络实 体, 通过分析会话能力信息块, 就可以判断出会话消息体中的多个会话 能力信息块的优先顺序, 并将各个会话能力信息块的优先级设置在会话 消息的消息头中的消息体内容属性中。  The priority may be included in the message body content attribute set in the message header of the session message. Since the called party determines which network the session capability information block belongs to and which network entity belongs to, by analyzing the session capability information block, the priority order of the plurality of session capability information blocks in the session message body can be determined, and each session capability information is The priority of the block is set in the message body content attribute in the message header of the session message.
本发明实施例对会话消息的消息体中的内容长度也进行了定义。 在对会话消息中的消息体中的会话能力信息块的属性描述结束后, 应当对会话能力信息块进行标识, 标识的方法为: 用十进制数统计字节 数。 具体的定义是, 如一个会话能力信息块长度为 518个字节, 那么长 度的定义为: Content-length: 518。  The embodiment of the present invention also defines the content length in the message body of the session message. After the description of the attribute of the session capability information block in the message body in the session message ends, the session capability information block should be identified by the method of counting the number of bytes in decimal. The specific definition is that if a session capability information block is 518 bytes long, the length is defined as: Content-length: 518.
本发明实施例对会话消息的消息头进行扩展的具体方法如下所述。 本发明实施例的会话消息的消息头对会话消息的消息体中的内容 部分进行了内容属性设置, 从而扩展了消息头。 扩展的方法是, 在会话 消息的消息体中每增加会话能力信息块或其他消息体内容, 就要在会话 消息的消息头中增加消息体内容属性的描述 Content 字段, 并且在 Content字段中对这部分消息体内容的类型、格式、内容长度等进行描述。 这样, 会话消息的消息体中的所有会话能力信息块或消息体内容都在会 话消息的消息头中设置有内容属性, 内容属性定义了会话能力信息块或 消息体内容的编号、 所属的网络或终端、 所属哪种网絡实体、 可选项优 先级、 内容的类型, 如 SDP、 图片或音频等、 编码格式或 /和消息体内容 长度等。 The specific method for extending the message header of the session message in the embodiment of the present invention is as follows. The message header of the session message in the embodiment of the present invention performs content attribute setting on the content part in the message body of the session message, thereby expanding the message header. The extended method is to add a description Content field of the message body content attribute in the message header of the session message for each session capability information block or other message body content in the message body of the session message, and to view this in the Content field. The type, format, content length, etc. of some message body contents are described. In this way, all session capability information blocks or message body contents in the message body of the session message are set with a content attribute in the message header of the session message, and the content attribute defines the session capability information block or the number of the message body content, the network to which it belongs, or the network to which it belongs or The terminal, which network entity it belongs to, the priority of the option, the type of content, such as SDP, picture or audio, etc., encoding format or/and message body content length.
一个会话消息中存在多个会话能力信息块和消息体内容的完整会 话消息的消息头的格式如下所述:  The format of the header of a complete session message with multiple session capability information blocks and message body content in a session message is as follows:
Content: series :0 <belong: endpoint | entity: |priority:0>  Content: series :0 <belong: endpoint | entity: |priority:0>
Content-type: Application/SDP  Content-type: Application/SDP
c: text/html; charset=ISO-8859-4  c: text/html; charset=ISO-8859-4
Content-length: 333  Content-length: 333
Content: series: 1 <belong: endpoint |entity: |priority:0> Content: series: 1 <belong: endpoint |entity: |priority:0>
Content-type: Image/jpeg  Content-type: Image/jpeg
Content-length: 1024  Content-length: 1024
Content: series :2 <belong: origination network | entity: MRPx |priority: i| Content: series :2 <belong: origination network | entity: MRPx |priority: i|
Content-type: Application/SDP  Content-type: Application/SDP
Content-length: 412  Content-length: 412
Content: series :3 <belong: focus network | entity: controller |priority: 0| Content-type: Application/SDP Content: series :3 <belong: focus network | entity: controller |priority: 0| Content-type: Application/SDP
Content-length: 388  Content-length: 388
其中, 该会话消息携带的第一个消息体内容是主叫方所期望的会话 能力信息块, 第二个消息体内容是主叫方在会话消息中加入了个人的照 片,第三个消息体内容是主叫方所在的 SIP网络提供的会话能力信息块; 第四个消息体内容是会话控制方所在网络提供的会话能力信息块。 这样 被叫方接收到会话消息后, 就可以得到主叫方和网络实体在会话消息中 添加的消息体内容。 从这些消息体内容中, 被叫方选择支持的消息体内 容, 并且可以继续处理有关会话消息的其他步骤。 The first message body content carried by the session message is a session capability information block desired by the calling party, and the second message body content is that the calling party adds a personal photo to the session message, and the third message body The content is a session capability information block provided by the SIP network where the calling party is located; The fourth message body content is the session capability information block provided by the network where the session controller is located. After the called party receives the session message, the body content added by the calling party and the network entity in the session message can be obtained. From these message body contents, the called party selects the supported message body content and can continue to process other steps related to the session message.
实施例 2, 在会话消息的消息体中增加了对消息体类型的定义, 扩 展了会话消息的消息体内容属性, 其余部分与实施例 1相同。  Embodiment 2: The definition of the message body type is added to the message body of the session message, and the message body content attribute of the session message is expanded, and the rest is the same as that of Embodiment 1.
在会话消息的消息头的 Content-type字段中, 可以使用现有的消息 体内容类型 , 即 Content-type: Application/MIME。  In the Content-type field of the message header of the session message, you can use the existing message body content type, which is Content-type: Application/MIME.
包括消息体类型的消息体内容属性在会话消息中的使用方法如下 所述。  The message body content attribute including the message body type is used in the session message as described below.
会话消息的消息体中可以包含多个会话能力信息块, 那么在会话消 息的消息头中的 Content-type 标识的类型应当为, Content-type: Application/MIME。  The message body of the session message can contain multiple session capability information blocks, then the type of the Content-type identifier in the message header of the session message should be, Content-type: Application/MIME.
在 Content-type字段的下面, 应当对会话消息的消息体中的每个会 话能力信息块进行描述, 需要做到会话消息的消息体中的每会话能力信 息块在消息头中都有用 Content-type字段描述消息体类型。  Below the Content-type field, each session capability information block in the message body of the session message should be described. The session capability information block in the message body of the session message needs to be used in the message header. The field describes the message body type.
一个包含了 4个会话能力信息块的会话消息的消息头的格式如下: The format of a message header for a session message containing 4 session capability information blocks is as follows:
Content-type: Application/MIME Content-type: Application/MIME
Content: series 1 : <belong: endpoint |entity: |priority: 0  Content: series 1 : <belong: endpoint |entity: |priority: 0
Content: series2: <belong: origination network | entity: session controller |priority:  Content: series2: <belong: origination network | entity: session controller |priority:
Content: series3: <belong: focus network | entity: application server Ipriority  Content: series3: <belong: focus network | entity: application server Ipriority
Content: series3: <belong: focus network | entity: resource controller Ipriority  Content: series3: <belong: focus network | entity: resource controller Ipriority
被叫方对在会话消息的消息头中的消息体类型的使用过程为: 在被 叫 方 收 到 在 会 话 消 息 的 消 息 头 中 携 带 了The called party's use of the message body type in the message header of the session message is: The calling party is received in the message header of the session message.
Content-type=Application/MIME , 那么表示被叫方收到的会话消息的消 息体中携带多个完整的会话能力信息块。 被叫方需要在会话消息的消息 头中查看 Content字段的内容,并且根据 Content字段中的各个会话能力 信息块的内容属性, 确定在哪个会话能力信息块选择被叫方期望的媒体 参数。 Content-type=Application/MIME, then the message body representing the session message received by the called party carries multiple complete session capability information blocks. The called party needs to view the content of the Content field in the message header of the session message, and based on the content attribute of each session capability information block in the Content field, determines which session capability information block selects the media parameter desired by the called party.
在实施例 2中, 会话消息的消息体中的内容包括:  In Embodiment 2, the content in the message body of the session message includes:
v=0 series: 1  v=0 series: 1
o=caller 2890844526 2890842807 IN IP4 126.16.64.4 s=SDP Seminar  o=caller 2890844526 2890842807 IN IP4 126.16.64.4 s=SDP Seminar
i=A Seminar on the session description protocol  i=A Seminar on the session description protocol
u==http://www.huawei.com u == http://www.huawei.com
e=caller@huawei . com (Caller)  e=caller@huawei . com (Caller)
c=IN IP4 10.1.1.10/127  c=IN IP4 10.1.1.10/127
t=2873397496 2873404696  t=2873397496 2873404696
a=sendrecv  a=sendrecv
m=audio 49170 RTP/AVP 0  m=audio 49170 RTP/AVP 0
m=video 51372 RTP/AVP 31  m=video 51372 RTP/AVP 31
m=application XXXXX XXX XX  m=application XXXXX XXX XX
a=orient:portrait  a=orient:portrait
f=finished series :2  f=finished series :2
o=caller 2890844526 2890842807  o=caller 2890844526 2890842807
s=SDP Seminar  s=SDP Seminar
i=A Seminar on the session description protocol  i=A Seminar on the session description protocol
u=http:〃 www.huawei.com e=caller@huawei . com (caller) u=http:〃 www.huawei.com e=caller@huawei . com (caller)
c=IN IP4 11.1.1.10/127  c=IN IP4 11.1.1.10/127
t=2873397496 2873404696  t=2873397496 2873404696
a=sendrecv a=sendrecv
m=audio XXXX RTP/AVP 0 m=audio XXXX RTP/AVP 0
m=video XXXX RTP/AVP 31 m=video XXXX RTP/AVP 31
misapplication 32416 udp wb Misapplication 32416 udp wb
a=orient:portrait  a=orient:portrait
f^finished series :3 F^finished series :3
o=caller 2890844526 2890842807  o=caller 2890844526 2890842807
s=SDP Seminar  s=SDP Seminar
i=A Seminar on the session description protocol u=http:〃 www.huawei.com  i=A Seminar on the session description protocol u=http:〃 www.huawei.com
e=caller@huawei.com (caller)  E=caller@huawei.com (caller)
c=IN IP4 192.168.1.10/127  c=IN IP4 192.168.1.10/127
t=2873397496 2873404696  t=2873397496 2873404696
a=sendrecv a=sendrecv
m=audio XXXX RTP/AVP 0 m=audio XXXX RTP/AVP 0
m=video XXXX RTP/AVP 31 m=video XXXX RTP/AVP 31
m=application XXXXX XXX XX m=application XXXXX XXX XX
a=orient:portrait  a=orient:portrait
f=finished series :4 f=finished series :4
o=caller 2890844526 2890842807  o=caller 2890844526 2890842807
s=SDP Seminar i=A Seminar on the session description protocol u=http:〃 www.huawei.com s=SDP Seminar i=A Seminar on the session description protocol u=http:〃 www.huawei.com
e=caller@huawei.com (caller)  E=caller@huawei.com (caller)
c=IN IP4 193.168.1.10/127  c=IN IP4 193.168.1.10/127
t=2873397496 2873404696  t=2873397496 2873404696
a=sendrecv  a=sendrecv
m=audio XXXX RTP/AVP 0  m=audio XXXX RTP/AVP 0
m=video XXXX RTP/AVP 31  m=video XXXX RTP/AVP 31
m=application XXXXX XXX XX  m=application XXXXX XXX XX
a=orient:portrait  a=orient:portrait
f=finished  f=finished
实施例 3, 在一个会话能力信息块中可以出现多个媒体参数, 因此, 在会话消息携带的一个会话能力信息块中增加了对媒体参数属性和优 先级信息的描述, 根据媒体参数属性的描述可以得到该媒体参数属于哪 类网络实体或终端, 根据媒体参数的优先级信息, 确定媒体参数的优先 级别。 这样, 会话消息的被叫方能够通过查看媒体参数属性, 得到媒体 的业务属性信息, 可以有效的选择媒体参数。  Embodiment 3, a plurality of media parameters may be present in a session capability information block. Therefore, a description of the media parameter attribute and the priority information is added to a session capability information block carried in the session message, according to the description of the media parameter attribute. It can be obtained which type of network entity or terminal the media parameter belongs to, and the priority level of the media parameter is determined according to the priority information of the media parameter. In this way, the called party of the session message can obtain the service attribute information of the media by viewing the media parameter attribute, and can effectively select the media parameter.
会话能力信息块的媒体参数包含三类: 第一类属于会话信息, 包括 会话标识和其他会话级参数, 如会话发起方的 IP地址、 主题、会话或创 建人的联系信息等; 第二类属于定时描述信息, 包括开始和停止时间、 重复次数以及一个和多个媒体级描述; 第三类属于媒体类型和格式描述 信息, 包括传输协议和传输地址, 如 IP地址和端口号、媒体的类型、 编 码类型以及其他媒体参数。  The media parameters of the session capability information block include three types: The first category belongs to the session information, including the session identifier and other session-level parameters, such as the IP address of the session initiator, the topic, the contact information of the session or the creator, etc.; Timing description information, including start and stop time, number of repetitions, and one or more media level descriptions; third category belongs to media type and format description information, including transport protocol and transport address, such as IP address and port number, type of media, Encoding type and other media parameters.
本发明实施例在会话能力信息块的媒体参数描述中, 增加了媒体参 数归属属性和优先级的定义, 并且提供了被叫方如何根据媒体参数的归 属属性和优先级选择媒体参数的方法。 本发明实施例在会话能力信息块内将来自不同网络和网络实体的 多个媒体参数加入, 为了能够让被叫方能够识别这些网絡实体, 需要在 不同的媒体参数中用媒体参数的描述来区分。 媒体参数的描述可以是媒 体参数属于会话协商过程中的哪个网络的、 媒体参数属于哪一类网络实 体的、 网络实体或被叫方加入的优先级参数、 或 /和其他属性的描述。 In the media parameter description of the session capability information block, the definition of the media parameter attribution attribute and the priority is added, and a method for how the called party selects the media parameter according to the attribution attribute and priority of the media parameter is provided. In the embodiment of the present invention, multiple media parameters from different networks and network entities are added in the session capability information block. In order to enable the called party to identify the network entities, the description of the media parameters needs to be distinguished in different media parameters. . The description of the media parameter may be a description of the network parameter belonging to which network in the session negotiation process, the type of network entity to which the media parameter belongs, the priority parameter to which the network entity or the called party joins, or/and other attributes.
被叫方收到会话消息的消息体中的媒体参数的描述, 包括了媒体参 数属于会话协商过程中的哪个网絡的、 媒体参数属于哪一类网络实体 的、 网络实体或接收方加入的优先级参数、 或 /和其他属性的描述, 被叫 方使用这些媒体参数的描述可以选择选择本次会话协商的媒体参数。  The description of the media parameter in the message body of the session message received by the called party, including the network parameter belonging to the network in the session negotiation process, the network entity to which the media parameter belongs, the priority of the network entity or the receiver. A description of the parameters, or/and other attributes, the called party uses the description of these media parameters to select the media parameters for this session negotiation.
会话消息的消息体的格式如下所示。  The format of the message body of the session message is as follows.
v= (protocol version)  v= (protocol version)
o= (owner/creator and session identifier).  o= (owner/creator and session identifier).
s= (session name)  s= (session name)
i=* (session information)  i=* (session information)
u=* (URI of description)  u=* (URI of description)
e=* (email address)  e=* (email address)
p=* (phone number)  p=* (phone number)
c=* (connection information - not required if included in all media)  c=* (connection information - not required if included in all media)
b=* (bandwidth information)  b=* (bandwidth information)
One or more time descriptions (see below)  One or more time descriptions (see below)
z=* (time zone adjustments)  z=* (time zone adjustments)
k=* (encryption key)  k=* (encryption key)
a=* (zero or more session attribute lines)  a=* (zero or more session attribute lines)
Zero or more media descriptions (see below)  Zero or more media descriptions (see below)
定时级别定义的参数为:  The parameters defined by the timing level are:
t= (time the session is active) r=* (zero or more repeat times) t= (time the session is active) r=* (zero or more repeat times)
媒体级定义的参数为:  The parameters defined at the media level are:
m= (media name and transport address)  m= (media name and transport address)
i=* (media title)  i=* (media title)
c=* (connection information - optional if included at session-level)  C=* (connection information - optional if included at session-level)
b=* (bandwidth information)  b=* (bandwidth information)
k=* (encryption key)  k=* (encryption key)
a=* (zero or more media attribute lines  a=* (zero or more media attribute lines
关于会话能力信息块的媒体参数的具体含义可以参考 RFC 2327标 准。  The specific meaning of the media parameters of the session capability information block can be referred to the RFC 2327 standard.
在媒体级参数描述中, 本发明实旅例使用 a参数, 增加了媒体参数 归属属性、 媒体参数类型和媒体参数优先级定义。  In the media level parameter description, the actual travel example of the present invention uses the a parameter to increase the media parameter attribution attribute, the media parameter type, and the media parameter priority definition.
媒体参数归属属性定义为该媒体参数所在的网络实体或终端。 定义 的格式为:  The media parameter attribution attribute is defined as the network entity or terminal where the media parameter is located. The format of the definition is:
a* =b elong: <value=which entity belong to>  a* =b elong: <value=which entity belong to>
其中, belong可以为会话的终点、 会话发起方所在的网络、 消息接 收方所在的网络、 或 /和控制方所在的网络等, 具体的定义可以是 endpoint origination networks termination network:、 或 /和 focus network:。 其中 endpoint表示为主叫方所提供的媒体参数; origination network表示 主叫方所在网络提供的媒体参数; termination network表示被叫方所在网 络提供的媒体参数; focus network标识会话控制方所在网络提供的媒体 参数。  The belonging may be the end point of the session, the network where the session initiator is located, the network where the message receiver is located, or/and the network where the controller is located, and the specific definition may be endpoint origination networks termination network:, or / and focus network :. The endpoint indicates the media parameter provided by the calling party; the origination network indicates the media parameter provided by the calling party's network; the termination network indicates the media parameter provided by the called party's network; and the focus network identifies the media provided by the session controller's network. parameter.
媒体参数优先级属性的定义为网络所提供媒体参数的优先级别排 序, 举例说明, 规定 0-n之间数字越小优先級越高。 规定的格式可以是: a* =priority: <value=priorit property from 0 to n> Priority是从 0-n的值。参数 0代表该媒体参数属于提供业务所优先 支持的一类媒体参数, 且属于最常用的媒体参数, 参数 0的媒体参数可 以是一个或多个, 是网络实体推荐的媒体参数。 参数 1代表, 除了推荐 的媒体参数以外, 网絡提供的其他媒体参数。 The media parameter priority attribute is defined as the priority order of the media parameters provided by the network. For example, it is specified that the smaller the number between 0 and n, the higher the priority. The specified format can be: a* =priority: <value=priorit property from 0 to n> Priority is a value from 0-n. The parameter 0 indicates that the media parameter belongs to a type of media parameter that is preferentially supported by the service, and belongs to the most commonly used media parameter. The media parameter of parameter 0 may be one or more, and is a media parameter recommended by the network entity. Parameter 1 represents, in addition to the recommended media parameters, other media parameters provided by the network.
值得注意的是, 会话能力信息块的多个媒体参数可以被视为一个组 内的多个媒体参数。 由于在描述媒体参数分组定义的 RFC 3388中, 默 认的组在会话能力信息块中是唯一的, 所以在此基础上进行扩展, 使一 个会话能力信息块中包含多个媒体参数组。  It is worth noting that multiple media parameters of the session capability information block can be considered as multiple media parameters within a group. Since the default group is unique in the session capability information block in RFC 3388 describing the definition of the media parameter grouping, it is extended on the basis of which a plurality of media parameter groups are included in one session capability information block.
当一个会话能力信息块中包含多个媒体参数组时, 媒体参数归属属 性和优先级属性可以以媒体参数组为单元进行定义。可以在 a=group:< > 的下一行就加入媒体参数组归属属性和优先级属性。 如:  When a session capability information block includes multiple media parameter groups, the media parameter attribution attribute and priority attribute may be defined in units of media parameter groups. You can join the media parameter group attribution attribute and priority attribute on the next line of a=group:< >. Such as:
a=group:LS 1 2  a=group:LS 1 2
a=belong:< >  a=belong:< >
a=priority:< >  a=priority:< >
m=audio 30000 RTP/AVP 0  m=audio 30000 RTP/AVP 0
a=mid: 1  a=mid: 1
m=video 30002 RTP/AVP 31  m=video 30002 RTP/AVP 31
a=mid:2  a=mid:2
m=audio 30004 RTP/AVP 0  m=audio 30004 RTP/AVP 0
i=This media stream contains the Spanish translation  i=This media stream contains the Spanish translation
a=mid:3  a=mid:3
主叫方在会话消息的消息体中的媒体归属属性和优先级的使用方 法如下所述。  The method of using the media attribution attribute and priority of the calling party in the message body of the session message is as follows.
主叫方是会话的发起者, 在向其所在的网络发出会话建立请求消息 的会话能力信息块中, 携带了会话发起方的期望的媒体参数, 在媒体参 数中除了正常的媒体参数属性外还包括了媒体参数归属属性( a=belong: endpoint ), 由于会话能力信息块携带的媒体参数只有一个或一组, 所以 不需要携带优先级属性。 The calling party is the initiator of the session, and the session capability information block that sends the session establishment request message to the network in which it is located carries the expected media parameters of the session initiator, and the media parameters are in addition to the normal media parameter attributes. Includes media parameter attribution attributes ( a=belong: Endpoint ), since the session capability information block carries only one or a group of media parameters, it is not required to carry the priority attribute.
网络侧对在会话消息的消息体中的媒体参数归属属性和优先級的 使用方法如下所述。  The method of using the media parameter attribution attribute and priority in the message body of the session message by the network side is as follows.
网络侧添加媒体参数归属属性和优先级属性可以分为三个部分执 行, 即分别在主叫方所在的网络、 控制方所在的网络和被叫方所在的网 络添加。 这三部分网络可以分别添加所在网络支持的媒体参数, 也可以 由某一个网络提供该网络所支持的媒体参数,网络的示意图如图 6所示。  Adding media parameter attribution attribute and priority attribute on the network side can be divided into three parts, namely, the network where the calling party is located, the network where the controlling party is located, and the network where the called party is located. The three parts of the network may separately add media parameters supported by the network, or may provide media parameters supported by the network by a certain network. The schematic diagram of the network is shown in FIG. 6.
主叫方所在的网络收到会话建立请求消息后,按照 IMS规范的正常 流程对会话建立请求消息中的内容进行处理, 此外可以将主叫方所在网 络所支持的业务能力加入到会话建立请求消息中。 这时会话建立请求消 息的会话能力信息块被加入了多个或多组媒体参数, 会话发起方所在网 络需要为多个或多组媒体参数设置媒体参数归属属性和优先級属性。  After receiving the session establishment request message, the network where the calling party is located processes the content in the session establishment request message according to the normal process of the IMS specification, and can also add the service capability supported by the network where the calling party is located to the session establishment request message. in. At this time, the session capability information block of the session establishment request message is added with multiple or more sets of media parameters, and the network where the session initiator is located needs to set the media parameter attribution attribute and the priority attribute for the plurality or groups of media parameters.
这时, 会话能力信息块中包含了主叫方媒体参数, 增加了 a=belong:endpoint和 a=priority:0; 包含了一个或多个主叫方所在网络推 荐 ό々媒体参数 a=belong: origination network和 a=priority:0;包含了一个或 多个主叫方所在网给支持的媒体参数 a=belong:origination network 和 a=priority: 1„  At this time, the session capability information block includes the calling party media parameter, and a=belong:endpoint and a=priority:0 are added; the network recommendation including one or more calling parties is selected, the media parameter a=belong: Origination network and a=priority: 0; contains one or more media parameters supported by the calling party to the supported media parameters a=belong:origination network and a=priority: 1„
主叫方所在网络按照 IMS规范的正常流程处理会话建立请求消息。 业务控制方所在的网絡收到会话建立请求消息后,按照 IMS规范的 正常流程对会话建立请求消息中的内容进行处理, 此外可以将业务控制 方所在网络所支持的业务能力加入到会话建立请求中。 这时会话建立请 求消息的会话能力信息块被加入了多个或多组媒体参数, 控制方所在网 络需要为加入的多个或多组媒体参数设置媒体参数归属属性和优先级 属性。 这时 , 会话能力信息块中包含了一个或多个控制方所在网络推荐的 媒体参数 a=belong: focus network和 a=priority:0; 包含了一个或多个控制 方所在网络支持的媒体参数 a=belong:focus network和 a=priority: 1。需要 说明的是, 在一部分应用场景下比如 PoC业务, 主叫方所在的网络和控 制方所在的网络可以是同一个网络, 即 PoC服务器(Controlling )所在 的网络既是主叫方所在的网络又是控制方所在的网络。 The network where the calling party is located processes the session establishment request message according to the normal flow of the IMS specification. After receiving the session establishment request message, the network where the service controller is located processes the content in the session establishment request message according to the normal process of the IMS specification, and can also add the service capability supported by the network where the service controller is located to the session establishment request. . At this time, the session capability information block of the session establishment request message is added with multiple or more sets of media parameters, and the network where the controller is located needs to set the media parameter attribution attribute and the priority attribute for the added plurality or groups of media parameters. At this time, the session capability information block includes media parameters a=belong: focus network and a=priority:0 recommended by the network where one or more controllers are located; and media parameters supported by the network where one or more controllers are supported =belong:focus network and a=priority: 1. It should be noted that in some application scenarios, such as PoC services, the network where the calling party is located and the network where the controlling party is located may be the same network, that is, the network where the PoC server (Controlling) is located is both the network where the calling party is located and the network where the calling party is located. The network where the controlling party is located.
控制方所在网络按照 IMS规范的正常流程处理会话建立请求消息。 被叫方所在的网络收到会话建立请求后,按照 IMS规范的正常流程 对会话建立请求中的内容进行处理, 此外可以将被叫方所在网络所支持 的业务能力加入到会话建立请求中。这时会话建立请求的 SDP描述被加 入了多个或多组媒体参数, 消息接收方所在网絡需要为多个或多组媒体 参数设置媒体参数归属属性和优先级属性。 由于优先级的判断在 AS上 做出, 而其他网絡实体无法确定当前媒体参数的优先级, 所以可以认为 AS判断的优先级的标准是统一的且不会发生冲突。  The network where the controller is located processes the session establishment request message according to the normal flow of the IMS specification. After receiving the session establishment request, the network where the called party is located processes the content in the session establishment request according to the normal process of the IMS specification, and can also add the service capability supported by the network of the called party to the session establishment request. At this time, the SDP description of the session establishment request is added with multiple or multiple sets of media parameters, and the network where the message receiver is located needs to set the media parameter attribution attribute and the priority attribute for the multiple or multiple sets of media parameters. Since the judgment of the priority is made on the AS, and the other network entities cannot determine the priority of the current media parameter, the criterion for the priority of the AS judgment can be considered to be uniform and no conflict occurs.
这时, 会话能力信息块中包含了一个或多个被叫方所在网络推荐的 媒体参数 a=belong:termination network和 a=priority:0; 包含了一个或多 个被叫方所在网络支持的媒体参数 a=belong:termination network 和 a=priprity: 1。  At this time, the session capability information block includes one or more media parameters recommended by the network where the called party is located a=belong:termination network and a=priority:0; media containing one or more networks supported by the called party The parameters a=belong:termination network and a=priprity: 1.
被叫方所在网络按照 IMS规范的正常流程处理会话建立请求消息。 在呼叫建立请求消息中加入网络侧支持的媒体参数的过程可以是 可选择的, 主叫方所在的网络、 控制方所在的网络和被叫方所在的网络 均可以选择是否加入本网络所支持的媒体参数。 判断是否加入本网络所 支持媒体参数的条件, 可以是业务要 f等。  The network where the called party is located processes the session establishment request message according to the normal flow of the IMS specification. The process of adding the media parameters supported by the network side in the call setup request message may be optional. The network where the calling party is located, the network where the controlling party is located, and the network where the called party is located may select whether to join the network supported by the network. Media parameters. The condition for judging whether to join the media parameters supported by the network may be the service f or the like.
AS对会话建立请求消息中的会话能力信息块的处理过程如下所述。 AS作为 IMS网络中的业务处理网络实体, 可以在 IMS网络中负责 查询 IMS网络所支持的媒体参数,并且在会话建立请求中加入查询的媒 体参数, 这时需要在加入的媒体参数中为这些媒体参数添加媒体参数归 属属性和优先级参数。 The processing procedure of the session capability information block in the session establishment request message by the AS is as follows. The AS acts as a service processing network entity in the IMS network and can be responsible for the IMS network. Query the media parameters supported by the IMS network, and add the media parameters of the query to the session establishment request. In this case, the media parameter attribution attribute and the priority parameter need to be added to the media parameters in the added media parameters.
在 AS查询到 IMS网絡所支持的媒体参数之前, 这些媒体参数保存 在 IMS平台上的网络实体上, 媒体参数在发送到 AS之前不需要携带参 数归属属性和优先级参数。 在 AS获得 IMS网络上支持的媒体参数后, 根据 AS所要提供的业务分别为获得的媒体参数添加媒体参数的优先级 属性。 AS 确定媒体参数优先级属性的方法可以根据会话协商消息的消 息体中的媒体参数属性的描述确定。  Before the AS queries the media parameters supported by the IMS network, the media parameters are stored on the network entity on the IMS platform. The media parameters do not need to carry the parameter attribution attribute and the priority parameter before being sent to the AS. After the AS obtains the media parameters supported by the IMS network, the priority attributes of the media parameters are added to the obtained media parameters according to the services to be provided by the AS. The method of determining the media parameter priority attribute by the AS may be determined according to the description of the media parameter attribute in the message body of the session negotiation message.
SIP 网絡中的实体除了对会话建立请求消息携带的会话能力信息进 行修改以外, 还可以对该请求消息携带的应用程序信息进行编辑或者增 删, 应用程序信息包括铃声、 图片、 消息、 视频、 执行程序等内容。 被 叫方收到该请求消息后可以根据被叫方的设置执行或者删除这些应用 程序信息。  In addition to modifying the session capability information carried in the session establishment request message, the entity in the SIP network may also edit or add or delete the application information carried in the request message, and the application information includes ringtones, pictures, messages, videos, and executable programs. And so on. After receiving the request message, the called party can execute or delete the application information according to the settings of the called party.
图 9为本发明 SIP网络中的网络实体向会话建立请求消息中的消息 体增加铃声和修改铃声的信令流程图,涉及的实体包括:主叫终端 UE1、 被叫终端 UE2、SIP网络中的 UE1所属的 SIP网络中的 S-CSCF # 1、UE2 所属的 SIP网络中的 S-CSCF # 2、 UE1所属 SIP网络中的 AS # 1、 UE2 所属 SIP网络中的 AS # 2, 假设 AS # 1存储 UE1所在 SIP网络中支持 的铃声播放程序 Sound # 1 , AS # 2存储 UE2所在 SIP网络中支持的铃 声播放程序 Sound # 2 , 其具体步骤为:  FIG. 9 is a signaling flowchart of a method for a network entity to add a ringtone and modify a ringtone to a message body in a session establishment request message according to the present invention. The entities involved include: a calling terminal UE1, a called terminal UE2, and a SIP network. S-CSCF #1 in the SIP network to which UE1 belongs, S-CSCF in the SIP network to which UE2 belongs, 2, AS #1 in the SIP network to which UE1 belongs, and AS #2 in the SIP network to which UE2 belongs, assuming AS #1 The ringtone playing program Sound #1, AS #2, which is supported in the SIP network where the UE1 is located, stores the ringtone playing program Sound #2 supported by the SIP network where the UE2 is located, and the specific steps are as follows:
步骤 900、 UE1向 S-CSCF # 1发送会话建立请求消息, 即 INVITE 请求,该请求携带了 UE1的会话能力信息, UE1还可以在该请求消息的 消息体中加入铃声播放程序 Sound。  Step 900: The UE1 sends a session establishment request message, that is, an INVITE request, to the S-CSCF #1, where the request carries the session capability information of the UE1, and the UE1 may also add the ringtone playback program Sound to the message body of the request message.
步骤 901、 S-CSCF # 1根据该 INVITE请求确定本次业务由 AS # 1 进行处理, 将该 INVITE请求转发给 AS # 1。 Step 901: The S-CSCF #1 determines, according to the INVITE request, that the current service is by AS #1. Processing, forwarding the INVITE request to AS #1.
步驟 902、 AS # 1根据运营商的策略决定是否在会话消息的消息体 中增加、 修改或删除 SIP 网络支持的在 AS # 1 上保存的铃声播放程序 Sound。 如果运营商的策略要求 AS # 1加入铃声播放程序 Sound # l , 并 删除原有的铃声播放程序 Sound, AS # 1向 S-CSCF # 1发送携带 Sound # 1的 INVITE请求。  Step 902: AS #1 determines, according to the policy of the operator, whether to add, modify, or delete the ringtone player Sound saved on the AS #1 supported by the SIP network in the message body of the session message. If the operator's policy requires AS #1 to join the ringtone player Sound # l and delete the original ringtone player Sound, AS #1 sends an INVITE request carrying Sound #1 to S-CSCF #1.
步骤 903、 S-CSCF # 1将收到的 INVITE请求发送给 S-CSCF # 2。 步驟 904 ~ 905、 S-CSCF # 2将收到的 INVITE请求发送给 AS # 2 , AS # 2根据运营商的策略可以选择是否增加、 改变或删除会话请求消息 的消息体中的内容, 返回接收到 INVITE请求的响应给 S-CSCF # 2, 这 时会话请求消息的消息体中可以包含 Sound # 1和 /或 Sound # 2。  Step 903: The S-CSCF #1 sends the received INVITE request to the S-CSCF #2. Steps 904 ~ 905, S-CSCF # 2 sends the received INVITE request to AS # 2 , and AS # 2 can select whether to add, change, or delete the content in the message body of the session request message according to the policy of the operator, and return to receive. The response to the INVITE request is given to S-CSCF #2, and the message body of the session request message may include Sound #1 and/or Sound #2.
步骤 906、 S-CSCF # 2将 INVITE请求发送给 UE  Step 906, S-CSCF # 2 sends an INVITE request to the UE.
步骤 907 - 908、接收到 INVITE请求的 UE2根据该请求携带的铃声 播放程序, 除了会话协商外, 还向使用 UE2 的用户播放铃声。 这时, UE2给 S-CSCF # 2返回 200 OK响应并进行会话协商过程的其他操作步 驟。  Steps 907-908: The ringtone playing program carried by the UE2 that receives the INVITE request according to the request, in addition to the session negotiation, plays a ringtone to the user who uses the UE2. At this time, UE2 returns a 200 OK response to S-CSCF #2 and performs other operational steps of the session negotiation process.
在这样一个会话协商过程中, AS # 1和 AS # 2根据运营商的策略修 改了会话建立请求消息的消息体的内容, 可以增加、 修改或删除该请求 消息的消息体中的铃声播放程序 Sound, 除了会话建立请求消息中提供 的会话协商机制外还提供了其他应用程序信息。  In such a session negotiation process, AS #1 and AS #2 modify the content of the message body of the session establishment request message according to the policy of the operator, and may add, modify, or delete the ringtone player Sound in the message body of the request message. In addition to the session negotiation mechanism provided in the session establishment request message, other application information is provided.
向会话建立请求消息的消息体中编辑或增删应用程序信息的网络 实体可以是 S-CSCF、 P-CSCF、 AS、 MRF 中的一个或多个, 并不限于 以上的网络实体。 网络实体编辑或增删应用程序信息的应用程序信息可 以包括铃声、 图片、 消息、 视频、 执行程序内容, 但不限于这些内容。 网络实体编辑或增删应用程序信息的过程可以和会话协商的过程同时 进行, 并不影响业务能力协商的过程。 The network entity that edits or adds or deletes the application information in the message body of the session establishment request message may be one or more of the S-CSCF, the P-CSCF, the AS, and the MRF, and is not limited to the above network entity. The application information of the network entity to edit or add or delete application information may include, but is not limited to, ringtones, pictures, messages, videos, and program content. The process of editing or adding or deleting application information by a network entity can be performed simultaneously with the process of session negotiation. Conducting does not affect the process of business capability negotiation.
图 10为本发明 SIP网络中的网络实体向会话建立请求消息中的消息 体增加支持视频类型的媒体信息的描述的信令流程图, 涉及的网络实体 为: 会话发起方终端 UE1、 会话接入方终端 UE2、 UE1所属 SIP网络中 的 AS # 1以及 UE2所属 SIP网络中的 AS#2, 其具体步骤为:  FIG. 10 is a signaling flowchart of a description of a media entity in a SIP network in a SIP network that adds a video type to a message body in a session establishment request message, and the network entity involved is: a session initiator terminal UE1, a session access The party terminal UE2, the AS #1 in the SIP network to which the UE1 belongs, and the AS#2 in the SIP network to which the UE2 belongs, the specific steps are as follows:
步骤 1000、 UE1向 AS#1发送会话建立请求消息, 由于 UE1只支持 音频,所以在会话请求建立消息中只携带 UE1支持的音频媒体类型的媒 体信息的描述。  Step 1000: UE1 sends a session establishment request message to AS#1. Since UE1 only supports audio, only the description of the media information of the audio media type supported by UE1 is carried in the session request setup message.
步骤 1001 ~ 1003、 AS#1收到会话建立请求消息后, 在该消息中添 加 AS#1支持的视频媒体类型的媒体信息的描述后, 通过 AS#2将会话 建立请求消息发送给 UE2。  Steps 1001 to 1003, after receiving the session establishment request message, AS#1 adds a description of the media information of the video media type supported by AS#1 to the message, and then sends a session establishment request message to UE2 through AS#2.
AS# 1 还可以在会话建立请求消息中给各个媒体信息的描述增加优 先级別和属性信息, 提供给 UE2作为参考。  AS# 1 may also add priority level and attribute information to the description of each media information in the session establishment request message, and provide it to UE2 for reference.
步骤 1004、 UE2收到会话建立请求消息后, 由于 UE2支持音频和 视频, 将选择会话建立请求消息携带的媒体信息的描述中的音频和视频 媒体类型, 作为本次会话建立的结果。  Step 1004: After receiving the session establishment request message, the UE2 selects the audio and video media type in the description of the media information carried in the session establishment request message as the result of the session establishment.
由于 AS#1在会话建立请求消息中给各个媒体信息的描述增加优先 级别和属性信息, 所以首先 UE2可以确定 UE1只支持音频, UE2必须 选择音频媒体类型; 然后 UE2可以确定 AS#2支持视频, UE2选择视频 媒体类型 , AS#2和 AS#1之间可以建立视频通信。  Since AS#1 adds priority level and attribute information to the description of each media information in the session establishment request message, UE2 can first determine that UE1 only supports audio, UE2 must select an audio media type; then UE2 can determine that AS#2 supports video, UE2 selects the video media type, and video communication can be established between AS#2 and AS#1.
如果还有其它支持视频的 AS#1 所属网络管辖的终端加入本次会 话, 就可以通过 AS#2和 AS#1与 UE2进行音频和视频的通信了。  If there are other terminals that are supported by the network to which AS#1 supports video joins this session, audio and video communication can be performed through AS#2 and AS#1 and UE2.
步骤 1005 ~ 1006、 UE2通过 AS#2返回 200 OK消息, 该消息携带 UE2选择的音频和视频媒体类型的媒体信息的描述。  Steps 1005 ~ 1006, UE2 returns a 200 OK message through AS#2, which carries a description of the media information of the audio and video media type selected by UE2.
步驟 1007、 AS#1接收到 200 OK消息后, 确定 UE2选择了音频和 视频媒体类型作为本次会话的媒体类型, AS#1在 AS#1与 UE1之间建 立音频媒体类型的连接, 在 AS#1经 AS#2到 UE2之间建立音频和视频 媒体类型的连接, 向 UE1返回 200 OK消息,该消息携带 UE1支持的音 频媒体类型的媒体信息的描述。 Step 1007: After receiving the 200 OK message, AS#1 determines that UE2 selects audio and The video media type is used as the media type of the session. AS#1 establishes an audio media type connection between AS#1 and UE1, and establishes an audio and video media type connection between AS#1 and UE2 via AS#1. A 200 OK message is returned to UE1, which carries a description of the media information of the audio media type supported by UE1.
在图 10所述的方法中,在 AS#1返回给 UE1的 200 OK消息中也可 以携带或者不携带 UE2 所选择的音频和视频媒体类型的媒体信息的描 述, 当携带时, UE1可以确定本次会话的媒体类型, 如果不携带, 也不 影响 UE1在本次会话中将音频作为媒体类型进行使用。  In the method of FIG. 10, the description of the media information of the audio and video media type selected by the UE2 may or may not be carried in the 200 OK message returned by the AS1 to the UE1. When carrying, the UE1 may determine the present. The media type of the secondary session, if not carried, does not affect UE1's use of audio as a media type in this session.
为了实现对会话能力信息的操作, 本发明实施例还增加了会话能力 信息操作的系统,如图 11所示,在 SIP网络中的终端通过本发明设置的 一个或一个以上的网络实体连接。  In order to implement the operation of the session capability information, the embodiment of the present invention further adds a system for session capability information operation. As shown in FIG. 11, the terminals in the SIP network are connected by one or more network entities set by the present invention.
在 SIP网络中的终端可以为接收方或发送方。  A terminal in a SIP network can be a receiver or a sender.
图 12 为本发明设置的网络实体的结构示意图, 该网络实体包括: 依次连接的接收模块 120、 策略获取模块 121和处理模块 122, 分别与 处理模块 122相连接的响应模块 123和转发模块 124; 其中, 接收模块 120、 响应模块 123和转发模块 124还与 SIP网络中的各个终端相连接。  12 is a schematic structural diagram of a network entity provided by the present invention. The network entity includes: a receiving module 120, a policy obtaining module 121, and a processing module 122, which are sequentially connected, and a response module 123 and a forwarding module 124 respectively connected to the processing module 122; The receiving module 120, the response module 123, and the forwarding module 124 are also connected to respective terminals in the SIP network.
终端, 即会话消息的发送方将会话消息发送给接收模块 120, 策略 获取模块 121获取到处理会话消息的策略后, 将接收模块 120接收到的 会话消息透传到处理模块 122并且将处理会话消息的策略发送给处理模 块 122, 处理模块 122采用处理会话消息的策略对会话消息处理后, 生 成会话建立请求消息发送给转发模块 124, 或者生成会话建立响应消息 发送给响应模块 123 , 转发模块 124将会话建立请求消息发送终端, 响 应模块 123将会话建立响应消息发送给对应的终端, 即会话消息的接收 方。  The terminal, that is, the sender of the session message, sends the session message to the receiving module 120. After obtaining the policy for processing the session message, the policy obtaining module 121 transparently transmits the session message received by the receiving module 120 to the processing module 122 and processes the session message. The policy is sent to the processing module 122. After the processing module 122 processes the session message by using the policy of processing the session message, the generated session establishment request message is sent to the forwarding module 124, or the session establishment response message is sent to the response module 123, and the forwarding module 124 The session establishment request message is sent to the terminal, and the response module 123 sends a session establishment response message to the corresponding terminal, that is, the receiver of the session message.
本发明实施例的网络实体还包括 Capability Provide Function与策略 获取模块相连接, 用于存储处理会话消息的策略, 并将所存储的处理会 话消息的策略发送给策略获取模块。 该 Capability Provide Function还可 以不位于网络实体中, 而独立存在。 The network entity in the embodiment of the present invention further includes a Capability Provide Function and a policy. The obtaining module is connected, configured to store a policy for processing the session message, and send the stored policy for processing the session message to the policy acquiring module. The Capability Provide Function can also exist independently of the network entity.
以上所述的具体实施例, 对本发明的目的、 技术方案和有益效果进 行了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施 例而已, 并不用于限制本发明, 凡在本发明的精神和原则之内, 所做的 任何修改、 等同替换和改进等, 均应包含在本发明的保护范围之内。  The above described specific embodiments of the present invention are described in detail, and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权利要求书 Claim
1、 一种进行会话能力信息操作的方法, 其特征在于, 该方法包括: 会话发起协议 SIP网络中的网络实体接收到携带会话能力信息的会 话消息后, 对会话消息所携带的会话能力信息进行操作。 A method for performing session capability information operation, the method comprising: a session initiation protocol, a network entity in a SIP network, after receiving a session message carrying session capability information, performing session capability information carried by the session message operating.
2、 如权利要求 1所述的方法, 其特征在于, 所述的会话消息为会话 建立请求消息、 会话建立响应消息、 会话建立协商消息、 会话建立协商 确认消息、 会话更新消息或者会话更新确认消息。  2. The method according to claim 1, wherein the session message is a session establishment request message, a session establishment response message, a session establishment negotiation message, a session establishment negotiation confirmation message, a session update message, or a session update confirmation message. .
3、 如权利要求 2所述的方法, 其特征在于, 所述的会话建立请求消 息为 INVITE消息或者 REFER消息;所述的会话建立响应消息为 200 OK 消息; 所述的会话建立协商消息为 183消息; 所述的会话建立协商确认 消息为 PRACK 消息; 所述的会话更新消息为 UPDATE 消息或者 REINVITE消息; 所述的会话更新确认消息为 200 OK消息。  The method according to claim 2, wherein the session establishment request message is an INVITE message or a REFER message; the session establishment response message is a 200 OK message; and the session establishment negotiation message is 183. The session establishment negotiation confirmation message is a PRACK message; the session update message is an UPDATE message or a REINVITE message; and the session update confirmation message is a 200 OK message.
4、如权利要求 1所述的方法, 其特征在于, 所述会话能力信息为会 话描述协议 SDP、 应用程序、 或者位置信息或者呈现 presence信息; 其中, SDP包括会话信息、 会话发起方联系信息、 时间信息、 连接 信息、 编解码类型、 带宽信息、 封装密码、 传输协议会话属性的描述、 编码速率、 媒体流的速率、 分组包间隔时间、 写字板及其大小和方向、 多方会话类型、 字体设置、媒体描述语言、 编码质量或 /和格式设置参数 媒体属性的描述; 应用程序包括文本、 铃声、 视频媒体、 音频媒体、 动 画或 /和执行程序。  The method according to claim 1, wherein the session capability information is a session description protocol SDP, an application, or location information, or presentation presence information; wherein the SDP includes session information, session initiator contact information, Time information, connection information, codec type, bandwidth information, encapsulation password, description of transport protocol session attributes, encoding rate, rate of media stream, packet interval, tablet and its size and orientation, multiparty session type, font settings Description of the media properties of the media description language, encoding quality or/and formatting parameters; applications include text, ringtones, video media, audio media, animation or/and executive programs.
5、 如权利要求 4所述的方法, 其特征在于, 所述对会话消息所携带 的会话能力信息进行操作的过程为:  The method according to claim 4, wherein the process of operating the session capability information carried by the session message is:
网络实体对会话消息所携带的会话能力信息中的各个不同部分信息 进行修改、 增加、 或 /和删除操作。 The network entity modifies, adds, or/and deletes different pieces of information in the session capability information carried by the session message.
6、如权利要求 5所述的方法,其特征在于,所述的增加操作过程为: 网络实体将 SIP网络支持的会话能力信息或 /和配置信息增加到会话 消息中。 The method of claim 5, wherein the adding operation is: the network entity adds session capability information and/or configuration information supported by the SIP network to the session message.
7、 如权利要求 6所述的方法, 其特征在于, 所述 SIP网络支持的会 话能力信息或 /和配置信息的获取过程为: 在能力提供功能 Capability Provide Function中存储会话能力信息或 /和配置信息,网络实体通过查询 Capability Provide Function获取到会话能力信息或 /和配置信息。  The method according to claim 6, wherein the process of acquiring session capability information and/or configuration information supported by the SIP network is: storing session capability information or/and configuration in a capability providing function Capability Provide Function Information, the network entity obtains session capability information or/and configuration information by querying the Capability Provide Function.
8、 如权利要求 6所述的方法, 其特征在于, 所述 SIP网络支持的会 话能力信息或 /和配置信息的获取过程为:  8. The method according to claim 6, wherein the process of acquiring session capability information and/or configuration information supported by the SIP network is:
网络实体预先存储 SIP网络支持的会话能力信息或 /和配置信息, 网 络实体直接获取到 SIP网络支持的会话能力信息和 /或配置信息。  The network entity pre-stores session capability information and/or configuration information supported by the SIP network, and the network entity directly obtains session capability information and/or configuration information supported by the SIP network.
9、 如权利要求 1所述的方法, 其特征在于, 所述对会话消息所携带 的会话能力信息进行操作的过程为:  The method according to claim 1, wherein the process of operating the session capability information carried by the session message is:
网络实体对会话消息所携带的会话能力信息的属性信息中的各个不 同部分信息进行修改、 增加、 或 /和删除操作。  The network entity modifies, adds, or/and deletes different pieces of information in the attribute information of the session capability information carried by the session message.
10、 如权利要求 1所述的方法, 其特征在于, 在所述对会话消息所 携带的会话能力信息进行操作之前 , 还包括判断步骤:  The method according to claim 1, wherein before the operating the session capability information carried by the session message, the determining step is further included:
判断网络实体是否对会话消息所携带的会话能力信息进行操作, 如 果是, 执行对会话消息所携带的会话能力信息进行操作的步骤; 否则, 结束本流程。  Determining whether the network entity operates the session capability information carried by the session message, and if yes, performing the step of operating the session capability information carried by the session message; otherwise, ending the process.
11、 如权利要求 10所述的方法, 其特征在于, 所述判断网络实体是 否对会话消息所携带的会话能力信息进行操作是根据网络实体的能力、 或 /和网络实体的会话能力信息、 或 /和配置信息进行判断的, 该网络实 体的会话能力信息是获取的或预先存储的。  The method according to claim 10, wherein the determining whether the network entity operates the session capability information carried by the session message is based on a capability of the network entity, or/and a session capability information of the network entity, or / and the configuration information is judged, the session capability information of the network entity is acquired or pre-stored.
12、 如权利要求 1所述的方法, 其特征在于, 当会话消息为会话建 立请求消息、 会话建立协商消息或会话更新消息时, 所述对会话消息所 携带的会话能力信息进行操作的过程为: 12. The method of claim 1 wherein: when the session message is session established When the request message, the session establishment negotiation message, or the session update message is set, the process of operating the session capability information carried by the session message is:
网络实体确认会话消息携带的会话能力信息和会话能力信息中的属 性信息, 确认携带的会话能力信息是 SIP网络支持的;  The network entity confirms the session capability information and the session capability information carried in the session message, and confirms that the carried session capability information is supported by the SIP network;
网絡实体从自身或其他网络实体获取存储的会话能力信息或 /和配 置信息,根据获取到的会话能力信息或 /和配置信息, 对会话消息携带的 会话能力信息和会话能力信息中的属性进行添加、 删除或 /和修改操作。  The network entity obtains the stored session capability information and/or configuration information from itself or other network entities, and adds the session capability information and the session capability information carried in the session message according to the obtained session capability information and/or configuration information. , delete or / and modify the operation.
13、 如权利要求 1所述的方法, 其特征在于, 当会话消息为会话建 立响应消息、 会话建立确认消息或会话更新确认消息时, 所述对会话消 息所携带的会话能力信息进行操作的过程为:  The method according to claim 1, wherein when the session message is a session establishment response message, a session establishment confirmation message, or a session update confirmation message, the process of operating the session capability information carried by the session message is performed. For:
网络实体确认会话消息携带的业务支持能力信息和业务支持能力信 息中的属性信息, 识别被叫方所选择的会话能力信息以及所选择的会话 能力信息中的属性信息;  The network entity confirms the service support capability information carried in the session message and the attribute information in the service support capability information, and identifies the session capability information selected by the called party and the attribute information in the selected session capability information;
网络实体根据预设策略或 /和网络的能力,确认被叫方所选择的会话 能力信息以及所选择的会话能力信息中的属性信息是有效选择, 修改或 /和删除被叫方所选择的不是有效选择的会话能力信息和会话能力信息 中的属性信息。  The network entity confirms that the session capability information selected by the called party and the attribute information in the selected session capability information are valid selections according to the preset policy or/and the capability of the network, and modify or/and delete the selected content of the called party. Effectively selected session capability information and attribute information in session capability information.
14、 如权利要求 6、 7、 8、 11或 12所述的方法, 其特征在于, 所述 的会话能力信息或 /和配置信息包括媒体类型、 传输协议、 媒体的格式、 媒体的传输地址、 端口号、 或 /和属性信息。  The method according to claim 6, 7, 8, 11, or 12, wherein the session capability information and/or configuration information includes a media type, a transport protocol, a format of the media, a transport address of the media, Port number, or / and attribute information.
15、 如权利要求 1所述的方法, 其特征在于, 所述对会话消息所携 带的会话能力信息进行操作后, 该会话消息包括一个或一个以上的会话 能力信息块。  The method according to claim 1, wherein after the session capability information carried by the session message is operated, the session message includes one or more session capability information blocks.
16、 如权利要求 15所述的方法, 其特征在于, 所述的会话能力信息 块由属性信息归纳, 会话能力信息块由其所属的属性信息被网络实体识 别。 The method according to claim 15, wherein the session capability information block is summarized by attribute information, and the session capability information block is recognized by the network entity by attribute information to which the session capability information block belongs. do not.
17、 如权利要求 15所述的方法, 其特征在于, 所述的会话能力信息 块通过编号、 会话能力信息开始标志信息、 业务能力结束标志信息、 或 /和长度信息进行区分。  The method according to claim 15, wherein the session capability information block is distinguished by a number, session capability information start flag information, service capability end flag information, or/and length information.
18、 如权利要求 9、 12、 13或 16所述的方法, 其特征在于, 所述的 属性信息包括: 运营商信息、 网络实体类型信息、 进行^^改的网络实体 标识、 会话能力信息操作类型、 会话能力信息操作标志、 操作后的会话 能力信息的重要性、 或 /和优先级信息。  The method according to claim 9, 12, 13 or 16, wherein the attribute information comprises: operator information, network entity type information, network entity identity for performing the change, and session capability information operation. Type, session capability information operation flag, importance of session capability information after operation, or/and priority information.
19、 如权利要求 9、 12、 13或 16所述的方法, 其特征在于, 所述的 属性信息携带在采用会话描述协议 SDP的会话消息中,或者携带在采用 SIP的会话消息的消息头或消息体中。  The method according to claim 9, 12, 13 or 16, wherein the attribute information is carried in a session message using a session description protocol SDP, or carried in a message header of a session message using SIP or In the body of the message.
20、 如权利要求 9、 12、 13或 16所述的方法, 其特征在于, 所述的 属性信息标识会话能力信息块的网络实体信息、或 /和标识会话能力信息 块的优先信息。  The method according to claim 9, 12, 13 or 16, wherein the attribute information identifies network entity information of the session capability information block, or/and priority information identifying the session capability information block.
21、 如权利要求 15所述的方法, 其特征在于, 所述的会话消息为采 用 SDP的会话消息,所述的会话消息携带的会话能力信息采用描述媒体 信息语言 XML、 或脚本语言 SCRIPT描述。  The method according to claim 15, wherein the session message is a session message using an SDP, and the session capability information carried by the session message is described by using a description medium information language XML or a script language SCRIPT.
22、 如权利要求 1所述的方法, 其特征在于, 所述网络实体为应用 服务器 AS、或者呼叫控制功能 CSCF、或者媒体资源功能 MRF或者 SIP 服务器;  The method according to claim 1, wherein the network entity is an application server AS, or a call control function CSCF, or a media resource function MRF or a SIP server;
其中 AS为控制按键即说 PoC业务功能 PoC Server ( Controlling )、 参与控制 PoC 业务功能 PoC Server ( Participating ), 多方通话服务器 Conference Server > 业务能力交互管理器 Service Capability Interaction Manager(SCIM) 或者呈现业务服务器 Presence Server, 或者互通网关 IWF; CSCF为代理呼叫控制功能 P-CSCF、 服务呼叫控制功能 S-CSCF、 或者查询呼叫控制功能 I-CSCF; SIP服务器为呼叫控制功能 CSCF或者 呼出边界网关控制功能 BGCF或者 SIP协议的应用层网关 SIP-ALG; MR 为媒体资源控制 MRFC或者媒体资源处理 MRFP。 The AS is a control button, that is, a PoC service function PoC Server (Controlling), a PoC service (Postation), a Multi-party conference server, a Service Capability Interaction Manager (SCIM), or a presence service server Presence. Server, or interworking gateway IWF; CSCF is proxy call control function P-CSCF, service call control function S-CSCF, Or query the call control function I-CSCF; the SIP server is the call control function CSCF or the outgoing border gateway control function BGCF or the application layer gateway SIP-ALG of the SIP protocol; the MR is the media resource control MRFC or the media resource processing MRFP.
23、 如权利要求 1所述的方法, 其特征在于, 所述的 SIP网络包括 主叫方和被叫方所属的 SIP网络;  The method according to claim 1, wherein the SIP network comprises a SIP network to which the calling party and the called party belong;
或者所述的 SIP网络包括主叫方所属的 SIP网絡和被叫方所属的 SIP 网络; 或者所述的 SIP网络包括主叫方所属的 SIP网络、 被叫方所属的 SIP网络、 以及主叫方所属的 SIP网络和被叫方所属的 SIP网络中间穿 越的一个或一个以上的 SIP网络。  Or the SIP network includes a SIP network to which the calling party belongs and a SIP network to which the called party belongs; or the SIP network includes a SIP network to which the calling party belongs, a SIP network to which the called party belongs, and a calling party. One or more SIP networks traversed by the associated SIP network and the SIP network to which the called party belongs.
24、 一种会话能力信息操作的网络实体, 其特征在于, 该网络实体 包括: 依次连接的接收模块、 策略获取模块和处理模块, 分别与处理模 块相连接的响应模块和转发模块; 其中, 接收模块、 响应模块和转发模 块还与 SIP网络中的各个终端相连接;  A network entity that operates with session capability information, wherein the network entity comprises: a receiving module, a policy acquiring module, and a processing module that are sequentially connected, and a response module and a forwarding module respectively connected to the processing module; wherein, receiving The module, the response module, and the forwarding module are also connected to each terminal in the SIP network;
主叫方将会话消息发送给接收模块, 策略获取模块获取到处理会话 消息的策略后, 将接收模块接收到的会话消息透传到处理模块并且将处 理会话消息的策略发送给处理模块, 处理模块采用处理会话消息的策略 对会话消息处理后, 生成会话建立请求消息发送给转发模块, 或者生成 会话建立响应消息发送给响应模块, 转发模块将会话建立请求消息发送 被叫方, 响应模块将会话建立响应消息发送给被叫方。  The calling party sends the session message to the receiving module, and after obtaining the policy for processing the session message, the policy obtaining module transparently transmits the session message received by the receiving module to the processing module and sends the policy for processing the session message to the processing module, and the processing module After the session message is processed by the policy for processing the session message, the session establishment request message is sent to the forwarding module, or the session establishment response message is sent to the response module, and the forwarding module sends the session establishment request message to the called party, and the response module establishes the session. A response message is sent to the called party.
25、 如权利要求 24 所述的网络实体, 其特征在于, 该网络实体还 包括 Capability provide Function , 与网络实体中的策略获取模块相连接, 用于给网络实体中的策略获取模块提供自身所保存的处理会话消息的  The network entity according to claim 24, wherein the network entity further comprises a Capability provide Function, which is connected to the policy acquisition module in the network entity, and is configured to provide the policy acquisition module in the network entity with its own saved Processing session messages
26、 如权利要求 24所述的网络实体, 其特征在于, 所述网络实体 为 AS、 CSCF、 MRF、 SIP服务器; 其中 AS为 PoC Server ( Controlling )、 PoC Server ( Participating )、 Conference Server、 Service Capability Interaction Manager(SCIM),或者互 通网关 IWF、 或者 Presence Server; CSCF为 P-CSCF、 S-CSCF、 或者 I-CSCF; SIP服务器为 BGCF或者 SIP-ALG; MRP为 MRFC或者 MRFP。 The network entity according to claim 24, wherein the network entity is an AS, a CSCF, an MRF, and a SIP server; The AS is a PoC Server (Controlling), a PoC Server (Parting), a Conference Server, a Service Capability Interaction Manager (SCIM), or an Interworking Gateway IWF, or a Presence Server; the CSCF is a P-CSCF, an S-CSCF, or an I-CSCF; The SIP server is BGCF or SIP-ALG; MRP is MRFC or MRFP.
27、 如权利要求 24所述的网络实体, 其特征在于, 所述的 SIP网络 包括主叫终端和被叫终端所属的 SIP网絡;  The network entity according to claim 24, wherein the SIP network comprises a calling terminal and a SIP network to which the called terminal belongs;
或者所述的 SIP网络包括主叫终端所属的 SIP网络和被叫终端所属 的 SIP网给;  Or the SIP network includes a SIP network to which the calling terminal belongs and a SIP network to which the called terminal belongs;
或者所述的 SIP网络包括主叫终端所属的 SIP网络、 被叫终端所属 的 SIP网络、 以及主叫终端所属的 SIP网络和被叫终端所属的 SIP网络 中间穿越的一个或一个以上的 SIP网络。  Or the SIP network includes a SIP network to which the calling terminal belongs, a SIP network to which the called terminal belongs, and one or more SIP networks traversed by the SIP network to which the calling terminal belongs and the SIP network to which the called terminal belongs.
PCT/CN2006/003395 2005-12-13 2006-12-13 A method and network entity for operating the session capability information WO2007068206A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200510134644.0A CN100550908C (en) 2005-12-13 2005-12-13 A kind of session ability information method of operating and network entity of carrying out
CN200510134644.0 2005-12-13

Publications (1)

Publication Number Publication Date
WO2007068206A1 true WO2007068206A1 (en) 2007-06-21

Family

ID=38162567

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/003395 WO2007068206A1 (en) 2005-12-13 2006-12-13 A method and network entity for operating the session capability information

Country Status (2)

Country Link
CN (1) CN100550908C (en)
WO (1) WO2007068206A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970751A (en) * 2012-11-21 2013-03-13 华为技术有限公司 Method, device and system for completing service consultation under LTE (Long Term Evolution) network

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340613B (en) * 2007-07-05 2012-12-12 华为技术有限公司 Method, apparatus and system implementing user terminal communication
CA2706335C (en) * 2007-11-29 2017-06-20 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatuses for end-to-edge media protection in an ims system
WO2009088333A1 (en) * 2008-01-11 2009-07-16 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for establishing a streamed media session
CN102843336A (en) * 2011-06-20 2012-12-26 中兴通讯股份有限公司 Method and system for accessing IMS (IP Multimedia Subsystem) multimedia conference
CN104093028B (en) * 2014-06-25 2019-02-01 中兴通讯股份有限公司 A kind of method and apparatus that capacity of equipment is negotiated
CN104580166B (en) * 2014-12-19 2018-08-31 大唐移动通信设备有限公司 A kind of method and apparatus based on the conversion of CSCF media coding formats
CN108076452A (en) * 2016-11-18 2018-05-25 大唐移动通信设备有限公司 A kind of methods, devices and systems for notifying professional ability
CN113766435B (en) * 2020-06-05 2023-04-07 成都鼎桥通信技术有限公司 Method, device and storage medium for establishing communication group
CN117729187A (en) * 2024-02-06 2024-03-19 中兴通讯股份有限公司 Communication method, apparatus, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421008A (en) * 1999-11-08 2003-05-28 Mci全球通讯公司 SIP-based feature control
CN1627746A (en) * 2003-12-11 2005-06-15 华为技术有限公司 Method for realizing multimedia preperence operation
CN1645812A (en) * 2004-07-30 2005-07-27 华为技术有限公司 Method for noticing terminal ability variation to network
KR20050087938A (en) * 2004-02-27 2005-09-01 엘지전자 주식회사 Network connection system and method based on session initiation protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421008A (en) * 1999-11-08 2003-05-28 Mci全球通讯公司 SIP-based feature control
CN1627746A (en) * 2003-12-11 2005-06-15 华为技术有限公司 Method for realizing multimedia preperence operation
KR20050087938A (en) * 2004-02-27 2005-09-01 엘지전자 주식회사 Network connection system and method based on session initiation protocol
CN1645812A (en) * 2004-07-30 2005-07-27 华为技术有限公司 Method for noticing terminal ability variation to network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970751A (en) * 2012-11-21 2013-03-13 华为技术有限公司 Method, device and system for completing service consultation under LTE (Long Term Evolution) network

Also Published As

Publication number Publication date
CN1984135A (en) 2007-06-20
CN100550908C (en) 2009-10-14

Similar Documents

Publication Publication Date Title
US8401005B2 (en) Session initiation protocol message content processing method and network
KR101245915B1 (en) Method and apparatus for identifying an ims service
WO2007068206A1 (en) A method and network entity for operating the session capability information
CN100362807C (en) Method for realizing user registration in internet protocol multimedia subsystem
US8135845B2 (en) Terminal unit for handling session on the basis of session initiation protocol, method of transmitting and receiving thereof
EP1619854A1 (en) SIP message extension for push to watch service
US20060256748A1 (en) System and method for interworking between IMS network and H.323 network
WO2013044717A1 (en) Method and system for telecommunication network to provide session service to internet
WO2005120003A1 (en) Communications method and apparatus, database information retrieval method and apparatus
KR20110050439A (en) Method and system for selective call forwarding based on media attributes in telecommunication network
WO2009024081A1 (en) A method, device and system for processing the continuity of the media stream in a session
KR20070104197A (en) Method for transmitting information in wireless communication system and terminal supporting the method
CA2605475A1 (en) Session initiation from application servers in an ip multimedia subsystem
EP2034688A1 (en) Method and device for transmitting request message in multimedia system
CN1984132B (en) Method and terminal for processing session ability information
WO2007095855A1 (en) A method and network entity for negotiating media type parameter
WO2008011790A1 (en) Method, system and network apparatus for setting up session
AU2005263756A1 (en) Push to watch network element and software architecture
WO2009089797A1 (en) Method for implementing color ringback tone and/or multimedia ringback tone service and producing early-media sdp request
Sánchez-Esguevillas et al. IMS: The new generation of internet-protocol-based multimedia services
WO2008080297A1 (en) A method, equipment and system for relating the session
Shibeshi et al. Using an RTSP Proxy to implement the IPTV Media Function via a streaming server
Wisely SIP and conversational Internet applications
RU2389148C2 (en) Method and device for identifying ims service
EP1672867A1 (en) Method to the fast and reliable transfer of large amount of data between mobile radio users involved in a SIP session

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06828313

Country of ref document: EP

Kind code of ref document: A1