WO2009117916A1 - Method and device for enabling customized alerting tones service - Google Patents

Method and device for enabling customized alerting tones service Download PDF

Info

Publication number
WO2009117916A1
WO2009117916A1 PCT/CN2009/070700 CN2009070700W WO2009117916A1 WO 2009117916 A1 WO2009117916 A1 WO 2009117916A1 CN 2009070700 W CN2009070700 W CN 2009070700W WO 2009117916 A1 WO2009117916 A1 WO 2009117916A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
cat
calling
network node
back tone
Prior art date
Application number
PCT/CN2009/070700
Other languages
French (fr)
Chinese (zh)
Inventor
张颖
徐培利
王鹏
杨莉莉
张玉侠
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2009117916A1 publication Critical patent/WO2009117916A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42017Customized ring-back tones
    • 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 the field of network communication technologies, and specifically relates to a method for implementing a customized ring back tone service and an apparatus for implementing a customized ring back tone service.
  • CAT Customized Alerting Tones
  • PSTN Public Switched Telephone Network
  • GSM Global System for Mobile Communiactions
  • the User Agent Server implements early media negotiation with the User Agent Client (UAC) through a reliable temporary response mechanism, update (UPDATE) request, and implements early media services.
  • UAC User Agent Client
  • UPDATE User Agent Client
  • SDP Offer early media and normal The Session Description Protocol Request
  • the Application Server pattern carries the Early Session Session Description Protocol (SDP) by extending a new Content Disposition type early session, enabling UAC and UAS uses this type of Content Disposition to implement early media negotiation and implement early media services.
  • SDP of the early media stream and the SDP of the normal session are completely independent.
  • the calling party can now subscribe to the CAT service, so that when the calling party dials the called party, the calling party can experience the CAT service subscribed to by the calling party.
  • the calling party will receive two ringback tones that are mixed together; for example, if the calling party, the called party, and the third party of the call forwarding subscribe to the CAT service, the calling party will receive Go to three ringback tones that are mixed together. Therefore, the existing CAT service implementation process will result in poor user experience with CAT services.
  • the embodiment of the present invention provides a method and an apparatus for implementing a customized ring back tone service.
  • a multi-party subscribes to a CAT service
  • the problem that the calling party receives multiple mixed ring back tones can be avoided, and the customized ring back tone service is improved.
  • the flexibility of implementation increases the user experience with the CAT service.
  • a method for implementing a customized ring back tone service includes: during a call, a network node having a customized ring back tone service control function on a first CAT service side is provided from a first CAT service side of the call Selecting a customized ring back tone service from the first CAT service and the second CAT service provided by the second CAT service side;
  • the network node provides the selected customized ring back tone service to the calling user, and prohibits the calling user from providing the customized ring back tone service that is not selected.
  • the device for implementing the customized ring back tone service includes: a selecting module, configured to select a custom back with a high priority from at least two customized ring back tone services of the call during a call Ring tone service;
  • an execution module configured to trigger, according to the selection result of the selection module, the operation of allowing the selected user to play the selected customized ring back tone service, and prohibiting the calling user from playing the unselected customized ring back tone service.
  • the high priority mobile ring back tone service is selected, and the selected ring back tone service is allowed, and the unselected customized ring back tone is prohibited.
  • the voice service can avoid the problem that the calling party receives multiple mixed ring back tones when the multi-party subscribes to the CAT service, improves the flexibility of the customized ring back tone service, and improves the user experience of the CAT service. .
  • FIG. 1 is a schematic diagram 1 of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram 2 of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of implementing a customized ring back tone service according to an embodiment of the present invention
  • Process diagram three is a schematic diagram 4 of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram 5 of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram 6 of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram 7 of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram 8 of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram IX of a process for implementing a customized ring back tone service according to an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 11 is a schematic flowchart of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 12 is a customized ring back tone service according to an embodiment of the present invention
  • FIG. 13 is a schematic diagram of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 14 is a schematic flowchart of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. Schematic diagram of a customized ring back tone service implementation device
  • FIG. 16 is a schematic flowchart of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 17 is a schematic flowchart of a process for implementing a customized ring back tone service according to an embodiment of the present invention
  • FIG. 18 is a customized ring back tone according to an embodiment of the present invention
  • the network node with the CAT service control function located on the calling side can select a custom back with high priority from at least two customized ring back tone services of the call. After the ring tone service is provided, only the customized ring back tone service selected by the calling user is provided, and the unselected customized ring back tone service is not provided to the calling user, which can effectively prevent the calling user from receiving the mixed mix.
  • the phenomenon of ringback tone the network node having the CAT service control function, such as a network device having a calling CAT service function control module in the IMS domain, or a network device having a calling CAT service function control module in the CS domain.
  • a network device having a calling CAT service function control module in the IMS domain such as a custom ring back tone application server (CAT AS).
  • a network device having a calling CAT service function control module in the CS domain such as a mobile switching center (MSC).
  • At least two custom ring back tone services herein may include: a caller custom ring back tone Any two or three of the service, the called customized ring back tone service, and the call transfer third party customized ring back tone service.
  • the network node with the CAT service control function located on the called side can select a high priority from at least two customized ring back tone services of the call. Customizing the ring back tone service, after which only the selected ring back tone service is selected for the calling user, and the unselected customized ring back tone service is not provided to the calling user, so that the calling user can be prevented from receiving the mixed ring tone service.
  • the network node having the CAT service control function such as a network device (such as a CAT AS) having a called CAT service function control module in the IMS domain, or a network device (such as an MSC) having a calling CAT service function control module in the CS domain. ) Wait.
  • the at least two customized ring back tone services herein may include: a called customized ring back tone service and a call transfer third party customized ring back tone service.
  • the above-mentioned only customized ring back tone service is provided to the calling user, and the unselected customized ring back tone service is not provided to the calling user by the triggering operation performed by the network node.
  • the triggering operations performed by the network node can take many forms. For example, when the priority of the user's customized ringback tone service is high, the peer network node is notified that the customized ringback tone service is not provided, and the network node performs the operation of providing the user's customized ringback tone service.
  • the operation of the user to customize the ring back tone service may be performed by using an existing operation.
  • the peer network node When the priority of the user's customized ring back tone service is high, the peer network node is notified to provide a customized ring back tone service, and the network node does not perform the provisioning service.
  • the side user customizes the operation of the ring back tone service. For example, when the priority of the user's customized ringback tone service is high, the media resource function module is instructed to discard the media stream of the received user's customized ringback tone service, and the network node performs the provision of the user's customized ringback.
  • the media resource function module is allowed to normally transmit the media stream of the received user's customized ring back tone service, and the network node does not perform the provisioning of the service.
  • the side user customizes the operation of the ring back tone service.
  • the media gateway control function entity is instructed not to perform the media gating operation for opening the customized ringback tone service media stream for the opposite user, and the network node performs the provisioning.
  • the user customizes the operation of the ring back tone service; the user customizes the ring back tone service at the opposite side.
  • the media gateway control function entity When the first level is high, the media gateway control function entity is instructed to perform the media gating operation for opening the customized ring back tone service media stream for the opposite user, and the network node does not perform the operation of providing the local user customized ring back tone service, and the like.
  • FIG. 16 is a flowchart of a method for implementing a customized ring back tone service provided by the present invention.
  • the second CAT service side may be the network where the called party is located or the network where the called party is forwarded; when the first CAT service side is the called party In the network, the second CAT service side may be the network where the user after the call is forwarded.
  • Step 1 The first CAT service side receives a session request message, and the session request message may be an INVITE request;
  • Step 2 The first CAT service side selects the first CAT service or the second CAT service, and the selection method may be one or a combination of the following descriptions:
  • the local policy can be a policy set by the operator according to needs.
  • the foregoing selection may be performed after receiving the session request, or may be performed after receiving the response message of the session request fed back by the second CAT service side;
  • the following one method or a combination of multiple methods may be selected to provide the first CAT service to the calling terminal:
  • Method 1 Sending CAT service indication information to the second CAT service side, where the CAT service indication information is used to notify the second CAT service side that the CAT service is not provided, or is used to notify the second CAT service side of the first CAT service.
  • Method 3 Discard the CAT media stream sent by the second CAT service side, as shown in step 3c.
  • the first CAT service side selects the first CAT service
  • the first CAT service side may select the foregoing method according to the received capability information carried in the session request message, for example:
  • the first CAT service side may select the method 1) or the method 3) ;
  • the Supported header field in the session request carries the Early Session parameter, and the first CAT service side may select the method 2);
  • the first CAT service side may select the method 2), and the first CAT service side adds the capability information representation in the session request sent to the second CAT service side.
  • Supporting the Early Session for example: carrying the Early Session parameter in the Supported header field in the session request, the first CAT service side rejects the CAT service request of the second CAT service side by the method 2), and passes the gateway mode to The calling terminal provides the first CAT service.
  • the first CAT service side selects the second CAT service
  • the following one method or a combination of multiple methods may be selected to provide the second CAT service to the calling terminal:
  • the CAT service indication information is not sent to the second CAT service side, or the CAT service indication information is sent to the second CAT service side, where the CAT service indication information is used to notify the second CAT service side to provide the CAT service, or Notifying that the first CAT service side of the second CAT service side does not provide the CAT service;
  • the CAT service indication information may be The second CAT service side may not trigger the second CAT service according to the CAT service indication information, for example, the second CAT service side may be carried by the other CAT service, such as the UPDATE request message or the PRACK request message.
  • the S-CSCF in the CAT service side does not trigger the CAT application server on the second CAT service side according to the CAT service indication information, or the S-CSCF in the second CAT service side triggers the CAT application server on the second CAT service side.
  • the CAT application server on the second CAT service side does not trigger the CAT service according to the CAT service indication information.
  • Figure 17 depicts the specific implementation flow of the method 2).
  • Step 1701 The first CAT service side forwards the session request message to the second CAT service side.
  • the SDP offer of the Early Session carries the CAT service media information of the second CAT service side;
  • Step 1703 The first CAT service side feeds back a response message of the request response to the second CAT service side, where the rejection information of the second CAT service is carried, for example, by setting the media line port address in the SDP answer of the Early Session to 0. Reject the second CAT service request.
  • Figure 18 depicts a specific implementation flow of the method 3).
  • Step 1801 The first CAT service side changes the IP address and port of the SDP in the received session request message to the IP address and port of the media resource of the first CAT function control module, and then sends the modified session request message to Second CAT service side;
  • Step 1802 A second CAT media session is established between the second CAT service side and the first CAT service side.
  • the second CAT service side sends an SDP answer to the first CAT service side, where the second CAT service media information is carried.
  • the second CAT service side sends the SDP offer of the Early Session to the first CAT service side, where the second CAT service media information is carried, and the first CAT service side sends the SDP answer of the Early Session to the second CAT service side, where the first IP address and port of the media resource of the CAT service;
  • Step 1803 The second CAT service side sends the second CAT media to the first CAT service side.
  • Step 1804 The first CAT service side discards the second CAT media stream.
  • the network node on the calling side selects the high priority customized ring back tone service from the customized ring back tone service of the calling party and the customized ring back tone service of the called party, and The triggering operation is performed, that is, the selected customized ringback tone service information (interpretation) is sent to indicate the operation that the network node that received the information should perform.
  • the selected customized ring back tone service information may be sent in the INVITE message received by the network node on the calling side.
  • the embodiment of the present invention does not exclude the possibility that the network node on the calling side transmits the information by using other messages. This information can be received directly by the called side network node or by an intermediate node such as the Media Gateway Control Function (MGCF) entity.
  • MGCF Media Gateway Control Function
  • the intermediate node such as the MGCF
  • the intermediate node may send the information to the network node on the called side, or may not send the information to the network node on the called side, but perform customized round-trip tone service according to the information.
  • the operation of the media stream transmission control for example, the MGCF does not perform the operation of requesting the media gateway to open the media gating when the priority of the calling user's customized ring back tone service is high according to the information, and the MGCF determines the called party according to the information.
  • the requesting media gateway is opened to open the media gating operation.
  • the MGCF may carry the information after receiving the INVITE message sent by the network node on the calling side. It is sent to the called side network node in the Initial Address Message (IAM).
  • IAM Initial Address Message
  • the priority of the caller customized ring back tone service can be high.
  • the media stream of the called ringback tone service is prevented from being played to the calling user, so that the problem that the calling party receives multiple mixed ringback tones can be avoided when the multiparty subscribes to the CAT service.
  • the network node on the calling side and the network node on the called side may be located in the same domain or in different domains. For example, the network node on the calling side is located in the IMS domain, and the network node on the called side is located in the CS domain.
  • the network node on the calling side is located in the CS domain
  • the network node on the called side is located in the IMS domain.
  • the first method is also applicable to the process in which the called user transfers the call to the third-party user.
  • the network node on the calling side in the first mode is replaced with the network node on the called side, and the called side in the first mode.
  • the network node is replaced by the network node on the call forwarding side.
  • the network node on the calling side selects a high priority custom ring back tone service from the caller customized ring back tone service and the called customized ring back tone service, and performs a trigger operation. .
  • the triggering operation may send the rejection information to the network node on the called side by using the application server mode to indicate The customized ringback tone service of the called user provided by the network node on the called side is rejected.
  • the triggering operation may be: performing a normal message forwarding process by using the application server mode, and not going to the called side.
  • the network node sends the rejection information, and does not provide the calling user with the customized ringback tone service of the calling user.
  • the triggering operation may be: converting the message that needs to be forwarded to the calling user into a gateway mode based message.
  • the network node on the calling side needs to perform message format conversion because the terminal of the calling user does not support the application server mode, and the network node on the calling side determines that the terminal of the calling user does not support the application.
  • the network node on the called side is also required to use the application server mode for message interaction, that is, the network node on the calling side notifies the network node on the called side to use the network node.
  • the notification may be in the following manner: When receiving the gateway mode-based message transmitted by the calling user and forwarding the message to the network node on the called side, the network node on the calling side first converts the message into an application server-based mode. The message is then forwarded.
  • the network node on the calling side After receiving the INVITE message, the network node on the calling side adds an Early Session parameter in the Supported header field of the INVITE message, and sends an INVITE message with the added parameter to the network node on the called side.
  • the embodiments of the present invention also do not exclude other ways, such as using other messages to notify the network node on the called side to use the application server mode for message interaction.
  • the network node of the called side can be customized to ring back at the calling party.
  • the priority of the audio service is high, the media stream of the customized ringback tone service is prevented from being played to the calling user, so that the calling party can avoid receiving multiple mixed ringbacks when the CAT service is subscribed to by multiple parties. The problem of sound.
  • the network node on the calling side and the network node on the called side need to be in the same domain
  • the network node on the calling side can be the calling CAT service function control module
  • the network node on the called side can be the called CAT.
  • Business function control module Embodiments of the invention do not limit the specific representation of network nodes.
  • the foregoing method 2 is also applicable to the process in which the called user transfers the call to the third-party user.
  • the network node on the calling side in the second mode is replaced with the network node on the called side, and the called side in the second mode.
  • the network node is replaced by the network node on the call forwarding side.
  • the network node on the calling side determines the terminal support mode of the calling user, and actively adopts different methods to implement the customized ring back tone service according to the judgment result.
  • the network node on the calling side determines the mode supported by the terminal of the calling user.
  • a triggering operation of transmitting the selected customized ringback tone service information is performed to indicate an operation that the network node that receives the information should perform.
  • the message carrying the selected customized ring back tone service information may be sent in the INVITE message received by the network node on the calling side.
  • the network node can send the information by using other messages. Capability. This information may be received directly by the called side network node or by an intermediate node such as a Media Gateway Control Function (MGCF) entity.
  • MGCF Media Gateway Control Function
  • the intermediate node such as the MGCF
  • the intermediate node may send the information to the network node on the called side, or may not send the information to the network node on the called side, but perform customized round-trip tone service according to the information.
  • the operation of the media stream transmission control for example, the MGCF does not perform the operation of requesting the media gateway to open the media gating when the priority of the calling user's customized ring back tone service is high according to the information, and the MGCF determines the called party according to the information.
  • the requesting media gateway is opened to open the media gating operation.
  • the intermediate node such as the MGCF
  • the MGCF may carry the information in the IAM after receiving the INVITE message sent by the network node on the calling side.
  • Sending to the called side network node of course, embodiments of the present invention do not preclude the possibility of transmitting the information using other messages.
  • the triggering operation may be performed by using the application server mode to send the rejection information to the network node on the called side.
  • the custom ringback tone service of the called user provided by the network node on the called side is rejected.
  • the triggering operation performed may be: performing a normal message forwarding process by using the application server mode, and not performing The network node on the called side sends the rejection information, and does not provide the calling user with the customized ring back tone service of the calling user.
  • the network node on the called side can be indicated in different manners according to the mode supported by the terminal of the calling user, so as to customize the calling party.
  • the priority of the ring back tone service is high, the media stream of the called ringback tone service is prevented from being played to the calling party, so that the calling party can avoid multiple mixed parties when the CAT service is subscribed to by multiple parties.
  • the problem of ring back tone is not limited to the priority of the ring back tone service.
  • the network node on the calling side and the network node on the called side may be located in the same domain. It can also be located in different domains. For example, the network node on the calling side is located in the IMS domain, and the network node on the called side is located in the CS domain. For example, the network node on the calling side is located in the CS domain, and the network node on the called side is located in the IMS domain. .
  • the third method is also applicable to the process in which the called user transfers the call to the third party user. At this time, the network node on the calling side in the third mode is replaced with the network node on the called side, and the called side in the third mode. The network node is replaced by the network node on the call forwarding side.
  • Mode 4 The network node on the called side actively decides to provide a mode for the customized ring back tone service, and the network node on the calling side adopts different methods to implement the customized ring back tone service according to the decision of the network node on the called side.
  • the network node on the calling side first needs to inform the network node on the called side to provide the address information (first address information) of the customized ring back tone service.
  • the network node on the calling side can negotiate to obtain the first address information by performing information interaction with the calling media resource function module.
  • the first address information may be an IP address and port address information.
  • the network node on the calling side notifies the network node on the called side of the first address information.
  • the notification may be performed by: after receiving the INVITE message, the network node on the calling side carries the first address information in the INVITE message and sends the message to the network node on the called side.
  • the embodiment of the present invention does not preclude the implementation of the first address information by the network node on the called side by using other messages.
  • the triggering operation performed by the network node on the calling side is: the calling side
  • the network node interacts with the calling media resource function module to obtain the address information (second address information) of the media stream outputting the customized ring back tone service by the calling media resource function module, and then the second address information Notifying the calling user's terminal, and instructing the calling media resource function module to send the media stream of the customized ring back tone service received from the first address to the calling user through the second address, and the network node on the calling side does not Perform the operation of providing the customized ring back tone service of the calling user.
  • the triggering operation performed by the network node on the calling side is performed.
  • the action may be: instructing the calling media resource function module to discard the media stream of the customized ring back tone service received from the first address.
  • the triggering operation may also be: The network node on the calling side instructs the calling media resource function module to close the first address.
  • the triggering operation performed by the network node on the calling side may be: The message transmitted by the network node on the called side is forwarded, and the operation of providing the caller's customized ring back tone service is not performed.
  • the triggering operation performed by the network node on the calling side may be:
  • the network node on the calling side sends a message rejecting the customized ring back tone service media stream to the network node on the called side, to indicate that the network node on the called side does not send the media stream of the customized ring back tone service of the called user, and the calling party
  • the network node on the side performs an operation of providing a customized ringback tone service for the calling user.
  • the calling side network node may use different modes to indicate the calling media resource function module or according to the mode adopted by the called side network node.
  • the called side network node avoids the media stream of the called ringback tone service being played to the calling party when the priority of the caller's customized ring back tone service is high, so that the multiparty can subscribe to the CAT service and avoid The calling party receives a plurality of mixed ring back tones.
  • the network node on the calling side and the network node on the called side need to be in the same domain.
  • the fourth method is also applicable to the process in which the called user transfers the call to the third-party user.
  • the network node on the calling side in the fourth mode is replaced with the network node on the called side, and the calling media resource in the fourth mode.
  • the function module is replaced with the called media resource function module, and the network node on the called side in the fourth mode is replaced with the network node on the call forwarding side.
  • the network node on the calling side determines the terminal support mode of the calling user, and implements a customized ring back tone service by using the calling media resource function module according to the judgment result.
  • the network node on the calling side determines the mode supported by the terminal of the calling user.
  • the network node on the calling side needs to inform the network node on the called side to provide the address information (ie, the first address information) of the customized ring back tone service.
  • the network node on the calling side can negotiate to obtain the first address information by performing information interaction with the calling media resource function module.
  • the first address information may be an IP address and port address information.
  • the network node on the calling side notifies the network node on the called side of the first address information.
  • the notification may be performed by: after receiving the INVITE message, the network node on the calling side carries the first address information in the INVITE message and sends the message to the network node on the called side.
  • the embodiment of the present invention does not exclude the use of other messages to inform the network node on the called side of the implementation of the first address information.
  • the triggering operation performed by the network node on the calling side is: the network node on the calling side interacts with the calling media resource function module to obtain the calling party through negotiation.
  • the media resource function module outputs address information (ie, second address information) of the media stream of the customized ring back tone service, and then, the second address information is notified to the terminal of the calling user, and indicates that the calling media resource function module will be
  • the media stream of the customized ring back tone service received at an address is sent to the calling user through the second address, and the network node on the calling side does not perform the operation of providing the calling user to customize the ring back tone service.
  • the triggering operation performed by the network node on the calling side may be: instructing the calling media resource function module to discard the customized ring back tone service received from the first address, in the case that the calling user has a high priority of the ringback tone service. Media stream.
  • the triggering operation may also be: The network node on the calling side instructs the calling media resource function module to close the first address.
  • the triggering operation performed by the network node on the calling side may be: directly forwarding the network node on the called side
  • the transmitted message does not perform the operation of providing the calling user with a customized ring back tone service.
  • the triggering operation performed by the network node on the calling side may be: sending to the network node on the called side Refusing to customize the information of the ringback tone service media stream to indicate the network on the called side
  • the node does not send the media stream of the customized ring back tone service of the called user, and performs an operation of providing the calling user to customize the ring back tone service.
  • the calling side network node may use different modes to indicate the calling media resource function module or according to the mode supported by the calling user's terminal.
  • the called side network node avoids the media stream of the called ringback tone service being played to the calling party when the priority of the caller's customized ring back tone service is high, so that the multiparty can subscribe to the CAT service and avoid The calling party receives a plurality of mixed ring back tones.
  • mode 5 the network node on the calling side and the network node on the called side need to be in the same domain.
  • mode 5 is also applicable to the process in which the called user transfers the call to the third-party user.
  • the network node on the calling side in mode 5 is replaced with the network node on the called side, and the calling media resource in mode five.
  • the function module is replaced by the called media resource function module, and the network node on the called side in the fifth mode is replaced with the network node on the call forwarding side.
  • the process of selecting a high-priority customized ring back tone service from a plurality of customized ring back tone services is used.
  • the embodiment of the present invention may adopt multiple policies to select a high priority custom ringback. Sound business.
  • the network node on the calling side can select a high priority custom ring back tone service according to any of the following eight policies:
  • the local policy here can be a policy set by the operator as needed.
  • the media format requested by the user can be obtained from the SDP information of the INVITE request, the SDP information of the Early session for the response information of the INVITE request, and the like. For example, when the SDP information requested by the INVITE describes the audio media stream, and the SDP information of the Early Session describes the video media stream, the calling user CAT service can be selected.
  • Embodiments of the present invention do not limit the specific implementation form of a policy for selecting a high priority custom ring back tone service.
  • the following describes a method for implementing a customized ring back tone service according to an embodiment of the present invention by taking a call between a calling user and a called user as an example.
  • Step 1 The calling CAT service function control module receives the INVITE request.
  • Step 2 The calling CAT service function control module performs a high-priority CAT service selection process, that is, determines whether the calling user CAT service has a high priority or the called user CAT service has a high priority. For example, select a high priority CAT service based on any of the following a to c strategies:
  • the calling user's CAT service setting parameters determine whether the calling user's CAT service priority is high or the called user's CAT service has a high priority.
  • Step 3 The calling CAT service function control module carries a CAT service priority indication in the INVITE request according to the selected CAT service priority, and the method for carrying the CAT service priority indication includes any one or any combination of the following:
  • Carrying a CAT service priority indication in the header field of the INVITE request for example, when the calling user CAT service has a high priority, carrying a CAT parameter (such as a calling user CAT service information) in the Reject-Contact header field, or expanding A new header field, Rject-Service, and carrying CAT parameters (such as calling CAT service information) in the extended header field Reject-Service; for example, when the called CAT service has a high priority, in Accept-Contact
  • the CAT parameter (such as the called user CAT service information) is carried in the header field, or a new header field Accept-Service is extended, and the CAT parameter (such as the called user CAT service information) is carried in the extended header field Accept-Service. .
  • Carrying the CAT service priority indication (that is, the information of the selected customized ring back tone service) in the message body of the INVITE request, for example, when the priority of the calling user CAT service is high, the Content-Disposition is carried in the INVITE request.
  • the SDP information of the Early Session, and the port address of all media lines in the SDP information is 0, indicating that the calling CAT service has a high priority and rejects the called CAT service.
  • Step 4 The called CAT service function control module performs corresponding processing according to the CAT service priority indication carried in the INVITE request, and the processing may be as follows:
  • the called CAT service function control module When the CAT service priority indication indicates that the calling user CAT service has a high priority, the called CAT service function control module only performs the routing function, that is, forwards the received INVITE request, and does not perform the operation of providing the called user CAT service.
  • the operation of not providing the called user CAT service may include: not requesting the media resource for the called user CAT service.
  • the called CAT service function module performs an operation of providing the called user CAT service, and performs providing the called user CAT.
  • the operations of the service may include: requesting a media resource for the called user CAT service.
  • the CAT service priority indication may be A terminal that carries a third-party user that is sent to the call forwarding in the INVITE request.
  • the method for implementing the customized ringback tone service provided by the mode 1 is as shown in FIG. 2 .
  • step 1 The calling CAT service function control module receives the INVITE request.
  • Step 2 The calling CAT service function control module performs a high-priority CAT service selection process, that is, determines whether the calling user CAT service has a high priority or the called user CAT service has a high priority. For example, select a high priority CAT service based on any of the following a to c strategies:
  • the calling user's CAT service setting parameters determine whether the calling user's CAT service priority is high or the called user's CAT service has a high priority.
  • the CAT service function control module needs to record the selection result after selecting the high priority CAT service.) Determine whether the calling user CAT service has a high priority or the called user CAT service has a high priority.
  • Step 3 The calling CAT service function control module carries a CAT service priority indication in the INVITE request according to the selected CAT service priority, and the method for carrying the CAT service priority indication includes any one or any combination of the following:
  • Carrying a CAT service priority indication in the header field of the INVITE request for example, when the calling user CAT service has a high priority, carrying a CAT parameter (such as a calling user CAT service information) in the Reject-Contact header field, or expanding A new header field, Rject-Service, and carrying CAT parameters (such as calling party CAT service information) in the extended header field Reject-Service; for example, when the called user CAT service has a high priority, in Accept -Contact header field carries CAT parameters (such as called user CAT service information), or expands a new header field Accept- Service, and carry the CAT parameter (such as the called user) in the extended header field Accept-Service
  • Carrying the CAT service priority indication (that is, the information of the selected customized ring back tone service) in the message body of the INVITE request, for example, when the priority of the calling user CAT service is high, the Content-Disposition is carried in the INVITE request.
  • the SDP information of the Early Session, and the port address of all media lines in the SDP information is 0, indicating that the calling CAT service has a high priority and rejects the called CAT service.
  • the calling CAT service function control module sends an INVITE request carrying the CAT service priority indication to the MGCF.
  • the MGCF obtains and determines the CAT service priority indication in the INVITE request. When it is determined that the CAT service priority indication indicates that the calling user CAT service priority is high, the MGCF may go to step 4al or to step 4a2; the MGCF determines When the CAT service priority indication indicates that the called user CAT service has a high priority, go to step 4b.
  • Step 4al The MGCF carries the CAT service priority indication in the IAM, and sends the IAM to the CS network.
  • the embodiment of the present invention may enable the IAM to carry the CAT service priority indication by adding a new field in the IAM, or using the original field in the IAM, for example: Expand Optional Forward Call IndiCATors in the IAM (optional forward call indication)
  • the usage of the G-D bit of the field, when the G bit is set to "1”, indicates that the calling user's CAT service has a high priority, and when it is "0", the called user's CAT service has a higher priority.
  • the CS network can judge that the calling user CAT service has a high priority according to the indication information in the IAM, and does not perform an operation of providing the called user CAT service.
  • the calling CAT service function control module normally performs the operation of providing the calling user CAT service.
  • Step 4a2 The MGCF sends a normal IAM to the CS network, but does not require the MGW to open the media gating. For example, the MGCF does not send an H.248 command to the MGW requesting the MGW to open the media gating.
  • the CS network can perform the operation of providing the called user CAT service according to the IAM normally, since the MGW does not open the media gating, the called user CAT service media stream is not transmitted to the calling user.
  • the calling CAT business function control module is normally implemented. The operation for the calling user CAT service.
  • Step 4b The MGCF sends a normal IAM to the CS network. Thereafter, the calling CAT service function control module can act as a routing function, forward the received request or response, and do not perform the operation of providing the calling user's CAT service, for example, not requesting the media resource for the calling user CAT service.
  • the CS network in Figure 2 above may be a PSTN network or a PLMN network.
  • the CS network involved in the following embodiments may also be a PSTN network or a PLMN network.
  • the method for implementing the customized ringback tone service provided by the mode 1 is as shown in FIG. 3.
  • step 1 After the CS network implements the selection of high-priority CAT services,
  • the MGCF in the IMS network sends an IAM carrying a CAT service priority indication.
  • the method of carrying the CAT service priority indication in the IAM is as described in Figure 4, step 4al above.
  • the MGCF receives the IAM transmitted by the CS network, and proceeds to step 2a or to step 2b.
  • Step 2a The MGCF obtains the CAT service priority indication in the IAM, and carries the CAT service priority indication in the INVITE request, and sends the INVITE request. Therefore, the calling CAT service function control module can determine whether to perform the operation of providing the calling user CAT service according to the received indication information, for example, when it is determined that the called CAT service has a high priority, the calling CAT service is not performed. Operation, does not apply for media resources for the calling user CAT service.
  • Carrying a CAT service priority indication in the header field of the INVITE request for example, when the calling user CAT service has a high priority, carrying a CAT parameter (such as a calling user CAT service information) in the Reject-Contact header field, or expanding A new header field, Rject-Service, and carrying CAT parameters (such as calling party CAT service information) in the extended header field Reject-Service; for example, when the called user CAT service has a high priority, in Accept -Contact header field carries CAT parameters (such as called user CAT service information), or expands a new header field Accept- Service, and carry the CAT parameter (such as the called user) in the extended header field Accept-Service
  • Carrying the CAT service priority indication (that is, the information of the selected customized ring back tone service) in the message body of the INVITE request, for example, when the priority of the calling user CAT service is high, the Content-Disposition is carried in the INVITE request.
  • the SDP information of the Early Session, and the port address of all media lines in the SDP information is 0, indicating that the calling CAT service has a high priority and rejects the called CAT service.
  • Step 2b The MGCF sends a normal INVITE request, and when the CAT service priority indication indicates that the calling user CAT service has a high priority, the MGW may not be required to open the media gating. For example, the MGCF does not send the MGW to request the MGW to open the media door. Controlled H.248 command. In the case that the MGW does not open the media gating, the called user CAT service media stream can be prevented from being transmitted to the calling user's terminal. Thereafter, the calling CAT service function control module normally performs the operation of providing the calling user CAT service according to the received INVITE request.
  • the flow of the method for implementing the customized ring back tone service provided by the second method is as shown in FIG. 4 .
  • step 1 The calling CAT service function control module receives the INVITE request, and proceeds to step 2.
  • Step 2 The calling CAT service function control module determines the terminal capability of the calling user.
  • the method for judging the terminal capability of the calling user may be any of the following:
  • the calling CAT service function control module determines that the calling terminal's terminal supports P-Early- when it determines that the header field P-Early-Media carried in the received INVITE request is supported.
  • the calling CAT service function control module determines that the terminal of the calling user supports the Early Session when it determines that the header field Supported in the INVITE request is carried with the Early Session parameter.
  • the calling CAT service function control module determines that the calling user's terminal does not support Early
  • step 3a The calling CAT service function control module determines that the terminal of the calling user supports the Early Session mode, and then proceeds to step 3b.
  • Step 3a In the case that the calling user's terminal does not support the Early Session, the calling CAT service function control module adds the Early Session parameter to the header field Supported of the INVITE request, and then forwards the INVITE request to step 4.
  • Step 3b When the calling user's terminal supports the Early Session, the calling CAT service function control module directly forwards the INVITE request to step 4.
  • Step 4 The called CAT service function control module receives the INVITE request, and forwards the INVITE request to the called party (ie, the called user terminal), to step 5.
  • Step 5 The called party receives the INVITE request and returns a temporary response (Provisional
  • Step 6 The called CAT service function control module receives the temporary response, and then provides the called CAT service in an application server mode, and carries the SDP of the called user CAT service with the Content-Disposition as the Early Session in the message body of the temporary response. (offer).
  • Step 7 After receiving the temporary response, the calling CAT service function control module selects the high priority CAT service.
  • the calling CAT service function control module can select a high priority CAT service according to any of the following a to g policies:
  • the calling user's CAT service setting parameters determine whether the calling user's CAT service priority is high or the called user's CAT service has a high priority.
  • the calling CAT service function control module needs to record the selection result after selecting the high priority CAT service to determine whether the calling user CAT service has a high priority or The called user CAT service has a high priority.
  • the calling user CAT service priority is high or the called user CAT service priority is high, for example, when the temporary response status code is 181 (indicating that there is a call) Calling transfer), it can be determined that the called user CAT service has a high priority.
  • the calling user CAT service determines whether the calling user CAT service has a high priority or the called user CAT service has a high priority. For example, when the privacy in the temporary response is set to "ID", it can be determined that the calling user CAT service has a high priority.
  • the calling CAT service function control module determines whether the calling user CAT service priority or the called user CAT service priority is determined according to the SDP information in the received INVITE request and the SDP information of the Early session carried in the received temporary response. Level is high. For example, when the SDP information requested by the INVITE describes the audio media stream, and the SDP information of the Early Session of the temporary response describes the video media stream, it can be determined that the calling user CAT service has a high priority.
  • the calling CAT service function control module determines whether the calling user CAT service has a high priority according to the calling user's terminal capability (representing the media format supported by the calling user's terminal) and the SDP information of the Early session carried in the temporary response.
  • the called user CAT service has a high priority. For example, when the calling user's terminal only supports audio, and the Early Session's SDP information describes the video media stream, it can be determined that the calling user's CAT service has a high priority.
  • the calling CAT service function control module determines that the calling user's CAT service has a high priority, whether the calling user's terminal supports the Early Session or the ⁇ -Early-Media, the process proceeds to step 8a.
  • step 8b When the calling CAT service function control module determines that the called user CAT service has a high priority and the calling user's terminal supports the Early Session, the process proceeds to step 8b.
  • step 8c the process proceeds to step 8c.
  • Step 8a The calling CAT service function control module sets the Content-Disposition in the PRACK request to the SDP (Answer) information of the Early Session, and sets the port address of all media lines in the SDP information to 0, and then The CAT service function control module sends the PRACK request. After receiving the PRACK request, the called CAT service function control module does not perform the operation of providing the called user CAT service. Calling CAT business function control module The block normally performs the subsequent operation of providing the calling user CAT service.
  • Step 8b The calling CAT service function control module directly forwards the temporary response. Moreover, the calling CAT service function control module no longer performs the subsequent operation of providing the calling user CAT service.
  • Step 8c In the case that the temporary response carries the SDP information of the called party CAT service whose Content-Disposition is Early Session and the SDP information of the normal session returned by the called party of the session, the calling CAT service
  • the function control module stores the SDP information of the normal session returned by the called party of the session in the Content-Disposition, deletes the content of the content in the temporary response message body, and sets the Content of the SDP information of the called party CAT service of the Early Session. Change Disposition to session, and add the header field in the temporary response P-Early-Mediao header field P-Early-Media parameters can be set to "sendrecv".
  • the to tag of the temporary response is changed to the to tag generated locally by the CAT service function control module, and then the temporary response is forwarded to the calling party (ie, the terminal of the calling user).
  • the calling CAT service function control module directly sets the Content of the SDP information of the called party CAT service set to the Early Session. Disposition is changed to session, and the header field P-Early-Media is added to the temporary response.
  • the parameter of the header field P-Early-Media can be set to "sendrecv".
  • the to tag of the temporary response is changed to the to tag generated locally by the CAT service function control module, and then the temporary response is forwarded to the calling party. Moreover, the calling CAT service function control module no longer performs the subsequent operation of providing the calling user CAT service. Go to step 9c.
  • Step 9c The calling CAT service function control module sends a PRACK request to the called party, where
  • the PRACK request carries the SDP information of the normal session, and the SDP information of the normal session is carried in the PRACK request in the manner that the Content-Disposition is the Early Session.
  • steps 8c and 9c may be reversed or may be performed simultaneously.
  • the normal session in this embodiment refers to a session of a non-customized ring back tone service.
  • step 1 the calling CAT service function control module receives the INVITE request, to ⁇ Step 2.
  • Step 2 The calling CAT service function control module determines the terminal capability of the calling user.
  • the method for judging the terminal capability of the calling user may be as described in step 2 in FIG. 4 above, and the description is not repeated here.
  • the calling CAT service function control module determines that the calling user's terminal only supports P-Early-Media, it proceeds to step 3a, or to step 3a2, or to step 3a3.
  • the calling CAT service function control module determines that the calling user's terminal supports the Early Session, it proceeds to step 3b.
  • Step 3a The calling CAT service function control module performs a high priority CAT service selection process, that is, determines whether the calling user CAT service has a high priority or the called user CAT service has a high priority.
  • the specific selection process may be as described in the above step 2 of FIG. 1, and the description will not be repeated here. Go to step 4a.
  • Step 4a The calling CAT service function control module carries a CAT service priority indication in the INVITE request according to the selected CAT service priority, and the method for carrying the CAT service priority indication is as described in step 3 of FIG. The description will not be repeated here. Go to step 5a.
  • Step 5a The called CAT service function control module performs corresponding processing according to the CAT service priority indication carried in the INVITE request, and the two methods of the processing may be as described in step 4 of FIG. 1 above, and are not repeated here. Description.
  • Step 3a2 The calling CAT service function control module performs a high-priority CAT service selection process, that is, determines whether the calling user CAT service has a high priority or the called user CAT service has a high priority.
  • the specific selection process may be as described in the above step 2 of FIG. 2, and the description will not be repeated here. Go to step 4a2.
  • Step 4a2 the calling CAT service function control module carries the CAT service priority indication in the INVITE request according to the selected CAT service priority, and the method for carrying the CAT service priority indication is as described in step 3 of FIG. 2 above. Repeat the explanation.
  • the calling CAT service function control module sends an INVITE request carrying the CAT service priority indication to the MGCF.
  • MGCF obtains and judges CAT service priority in INVITE request
  • the indication when determining that the CAT service priority indication indicates that the calling user CAT service priority is high, may go to step 5al or to step 5a2; the MGCF determines that the CAT service priority indication indicates that the called user CAT service takes precedence. When the level is high, go to step 5a3.
  • Step 5al The MGCF carries the CAT service priority indication in the IAM, and sends the IAM to the CS network.
  • the embodiment of the present invention may enable the IAM to carry the CAT service priority indication by adding a new field in the IAM, or using the original field in the IAM, for example: Expand Optional Forward Call IndiCATors in the IAM (optional forward call indication)
  • the usage of the G-D bit of the field, when the G bit is set to "1”, indicates that the calling user's CAT service has a high priority, and when it is "0", the called user's CAT service has a higher priority.
  • the CS network can judge that the calling user CAT service has a high priority according to the indication information in the IAM, and does not perform an operation of providing the called user CAT service.
  • the calling CAT service function control module normally performs the operation of providing the calling user CAT service.
  • Step 5a2 The MGCF sends a normal IAM to the CS network, but does not require the MGW to open the media gating. For example, the MGCF does not send an H.248 command to the MGW requesting the MGW to open the media gating.
  • the CS network can perform the operation of providing the called user's CAT service according to the normal operation of the IAM, since the MGW does not open the media gating, the called user CAT service media stream is not transmitted to the calling user.
  • the calling CAT service function control module normally performs the operation of providing the calling user CAT service.
  • Step 5a3 The MGCF sends a normal IAM to the CS network. Thereafter, the calling CAT service function control module can act as a routing function, forward the received request or response, and not perform the operation of providing the calling user's CAT service, for example, not requesting the media resource for the calling user CAT service.
  • Step 3a3 After the calling CAT service function control module implements the selection of the high priority CAT service, the IAM that carries the CAT service priority indication is sent to the MGCF in the IMS network.
  • the method of carrying the CAT service priority indication in the IAM is as described in step 4a of FIG. 2 above.
  • the MGCF receives the IAM transmitted by the CS network, and proceeds to step 4a3 or to step 4a4.
  • Step 4a3 The MGCF obtains the CAT service priority indication in the IAM, and carries the CAT service priority indication in the INVITE request, and sends the INVITE request.
  • the calling CAT service function control module can determine whether to perform the operation of providing the calling user CAT service according to the received indication information, for example, when it is determined that the called CAT service has a high priority, the calling CAT service is not performed. Operation, does not apply for media resources for the calling user CAT service.
  • the method for carrying the CAT service priority indication in the INVITE request may be as described in the foregoing step 2a in FIG. 3, and the description is not repeated here.
  • Step 4a4 The MGCF sends a normal INVITE request, and when the CAT service priority indication indicates that the calling user CAT service has a high priority, the MGW may not be required to open the media gating. For example, the MGCF does not send the MGW to request the MGW to open the media door. Controlled H.248 command. In the case that the MGW does not open the media gating, the called user CAT service media stream can be prevented from being transmitted to the calling user's terminal. Thereafter, the calling CAT service function control module normally performs the operation of providing the calling user CAT service according to the received INVITE request.
  • Step 3b The calling CAT service function control module directly forwards the received INVITE request. Go to step 4b.
  • Step 4b The called CAT service function control module receives the INVITE request, and forwards the INVITE request to the called party (ie, the called user terminal), to step 5b.
  • Step 5b the called party receives the INVITE request, and returns a provisional response (Provisional Response), to step 6b.
  • Step 6b The called CAT service function control module receives the temporary response, and then provides the called CAT service in an application server mode, and carries the SDP of the called user CAT service with the Content-Disposition as the Early Session in the message body of the temporary response. (offer) information. Go to step 7b.
  • Step 7b After receiving the temporary response, the calling CAT service function control module selects the high priority CAT service.
  • the process in which the calling CAT service function control module selects the high-priority CAT service is as described in step 7 in FIG. 4 above, and the description thereof will not be repeated here.
  • the calling CAT service function control module determines that the calling user's CAT service has a high priority, whether the calling user's terminal supports the Early Session or supports the ⁇ -Early-Media, the process proceeds to step 8b1.
  • step 8b2 When the calling CAT service function control module determines that the called user CAT service has a high priority and the calling user's terminal supports the Early Session, the process proceeds to step 8b2.
  • Step 8b1 the calling CAT service function control module sets the Content-Disposition of the PRACK request to the SDP (Answer) information of the Early Session, sets the port address of all the media lines in the SDP information to 0, and then, to the called party.
  • the CAT service function control module sends the PRACK request.
  • the called CAT service function control module receives the PRACK request, it does not perform the operation of providing the called user CAT service.
  • the calling CAT service function control module normally performs the subsequent operation of providing the calling user CAT service.
  • Step 8b2 The calling CAT service function control module directly forwards the temporary response. Moreover, the calling CAT service function control module no longer performs the subsequent operation of providing the calling user CAT service.
  • the flow of the method for implementing the customized ring back tone service provided in the fourth method is as shown in FIG. 6.
  • the INVITE request carries the SDP (Offfer) information of the normal session, to step 2.
  • Step 2 The calling CAT service function control module interacts with the calling media resource function module to obtain the IP address and port address of the calling media resource function module. Go to step 3 o
  • Step 3 The calling CAT service function control module will perform the normal session in the INVITE request.
  • the IP address and port address of the SDP are modified to the IP address and port address of the calling media resource function module obtained in step 2 above, and the INVITE request is forwarded. Go to step 4.
  • Step 4 The called CAT service function control module receives and forwards the INVITE request to the called party. Go to step 5.
  • Step 5 After receiving the INVITE request, the called party returns a temporary response.
  • the called CAT service function control module receives the temporary response, and the called CAT service function control module can decide whether to adopt the The same way to provide the called user CAT service.
  • the process proceeds to step 6a.
  • the called CAT service function control module decides to use the application server mode to provide the called user CAT service, it proceeds to step 6b.
  • Step 6a The called CAT service function control module sends a temporary response carrying the P-Early-Media header field to the calling CAT service function control module. Go to step 7.
  • Step 6b The called CAT service function control module sends a temporary response of the SDP (offer) information of the called party CAT service with the Content-Disposition set to the Early Session to the calling CAT service function control module. Go to step 7.
  • Step 7 After receiving the temporary response, the calling CAT service function control module selects the high priority CAT service.
  • the process in which the calling CAT service function control module selects the high-priority CAT service may be as described in the above FIG. 4, and the description is not repeated here.
  • step 8al When the calling CAT service function control module determines that the called user's CAT service has a high priority and determines that the temporary response carries the P-Early-Media header field, the process proceeds to step 8al.
  • step 8a2 When the calling CAT service function control module determines that the calling user CAT service has a high priority and determines that the temporary response carries the P-Early-Media header field, the process proceeds to step 8a2.
  • Step 8bl When the calling CAT service function control module determines that the called user CAT service has a high priority and determines that the temporary response carries the SDP (offer) information of the called party CAT service with the Content-Disposition set to the Early Session, Step 8bl.
  • Step 8b2 When the calling CAT service function control module determines that the calling user CAT service has a high priority and determines that the temporary response carries the SDP (offer) information of the called party CAT service whose Content-Disposition is set to the Early Session, Step 8b2.
  • Step 8al The calling CAT service function control module interacts with the calling media resource function module to obtain the IP address and port address of the calling media resource function module. Go to step 9al.
  • Step 9al the calling CAT service function control module modifies the IP address and port address of the SDP in the received temporary response to the calling media resource function module obtained in step 8al The IP address and port address of the block. Go to step 10al.
  • Step 10al The calling CAT service function control module interacts with the calling media resource function module to request the media resource function module to receive the media stream received from the IP address and port address determined by the negotiation in step 2.
  • the IP address and port address determined through the negotiation of step 8al are sent to the terminal of the calling user.
  • the calling CAT service function control module no longer performs the operation of providing the calling CAT service.
  • Step 8a2 The calling CAT service function control module interacts with the calling media resource function module to request the calling media resource function module to discard the media stream received by the IP address and port address determined by the negotiation in step 2. , or ask the calling media resource function module to close the IP address and port address determined in step 2.
  • the calling CAT service function control module normally performs the operation of providing the calling CAT service.
  • Step 8b1 the calling CAT service function control module directly forwards the received temporary response to the calling user's terminal.
  • the calling CAT service function control module no longer performs the operation of providing the calling CAT service.
  • Step 8b2 the calling CAT service function control module will request the content of the PRACk-
  • Disposition is set to the SDP (Answer) information of the Early Session, and the port address of all the media lines in the SDP (Answer) information of the Early Session is set to 0, and the PRACk request is sent to the called CAT service function control module.
  • the calling CAT service function control module performs the operation of providing the calling CAT service normally.
  • the flow of the method for implementing the customized ring back tone service provided in the fifth mode is as shown in FIG. 7.
  • step 1 The calling CAT service function control module receives the INVITE request, and proceeds to step 2.
  • Step 2 The calling CAT service function control module determines the terminal capability of the calling user.
  • the method for the calling CAT service function control module to determine the terminal capability of the calling user may be as described in step 2 in FIG. 4 above, and the description is not repeated here.
  • the calling CAT service function control module determines that the calling user's terminal only supports P-Early- When you are in Media, go to step 3a.
  • the calling CAT service function control module determines that the calling user's terminal supports the Early Session, it proceeds to step 3b.
  • Step 3 The calling CAT service function control module interacts with the calling media resource function module to obtain the IP address and port address of the calling media resource function module. Go to step 4a.
  • Step 4a The calling CAT service function control module modifies the IP address and port address of the SDP of the normal session in the INVITE request to the IP address and port address of the calling media resource function module obtained in the foregoing step 2, and forwards The INVITE request. Go to step 5a.
  • Step 5a The called CAT service function control module receives and forwards the INVITE request to the called party. Go to step 6a.
  • Step 6a After the called party receives the INVITE request, it returns a temporary response. Go to step 7a.
  • Step 7a The called CAT service function control module sends a temporary response carrying the P-Early-Media header field to the calling CAT service function control module. Go to step 8a.
  • Step 8a After receiving the temporary response, the calling CAT service function control module selects the high priority CAT service.
  • the process in which the calling CAT service function control module selects the high-priority CAT service may be as described in the above FIG. 4, and the description is not repeated here.
  • step 9al When the calling CAT service function control module determines that the called user's CAT service has a high priority and determines that the temporary response carries the P-Early-Media header field, the process proceeds to step 9al.
  • step 9a2 When the calling CAT service function control module determines that the calling user CAT service has a high priority and determines that the temporary response carries the P-Early-Media header field, the process proceeds to step 9a2.
  • Step 9al The calling CAT service function control module interacts with the calling media resource function module to obtain the IP address and port address of the calling media resource function module.
  • Step 10al The calling CAT service function control module modifies the IP address and port address of the SDP in the received temporary response to the IP address and port address of the calling media resource function module obtained in step 9al. Go to l lal. Step l lal, the calling CAT service function control module and the calling media resource function module perform information interaction, so that the calling media resource function module requests the media received from the IP address and port address determined by the step 3a negotiation. The flow is sent to the terminal of the calling user through the IP address and port address determined by the negotiation of step 9al. The calling CAT service function control module no longer performs the operation of providing the calling CAT service.
  • Step 3b The calling CAT service function control module directly forwards the received INVITE request. Go to step 4b.
  • Step 4b The called CAT service function control module receives and forwards the INVITE request to the called party. Go to step 5b.
  • Step 5b After the called party receives the INVITE request, it returns a temporary response. Go to step 6b.
  • Step 6b The called CAT service function control module sends a temporary response of the SDP (offer) information of the called party CAT service with the Content-Disposition set to the Early Session to the calling CAT service function control module. Go to step 7b.
  • Step 7b After receiving the temporary response, the calling CAT service function control module selects the high priority CAT service.
  • the process in which the calling CAT service function control module selects the high-priority CAT service may be as described in the above FIG. 4, and the description is not repeated here.
  • Step 8bl When the calling CAT service function control module determines that the called user CAT service has a high priority and determines that the temporary response carries the SDP (offer) information of the called party CAT service with the Content-Disposition set to the Early Session, Step 8bl.
  • Step 8b2 When the calling CAT service function control module determines that the calling user CAT service has a high priority and determines that the temporary response carries the SDP (offer) information of the called party CAT service whose Content-Disposition is set to the Early Session, Step 8b2.
  • Step 8b1 the calling CAT service function control module directly forwards the received temporary response to the calling user's terminal.
  • the calling CAT service function control module no longer performs the operation of providing the calling CAT service.
  • Step 8b2 the calling CAT service function control module will request the Content of the PRACk- Disposition is set to the SDP (Answer) information of the Early Session, and the port address of all media lines in the SDP (Answer) information of the Early Session is set to 0, and the PRACk request is sent to the called CAT service function control module.
  • the calling CAT service function control module normally performs the operation of providing the calling CAT service.
  • the calling CAT service function control module and the called CAT service function control module are taken as an example for description.
  • the calling CAT service function control module and the called CAT service function control module may also be replaced by the called CAT service function control module and the third party CAT service function control module of the call transfer, and the calling media resource function module needs to be replaced by Called the media resource function module, the called party needs to be replaced with a third party for call forwarding, and the calling party needs to be replaced with the called party.
  • the implementation process is basically the same, and the description will not be repeated here.
  • the calling CAT service function control module is located in the CAT AS of the calling service, and the called CAT service function control module is located in the CAT AS serving the called party.
  • the CAT AS serving the calling party selects the caller's CAT service priority parameter based on the calling user's setting parameters stored on the CAT AS, and adds the CAT parameter in the header field Reject-Contact of the INVITE request;
  • the CAT AS of the party service does not apply for CAT media resources after identifying the CAT parameters.
  • the implementation process of the CAT service is as shown in FIG. 8.
  • message transmission processes are omitted in the flow description of FIG. 8 described below, for example, message transmission of entities such as P-CSCF, S-CSCF, I-CSCF, and MRF is omitted.
  • step S001 UE#1 (calling party) sends an INVITE request.
  • step S002 o UE#1 (calling party) sends an INVITE request.
  • Step S002 The CAT AS serving the calling party selects a high priority CAT service according to the stored calling user setting parameter, and the calling user CAT service has a high priority in the calling user setting parameter, therefore, the calling party The CAT AS of the party service determines that the calling user's CAT service has a high priority. Go to step S003.
  • Step S003 The CAT AS serving the calling party adds a CAT parameter in the Reject-Contact header field of the received INVITE request, and then forwards the INVITE request to the CAT AS serving the called party. Go to step S004.
  • Step S004 The CAT AS serving the called party receives the INVITE request, and determines, according to the CAT parameter in the Reject-Contact header field of the INVITE request, that the calling user CAT service has a high priority, then the CAT AS serving the called party The INVITE request is forwarded directly to the UE#2 (called party), and the CAT AS serving the called party does not request the media resource of the CAT service for the called user CAT service. Go to step S005.
  • Step S005 UE#2 rings, and returns 180 temporary response. Go to step S006. It should be noted that the 180 temporary response in step S005 may also be a temporary response of 183.
  • Step S006 The CAT AS serving the called party receives and forwards the 180 temporary response. Go to step S007.
  • Step S007 The CAT AS serving the calling party receives the 180 temporary response, and provides the calling user CAT service to the UE#1 in the gateway mode or the application server mode.
  • step S002 of FIG. 8 the CAT AS serving the calling party can perform the judgment operation of the terminal capability of the calling user, and it is determined that the terminal of the calling user only supports P-Early- In the case of Media, the subsequent steps S002 to S007 are performed.
  • the INVITE request is directly forwarded.
  • Embodiment 2 The calling CAT service function control module is located in the CAT AS of the calling service.
  • the CAT AS serving the calling party selects the caller's CAT service priority parameter based on the calling user's setting parameter stored on the CAT AS, and adds the CAT parameter in the header field Reject-Contact of the INVITE request; the MGCF identifies the After the CAT parameter, the CAT parameter is carried in the Optional Forward Call IndiCATors field in the IAM and sent to the PSTN.
  • the implementation process of the CAT service is as shown in FIG.
  • Step S101 UE#1 (calling party) sends an INVITE request. Go to step S102.
  • Step S102 the CAT AS serving the calling party selects the high priority CAT service according to the stored calling user setting parameter, and the calling user CAT service has a high priority in the calling user setting parameter, therefore, the calling party The CAT AS of the party service determines that the calling user's CAT service has a high priority. Go to step S103.
  • Step S103 The CAT AS serving the calling party adds a CAT parameter in the Reject-Contact header field of the received INVITE request, and then forwards the INVITE request to the MGCF. Go to step S104 o
  • Step S104 the MGCF receives the INVITE request, and according to the Reject- request of the INVITE
  • the CAT parameter in the Contact header field determines that the calling user CAT service has a high priority, and the ij MGCF sets the G bit of the Optional Forward Call Indicators field in the IAM to "1" to indicate the primary. Call the user CAT service with high priority. The MGCF sends the IAM to the PSTN. Go to step S105.
  • Step S105 After receiving the IAM, the PSTN returns an Address Complete Message (ACM). Go to step S106.
  • ACM Address Complete Message
  • Step S106 After receiving the ACM, the MGCF sends a 180 temporary response to the CAT AS serving the calling party. Go to step S107.
  • Step S107 The CAT AS serving the calling party receives the 180 temporary response, and provides the calling user CAT service to the UE#1 in the gateway mode or the application server mode.
  • Embodiment 3 The called CAT service function control module is located in the CAT AS serving the called party.
  • the IAM sent by the PSTN to the MGCF carries the CAT priority indication information indicating that the calling user CAT service has a high priority in the PSTN, and the MGCF identifies the CAT priority indication information, determines that the calling user CAT service has a high priority, and sends the header field.
  • Reject-Contact carries an INVITE request with a CAT parameter. In the above case, the implementation process of the CAT service is as shown in FIG.
  • step S201 PSTN will use IAM Optional Forward Call Indicators
  • the G bit of the (optional forward call indication) field is set to "1" to indicate that the calling subscriber's CAT service in the PSTN has a high priority, and the PSTN sends the IAM to the MGCF. Go to step S202.
  • Step S202 The MGCF receives the IAM, and according to the Optional Forward Call of the IAM
  • the G bit of the Indicators field indicates that the calling party CAT service in the PSTN has a high priority. Then, the MGCF adds a CAT parameter to the Reject-Contact header field in the INVITE request to indicate the PSTN caller. The user CAT service has a high priority. The MFCF sends an INVITE request to the CAT AS serving the called party. Go to step S203.
  • Step S203 receiving, by the CAT AS of the called service, an INVITE request, and determining, according to the CAT parameter in the Reject-Contact header field of the INVITE request, that the calling user CAT service has a high priority, and thereafter, directly serving the CAT AS of the called service.
  • the INVITE request is forwarded to UE#2 (the called party), and the operation of requesting the media resource for the called user CAT service is not performed.
  • Embodiment 4 The calling CAT service function control module is located in the CAT AS of the calling service, and the called CAT service function control module is located in the CAT AS serving the called party.
  • the CAT AS serving the calling party selects the caller's CAT service priority based on the calling user setting parameters or local policies stored on the CAT AS.
  • the Early Session is added in the Support header field of the INVITE request.
  • the implementation process of the CAT service is as shown in FIG.
  • message transmission processes are omitted in the flow description of FIG. 11 described below, for example, message transmission of entities such as P-CSCF, S-CSCF, I-CSCF, and MRF is omitted.
  • step S301 UE#1 sends an INVITE request to the CAT AS served by the calling party, and the message body of the INVITE request carries the SDP (offer) information of the normal session. Go to step S302.
  • Step S302 the CAT AS serving the calling party receives the INVITE request, and determines the
  • Step S303 The CAT AS of the calling service adds an Early Session parameter in the Supported header field of the INVITE request, and then sends the INVITE request to the CAT AS serving the called party. Go to step S304.
  • Step S304 After receiving the INVITE request, the CAT AS serving the called party forwards the INVITE request to UE#2. Go to step S305.
  • Step S306 since the CAT AS serving the called party receives the Early Session parameter in the Supported header field of the INVITE request received in step 304, the CAT AS serving the called party adopts the application server mode to provide the called party.
  • the user CAT service that is, the CAT AS serving the called party adds the SDP (offer) information of the called party CAT service whose Content-Disposition is the Early Session in the 180 response, and then forwards the 180 to the calling party's CAT AS. Temporary response. Go to step S307.
  • Step S307 The CAT AS serving the calling party determines that the called user CAT service has a high priority according to the calling user setting parameter stored on the CAT AS or the operator's policy. Go to step S308 o
  • Step S308 because the called user CAT service has a high priority, the calling user's terminal only supports the P-Early-Media header field, and the 180 temporary response carries the CAT service of the called party whose Content-Disposition is the Early Session.
  • the SDP information and the Content-Disposition are the SDP information of the normal session returned by the called party of the session. Therefore, the CAT AS of the calling party stores the SDP information of the normal session returned by the called party of the session by the Content-Disposition. This part of the message in the 180 temporary response is deleted, and the Content-Disposition is Early.
  • the Content-Disposition of the CAT service SDP information of the called party of the Session is changed to session, and the header field ⁇ -Early-Media is added in the 180 temporary response.
  • the parameter of the header field is set to "sendrecv", and then the temporary response is 180.
  • Step S309 UE#1 receives 180 a temporary response and sends a PRACK request. Go to step S310 o
  • Step S310 The CAT AS serving the calling party receives and forwards the PRACK request, and the content of the PRACK request uses the Content-Disposition as the Early Session to carry the SDP information of the ordinary session in step S301. Go to step S311.
  • Step S311 The CAT AS serving the called party receives the PRACK request, deletes the SDP message body carried in the PRACK request, and forwards the PRACK request to UE#2. Go to step S312 o
  • Step S312 After receiving the PRACK request, UE#2 returns a 200 OK response. Go to step S313 o
  • Step S313 receiving and forwarding a 200 OK response for the CAT AS served by the called party, to step S314 o
  • Step S314 the CAT AS serving the calling party receives the 200 OK response, and forwards the 200 OK response to UE#1. Go to step S315.
  • Step S315 The CAT AS serving the called party provides the CAT service to the calling user.
  • step S302 if the CAT AS served by the calling party determines that the terminal of the calling user supports the Early Session, then in step S303, the CAT AS serving as the calling service can directly forward and receive the CAT AS.
  • the INVITE request is received, and, in step S308, the CAT AS serving the calling party does not need to perform a modification operation, and directly forwards the 180 temporary response it received in step S306.
  • Embodiment 5 The calling CAT service function control module is located in the CAT AS of the calling service.
  • the called CAT service function control module is located in the CAT AS serving the called party.
  • the CAT AS serving the calling party selects to determine the calling subscriber CAT service priority according to the calling user setting parameters or the local policy stored on the CAT AS.
  • the CAT AS of the calling service determines that the calling party's terminal supports the Early Session. In the above case, the implementation process of the CAT service is as shown in FIG.
  • message transmission processes are omitted in the flow description of FIG. 12 described below, for example, message transmission of entities such as P-CSCF, S-CSCF, I-CSCF, and MRF is omitted.
  • step S401 UE#1 sends an INVITE request to the CAT AS served by the calling party. Since UE#1 supports the Early Session, the Supported header field of the INVITE request includes the Early Session parameter. Go to step S402.
  • Step S402 The CAT AS serving the calling party receives the INVITE request, and determines, according to the Early Session parameter included in the Supported header field of the INVITE request, that the calling user's terminal supports the Early Session. Go to step S403.
  • Step S403 The CAT AS serving the calling party directly forwards the received INVITE request to the CAT AS serving the called party, to step S404.
  • Step S404 After receiving the INVITE request, the CAT AS serving the called party forwards the INVITE request to UE#2. Go to step S405.
  • Step S406 since the CAT AS serving the called party receives the Early Session parameter in the Supported header field of the INVITE request received in step 304, the CAT AS serving the called party adopts the application server mode to provide the called party.
  • the user CAT service that is, the CAT AS serving the called party, adds the SDP (offer) information of the called party CAT service whose Content-Disposition is the Early Session to the 180 response, and then forwards the information to the calling party's CAT AS. The 180 temporary response. Go to step S407.
  • Step S407 The CAT AS serving the calling party determines that the calling user CAT service has a high priority according to the calling user setting parameter stored on the CAT AS or the operator's policy. Go to step S408 o
  • Step S408 sending a Content-Disposition to the CAT AS serving the calling party as Early
  • the PRACK request for the SDP (Answer) message of the session in which the port address of all the media lines in the SDP (Answer) message is set to 0, to indicate the called user CAT service provided by the CAT AS serving the called party. Go to step S409.
  • Step S409 the CAT AS serving the called party receives the PRACK request, and according to the Content-Disposition in the PRACK request, the port address of all the media lines of the SDP information of the Early Session is set to 0, and the calling party refuses to receive the called party.
  • the CAT service of the user therefore, the CAT AS serving the called party does not apply for the media resource for the called user CAT service, and the CAT AS serving the called party deletes the SDP message body of the PRACK request, and then, to the UE# 2 Forward the PRACK request. Go to step S410.
  • Step S410 After receiving the PRACK request, UE#2 returns a 200 OK response. To the step
  • Step S411 Receive and forward a 200 OK response to the CAT AS served by the called party, to step S412 o
  • Step S412 The CAT AS serving the calling party receives the 200 OK response, and provides the calling user CAT service to the calling user by using the application server mode.
  • step S402 if the CAT AS served by the calling party determines that the terminal of the calling user does not support the Early Session, then in step S403, the CAT AS served by the calling party is in the INVITE.
  • the Supported header field of the request adds the Early Session parameter, and then forwards the INVITE request.
  • step S407 the CAT AS of the calling party service selects the called user CAT service priority, the CAT AS served by the calling party does not perform step S408, but directly forwards it in the step The temporary response received in S406, then, The CAT AS serving the called party adopts the application server mode to provide the called user CAT service to the calling user.
  • Embodiment 6 The calling CAT service function control module is located in the CAT AS of the calling service, the called CAT service function control module is located in the CAT AS serving the called party, and the calling media resource function module is located in the calling party service.
  • the CAT AS serving the calling party selects to determine the high priority of the called subscriber CAT service based on the calling subscriber setting parameters or local policies stored on the CAT AS.
  • the CAT AS serving the calling party modifies the IP address and port address of the SDP in the INVITE request to the IP address and port address of the MRF served by the calling party.
  • the CAT AS serving the called party uses the gateway mode to provide the called user with the CAT service of the called party.
  • the implementation process of the CAT service is as shown in Figure 13.
  • message transmission processes are omitted in the flow description of FIG. 13 described below, for example, message transmission of entities such as P-CSCF, S-CSCF, and I-CSCF is omitted.
  • step S501 UE#1 sends an INVITE request carrying the SDP (offer) information of the normal session in the message body. Go to step S502.
  • Step S502 The CAT AS serving the calling party receives the INVITE request, and negotiates and obtains the IP address and port address of the MRF served by the calling party by interacting with the information of the MRF serving the calling party. Go to step S503.
  • Step S503 the CAT AS serving the calling party changes the IP address and port address of the SDP information in the message body of the INVITE request to the IP address and port address negotiated in step S502, and then, the calling party The CAT AS of the party service forwards the INVITE request. Go to step S504 o
  • Step S504 Receive and forward an INVITE request for the CAT AS served by the called party. Go to step S505.
  • Step S505 UE#2 rings after receiving the INVITE request, and returns 180 temporary response. Go to step S506.
  • the 180 temporary response here can also be a 183 temporary response.
  • the CAT AS serving the called party receives the 180 temporary response, and provides the called user CAT service to the calling user in the gateway mode, and the CAT AS serving the called party carries the P-Early- in the 180 temporary response. The Media header field, and then forwards the 180 temporary response to the CAT AS serving the calling party, to step S507.
  • Step S507 The CAT AS serving the calling party selects the called user CAT service priority according to the calling user setting parameter or the local policy stored on the CAT AS. Go to step S508.
  • Step S508 The CAT AS serving the calling party exchanges the information of the MRF served by the calling party to obtain the IP address and port address of the MRF served by the calling party.
  • step S509 o The CAT AS serving the calling party exchanges the information of the MRF served by the calling party to obtain the IP address and port address of the MRF served by the calling party.
  • Step S509 because the called user CAT service has a high priority, therefore, the calling party services
  • the CAT AS changes the IP address and port address of the SDP in the 180 temporary response to the IP address and port address negotiated in step S508, and then the CAT AS serving the calling party forwards the 180 temporary to UE#1. response. Go to step S510.
  • Step S510 the CAT AS served by the calling party performs information interaction with the MRF served by the calling party, so that the MRF that requests the calling party service receives the media from the IP address and port address negotiated in step S502.
  • the flow is sent to the calling user through the IP address and port address negotiated in step S508. Go to step S511.
  • Step S511 the CAT AS serving the called party provides the called user with the called user CAT industry.
  • step S506 if the CAT AS serving the called party adopts the application server mode to provide the CAT service, That is, the Content-Disposition in the 180 temporary response carries the SDP (offer) information of the CAT service of the called user in the Early Session mode, and the CAT AS serving the calling party may not perform step S508 and step S510, but After step S507, directly executing step S509 forwards the 180 temporary response to the UE #1, and then directly executes step S511 to directly provide the called party CAT service to the calling party by the CAT AS serving the called party.
  • step S507 if the CAT AS served by the calling party selects the calling user The CAT service has a high priority, and in step S509, the CAT AS serving the calling party may provide the calling user CAT service to the calling user in the gateway mode or the application server mode; and in step S510, the calling party The CAT AS of the party service interacts with the MRF served by the calling party to request that the MRF served by the calling party discard the media stream received from the IP address and port address negotiated in step S502.
  • the CAT AS serving the calling party may first determine the terminal capability of the calling user, and after determining that the terminal of the calling user only supports P-Early-Media, perform the subsequent process.
  • Embodiment 7 The calling CAT service function control module is located in the CAT AS of the calling service, the called CAT service function control module is located in the CAT AS serving the called party, and the calling media resource function module is located in the calling party service.
  • the CAT AS serving the calling party selects to determine the priority of the calling subscriber CAT service based on the calling subscriber setting parameters or local policies stored on the CAT AS.
  • the CAT AS serving the calling party modifies the IP address and port address of the SDP in the INVITE request to the IP address and port address of the MRF served by the calling party.
  • the CAT AS serving the called party uses the application server mode to provide the called user with the called user CAT service. In the above case, the implementation process of the CAT service is as shown in FIG.
  • message transmission processes are omitted in the flow description of FIG. 14 described below, for example, message transmission of entities such as P-CSCF, S-CSCF, and I-CSCF is omitted.
  • Step S601 UE#1 sends an INVITE request carrying the SDP (offer) information of the normal session in the message body. Go to step S602.
  • Step S602 The CAT AS serving the calling party receives the INVITE request, and obtains an IP address and a port address of the MRF served by the calling party by interacting with the information of the MRF serving the calling party. Go to step S603.
  • Step S603 the CAT AS serving the calling party changes the IP address and port address of the SDP information in the message body of the INVITE request to the IP address and port address negotiated in step S602, and then, the calling party The CAT AS of the party service forwards the INVITE request.
  • Step S604 o the CAT AS serving the calling party changes the IP address and port address of the SDP information in the message body of the INVITE request to the IP address and port address negotiated in step S602, and then, the calling party The CAT AS of the party service forwards the INVITE request.
  • Step S604 Receive and forward an INVITE request for the CAT AS served by the called party. Go to step S605.
  • Step S605 UE#2 rings after receiving the INVITE request, and returns 180 temporary response. Go to step S606. It should be noted that the 180 temporary response here can also be 183 temporary response.
  • Step S606 the CAT AS serving the called party receives the 180 temporary response, and the CAT AS serving the called party adopts the application server mode to provide the called user CAT service to the UE#1, and the CAT AS serving the called party as the Content -Disposition is the Early Session mode carrying the SDP (offer) information of the called user's CAT service in the 180 temporary response. Go to step S607.
  • Step S607 The CAT AS serving the calling party selects the calling user CAT service priority according to the calling user setting parameter or the local policy stored on the CAT AS. Go to step S608.
  • Step S608 the CAT AS serving the calling party sets the Content-Disposition in the PRACK request to the SDP (Answer) information of the Early Session, and the port address of all the media lines in the SDP information is set to 0 to indicate the rejection.
  • the called user CAT service provided by the CAT AS serving the called party.
  • the PRACK request is sent by the CAT AS serving the calling party. Go to step S609.
  • Step S609 the CAT AS serving the called party receives the PRACK request, and after determining that the Content-Disposition in the PRACK request is the port address of the SDP of the Early Session is set to 0, determining that the calling user refuses to receive the called user CAT Service, therefore, the CAT AS serving the called party does not request the CAT service media resource for the called user CAT service, and deletes the SDP message body in the PRACK request, and then forwards the PRACK request to UE#2.
  • Step S610 The CAT AS serving the calling party provides the calling user CAT service to the calling user by using a gateway mode or an application server mode.
  • the embodiments of the present invention pass through the situation in which there are multiple customized ring back tone services.
  • the high-priority customized ring back tone service is selected, and the corresponding operation is triggered, which can allow the selected ring back tone service, prohibit the unselected customized ring back tone service, and thus can subscribe in multiple parties.
  • the embodiments of the present invention provide various technical solutions for implementing a customized ring back tone service, which can be applied to a variety of different application scenarios to meet various network requirements.
  • the device for implementing the customized ringback tone service provided by the embodiment of the present invention may be located in the CAT AS in the IMS domain, or in the MSC in the CS domain, or in the MGCF. Of course, it can also be located in other network devices on the network side.
  • the customized ring back tone service implementation device in Figure 15 includes: a selection module and an execution module.
  • the selection module may select a custom ringback tone service with a high priority from at least two custom ringback tone services of the call after receiving the request (eg, an INVITE request, etc.). For example, the selection module selects a high priority CAT service from the calling CAT service, the called CAT service, and the call transfer third party CAT service; or selects a high priority CAT service from the called CAT service and the called CAT service. Or choose a high priority CAT service from the called CAT service and the call transfer third party CAT service. Selecting a module can take multiple strategies To choose a high priority custom ring back tone service.
  • the selection module may select a high priority custom ring back tone service according to any of the eight policies described in the above embodiments.
  • Embodiments of the present invention do not limit the specific manifestation of a policy for selecting a high priority custom ring back tone service.
  • the specific implementation manner of the selection module to select the high-priority CAT service is as described in the foregoing method implementation manner, and the description is not repeated here.
  • the execution module After the selection module selects the high priority CAT service, the execution module obtains the selection result information of the selection module, and triggers the permission to play the selected customized ring back tone service for the calling user according to the selection result information, prohibiting the calling party
  • the user plays the operation of the customized ring back tone service that is not selected. By triggering this operation, the media stream of the selected CAT service can be transmitted to the terminal of the calling user, and the media stream of the unselected CAT service is not transmitted to the terminal of the calling user.
  • the triggering performed by the execution module can take many forms. For example, when the priority of the user's customized ringback tone service is high, the execution module notifies the opposite network node that the customized ringback tone service is not provided, and the execution module performs the operation of providing the user's customized ringback tone service on the opposite side; When the priority of the user's custom ringback tone service is high, the execution module notifies the peer network node to provide a customized ring back tone service, and the execution module does not perform the operation of providing the user's customized ring back tone service.
  • the execution module instructs the media resource function module to discard the received media stream of the customized user's ringback tone service, and the execution module performs the customization of the user on the local side.
  • Operation of the ring tone service when the priority of the user's customized ring back tone service is high, the execution module allows the media resource function module to normally transmit the media stream of the received user's customized ring back tone service, and the execution module does not execute.
  • the execution module instructs the media gateway control function entity not to perform the media gating operation for opening the customized ringback tone service media stream to the opposite user, and the execution module performs the provisioning when the priority of the user's customized ringback tone service is high.
  • the operation of the user to customize the ring back tone service is performed.
  • the execution module instructs the media gateway control function entity to perform media gate control for opening the customized ringback tone service media stream for the opposite user. Operation, and the execution module does not perform the operation of providing the user's customized ring back tone service, etc.
  • the above-mentioned side and the opposite side are for the call.
  • the selecting module and the executing module may be located on the network side corresponding to the calling user, that is, the side is Refers to the calling user side and the opposite side refers to the called user side.
  • the selection module and the execution module may be located on the network side corresponding to the called user, that is, the current side refers to the called user side, and the opposite side is
  • the third-party user in the embodiment of the present invention is the first execution sub-module, the second execution sub-module, the third execution sub-module, the fourth execution sub-module, the fifth execution sub-module, and the sixth executive.
  • the module, the seventh execution sub-module, the eighth execution sub-module, the ninth execution sub-module, the tenth execution sub-module, and the eleventh execution sub-module are at least one sub-module; in addition, the execution module may optionally include Determining at least one of the submodule and the address acquisition submodule.
  • the first execution sub-module indicates whether the opposite-side network node provides a customized ring-back tone service according to the selection result of the selection module. For example, when the first execution sub-module determines that the user-defined ringback tone service priority is high, the first execution sub-module performs the operation of providing the local user customized ring-back tone service, and directly sends the selected customized back to the opposite-side network node.
  • the information of the ring tone service is used to indicate that the peer network node does not apply for the ring back tone service for the opposite user to apply for the media resource; for example, when the first execution submodule determines that the opposite user has a customized ring back tone service priority, The operation of providing the local user's customized ring back tone service is not performed, and the information of the selected customized ring back tone service is directly sent to the opposite side network node, so as to instruct the opposite side network node to customize the ring back tone service request for the opposite user.
  • the first execution sub-module performs the operation of providing the local user's customized ring back tone service when determining that the user's customized ring back tone service has a high priority, and controls the function entity to the opposite side through the media gateway.
  • the network node sends the information of the selected customized ring back tone service to indicate that the opposite network node does not customize the ring back tone service request for the opposite user.
  • the first execution sub-module does not perform the operation of providing the local user's customized ring back tone service when the priority of the user's customized ring back tone service is high, and the function is controlled by the media gateway control function entity.
  • the side network node sends the information of the selected customized ring back tone service to instruct the peer network node to apply for a ringback tone service for the opposite party.
  • the first execution sub-module may carry the information of the selected customized ring-back tone service in the INVITE message, and the MGCF may carry the information of the selected customized ring-back tone service in the IAM.
  • the specific carrying mode, the message interaction process, and the operations performed after the peer network node receives the message are as described in the foregoing method embodiments, and the description is not repeated here.
  • the determination sub-module determines whether the calling user terminal supports the application server mode, and outputs the notification information when the calling user terminal does not support the application server mode, the first executable After receiving the notification of the judgment sub-module, the module performs the above operation according to the selection result of the selection module.
  • the method for judging the sub-module to determine that the calling user terminal releases the support application server mode is as described in the foregoing method embodiment, and the description thereof will not be repeated here.
  • the second execution sub-module indicates, according to the selection result of the selection module, whether the media gateway control function entity opens the media gating. For example, when the priority of the user-defined ringback tone service is high, the second execution sub-module performs an operation of providing the user-side customized ring-back tone service, and directly sends the selected customization to the media gateway control function entity.
  • the information of the ring back tone service to indicate that the media gateway control function entity does not perform the media gating operation of opening the media gateway; for example, when the second execution sub-module determines that the opposite user's customized ring back tone service has a high priority
  • the operation of providing the user's customized ring back tone service is not performed, and the information is directly sent to the media gateway control function entity to instruct the media gateway control function entity to perform the media gating operation of opening the media gateway.
  • the second execution sub-module may carry the information of the selected customized ring back tone service in the INVITE message.
  • the manner in which the information of the selected ring back tone service is carried in the INVITE message, and the operation performed by the media gateway control function entity are as described in the foregoing method embodiments.
  • the determination sub-module determines whether the calling user terminal supports the application server mode, and outputs the notification information when the calling user terminal does not support the application server mode, and the second executable After receiving the notification of the judgment sub-module, the module performs the above operation according to the selection result of the selection module.
  • the method for determining that the calling user terminal releases the support application server mode is as described in the foregoing method implementation manner, and is not repeated here. Bright.
  • a third execution sub-module configured to indicate, according to the selection result of the selection module, whether the media resource function module discards the customized ring back tone service media stream; for example, when the user has customized the ring back tone service priority, the media resource function module is indicated Discarding the received media stream of the user's customized ringback tone service, and the third execution sub-module performs the operation of providing the local user's customized ringback tone service; when the opposite user customizes the ringback tone service with a high priority,
  • the third execution sub-module allows the media resource function module to normally transmit the media stream of the user's customized ringback tone service, and the third execution sub-module does not perform the operation of providing the user-side custom ringback tone service.
  • the execution module includes the determination sub-module
  • the determination sub-module determines whether the calling user terminal supports the application server mode, and outputs the notification information when the calling user terminal does not support the application server mode, and the third executable After receiving the notification of the judgment sub-module, the module performs the above operation according to the selection result of the selection module.
  • the method for judging the sub-module to determine that the calling user terminal releases the support application server mode is as described in the foregoing method embodiment, and the description thereof will not be repeated here.
  • the fourth execution submodule indicates, according to the selection result of the selection module, whether the media resource function module turns off the receiving address of the customized ring back tone service media stream. For example, when the priority of the user's customized ringback tone service is high, the media resource function module is instructed to close the receiving address of the media stream that receives the customized ringback tone service of the opposite user, and the fourth execution submodule performs the provision of the local user customization. The operation of the ring back tone service.
  • the fourth execution sub-module allows the media resource function module to normally transmit the media stream of the received user-backed ringback tone service, and the fourth execution sub-module does not execute, when the priority of the user-defined ringback tone service is high. Provides operations for custom ringback tone services on the local side.
  • the determination sub-module determines whether the calling user terminal supports the application server mode, and outputs the notification information when the calling user terminal does not support the application server mode, and the fourth executive After receiving the notification of the judgment sub-module, the module performs the above operation according to the selection result of the selection module.
  • the method for determining that the calling user terminal releases the support application server mode is as described in the foregoing method implementation manner, and is not repeated here. Bright.
  • the selection module determines that the user-defined ringback tone service priority is high, the selection module sends a media stream rejecting the customized ringback tone service to the opposite network node regardless of whether the terminal of the calling user supports the application server mode.
  • the information indicates that the media stream that does not send the customized ring back tone service to the peer network node indicates that the customized ring back tone service provided by the called party's network node is rejected.
  • the sixth execution sub-module performs a normal message forwarding process by using the application server mode when the selection module determines that the opposite user has a high priority of the customized ringback tone service and determines that the calling user terminal supports the application server mode, and does not
  • the network node on the called side sends the rejection information, and does not provide the calling user with the customized ringback tone service of the calling user.
  • the sixth execution submodule forwards the response message forwarded by the opposite network node to the INVITE request to allow the pair.
  • the side network node sends a media stream of the customized ring back tone service.
  • the seventh execution sub-module needs to forward to the calling user when the selection module determines that the opposite-side user customizes the ring-back tone service has a high priority and determines that the calling user terminal does not support the application server mode.
  • the message is converted into a gateway mode-based message and forwarded, and the application server mode is used to send the permission information to the network node on the called side to indicate the customized ringback tone service of the called user provided by the network node on the called side, and not Providing the calling user with a customized ring back tone service of the calling user, etc.; for example, the seventh executing submodule converts the response message for the INVITE request forwarded by the opposite side network node into a response message for the INVITE request based on the gateway mode.
  • the eighth execution sub-module in the case that the opposite-side network node adopts the gateway mode to provide the customized ring-back tone service, and the selection module determines that the opposite-side user customizes the ring-back tone service has a high priority, the eighth execution sub-module and the local-side media resource
  • the function module exchanges information to obtain the function mode of the media resource on the local side.
  • the block outputs the address information (second address information) of the media stream of the customized ring back tone service, and then informs the terminal of the user of the local side of the second address information, and indicates that the media resource function module of the local side is received from the first address.
  • the media stream of the customized ring back tone service is sent to the calling user through the second address, and the eighth execution submodule does not perform the operation of providing the customized ring back tone service of the user on the side.
  • the gateway mode of the peer network node may be that the peer network node actively adopts the gateway mode, or may adopt the gateway mode passively according to the message sent by the eighth execution submodule.
  • the predetermined address may be provided by the address acquisition submodule to the eighth execution submodule.
  • the address obtaining sub-module negotiates and acquires the first address information by performing information exchange with the local media resource function module when the device that the device is in the INVITE request and the calling user terminal does not support the application server mode.
  • the first address information may be an IP address and port address information.
  • the eighth execution submodule may notify the network node of the opposite side of the first address information.
  • the manner of the notification may be: after receiving the INVITE message, the eighth execution sub-module carries the first address information in the INVITE message and sends the message to the network node on the called side.
  • the embodiment of the present invention does not exclude the eighth execution sub-module from using other messages to notify the network node on the called side of the implementation of the first address information.
  • the specific implementation process is as described in the foregoing method implementation manner, and the description is not repeated here.
  • the ninth execution sub-module indicates that the media resource function module discards the reception from the predetermined address when the opposite-side network node provides the customized ring-back tone service in the gateway mode, and the selection module determines that the user-defined ring-back tone service priority is high.
  • the customized media stream of the ring back tone service, and the ninth execution submodule does not perform the operation of providing the customized ring back tone service of the user on the side.
  • the gateway mode of the peer network node may be that the peer network node actively adopts the gateway mode, or may adopt the gateway mode passively according to the message sent by the ninth execution submodule.
  • the predetermined address may also be provided by the address acquisition submodule.
  • the address obtaining sub-module negotiates and acquires the first address information by performing information exchange with the local media resource function module when the device that the device is in the INVITE request and the calling user terminal does not support the application server mode.
  • the first address information may be an IP address and port address information.
  • the ninth execution The submodule may notify the network node of the opposite side of the first address information. Specifically, as described in the above embodiments, the description will not be repeated here.
  • a tenth execution sub-module configured to: when the opposite-side network node adopts an application server mode to provide a customized ring-back tone service, and the selection module determines that the opposite-side user customizes the ring-back tone service has a high priority, the forwarding peer network node sends the packet
  • the response information for the INVITE request is not performed, and the operation of providing the user's customized ring back tone service is not performed.
  • the application server mode of the peer network node may be that the peer network node actively adopts the application server mode, or may adopt the application server mode passively according to the message sent by the tenth execution submodule. Specifically, as described in the above embodiment, the description will not be repeated here.
  • the eleventh execution sub-module sends a custom ringback tone service to the opposite-side network node when the opposite-side network node provides the customized ring-back tone service in the application server mode, and the selection module determines that the user-defined ring-back tone service priority is high.
  • the information of the ring tone service media stream is used to indicate that the opposite network node does not send the media stream of the customized ring back tone service, and the eleventh execution submodule performs the operation of providing the caller user customized ring back tone service.
  • the application server mode of the peer network node may be that the peer network node actively adopts the application server mode, or may adopt the application server mode passively according to the message sent by the eleventh execution submodule. Specifically, as described in the above embodiment, the description is not repeated here.

Abstract

A method and a device for enabling Customized Alerting Tones (CAT) service belonging to the communication technical field is provided by the embodiments of the present invention. The method includes that: During calling, the network node with the control function for Customized Alerting Tones service of the first CAT service side selects a Customized Alerting Tones service from the first CAT service provided by the first CAT service side which is calling and the second CAT service provided by the second CAT service side; the network node provides the selected Customized Alerting Tones service for the caller, and prohibits the caller from being provided with the Customized Alerting Tones service which is not selected. When the call is between the caller and callee, the network node can be positioned at the caller side, and when the call is between the callee and the third party user of call transferring, the network node can be positioned at the callee side. In the case of Customized Alerting Tones service subscribed by multiparty, the present technical solution can avoid the problem that the caller receives multiple alerting tones fixing together, improve the flexibility to enable Customized Alerting Tones services, and improve the user experience about the Customized Alerting Tones service.

Description

定制回铃音业务的实现方法和装置  Method and device for implementing customized ring back tone service
技术领域 Technical field
本发明涉及网络通讯技术领域, 具体涉及定制回铃音业务的实现方法和 定制回铃音业务的实现装置。  The present invention relates to the field of network communication technologies, and specifically relates to a method for implementing a customized ring back tone service and an apparatus for implementing a customized ring back tone service.
背景技术 Background technique
Customized Alerting Tones (定制回铃音, CAT) 业务广泛应用在 Public Switched Telephone Network (公众交换电话网, PSTN ) 、 以及 Global System for Mobile Communiactions (全球移动通信系统, GSM) 等系统中。  Customized Alerting Tones (CAT) services are widely used in systems such as the Public Switched Telephone Network (PSTN) and Global System for Mobile Communiactions (GSM).
在因特网工程任务组 (IETF ) 制定的 RFC3959、 RFC3960, RFC5009 标准文档中对采用会话初始协议 (SIP) 实现早期媒体业务给出了两种实现 方案: 网关 (Gateway) 模式和应用服务器 (AppliCATion Server) 模式。  In the RFC3959, RFC3960, and RFC5009 standard documents developed by the Internet Engineering Task Force (IETF), two implementation schemes are implemented for implementing early media services using Session Initiation Protocol (SIP): Gateway mode and application server (AppliCATion Server) mode.
采用 Gateway模式时, 用户代理服务器端 (UAS) 通过可靠临时响应机 制、 更新 (UPDATE) 请求与用户代理客户端 (UAC) 完成早期媒体的协 商, 实现早期媒体业务, 在该模式中早期媒体和普通会话的会话描述协议请 求 (SDP Offer) 相同; 而 Application Server模式则通过扩展一个新的内容 部署 (Content Disposition) 类型早期会话 (early session) 来承载早期媒体 的会话描述协议 (SDP ) , 使 UAC 和 UAS 之间通过此类型 Content Disposition来实现早期媒体的协商, 实现早期媒体业务, 在该模式中, 早期 媒体流的 SDP和普通会话的 SDP之间完全独立。  When using Gateway mode, the User Agent Server (UAS) implements early media negotiation with the User Agent Client (UAC) through a reliable temporary response mechanism, update (UPDATE) request, and implements early media services. In this mode, early media and normal The Session Description Protocol Request (SDP Offer) is the same for the session; the Application Server pattern carries the Early Session Session Description Protocol (SDP) by extending a new Content Disposition type early session, enabling UAC and UAS uses this type of Content Disposition to implement early media negotiation and implement early media services. In this mode, the SDP of the early media stream and the SDP of the normal session are completely independent.
为丰富 CAT业务, 目前, 主叫方可以订阅 CAT业务, 这样, 在主叫方 拨打被叫方时, 主叫方可以体验其订阅的 CAT业务。  To enrich the CAT service, the calling party can now subscribe to the CAT service, so that when the calling party dials the called party, the calling party can experience the CAT service subscribed to by the calling party.
在实现本发明的过程中, 发明人发现: 如果多方均订阅了 CAT业务, 则会产生主叫方接收到多个混合在一起的回铃音的现象, 例如主叫方、 被叫 方均订阅了 CAT业务, 则主叫方会接收到两个混合在一起的回铃音; 再例 如, 如果主叫方、 被叫方、 呼叫转移的第三方均订阅了 CAT业务, 则主叫 方会接收到三个混合在一起的回铃音。 因此, 现有的 CAT业务实现过程会导致用户对 CAT业务体验差。 In the process of implementing the present invention, the inventor finds that: if multiple parties subscribe to the CAT service, a phenomenon occurs in which the calling party receives a plurality of mixed ring back tones, for example, the calling party and the called party subscribe. For the CAT service, the calling party will receive two ringback tones that are mixed together; for example, if the calling party, the called party, and the third party of the call forwarding subscribe to the CAT service, the calling party will receive Go to three ringback tones that are mixed together. Therefore, the existing CAT service implementation process will result in poor user experience with CAT services.
发明内容 Summary of the invention
本发明实施方式提供定制回铃音业务实现方法和装置, 在多方订阅 CAT业务的情况下, 能够避免主叫方接收到多个混合在一起的回铃音的问 题, 提高了定制回铃音业务的实现灵活性, 提高了用户对 CAT业务体验。  The embodiment of the present invention provides a method and an apparatus for implementing a customized ring back tone service. When a multi-party subscribes to a CAT service, the problem that the calling party receives multiple mixed ring back tones can be avoided, and the customized ring back tone service is improved. The flexibility of implementation increases the user experience with the CAT service.
本发明实施方式提供的一种定制回铃音业务实现方法, 包括: 在呼叫过程中, 第一 CAT业务侧具有定制回铃音业务控制功能的网络 节点从所述呼叫的第一 CAT业务侧提供的第一 CAT业务和第二 CAT业务 侧提供的第二 CAT业务中选择一个定制回铃音业务;  A method for implementing a customized ring back tone service according to an embodiment of the present invention includes: during a call, a network node having a customized ring back tone service control function on a first CAT service side is provided from a first CAT service side of the call Selecting a customized ring back tone service from the first CAT service and the second CAT service provided by the second CAT service side;
所述网络节点向主叫用户提供所述选择的定制回铃音业务、 禁止为主叫 用户提供未被选择的定制回铃音业务。  The network node provides the selected customized ring back tone service to the calling user, and prohibits the calling user from providing the customized ring back tone service that is not selected.
本发明实施方式提供的一种定制回铃音业务实现装置, 包括: 选择模块, 用于在呼叫过程中, 从所述呼叫的至少两个定制回铃音业务 中选择具有高优先级的定制回铃音业务;  The device for implementing the customized ring back tone service provided by the embodiment of the present invention includes: a selecting module, configured to select a custom back with a high priority from at least two customized ring back tone services of the call during a call Ring tone service;
执行模块, 用于根据选择模块的选择结果触发允许为主叫用户播放所述 选择的定制回铃音业务、 禁止为主叫用户播放未被选择的定制回铃音业务的 操作。  And an execution module, configured to trigger, according to the selection result of the selection module, the operation of allowing the selected user to play the selected customized ring back tone service, and prohibiting the calling user from playing the unselected customized ring back tone service.
通过上述技术方案的描述可知, 在存在多个定制回铃音业务的情况下, 通过选择高优先级的定制回铃音业务, 并允许选择的回铃音业务、 禁止未被 选择的定制回铃音业务, 能够在多方订阅 CAT业务的情况下, 避免主叫方 接收到多个混合在一起的回铃音的问题, 提高了定制回铃音业务的实现灵活 性, 提高了用户对 CAT业务体验。  According to the description of the foregoing technical solution, in the case that there are multiple customized ring back tone services, the high priority mobile ring back tone service is selected, and the selected ring back tone service is allowed, and the unselected customized ring back tone is prohibited. The voice service can avoid the problem that the calling party receives multiple mixed ring back tones when the multi-party subscribes to the CAT service, improves the flexibility of the customized ring back tone service, and improves the user experience of the CAT service. .
附图说明 DRAWINGS
图 1是本发明实施方式的定制回铃音业务实现流程示意图一; 图 2是本发明实施方式的定制回铃音业务实现流程示意图二; 图 3是本发明实施方式的定制回铃音业务实现流程示意图三; 图 4是本发明实施方式的定制回铃音业务实现流程示意图四; 1 is a schematic diagram 1 of a process for implementing a customized ring back tone service according to an embodiment of the present invention; FIG. 2 is a schematic diagram 2 of a process for implementing a customized ring back tone service according to an embodiment of the present invention; FIG. 3 is a schematic diagram of implementing a customized ring back tone service according to an embodiment of the present invention; Process diagram three; 4 is a schematic diagram 4 of a process for implementing a customized ring back tone service according to an embodiment of the present invention;
图 5是本发明实施方式的定制回铃音业务实现流程示意图五;  5 is a schematic diagram 5 of a process for implementing a customized ring back tone service according to an embodiment of the present invention;
图 6是本发明实施方式的定制回铃音业务实现流程示意图六;  6 is a schematic diagram 6 of a process for implementing a customized ring back tone service according to an embodiment of the present invention;
图 7是本发明实施方式的定制回铃音业务实现流程示意图七;  7 is a schematic diagram 7 of a process for implementing a customized ring back tone service according to an embodiment of the present invention;
图 8是本发明实施方式的定制回铃音业务实现流程示意图八;  8 is a schematic diagram 8 of a process for implementing a customized ring back tone service according to an embodiment of the present invention;
图 9是本发明实施方式的定制回铃音业务实现流程示意图九;  9 is a schematic diagram IX of a process for implementing a customized ring back tone service according to an embodiment of the present invention;
图 10是本发明实施方式的定制回铃音业务实现流程示意图十; 图 11是本发明实施方式的定制回铃音业务实现流程示意图十一; 图 12是本发明实施方式的定制回铃音业务实现流程示意图十二; 图 13是本发明实施方式的定制回铃音业务实现流程示意图十三; 图 14是本发明实施方式的定制回铃音业务实现流程示意图十四; 图 15是本发明实施方式的定制回铃音业务实现装置示意图;  10 is a schematic flowchart of a process for implementing a customized ring back tone service according to an embodiment of the present invention; FIG. 11 is a schematic flowchart of a process for implementing a customized ring back tone service according to an embodiment of the present invention; FIG. 12 is a customized ring back tone service according to an embodiment of the present invention; FIG. 13 is a schematic diagram of a process for implementing a customized ring back tone service according to an embodiment of the present invention; FIG. 14 is a schematic flowchart of a process for implementing a customized ring back tone service according to an embodiment of the present invention; FIG. Schematic diagram of a customized ring back tone service implementation device;
图 16是本发明实施方式的定制回铃音业务实现流程示意图十五; 图 17是本发明实施方式的定制回铃音业务实现流程示意图十六; 图 18是本发明实施方式的定制回铃音业务实现流程示意图十七。  16 is a schematic flowchart of a process for implementing a customized ring back tone service according to an embodiment of the present invention; FIG. 17 is a schematic flowchart of a process for implementing a customized ring back tone service according to an embodiment of the present invention; FIG. 18 is a customized ring back tone according to an embodiment of the present invention; Schematic diagram of the business realization process.
具体实施方式 detailed description
在主叫用户与被叫用户之间的呼叫过程中, 位于主叫侧的具有 CAT业 务控制功能的网络节点如果能够从呼叫的至少两个定制回铃音业务中选择具 有高优先级的定制回铃音业务, 之后, 只为主叫用户提供选择的定制回铃音 业务, 而不为主叫用户提供未选择的定制回铃音业务, 则能够有效避免主叫 用户接收到混合在一起的多个回铃音的现象。 这里的具有 CAT业务控制功 能的网络节点如 IMS域中具有主叫 CAT业务功能控制模块的网络设备、 或 者 CS域中具有主叫 CAT业务功能控制模块的网络设备等。 IMS域中具有 主叫 CAT业务功能控制模块的网络设备如定制回铃音应用服务器 (CAT AS) 。 CS域中具有主叫 CAT业务功能控制模块的网络设备如移动交换中 心 (MSC) 。 这里的至少两个定制回铃音业务可以包括: 主叫定制回铃音 业务、 被叫定制回铃音业务和呼叫转移第三方定制回铃音业务中的任意两个 或三个。 During the call between the calling user and the called user, the network node with the CAT service control function located on the calling side can select a custom back with high priority from at least two customized ring back tone services of the call. After the ring tone service is provided, only the customized ring back tone service selected by the calling user is provided, and the unselected customized ring back tone service is not provided to the calling user, which can effectively prevent the calling user from receiving the mixed mix. The phenomenon of ringback tone. Here, the network node having the CAT service control function, such as a network device having a calling CAT service function control module in the IMS domain, or a network device having a calling CAT service function control module in the CS domain. A network device having a calling CAT service function control module in the IMS domain, such as a custom ring back tone application server (CAT AS). A network device having a calling CAT service function control module in the CS domain, such as a mobile switching center (MSC). At least two custom ring back tone services herein may include: a caller custom ring back tone Any two or three of the service, the called customized ring back tone service, and the call transfer third party customized ring back tone service.
在被叫用户与呼叫转移第三方用户之间的呼叫过程中, 位于被叫侧的具 有 CAT业务控制功能的网络节点如果能够从呼叫的至少两个定制回铃音业 务中选择具有高优先级的定制回铃音业务, 之后, 只为主叫用户提供选择的 定制回铃音业务, 而不为主叫用户提供未选择的定制回铃音业务, 则能够避 免主叫用户接收到混合在一起的多个回铃音的现象。 这里的具有 CAT业务 控制功能的网络节点如 IMS域中具有被叫 CAT业务功能控制模块的网络设 备 (如 CAT AS) 、 或者 CS域中的具有主叫 CAT业务功能控制模块的网络 设备 (如 MSC) 等。 这里的至少两个定制回铃音业务可以包括: 被叫定制 回铃音业务和呼叫转移第三方定制回铃音业务。  During the call between the called user and the call transfer third party user, the network node with the CAT service control function located on the called side can select a high priority from at least two customized ring back tone services of the call. Customizing the ring back tone service, after which only the selected ring back tone service is selected for the calling user, and the unselected customized ring back tone service is not provided to the calling user, so that the calling user can be prevented from receiving the mixed ring tone service. The phenomenon of multiple ring back tones. Here, the network node having the CAT service control function, such as a network device (such as a CAT AS) having a called CAT service function control module in the IMS domain, or a network device (such as an MSC) having a calling CAT service function control module in the CS domain. ) Wait. The at least two customized ring back tone services herein may include: a called customized ring back tone service and a call transfer third party customized ring back tone service.
上述只为主叫用户提供选择的定制回铃音业务, 而不为主叫用户提供未 选择的定制回铃音业务可以由网络节点执行的触发操作来实现。 网络节点执 行的触发操作可以为多种形式。 例如: 在本侧用户定制回铃音业务优先级高 时, 通知对侧网络节点不提供定制回铃音业务、 且该网络节点执行提供本侧 用户定制回铃音业务的操作, 这里的提供本侧用户定制回铃音业务的操作可 以采用现有的操作; 在对侧用户定制回铃音业务优先级高时, 通知对侧网络 节点提供定制回铃音业务, 且该网络节点不执行提供本侧用户定制回铃音业 务的操作。 再例如: 在本侧用户定制回铃音业务优先级高时, 指示媒体资源 功能模块丢弃接收到的对侧用户定制回铃音业务的媒体流、 且该网络节点执 行提供本侧用户定制回铃音业务的操作; 在对侧用户定制回铃音业务优先级 高时, 允许媒体资源功能模块正常传输其接收到的对侧用户定制回铃音业务 的媒体流, 且该网络节点不执行提供本侧用户定制回铃音业务的操作。 还 有: 在本侧用户定制回铃音业务优先级高时, 指示媒体网关控制功能实体不 执行打开针对对侧用户定制回铃音业务媒体流的媒体门控操作、 且该网络节 点执行提供本侧用户定制回铃音业务的操作; 在对侧用户定制回铃音业务优 先级高时, 指示媒体网关控制功能实体执行打开针对对侧用户定制回铃音业 务媒体流的媒体门控操作、 且该网络节点不执行提供本侧用户定制回铃音业 务的操作等等。 The above-mentioned only customized ring back tone service is provided to the calling user, and the unselected customized ring back tone service is not provided to the calling user by the triggering operation performed by the network node. The triggering operations performed by the network node can take many forms. For example, when the priority of the user's customized ringback tone service is high, the peer network node is notified that the customized ringback tone service is not provided, and the network node performs the operation of providing the user's customized ringback tone service. The operation of the user to customize the ring back tone service may be performed by using an existing operation. When the priority of the user's customized ring back tone service is high, the peer network node is notified to provide a customized ring back tone service, and the network node does not perform the provisioning service. The side user customizes the operation of the ring back tone service. For example, when the priority of the user's customized ringback tone service is high, the media resource function module is instructed to discard the media stream of the received user's customized ringback tone service, and the network node performs the provision of the user's customized ringback. Operation of the voice service; when the priority of the user's customized ring back tone service is high, the media resource function module is allowed to normally transmit the media stream of the received user's customized ring back tone service, and the network node does not perform the provisioning of the service. The side user customizes the operation of the ring back tone service. In addition, when the priority of the user's custom ringback tone service is high, the media gateway control function entity is instructed not to perform the media gating operation for opening the customized ringback tone service media stream for the opposite user, and the network node performs the provisioning The user customizes the operation of the ring back tone service; the user customizes the ring back tone service at the opposite side. When the first level is high, the media gateway control function entity is instructed to perform the media gating operation for opening the customized ring back tone service media stream for the opposite user, and the network node does not perform the operation of providing the local user customized ring back tone service, and the like.
图 16描述了本发明提供的定制回铃音业务实现方法流程。  FIG. 16 is a flowchart of a method for implementing a customized ring back tone service provided by the present invention.
其中当第一 CAT业务侧为主叫所在网络时, 第二 CAT业务侧可以为被 叫所在的网络或者为被叫前转后的用户所在的网络; 当第一 CAT业务侧为 被叫所在的网络时, 第二 CAT业务侧可以为被叫前转后的用户所在的网 络。 在图 16中:  When the first CAT service side is the network where the call is located, the second CAT service side may be the network where the called party is located or the network where the called party is forwarded; when the first CAT service side is the called party In the network, the second CAT service side may be the network where the user after the call is forwarded. In Figure 16:
歩骤 1 : 第一 CAT业务侧接收到会话请求消息, 所述的会话请求消息 可以为 INVITE请求;  Step 1: The first CAT service side receives a session request message, and the session request message may be an INVITE request;
歩骤 2: 第一 CAT业务侧选择第一 CAT业务或者第二 CAT业务, 选 择方法可以为下列描述中的一种或几种组合:  Step 2: The first CAT service side selects the first CAT service or the second CAT service, and the selection method may be one or a combination of the following descriptions:
a、 根据用户定制回铃音业务设置参数选择。  a. According to the user's customized ring back tone service setting parameter selection.
b、 根据预先设置的本地策略选择。 这里的本地策略可以是由运营商根 据需要设置的策略。  b. Select according to the local policy set in advance. The local policy here can be a policy set by the operator according to needs.
c、 根据历史选择结果选择。  c. Select according to the historical selection result.
上述选择可以是在接收到会话请求后执行, 也可以是在接收到第二 CAT业务侧反馈的会话请求的响应消息后执行;  The foregoing selection may be performed after receiving the session request, or may be performed after receiving the response message of the session request fed back by the second CAT service side;
当上述第一 CAT业务侧选择第一 CAT业务时, 可以选择下列一种方法 或者多种方法的组合向主叫终端提供第一 CAT业务:  When the first CAT service side selects the first CAT service, the following one method or a combination of multiple methods may be selected to provide the first CAT service to the calling terminal:
方法 1 ) 向第二 CAT业务侧发送 CAT业务指示信息, 所述 CAT业务 指示信息用来通知第二 CAT业务侧不提供 CAT业务, 或者用来通知给第二 CAT业务侧所述第一 CAT业务侧提供 CAT业务, 如歩骤 3a所示;  Method 1) Sending CAT service indication information to the second CAT service side, where the CAT service indication information is used to notify the second CAT service side that the CAT service is not provided, or is used to notify the second CAT service side of the first CAT service. Providing CAT services on the side, as shown in step 3a;
方法 2) 接收到第二 CAT业务侧发送的 CAT业务请求之后, 向第二 CAT业务侧发送拒绝 CAT业务请求的响应信息, 如歩骤 3b所示;  Method 2) After receiving the CAT service request sent by the second CAT service side, sending a response message rejecting the CAT service request to the second CAT service side, as shown in step 3b;
方法 3 ) 丢弃第二 CAT业务侧发送的 CAT媒体流, 如歩骤 3c所示。 当上述第一 CAT业务侧选择第一 CAT业务时, 第一 CAT业务侧可以 根据接收到的所述会话请求消息中携带的能力信息选择上述方法, 例如:Method 3) Discard the CAT media stream sent by the second CAT service side, as shown in step 3c. When the first CAT service side selects the first CAT service, the first CAT service side may select the foregoing method according to the received capability information carried in the session request message, for example:
A) 当所述能力信息表示不支持 Early Session时, 例如: 所述的会话请 求中的 Supported头域没有携带 Early Session参数, 第一 CAT业务侧可以选 择所述方法 1 ) 或者所述方法 3 ) ; A) When the capability information indicates that the Early Session is not supported, for example, the Supported header field in the session request does not carry the Early Session parameter, and the first CAT service side may select the method 1) or the method 3) ;
B) 当所述能力信息表示支持 Early Session时, 例如: 所述的会话请求 中的 Supported头域携带 Early Session参数, 第一 CAT业务侧可以选择所述 方法 2) ;  B) When the capability information indicates that the Early Session is supported, for example, the Supported header field in the session request carries the Early Session parameter, and the first CAT service side may select the method 2);
C) 当所述能力信息表示不支持 Early Session时, 第一 CAT业务侧可 以选择所述方法 2 ) , 此时第一 CAT业务侧在向第二 CAT业务侧发送的会 话请求中增加能力信息表示支持 Early Session, 例如: 在所述的会话请求中 的 Supported头域中携带 Early Session参数, 第一 CAT业务侧通过所述方法 2) 拒绝第二 CAT业务侧的 CAT业务请求, 并且通过网关模式向主叫终端 提供第一 CAT业务。  C) When the capability information indicates that the Early Session is not supported, the first CAT service side may select the method 2), and the first CAT service side adds the capability information representation in the session request sent to the second CAT service side. Supporting the Early Session, for example: carrying the Early Session parameter in the Supported header field in the session request, the first CAT service side rejects the CAT service request of the second CAT service side by the method 2), and passes the gateway mode to The calling terminal provides the first CAT service.
当上述选择的方法失败或者不可行时, 可以继续选择其他的方法。 当上述第一 CAT业务侧选择第二 CAT业务时, 可以选择下列一种方法 或者多种方法的组合向主叫终端提供第二 CAT业务:  When the above selected method fails or is not feasible, you can continue to select other methods. When the first CAT service side selects the second CAT service, the following one method or a combination of multiple methods may be selected to provide the second CAT service to the calling terminal:
方法 4 ) 不向第二 CAT业务侧发送 CAT业务指示信息, 或者向第二 CAT业务侧发送 CAT业务指示信息, 所述 CAT业务指示信息用来通知第 二 CAT业务侧提供 CAT业务, 或者用来通知给第二 CAT业务侧所述第一 CAT业务侧不提供 CAT业务;  Method 4) The CAT service indication information is not sent to the second CAT service side, or the CAT service indication information is sent to the second CAT service side, where the CAT service indication information is used to notify the second CAT service side to provide the CAT service, or Notifying that the first CAT service side of the second CAT service side does not provide the CAT service;
方法 5 ) 接收到第二 CAT业务侧发送的 CAT业务请求之后, 向主叫终 端转发 CAT业务请求;  Method 5) After receiving the CAT service request sent by the second CAT service side, forwarding the CAT service request to the calling terminal;
方法 6) 向主叫终端转发第二 CAT业务侧发送的 CAT媒体流。  Method 6) Forwarding the CAT media stream sent by the second CAT service side to the calling terminal.
当上述选择的方法失败或者不可行时, 可以继续选择其他的方法。 当第一 CAT业务侧使用所述方法 1 ) 时, 所述的 CAT业务指示信息可 以在所述的会话请求中携带, 也可以通过其它消息携带, 例如: UPDATE 请求消息或 PRACK请求消息, 第二 CAT业务侧可以根据所述 CAT业务指 示信息不触发第二 CAT业务, 例如第二 CAT业务侧中的 S-CSCF根据所述 CAT业务指示信息不触发第二 CAT业务侧的 CAT应用服务器, 或者第二 CAT业务侧中的 S-CSCF触发第二 CAT业务侧的 CAT应用服务器之后, 第 二 CAT业务侧的 CAT应用服务器根据所述 CAT业务指示信息不触发 CAT 业务。 When the above selected method fails or is not feasible, you can continue to select other methods. When the first CAT service side uses the method 1), the CAT service indication information may be The second CAT service side may not trigger the second CAT service according to the CAT service indication information, for example, the second CAT service side may be carried by the other CAT service, such as the UPDATE request message or the PRACK request message. The S-CSCF in the CAT service side does not trigger the CAT application server on the second CAT service side according to the CAT service indication information, or the S-CSCF in the second CAT service side triggers the CAT application server on the second CAT service side. The CAT application server on the second CAT service side does not trigger the CAT service according to the CAT service indication information.
图 17描述了所述方法 2) 的具体实现流程。  Figure 17 depicts the specific implementation flow of the method 2).
歩骤 1701 : 第一 CAT业务侧向第二 CAT业务侧转发会话请求消息; 歩骤 1702: 第二 CAT业务侧向第一 CAT业务侧发送会话请求响应消 息第二, 其中携带第二 CAT业务请求, 例如通过 Early Session的 SDP offer 携带第二 CAT业务侧的 CAT业务媒体信息;  Step 1701: The first CAT service side forwards the session request message to the second CAT service side. Step 1702: The second CAT service side sends a session request response message to the first CAT service side, where the second CAT service request is carried. For example, the SDP offer of the Early Session carries the CAT service media information of the second CAT service side;
歩骤 1703: 第一 CAT业务侧向第二 CAT业务侧反馈请求响应的应答 消息, 其中携带第二 CAT业务的拒绝信息, 例如通过将 Early Session的 SDP answer中的媒体行端口地址置为 0来拒绝第二 CAT业务请求。  Step 1703: The first CAT service side feeds back a response message of the request response to the second CAT service side, where the rejection information of the second CAT service is carried, for example, by setting the media line port address in the SDP answer of the Early Session to 0. Reject the second CAT service request.
图 18描述了所述方法 3 ) 的具体实现流程。  Figure 18 depicts a specific implementation flow of the method 3).
歩骤 1801 : 第一 CAT业务侧将接收到的会话请求消息中的 SDP的 IP 地址和端口更改为第一 CAT功能控制模块的媒体资源的 IP地址和端口, 然 后将修改后的会话请求消息给第二 CAT业务侧;  Step 1801: The first CAT service side changes the IP address and port of the SDP in the received session request message to the IP address and port of the media resource of the first CAT function control module, and then sends the modified session request message to Second CAT service side;
歩骤 1802: 第二 CAT业务侧和第一 CAT业务侧之间建立第二 CAT媒 体会话, 例如: 第二 CAT业务侧向第一 CAT业务侧发送 SDP answer, 其 中携带第二 CAT业务媒体信息, 或者第二 CAT业务侧向第一 CAT业务侧 发送 Early Session的 SDP offer, 其中携带第二 CAT业务媒体信息, 第一 CAT业务侧向第二 CAT业务侧发送 Early Session的 SDP answer, 其中携带 第一 CAT业务的媒体资源的 IP地址和端口;  Step 1802: A second CAT media session is established between the second CAT service side and the first CAT service side. For example, the second CAT service side sends an SDP answer to the first CAT service side, where the second CAT service media information is carried. Or the second CAT service side sends the SDP offer of the Early Session to the first CAT service side, where the second CAT service media information is carried, and the first CAT service side sends the SDP answer of the Early Session to the second CAT service side, where the first IP address and port of the media resource of the CAT service;
歩骤 1803: 第二 CAT业务侧向第一 CAT业务侧发送第二 CAT媒体 流; Step 1803: The second CAT service side sends the second CAT media to the first CAT service side. Flow
歩骤 1804: 第一 CAT业务侧丢弃第二 CAT媒体流。  Step 1804: The first CAT service side discards the second CAT media stream.
下面简要例举几种定制回铃音业务实现方式。  The following briefly describes several implementations of custom ringback tone services.
方式一、 在主叫用户呼叫被叫用户的过程中, 主叫侧的网络节点从主叫 定制回铃音业务、 被叫定制回铃音业务中选择高优先级的定制回铃音业务, 并执行触发操作, 即发送选择的定制回铃音业务信息 (解释 ), 以指示接收到 该信息的网络节点应该执行的操作。 该选择的定制回铃音业务信息可以携带 在主叫侧的网络节点接收到的 INVITE消息中发送, 当然, 本发明实施方式 不排除主叫侧的网络节点利用其它消息发送该信息的可能性。 该信息可以直 接被被叫侧网络节点接收, 也可以被 Media Gateway Control Function (媒体 网关控制功能, MGCF) 实体等中间节点接收。 中间节点如 MGCF在接收 到该信息后, 可以将该信息发送至被叫侧的网络节点, 也可以不向被叫侧的 网络节点发送该信息, 而是根据该信息执行定制回铃音业务的媒体流传输控 制等操作, 例如, MGCF在根据该信息确定出主叫用户定制回铃音业务优 先级高时, 不执行请求媒体网关打开媒体门控的操作, MGCF在根据该信 息确定出被叫用户定制回铃音业务优先级高时, 执行请求媒体网关打开媒体 门控的操作。 在中间节点如 MGCF接收到该信息、 且将该信息发送至被叫 侧网络节点的情况下, MGCF可以在接收到主叫侧的网络节点发送来的邀 请 (INVITE) 消息后, 将该信息携带在 Initial Address Message (初始地址 消息 IAM) 中发送至被叫侧网络节点, 当然, 本发明实施方式不排除利用 其它消息传输该信息的可能性。  In the process of the calling user calling the called user, the network node on the calling side selects the high priority customized ring back tone service from the customized ring back tone service of the calling party and the customized ring back tone service of the called party, and The triggering operation is performed, that is, the selected customized ringback tone service information (interpretation) is sent to indicate the operation that the network node that received the information should perform. The selected customized ring back tone service information may be sent in the INVITE message received by the network node on the calling side. Of course, the embodiment of the present invention does not exclude the possibility that the network node on the calling side transmits the information by using other messages. This information can be received directly by the called side network node or by an intermediate node such as the Media Gateway Control Function (MGCF) entity. After receiving the information, the intermediate node, such as the MGCF, may send the information to the network node on the called side, or may not send the information to the network node on the called side, but perform customized round-trip tone service according to the information. The operation of the media stream transmission control, for example, the MGCF does not perform the operation of requesting the media gateway to open the media gating when the priority of the calling user's customized ring back tone service is high according to the information, and the MGCF determines the called party according to the information. When the user customizes the ring back tone service priority, the requesting media gateway is opened to open the media gating operation. When the intermediate node, such as the MGCF, receives the information and sends the information to the called side network node, the MGCF may carry the information after receiving the INVITE message sent by the network node on the calling side. It is sent to the called side network node in the Initial Address Message (IAM). Of course, embodiments of the present invention do not preclude the possibility of transmitting the information using other messages.
从上述方式一的描述可知, 在存在多个定制回铃音业务的情况下, 通过 指示被叫侧的网络节点、 或指示 MGCF, 能够在主叫定制回铃音业务优先 级高的情况下, 避免被叫定制回铃音业务的媒体流向主叫用户播放, 从而能 够在多方订阅 CAT业务的情况下, 避免主叫方接收到多个混合在一起的回 铃音的问题。 在方式一中, 主叫侧的网络节点和被叫侧的网络节点可以位于相同域, 也可以位于不同域, 例如, 主叫侧的网络节点位于 IMS域, 被叫侧的网络 节点位于 CS域; 再例如, 主叫侧的网络节点位于 CS域, 被叫侧的网络节 点位于 IMS域。 另外, 方式一同样适用于被叫用户将呼叫转移到第三方用 户的过程中, 此时, 方式一中的主叫侧的网络节点替换为被叫侧的网络节 点, 方式一中的被叫侧的网络节点替换为呼叫转移侧的网络节点。 It can be seen from the description of the foregoing mode 1 that, when there are multiple customized ring back tone services, by indicating the network node on the called side, or instructing the MGCF, the priority of the caller customized ring back tone service can be high. The media stream of the called ringback tone service is prevented from being played to the calling user, so that the problem that the calling party receives multiple mixed ringback tones can be avoided when the multiparty subscribes to the CAT service. In the first mode, the network node on the calling side and the network node on the called side may be located in the same domain or in different domains. For example, the network node on the calling side is located in the IMS domain, and the network node on the called side is located in the CS domain. For example, the network node on the calling side is located in the CS domain, and the network node on the called side is located in the IMS domain. In addition, the first method is also applicable to the process in which the called user transfers the call to the third-party user. At this time, the network node on the calling side in the first mode is replaced with the network node on the called side, and the called side in the first mode. The network node is replaced by the network node on the call forwarding side.
方式二、 不论主叫用户的终端是否支持应用服务器模式, 均利用应用服 务器模式实现定制回铃音业务。  Manner 2: Regardless of whether the terminal of the calling user supports the application server mode, the application server mode is used to implement the customized ring back tone service.
在主叫用户呼叫被叫用户的过程中, 主叫侧的网络节点从主叫定制回铃 音业务、 被叫定制回铃音业务中选择高优先级的定制回铃音业务, 并执行触 发操作。 不论主叫用户的终端是否支持应用服务器模式, 在主叫用户定制回 铃音业务优先级高的情况下, 该触发操作可以为采用应用服务器模式向被叫 侧的网络节点发送拒绝信息, 以表示拒绝被叫侧的网络节点提供的被叫用户 的定制回铃音业务。 在被叫用户定制回铃音业务优先级高、 且主叫用户的终 端支持应用服务器模式的情况下, 该触发操作可以为: 采用应用服务器模式 执行正常的消息转发过程, 且不向被叫侧的网络节点发送拒绝信息, 不向主 叫用户提供主叫用户定制回铃音业务。 在被叫用户定制回铃音业务优先级 高、 且主叫用户的终端不支持应用服务器模式的情况下, 该触发操作可以 为: 将需要向主叫用户转发的消息转换为基于网关模式的消息并转发, 并采 用应用服务器模式向被叫侧的网络节点发送允许信息, 以表示允许被叫侧的 网络节点提供的被叫用户的定制回铃音业务, 且不向主叫用户提供主叫用户 的定制回铃音业务等等。  In the process of the calling user calling the called user, the network node on the calling side selects a high priority custom ring back tone service from the caller customized ring back tone service and the called customized ring back tone service, and performs a trigger operation. . Regardless of whether the terminal of the calling user supports the application server mode, in the case that the calling user customizes the ringback tone service priority, the triggering operation may send the rejection information to the network node on the called side by using the application server mode to indicate The customized ringback tone service of the called user provided by the network node on the called side is rejected. In the case that the called user has a high priority for the ringback tone service, and the terminal of the calling user supports the application server mode, the triggering operation may be: performing a normal message forwarding process by using the application server mode, and not going to the called side. The network node sends the rejection information, and does not provide the calling user with the customized ringback tone service of the calling user. In the case that the called user customizes the ring back tone service priority, and the calling user's terminal does not support the application server mode, the triggering operation may be: converting the message that needs to be forwarded to the calling user into a gateway mode based message. And forwarding, and sending the permission information to the network node on the called side by using the application server mode, to indicate that the called user of the called party is allowed to provide the customized ring back tone service, and the calling user is not provided to the calling user. Customized ring back tone service and more.
在方式二中, 主叫侧的网络节点之所以需要进行消息格式转换, 是因为 主叫用户的终端不支持应用服务器模式, 且主叫侧的网络节点在判断出主叫 用户的终端不支持应用服务器后, 还强制要求被叫侧的网络节点使用应用服 务器模式进行消息交互, 即主叫侧的网络节点通知被叫侧的网络节点使用应 用服务器模式进行消息交互。 通知的方式可以为: 主叫侧的网络节点在接收 到主叫用户传输来的基于网关模式的消息、 且需要向被叫侧的网络节点转发 该消息时, 先将消息转换为基于应用服务器模式的消息, 然后再转发。 例 如, 主叫侧的网络节点在接收到 INVITE 消息后, 在 INVITE 消息的 Supported头域中增加 Early Session参数, 并向被叫侧的网络节点发送增加 参数后的 INVITE消息。 当然, 本发明实施方式也不排除采用其它方式如利 用其它消息来通知被叫侧的网络节点使用应用服务器模式进行消息交互。 In mode 2, the network node on the calling side needs to perform message format conversion because the terminal of the calling user does not support the application server mode, and the network node on the calling side determines that the terminal of the calling user does not support the application. After the server, the network node on the called side is also required to use the application server mode for message interaction, that is, the network node on the calling side notifies the network node on the called side to use the network node. Message interaction in server mode. The notification may be in the following manner: When receiving the gateway mode-based message transmitted by the calling user and forwarding the message to the network node on the called side, the network node on the calling side first converts the message into an application server-based mode. The message is then forwarded. For example, after receiving the INVITE message, the network node on the calling side adds an Early Session parameter in the Supported header field of the INVITE message, and sends an INVITE message with the added parameter to the network node on the called side. Of course, the embodiments of the present invention also do not exclude other ways, such as using other messages to notify the network node on the called side to use the application server mode for message interaction.
从上述方式二的描述可知, 在存在多个定制回铃音业务的情况下, 不论 主叫用户的终端是否支持应用服务器模式, 通过指示被叫侧的网络节点, 均 能够在主叫定制回铃音业务优先级高的情况下, 避免被叫定制回铃音业务的 媒体流向主叫用户播放, 从而能够在多方订阅 CAT业务的情况下, 避免主 叫方接收到多个混合在一起的回铃音的问题。  It can be seen from the description of the foregoing mode 2 that, in the case that there are multiple customized ring back tone services, whether the terminal of the calling user supports the application server mode or not, the network node of the called side can be customized to ring back at the calling party. When the priority of the audio service is high, the media stream of the customized ringback tone service is prevented from being played to the calling user, so that the calling party can avoid receiving multiple mixed ringbacks when the CAT service is subscribed to by multiple parties. The problem of sound.
在方式二中, 主叫侧的网络节点和被叫侧的网络节点需要位于相同域, 主叫侧的网络节点可以为主叫 CAT业务功能控制模块, 被叫侧的网络节点 可以为被叫 CAT业务功能控制模块。 本发明实施方式不限制网络节点的具 体表现形式。 另外, 上述方式二同样适用于被叫用户将呼叫转移到第三方用 户过程中, 此时, 方式二中的主叫侧的网络节点替换为被叫侧的网络节点, 方式二中的被叫侧的网络节点替换为呼叫转移侧的网络节点。  In mode 2, the network node on the calling side and the network node on the called side need to be in the same domain, the network node on the calling side can be the calling CAT service function control module, and the network node on the called side can be the called CAT. Business function control module. Embodiments of the invention do not limit the specific representation of network nodes. In addition, the foregoing method 2 is also applicable to the process in which the called user transfers the call to the third-party user. At this time, the network node on the calling side in the second mode is replaced with the network node on the called side, and the called side in the second mode. The network node is replaced by the network node on the call forwarding side.
方式三、 主叫侧的网络节点判断主叫用户的终端支持模式, 并根据判断 结果主动采用不同的方法实现定制回铃音业务。  In the third mode, the network node on the calling side determines the terminal support mode of the calling user, and actively adopts different methods to implement the customized ring back tone service according to the judgment result.
主叫侧的网络节点判断主叫用户的终端支持的模式。  The network node on the calling side determines the mode supported by the terminal of the calling user.
在判断出主叫用户的终端不支持应用服务器模式的情况下, 执行发送选 择的定制回铃音业务信息的触发操作, 以指示接收到该信息的网络节点应该 执行的操作。 携带该选择的定制回铃音业务信息的消息该选择的定制回铃音 业务信息可以携带在主叫侧的网络节点接收到的 INVITE消息中发送, 当 然, 本发明实施方式不排除主叫侧的网络节点利用其它消息发送该信息的可 能性。 该信息可以直接被被叫侧网络节点接收, 也可以被 Media Gateway Control Function (媒体网关控制功能, MGCF) 实体等中间节点接收。 中间 节点如 MGCF在接收到该信息后, 可以将该信息发送至被叫侧的网络节 点, 也可以不向被叫侧的网络节点发送该信息, 而是根据该信息执行定制回 铃音业务的媒体流传输控制等操作, 例如, MGCF在根据该信息确定出主 叫用户定制回铃音业务优先级高时, 不执行请求媒体网关打开媒体门控的操 作, MGCF在根据该信息确定出被叫用户定制回铃音业务优先级高时, 执 行请求媒体网关打开媒体门控的操作。 在中间节点如 MGCF接收到该信 息、 且将该信息发送至被叫侧网络节点的情况下, MGCF可以在接收到主 叫侧的网络节点发送来的 INVITE消息后, 将该信息携带在 IAM中发送至 被叫侧网络节点, 当然, 本发明实施方式不排除利用其它消息传输该信息的 可能性。 When it is determined that the terminal of the calling user does not support the application server mode, a triggering operation of transmitting the selected customized ringback tone service information is performed to indicate an operation that the network node that receives the information should perform. The message carrying the selected customized ring back tone service information may be sent in the INVITE message received by the network node on the calling side. Of course, the embodiment of the present invention does not exclude the calling side. The network node can send the information by using other messages. Capability. This information may be received directly by the called side network node or by an intermediate node such as a Media Gateway Control Function (MGCF) entity. After receiving the information, the intermediate node, such as the MGCF, may send the information to the network node on the called side, or may not send the information to the network node on the called side, but perform customized round-trip tone service according to the information. The operation of the media stream transmission control, for example, the MGCF does not perform the operation of requesting the media gateway to open the media gating when the priority of the calling user's customized ring back tone service is high according to the information, and the MGCF determines the called party according to the information. When the user customizes the ring back tone service priority, the requesting media gateway is opened to open the media gating operation. In the case that the intermediate node, such as the MGCF, receives the information and sends the information to the called side network node, the MGCF may carry the information in the IAM after receiving the INVITE message sent by the network node on the calling side. Sending to the called side network node, of course, embodiments of the present invention do not preclude the possibility of transmitting the information using other messages.
在判断出主叫用户的终端支持应用服务器模式、 且主叫用户定制回铃音 业务优先级高的情况下, 执行的触发操作可以为采用应用服务器模式向被叫 侧的网络节点发送拒绝信息, 以表示拒绝被叫侧的网络节点提供的被叫用户 的定制回铃音业务。  When it is determined that the terminal of the calling user supports the application server mode, and the calling user customizes the ringback tone service priority, the triggering operation may be performed by using the application server mode to send the rejection information to the network node on the called side. The custom ringback tone service of the called user provided by the network node on the called side is rejected.
在判断出主叫用户的终端支持应用服务器模式、 且被叫用户定制回铃音 业务优先级高的情况下, 执行的触发操作可以为: 采用应用服务器模式执行 正常的消息转发过程, 且不向被叫侧的网络节点发送拒绝信息, 不向主叫用 户提供主叫用户的定制回铃音业务。  When it is determined that the terminal of the calling user supports the application server mode, and the called user customizes the priority of the ring back tone service, the triggering operation performed may be: performing a normal message forwarding process by using the application server mode, and not performing The network node on the called side sends the rejection information, and does not provide the calling user with the customized ring back tone service of the calling user.
从上述方式三的描述可知, 在存在多个定制回铃音业务的情况下, 可以 根据主叫用户的终端支持的模式, 采用不同的方式来指示被叫侧的网络节 点, 以在主叫定制回铃音业务优先级高的情况下, 避免被叫定制回铃音业务 的媒体流向主叫用户播放, 从而能够在多方订阅 CAT业务的情况下, 避免 主叫方接收到多个混合在一起的回铃音的问题。  It can be seen from the description of the foregoing mode 3 that, in the case that there are multiple customized ring back tone services, the network node on the called side can be indicated in different manners according to the mode supported by the terminal of the calling user, so as to customize the calling party. When the priority of the ring back tone service is high, the media stream of the called ringback tone service is prevented from being played to the calling party, so that the calling party can avoid multiple mixed parties when the CAT service is subscribed to by multiple parties. The problem of ring back tone.
在方式三中, 主叫侧的网络节点和被叫侧的网络节点可以位于相同域, 也可以位于不同域, 例如, 主叫侧的网络节点位于 IMS域, 被叫侧的网络 节点位于 CS域; 再例如, 主叫侧的网络节点位于 CS域, 被叫侧的网络节 点位于 IMS域。 另外, 方式三同样适用于被叫用户将呼叫转移到第三方用 户的过程中, 此时, 方式三中的主叫侧的网络节点替换为被叫侧的网络节 点, 方式三中的被叫侧的网络节点替换为呼叫转移侧的网络节点。 In mode 3, the network node on the calling side and the network node on the called side may be located in the same domain. It can also be located in different domains. For example, the network node on the calling side is located in the IMS domain, and the network node on the called side is located in the CS domain. For example, the network node on the calling side is located in the CS domain, and the network node on the called side is located in the IMS domain. . In addition, the third method is also applicable to the process in which the called user transfers the call to the third party user. At this time, the network node on the calling side in the third mode is replaced with the network node on the called side, and the called side in the third mode. The network node is replaced by the network node on the call forwarding side.
方式四、 被叫侧的网络节点主动决定提供定制回铃音业务采用的模式, 主叫侧的网络节点根据被叫侧的网络节点的决定采用不同的方法实现定制回 铃音业务。  Mode 4: The network node on the called side actively decides to provide a mode for the customized ring back tone service, and the network node on the calling side adopts different methods to implement the customized ring back tone service according to the decision of the network node on the called side.
主叫侧的网络节点首先需要告知被叫侧的网络节点提供定制回铃音业务 的地址信息 (第一地址信息) 。 主叫侧的网络节点可以通过与主叫媒体资源 功能模块进行信息交互来协商获取该第一地址信息。 该第一地址信息可以为 IP地址和端口地址信息。 在协商获取了该第一地址信息后, 主叫侧的网络 节点将该第一地址信息通知被叫侧的网络节点。 通知的方式可以为: 主叫侧 的网络节点在接收到 INVITE消息后, 将该第一地址信息携带在 INVITE消 息中发送至被叫侧的网络节点。 本发明实施方式不排除采用其它消息告知被 叫侧的网络节点该第一地址信息的实现方式。  The network node on the calling side first needs to inform the network node on the called side to provide the address information (first address information) of the customized ring back tone service. The network node on the calling side can negotiate to obtain the first address information by performing information interaction with the calling media resource function module. The first address information may be an IP address and port address information. After the first address information is obtained by negotiation, the network node on the calling side notifies the network node on the called side of the first address information. The notification may be performed by: after receiving the INVITE message, the network node on the calling side carries the first address information in the INVITE message and sends the message to the network node on the called side. The embodiment of the present invention does not preclude the implementation of the first address information by the network node on the called side by using other messages.
在被叫侧的网络节点主动决定采用网关模式提供定制回铃音业务、 且被 叫用户定制回铃音业务优先级高的情况下, 主叫侧的网络节点执行的触发操 作为: 主叫侧的网络节点与主叫媒体资源功能模块进行信息交互, 以协商获 取主叫媒体资源功能模块输出定制回铃音业务的媒体流的地址信息 (第二地 址信息) , 然后, 将该第二地址信息告知主叫用户的终端, 并指示主叫媒体 资源功能模块将从第一地址接收到的定制回铃音业务的媒体流通过第二地址 发送至主叫用户, 而且, 主叫侧的网络节点不执行提供主叫用户的定制回铃 音业务的操作。  In the case that the network node on the called side actively decides to provide the customized ring back tone service in the gateway mode, and the called user customizes the ring back tone service priority, the triggering operation performed by the network node on the calling side is: the calling side The network node interacts with the calling media resource function module to obtain the address information (second address information) of the media stream outputting the customized ring back tone service by the calling media resource function module, and then the second address information Notifying the calling user's terminal, and instructing the calling media resource function module to send the media stream of the customized ring back tone service received from the first address to the calling user through the second address, and the network node on the calling side does not Perform the operation of providing the customized ring back tone service of the calling user.
在被叫侧的网络节点主动决定采用网关模式提供定制回铃音业务、 且主 叫用户定制回铃音业务优先级高的情况下, 主叫侧的网络节点执行的触发操 作可以为: 指示主叫媒体资源功能模块丢弃从第一地址接收到的定制回铃音 业务的媒体流。 该触发操作也可以为: 主叫侧的网络节点指示主叫媒体资源 功能模块关闭第一地址。 When the network node on the called side actively decides to use the gateway mode to provide a customized ring back tone service, and the calling user customizes the ring back tone service with a high priority, the triggering operation performed by the network node on the calling side is performed. The action may be: instructing the calling media resource function module to discard the media stream of the customized ring back tone service received from the first address. The triggering operation may also be: The network node on the calling side instructs the calling media resource function module to close the first address.
在被叫侧的网络节点主动决定采用应用服务器模式提供定制回铃音业 务、 且被叫用户定制回铃音业务优先级高的情况下, 主叫侧的网络节点执行 的触发操作可以为: 直接转发被叫侧的网络节点传输来的消息, 且不执行提 供主叫用户定制回铃音业务的操作。  When the network node on the called side actively decides to provide the customized ring back tone service in the application server mode, and the called user customizes the ring back tone service priority, the triggering operation performed by the network node on the calling side may be: The message transmitted by the network node on the called side is forwarded, and the operation of providing the caller's customized ring back tone service is not performed.
在被叫侧的网络节点主动决定采用应用服务器模式提供定制回铃音业 务、 且主叫用户定制回铃音业务优先级高的情况下, 主叫侧的网络节点执行 的触发操作可以为: 主叫侧的网络节点向被叫侧的网络节点发送拒绝定制回 铃音业务媒体流的信息, 以指示被叫侧的网络节点不发送被叫用户的定制回 铃音业务的媒体流, 且主叫侧的网络节点执行提供主叫用户定制回铃音业务 的操作。  When the network node on the called side actively decides to use the application server mode to provide the customized ring back tone service, and the calling user customizes the ring back tone service priority, the triggering operation performed by the network node on the calling side may be: The network node on the calling side sends a message rejecting the customized ring back tone service media stream to the network node on the called side, to indicate that the network node on the called side does not send the media stream of the customized ring back tone service of the called user, and the calling party The network node on the side performs an operation of providing a customized ringback tone service for the calling user.
从上述方式四的描述可知, 在存在多个定制回铃音业务的情况下, 主叫 侧网络节点可以根据被叫侧网络节点采用的模式, 采用不同的方式来指示主 叫媒体资源功能模块或被叫侧网络节点, 以在主叫定制回铃音业务优先级高 的情况下, 避免被叫定制回铃音业务的媒体流向主叫用户播放, 从而能够在 多方订阅 CAT业务的情况下, 避免主叫方接收到多个混合在一起的回铃音 的问题。  It can be seen from the description of the foregoing mode 4 that, in the case that there are multiple customized ring back tone services, the calling side network node may use different modes to indicate the calling media resource function module or according to the mode adopted by the called side network node. The called side network node avoids the media stream of the called ringback tone service being played to the calling party when the priority of the caller's customized ring back tone service is high, so that the multiparty can subscribe to the CAT service and avoid The calling party receives a plurality of mixed ring back tones.
在方式四中, 主叫侧的网络节点和被叫侧的网络节点需要位于相同域。 另外, 方式四同样适用于被叫用户将呼叫转移到第三方用户过程中, 此时, 方式四中的主叫侧的网络节点替换为被叫侧的网络节点, 方式四中的主叫媒 体资源功能模块替换为被叫媒体资源功能模块, 方式四中的被叫侧的网络节 点替换为呼叫转移侧的网络节点。  In mode four, the network node on the calling side and the network node on the called side need to be in the same domain. In addition, the fourth method is also applicable to the process in which the called user transfers the call to the third-party user. At this time, the network node on the calling side in the fourth mode is replaced with the network node on the called side, and the calling media resource in the fourth mode. The function module is replaced with the called media resource function module, and the network node on the called side in the fourth mode is replaced with the network node on the call forwarding side.
方式五、 主叫侧的网络节点判断主叫用户的终端支持模式, 根据判断结 果借助主叫媒体资源功能模块实现定制回铃音业务。 主叫侧的网络节点判断主叫用户的终端支持的模式。 In the fifth method, the network node on the calling side determines the terminal support mode of the calling user, and implements a customized ring back tone service by using the calling media resource function module according to the judgment result. The network node on the calling side determines the mode supported by the terminal of the calling user.
在判断出主叫用户的终端不支持应用服务器模式的情况下, 主叫侧的网 络节点需要告知被叫侧的网络节点提供定制回铃音业务的地址信息 (即第一 地址信息) 。 主叫侧的网络节点可以通过与主叫媒体资源功能模块进行信息 交互来协商获取该第一地址信息。 该第一地址信息可以为 IP地址和端口地 址信息。 在获取了该第一地址信息后, 主叫侧的网络节点将该第一地址信息 通知被叫侧的网络节点。 通知的方式可以为: 主叫侧的网络节点在接收到 INVITE消息后, 将该第一地址信息携带在 INVITE消息中发送至被叫侧的 网络节点。 本发明实施方式不排除采用其它消息告知被叫侧的网络节点该第 一地址信息的实现方式。 在被叫用户定制回铃音业务优先级高的情况下, 主 叫侧的网络节点执行的触发操作为: 主叫侧的网络节点与主叫媒体资源功能 模块进行信息交互, 以协商获取主叫媒体资源功能模块输出定制回铃音业务 的媒体流的地址信息 (即第二地址信息) , 然后, 将该第二地址信息告知主 叫用户的终端, 并指示主叫媒体资源功能模块将从第一地址接收到的定制回 铃音业务的媒体流通过第二地址发送至主叫用户, 而且, 主叫侧的网络节点 不执行提供主叫用户定制回铃音业务的操作。 在主叫用户定制回铃音业务优 先级高的情况下, 主叫侧的网络节点执行的触发操作可以为: 指示主叫媒体 资源功能模块丢弃从第一地址接收到的定制回铃音业务的媒体流。 该触发操 作也可以为: 主叫侧的网络节点指示主叫媒体资源功能模块关闭第一地址。  In the case that it is determined that the terminal of the calling user does not support the application server mode, the network node on the calling side needs to inform the network node on the called side to provide the address information (ie, the first address information) of the customized ring back tone service. The network node on the calling side can negotiate to obtain the first address information by performing information interaction with the calling media resource function module. The first address information may be an IP address and port address information. After the first address information is obtained, the network node on the calling side notifies the network node on the called side of the first address information. The notification may be performed by: after receiving the INVITE message, the network node on the calling side carries the first address information in the INVITE message and sends the message to the network node on the called side. The embodiment of the present invention does not exclude the use of other messages to inform the network node on the called side of the implementation of the first address information. In the case that the called user has a high priority of the ringback tone service, the triggering operation performed by the network node on the calling side is: the network node on the calling side interacts with the calling media resource function module to obtain the calling party through negotiation. The media resource function module outputs address information (ie, second address information) of the media stream of the customized ring back tone service, and then, the second address information is notified to the terminal of the calling user, and indicates that the calling media resource function module will be The media stream of the customized ring back tone service received at an address is sent to the calling user through the second address, and the network node on the calling side does not perform the operation of providing the calling user to customize the ring back tone service. The triggering operation performed by the network node on the calling side may be: instructing the calling media resource function module to discard the customized ring back tone service received from the first address, in the case that the calling user has a high priority of the ringback tone service. Media stream. The triggering operation may also be: The network node on the calling side instructs the calling media resource function module to close the first address.
在判断出主叫用户的终端支持应用服务器模式、 且被叫用户定制回铃音 业务优先级高的情况下, 主叫侧的网络节点执行的触发操作可以为: 直接转 发被叫侧的网络节点传输来的消息, 且不执行提供主叫用户定制回铃音业务 的操作。  When it is determined that the terminal of the calling user supports the application server mode, and the called user customizes the priority of the ring back tone service, the triggering operation performed by the network node on the calling side may be: directly forwarding the network node on the called side The transmitted message does not perform the operation of providing the calling user with a customized ring back tone service.
在判断出被叫用户的终端支持应用服务器模式、 且主叫用户定制回铃音 业务优先级高的情况下, 主叫侧的网络节点执行的触发操作可以为: 向被叫 侧的网络节点发送拒绝定制回铃音业务媒体流的信息, 以指示被叫侧的网络 节点不发送被叫用户的定制回铃音业务的媒体流, 且执行提供主叫用户定制 回铃音业务的操作。 When it is determined that the terminal of the called user supports the application server mode, and the calling user customizes the ringback tone service priority, the triggering operation performed by the network node on the calling side may be: sending to the network node on the called side Refusing to customize the information of the ringback tone service media stream to indicate the network on the called side The node does not send the media stream of the customized ring back tone service of the called user, and performs an operation of providing the calling user to customize the ring back tone service.
从上述方式五的描述可知, 在存在多个定制回铃音业务的情况下, 主叫 侧网络节点可以根据主叫用户的终端支持的模式, 采用不同的方式来指示主 叫媒体资源功能模块或被叫侧网络节点, 以在主叫定制回铃音业务优先级高 的情况下, 避免被叫定制回铃音业务的媒体流向主叫用户播放, 从而能够在 多方订阅 CAT业务的情况下, 避免主叫方接收到多个混合在一起的回铃音 的问题。  It can be seen from the description of the foregoing manner 5 that, in the case that there are multiple customized ring back tone services, the calling side network node may use different modes to indicate the calling media resource function module or according to the mode supported by the calling user's terminal. The called side network node avoids the media stream of the called ringback tone service being played to the calling party when the priority of the caller's customized ring back tone service is high, so that the multiparty can subscribe to the CAT service and avoid The calling party receives a plurality of mixed ring back tones.
在方式五中, 主叫侧的网络节点和被叫侧的网络节点需要位于相同域。 另外, 方式五同样适用于被叫用户将呼叫转移到第三方用户过程中, 此时, 方式五中的主叫侧的网络节点替换为被叫侧的网络节点, 方式五中的主叫媒 体资源功能模块替换为被叫媒体资源功能模块, 方式五中的被叫侧的网络节 点替换为呼叫转移侧的网络节点。  In mode 5, the network node on the calling side and the network node on the called side need to be in the same domain. In addition, mode 5 is also applicable to the process in which the called user transfers the call to the third-party user. At this time, the network node on the calling side in mode 5 is replaced with the network node on the called side, and the calling media resource in mode five. The function module is replaced by the called media resource function module, and the network node on the called side in the fifth mode is replaced with the network node on the call forwarding side.
在上述例举的各方式中均涉及从多个定制回铃音业务中选择高优先级的 定制回铃音业务的过程, 本发明实施方式可以采用多种策略来选择高优先级 的定制回铃音业务。 例如, 主叫侧的网络节点可以依据下述八个策略中的任 一策略来选择高优先级的定制回铃音业务:  In the foregoing various manners, the process of selecting a high-priority customized ring back tone service from a plurality of customized ring back tone services is used. The embodiment of the present invention may adopt multiple policies to select a high priority custom ringback. Sound business. For example, the network node on the calling side can select a high priority custom ring back tone service according to any of the following eight policies:
1、 根据用户定制回铃音业务设置参数选择高优先级的定制回铃音业 2、 根据预先设置的本地策略选择高优先级的定制回铃音业务。 这里的 本地策略可以是由运营商根据需要设置的策略。  1. Select a high priority custom ring back tone service according to the user customized ring back tone service setting parameter. 2. Select a high priority custom ring back tone service according to a preset local policy. The local policy here can be a policy set by the operator as needed.
3、 根据记录的曾经的定制回铃音业务选择结果选择高优先级的定制回 铃音业务。  3. Select a high-priority custom ringback tone service based on the recorded custom ringback tone service selection result.
4、 在存在呼叫转移的情况下, 选择被叫用户或呼叫转移第三方用户的 定制回铃音业务。  4. In the case of call forwarding, select the customized ring back tone service of the called user or the call transfer third party user.
5、 在被叫用户隐匿的情况下, 选择主叫用户的定制回铃音业务。 6、 在呼叫转移第三方用户隐匿的情况下, 选择主叫用户或被叫用户的 定制回铃音业务。 5. In the case where the called user is concealed, select the customized ring back tone service of the calling user. 6. In the case that the call transfer third party user is hidden, select the customized ring back tone service of the calling user or the called user.
7、 根据呼叫的双方用户要求使用的媒体格式选择高优先级的定制回铃 音业务。 用户要求使用的媒体格式可以从 INVITE请求的 SDP信息、 以及 针对 INVITE请求的响应信息的 Early session的 SDP信息等中获得。 例如, 当 INVITE请求的 SDP信息描述的是音频媒体流, 而 Early Session的 SDP 信息描述的是视频媒体流时, 可以选择主叫用户 CAT业务。  7. Select a high-priority custom ringback tone service based on the media format requested by both users of the call. The media format requested by the user can be obtained from the SDP information of the INVITE request, the SDP information of the Early session for the response information of the INVITE request, and the like. For example, when the SDP information requested by the INVITE describes the audio media stream, and the SDP information of the Early Session describes the video media stream, the calling user CAT service can be selected.
8、 根据主叫用户的终端支持的媒体格式、 多个定制回铃音业务的媒体 格式选择媒体格式匹配的定制回铃音业务。 例如, 当主叫用户的终端仅支持 音频格式、 而被叫用户的终端支持视频格式时, 选择主叫用户 CAT业务。  8. Select a customized ring back tone service that matches the media format according to the media format supported by the calling user's terminal and the media format of multiple customized ring back tone services. For example, when the calling user's terminal only supports the audio format and the called user's terminal supports the video format, the calling user CAT service is selected.
本发明实施方式不限制选择高优先级的定制回铃音业务的策略的具体表 现形式。  Embodiments of the present invention do not limit the specific implementation form of a policy for selecting a high priority custom ring back tone service.
下面以主叫用户与被叫用户之间的呼叫为例、 结合附图对本发明实施方 式的定制回铃音业务实现方法进行说明。  The following describes a method for implementing a customized ring back tone service according to an embodiment of the present invention by taking a call between a calling user and a called user as an example.
在 IMS域内, 方式一提供的定制回铃音业务实现方法流程如附图 1所 图 1中, 歩骤 1、 主叫 CAT业务功能控制模块接收 INVITE请求。  In the IMS domain, the flow of the method for implementing the customized ring back tone service provided by the mode 1 is as shown in FIG. 1 of FIG. 1. Step 1. The calling CAT service function control module receives the INVITE request.
歩骤 2、 主叫 CAT业务功能控制模块进行高优先级的 CAT业务选择过 程, 即确定主叫用户 CAT业务优先级高还是被叫用户 CAT业务优先级高。 例如, 依据下述 a至 c中的任一策略来选择高优先级的 CAT业务:  Step 2: The calling CAT service function control module performs a high-priority CAT service selection process, that is, determines whether the calling user CAT service has a high priority or the called user CAT service has a high priority. For example, select a high priority CAT service based on any of the following a to c strategies:
a、 根据主叫用户的 CAT业务设置参数确定主叫用户 CAT业务优先级 高还是被叫用户 CAT业务优先级高。  a. According to the calling user's CAT service setting parameters, determine whether the calling user's CAT service priority is high or the called user's CAT service has a high priority.
b、 根据预先设定的本地策略确定主叫用户 CAT业务优先级高还是被叫 用户 CAT业务优先级高。  b. Determine whether the calling user's CAT service has a high priority or the called user's CAT service has a high priority according to a preset local policy.
c、 根据以往选择结果 (例如, 前一次的选择结果) 确定主叫用户 CAT 业务优先级高还是被叫用户 CAT业务优先级高。 歩骤 3、 主叫 CAT业务功能控制模块根据选择的 CAT业务优先级在 INVITE请求中携带 CAT业务优先级指示, 所述携带 CAT业务优先级指示 的方法包含下述任意一种或任意组合: c. According to the previous selection result (for example, the previous selection result), it is determined whether the calling user CAT service priority is high or the called user CAT service priority is high. Step 3: The calling CAT service function control module carries a CAT service priority indication in the INVITE request according to the selected CAT service priority, and the method for carrying the CAT service priority indication includes any one or any combination of the following:
a、 在 INVITE请求的头域中携带 CAT业务优先级指示, 例如当主叫用 户 CAT业务优先级高时, 在 Reject-Contact头域中携带 CAT参数 (如主叫 用户 CAT业务信息) , 或者扩展一个新的头域 R ject-Service, 并在该扩展 的头域 Reject-Service 中携带 CAT参数 (如主叫 CAT业务信息) ; 再例 如, 当被叫 CAT业务优先级高时, 在 Accept-Contact头域中携带 CAT参数 (如被叫用户 CAT业务信息) , 或者扩展一个新的头域 Accept-Service, 并 在该扩展的头域 Accept-Service中携带 CAT参数 (如被叫用户 CAT业务信 息) 。  a. Carrying a CAT service priority indication in the header field of the INVITE request, for example, when the calling user CAT service has a high priority, carrying a CAT parameter (such as a calling user CAT service information) in the Reject-Contact header field, or expanding A new header field, Rject-Service, and carrying CAT parameters (such as calling CAT service information) in the extended header field Reject-Service; for example, when the called CAT service has a high priority, in Accept-Contact The CAT parameter (such as the called user CAT service information) is carried in the header field, or a new header field Accept-Service is extended, and the CAT parameter (such as the called user CAT service information) is carried in the extended header field Accept-Service. .
b、 在 INVITE请求的消息体中携带 CAT业务优先级指示 (即选择的定 制回铃音业务的信息) , 例如, 当主叫用户 CAT业务优先级高时, 在 INVITE请求中携带 Content-Disposition为 Early Session的 SDP信息, 并且 SDP信息中所有媒体行的端口地址均为 0, 表示主叫 CAT业务优先级高, 拒绝被叫 CAT业务。  b. Carrying the CAT service priority indication (that is, the information of the selected customized ring back tone service) in the message body of the INVITE request, for example, when the priority of the calling user CAT service is high, the Content-Disposition is carried in the INVITE request. The SDP information of the Early Session, and the port address of all media lines in the SDP information is 0, indicating that the calling CAT service has a high priority and rejects the called CAT service.
歩骤 4、 被叫 CAT业务功能控制模块根据 INVITE请求中携带的 CAT 业务优先级指示进行相应的处理, 该处理可以为如下两种方式:  Step 4: The called CAT service function control module performs corresponding processing according to the CAT service priority indication carried in the INVITE request, and the processing may be as follows:
a、 当 CAT业务优先级指示表示主叫用户 CAT业务优先级高时, 被叫 CAT业务功能控制模块仅执行路由功能, 即转发接收到的 INVITE请求、 且 不执行提供被叫用户 CAT业务的操作, 不执行提供被叫用户 CAT业务的操 作可以包括: 不为被叫用户 CAT业务申请媒体资源。  a. When the CAT service priority indication indicates that the calling user CAT service has a high priority, the called CAT service function control module only performs the routing function, that is, forwards the received INVITE request, and does not perform the operation of providing the called user CAT service. The operation of not providing the called user CAT service may include: not requesting the media resource for the called user CAT service.
b、 当 CAT业务优先级指示表示主叫用户 CAT业务优先级低即被叫用 户 CAT业务优先级高时, 被叫 CAT业务功能模块执行提供被叫用户 CAT 业务的操作, 执行提供被叫用户 CAT业务的操作可以包括: 为被叫用户 CAT业务申请媒体资源。 可选的, 歩骤 5、 在 CAT业务优先级指示表示主叫用户 CAT业务优先 级高、 且被叫用户触发了呼叫前转业务 (即呼叫转移) 的情况下, 可以将 CAT业务优先级指示携带在 INVITE请求中发送给呼叫前转的第三方用户的 终端。 b. When the CAT service priority indication indicates that the calling user CAT service priority is low, that is, the called user CAT service priority is high, the called CAT service function module performs an operation of providing the called user CAT service, and performs providing the called user CAT. The operations of the service may include: requesting a media resource for the called user CAT service. Optionally, in step 5, when the CAT service priority indication indicates that the calling user CAT service has a high priority, and the called user triggers the call forwarding service (ie, call forwarding), the CAT service priority indication may be A terminal that carries a third-party user that is sent to the call forwarding in the INVITE request.
在 IMS域与 CS域互通、 且主叫用户在 IMS域、 被叫用户在 CS域的情 况下, 方式一提供的定制回铃音业务实现方法流程如附图 2所示。  In the case where the IMS domain is interworking with the CS domain, and the calling user is in the IMS domain and the called user is in the CS domain, the method for implementing the customized ringback tone service provided by the mode 1 is as shown in FIG. 2 .
图 2中, 歩骤 1、 主叫 CAT业务功能控制模块接收 INVITE请求。  In Figure 2, step 1. The calling CAT service function control module receives the INVITE request.
歩骤 2、 主叫 CAT业务功能控制模块进行高优先级的 CAT业务选择过 程, 即确定主叫用户 CAT业务优先级高还是被叫用户 CAT业务优先级高。 例如, 依据下述 a至 c中的任一策略来选择高优先级的 CAT业务:  Step 2: The calling CAT service function control module performs a high-priority CAT service selection process, that is, determines whether the calling user CAT service has a high priority or the called user CAT service has a high priority. For example, select a high priority CAT service based on any of the following a to c strategies:
a、 根据主叫用户的 CAT业务设置参数确定主叫用户 CAT业务优先级 高还是被叫用户 CAT业务优先级高。  a. According to the calling user's CAT service setting parameters, determine whether the calling user's CAT service priority is high or the called user's CAT service has a high priority.
b、 根据预先设定的本地策略确定主叫用户 CAT业务优先级高还是被叫 用户 CAT业务优先级高。  b. Determine whether the calling user's CAT service has a high priority or the called user's CAT service has a high priority according to a preset local policy.
c、 根据以往选择结果 (例如, 前一次的选择结果, 这意味着主叫用户 c, based on past selection results (for example, the previous selection result, which means the calling user
CAT业务功能控制模块需要在选择高优先级的 CAT业务后, 记录选择结 果) 确定主叫用户 CAT业务优先级高还是被叫用户 CAT业务优先级高。 The CAT service function control module needs to record the selection result after selecting the high priority CAT service.) Determine whether the calling user CAT service has a high priority or the called user CAT service has a high priority.
歩骤 3、 主叫 CAT业务功能控制模块根据选择的 CAT业务优先级在 INVITE请求中携带 CAT业务优先级指示, 所述携带 CAT业务优先级指示 的方法包含下述任意一种或任意组合:  Step 3: The calling CAT service function control module carries a CAT service priority indication in the INVITE request according to the selected CAT service priority, and the method for carrying the CAT service priority indication includes any one or any combination of the following:
a、 在 INVITE请求的头域中携带 CAT业务优先级指示, 例如当主叫用 户 CAT业务优先级高时, 在 Reject-Contact头域中携带 CAT参数 (如主叫 用户 CAT业务信息) , 或者扩展一个新的头域 R ject-Service, 并在该扩展 的头域 Reject-Service中携带 CAT参数 (如主叫用户 CAT业务信息) ; 再 例如, 当被叫用户 CAT业务优先级高时, 在 Accept-Contact头域中携带 CAT参数 (如被叫用户 CAT业务信息) , 或者扩展一个新的头域 Accept- Service, 并在该扩展的头域 Accept-Service中携带 CAT参数 (如被叫用户a. Carrying a CAT service priority indication in the header field of the INVITE request, for example, when the calling user CAT service has a high priority, carrying a CAT parameter (such as a calling user CAT service information) in the Reject-Contact header field, or expanding A new header field, Rject-Service, and carrying CAT parameters (such as calling party CAT service information) in the extended header field Reject-Service; for example, when the called user CAT service has a high priority, in Accept -Contact header field carries CAT parameters (such as called user CAT service information), or expands a new header field Accept- Service, and carry the CAT parameter (such as the called user) in the extended header field Accept-Service
CAT业务信息) 。 CAT business information).
b、 在 INVITE请求的消息体中携带 CAT业务优先级指示 (即选择的定 制回铃音业务的信息) , 例如, 当主叫用户 CAT业务优先级高时, 在 INVITE请求中携带 Content-Disposition为 Early Session的 SDP信息, 并且 SDP信息中所有媒体行的端口地址均为 0, 表示主叫 CAT业务优先级高, 拒绝被叫 CAT业务。  b. Carrying the CAT service priority indication (that is, the information of the selected customized ring back tone service) in the message body of the INVITE request, for example, when the priority of the calling user CAT service is high, the Content-Disposition is carried in the INVITE request. The SDP information of the Early Session, and the port address of all media lines in the SDP information is 0, indicating that the calling CAT service has a high priority and rejects the called CAT service.
主叫 CAT业务功能控制模块向 MGCF发送携带有 CAT业务优先级指 示的 INVITE请求。 MGCF获取并判断 INVITE请求中的 CAT业务优先级 指示, 在判断出 CAT业务优先级指示表示主叫用户 CAT业务优先级高时, 可以到歩骤 4al, 也可以到歩骤 4a2; MGCF在判断出 CAT业务优先级指示 表示被叫用户 CAT业务优先级高时, 到歩骤 4b。  The calling CAT service function control module sends an INVITE request carrying the CAT service priority indication to the MGCF. The MGCF obtains and determines the CAT service priority indication in the INVITE request. When it is determined that the CAT service priority indication indicates that the calling user CAT service priority is high, the MGCF may go to step 4al or to step 4a2; the MGCF determines When the CAT service priority indication indicates that the called user CAT service has a high priority, go to step 4b.
歩骤 4al、 MGCF在 IAM中携带 CAT业务优先级指示, 并向 CS网络 发送该 IAM。 本发明实施方式可以通过在 IAM中增加新的字段、 或利用 IAM中原有字段等方式来使 IAM携带 CAT业务优先级指示, 例如: 扩展 IAM中的 Optional Forward Call IndiCATors (可选前向呼叫指示) 字段的 G- D比特的用法, 设置 G比特为 " 1 " 时表示主叫用户 CAT业务优先级高, 为 "0" 时表示被叫用户 CAT业务优先级高等。 从而 CS网络可以根据 IAM 中的指示信息判断出主叫用户 CAT业务优先级高, 并不在执行提供被叫用 户 CAT业务的操作。 另外, 主叫 CAT业务功能控制模块正常执行提供主叫 用户 CAT业务的操作。  Step 4al: The MGCF carries the CAT service priority indication in the IAM, and sends the IAM to the CS network. The embodiment of the present invention may enable the IAM to carry the CAT service priority indication by adding a new field in the IAM, or using the original field in the IAM, for example: Expand Optional Forward Call IndiCATors in the IAM (optional forward call indication) The usage of the G-D bit of the field, when the G bit is set to "1", indicates that the calling user's CAT service has a high priority, and when it is "0", the called user's CAT service has a higher priority. Therefore, the CS network can judge that the calling user CAT service has a high priority according to the indication information in the IAM, and does not perform an operation of providing the called user CAT service. In addition, the calling CAT service function control module normally performs the operation of providing the calling user CAT service.
歩骤 4a2、 MGCF向 CS网络发送正常的 IAM, 但不要求 MGW打开媒 体门控, 例如, MGCF不向 MGW发送要求 MGW打开媒体门控的 H.248命 令。 从而, 虽然 CS网络可以根据 IAM正常执行提供被叫用户 CAT业务的 操作, 但是, 由于 MGW没有打开媒体门控, 因此, 被叫用户 CAT业务媒 体流不会传输至主叫用户。 另外, 主叫 CAT业务功能控制模块正常执行提 供主叫用户 CAT业务的操作。 Step 4a2: The MGCF sends a normal IAM to the CS network, but does not require the MGW to open the media gating. For example, the MGCF does not send an H.248 command to the MGW requesting the MGW to open the media gating. Thus, although the CS network can perform the operation of providing the called user CAT service according to the IAM normally, since the MGW does not open the media gating, the called user CAT service media stream is not transmitted to the calling user. In addition, the calling CAT business function control module is normally implemented. The operation for the calling user CAT service.
歩骤 4b、 MGCF向 CS网络发送正常的 IAM。 此后, 主叫 CAT业务功 能控制模块可以充当路由功能的角色, 转发接收到的请求或响应, 并不执行 提供主叫用户 CAT业务的操作, 例如, 不针对主叫用户 CAT业务申请媒体 资源。  Step 4b: The MGCF sends a normal IAM to the CS network. Thereafter, the calling CAT service function control module can act as a routing function, forward the received request or response, and do not perform the operation of providing the calling user's CAT service, for example, not requesting the media resource for the calling user CAT service.
上述图 2中的 CS网络可以为 PSTN网络, 也可以为 PLMN网络。 下述 实施方式中涉及的 CS网络也同样可以为 PSTN网络或 PLMN网络。  The CS network in Figure 2 above may be a PSTN network or a PLMN network. The CS network involved in the following embodiments may also be a PSTN network or a PLMN network.
在 IMS域与 CS域互通、 且主叫用户在 CS域、 被叫用户在 IMS域的情 况下, 方式一提供的定制回铃音业务实现方法流程如附图 3所示。  In the case where the IMS domain communicates with the CS domain, and the calling user is in the CS domain and the called user is in the IMS domain, the method for implementing the customized ringback tone service provided by the mode 1 is as shown in FIG. 3.
图 3 中, 歩骤 1、 CS 网络在实现了选择高优先级的 CAT业务后, 向 In Figure 3, step 1. After the CS network implements the selection of high-priority CAT services,
IMS网络中的 MGCF发送携带有 CAT业务优先级指示的 IAM。 在 IAM中 携带 CAT业务优先级指示的方法如上述图 2歩骤 4al的描述。 MGCF接收 CS网络传输来的 IAM, 并到歩骤 2a或者到歩骤 2b。 The MGCF in the IMS network sends an IAM carrying a CAT service priority indication. The method of carrying the CAT service priority indication in the IAM is as described in Figure 4, step 4al above. The MGCF receives the IAM transmitted by the CS network, and proceeds to step 2a or to step 2b.
歩骤 2a、 MGCF获取 IAM中的 CAT业务优先级指示, 并将该 CAT业 务优先级指示携带在 INVITE请求中, 并发送该 INVITE请求。 从而主叫 CAT业务功能控制模块可以根据接收到的指示信息确定是否执行提供主叫 用户 CAT业务的操作, 例如, 在判断出被叫 CAT业务优先级高时, 不执行 提供主叫用户 CAT业务的操作, 不针对主叫用户 CAT业务申请媒体资源。  Step 2a: The MGCF obtains the CAT service priority indication in the IAM, and carries the CAT service priority indication in the INVITE request, and sends the INVITE request. Therefore, the calling CAT service function control module can determine whether to perform the operation of providing the calling user CAT service according to the received indication information, for example, when it is determined that the called CAT service has a high priority, the calling CAT service is not performed. Operation, does not apply for media resources for the calling user CAT service.
在 INVITE请求中携带 CAT业务优先级指示的方法可以为如下任意一 种:  The method of carrying the CAT service priority indication in the INVITE request may be any one of the following:
a、 在 INVITE请求的头域中携带 CAT业务优先级指示, 例如当主叫用 户 CAT业务优先级高时, 在 Reject-Contact头域中携带 CAT参数 (如主叫 用户 CAT业务信息) , 或者扩展一个新的头域 R ject-Service, 并在该扩展 的头域 Reject-Service中携带 CAT参数 (如主叫用户 CAT业务信息) ; 再 例如, 当被叫用户 CAT业务优先级高时, 在 Accept-Contact头域中携带 CAT参数 (如被叫用户 CAT业务信息) , 或者扩展一个新的头域 Accept- Service, 并在该扩展的头域 Accept-Service中携带 CAT参数 (如被叫用户a. Carrying a CAT service priority indication in the header field of the INVITE request, for example, when the calling user CAT service has a high priority, carrying a CAT parameter (such as a calling user CAT service information) in the Reject-Contact header field, or expanding A new header field, Rject-Service, and carrying CAT parameters (such as calling party CAT service information) in the extended header field Reject-Service; for example, when the called user CAT service has a high priority, in Accept -Contact header field carries CAT parameters (such as called user CAT service information), or expands a new header field Accept- Service, and carry the CAT parameter (such as the called user) in the extended header field Accept-Service
CAT业务信息) 。 CAT business information).
b、 在 INVITE请求的消息体中携带 CAT业务优先级指示 (即选择的定 制回铃音业务的信息) , 例如, 当主叫用户 CAT业务优先级高时, 在 INVITE请求中携带 Content-Disposition为 Early Session的 SDP信息, 并且 SDP信息中所有媒体行的端口地址均为 0, 表示主叫 CAT业务优先级高, 拒绝被叫 CAT业务。  b. Carrying the CAT service priority indication (that is, the information of the selected customized ring back tone service) in the message body of the INVITE request, for example, when the priority of the calling user CAT service is high, the Content-Disposition is carried in the INVITE request. The SDP information of the Early Session, and the port address of all media lines in the SDP information is 0, indicating that the calling CAT service has a high priority and rejects the called CAT service.
歩骤 2b、 MGCF发送正常的 INVITE请求, 并且在 CAT业务优先级指 示表示主叫用户 CAT业务优先级高时, 可以不要求 MGW打开媒体门控, 例如, MGCF不向 MGW发送要求 MGW打开媒体门控的 H.248命令。 在 MGW不打开媒体门控的情况下, 能够避免被叫用户 CAT业务媒体流传输 至主叫用户的终端。 此后, 主叫 CAT业务功能控制模块根据接收到的 INVITE请求正常执行提供主叫用户 CAT业务的操作。  Step 2b: The MGCF sends a normal INVITE request, and when the CAT service priority indication indicates that the calling user CAT service has a high priority, the MGW may not be required to open the media gating. For example, the MGCF does not send the MGW to request the MGW to open the media door. Controlled H.248 command. In the case that the MGW does not open the media gating, the called user CAT service media stream can be prevented from being transmitted to the calling user's terminal. Thereafter, the calling CAT service function control module normally performs the operation of providing the calling user CAT service according to the received INVITE request.
方式二提供的定制回铃音业务实现方法流程如附图 4所示。  The flow of the method for implementing the customized ring back tone service provided by the second method is as shown in FIG. 4 .
图 4中, 歩骤 1、 主叫 CAT业务功能控制模块接收 INVITE请求, 到歩 骤 2。  In Figure 4, step 1. The calling CAT service function control module receives the INVITE request, and proceeds to step 2.
歩骤 2、 主叫 CAT业务功能控制模块判断主叫用户的终端能力。 判断 主叫用户的终端能力的方法可以为如下任一一种:  Step 2: The calling CAT service function control module determines the terminal capability of the calling user. The method for judging the terminal capability of the calling user may be any of the following:
a、 主叫 CAT业务功能控制模块在判断出其接收到的 INVITE请求中携 带的头域 P-Early-Media为 supported时, 确定主叫用户的终端支持 P-Early- a. The calling CAT service function control module determines that the calling terminal's terminal supports P-Early- when it determines that the header field P-Early-Media carried in the received INVITE request is supported.
Media (即支持网关模式) 。 Media (that is, support gateway mode).
b、 主叫 CAT业务功能控制模块在判断出其接收到的 INVITE请求中的 头域 Supported中携带有 Early Session参数时, 确定主叫用户的终端支持 Early Session。  The calling CAT service function control module determines that the terminal of the calling user supports the Early Session when it determines that the header field Supported in the INVITE request is carried with the Early Session parameter.
主叫 CAT业务功能控制模块在判断出主叫用户的终端不支持 Early The calling CAT service function control module determines that the calling user's terminal does not support Early
Session模式, 则到歩骤 3a。 主叫 CAT业务功能控制模块在判断出主叫用户的终端支持 Early Session模式, 则到歩骤 3b。 Session mode, then to step 3a. The calling CAT service function control module determines that the terminal of the calling user supports the Early Session mode, and then proceeds to step 3b.
歩骤 3a、 在主叫用户的终端不支持 Early Session的情况下, 主叫 CAT 业务功能控制模块在 INVITE请求的头域 Supported中增加 Early Session参 数, 然后, 转发该 INVITE请求, 到歩骤 4。  Step 3a: In the case that the calling user's terminal does not support the Early Session, the calling CAT service function control module adds the Early Session parameter to the header field Supported of the INVITE request, and then forwards the INVITE request to step 4.
歩骤 3b、 在主叫用户的终端支持 Early Session的情况下, 主叫 CAT业 务功能控制模块直接转发该 INVITE请求, 到歩骤 4。  Step 3b: When the calling user's terminal supports the Early Session, the calling CAT service function control module directly forwards the INVITE request to step 4.
歩骤 4、 被叫 CAT业务功能控制模块接收 INVITE请求, 并向被叫方 (即被叫用户终端) 转发该 INVITE请求, 到歩骤 5。  Step 4: The called CAT service function control module receives the INVITE request, and forwards the INVITE request to the called party (ie, the called user terminal), to step 5.
歩骤 5、 被叫方接收 INVITE 请求, 并返回临时响应 (Provisional Step 5. The called party receives the INVITE request and returns a temporary response (Provisional
Response) , 到歩骤 6。 Response) , to step 6.
歩骤 6、 被叫 CAT业务功能控制模块接收该临时响应, 然后采用应用 服务器模式提供被叫 CAT业务, 在该临时响应的消息体中携带 Content- Disposition为 Early Session的被叫用户 CAT业务的 SDP (offer) 。  Step 6. The called CAT service function control module receives the temporary response, and then provides the called CAT service in an application server mode, and carries the SDP of the called user CAT service with the Content-Disposition as the Early Session in the message body of the temporary response. (offer).
歩骤 7、 主叫 CAT业务功能控制模块在接收到临时响应后, 选择高优 先级的 CAT业务。 例如, 主叫 CAT业务功能控制模块可以依据下述 a至 g 中的任一策略来选择高优先级的 CAT业务:  Step 7. After receiving the temporary response, the calling CAT service function control module selects the high priority CAT service. For example, the calling CAT service function control module can select a high priority CAT service according to any of the following a to g policies:
a、 根据主叫用户的 CAT业务设置参数确定主叫用户 CAT业务优先级 高还是被叫用户 CAT业务优先级高。  a. According to the calling user's CAT service setting parameters, determine whether the calling user's CAT service priority is high or the called user's CAT service has a high priority.
b、 根据预先设定的本地策略确定主叫用户 CAT业务优先级高还是被叫 用户 CAT业务优先级高。  b. Determine whether the calling user's CAT service has a high priority or the called user's CAT service has a high priority according to a preset local policy.
c、 根据以往选择结果 (例如, 前一次的选择结果, 这意味着主叫 CAT 业务功能控制模块需要在选择高优先级的 CAT业务后, 记录选择结果) 确 定主叫用户 CAT业务优先级高还是被叫用户 CAT业务优先级高。  c. According to the previous selection result (for example, the previous selection result, this means that the calling CAT service function control module needs to record the selection result after selecting the high priority CAT service) to determine whether the calling user CAT service has a high priority or The called user CAT service has a high priority.
d、 根据临时响应的状态码确定主叫用户 CAT业务优先级高还是被叫用 户 CAT业务优先级高, 例如, 当临时响应的状态码为 181时 (表示存在呼 叫转移) , 可以确定被叫用户 CAT业务优先级高。 d. According to the status code of the temporary response, determine whether the calling user CAT service priority is high or the called user CAT service priority is high, for example, when the temporary response status code is 181 (indicating that there is a call) Calling transfer), it can be determined that the called user CAT service has a high priority.
e、 根据临时响应的头域中携带的信息确定主叫用户 CAT业务优先级高 还是被叫用户 CAT业务优先级高。 例如, 当临时响应中的 Privacy为设置为 "ID" 时, 可以确定主叫用户 CAT业务优先级高。  e. According to the information carried in the header field of the temporary response, it is determined whether the calling user CAT service has a high priority or the called user CAT service has a high priority. For example, when the privacy in the temporary response is set to "ID", it can be determined that the calling user CAT service has a high priority.
f、 主叫 CAT业务功能控制模块根据接收到的 INVITE请求中的 SDP信 息、 以及接收到的临时响应中携带的 Early session的 SDP信息确定主叫用 户 CAT业务优先级高还是被叫用户 CAT业务优先级高。 例如, 当 INVITE 请求的 SDP信息描述的是音频媒体流, 而临时响应的 Early Session的 SDP 信息描述的是视频媒体流, 则可以确定主叫用户 CAT业务优先级高。  f. The calling CAT service function control module determines whether the calling user CAT service priority or the called user CAT service priority is determined according to the SDP information in the received INVITE request and the SDP information of the Early session carried in the received temporary response. Level is high. For example, when the SDP information requested by the INVITE describes the audio media stream, and the SDP information of the Early Session of the temporary response describes the video media stream, it can be determined that the calling user CAT service has a high priority.
g、 主叫 CAT业务功能控制模块根据主叫用户的终端能力 (表示主叫用 户的终端支持的媒体格式) 、 以及临时响应中携带的 Early session的 SDP 信息确定主叫用户 CAT业务优先级高还是被叫用户 CAT业务优先级高。 例 如, 当主叫用户的终端仅支持音频, 而 Early Session的 SDP信息描述的是 视频媒体流时, 可以确定主叫用户 CAT业务优先级高。  g. The calling CAT service function control module determines whether the calling user CAT service has a high priority according to the calling user's terminal capability (representing the media format supported by the calling user's terminal) and the SDP information of the Early session carried in the temporary response. The called user CAT service has a high priority. For example, when the calling user's terminal only supports audio, and the Early Session's SDP information describes the video media stream, it can be determined that the calling user's CAT service has a high priority.
在主叫 CAT业务功能控制模块确定主叫用户 CAT业务优先级高的情况 下, 不论主叫用户的终端是支持 Early Session还是支持 Ρ-Early-Media, 均 到歩骤 8a。  In the case that the calling CAT service function control module determines that the calling user's CAT service has a high priority, whether the calling user's terminal supports the Early Session or the Ρ-Early-Media, the process proceeds to step 8a.
在主叫 CAT业务功能控制模块确定被叫用户 CAT业务优先级高、 且主 叫用户的终端支持 Early Session的情况下, 到歩骤 8b。  When the calling CAT service function control module determines that the called user CAT service has a high priority and the calling user's terminal supports the Early Session, the process proceeds to step 8b.
在主叫 CAT业务功能控制模块确定被叫用户 CAT业务优先级高、 且主 叫用户的终端仅支持 P-Early-Media的情况下, 到歩骤 8c。  In the case where the calling CAT service function control module determines that the called user CAT service has a high priority and the calling user's terminal only supports P-Early-Media, the process proceeds to step 8c.
歩骤 8a、 主叫 CAT业务功能控制模块将 PRACK请求中的 Content- Disposition设置为 Early Session的 SDP (Answer) 信息、 并将 SDP信息中 所有媒体行的端口地址均设置为 0, 然后, 向被叫 CAT业务功能控制模块 发送该 PRACK请求。 被叫 CAT业务功能控制模块在接收到该 PRACK请 求后, 不再执行提供被叫用户 CAT业务的操作。 主叫 CAT业务功能控制模 块正常执行后续提供主叫用户 CAT业务的操作。 Step 8a: The calling CAT service function control module sets the Content-Disposition in the PRACK request to the SDP (Answer) information of the Early Session, and sets the port address of all media lines in the SDP information to 0, and then The CAT service function control module sends the PRACK request. After receiving the PRACK request, the called CAT service function control module does not perform the operation of providing the called user CAT service. Calling CAT business function control module The block normally performs the subsequent operation of providing the calling user CAT service.
歩骤 8b、 主叫 CAT业务功能控制模块直接转发临时响应。 而且, 主叫 CAT业务功能控制模块不再执行后续提供主叫用户 CAT业务的操作。  Step 8b: The calling CAT service function control module directly forwards the temporary response. Moreover, the calling CAT service function control module no longer performs the subsequent operation of providing the calling user CAT service.
歩骤 8c、 在临时响应同时携带了 Content-Disposition为 Early Session的 被叫方 CAT业务的 SDP信息和 Content-Disposition为 session的被叫方返回 的普通会话的 SDP信息的情况下, 主叫 CAT业务功能控制模块存储 Content-Disposition中的 session的被叫方返回的普通会话的 SDP信息, 删除 临时响应消息体中的该分内容, 将设置为 Early Session的被叫方 CAT业务 的 SDP信息的 Content-Disposition更改为 session, 并在临时响应中增加头域 P-Early-Mediao 头域 P-Early-Media的参数可以设置为 "sendrecv" 。 然后, 将临时响应的 to tag更改为主叫 CAT业务功能控制模块本地产生的 to tag, 之后, 向主叫方 (即主叫用户的终端) 转发临时响应。 在临时响应中仅携带 Content-Disposition为 Early Session的被叫方 CAT业务的 SDP信息的情况 下, 主叫 CAT业务功能控制模块直接将设置为 Early Session的被叫方 CAT 业务的 SDP信息的 Content-Disposition更改为 session, 并在临时响应中增加 头域 P-Early-Media, 头域 P-Early-Media的参数可以设置为 "sendrecv" 。 然后, 将临时响应的 to tag更改为主叫 CAT业务功能控制模块本地产生的 to tag, 然后转发临时响应给主叫。 而且, 主叫 CAT业务功能控制模块不再 执行后续提供主叫用户 CAT业务的操作。 到歩骤 9c。  Step 8c: In the case that the temporary response carries the SDP information of the called party CAT service whose Content-Disposition is Early Session and the SDP information of the normal session returned by the called party of the session, the calling CAT service The function control module stores the SDP information of the normal session returned by the called party of the session in the Content-Disposition, deletes the content of the content in the temporary response message body, and sets the Content of the SDP information of the called party CAT service of the Early Session. Change Disposition to session, and add the header field in the temporary response P-Early-Mediao header field P-Early-Media parameters can be set to "sendrecv". Then, the to tag of the temporary response is changed to the to tag generated locally by the CAT service function control module, and then the temporary response is forwarded to the calling party (ie, the terminal of the calling user). In the case that only the SDP information of the called party CAT service whose Content-Disposition is the Early Session is carried in the temporary response, the calling CAT service function control module directly sets the Content of the SDP information of the called party CAT service set to the Early Session. Disposition is changed to session, and the header field P-Early-Media is added to the temporary response. The parameter of the header field P-Early-Media can be set to "sendrecv". Then, the to tag of the temporary response is changed to the to tag generated locally by the CAT service function control module, and then the temporary response is forwarded to the calling party. Moreover, the calling CAT service function control module no longer performs the subsequent operation of providing the calling user CAT service. Go to step 9c.
歩骤 9c、 主叫 CAT业务功能控制模块向被叫方发送 PRACK请求, 该 Step 9c: The calling CAT service function control module sends a PRACK request to the called party, where
PRACK请求中携带有普通会话的 SDP信息, 而且, 普通会话的 SDP信息 是以 Content-Disposition为 Early Session的方式携带在 PRACK请求中的。 The PRACK request carries the SDP information of the normal session, and the SDP information of the normal session is carried in the PRACK request in the manner that the Content-Disposition is the Early Session.
需要说明的是, 歩骤 8c和歩骤 9c的执行顺序可以颠倒, 也可以同时执 行。 另外, 本实施方式中的普通会话是指非定制回铃音业务的会话。  It should be noted that the execution order of steps 8c and 9c may be reversed or may be performed simultaneously. In addition, the normal session in this embodiment refers to a session of a non-customized ring back tone service.
方式三提供的定制回铃音业务实现方法流程如附图 5所示。  The flow of implementing the customized ring back tone service provided by mode 3 is as shown in FIG. 5.
图 5中, 歩骤 1、 主叫 CAT业务功能控制模块接收 INVITE请求, 到歩 骤 2。 In Figure 5, step 1, the calling CAT service function control module receives the INVITE request, to 歩 Step 2.
歩骤 2、 主叫 CAT业务功能控制模块判断主叫用户的终端能力。 判断 主叫用户的终端能力的方法可以如上述图 4中歩骤 2的描述, 在此不再重复 说明。 主叫 CAT业务功能控制模块在判断出主叫用户的终端仅支持 P- Early-Media时, 到歩骤 3a、 或者到歩骤 3a2、 或者到歩骤 3a3。 主叫 CAT 业务功能控制模块在判断出主叫用户的终端支持 Early Session时, 到歩骤 3b。  Step 2: The calling CAT service function control module determines the terminal capability of the calling user. The method for judging the terminal capability of the calling user may be as described in step 2 in FIG. 4 above, and the description is not repeated here. When the calling CAT service function control module determines that the calling user's terminal only supports P-Early-Media, it proceeds to step 3a, or to step 3a2, or to step 3a3. When the calling CAT service function control module determines that the calling user's terminal supports the Early Session, it proceeds to step 3b.
歩骤 3a、 主叫 CAT业务功能控制模块进行高优先级的 CAT业务选择 过程, 即确定主叫用户 CAT业务优先级高还是被叫用户 CAT业务优先级 高。 具体选择过程可以如上述图 1歩骤 2中的描述, 在此不再重复说明。 到 歩骤 4a。  Step 3a: The calling CAT service function control module performs a high priority CAT service selection process, that is, determines whether the calling user CAT service has a high priority or the called user CAT service has a high priority. The specific selection process may be as described in the above step 2 of FIG. 1, and the description will not be repeated here. Go to step 4a.
歩骤 4a、 主叫 CAT业务功能控制模块根据选择的 CAT业务优先级在 INVITE请求中携带 CAT业务优先级指示, 所述携带 CAT业务优先级指示 的方法如上述图 1歩骤 3中的描述, 在此不再重复说明。 到歩骤 5a。  Step 4a: The calling CAT service function control module carries a CAT service priority indication in the INVITE request according to the selected CAT service priority, and the method for carrying the CAT service priority indication is as described in step 3 of FIG. The description will not be repeated here. Go to step 5a.
歩骤 5a、 被叫 CAT业务功能控制模块根据 INVITE请求中携带的 CAT 业务优先级指示进行相应的处理, 该处理的两种方式可以如上述图 1歩骤 4 中的描述, 在此不再重复说明。  Step 5a: The called CAT service function control module performs corresponding processing according to the CAT service priority indication carried in the INVITE request, and the two methods of the processing may be as described in step 4 of FIG. 1 above, and are not repeated here. Description.
歩骤 3a2、 主叫 CAT业务功能控制模块进行高优先级的 CAT业务选择 过程, 即确定主叫用户 CAT业务优先级高还是被叫用户 CAT业务优先级 高。 具体选择过程可以如上述图 2歩骤 2中的描述, 在此不再重复说明。 到 歩骤 4a2。  Step 3a2: The calling CAT service function control module performs a high-priority CAT service selection process, that is, determines whether the calling user CAT service has a high priority or the called user CAT service has a high priority. The specific selection process may be as described in the above step 2 of FIG. 2, and the description will not be repeated here. Go to step 4a2.
歩骤 4a2、 主叫 CAT业务功能控制模块根据选择的 CAT业务优先级在 INVITE请求中携带 CAT业务优先级指示, 携带 CAT业务优先级指示的方 法如上述图 2歩骤 3的描述, 在此不再重复说明。  Step 4a2, the calling CAT service function control module carries the CAT service priority indication in the INVITE request according to the selected CAT service priority, and the method for carrying the CAT service priority indication is as described in step 3 of FIG. 2 above. Repeat the explanation.
主叫 CAT业务功能控制模块向 MGCF发送携带有 CAT业务优先级指 示的 INVITE请求。 MGCF获取并判断 INVITE请求中的 CAT业务优先级 指示, 在判断出 CAT业务优先级指示表示主叫用户 CAT业务优先级高时, 可以到歩骤 5al, 也可以到歩骤 5a2; MGCF在判断出 CAT业务优先级指示 表示被叫用户 CAT业务优先级高时, 到歩骤 5a3。 The calling CAT service function control module sends an INVITE request carrying the CAT service priority indication to the MGCF. MGCF obtains and judges CAT service priority in INVITE request The indication, when determining that the CAT service priority indication indicates that the calling user CAT service priority is high, may go to step 5al or to step 5a2; the MGCF determines that the CAT service priority indication indicates that the called user CAT service takes precedence. When the level is high, go to step 5a3.
歩骤 5al、 MGCF在 IAM中携带 CAT业务优先级指示, 并向 CS网络 发送该 IAM。 本发明实施方式可以通过在 IAM中增加新的字段、 或利用 IAM中原有字段等方式来使 IAM携带 CAT业务优先级指示, 例如: 扩展 IAM中的 Optional Forward Call IndiCATors (可选前向呼叫指示) 字段的 G- D比特的用法, 设置 G比特为 " 1 " 时表示主叫用户 CAT业务优先级高, 为 "0" 时表示被叫用户 CAT业务优先级高等。 从而 CS网络可以根据 IAM 中的指示信息判断出主叫用户 CAT业务优先级高, 并不在执行提供被叫用 户 CAT业务的操作。 另外, 主叫 CAT业务功能控制模块正常执行提供主叫 用户 CAT业务的操作。  Step 5al: The MGCF carries the CAT service priority indication in the IAM, and sends the IAM to the CS network. The embodiment of the present invention may enable the IAM to carry the CAT service priority indication by adding a new field in the IAM, or using the original field in the IAM, for example: Expand Optional Forward Call IndiCATors in the IAM (optional forward call indication) The usage of the G-D bit of the field, when the G bit is set to "1", indicates that the calling user's CAT service has a high priority, and when it is "0", the called user's CAT service has a higher priority. Therefore, the CS network can judge that the calling user CAT service has a high priority according to the indication information in the IAM, and does not perform an operation of providing the called user CAT service. In addition, the calling CAT service function control module normally performs the operation of providing the calling user CAT service.
歩骤 5a2、 MGCF向 CS网络发送正常的 IAM, 但不要求 MGW打开媒 体门控, 例如, MGCF不向 MGW发送要求 MGW打开媒体门控的 H.248命 令。 从而, 虽然 CS网络可以根据 IAM正常执行提供被叫用户 CAT业务的 操作, 但是, 由于 MGW没有打开媒体门控, 因此, 被叫用户 CAT业务媒 体流不会传输至主叫用户。 另外, 主叫 CAT业务功能控制模块正常执行提 供主叫用户 CAT业务的操作。  Step 5a2: The MGCF sends a normal IAM to the CS network, but does not require the MGW to open the media gating. For example, the MGCF does not send an H.248 command to the MGW requesting the MGW to open the media gating. Thus, although the CS network can perform the operation of providing the called user's CAT service according to the normal operation of the IAM, since the MGW does not open the media gating, the called user CAT service media stream is not transmitted to the calling user. In addition, the calling CAT service function control module normally performs the operation of providing the calling user CAT service.
歩骤 5a3、 MGCF向 CS网络发送正常的 IAM。 此后, 主叫 CAT业务 功能控制模块可以充当路由功能的角色, 转发接收到的请求或响应, 并不执 行提供主叫用户 CAT业务的操作, 例如, 不针对主叫用户 CAT业务申请媒 体资源。  Step 5a3: The MGCF sends a normal IAM to the CS network. Thereafter, the calling CAT service function control module can act as a routing function, forward the received request or response, and not perform the operation of providing the calling user's CAT service, for example, not requesting the media resource for the calling user CAT service.
歩骤 3a3、 主叫 CAT业务功能控制模块在实现了选择高优先级的 CAT 业务后, 向 IMS 网络中的 MGCF发送携带有 CAT业务优先级指示的 IAM。 在 IAM中携带 CAT业务优先级指示的方法如上述图 2歩骤 4al的描 述。 MGCF接收 CS网络传输来的 IAM, 并到歩骤 4a3或者到歩骤 4a4。 歩骤 4a3、 MGCF获取 IAM中的 CAT业务优先级指示, 并将该 CAT 业务优先级指示携带在 INVITE请求中, 并发送该 INVITE请求。 从而主叫 CAT业务功能控制模块可以根据接收到的指示信息确定是否执行提供主叫 用户 CAT业务的操作, 例如, 在判断出被叫 CAT业务优先级高时, 不执行 提供主叫用户 CAT业务的操作, 不针对主叫用户 CAT业务申请媒体资源。 Step 3a3: After the calling CAT service function control module implements the selection of the high priority CAT service, the IAM that carries the CAT service priority indication is sent to the MGCF in the IMS network. The method of carrying the CAT service priority indication in the IAM is as described in step 4a of FIG. 2 above. The MGCF receives the IAM transmitted by the CS network, and proceeds to step 4a3 or to step 4a4. Step 4a3: The MGCF obtains the CAT service priority indication in the IAM, and carries the CAT service priority indication in the INVITE request, and sends the INVITE request. Therefore, the calling CAT service function control module can determine whether to perform the operation of providing the calling user CAT service according to the received indication information, for example, when it is determined that the called CAT service has a high priority, the calling CAT service is not performed. Operation, does not apply for media resources for the calling user CAT service.
在 INVITE请求中携带 CAT业务优先级指示的方法可以如上述图 3中 歩骤 2a的描述, 在此不再重复说明。  The method for carrying the CAT service priority indication in the INVITE request may be as described in the foregoing step 2a in FIG. 3, and the description is not repeated here.
歩骤 4a4、 MGCF发送正常的 INVITE请求, 并且在 CAT业务优先级指 示表示主叫用户 CAT业务优先级高时, 可以不要求 MGW打开媒体门控, 例如, MGCF不向 MGW发送要求 MGW打开媒体门控的 H.248命令。 在 MGW不打开媒体门控的情况下, 能够避免被叫用户 CAT业务媒体流传输 至主叫用户的终端。 此后, 主叫 CAT业务功能控制模块根据接收到的 INVITE请求正常执行提供主叫用户 CAT业务的操作。  Step 4a4: The MGCF sends a normal INVITE request, and when the CAT service priority indication indicates that the calling user CAT service has a high priority, the MGW may not be required to open the media gating. For example, the MGCF does not send the MGW to request the MGW to open the media door. Controlled H.248 command. In the case that the MGW does not open the media gating, the called user CAT service media stream can be prevented from being transmitted to the calling user's terminal. Thereafter, the calling CAT service function control module normally performs the operation of providing the calling user CAT service according to the received INVITE request.
歩骤 3b、 主叫 CAT业务功能控制模块直接转发接收到的 INVITE请 求。 到歩骤 4b。  Step 3b: The calling CAT service function control module directly forwards the received INVITE request. Go to step 4b.
歩骤 4b、 被叫 CAT业务功能控制模块接收 INVITE请求, 并向被叫方 (即被叫用户终端) 转发该 INVITE请求, 到歩骤 5b。  Step 4b: The called CAT service function control module receives the INVITE request, and forwards the INVITE request to the called party (ie, the called user terminal), to step 5b.
歩骤 5b、 被叫方接收 INVITE请求, 并返回临时响应 (Provisional Response) , 到歩骤 6b。  Step 5b, the called party receives the INVITE request, and returns a provisional response (Provisional Response), to step 6b.
歩骤 6b、 被叫 CAT业务功能控制模块接收该临时响应, 然后采用应用 服务器模式提供被叫 CAT业务, 在该临时响应的消息体中携带 Content- Disposition为 Early Session的被叫用户 CAT业务的 SDP (offer) 信息。 到 歩骤 7b。  Step 6b: The called CAT service function control module receives the temporary response, and then provides the called CAT service in an application server mode, and carries the SDP of the called user CAT service with the Content-Disposition as the Early Session in the message body of the temporary response. (offer) information. Go to step 7b.
歩骤 7b、 主叫 CAT业务功能控制模块在接收到临时响应后, 选择高优 先级的 CAT业务。 主叫 CAT业务功能控制模块选择高优先级的 CAT业务 的过程如上述图 4中歩骤 7的描述, 在此不再重复说明。 在主叫 CAT业务功能控制模块确定主叫用户 CAT业务优先级高的情况 下, 不论主叫用户的终端是支持 Early Session还是支持 Ρ-Early-Media, 均 到歩骤 8bl。 Step 7b: After receiving the temporary response, the calling CAT service function control module selects the high priority CAT service. The process in which the calling CAT service function control module selects the high-priority CAT service is as described in step 7 in FIG. 4 above, and the description thereof will not be repeated here. When the calling CAT service function control module determines that the calling user's CAT service has a high priority, whether the calling user's terminal supports the Early Session or supports the Ρ-Early-Media, the process proceeds to step 8b1.
在主叫 CAT业务功能控制模块确定被叫用户 CAT业务优先级高、 且主 叫用户的终端支持 Early Session的情况下, 到歩骤 8b2。  When the calling CAT service function control module determines that the called user CAT service has a high priority and the calling user's terminal supports the Early Session, the process proceeds to step 8b2.
歩骤 8bl、 主叫 CAT业务功能控制模块将 PRACK请求的 Content- Disposition设置为 Early Session的 SDP (Answer) 信息、 将 SDP信息中的 所有媒体行的端口地址均设置为 0, 然后, 向被叫 CAT业务功能控制模块 发送该 PRACK请求。 被叫 CAT业务功能控制模块在接收到该 PRACK请 求后, 不再执行提供被叫用户 CAT业务的操作。 主叫 CAT业务功能控制模 块正常执行后续提供主叫用户 CAT业务的操作。  Step 8b1, the calling CAT service function control module sets the Content-Disposition of the PRACK request to the SDP (Answer) information of the Early Session, sets the port address of all the media lines in the SDP information to 0, and then, to the called party. The CAT service function control module sends the PRACK request. After the called CAT service function control module receives the PRACK request, it does not perform the operation of providing the called user CAT service. The calling CAT service function control module normally performs the subsequent operation of providing the calling user CAT service.
歩骤 8b2、 主叫 CAT业务功能控制模块直接转发临时响应。 而且, 主 叫 CAT业务功能控制模块不再执行后续提供主叫用户 CAT业务的操作。  Step 8b2: The calling CAT service function control module directly forwards the temporary response. Moreover, the calling CAT service function control module no longer performs the subsequent operation of providing the calling user CAT service.
方式四提供的定制回铃音业务实现方法流程如附图 6所示。  The flow of the method for implementing the customized ring back tone service provided in the fourth method is as shown in FIG. 6.
图 6中, 歩骤 1、 主叫 CAT业务功能控制模块接收 INVITE请求, 该 In Figure 6, the first step, the calling CAT service function control module receives the INVITE request,
INVITE请求中携带普通会话的 SDP (Offfer) 信息, 到歩骤 2。 The INVITE request carries the SDP (Offfer) information of the normal session, to step 2.
歩骤 2、 主叫 CAT业务功能控制模块与主叫媒体资源功能模块进行信 息交互, 以协商获得主叫媒体资源功能模块的 IP地址和端口地址。 到歩骤 3 o  Step 2: The calling CAT service function control module interacts with the calling media resource function module to obtain the IP address and port address of the calling media resource function module. Go to step 3 o
歩骤 3、 主叫 CAT业务功能控制模块将 INVITE请求中的普通会话的 Step 3. The calling CAT service function control module will perform the normal session in the INVITE request.
SDP的 IP地址和端口地址修改为上述歩骤 2中获得的主叫媒体资源功能模 块的 IP地址和端口地址, 并转发该 INVITE请求。 到歩骤 4。 The IP address and port address of the SDP are modified to the IP address and port address of the calling media resource function module obtained in step 2 above, and the INVITE request is forwarded. Go to step 4.
歩骤 4、 被叫 CAT业务功能控制模块接收并向被叫方转发该 INVITE请 求。 到歩骤 5。  Step 4: The called CAT service function control module receives and forwards the INVITE request to the called party. Go to step 5.
歩骤 5、 被叫方接收到 INVITE请求后, 返回临时响应。 被叫 CAT业务 功能控制模块接收临时响应, 被叫 CAT业务功能控制模块可以决定采用不 同的方式来提供被叫用户 CAT业务。 被叫 CAT业务功能控制模块在决定采 用网关模式提供被叫用户 CAT业务时, 到歩骤 6a。 被叫 CAT业务功能控 制模块在决定采用应用服务器模式提供被叫用户 CAT业务时, 到歩骤 6b。 Step 5: After receiving the INVITE request, the called party returns a temporary response. The called CAT service function control module receives the temporary response, and the called CAT service function control module can decide whether to adopt the The same way to provide the called user CAT service. When the called CAT service function control module decides to use the gateway mode to provide the called user CAT service, the process proceeds to step 6a. When the called CAT service function control module decides to use the application server mode to provide the called user CAT service, it proceeds to step 6b.
歩骤 6a、 被叫 CAT业务功能控制模块向主叫 CAT业务功能控制模块 发送携带有 P-Early-Media头域的临时响应。 到歩骤 7。  Step 6a: The called CAT service function control module sends a temporary response carrying the P-Early-Media header field to the calling CAT service function control module. Go to step 7.
歩骤 6b、 被叫 CAT业务功能控制模块向主叫 CAT业务功能控制模块 发送消息体中携带有 Content-Disposition设置为 Early Session的被叫方 CAT 业务的 SDP (offer) 信息的临时响应。 到歩骤 7。  Step 6b: The called CAT service function control module sends a temporary response of the SDP (offer) information of the called party CAT service with the Content-Disposition set to the Early Session to the calling CAT service function control module. Go to step 7.
歩骤 7、 主叫 CAT业务功能控制模块接收到临时响应后, 选择高优先 级的 CAT业务。 主叫 CAT业务功能控制模块选择高优先级的 CAT业务的 过程可以如上述图 4歩骤 7的描述, 在此不再重复说明。  Step 7. After receiving the temporary response, the calling CAT service function control module selects the high priority CAT service. The process in which the calling CAT service function control module selects the high-priority CAT service may be as described in the above FIG. 4, and the description is not repeated here.
在主叫 CAT业务功能控制模块确定被叫用户 CAT业务优先级高、 且确 定出临时响应中携带有 P-Early-Media头域的情况下, 到歩骤 8al。  When the calling CAT service function control module determines that the called user's CAT service has a high priority and determines that the temporary response carries the P-Early-Media header field, the process proceeds to step 8al.
在主叫 CAT业务功能控制模块确定主叫用户 CAT业务优先级高、 且确 定出临时响应中携带有 P-Early-Media头域的情况下, 到歩骤 8a2。  When the calling CAT service function control module determines that the calling user CAT service has a high priority and determines that the temporary response carries the P-Early-Media header field, the process proceeds to step 8a2.
在主叫 CAT业务功能控制模块确定被叫用户 CAT业务优先级高、 且确 定出临时响应中携带有 Content-Disposition设置为 Early Session的被叫方 CAT业务的 SDP (offer) 信息的情况下, 到歩骤 8bl。  When the calling CAT service function control module determines that the called user CAT service has a high priority and determines that the temporary response carries the SDP (offer) information of the called party CAT service with the Content-Disposition set to the Early Session, Step 8bl.
在主叫 CAT业务功能控制模块确定主叫用户 CAT业务优先级高、 且确 定出临时响应中携带有 Content-Disposition设置为 Early Session的被叫方 CAT业务的 SDP (offer) 信息的情况下, 到歩骤 8b2。  When the calling CAT service function control module determines that the calling user CAT service has a high priority and determines that the temporary response carries the SDP (offer) information of the called party CAT service whose Content-Disposition is set to the Early Session, Step 8b2.
歩骤 8al、 主叫 CAT业务功能控制模块与主叫媒体资源功能模块进行 信息交互, 以协商获得主叫媒体资源功能模块的 IP地址和端口地址。 到歩 骤 9al。  Step 8al: The calling CAT service function control module interacts with the calling media resource function module to obtain the IP address and port address of the calling media resource function module. Go to step 9al.
歩骤 9al、 主叫 CAT业务功能控制模块将接收到的临时响应中的 SDP 的 IP地址和端口地址修改为其在歩骤 8al 中获取到的主叫媒体资源功能模 块的 IP地址和端口地址。 到歩骤 10al。 Step 9al, the calling CAT service function control module modifies the IP address and port address of the SDP in the received temporary response to the calling media resource function module obtained in step 8al The IP address and port address of the block. Go to step 10al.
歩骤 10al、 主叫 CAT业务功能控制模块与主叫媒体资源功能模块进行 信息交互, 以要求主叫媒体资源功能模块将其从歩骤 2协商确定的 IP地址 和端口地址中接收到的媒体流通过歩骤 8al协商确定的 IP地址和端口地址 发送给主叫用户的终端。 主叫 CAT业务功能控制模块不再执行提供主叫 CAT业务的操作。  Step 10al: The calling CAT service function control module interacts with the calling media resource function module to request the media resource function module to receive the media stream received from the IP address and port address determined by the negotiation in step 2. The IP address and port address determined through the negotiation of step 8al are sent to the terminal of the calling user. The calling CAT service function control module no longer performs the operation of providing the calling CAT service.
歩骤 8a2、 主叫 CAT业务功能控制模块与主叫媒体资源功能模块进行 信息交互, 以要求主叫媒体资源功能模块将其从歩骤 2协商确定的 IP地址 和端口地址接收到的媒体流丢弃, 或者要求主叫媒体资源功能模块关闭歩骤 2协商确定的 IP地址和端口地址。 主叫 CAT业务功能控制模块正常执行提 供主叫 CAT业务的操作。  Step 8a2: The calling CAT service function control module interacts with the calling media resource function module to request the calling media resource function module to discard the media stream received by the IP address and port address determined by the negotiation in step 2. , or ask the calling media resource function module to close the IP address and port address determined in step 2. The calling CAT service function control module normally performs the operation of providing the calling CAT service.
歩骤 8bl、 主叫 CAT业务功能控制模块直接向主叫用户的终端转发接 收到的临时响应。 主叫 CAT业务功能控制模块不再执行提供主叫 CAT业务 的操作。  Step 8b1, the calling CAT service function control module directly forwards the received temporary response to the calling user's terminal. The calling CAT service function control module no longer performs the operation of providing the calling CAT service.
歩骤 8b2、 主叫 CAT业务功能控制模块将 PRACk请求的 Content- Step 8b2, the calling CAT service function control module will request the content of the PRACk-
Disposition设置为 Early Session的 SDP (Answer) 信息, 并将 Early Session 的 SDP (Answer) 信息中的所有媒体行的端口地址均设置为 0, 并向被叫 CAT业务功能控制模块发送该 PRACk请求。 主叫 CAT业务功能控制模块 正常执行提供主叫 CAT业务的操作。 Disposition is set to the SDP (Answer) information of the Early Session, and the port address of all the media lines in the SDP (Answer) information of the Early Session is set to 0, and the PRACk request is sent to the called CAT service function control module. The calling CAT service function control module performs the operation of providing the calling CAT service normally.
方式五提供的定制回铃音业务实现方法流程如附图 7所示。  The flow of the method for implementing the customized ring back tone service provided in the fifth mode is as shown in FIG. 7.
图 7中, 歩骤 1、 主叫 CAT业务功能控制模块接收 INVITE请求, 到歩 骤 2。  In Figure 7, step 1. The calling CAT service function control module receives the INVITE request, and proceeds to step 2.
歩骤 2、 主叫 CAT业务功能控制模块判断主叫用户的终端能力。 主叫 CAT业务功能控制模块判断主叫用户的终端能力的方法可以如上述图 4 中 的歩骤 2中的描述, 在此不再重复说明。  Step 2: The calling CAT service function control module determines the terminal capability of the calling user. The method for the calling CAT service function control module to determine the terminal capability of the calling user may be as described in step 2 in FIG. 4 above, and the description is not repeated here.
主叫 CAT业务功能控制模块在判断出主叫用户的终端仅支持 P-Early- Media时, 到歩骤 3a。 主叫 CAT业务功能控制模块在判断出主叫用户的终 端支持 Early Session时, 到歩骤 3b。 The calling CAT service function control module determines that the calling user's terminal only supports P-Early- When you are in Media, go to step 3a. When the calling CAT service function control module determines that the calling user's terminal supports the Early Session, it proceeds to step 3b.
歩骤 3a、 主叫 CAT业务功能控制模块与主叫媒体资源功能模块进行信 息交互, 以协商获得主叫媒体资源功能模块的 IP地址和端口地址。 到歩骤 4a。  Step 3: The calling CAT service function control module interacts with the calling media resource function module to obtain the IP address and port address of the calling media resource function module. Go to step 4a.
歩骤 4a、 主叫 CAT业务功能控制模块将 INVITE请求中的普通会话的 SDP的 IP地址和端口地址修改为上述歩骤 2中获得的主叫媒体资源功能模 块的 IP地址和端口地址, 并转发该 INVITE请求。 到歩骤 5a。  Step 4a: The calling CAT service function control module modifies the IP address and port address of the SDP of the normal session in the INVITE request to the IP address and port address of the calling media resource function module obtained in the foregoing step 2, and forwards The INVITE request. Go to step 5a.
歩骤 5a、 被叫 CAT业务功能控制模块接收并向被叫方转发该 INVITE 请求。 到歩骤 6a。  Step 5a: The called CAT service function control module receives and forwards the INVITE request to the called party. Go to step 6a.
歩骤 6a、 被叫方接收到 INVITE请求后, 返回临时响应。 到歩骤 7a。 歩骤 7a、 被叫 CAT业务功能控制模块向主叫 CAT业务功能控制模块 发送携带有 P-Early-Media头域的临时响应。 到歩骤 8a。  Step 6a: After the called party receives the INVITE request, it returns a temporary response. Go to step 7a. Step 7a: The called CAT service function control module sends a temporary response carrying the P-Early-Media header field to the calling CAT service function control module. Go to step 8a.
歩骤 8a、 主叫 CAT业务功能控制模块接收到临时响应后, 选择高优先 级的 CAT业务。 主叫 CAT业务功能控制模块选择高优先级的 CAT业务的 过程可以如上述图 4歩骤 7的描述, 在此不再重复说明。  Step 8a: After receiving the temporary response, the calling CAT service function control module selects the high priority CAT service. The process in which the calling CAT service function control module selects the high-priority CAT service may be as described in the above FIG. 4, and the description is not repeated here.
在主叫 CAT业务功能控制模块确定被叫用户 CAT业务优先级高、 且确 定出临时响应中携带有 P-Early-Media头域的情况下, 到歩骤 9al。  When the calling CAT service function control module determines that the called user's CAT service has a high priority and determines that the temporary response carries the P-Early-Media header field, the process proceeds to step 9al.
在主叫 CAT业务功能控制模块确定主叫用户 CAT业务优先级高、 且确 定出临时响应中携带有 P-Early-Media头域的情况下, 到歩骤 9a2。  When the calling CAT service function control module determines that the calling user CAT service has a high priority and determines that the temporary response carries the P-Early-Media header field, the process proceeds to step 9a2.
歩骤 9al、 主叫 CAT业务功能控制模块与主叫媒体资源功能模块进行 信息交互, 以协商获得主叫媒体资源功能模块的 IP地址和端口地址。 到歩 骤 l Oal o  Step 9al: The calling CAT service function control module interacts with the calling media resource function module to obtain the IP address and port address of the calling media resource function module. To l l Oal o
歩骤 10al、 主叫 CAT业务功能控制模块将接收到的临时响应中的 SDP 的 IP地址和端口地址修改为其在歩骤 9al 中获取到的主叫媒体资源功能模 块的 IP地址和端口地址。 到歩骤 l lal。 歩骤 l lal、 主叫 CAT业务功能控制模块与主叫媒体资源功能模块进行 信息交互, 以要求主叫媒体资源功能模块将其从歩骤 3a协商确定的 IP地址 和端口地址中接收到的媒体流通过歩骤 9al协商确定的 IP地址和端口地址 发送给主叫用户的终端。 主叫 CAT业务功能控制模块不再执行提供主叫 CAT业务的操作。 Step 10al: The calling CAT service function control module modifies the IP address and port address of the SDP in the received temporary response to the IP address and port address of the calling media resource function module obtained in step 9al. Go to l lal. Step l lal, the calling CAT service function control module and the calling media resource function module perform information interaction, so that the calling media resource function module requests the media received from the IP address and port address determined by the step 3a negotiation. The flow is sent to the terminal of the calling user through the IP address and port address determined by the negotiation of step 9al. The calling CAT service function control module no longer performs the operation of providing the calling CAT service.
歩骤 3b、 主叫 CAT业务功能控制模块直接转发接收到的 INVITE请 求。 到歩骤 4b。  Step 3b: The calling CAT service function control module directly forwards the received INVITE request. Go to step 4b.
歩骤 4b、 被叫 CAT业务功能控制模块接收并向被叫方转发该 INVITE 请求。 到歩骤 5b。  Step 4b: The called CAT service function control module receives and forwards the INVITE request to the called party. Go to step 5b.
歩骤 5b、 被叫方接收到 INVITE请求后, 返回临时响应。 到歩骤 6b。 歩骤 6b、 被叫 CAT业务功能控制模块向主叫 CAT业务功能控制模块 发送消息体中携带有 Content-Disposition设置为 Early Session的被叫方 CAT 业务的 SDP (offer) 信息的临时响应。 到歩骤 7b。  Step 5b: After the called party receives the INVITE request, it returns a temporary response. Go to step 6b. Step 6b: The called CAT service function control module sends a temporary response of the SDP (offer) information of the called party CAT service with the Content-Disposition set to the Early Session to the calling CAT service function control module. Go to step 7b.
歩骤 7b、 主叫 CAT业务功能控制模块接收到临时响应后, 选择高优先 级的 CAT业务。 主叫 CAT业务功能控制模块选择高优先级的 CAT业务的 过程可以如上述图 4歩骤 7的描述, 在此不再重复说明。  Step 7b: After receiving the temporary response, the calling CAT service function control module selects the high priority CAT service. The process in which the calling CAT service function control module selects the high-priority CAT service may be as described in the above FIG. 4, and the description is not repeated here.
在主叫 CAT业务功能控制模块确定被叫用户 CAT业务优先级高、 且确 定出临时响应中携带有 Content-Disposition设置为 Early Session的被叫方 CAT业务的 SDP (offer) 信息的情况下, 到歩骤 8bl。  When the calling CAT service function control module determines that the called user CAT service has a high priority and determines that the temporary response carries the SDP (offer) information of the called party CAT service with the Content-Disposition set to the Early Session, Step 8bl.
在主叫 CAT业务功能控制模块确定主叫用户 CAT业务优先级高、 且确 定出临时响应中携带有 Content-Disposition设置为 Early Session的被叫方 CAT业务的 SDP (offer) 信息的情况下, 到歩骤 8b2。  When the calling CAT service function control module determines that the calling user CAT service has a high priority and determines that the temporary response carries the SDP (offer) information of the called party CAT service whose Content-Disposition is set to the Early Session, Step 8b2.
歩骤 8bl、 主叫 CAT业务功能控制模块直接向主叫用户的终端转发接 收到的临时响应。 主叫 CAT业务功能控制模块不再执行提供主叫 CAT业务 的操作。  Step 8b1, the calling CAT service function control module directly forwards the received temporary response to the calling user's terminal. The calling CAT service function control module no longer performs the operation of providing the calling CAT service.
歩骤 8b2、 主叫 CAT业务功能控制模块将 PRACk请求的 Content- Disposition设置为 Early Session的 SDP (Answer) 信息, 并将 Early Session 的 SDP (Answer) 信息中的所有媒体行的端口地址均设置为 0, 并向被叫 CAT业务功能控制模块发送该 PRACk请求。 主叫 CAT业务功能控制模块 正常执行提供主叫 CAT业务的操作。 Step 8b2, the calling CAT service function control module will request the Content of the PRACk- Disposition is set to the SDP (Answer) information of the Early Session, and the port address of all media lines in the SDP (Answer) information of the Early Session is set to 0, and the PRACk request is sent to the called CAT service function control module. The calling CAT service function control module normally performs the operation of providing the calling CAT service.
在上述针对图的描述中, 是以主叫 CAT业务功能控制模块和被叫 CAT 业务功能控制模块为例进行说明的。 上述主叫 CAT业务功能控制模块和被 叫 CAT业务功能控制模块也可以替换为被叫 CAT业务功能控制模块和呼叫 转移的第三方 CAT业务功能控制模块, 且主叫媒体资源功能模块需要替换 为被叫媒体资源功能模块, 被叫方需要替换为呼叫转移的第三方, 主叫方需 要替换为被叫方。 其实现过程基本相同, 在此不再重复描述。  In the above description of the figure, the calling CAT service function control module and the called CAT service function control module are taken as an example for description. The calling CAT service function control module and the called CAT service function control module may also be replaced by the called CAT service function control module and the third party CAT service function control module of the call transfer, and the calling media resource function module needs to be replaced by Called the media resource function module, the called party needs to be replaced with a third party for call forwarding, and the calling party needs to be replaced with the called party. The implementation process is basically the same, and the description will not be repeated here.
下面以具体的应用场景为例、 结合附图描述本发明实施方式提供的 The following provides a specific application scenario as an example, and describes the embodiments provided by the present invention with reference to the accompanying drawings.
CAT业务实现方法。 CAT business implementation method.
实施例一、 主叫 CAT业务功能控制模块位于为主叫服务的 CAT AS 中, 被叫 CAT业务功能控制模块位于为被叫服务的 CAT AS中。 为主叫方 服务的 CAT AS根据存储在 CAT AS上的主叫用户设置参数, 选择确定主叫 用户 CAT业务优先级高, 并在 INVITE请求的头域 Reject-Contact中增加 CAT参数; 为被叫方服务的 CAT AS识别该 CAT参数后不申请 CAT媒体 资源。 在上述情况下, CAT业务的实现过程如附图 8所示。  Embodiment 1 The calling CAT service function control module is located in the CAT AS of the calling service, and the called CAT service function control module is located in the CAT AS serving the called party. The CAT AS serving the calling party selects the caller's CAT service priority parameter based on the calling user's setting parameters stored on the CAT AS, and adds the CAT parameter in the header field Reject-Contact of the INVITE request; The CAT AS of the party service does not apply for CAT media resources after identifying the CAT parameters. In the above case, the implementation process of the CAT service is as shown in FIG. 8.
需要说明的是, 下述图 8的流程描述中省略了一些消息传输过程, 例如 省略了 P-CSCF、 S-CSCF、 I-CSCF、 MRF等实体的消息传输。  It should be noted that some message transmission processes are omitted in the flow description of FIG. 8 described below, for example, message transmission of entities such as P-CSCF, S-CSCF, I-CSCF, and MRF is omitted.
图 8 中, 歩骤 S001 , UE#1 (主叫方) 发送 INVITE请求。 到歩骤 S002 o  In Figure 8, step S001, UE#1 (calling party) sends an INVITE request. To step S002 o
歩骤 S002, 为主叫方服务的 CAT AS根据其存储的主叫用户设置参数 选择高优先级的 CAT业务, 由于主叫用户设置参数中主叫用户 CAT业务优 先级高, 因此, 为主叫方服务的 CAT AS确定主叫用户 CAT业务的优先级 高。 到歩骤 S003。 歩骤 S003 , 为主叫方服务的 CAT AS在接收的 INVITE请求的 Reject- Contact头域中增加 CAT参数, 然后, 将 INVITE请求转发给为被叫方服务 的 CAT AS。 到歩骤 S004。 Step S002: The CAT AS serving the calling party selects a high priority CAT service according to the stored calling user setting parameter, and the calling user CAT service has a high priority in the calling user setting parameter, therefore, the calling party The CAT AS of the party service determines that the calling user's CAT service has a high priority. Go to step S003. Step S003: The CAT AS serving the calling party adds a CAT parameter in the Reject-Contact header field of the received INVITE request, and then forwards the INVITE request to the CAT AS serving the called party. Go to step S004.
歩骤 S004 , 为被叫方服务的 CAT AS接收 INVITE请求, 并根据 INVITE请求的 Reject-Contact头域中的 CAT参数判断出主叫用户 CAT业务 优先级高, 则为被叫方服务的 CAT AS直接向 UE#2 (被叫方) 转发该 INVITE请求, 为被叫方服务的 CAT AS不为被叫用户 CAT业务申请 CAT 业务的媒体资源。 到歩骤 S005。  Step S004: The CAT AS serving the called party receives the INVITE request, and determines, according to the CAT parameter in the Reject-Contact header field of the INVITE request, that the calling user CAT service has a high priority, then the CAT AS serving the called party The INVITE request is forwarded directly to the UE#2 (called party), and the CAT AS serving the called party does not request the media resource of the CAT service for the called user CAT service. Go to step S005.
歩骤 S005, UE#2振铃, 返回 180临时响应。 到歩骤 S006。 需要说明 的是, 歩骤 S005中的 180临时响应也可以为 183临时响应。  Step S005, UE#2 rings, and returns 180 temporary response. Go to step S006. It should be noted that the 180 temporary response in step S005 may also be a temporary response of 183.
歩骤 S006, 为被叫方服务的 CAT AS接收并转发 180临时响应。 到歩 骤 S007。  Step S006: The CAT AS serving the called party receives and forwards the 180 temporary response. Go to step S007.
歩骤 S007, 为主叫方服务的 CAT AS接收 180临时响应, 并采用网关 模式或应用服务器模式向 UE#1提供主叫用户 CAT业务。  Step S007: The CAT AS serving the calling party receives the 180 temporary response, and provides the calling user CAT service to the UE#1 in the gateway mode or the application server mode.
需要说明的是, 在图 8的歩骤 S002之前, 为主叫方服务的 CAT AS可 以进行主叫用户的终端能力的判断操作, 而且, 在判断出主叫用户的终端仅 支持 P-Early-Media时, 执行后续歩骤 S002至歩骤 S007。 在判断出主叫用 户的终端支持应用服务器模式时, 直接转发 INVITE请求。  It should be noted that, before step S002 of FIG. 8, the CAT AS serving the calling party can perform the judgment operation of the terminal capability of the calling user, and it is determined that the terminal of the calling user only supports P-Early- In the case of Media, the subsequent steps S002 to S007 are performed. When it is determined that the calling user's terminal supports the application server mode, the INVITE request is directly forwarded.
实施例二、 主叫 CAT业务功能控制模块位于为主叫服务的 CAT AS 中。 为主叫方服务的 CAT AS根据存储在 CAT AS上的主叫用户设置参数, 选择确定主叫用户 CAT业务优先级高, 并在 INVITE请求的头域 Reject- Contact中增加 CAT参数; MGCF识别该 CAT参数后, 将该 CAT参数携带 在 IAM中的 Optional Forward Call IndiCATors (可选前向呼叫指示) 字段 中, 并向 PSTN发送该 IAM。 在上述情况下, CAT业务的实现过程如附图 9所示。  Embodiment 2: The calling CAT service function control module is located in the CAT AS of the calling service. The CAT AS serving the calling party selects the caller's CAT service priority parameter based on the calling user's setting parameter stored on the CAT AS, and adds the CAT parameter in the header field Reject-Contact of the INVITE request; the MGCF identifies the After the CAT parameter, the CAT parameter is carried in the Optional Forward Call IndiCATors field in the IAM and sent to the PSTN. In the above case, the implementation process of the CAT service is as shown in FIG.
需要说明的是, 下述图 9的流程描述中省略了一些消息传输过程, 例如 省略了 P-CSCF、 S-CSCF、 BGCF等实体的消息传输。 It should be noted that some message transmission processes are omitted in the process description of FIG. 9 described below, for example, Message transmission by entities such as P-CSCF, S-CSCF, and BGCF is omitted.
图 9, 歩骤 S101, UE#1 (主叫方) 发送 INVITE请求。 到歩骤 S102。 歩骤 S102, 为主叫方服务的 CAT AS根据其存储的主叫用户设置参数 选择高优先级的 CAT业务, 由于主叫用户设置参数中主叫用户 CAT业务优 先级高, 因此, 为主叫方服务的 CAT AS确定主叫用户 CAT业务的优先级 高。 到歩骤 S103。  Figure 9. Step S101, UE#1 (calling party) sends an INVITE request. Go to step S102. Step S102, the CAT AS serving the calling party selects the high priority CAT service according to the stored calling user setting parameter, and the calling user CAT service has a high priority in the calling user setting parameter, therefore, the calling party The CAT AS of the party service determines that the calling user's CAT service has a high priority. Go to step S103.
歩骤 S103 , 为主叫方服务的 CAT AS在接收的 INVITE请求的 Reject- Contact头域中增加 CAT参数, 然后, 将 INVITE请求转发给 MGCF。 到歩 骤 S104 o  Step S103: The CAT AS serving the calling party adds a CAT parameter in the Reject-Contact header field of the received INVITE request, and then forwards the INVITE request to the MGCF. Go to step S104 o
歩骤 S104, MGCF接收 INVITE请求, 并根据 INVITE请求的 Reject- Step S104, the MGCF receives the INVITE request, and according to the Reject- request of the INVITE
Contact头域中的 CAT参数判断出主叫用户 CAT业务优先级高, 贝 ij MGCF 将 IAM中的 Optional Forward Call Indicators (可选前向呼叫指示) 字段的 G 比特设置为 " 1 " , 以表示主叫用户 CAT业务优先级高。 MGCF向 PSTN发 送该 IAM。 到歩骤 S105。 The CAT parameter in the Contact header field determines that the calling user CAT service has a high priority, and the ij MGCF sets the G bit of the Optional Forward Call Indicators field in the IAM to "1" to indicate the primary. Call the user CAT service with high priority. The MGCF sends the IAM to the PSTN. Go to step S105.
歩骤 S 105, PSTN接收到 IAM后, 返回 Address Complete Message (地 址全消息, ACM) 。 到歩骤 S106。  Step S105: After receiving the IAM, the PSTN returns an Address Complete Message (ACM). Go to step S106.
歩骤 S106, MGCF接收到 ACM后, 向为主叫方服务的 CAT AS发送 180临时响应。 到歩骤 S107。  Step S106: After receiving the ACM, the MGCF sends a 180 temporary response to the CAT AS serving the calling party. Go to step S107.
歩骤 S107, 为主叫方服务的 CAT AS接收 180临时响应, 并采用网关 模式或应用服务器模式向 UE#1提供主叫用户 CAT业务。  Step S107: The CAT AS serving the calling party receives the 180 temporary response, and provides the calling user CAT service to the UE#1 in the gateway mode or the application server mode.
实施例三、 被叫 CAT业务功能控制模块位于为被叫服务的 CAT AS 中。 PSTN发送至 MGCF的 IAM中携带有表示 PSTN中主叫用户 CAT业务 优先级高的 CAT优先级指示信息, MGCF识别该 CAT优先级指示信息, 确 定主叫用户 CAT业务优先级高, 并发送头域 Reject-Contact携带有 CAT参 数的 INVITE请求。 在上述情况下, CAT业务的实现过程如附图 10所示。  Embodiment 3: The called CAT service function control module is located in the CAT AS serving the called party. The IAM sent by the PSTN to the MGCF carries the CAT priority indication information indicating that the calling user CAT service has a high priority in the PSTN, and the MGCF identifies the CAT priority indication information, determines that the calling user CAT service has a high priority, and sends the header field. Reject-Contact carries an INVITE request with a CAT parameter. In the above case, the implementation process of the CAT service is as shown in FIG.
需要说明的是, 下述图 10 的流程描述中省略了一些消息传输过程, 例 如省略了 P-CSCF、 S-CSCF等实体的消息传输。 It should be noted that some message transmission processes are omitted in the process description of FIG. 10 described below. The message transmission of entities such as P-CSCF and S-CSCF is omitted.
图 10中, 歩骤 S201, PSTN将 IAM的 Optional Forward Call Indicators In Figure 10, step S201, PSTN will use IAM Optional Forward Call Indicators
(可选前向呼叫指示) 字段的 G比特设置为 " 1 " , 以表示 PSTN中的主叫 用户 CAT业务优先级高, PSTN向 MGCF发送该 IAM。 到歩骤 S202。 The G bit of the (optional forward call indication) field is set to "1" to indicate that the calling subscriber's CAT service in the PSTN has a high priority, and the PSTN sends the IAM to the MGCF. Go to step S202.
歩骤 S202, MGCF接收 IAM, 并根据 IAM的 Optional Forward Call Step S202: The MGCF receives the IAM, and according to the Optional Forward Call of the IAM
Indicators (可选前向呼叫指示) 字段的 G比特判断出 PSTN中的主叫用户 CAT业务优先级高, 然后, MGCF在 INVITE请求中的 Reject-Contact头域 增加 CAT参数, 以表示 PSTN的主叫用户 CAT业务优先级高。 MFCF向为 被叫服务的 CAT AS发送 INVITE请求。 到歩骤 S203。 The G bit of the Indicators field indicates that the calling party CAT service in the PSTN has a high priority. Then, the MGCF adds a CAT parameter to the Reject-Contact header field in the INVITE request to indicate the PSTN caller. The user CAT service has a high priority. The MFCF sends an INVITE request to the CAT AS serving the called party. Go to step S203.
歩骤 S203 , 为被叫服务的 CAT AS接收 INVITE请求, 并根据 INVITE 请求的 Reject-Contact头域中的 CAT参数判断出主叫用户 CAT业务优先级 高, 之后, 为被叫服务的 CAT AS直接向 UE#2 (被叫方) 转发该 INVITE 请求, 且不执行为被叫用户 CAT业务申请媒体资源的操作。  Step S203, receiving, by the CAT AS of the called service, an INVITE request, and determining, according to the CAT parameter in the Reject-Contact header field of the INVITE request, that the calling user CAT service has a high priority, and thereafter, directly serving the CAT AS of the called service. The INVITE request is forwarded to UE#2 (the called party), and the operation of requesting the media resource for the called user CAT service is not performed.
实施例四、 主叫 CAT业务功能控制模块位于为主叫服务的 CAT AS 中, 被叫 CAT业务功能控制模块位于为被叫服务的 CAT AS中。 为主叫方 服务的 CAT AS根据存储在 CAT AS上的主叫用户设置参数或本地策略, 选 择确定被叫用户 CAT业务优先级高。 为主叫服务的 CAT AS判断主叫用户 的终端不支持 Early Session后, 在 INVITE请求的 Support头域中增加 Early Session 在上述情况下, CAT业务的实现过程如附图 11所示。  Embodiment 4: The calling CAT service function control module is located in the CAT AS of the calling service, and the called CAT service function control module is located in the CAT AS serving the called party. The CAT AS serving the calling party selects the caller's CAT service priority based on the calling user setting parameters or local policies stored on the CAT AS. After the CAT AS of the calling service determines that the terminal of the calling user does not support the Early Session, the Early Session is added in the Support header field of the INVITE request. In the above case, the implementation process of the CAT service is as shown in FIG.
需要说明的是, 下述图 11 的流程描述中省略了一些消息传输过程, 例 如省略了 P-CSCF、 S-CSCF, I-CSCF、 MRF等实体的消息传输。  It should be noted that some message transmission processes are omitted in the flow description of FIG. 11 described below, for example, message transmission of entities such as P-CSCF, S-CSCF, I-CSCF, and MRF is omitted.
图 11中, 歩骤 S301, UE#1 向为主叫方服务的 CAT AS发送 INVITE 请求, 且该 INVITE请求的消息体中携带有普通会话的 SDP (offer) 信息。 到歩骤 S302。  In Figure 11, step S301, UE#1 sends an INVITE request to the CAT AS served by the calling party, and the message body of the INVITE request carries the SDP (offer) information of the normal session. Go to step S302.
歩骤 S302, 为主叫方服务的 CAT AS接收该 INVITE请求, 并判断该 Step S302, the CAT AS serving the calling party receives the INVITE request, and determines the
INVITE请求的 Supported头域中是否携带有 Early Session参数, 在判断出 没有携带有 Early Session 参数后, 确定主叫用户的终端不支持 Early Session。 到歩骤 S303。 Whether the Early Session parameter is carried in the Supported header field of the INVITE request, After the Early Session parameter is not carried, it is determined that the calling user's terminal does not support the Early Session. Go to step S303.
歩骤 S303 , 为主叫服务的 CAT AS在 INVITE请求的 Supported头域中 增加 Early Session参数, 然后, 向为被叫方服务的 CAT AS发送该 INVITE 请求。 到歩骤 S304。  Step S303: The CAT AS of the calling service adds an Early Session parameter in the Supported header field of the INVITE request, and then sends the INVITE request to the CAT AS serving the called party. Go to step S304.
歩骤 S304, 为被叫方服务的 CAT AS接收到 INVITE请求后, 向 UE#2 转发该 INVITE请求。 到歩骤 S305。  Step S304: After receiving the INVITE request, the CAT AS serving the called party forwards the INVITE request to UE#2. Go to step S305.
歩骤 S305, UE#2振铃, 并返回 180临时响应, 其中 180临时响应中的 Content-Disposition设置为 session的普通会话的 SDP (answer) 信息, TO 头域的 to tag参数设置为 tag=31415286。 需要说明的是, 这里的 180临时响 应也可以是 183临时响应。 到歩骤 S306。  Step S305, UE#2 rings, and returns 180 temporary response, wherein the Content-Disposition in the 180 temporary response is set to the SDP (answer) information of the normal session of the session, and the to tag parameter of the TO header field is set to tag=31415286. . It should be noted that the 180 temporary response here can also be a temporary response of 183. Go to step S306.
歩骤 S306 , 由于为被叫方服务的 CAT AS在歩骤 304 中接收到的 INVITE请求的 Supported头域中包含 Early Session参数, 因此, 为被叫方 服务的 CAT AS采用应用服务器模式提供被叫用户 CAT业务, 即为被叫方 服务的 CAT AS在 180响应中增加 Content-Disposition为 Early Session的被 叫方 CAT业务的 SDP (offer) 信息, 然后, 向主叫方服务的 CAT AS转发 该 180临时响应。 到歩骤 S307。  Step S306, since the CAT AS serving the called party receives the Early Session parameter in the Supported header field of the INVITE request received in step 304, the CAT AS serving the called party adopts the application server mode to provide the called party. The user CAT service, that is, the CAT AS serving the called party adds the SDP (offer) information of the called party CAT service whose Content-Disposition is the Early Session in the 180 response, and then forwards the 180 to the calling party's CAT AS. Temporary response. Go to step S307.
歩骤 S307 , 为主叫方服务的 CAT AS根据存储在 CAT AS上的主叫用 户设置参数或运营商的策略确定被叫用户 CAT业务优先级高。 到歩骤 S308 o  Step S307: The CAT AS serving the calling party determines that the called user CAT service has a high priority according to the calling user setting parameter stored on the CAT AS or the operator's policy. Go to step S308 o
歩骤 S308, 由于被叫用户 CAT业务优先级高、 主叫用户的终端仅支持 P-Early-Media头域、 且 180 临时响应中同时携带了 Content-Disposition为 Early Session的被叫方的 CAT业务的 SDP信息和 Content-Disposition为 session的被叫方返回的普通会话的 SDP信息, 因此, 为主叫方服务的 CAT AS存储 Content-Disposition为 session的被叫方返回的普通会话的 SDP信 息, 将 180临时响应中的此部分消息体删除, 将 Content-Disposition为 Early Session 的被叫方的 CAT 业务 SDP 信息的 Content-Disposition 更改为 session, 并在 180临时响应中增加头域 Ρ-Early-Media, 该头域的参数设置 为 "sendrecv" , 然后, 将 180临时响应的 TO头域的 to tag参数修改为为主 叫方服务的 CAT AS本地产生的 tag=583558, 为主叫方服务的 CAT AS向 UE#1转发该 180临时响应。 到歩骤 S309。 Step S308, because the called user CAT service has a high priority, the calling user's terminal only supports the P-Early-Media header field, and the 180 temporary response carries the CAT service of the called party whose Content-Disposition is the Early Session. The SDP information and the Content-Disposition are the SDP information of the normal session returned by the called party of the session. Therefore, the CAT AS of the calling party stores the SDP information of the normal session returned by the called party of the session by the Content-Disposition. This part of the message in the 180 temporary response is deleted, and the Content-Disposition is Early. The Content-Disposition of the CAT service SDP information of the called party of the Session is changed to session, and the header field Ρ-Early-Media is added in the 180 temporary response. The parameter of the header field is set to "sendrecv", and then the temporary response is 180. The to tag parameter of the TO header field is modified to be the locally generated tag=583558 of the CAT AS served by the calling party, and the CAT AS served by the calling party forwards the 180 temporary response to UE#1. Go to step S309.
歩骤 S309, UE#1接收 180临时响应, 并发送 PRACK请求。 到歩骤 S310 o  Step S309, UE#1 receives 180 a temporary response and sends a PRACK request. Go to step S310 o
歩骤 S310 , 为主叫方服务的 CAT AS接收并转发 PRACK请求, 该 PRACK请求中采用 Content-Disposition为 Early Session的方式携带了歩骤 S301中普通会话的 SDP信息。 到歩骤 S311。  Step S310: The CAT AS serving the calling party receives and forwards the PRACK request, and the content of the PRACK request uses the Content-Disposition as the Early Session to carry the SDP information of the ordinary session in step S301. Go to step S311.
歩骤 S311 , 为被叫方服务的 CAT AS接收 PRACK请求, 删除 PRACK 请求中携带的 SDP消息体, 并向 UE#2 转发该 PRACK请求。 到歩骤 S312 o  Step S311: The CAT AS serving the called party receives the PRACK request, deletes the SDP message body carried in the PRACK request, and forwards the PRACK request to UE#2. Go to step S312 o
歩骤 S312, UE#2接收到 PRACK请求后, 返回 200 OK响应。 到歩骤 S313 o  Step S312: After receiving the PRACK request, UE#2 returns a 200 OK response. Go to step S313 o
歩骤 S313 , 为被叫方服务的 CAT AS接收并转发 200 OK响应, 到歩骤 S314 o  Step S313, receiving and forwarding a 200 OK response for the CAT AS served by the called party, to step S314 o
歩骤 S314, 为主叫方服务的 CAT AS接收 200 OK响应, 并向 UE#1转 发该 200 OK响应。 到歩骤 S315。  Step S314, the CAT AS serving the calling party receives the 200 OK response, and forwards the 200 OK response to UE#1. Go to step S315.
歩骤 S315, 为被叫方服务的 CAT AS向主叫用户提供 CAT业务。  Step S315: The CAT AS serving the called party provides the CAT service to the calling user.
需要说明的是, 在歩骤 S302中, 如果为主叫方服务的 CAT AS判断出 主叫用户的终端支持 Early Session时, 则在歩骤 S303 中, 为主叫服务的 CAT AS可以直接转发接收到的 INVITE请求, 而且, 在歩骤 S308中, 为 主叫方服务的 CAT AS不需要执行修改操作, 直接转发其在歩骤 S306中接 收到的 180临时响应即可。  It should be noted that, in step S302, if the CAT AS served by the calling party determines that the terminal of the calling user supports the Early Session, then in step S303, the CAT AS serving as the calling service can directly forward and receive the CAT AS. The INVITE request is received, and, in step S308, the CAT AS serving the calling party does not need to perform a modification operation, and directly forwards the 180 temporary response it received in step S306.
实施例五、 主叫 CAT业务功能控制模块位于为主叫服务的 CAT AS 中, 被叫 CAT业务功能控制模块位于为被叫服务的 CAT AS中。 为主叫方 服务的 CAT AS根据存储在 CAT AS上的主叫用户设置参数或本地策略, 选 择确定主叫用户 CAT业务优先级高。 为主叫服务的 CAT AS判断主叫用户 的终端支持 Early Session。 在上述情况下, CAT业务的实现过程如附图 12 所示。 Embodiment 5: The calling CAT service function control module is located in the CAT AS of the calling service. The called CAT service function control module is located in the CAT AS serving the called party. The CAT AS serving the calling party selects to determine the calling subscriber CAT service priority according to the calling user setting parameters or the local policy stored on the CAT AS. The CAT AS of the calling service determines that the calling party's terminal supports the Early Session. In the above case, the implementation process of the CAT service is as shown in FIG.
需要说明的是, 下述图 12 的流程描述中省略了一些消息传输过程, 例 如省略了 P-CSCF、 S-CSCF、 I-CSCF、 MRF等实体的消息传输。  It should be noted that some message transmission processes are omitted in the flow description of FIG. 12 described below, for example, message transmission of entities such as P-CSCF, S-CSCF, I-CSCF, and MRF is omitted.
图 12中, 歩骤 S401, UE#1 向为主叫方服务的 CAT AS发送 INVITE 请求, 由于 UE#1支持 Early Session, 因此, INVITE请求的 Supported头域 中包含 Early Session参数。 到歩骤 S402。  In FIG. 12, in step S401, UE#1 sends an INVITE request to the CAT AS served by the calling party. Since UE#1 supports the Early Session, the Supported header field of the INVITE request includes the Early Session parameter. Go to step S402.
歩骤 S402 , 为主叫方服务的 CAT AS接收 INVITE请求, 并根据 INVITE请求的 Supported头域包含的 Early Session参数判断出主叫用户的 终端支持 Early Session。 到歩骤 S403。  Step S402: The CAT AS serving the calling party receives the INVITE request, and determines, according to the Early Session parameter included in the Supported header field of the INVITE request, that the calling user's terminal supports the Early Session. Go to step S403.
歩骤 S403 , 为主叫方服务的 CAT AS直接向为被叫方服务的 CAT AS 转发接收到的 INVITE请求, 到歩骤 S404。  Step S403: The CAT AS serving the calling party directly forwards the received INVITE request to the CAT AS serving the called party, to step S404.
歩骤 S404, 为被叫方服务的 CAT AS接收到 INVITE请求后, 向 UE#2 转发该 INVITE请求。 到歩骤 S405。  Step S404: After receiving the INVITE request, the CAT AS serving the called party forwards the INVITE request to UE#2. Go to step S405.
歩骤 S405 , UE#2振铃, 并返回 180临时响应, 其中 180临时响应中的 Content-Disposition设置为 session的普通会话的 SDP (answer) 信息, TO 头域的 to tag参数设置为 tag=31415286。 需要说明的是, 这里的 180临时响 应也可以是 183临时响应。 到歩骤 S406。  Step S405, UE#2 rings, and returns 180 temporary response, wherein the Content-Disposition in the 180 temporary response is set to the SDP (answer) information of the normal session of the session, and the to tag parameter of the TO header field is set to tag=31415286 . It should be noted that the 180 temporary response here can also be a temporary response of 183. Go to step S406.
歩骤 S406 , 由于为被叫方服务的 CAT AS在歩骤 304 中接收到的 INVITE请求的 Supported头域中包含 Early Session参数, 因此, 为被叫方 服务的 CAT AS采用应用服务器模式提供被叫用户 CAT业务, 即为被叫方 服务的 CAT AS在 180响应中增加 Content-Disposition为 Early Session的被 叫方 CAT业务的 SDP (offer) 信息, 然后, 向主叫方服务的 CAT AS转发 该 180临时响应。 到歩骤 S407。 Step S406, since the CAT AS serving the called party receives the Early Session parameter in the Supported header field of the INVITE request received in step 304, the CAT AS serving the called party adopts the application server mode to provide the called party. The user CAT service, that is, the CAT AS serving the called party, adds the SDP (offer) information of the called party CAT service whose Content-Disposition is the Early Session to the 180 response, and then forwards the information to the calling party's CAT AS. The 180 temporary response. Go to step S407.
歩骤 S407 , 为主叫方服务的 CAT AS根据存储在 CAT AS上的主叫用 户设置参数或运营商的策略确定主叫用户 CAT业务优先级高。 到歩骤 S408 o  Step S407: The CAT AS serving the calling party determines that the calling user CAT service has a high priority according to the calling user setting parameter stored on the CAT AS or the operator's policy. Go to step S408 o
歩骤 S408, 为主叫方服务的 CAT AS发送 Content-Disposition为 Early Step S408, sending a Content-Disposition to the CAT AS serving the calling party as Early
Session的 SDP (Answer) 信息的 PRACK请求, 其中 SDP (Answer) 信息 中的所有媒体行的端口地址均设置为 0, 以表示拒绝为被叫方服务的 CAT AS提供的被叫用户 CAT业务。 到歩骤 S409。 The PRACK request for the SDP (Answer) message of the session, in which the port address of all the media lines in the SDP (Answer) message is set to 0, to indicate the called user CAT service provided by the CAT AS serving the called party. Go to step S409.
歩骤 S409 , 为被叫方服务的 CAT AS接收 PRACK请求, 并根据 PRACK请求中的 Content-Disposition为 Early Session的 SDP信息的所有媒 体行的端口地址均设置 0判断出主叫方拒绝接收被叫用户的 CAT业务, 因 此, 为被叫方服务的 CAT AS不为被叫用户 CAT业务申请媒体资源, 而 且, 为被叫方服务的 CAT AS删除该 PRACK请求的 SDP消息体, 然后, 向 UE#2转发该 PRACK请求。 到歩骤 S410。  Step S409, the CAT AS serving the called party receives the PRACK request, and according to the Content-Disposition in the PRACK request, the port address of all the media lines of the SDP information of the Early Session is set to 0, and the calling party refuses to receive the called party. The CAT service of the user, therefore, the CAT AS serving the called party does not apply for the media resource for the called user CAT service, and the CAT AS serving the called party deletes the SDP message body of the PRACK request, and then, to the UE# 2 Forward the PRACK request. Go to step S410.
歩骤 S410, UE#2接收到 PRACK请求后, 返回 200 OK响应。 到歩骤 Step S410: After receiving the PRACK request, UE#2 returns a 200 OK response. To the step
S41 1 o S41 1 o
歩骤 S411 , 为被叫方服务的 CAT AS接收并转发 200 OK响应, 到歩骤 S412 o  Step S411: Receive and forward a 200 OK response to the CAT AS served by the called party, to step S412 o
歩骤 S412, 为主叫方服务的 CAT AS接收 200 OK响应, 并采用应用服 务器模式向主叫用户提供主叫用户 CAT业务。  Step S412: The CAT AS serving the calling party receives the 200 OK response, and provides the calling user CAT service to the calling user by using the application server mode.
需要说明的是, 在歩骤 S402中, 如果为主叫方服务的 CAT AS判断出 主叫用户的终端不支持 Early Session时, 则在歩骤 S403中, 为主叫方服务 的 CAT AS在 INVITE请求的 Supported头域增加 Early Session参数, 然 后, 再转发 INVITE请求。 另外, 如果在歩骤 S407 中, 为主叫方服务的 CAT AS选择被叫用户 CAT业务优先级高, 则为主叫方服务的 CAT AS不 执行歩骤 S408, 而是直接转发其在歩骤 S406中接收到的临时响应, 然后, 由为被叫方服务的 CAT AS采用应用服务器模式为主叫用户提供被叫用户 CAT业务。 It should be noted that, in step S402, if the CAT AS served by the calling party determines that the terminal of the calling user does not support the Early Session, then in step S403, the CAT AS served by the calling party is in the INVITE. The Supported header field of the request adds the Early Session parameter, and then forwards the INVITE request. In addition, if, in step S407, the CAT AS of the calling party service selects the called user CAT service priority, the CAT AS served by the calling party does not perform step S408, but directly forwards it in the step The temporary response received in S406, then, The CAT AS serving the called party adopts the application server mode to provide the called user CAT service to the calling user.
实施例六、 主叫 CAT业务功能控制模块位于为主叫服务的 CAT AS 中, 被叫 CAT业务功能控制模块位于为被叫服务的 CAT AS中, 主叫媒体 资源功能模块位于为主叫方服务的 MRF中。 为主叫方服务的 CAT AS根据 存储在 CAT AS上的主叫用户设置参数或本地策略, 选择确定被叫用户 CAT业务优先级高。 为主叫方服务的 CAT AS将 INVITE请求中的 SDP的 IP地址和端口地址修改为为主叫方服务的 MRF的 IP地址和端口地址。 为被 叫方服务的 CAT AS采用网关模式向主叫用户提供被叫用户 CAT业务。 在 上述情况下, CAT业务的实现过程如附图 13所示。  Embodiment 6: The calling CAT service function control module is located in the CAT AS of the calling service, the called CAT service function control module is located in the CAT AS serving the called party, and the calling media resource function module is located in the calling party service. In the MRF. The CAT AS serving the calling party selects to determine the high priority of the called subscriber CAT service based on the calling subscriber setting parameters or local policies stored on the CAT AS. The CAT AS serving the calling party modifies the IP address and port address of the SDP in the INVITE request to the IP address and port address of the MRF served by the calling party. The CAT AS serving the called party uses the gateway mode to provide the called user with the CAT service of the called party. In the above case, the implementation process of the CAT service is as shown in Figure 13.
需要说明的是, 下述图 13 的流程描述中省略了一些消息传输过程, 例 如省略了 P-CSCF、 S-CSCF、 I-CSCF等实体的消息传输。  It should be noted that some message transmission processes are omitted in the flow description of FIG. 13 described below, for example, message transmission of entities such as P-CSCF, S-CSCF, and I-CSCF is omitted.
图 13, 歩骤 S501 , UE#1 发送消息体中携带有普通会话的 SDP (offer) 信息的 INVITE请求。 到歩骤 S502。  Figure 13, step S501, UE#1 sends an INVITE request carrying the SDP (offer) information of the normal session in the message body. Go to step S502.
歩骤 S502, 为主叫方服务的 CAT AS接收 INVITE请求, 并通过与为 主叫方服务的 MRF的信息交互, 协商获得为主叫方服务的 MRF的 IP地址 和端口地址。 到歩骤 S503。  Step S502: The CAT AS serving the calling party receives the INVITE request, and negotiates and obtains the IP address and port address of the MRF served by the calling party by interacting with the information of the MRF serving the calling party. Go to step S503.
歩骤 S503 , 为主叫方服务的 CAT AS将 INVITE请求的消息体中的 SDP信息的 IP地址和端口地址更改为其在歩骤 S502中协商获得的 IP地址 和端口地址, 然后, 为主叫方服务的 CAT AS转发 INVITE请求。 到歩骤 S504 o  Step S503, the CAT AS serving the calling party changes the IP address and port address of the SDP information in the message body of the INVITE request to the IP address and port address negotiated in step S502, and then, the calling party The CAT AS of the party service forwards the INVITE request. Go to step S504 o
歩骤 S504, 为被叫方服务的 CAT AS接收并转发 INVITE请求。 到歩 骤 S505。  Step S504: Receive and forward an INVITE request for the CAT AS served by the called party. Go to step S505.
歩骤 S505, UE#2接收到 INVITE请求后振铃, 并返回 180临时响应。 到歩骤 S506。 需要说明的是, 这里的 180 临时响应也可以是 183 临时响 应。 歩骤 S506, 为被叫方服务的 CAT AS接收 180临时响应, 并采用网关 模式为主叫用户提供被叫用户 CAT业务, 为被叫方服务的 CAT AS在 180 临时响应中携带 P-Early-Media头域, 然后, 向为主叫方服务的 CAT AS转 发该 180临时响应, 到歩骤 S507。 Step S505, UE#2 rings after receiving the INVITE request, and returns 180 temporary response. Go to step S506. It should be noted that the 180 temporary response here can also be a 183 temporary response. Step S506, the CAT AS serving the called party receives the 180 temporary response, and provides the called user CAT service to the calling user in the gateway mode, and the CAT AS serving the called party carries the P-Early- in the 180 temporary response. The Media header field, and then forwards the 180 temporary response to the CAT AS serving the calling party, to step S507.
歩骤 S507 , 为主叫方服务的 CAT AS根据存储在 CAT AS上的主叫用 户设置参数或本地策略选择被叫用户 CAT业务优先级高。 到歩骤 S508。  Step S507: The CAT AS serving the calling party selects the called user CAT service priority according to the calling user setting parameter or the local policy stored on the CAT AS. Go to step S508.
歩骤 S508, 为主叫方服务的 CAT AS通过与为主叫方服务的 MRF的信 息交互, 协商获得为主叫方服务的 MRF 的 IP地址和端口地址。 到歩骤 S509 o  Step S508: The CAT AS serving the calling party exchanges the information of the MRF served by the calling party to obtain the IP address and port address of the MRF served by the calling party. To step S509 o
歩骤 S509, 由于被叫用户 CAT业务优先级高, 因此, 为主叫方服务的 Step S509, because the called user CAT service has a high priority, therefore, the calling party services
CAT AS将 180临时响应中的 SDP的 IP地址和端口地址更改为其在歩骤 S508中协商获得的 IP地址和端口地址, 然后, 为主叫方服务的 CAT AS向 UE#1转发该 180临时响应。 到歩骤 S510。 The CAT AS changes the IP address and port address of the SDP in the 180 temporary response to the IP address and port address negotiated in step S508, and then the CAT AS serving the calling party forwards the 180 temporary to UE#1. response. Go to step S510.
歩骤 S510, 为主叫方服务的 CAT AS与为主叫方服务的 MRF进行信息 交互, 以要求为主叫方服务的 MRF将从歩骤 S502协商的 IP地址和端口地 址中接收到的媒体流通过歩骤 S508协商的 IP地址和端口地址发送给主叫用 户。 到歩骤 S511。  Step S510, the CAT AS served by the calling party performs information interaction with the MRF served by the calling party, so that the MRF that requests the calling party service receives the media from the IP address and port address negotiated in step S502. The flow is sent to the calling user through the IP address and port address negotiated in step S508. Go to step S511.
歩骤 S511 , 为被叫方服务的 CAT AS向主叫用户提供被叫用户 CAT业 需要说明的是, 在歩骤 S506中, 如果为被叫方服务的 CAT AS采用应 用服务器模式提供 CAT业务, 即在 180临时响应中的 Content-Disposition采 用 Early Session方式携带被叫用户 CAT业务的 SDP (offer) 信息, 则为主 叫方服务的 CAT AS可以不执行歩骤 S508、 及歩骤 S510, 而是在歩骤 S507 后直接执行歩骤 S509将 180临时响应转发给 UE#1, 然后, 直接执行歩骤 S511 , 由为被叫方服务的 CAT AS直接向主叫方提供被叫用户 CAT业务。  Step S511, the CAT AS serving the called party provides the called user with the called user CAT industry. In step S506, if the CAT AS serving the called party adopts the application server mode to provide the CAT service, That is, the Content-Disposition in the 180 temporary response carries the SDP (offer) information of the CAT service of the called user in the Early Session mode, and the CAT AS serving the calling party may not perform step S508 and step S510, but After step S507, directly executing step S509 forwards the 180 temporary response to the UE #1, and then directly executes step S511 to directly provide the called party CAT service to the calling party by the CAT AS serving the called party.
另外, 在歩骤 S507 中, 如果为主叫方服务的 CAT AS选择主叫用户 CAT业务优先级高, 则在歩骤 S509中, 为主叫方服务的 CAT AS可以采用 网关模式或应用服务器模式向主叫用户提供主叫用户 CAT业务; 并且在歩 骤 S510中, 为主叫方服务的 CAT AS通过与为主叫方服务的 MRF进行信 息交互, 以要求为主叫方服务的 MRF丢弃从歩骤 S502协商的 IP地址和端 口地址中接收到的媒体流。 In addition, in step S507, if the CAT AS served by the calling party selects the calling user The CAT service has a high priority, and in step S509, the CAT AS serving the calling party may provide the calling user CAT service to the calling user in the gateway mode or the application server mode; and in step S510, the calling party The CAT AS of the party service interacts with the MRF served by the calling party to request that the MRF served by the calling party discard the media stream received from the IP address and port address negotiated in step S502.
还有, 在歩骤 S502之前, 为主叫方服务的 CAT AS可以先判断主叫用 户的终端能力, 在判断出主叫用户的终端仅支持 P-Early-Media后, 再执行 后续的流程。  Further, before step S502, the CAT AS serving the calling party may first determine the terminal capability of the calling user, and after determining that the terminal of the calling user only supports P-Early-Media, perform the subsequent process.
实施例七、 主叫 CAT业务功能控制模块位于为主叫服务的 CAT AS 中, 被叫 CAT业务功能控制模块位于为被叫服务的 CAT AS中, 主叫媒体 资源功能模块位于为主叫方服务的 MRF中。 为主叫方服务的 CAT AS根据 存储在 CAT AS上的主叫用户设置参数或本地策略, 选择确定主叫用户 CAT业务优先级高。 为主叫方服务的 CAT AS将 INVITE请求中的 SDP的 IP地址和端口地址修改为为主叫方服务的 MRF的 IP地址和端口地址。 为被 叫方服务的 CAT AS采用应用服务器模式向主叫用户提供被叫用户 CAT业 务。 在上述情况下, CAT业务的实现过程如附图 14所示。  Embodiment 7: The calling CAT service function control module is located in the CAT AS of the calling service, the called CAT service function control module is located in the CAT AS serving the called party, and the calling media resource function module is located in the calling party service. In the MRF. The CAT AS serving the calling party selects to determine the priority of the calling subscriber CAT service based on the calling subscriber setting parameters or local policies stored on the CAT AS. The CAT AS serving the calling party modifies the IP address and port address of the SDP in the INVITE request to the IP address and port address of the MRF served by the calling party. The CAT AS serving the called party uses the application server mode to provide the called user with the called user CAT service. In the above case, the implementation process of the CAT service is as shown in FIG.
需要说明的是, 下述图 14 的流程描述中省略了一些消息传输过程, 例 如省略了 P-CSCF、 S-CSCF、 I-CSCF等实体的消息传输。  It should be noted that some message transmission processes are omitted in the flow description of FIG. 14 described below, for example, message transmission of entities such as P-CSCF, S-CSCF, and I-CSCF is omitted.
图 14, 歩骤 S601 , UE#1 发送消息体中携带有普通会话的 SDP (offer) 信息的 INVITE请求。 到歩骤 S602。  Figure 14. Step S601: UE#1 sends an INVITE request carrying the SDP (offer) information of the normal session in the message body. Go to step S602.
歩骤 S602, 为主叫方服务的 CAT AS接收 INVITE请求, 并通过与为 主叫方服务的 MRF的信息交互, 协商获得为主叫方服务的 MRF的 IP地址 和端口地址。 到歩骤 S603。  Step S602: The CAT AS serving the calling party receives the INVITE request, and obtains an IP address and a port address of the MRF served by the calling party by interacting with the information of the MRF serving the calling party. Go to step S603.
歩骤 S603 , 为主叫方服务的 CAT AS将 INVITE请求的消息体中的 SDP信息的 IP地址和端口地址更改为其在歩骤 S602中协商获得的 IP地址 和端口地址, 然后, 为主叫方服务的 CAT AS转发 INVITE请求。 到歩骤 S604 o Step S603, the CAT AS serving the calling party changes the IP address and port address of the SDP information in the message body of the INVITE request to the IP address and port address negotiated in step S602, and then, the calling party The CAT AS of the party service forwards the INVITE request. To the step S604 o
歩骤 S604, 为被叫方服务的 CAT AS接收并转发 INVITE请求。 到歩 骤 S605。  Step S604: Receive and forward an INVITE request for the CAT AS served by the called party. Go to step S605.
歩骤 S605, UE#2接收到 INVITE请求后振铃, 并返回 180临时响应。 到歩骤 S606。 需要说明的是, 这里的 180 临时响应也可以是 183 临时响 应。  Step S605: UE#2 rings after receiving the INVITE request, and returns 180 temporary response. Go to step S606. It should be noted that the 180 temporary response here can also be 183 temporary response.
歩骤 S606, 为被叫方服务的 CAT AS接收 180临时响应, 为被叫方服 务的 CAT AS采用应用服务器模式向 UE#1提供被叫用户 CAT业务, 为被 叫方服务的 CAT AS以 Content-Disposition为 Early Session方式在 180临时 响应中携带被叫用户 CAT业务的 SDP (offer) 信息。 到歩骤 S607。  Step S606, the CAT AS serving the called party receives the 180 temporary response, and the CAT AS serving the called party adopts the application server mode to provide the called user CAT service to the UE#1, and the CAT AS serving the called party as the Content -Disposition is the Early Session mode carrying the SDP (offer) information of the called user's CAT service in the 180 temporary response. Go to step S607.
歩骤 S607 , 为主叫方服务的 CAT AS根据存储在 CAT AS上的主叫用 户设置参数或本地策略选择主叫用户 CAT业务优先级高。 到歩骤 S608。  Step S607: The CAT AS serving the calling party selects the calling user CAT service priority according to the calling user setting parameter or the local policy stored on the CAT AS. Go to step S608.
歩骤 S608 , 为主叫方服务的 CAT AS将 PRACK请求中的 Content- Disposition设置为 Early Session的 SDP (Answer) 信息, 并且 SDP信息中 的所有媒体行的端口地址均设置为 0, 以表示拒绝为被叫方服务的 CAT AS 提供的被叫用户 CAT业务。 为主叫方服务的 CAT AS发送该 PRACK请 求。 到歩骤 S609。  Step S608, the CAT AS serving the calling party sets the Content-Disposition in the PRACK request to the SDP (Answer) information of the Early Session, and the port address of all the media lines in the SDP information is set to 0 to indicate the rejection. The called user CAT service provided by the CAT AS serving the called party. The PRACK request is sent by the CAT AS serving the calling party. Go to step S609.
歩骤 S609 , 为被叫方服务的 CAT AS接收 PRACK请求, 在判断出 PRACK请求中的 Content-Disposition为 Early Session的 SDP的端口地址均 设置为 0后, 确定主叫用户拒绝接收被叫用户 CAT业务, 因此, 为被叫方 服务的 CAT AS不为被叫用户 CAT业务申请 CAT业务媒体资源, 并删除 PRACK请求中的 SDP消息体, 然后, 向 UE#2转发该 PRACK请求。 到歩 骤 S610 o  Step S609, the CAT AS serving the called party receives the PRACK request, and after determining that the Content-Disposition in the PRACK request is the port address of the SDP of the Early Session is set to 0, determining that the calling user refuses to receive the called user CAT Service, therefore, the CAT AS serving the called party does not request the CAT service media resource for the called user CAT service, and deletes the SDP message body in the PRACK request, and then forwards the PRACK request to UE#2. To step S610 o
歩骤 S610, 为主叫方服务的 CAT AS采用网关模式或者应用服务器模 式向主叫用户提供主叫用户 CAT业务。  Step S610: The CAT AS serving the calling party provides the calling user CAT service to the calling user by using a gateway mode or an application server mode.
从上述描述可知, 本发明实施方式通过在存在多个定制回铃音业务的情 况下, 选择高优先级的定制回铃音业务, 并触发相应的操作, 能够允许选择 的回铃音业务、 禁止未被选择的定制回铃音业务, 从而能够在多方订阅As can be seen from the above description, the embodiments of the present invention pass through the situation in which there are multiple customized ring back tone services. In this case, the high-priority customized ring back tone service is selected, and the corresponding operation is triggered, which can allow the selected ring back tone service, prohibit the unselected customized ring back tone service, and thus can subscribe in multiple parties.
CAT业务的情况下, 避免主叫方接收到多个混合在一起的回铃音的问题, 提高了定制回铃音业务的实现灵活性, 提高了用户对 CAT业务体验。 本发 明实施方式提供了多种实现定制回铃音业务的技术方案, 能够适用于多种不 同的应用场景, 从而满足各种网络需求。 In the case of the CAT service, the problem that the calling party receives a plurality of mixed ring back tones is avoided, the flexibility of the customized ring back tone service is improved, and the user experience of the CAT service is improved. The embodiments of the present invention provide various technical solutions for implementing a customized ring back tone service, which can be applied to a variety of different application scenarios to meet various network requirements.
通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本发 明可借助软件加必需的硬件平台的方式来实现, 当然也可以全部通过硬件来 实施, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技 术方案对背景技术做出贡献的全部或者部分可以以软件产品的形式体现出 来, 该计算机软件产品可以存储在存储介质中, 如 ROM/RAM、 磁碟、 光 盘等, 包括若干指令用以使得一台计算机设备 (可以是个人计算机, 服务 器, 或者网络设备等) 执行本发明各个实施例或者实施例的某些部分所述的 方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary hardware platform, and of course, all can be implemented by hardware, but in many cases, the former is better. Implementation. Based on such understanding, all or part of the technical solution of the present invention contributing to the background art may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM, a magnetic disk, an optical disk, or the like. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
下面结合附图 15对本发明实施方式提供的定制回铃音业务实现装置进 行说明。  The device for implementing the customized ring back tone service provided by the embodiment of the present invention will be described below with reference to FIG.
本发明实施方式提供的定制回铃音业务实现装置可以位于 IMS域中的 CAT AS中, 也可以位于 CS域的 MSC中, 还可以位于 MGCF中。 当然也 可以位于网络侧的其他网络设备中。 图 15 中的定制回铃音业务实现装置包 括: 选择模块和执行模块。  The device for implementing the customized ringback tone service provided by the embodiment of the present invention may be located in the CAT AS in the IMS domain, or in the MSC in the CS domain, or in the MGCF. Of course, it can also be located in other network devices on the network side. The customized ring back tone service implementation device in Figure 15 includes: a selection module and an execution module.
在呼叫过程中, 选择模块可以在接收到请求 (如 INVITE请求等) 后从 该呼叫的至少两个定制回铃音业务中选择具有高优先级的定制回铃音业务。 例如, 选择模块从主叫 CAT业务、 被叫 CAT业务和呼叫转移第三方 CAT 业务中选择一个高优先级的 CAT业务; 或者从叫 CAT业务、 被叫 CAT业 务中选择一个高优先级的 CAT业务; 或者从被叫 CAT业务和呼叫转移第三 方 CAT业务中选择一个高优先级的 CAT业务。 选择模块可以采用多种策略 来选择高优先级的定制回铃音业务。 例如, 选择模块可以依据上述实施方式 中描述的八个策略中的任一策略来选择高优先级的定制回铃音业务。 本发明 实施方式不限制选择高优先级的定制回铃音业务的策略的具体表现形式。 选 择模块选择高优先级的 CAT业务的具体实现方式如上述方法实施方式中的 描述, 在此不再重复说明。 During the call, the selection module may select a custom ringback tone service with a high priority from at least two custom ringback tone services of the call after receiving the request (eg, an INVITE request, etc.). For example, the selection module selects a high priority CAT service from the calling CAT service, the called CAT service, and the call transfer third party CAT service; or selects a high priority CAT service from the called CAT service and the called CAT service. Or choose a high priority CAT service from the called CAT service and the call transfer third party CAT service. Selecting a module can take multiple strategies To choose a high priority custom ring back tone service. For example, the selection module may select a high priority custom ring back tone service according to any of the eight policies described in the above embodiments. Embodiments of the present invention do not limit the specific manifestation of a policy for selecting a high priority custom ring back tone service. The specific implementation manner of the selection module to select the high-priority CAT service is as described in the foregoing method implementation manner, and the description is not repeated here.
在选择模块选择了高优先级的 CAT业务后, 执行模块获取选择模块的 选择结果信息, 并根据该选择结果信息触发允许为主叫用户播放所述选择的 定制回铃音业务、 禁止为主叫用户播放未被选择的定制回铃音业务的操作。 通过触发该操作可以使选择的 CAT业务的媒体流传输至主叫用户的终端, 未被选择的 CAT业务的媒体流不被传输至主叫用户的终端。  After the selection module selects the high priority CAT service, the execution module obtains the selection result information of the selection module, and triggers the permission to play the selected customized ring back tone service for the calling user according to the selection result information, prohibiting the calling party The user plays the operation of the customized ring back tone service that is not selected. By triggering this operation, the media stream of the selected CAT service can be transmitted to the terminal of the calling user, and the media stream of the unselected CAT service is not transmitted to the terminal of the calling user.
执行模块执行的触发操作可以为多种形式。 例如: 在本侧用户定制回铃 音业务优先级高时, 执行模块通知对侧网络节点不提供定制回铃音业务、 且 执行模块执行提供本侧用户定制回铃音业务的操作; 在对侧用户定制回铃音 业务优先级高时, 执行模块通知对侧网络节点提供定制回铃音业务, 且执行 模块不执行提供本侧用户定制回铃音业务的操作。 再例如: 在本侧用户定制 回铃音业务优先级高时, 执行模块指示媒体资源功能模块丢弃接收到的对侧 用户定制回铃音业务的媒体流、 且执行模块执行提供本侧用户定制回铃音业 务的操作; 在对侧用户定制回铃音业务优先级高时, 执行模块允许媒体资源 功能模块正常传输其接收到的对侧用户定制回铃音业务的媒体流, 且执行模 块不执行提供本侧用户定制回铃音业务的操作。 还有: 在本侧用户定制回铃 音业务优先级高时, 执行模块指示媒体网关控制功能实体不执行打开针对对 侧用户定制回铃音业务媒体流的媒体门控操作、 且执行模块执行提供本侧用 户定制回铃音业务的操作; 在对侧用户定制回铃音业务优先级高时, 执行模 块指示媒体网关控制功能实体执行打开针对对侧用户定制回铃音业务媒体流 的媒体门控操作、 且执行模块不执行提供本侧用户定制回铃音业务的操作等 上述本侧、 对侧是针对呼叫来说的, 例如, 当呼叫为主叫用户与被叫用 户之间的呼叫, 则选择模块和执行模块可以位于主叫用户对应的网络侧, 即 本侧是指主叫用户侧、 对侧是指被叫用户侧。 再例如, 当呼叫为被叫用户与 呼叫转移的第三方用户之间的呼叫, 则选择模块和执行模块可以位于被叫用 户对应的网络侧, 即本侧是指被叫用户侧、 对侧是指呼叫转移的第三方用户 本发明实施方式中的执行模块由第一执行子模块、 第二执行子模块、 第 三执行子模块、 第四执行子模块、 第五执行子模块、 第六执行子模块、 第七 执行子模块、 第八执行子模块、 第九执行子模块、 第十执行子模块、 第十一 执行子模块中的至少一个子模块组成; 另外, 执行模块还可以可选的包括判 断子模块和地址获取子模块中的至少一个。 The triggering performed by the execution module can take many forms. For example, when the priority of the user's customized ringback tone service is high, the execution module notifies the opposite network node that the customized ringback tone service is not provided, and the execution module performs the operation of providing the user's customized ringback tone service on the opposite side; When the priority of the user's custom ringback tone service is high, the execution module notifies the peer network node to provide a customized ring back tone service, and the execution module does not perform the operation of providing the user's customized ring back tone service. For example, when the priority of the user's customized ringback tone service is high, the execution module instructs the media resource function module to discard the received media stream of the customized user's ringback tone service, and the execution module performs the customization of the user on the local side. Operation of the ring tone service; when the priority of the user's customized ring back tone service is high, the execution module allows the media resource function module to normally transmit the media stream of the received user's customized ring back tone service, and the execution module does not execute. Provides operations for custom ringback tone services on the local side. The execution module instructs the media gateway control function entity not to perform the media gating operation for opening the customized ringback tone service media stream to the opposite user, and the execution module performs the provisioning when the priority of the user's customized ringback tone service is high. The operation of the user to customize the ring back tone service is performed. When the priority of the ringback tone service is high, the execution module instructs the media gateway control function entity to perform media gate control for opening the customized ringback tone service media stream for the opposite user. Operation, and the execution module does not perform the operation of providing the user's customized ring back tone service, etc. The above-mentioned side and the opposite side are for the call. For example, when calling a call between the calling user and the called user, the selecting module and the executing module may be located on the network side corresponding to the calling user, that is, the side is Refers to the calling user side and the opposite side refers to the called user side. For example, when the call is a call between the called user and the third party user of the call transfer, the selection module and the execution module may be located on the network side corresponding to the called user, that is, the current side refers to the called user side, and the opposite side is The third-party user in the embodiment of the present invention is the first execution sub-module, the second execution sub-module, the third execution sub-module, the fourth execution sub-module, the fifth execution sub-module, and the sixth executive. The module, the seventh execution sub-module, the eighth execution sub-module, the ninth execution sub-module, the tenth execution sub-module, and the eleventh execution sub-module are at least one sub-module; in addition, the execution module may optionally include Determining at least one of the submodule and the address acquisition submodule.
第一执行子模块根据选择模块的选择结果指示对侧网络节点是否提供定 制回铃音业务。 例如, 第一执行子模块在确定出本侧用户定制回铃音业务优 先级高时, 执行提供本侧用户定制回铃音业务的操作, 并直接向对侧网络节 点发送所述选择的定制回铃音业务的信息, 以指示对侧网络节点不为对侧用 户定制回铃音业务申请媒体资源; 再例如, 第一执行子模块在确定出对侧用 户定制回铃音业务优先级高时, 不执行提供本侧用户定制回铃音业务的操 作, 并直接向对侧网络节点发送所述选择的定制回铃音业务的信息, 以指示 对侧网络节点为对侧用户定制回铃音业务申请媒体资源; 再例如, 第一执行 子模块在确定出本侧用户定制回铃音业务优先级高时, 执行提供本侧用户定 制回铃音业务的操作, 并通过媒体网关控制功能实体向对侧网络节点发送所 述选择的定制回铃音业务的信息, 以指示对侧网络节点不为对侧用户定制回 铃音业务申请媒体资源; 还有, 第一执行子模块在确定出对侧用户定制回铃 音业务优先级高时, 不执行提供本侧用户定制回铃音业务的操作, 并通过媒 体网关控制功能实体向对侧网络节点发送所述选择的定制回铃音业务的信 息, 以指示对侧网络节点为对侧用户定制回铃音业务申请媒体资源。 第一执行子模块可以将选择的定制回铃音业务的信息携带在 INVITE消 息中发送, MGCF可以将选择的定制回铃音业务的信息携带在 IAM中发 送。 具体的携带方式、 消息交互过程、 以及对侧网络节点接收到消息后执行 的操作如上述方法实施方式中的描述, 在此不再重复说明。 The first execution sub-module indicates whether the opposite-side network node provides a customized ring-back tone service according to the selection result of the selection module. For example, when the first execution sub-module determines that the user-defined ringback tone service priority is high, the first execution sub-module performs the operation of providing the local user customized ring-back tone service, and directly sends the selected customized back to the opposite-side network node. The information of the ring tone service is used to indicate that the peer network node does not apply for the ring back tone service for the opposite user to apply for the media resource; for example, when the first execution submodule determines that the opposite user has a customized ring back tone service priority, The operation of providing the local user's customized ring back tone service is not performed, and the information of the selected customized ring back tone service is directly sent to the opposite side network node, so as to instruct the opposite side network node to customize the ring back tone service request for the opposite user. For example, the first execution sub-module performs the operation of providing the local user's customized ring back tone service when determining that the user's customized ring back tone service has a high priority, and controls the function entity to the opposite side through the media gateway. The network node sends the information of the selected customized ring back tone service to indicate that the opposite network node does not customize the ring back tone service request for the opposite user. The first execution sub-module does not perform the operation of providing the local user's customized ring back tone service when the priority of the user's customized ring back tone service is high, and the function is controlled by the media gateway control function entity. The side network node sends the information of the selected customized ring back tone service to instruct the peer network node to apply for a ringback tone service for the opposite party. The first execution sub-module may carry the information of the selected customized ring-back tone service in the INVITE message, and the MGCF may carry the information of the selected customized ring-back tone service in the IAM. The specific carrying mode, the message interaction process, and the operations performed after the peer network node receives the message are as described in the foregoing method embodiments, and the description is not repeated here.
在执行模块包括判断子模块的情况下, 判断子模块判断主叫用户终端是 否支持应用服务器模式, 并在判断出主叫用户终端不支持应用服务器模式的 情况下, 输出通知信息, 第一执行子模块在接收到判断子模块的通知后, 再 根据选择模块的选择结果执行上述操作。 判断子模块判断主叫用户终端释放 支持应用服务器模式的方法如上述方法实施方式的描述, 在此不再重复说 明。  In the case that the execution module includes the judgment sub-module, the determination sub-module determines whether the calling user terminal supports the application server mode, and outputs the notification information when the calling user terminal does not support the application server mode, the first executable After receiving the notification of the judgment sub-module, the module performs the above operation according to the selection result of the selection module. The method for judging the sub-module to determine that the calling user terminal releases the support application server mode is as described in the foregoing method embodiment, and the description thereof will not be repeated here.
第二执行子模块根据选择模块的选择结果指示媒体网关控制功能实体是 否打开媒体门控。 例如, 第二执行子模块在确定出本侧用户定制回铃音业务 优先级高时, 执行提供本侧用户定制回铃音业务的操作, 并直接向媒体网关 控制功能实体发送所述选择的定制回铃音业务的信息, 以指示所述媒体网关 控制功能实体不执行打开媒体网关的媒体门控操作; 再例如, 第二执行子模 块在确定出对侧用户定制回铃音业务优先级高时, 不执行提供本侧用户定制 回铃音业务的操作, 并直接向媒体网关控制功能实体发送信息, 以指示所述 媒体网关控制功能实体执行打开媒体网关的媒体门控操作。  The second execution sub-module indicates, according to the selection result of the selection module, whether the media gateway control function entity opens the media gating. For example, when the priority of the user-defined ringback tone service is high, the second execution sub-module performs an operation of providing the user-side customized ring-back tone service, and directly sends the selected customization to the media gateway control function entity. The information of the ring back tone service, to indicate that the media gateway control function entity does not perform the media gating operation of opening the media gateway; for example, when the second execution sub-module determines that the opposite user's customized ring back tone service has a high priority The operation of providing the user's customized ring back tone service is not performed, and the information is directly sent to the media gateway control function entity to instruct the media gateway control function entity to perform the media gating operation of opening the media gateway.
第二执行子模块可以将选择的定制回铃音业务的信息携带在 INVITE消 息中发送。 选择的定制回铃音业务的信息在 INVITE消息中的携带方式、 以 及媒体网关控制功能实体执行的操作等如上述方法实施方式中的描述。  The second execution sub-module may carry the information of the selected customized ring back tone service in the INVITE message. The manner in which the information of the selected ring back tone service is carried in the INVITE message, and the operation performed by the media gateway control function entity are as described in the foregoing method embodiments.
在执行模块包括判断子模块的情况下, 判断子模块判断主叫用户终端是 否支持应用服务器模式, 并在判断出主叫用户终端不支持应用服务器模式的 情况下, 输出通知信息, 第二执行子模块在接收到判断子模块的通知后, 再 根据选择模块的选择结果执行上述操作。 判断子模块判断主叫用户终端释放 支持应用服务器模式的方法如上述方法实施方式的描述, 在此不再重复说 明。 In the case that the execution module includes the determination sub-module, the determination sub-module determines whether the calling user terminal supports the application server mode, and outputs the notification information when the calling user terminal does not support the application server mode, and the second executable After receiving the notification of the judgment sub-module, the module performs the above operation according to the selection result of the selection module. The method for determining that the calling user terminal releases the support application server mode is as described in the foregoing method implementation manner, and is not repeated here. Bright.
第三执行子模块, 用于根据选择模块的选择结果指示媒体资源功能模块 是否丢弃定制回铃音业务媒体流; 例如, 在本侧用户定制回铃音业务优先级 高时, 指示媒体资源功能模块丢弃接收到的对侧用户定制回铃音业务的媒体 流、 且第三执行子模块执行提供本侧用户定制回铃音业务的操作; 在对侧用 户定制回铃音业务优先级高时, 第三执行子模块允许媒体资源功能模块正常 传输其接收到的对侧用户定制回铃音业务的媒体流, 且第三执行子模块不执 行提供本侧用户定制回铃音业务的操作。  a third execution sub-module, configured to indicate, according to the selection result of the selection module, whether the media resource function module discards the customized ring back tone service media stream; for example, when the user has customized the ring back tone service priority, the media resource function module is indicated Discarding the received media stream of the user's customized ringback tone service, and the third execution sub-module performs the operation of providing the local user's customized ringback tone service; when the opposite user customizes the ringback tone service with a high priority, The third execution sub-module allows the media resource function module to normally transmit the media stream of the user's customized ringback tone service, and the third execution sub-module does not perform the operation of providing the user-side custom ringback tone service.
在执行模块包括判断子模块的情况下, 判断子模块判断主叫用户终端是 否支持应用服务器模式, 并在判断出主叫用户终端不支持应用服务器模式的 情况下, 输出通知信息, 第三执行子模块在接收到判断子模块的通知后, 再 根据选择模块的选择结果执行上述操作。 判断子模块判断主叫用户终端释放 支持应用服务器模式的方法如上述方法实施方式的描述, 在此不再重复说 明。  In the case that the execution module includes the determination sub-module, the determination sub-module determines whether the calling user terminal supports the application server mode, and outputs the notification information when the calling user terminal does not support the application server mode, and the third executable After receiving the notification of the judgment sub-module, the module performs the above operation according to the selection result of the selection module. The method for judging the sub-module to determine that the calling user terminal releases the support application server mode is as described in the foregoing method embodiment, and the description thereof will not be repeated here.
第四执行子模块根据选择模块的选择结果指示媒体资源功能模块是否关 闭定制回铃音业务媒体流的接收地址。 例如, 在本侧用户定制回铃音业务优 先级高时, 指示媒体资源功能模块关闭接收对侧用户定制回铃音业务的媒体 流的接收地址、 且第四执行子模块执行提供本侧用户定制回铃音业务的操 作。 在对侧用户定制回铃音业务优先级高时, 第四执行子模块允许媒体资源 功能模块正常传输其接收到的对侧用户定制回铃音业务的媒体流, 且第四执 行子模块不执行提供本侧用户定制回铃音业务的操作。  The fourth execution submodule indicates, according to the selection result of the selection module, whether the media resource function module turns off the receiving address of the customized ring back tone service media stream. For example, when the priority of the user's customized ringback tone service is high, the media resource function module is instructed to close the receiving address of the media stream that receives the customized ringback tone service of the opposite user, and the fourth execution submodule performs the provision of the local user customization. The operation of the ring back tone service. The fourth execution sub-module allows the media resource function module to normally transmit the media stream of the received user-backed ringback tone service, and the fourth execution sub-module does not execute, when the priority of the user-defined ringback tone service is high. Provides operations for custom ringback tone services on the local side.
在执行模块包括判断子模块的情况下, 判断子模块判断主叫用户终端是 否支持应用服务器模式, 并在判断出主叫用户终端不支持应用服务器模式的 情况下, 输出通知信息, 第四执行子模块在接收到判断子模块的通知后, 再 根据选择模块的选择结果执行上述操作。 判断子模块判断主叫用户终端释放 支持应用服务器模式的方法如上述方法实施方式的描述, 在此不再重复说 明。 In the case that the execution module includes the determination sub-module, the determination sub-module determines whether the calling user terminal supports the application server mode, and outputs the notification information when the calling user terminal does not support the application server mode, and the fourth executive After receiving the notification of the judgment sub-module, the module performs the above operation according to the selection result of the selection module. The method for determining that the calling user terminal releases the support application server mode is as described in the foregoing method implementation manner, and is not repeated here. Bright.
第五执行子模块在选择模块确定本侧用户定制回铃音业务优先级高时, 不论主叫用户的终端是否支持应用服务器模式, 均向对侧网络节点发送拒绝 定制回铃音业务媒体流的信息, 以指示对侧网络节点不发送定制回铃音业务 的媒体流即表示拒绝被叫侧的网络节点提供的被叫用户的定制回铃音业务。  When the selection module determines that the user-defined ringback tone service priority is high, the selection module sends a media stream rejecting the customized ringback tone service to the opposite network node regardless of whether the terminal of the calling user supports the application server mode. The information indicates that the media stream that does not send the customized ring back tone service to the peer network node indicates that the customized ring back tone service provided by the called party's network node is rejected.
第六执行子模块在选择模块确定对侧用户定制回铃音业务优先级高、 且 判断出主叫用户终端支持应用服务器模式的情况下, 采用应用服务器模式执 行正常的消息转发过程, 且不向被叫侧的网络节点发送拒绝信息, 不向主叫 用户提供主叫用户定制回铃音业务; 例如, 第六执行子模块转发对侧网络节 点转发来的针对 INVITE请求的响应消息, 以允许对侧网络节点发送定制回 铃音业务的媒体流。 具体实现过程如上述方法实施方式中的描述, 在此不再 重复说明。  The sixth execution sub-module performs a normal message forwarding process by using the application server mode when the selection module determines that the opposite user has a high priority of the customized ringback tone service and determines that the calling user terminal supports the application server mode, and does not The network node on the called side sends the rejection information, and does not provide the calling user with the customized ringback tone service of the calling user. For example, the sixth execution submodule forwards the response message forwarded by the opposite network node to the INVITE request to allow the pair. The side network node sends a media stream of the customized ring back tone service. The specific implementation process is as described in the foregoing method embodiment, and the description is not repeated here.
第七执行子模块在选择模块确定对侧用户定制回铃音业务优先级高、 且 判断出主叫用户终端不支持应用服务器模式的情况下, 第七执行子模块将需 要向主叫用户转发的消息转换为基于网关模式的消息并转发, 并采用应用服 务器模式向被叫侧的网络节点发送允许信息, 以表示允许被叫侧的网络节点 提供的被叫用户的定制回铃音业务, 且不向主叫用户提供主叫用户的定制回 铃音业务等等; 例如, 第七执行子模块将对侧网络节点转发来的针对 INVITE请求的响应消息转换为基于网关模式的针对 INVITE请求的响应消 息, 转发所述转换后的响应消息, 并向对侧网络节点发送采用应用服务器模 式向被叫侧的网络节点发送允许信息, 以指示对侧网络节点采用应用服务器 模式发送定制回铃音业务的媒体流。 具体实现过程如上述方法实施方式中的 描述, 在此不再重复说明。  The seventh execution sub-module needs to forward to the calling user when the selection module determines that the opposite-side user customizes the ring-back tone service has a high priority and determines that the calling user terminal does not support the application server mode. The message is converted into a gateway mode-based message and forwarded, and the application server mode is used to send the permission information to the network node on the called side to indicate the customized ringback tone service of the called user provided by the network node on the called side, and not Providing the calling user with a customized ring back tone service of the calling user, etc.; for example, the seventh executing submodule converts the response message for the INVITE request forwarded by the opposite side network node into a response message for the INVITE request based on the gateway mode. And forwarding the converted response message, and sending, to the opposite network node, the application server mode to send the permission information to the network node on the called side, to instruct the opposite network node to send the media of the customized ring back tone service by using the application server mode. flow. The specific implementation process is as described in the foregoing method embodiment, and the description is not repeated here.
第八执行子模块于在对侧网络节点采用网关模式提供定制回铃音业务、 且选择模块确定对侧用户定制回铃音业务优先级高的情况下, 第八执行子模 块与本侧媒体资源功能模块进行信息交互, 以协商获取本侧媒体资源功能模 块输出定制回铃音业务的媒体流的地址信息 (第二地址信息) , 然后, 将该 第二地址信息告知本侧用户的终端, 并指示本侧媒体资源功能模块将从第一 地址接收到的定制回铃音业务的媒体流通过第二地址发送至主叫用户, 而 且, 第八执行子模块不执行提供本侧用户的定制回铃音业务的操作。 上述对 侧网络节点采用网关模式可以是对侧网络节点主动采用网关模式, 也可以是 根据第八执行子模块发送的消息而被动采用网关模式。 在此实现过程中, 预 定地址可以是由地址获取子模块提供给第八执行子模块的。 例如, 地址获取 子模块在其所在装置接收到 INVITE请求、 且主叫用户终端不支持应用服务 器模式时, 通过与本侧媒体资源功能模块进行信息交互来协商获取该第一地 址信息。 该第一地址信息可以为 IP地址和端口地址信息。 在协商获取了该 第一地址信息后, 第八执行子模块可以将该第一地址信息通知对侧的网络节 点。 通知的方式可以为: 第八执行子模块在接收到 INVITE消息后, 将该第 一地址信息携带在 INVITE消息中发送至被叫侧的网络节点。 本发明实施方 式不排除第八执行子模块采用其它消息告知被叫侧的网络节点该第一地址信 息的实现方式。 具体实现过程如上述方法实施方式中的描述, 在此不再重复 说明。 The eighth execution sub-module, in the case that the opposite-side network node adopts the gateway mode to provide the customized ring-back tone service, and the selection module determines that the opposite-side user customizes the ring-back tone service has a high priority, the eighth execution sub-module and the local-side media resource The function module exchanges information to obtain the function mode of the media resource on the local side. The block outputs the address information (second address information) of the media stream of the customized ring back tone service, and then informs the terminal of the user of the local side of the second address information, and indicates that the media resource function module of the local side is received from the first address. The media stream of the customized ring back tone service is sent to the calling user through the second address, and the eighth execution submodule does not perform the operation of providing the customized ring back tone service of the user on the side. The gateway mode of the peer network node may be that the peer network node actively adopts the gateway mode, or may adopt the gateway mode passively according to the message sent by the eighth execution submodule. In this implementation, the predetermined address may be provided by the address acquisition submodule to the eighth execution submodule. For example, the address obtaining sub-module negotiates and acquires the first address information by performing information exchange with the local media resource function module when the device that the device is in the INVITE request and the calling user terminal does not support the application server mode. The first address information may be an IP address and port address information. After the first address information is obtained by negotiation, the eighth execution submodule may notify the network node of the opposite side of the first address information. The manner of the notification may be: after receiving the INVITE message, the eighth execution sub-module carries the first address information in the INVITE message and sends the message to the network node on the called side. The embodiment of the present invention does not exclude the eighth execution sub-module from using other messages to notify the network node on the called side of the implementation of the first address information. The specific implementation process is as described in the foregoing method implementation manner, and the description is not repeated here.
第九执行子模块在对侧网络节点采用网关模式提供定制回铃音业务、 且 选择模块确定本侧用户定制回铃音业务优先级高的情况下, 指示媒体资源功 能模块丢弃从预定地址接收到的定制回铃音业务的媒体流, 而且, 第九执行 子模块不执行提供本侧用户的定制回铃音业务的操作。 上述对侧网络节点采 用网关模式可以是对侧网络节点主动采用网关模式, 也可以是根据第九执行 子模块发送的消息而被动采用网关模式。 在此实现过程中, 预定地址也可以 是由地址获取子模块提供给的。 例如, 地址获取子模块在其所在装置接收到 INVITE请求、 且主叫用户终端不支持应用服务器模式时, 通过与本侧媒体 资源功能模块进行信息交互来协商获取该第一地址信息。 该第一地址信息可 以为 IP地址和端口地址信息。 在协商获取了该第一地址信息后, 第九执行 子模块可以将该第一地址信息通知对侧的网络节点。 具体如上述实施方式中 的描述, 在此不再重复说明。 The ninth execution sub-module indicates that the media resource function module discards the reception from the predetermined address when the opposite-side network node provides the customized ring-back tone service in the gateway mode, and the selection module determines that the user-defined ring-back tone service priority is high. The customized media stream of the ring back tone service, and the ninth execution submodule does not perform the operation of providing the customized ring back tone service of the user on the side. The gateway mode of the peer network node may be that the peer network node actively adopts the gateway mode, or may adopt the gateway mode passively according to the message sent by the ninth execution submodule. In this implementation, the predetermined address may also be provided by the address acquisition submodule. For example, the address obtaining sub-module negotiates and acquires the first address information by performing information exchange with the local media resource function module when the device that the device is in the INVITE request and the calling user terminal does not support the application server mode. The first address information may be an IP address and port address information. After the negotiation obtains the first address information, the ninth execution The submodule may notify the network node of the opposite side of the first address information. Specifically, as described in the above embodiments, the description will not be repeated here.
第十执行子模块, 用于在对侧网络节点采用应用服务器模式提供定制回 铃音业务、 且选择模块确定对侧用户定制回铃音业务优先级高的情况下, 转 发对侧网络节点发送来的针对 INVITE请求的响应信息, 且不执行提供本侧 用户定制回铃音业务的操作。 上述对侧网络节点采用应用服务器模式可以是 对侧网络节点主动采用应用服务器模式, 也可以是根据第十执行子模块发送 的消息而被动采用应用服务器模式。 具体如上述实施方式中的描述, 在此不 再重复说明。  a tenth execution sub-module, configured to: when the opposite-side network node adopts an application server mode to provide a customized ring-back tone service, and the selection module determines that the opposite-side user customizes the ring-back tone service has a high priority, the forwarding peer network node sends the packet The response information for the INVITE request is not performed, and the operation of providing the user's customized ring back tone service is not performed. The application server mode of the peer network node may be that the peer network node actively adopts the application server mode, or may adopt the application server mode passively according to the message sent by the tenth execution submodule. Specifically, as described in the above embodiment, the description will not be repeated here.
第十一执行子模块在对侧网络节点采用应用服务器模式提供定制回铃音 业务、 且选择模块确定本侧用户定制回铃音业务优先级高的情况下, 向对侧 网络节点发送拒绝定制回铃音业务媒体流的信息, 以指示对侧网络节点不发 送定制回铃音业务的媒体流, 且第十一执行子模块执行提供主叫用户定制回 铃音业务的操作。 上述对侧网络节点采用应用服务器模式可以是对侧网络节 点主动采用应用服务器模式, 也可以是根据第十一执行子模块发送的消息而 被动采用应用服务器模式。 具体如上述实施方式中的描述, 在此不再重复说 明。  The eleventh execution sub-module sends a custom ringback tone service to the opposite-side network node when the opposite-side network node provides the customized ring-back tone service in the application server mode, and the selection module determines that the user-defined ring-back tone service priority is high. The information of the ring tone service media stream is used to indicate that the opposite network node does not send the media stream of the customized ring back tone service, and the eleventh execution submodule performs the operation of providing the caller user customized ring back tone service. The application server mode of the peer network node may be that the peer network node actively adopts the application server mode, or may adopt the application server mode passively according to the message sent by the eleventh execution submodule. Specifically, as described in the above embodiment, the description is not repeated here.
虽然通过实施例描绘了本发明, 本领域普通技术人员知道, 本发明有许 多变形和变化而不脱离本发明的精神, 本发明的申请文件的权利要求包括这 些变形和变化。  While the invention has been described by the embodiments of the present invention, it will be understood that

Claims

权利要求书 Claim
1、 一种 IMS域定制回铃音业务实现方法, 其特征在于, 包括: 在呼叫过程中, 第一 CAT业务侧具有定制回铃音业务控制功能的网络 节点从所述呼叫的第一 CAT业务侧提供的第一 CAT业务和第二 CAT业务 侧提供的第二 CAT业务中选择一个定制回铃音业务;  A method for implementing a custom ringback tone service in an IMS domain, comprising: during a call, a network node having a customized ring back tone service control function on a first CAT service side receives a first CAT service from the call Selecting a customized ring back tone service from the first CAT service provided by the side and the second CAT service provided by the second CAT service side;
所述网络节点向主叫用户提供所述选择的定制回铃音业务、 禁止为主叫 用户提供未被选择的定制回铃音业务。  The network node provides the selected customized ring back tone service to the calling user, and prohibits the calling user from providing the customized ring back tone service that is not selected.
2、 如权利要求 1所述的方法, 其特征在于, 所述选择定制回铃音业务 可以根据下列条件至少一种进行选择:  2. The method according to claim 1, wherein the selecting a customized ring back tone service can be selected according to at least one of the following conditions:
根据用户定制回铃音业务设置参数选择高优先级的定制回铃音业务; 根据预先设置的本地策略选择高优先级的定制回铃音业务;  Selecting a high-priority customized ring back tone service according to a customized ring back tone service setting parameter; selecting a high priority customized ring back tone service according to a preset local policy;
根据记录的曾经的定制回铃音业务选择结果选择高优先级的定制回铃音 业务;  Selecting a high priority customized ring back tone service according to the recorded custom ring back tone service selection result;
在存在呼叫转移的情况下, 选择被叫用户或呼叫转移第三方用户的定制 回铃音业务;  In the case of call forwarding, select the customized ring back tone service of the called user or the call transfer third party user;
在被叫用户隐匿的情况下, 选择主叫用户的定制回铃音业务; 在呼叫转移第三方用户隐匿的情况下, 选择主叫用户或被叫用户的定制 回铃音业务;  In the case that the called user is concealed, the customized ring back tone service of the calling user is selected; in the case where the call forwarding third party user is hidden, the customized ring back tone service of the calling user or the called user is selected;
根据呼叫的双方用户要求使用的媒体格式选择高优先级的定制回铃音业 务;  Selecting a high-priority custom ringback tone service according to the media format requested by both users of the call;
根据主叫用户的终端支持的媒体格式、 多个定制回铃音业务的媒体格式 选择媒体格式匹配的定制回铃音业务。  The customized ring back tone service matched by the media format is selected according to the media format supported by the terminal of the calling user and the media format of multiple customized ring back tone services.
3、 如权利要求 1所述的方法, 其特征在于, 当上述第一 CAT业务侧选 择第一 CAT业务时, 则向主叫用户提供第一 CAT业务, 并选择以下至少一 种方法禁止第二 CAT业务侧为主叫用户提供第二 CAT业务:  The method according to claim 1, wherein when the first CAT service side selects the first CAT service, the first CAT service is provided to the calling user, and at least one of the following methods is selected to prohibit the second The CAT service side provides the second CAT service to the calling user:
所述网络节点向第二 CAT业务侧发送携带选择的定制回铃音业务信息 的消息, 以指示第二 CAT业务侧不提供 CAT业务; Sending, by the network node, the selected customized ring back tone service information to the second CAT service side Message to indicate that the second CAT service side does not provide CAT services;
所述网络节点丢弃第二 CAT业务侧发送的第二 CAT媒体流。  The network node discards the second CAT media stream sent by the second CAT service side.
4、 如权利要求 3所述的方法, 其特征在于, 所述网络节点向第二 CAT 业务侧发送携带选择的定制回铃音业务信息的消息, 以指示第二 CAT业务 侧不提供 CAT业务具体为:  The method of claim 3, wherein the network node sends a message carrying the selected customized ring back tone service information to the second CAT service side, to indicate that the second CAT service side does not provide the CAT service specific. For:
所述网络节点通知第二 CAT业务侧由第一 Cat业务侧提供 CAT业务, 则第二 CAT业务侧收到所述携带选择的定制回铃音业务信息的消息后, 不 提供第二 CAT业务。  The network node notifies the second CAT service side that the CAT service is provided by the first Cat service side, and the second CAT service side does not provide the second CAT service after receiving the message carrying the selected customized ring back tone service information.
5、 如权利要求 3所述的方法, 其特征在于, 所述网络节点向第二 CAT 业务侧发送携带选择的定制回铃音业务信息的消息之前还包括:  The method of claim 3, wherein before the sending, by the network node, the message carrying the selected customized ring back tone service information to the second CAT service side, the method further includes:
所述网络节点接收到第二 CAT业务侧发送的 CAT业务请求。  The network node receives the CAT service request sent by the second CAT service side.
6、 如权利要求 3所述的方法, 其特征在于, 所述网络节点丢弃第二 CAT业务侧发送的第二 CAT媒体流具体方式为以下至少一种:  The method according to claim 3, wherein the network node discards the second CAT media stream sent by the second CAT service side in a specific manner of at least one of the following:
当一个 CAT业务侧位于 IMS域, 另一个 CAT业务侧位于 CS域时, 所 述网络节点指示媒体网关控制功能实体不打开媒体门控;  When one CAT service side is located in the IMS domain and another CAT service side is located in the CS domain, the network node instructs the media gateway control function entity not to open the media gating;
所述网络节点指示媒体资源功能模块关闭定制回铃音业务媒体流的接收 地址。  The network node instructs the media resource function module to close the receiving address of the customized ring back tone service media stream.
7、 如权利要求 6所述的方法, 其特征在于, 所述网络节点指示媒体资 源功能模块关闭定制回铃音业务媒体流的接收地址具体为:  The method according to claim 6, wherein the network node instructs the media resource function module to close the receiving address of the customized ring back tone service media stream:
所述网络节点指示媒体资源功能模块丢弃从预定地址接收到的定制回铃 音业务的媒体流。  The network node instructs the media resource function module to discard the media stream of the customized ringback tone service received from the predetermined address.
8、 如权利要求 1所述的方法, 其特征在于, 当上述第一 CAT业务侧选 择第二 CAT业务时, 不向主叫用户提供第一 CAT业务, 并选择以下至少一 种方法向主叫终端提供第二 CAT业务:  8. The method according to claim 1, wherein when the first CAT service side selects the second CAT service, the first CAT service is not provided to the calling user, and at least one of the following methods is selected to the calling party. The terminal provides the second CAT service:
所述网络节点向第二 CAT业务侧发送携带选择的定制回铃音业务信息 的消息, 所述携带选择的定制回铃音业务信息的消息用于通知第二 CAT业 务侧提供 CAT业务; The network node sends a message carrying the selected customized ring back tone service information to the second CAT service side, where the message carrying the selected customized ring back tone service information is used to notify the second CAT industry. Provide CAT business on the service side;
不向第二 CAT业务侧发送携带选择的定制回铃音业务信息的消息, 由 第二 CAT业务侧提供 CAT业务;  The message carrying the selected customized ring back tone service information is not sent to the second CAT service side, and the CAT service is provided by the second CAT service side;
所述网络节点接收到第二 CAT业务侧发送的 CAT业务请求之后, 向主 叫用户转发 CAT业务请求, 由第二 CAT业务侧提供 CAT业务;  After receiving the CAT service request sent by the second CAT service side, the network node forwards the CAT service request to the calling user, and the second CAT service side provides the CAT service;
所述网络节点向主叫用户转发第二 CAT业务侧发送的 CAT媒体流。  The network node forwards the CAT media stream sent by the second CAT service side to the calling user.
9、 如权利要求 8所述的方法, 其特征在于, 所述网络节点向第二 CAT 业务侧发送携带选择的定制回铃音业务信息的消息, 所述携带选择的定制回 铃音业务信息的消息用于通知第二 CAT业务侧提供 CAT业务具体为:  The method of claim 8, wherein the network node sends a message carrying the selected customized ring back tone service information to the second CAT service side, where the selected customized ring back tone service information is carried. The message is used to notify the second CAT service side to provide the CAT service specifically as follows:
所述网络节点通知给第二 CAT业务侧所述第一 CAT业务侧不提供 Notifying that the first CAT service side is not provided by the network node to the second CAT service side
CAT业务, 则第二 CAT业务侧收到所述携带选择的定制回铃音业务信息的 消息后, 向主叫用户提供第二 CAT业务。 The CAT service, after receiving the message carrying the selected customized ring back tone service information, the second CAT service side provides the second CAT service to the calling user.
10、 如权利要求 8所述的方法, 其特征在于, 所述方法具体为: 所述网 络节点接收 mV1te消息, 并判断主叫用户终端是否支持应用服务器模式, 当 主叫用户终端支持应用服务器模式时, 且选择提供第二 CAT业务时, 所述 网络节点不提供第一 CAT业务, 且所述网络节点接收到第二 CAT业务侧发 送的 CAT业务请求之后, 向主叫用户转发 CAT业务请求, 由第二 CAT业 务侧向主叫终端提供 CAT业务, The method according to claim 8, wherein the method is specifically: the network node receives the m V1 te message, and determines whether the calling user terminal supports the application server mode, and the calling user terminal supports the application. In the server mode, when the second CAT service is selected, the network node does not provide the first CAT service, and the network node forwards the CAT service to the calling user after receiving the CAT service request sent by the second CAT service side. Requesting, the second CAT service side provides the CAT service to the calling terminal,
其中所述网络节点接收到第二 CAT业务侧发送的 CAT业务请求之后, 向主叫用户转发 CAT业务请求, 由第二 CAT业务侧提供 CAT业务具体 为: 所述网络节点接收第二 CAT业务侧发送的针对 INVITE消息的响应消 息, 并向主叫侧转发第二 CAT业务侧发送的的针对 INVITE消息的响应消 息, 以允许第二 CAT业务侧发送定制回铃音业务的媒体流。  After receiving the CAT service request sent by the second CAT service side, the network node forwards the CAT service request to the calling user, and the CAT service is provided by the second CAT service side, where the network node receives the second CAT service side. Sending a response message for the INVITE message, and forwarding the response message for the INVITE message sent by the second CAT service side to the calling side, to allow the second CAT service side to send the media stream of the customized ring back tone service.
11、 如权利要求 8所述的方法, 其特征在于, 所述方法具体为: 所述网 络节点接收 mV1te消息, 并判断主叫用户终端是否支持应用服务器模式, 当 主叫用户终端不支持应用服务器模式, 且选择提供第二 CAT业务时, 所述 网络节点不提供第一 CAT业务, 不向第二 CAT业务侧发送携带选择的定制 回铃音业务信息的消息, 由第二 CAT业务侧向主叫终端提供 CAT业务, 其中, 不向第二 CAT业务侧发送携带选择的定制回铃音业务信息的消 息, 由第二 CAT业务侧提供 CAT业务具体为: 不向第二 CAT业务侧发送 携带选择的定制回铃音业务信息的消息, 向第二 CAT业务侧发送采用应用 服务器模式的信息, 以强制要求第二 CAT业务侧采用应用服务器模式对 INVITE消息进行响应, 并将第二 CAT业务侧发送的的针对 INVITE消息的 响应消息转换为基于网关模式的针对 INVITE消息的响应消息, 向主叫用户 转发所述转换后的响应消息, 并采用应用服务器模式向第二 CAT业务侧发 送允许信息, 以指示第二 CAT业务侧采用应用服务器模式发送定制回铃音 业务的媒体流。 The method according to claim 8, wherein the method is specifically: the network node receives the m V1 te message, and determines whether the calling user terminal supports the application server mode, and the calling user terminal does not support In the application server mode, and when the second CAT service is selected, the The network node does not provide the first CAT service, and does not send the message carrying the selected customized ring back tone service information to the second CAT service side, and the second CAT service side provides the CAT service to the calling terminal, wherein, the second CAT is not provided. The service side sends a message carrying the selected customized ring back tone service information, and the CAT service provided by the second CAT service side is specifically: sending the message carrying the selected customized ring back tone service information to the second CAT service side, to the second The CAT service side sends the information in the application server mode to force the second CAT service side to respond to the INVITE message by using the application server mode, and converts the response message for the INVITE message sent by the second CAT service side to the gateway-based mode. Responding to the response message of the INVITE message, forwarding the converted response message to the calling user, and transmitting the permission information to the second CAT service side by using the application server mode, to instruct the second CAT service side to send the customized back in the application server mode. The media stream of the ring tone service.
12、 如权利要求 11所述的方法, 其特征在于, 所述发送采用应用服务 器模式的信息具体为:  The method of claim 11, wherein the transmitting the information in the application server mode is specifically:
在所述 INVITE消息中增加携带有早期会话 Early Session参数的支持 Supported头域。  A support Supported header field carrying an early session Early Session parameter is added to the INVITE message.
13、 如权利要求 8所述的方法, 其特征在于, 所述网络节点向主叫用户 转发第二 CAT业务侧发送的 CAT媒体流具体为: 所述网络节点获取定制回 铃音业务的媒体流输出媒体资源功能模块的地址信息, 并指示媒体资源功能 模块将从预定地址接收到的定制回铃音业务的媒体流通过所述地址信息发送 至主叫用户。  The method according to claim 8, wherein the network node forwards the CAT media stream sent by the second CAT service side to the calling user, where the network node obtains the media stream of the customized ring back tone service. And outputting the address information of the media resource function module, and instructing the media resource function module to send the media stream of the customized ring back tone service received from the predetermined address to the calling user by using the address information.
14、 如权利要求 7或 13所述的方法, 其特征在于, 所述预定地址为: 所述网络节点在接收到 INVITE消息后, 从媒体资源功能模块处获取的地址 信息, 则所述方法进一歩包括, 所述网络节点将所述 INVITE消息中携带的 普通会话的地址信息更新为所述获取的地址信息, 使得第二 CAT业务侧发 送 CAT业务媒体流到所述获取的地址信息。  The method according to claim 7 or 13, wherein the predetermined address is: the address information obtained by the network node from the media resource function module after receiving the INVITE message, In addition, the network node updates the address information of the normal session carried in the INVITE message to the acquired address information, so that the second CAT service side sends the CAT service media stream to the acquired address information.
15、 如权利要求 7或 13所述的方法, 其特征在于, 所述预定地址为: 所述网络节点在接收到 INVITE消息、 且判断出主叫用户终端不支持应用服 务器模式时, 从媒体资源功能模块处获取的地址信息, 则所述方法进一歩包 括, 所述网络节点将所述 INVITE消息中携带的普通会话的地址信息更新为 所述获取的地址信息, 使得第二 CAT业务侧发送 CAT业务媒体流到所述获 取的地址信息。 The method according to claim 7 or 13, wherein the predetermined address is: When the network node receives the INVITE message and determines that the calling user terminal does not support the application server mode, and obtains the address information obtained from the media resource function module, the method further includes: the network node: The address information of the normal session carried in the INVITE message is updated to the acquired address information, so that the second CAT service side sends the CAT service media stream to the acquired address information.
16、 如权利要求 8所述的方法, 其特征在于, 所述方法具体为: 当第二 CAT业务侧采用网关模式提供定制回铃音业务、 且所述网络节点选择第二 侧 CAT提供业务, 所述网络节点不提供第一 CAT业务, 所述网络节点向主 叫用户转发第二 CAT业务侧发送的 CAT媒体流来向主叫终端提供第二 CAT业务,  The method according to claim 8, wherein the method is specifically: when the second CAT service side provides a customized ring back tone service by using a gateway mode, and the network node selects a second side CAT to provide a service, The network node does not provide the first CAT service, and the network node forwards the CAT media stream sent by the second CAT service side to the calling user to provide the second CAT service to the calling terminal.
其中所述网络节点向主叫用户转发第二 CAT业务侧发送的 CAT媒体流 具体为: 获取定制回铃音业务的媒体流输出媒体资源功能模块的地址信息, 并指示媒体资源功能模块将从预定地址接收到的定制回铃音业务的媒体流通 过所述地址信息发送至主叫用户。  The network node forwards the CAT media stream sent by the second CAT service side to the calling user, specifically: acquiring the address information of the media stream output media resource function module of the customized ring back tone service, and indicating that the media resource function module is to be scheduled The media stream of the customized ring back tone service received by the address is sent to the calling user through the address information.
17、 如权利要求 3或 8所述的方法, 其特征在于, 所述选择的定制回铃 音业务的信息通过所述携带选择的定制回铃音业务信息的消息的头域或者消 息体进行携带。  The method according to claim 3 or 8, wherein the information of the selected customized ring back tone service is carried by the header field or the message body of the message carrying the selected customized ring back tone service information. .
18、 如权利要求 3或 8所述的方法, 其特征在于当一个 CAT业务侧位 于 IMS域, 另一个 CAT业务侧位于 CS域时, 则向第二 CAT业务侧发送携 带选择的定制回铃音业务信息的消息的歩骤具体为:  The method according to claim 3 or 8, wherein when a CAT service side is located in the IMS domain and another CAT service side is located in the CS domain, the selected custom ringback tone is transmitted to the second CAT service side. The details of the message of the business information are as follows:
所述网络节点通过媒体网关控制功能实体向第二 CAT业务侧发送所述 携带选择的定制回铃音业务信息的消息。  And the network node sends the message carrying the selected customized ring back tone service information to the second CAT service side by using the media gateway control function entity.
19、 如权利要求 18 中所述的方法, 其特征在于, 所述的媒体网关控制 功能实体向第二 CAT业务侧发送的所述选择的地址回铃音业务的信息携带 在初始地址消息的 IAM中。  The method according to claim 18, wherein the information of the selected address ringback tone service sent by the media gateway control function entity to the second CAT service side is carried in the IAM of the initial address message. in.
20、 如权利要求 1所述的方法, 其特征在于, 第一 CAT业务侧为主叫 方, 第二 CAT业务侧为被叫方, 或者第一 CAT业务侧为被叫方, 第二 CAT业务侧为前转方。 20. The method of claim 1, wherein the first CAT service side is called The second CAT service side is the called party, or the first CAT service side is the called party, and the second CAT service side is the forward party.
21、 如权利要求 1所述的方法, 其特征在于, 所述具有定制回铃音业务 控制功能的网络节点为 AS或 CS域中的移动交换中心。  The method according to claim 1, wherein the network node having a customized ring back tone service control function is a mobile switching center in an AS or CS domain.
22、 如权利要求 1所述的方法, 其特征在于, 所述网络节点向主叫用户 提供所述选择的定制回铃音业务、 禁止为主叫用户提供未被选择的定制回铃 音业务的操作之前还包括: 所述网络节点判断主叫终端用户是否支持应用服 务器模式, 当主叫用户终端不支持应用服务器模式的时, 执行向主叫用户提 供所述选择的定制回铃音业务、 禁止为主叫用户提供未被选择的定制回铃音 业务的操作。  The method according to claim 1, wherein the network node provides the selected customized ring back tone service to the calling user, and prohibits the calling user from providing the selected customized ring back tone service. The operation further includes: the network node determining whether the calling terminal user supports the application server mode, and when the calling user terminal does not support the application server mode, performing the customized ring back tone service provided to the calling user, prohibiting The caller is provided with an operation of the unselected custom ringback tone service.
23、 如权利要求 10或 11所述的方法, 其特征在于, 所述网络节点判断 主叫用户终端支持模式的过程包括:  The method according to claim 10 or 11, wherein the process of determining, by the network node, the mode of supporting the calling user terminal comprises:
所述网络节点判断接收到的 INVITE消息中的 Supported头域; 在确定 Supported头域携带有 Early Session参数时, 判断出主叫用户终 端支持应用服务器模式, 否则, 不支持应用服务器模式。  The network node determines the Supported header field in the received INVITE message. When determining that the Supported header field carries the Early Session parameter, it determines that the calling user terminal supports the application server mode. Otherwise, the application server mode is not supported.
24、 一种定制回铃音业务实现装置, 其特征在于, 包括:  24 . A device for implementing a customized ring back tone service, which is characterized by comprising:
选择模块, 用于在呼叫过程中, 从所述呼叫的至少两个定制回铃音业务 中选择具有高优先级的定制回铃音业务;  a selection module, configured to select a customized ring back tone service with a high priority from at least two customized ring back tone services of the call during a call;
执行模块, 用于根据选择模块的选择结果触发允许为主叫用户播放所述 选择的定制回铃音业务、 禁止为主叫用户播放未被选择的定制回铃音业务的 操作。  And an execution module, configured to trigger, according to the selection result of the selection module, the operation of allowing the selected user to play the selected customized ring back tone service, and prohibiting the calling user from playing the unselected customized ring back tone service.
25、 如权利要求 24所述的装置, 其特征在于, 所述执行模块包括下述 至少一个:  The apparatus according to claim 24, wherein the execution module comprises at least one of the following:
第一执行子模块, 用于根据选择模块的选择结果指示对侧网络节点是否 提供定制回铃音业务;  a first execution submodule, configured to indicate, according to a selection result of the selection module, whether the opposite network node provides a customized ring back tone service;
第二执行子模块, 用于根据选择模块的选择结果指示媒体网关控制功能 实体是否打开媒体门控; a second execution submodule, configured to indicate a media gateway control function according to a selection result of the selection module Whether the entity opens the media gate;
第三执行子模块, 用于根据选择模块的选择结果指示媒体资源功能模块 是否丢弃定制回铃音业务媒体流;  a third execution submodule, configured to indicate, according to the selection result of the selection module, whether the media resource function module discards the customized ring back tone service media stream;
第四执行子模块, 用于根据选择模块的选择结果指示媒体资源功能模块 是否关闭定制回铃音业务媒体流的接收地址。  And a fourth execution submodule, configured to indicate, according to the selection result of the selection module, whether the media resource function module closes the receiving address of the customized ring back tone service media stream.
26、 如权利要求 25所述的装置, 其特征在于, 所述执行模块还包括: 判断子模块, 用于判断主叫用户终端是否支持应用服务器模式, 并在判 断出主叫用户终端不支持应用服务器模式的情况下, 通知各子模块执行操 作。  The device of claim 25, wherein the execution module further comprises: a determining sub-module, configured to determine whether the calling user terminal supports the application server mode, and determine that the calling user terminal does not support the application In the case of the server mode, each submodule is notified to perform an operation.
27、 如权利要求 24所述的装置, 其特征在于, 所述执行模块包括下述 至少一个:  27. The apparatus of claim 24, wherein the execution module comprises at least one of:
第五执行子模块, 用于在选择模块确定本侧用户定制回铃音业务优先级 高时, 向对侧网络节点发送拒绝定制回铃音业务媒体流的信息, 以指示对侧 网络节点不发送定制回铃音业务的媒体流;  And a fifth execution sub-module, configured to: when the selecting module determines that the user-defined ringback tone service priority is high, sending, to the opposite-side network node, information that denies the custom ringback tone service media stream, to indicate that the opposite-side network node does not send Customizing the media stream of the ring back tone service;
第六执行子模块, 用于在选择模块确定对侧用户定制回铃音业务优先级 高、 且判断出主叫用户终端支持应用服务器模式的情况下, 不执行提供本侧 用户定制回铃音业务的操作, 并转发对侧网络节点转发来的针对 INVITE消 息的响应消息, 以允许对侧网络节点发送定制回铃音业务的媒体流;  a sixth execution sub-module, configured to: when the selection module determines that the user-side ringback tone service has a high priority, and determines that the calling user terminal supports the application server mode, the user does not provide the user-side customized ringback tone service. And forwarding a response message for the INVITE message forwarded by the opposite network node, to allow the opposite network node to send the media stream of the customized ring back tone service;
第七执行子模块, 用于在选择模块确定对侧用户定制回铃音业务优先级 高、 且判断出主叫用户终端不支持应用服务器模式的情况下, 不执行提供本 侧用户定制回铃音业务的操作, 将对侧网络节点转发来的针对 INVITE消息 的响应消息转换为基于网关模式的针对 INVITE消息的响应消息, 转发所述 转换后的响应消息, 并向对侧网络节点发送采用应用服务器模式向被叫侧的 网络节点发送允许信息, 以指示对侧网络节点采用应用服务器模式发送定制 回铃音业务的媒体流。  a seventh execution sub-module, configured to: when the selection module determines that the opposite user has a high priority of the ringback tone service, and determines that the calling user terminal does not support the application server mode, the user does not perform the custom ringback tone provided by the user. The operation of the service, the response message for the INVITE message forwarded by the opposite network node is converted into a response message for the INVITE message based on the gateway mode, the converted response message is forwarded, and the application server is sent to the opposite network node. The mode sends permission information to the network node on the called side to instruct the opposite network node to send the media stream of the customized ring back tone service in the application server mode.
28、 如权利要求 24所述的装置, 其特征在于, 所述执行模块包括下述 至少一个: 28. The apparatus of claim 24, wherein the execution module comprises the following at least one:
第八执行子模块, 用于在对侧网络节点采用网关模式提供定制回铃音业 务、 且所述选择模块确定对侧用户定制回铃音业务优先级高的情况下, 不执 行提供本侧用户定制回铃音业务的操作, 获取定制回铃音业务的媒体流输出 媒体资源功能模块的地址信息, 并指示媒体资源功能模块将从预定地址接收 到的定制回铃音业务的媒体流通过所述地址信息发送至主叫用户;  The eighth execution sub-module is configured to: when the opposite-side network node adopts a gateway mode to provide a customized ring-back tone service, and the selection module determines that the opposite-side user customizes the ring-back tone service has a high priority, the user of the local side is not executed. Customizing the operation of the ring back tone service, obtaining the address information of the media stream output media resource function module of the customized ring back tone service, and instructing the media resource function module to pass the media stream of the customized ring back tone service received from the predetermined address The address information is sent to the calling user;
第九执行子模块, 用于在对侧网络节点采用网关模式提供定制回铃音业 务、 且所述选择模块确定本侧用户定制回铃音业务优先级高的情况下, 指示 媒体资源功能模块丢弃从预定地址接收到的定制回铃音业务的媒体流; 第十执行子模块, 用于在对侧网络节点采用应用服务器模式提供定制回 铃音业务、 且选择模块确定对侧用户定制回铃音业务优先级高的情况下, 不 执行提供本侧用户定制回铃音业务的操作, 转发对侧网络节点发送来的针对 a ninth execution sub-module, configured to: when the opposite-side network node adopts a gateway mode to provide a customized ring-back tone service, and the selection module determines that the user-defined ring-back tone service has a high priority, the media resource function module is discarded. a media stream of the customized ring back tone service received from the predetermined address; a tenth execution submodule, configured to provide a customized ring back tone service in the application server mode on the opposite side network node, and the selection module determines the opposite user to customize the ring back tone If the service priority is high, the operation of providing the user's customized ring back tone service is not performed, and the forwarding is performed by the peer network node.
INVITE消息的响应信息; Response information of the INVITE message;
第十一执行子模块, 用于在对侧网络节点采用应用服务器模式提供定制 回铃音业务、 且选择模块确定本侧用户定制回铃音业务优先级高的情况下, 向对侧网络节点发送拒绝定制回铃音业务媒体流的信息, 以指示对侧网络节 点不发送定制回铃音业务的媒体流。  The eleventh execution sub-module is configured to: when the opposite-side network node adopts the application server mode to provide a customized ring-back tone service, and the selection module determines that the user-side customized ring-back tone service has a high priority, send the packet to the opposite-side network node. The information of the ringback tone service media stream is refused to be instructed to indicate that the peer network node does not send the media stream of the customized ringback tone service.
29、 如权利要求 28所述的装置, 其特征在于, 所述执行模块还包括: 地址获取子模块, 用于在所述装置接收到 INVITE消息、 且判断出主叫 用户终端不支持应用服务器模式时, 从媒体资源功能模块处获取预定地址信 息, 并提供给第八执行子模块或第九执行子模块。  The device of claim 28, wherein the execution module further comprises: an address acquisition submodule, configured to receive an INVITE message at the device, and determine that the calling user terminal does not support the application server mode The predetermined address information is obtained from the media resource function module and provided to the eighth execution submodule or the ninth execution submodule.
PCT/CN2009/070700 2008-03-26 2009-03-09 Method and device for enabling customized alerting tones service WO2009117916A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200810102804.7 2008-03-26
CN200810102804 2008-03-26
CN200810128651.3A CN101547260B (en) 2008-03-26 2008-06-18 Method and device for realizing customization of ring back tone service
CN200810128651.3 2008-06-18

Publications (1)

Publication Number Publication Date
WO2009117916A1 true WO2009117916A1 (en) 2009-10-01

Family

ID=41112947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/070700 WO2009117916A1 (en) 2008-03-26 2009-03-09 Method and device for enabling customized alerting tones service

Country Status (2)

Country Link
CN (1) CN101547260B (en)
WO (1) WO2009117916A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013086703A1 (en) * 2011-12-14 2013-06-20 Mediatek Singapore Pte. Ltd. Method for controlling portable apparatus used in telecommunication network, and associated portable apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006211618A (en) * 2005-01-31 2006-08-10 Cell:Kk Ringback tone customization system, ringback tone customization method and ringback tone customization program
CN1825871A (en) * 2005-02-21 2006-08-30 Ut斯达康通讯有限公司 Method and system for implementing user configurated ring back tone service
CN1980287A (en) * 2005-12-08 2007-06-13 北京三星通信技术研究有限公司 Method for multi-media limiting bussiness in IMS field
CN101141700A (en) * 2007-10-18 2008-03-12 中兴通讯股份有限公司 Multimedia color bell service implementing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006211618A (en) * 2005-01-31 2006-08-10 Cell:Kk Ringback tone customization system, ringback tone customization method and ringback tone customization program
CN1825871A (en) * 2005-02-21 2006-08-30 Ut斯达康通讯有限公司 Method and system for implementing user configurated ring back tone service
CN1980287A (en) * 2005-12-08 2007-06-13 北京三星通信技术研究有限公司 Method for multi-media limiting bussiness in IMS field
CN101141700A (en) * 2007-10-18 2008-03-12 中兴通讯股份有限公司 Multimedia color bell service implementing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013086703A1 (en) * 2011-12-14 2013-06-20 Mediatek Singapore Pte. Ltd. Method for controlling portable apparatus used in telecommunication network, and associated portable apparatus

Also Published As

Publication number Publication date
CN101547260A (en) 2009-09-30
CN101547260B (en) 2011-11-23

Similar Documents

Publication Publication Date Title
US8717876B2 (en) Providing packet-based multimedia services via a circuit bearer
EP1931102B1 (en) Content Processing of a Session Initiation Protocol Message
DK1673908T3 (en) SYSTEM, APPARATUS AND PROCEDURE FOR ESTABLISHING CIRCUIT-CONNECTED COMMUNICATION USING A PACKAGE-CONNECTED NETWORK SIGNAL
US8102839B2 (en) System, apparatus, and method for establishing circuit-switched communications via packet-switched network signaling
JP4567359B2 (en) Rapid network SIP / SDP procedures for meeting management in response to end-user requirements by optimizing network resources
WO2009049531A1 (en) A method, a multimedia network gateway control device and an application server for implementing intercommunication of color ring back tone
US20110142222A1 (en) Method, apparatus and system for playing multimedia ring back tones
KR20110050439A (en) Method and system for selective call forwarding based on media attributes in telecommunication network
EP1976253A1 (en) The method, system and application server to avoid the cross-talk of color ringing back tone
JP2010515311A (en) Method, terminal and network device for changing the state of a packet switched domain
US20150222753A1 (en) Method for Handling a Call from a Calling Subscriber Towards a Called Subscriber
US20150334241A1 (en) Real-Time Monitoring/Interrupting of Voicemail Message Recording
JP5551786B2 (en) Method, server and terminal device for playing multimedia ringer during conversation
EP2587777A1 (en) Method and system for implementing color ring back tone and multimedia ring alert tone service.
CN101374175B (en) Admission method and system for audio/video conference of IMS/NGN network
JP2012105210A (en) Core network and communications system
JP2007201900A (en) Session control method, communication system, communication controller, and connection instruction device
US7620167B2 (en) Apparatus to override the redirect or reject feature at an SIP end point
WO2009086758A1 (en) Method for realizing online color ringback tone and multimedia ringback tone service
US7822838B2 (en) System, method, and network elements for providing a service in a communication network
KR100969458B1 (en) System and its method for multimedia ring back service using session initiation protocol
JP2011526441A (en) Method and network unit for realizing customized video services in an IMS network
WO2009124512A1 (en) Implement method for controlling playback of early media
CN103141068B (en) Subscriber's registrar is discharged from signaling paths based on service in internet protocol communication network
WO2009117916A1 (en) Method and device for enabling customized alerting tones service

Legal Events

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

Ref document number: 09725754

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09725754

Country of ref document: EP

Kind code of ref document: A1