Search

CN-122028217-A - Session processing method, apparatus, electronic device and computer program product

CN122028217ACN 122028217 ACN122028217 ACN 122028217ACN-122028217-A

Abstract

The present disclosure relates to the field of wireless communications technologies, and in particular, provides a session processing method, apparatus, electronic device, and computer program product. The method comprises the steps of receiving a response of a first session modification request, wherein the response of the first session modification request comprises a first session description protocol response SDP ANSWER, the first session description protocol response comprises a media description of an IMS data channel, and initiating a second session modification request after determining that media parameters which are not allowed by a network exist in the media description of the IMS data channel, wherein the second session modification request comprises a first session description protocol offer SDP offer, and the first session description protocol offer comprises the media description of the IMS data channel. The present disclosure proposes a process for processing a relevant DC medium when the DC medium cannot be authorized or the bearer resource is not available, so as to avoid the above problem from influencing the user experience due to session release.

Inventors

  • JIANG YI
  • CHEN XU
  • SONG YUE
  • AN WEI

Assignees

  • 中国移动通信有限公司研究院
  • 中国移动通信集团有限公司

Dates

Publication Date
20260512
Application Date
20241111

Claims (20)

  1. 1. A method of session handling, applied to a first network function of an IMS network, the method comprising: Receiving a response to the first session modification request, wherein the response to the first session modification request includes a first session description protocol reply SDP ANSWER, the first session description protocol reply including a media description of the IMS data channel; And after determining that the media description of the IMS data channel has media parameters which are not allowed by the network, initiating a second session modification request, wherein the second session modification request comprises a first session description protocol proposal SDP offer, and the first session description protocol proposal comprises the media description of the IMS data channel.
  2. 2. The session processing method according to claim 1, wherein the session modification request is a re-INVITE request of a session initiation protocol SIP.
  3. 3. The session processing method of claim 1, wherein the response of the first session modification request is 200OK of SIP.
  4. 4. The session processing method according to claim 1, wherein the method further comprises: Based on the response received from the Rx interface or the response received from the N5 interface or a local policy or a pre-configured policy, it is determined that there are network-disallowed media parameters in the media description of the IMS data channel.
  5. 5. The session processing method according to claim 1 or 4, wherein the method further comprises: After receiving the response of the first session modification request, sending a first message from an Rx interface or an N5 interface to a second network function, wherein the first message is used for providing a media description of the IMS data channel; Receiving a response of the first message sent by the second network function from an Rx interface or an N5 interface; And determining that media parameters which are not allowed by the network exist in the media description of the IMS data channel according to the response of the first message.
  6. 6. The session processing method according to claim 1, wherein the method further comprises: A response to the received first session modification request is processed.
  7. 7. The session processing method according to claim 1 or 6, wherein processing the received response to the first session modification request comprises: The first session description protocol response in the received response of the first session modification request is modified to indicate media which refuses or does not support the IMS data channel; Or alternatively, the first and second heat exchangers may be, Replacing the received response of the first session modification request with a failure response to the first session modification request; the failure response is sent to the first terminal that initiated the first session modification request message.
  8. 8. The session processing method of claim 7 wherein the first session description protocol reply in the received response to the first session modification request is modified to indicate rejection or non-support of media for the IMS data path by setting a port number in a media description for the IMS data path to 0.
  9. 9. The session handling method according to claim 7, wherein the failure response is used to indicate to the first terminal initiating the first session modification request message that there are network-disallowed ones of the media parameters of the IMS data channel.
  10. 10. The session handling method of claim 1, wherein the first session description protocol proposal is for indicating media to close the IMS data channel or to delete the IMS data channel.
  11. 11. The session handling method according to claim 10, wherein a port number in a media description of the IMS data channel in the first session description protocol proposal is set to 0.
  12. 12. The session processing method according to claim 1 or 7, characterized in that the method further comprises: And under the condition that the first terminal initiating the first session modification request is sent with a response of the modified first session modification request, after receiving an acknowledgement message ACK of the response of the first terminal to the modified first session modification request, initiating the second session modification request.
  13. 13. The session processing method according to claim 1 or 12, wherein the initiating the second session modification request is: and sending the initiated second session modification request to a second terminal, wherein the second terminal is a terminal sending the response of the first session modification request.
  14. 14. A session handling method according to claim 1 or 12, wherein the first network function is a P-CSCF of an IMS network.
  15. 15. A method of session handling, applied to a first network function of an IMS network, the method comprising: after receiving the indication from the second network function or the first interface, a third session modification request is initiated, wherein the third session modification request comprises a second session description protocol offer SDP offer.
  16. 16. The session processing method according to claim 15, wherein, The first network function is a P-CSCF of an IMS network, and the second network function is a PCF or PCRF.
  17. 17. The session processing method of claim 15, wherein the first interface is an Rx interface or an N5 interface.
  18. 18. The session processing method of claim 15, wherein the indication is used to indicate that radio or bearer resources corresponding to media negotiated in an IMS session are not available.
  19. 19. The session processing method of claim 18, wherein the media is IMS data channel media or audio media or video media.
  20. 20. A session handling method according to claim 15 or 18, wherein the method further comprises: and after receiving the indication, if the SIP message deleting the media is not received within a preset time, the third session modification request message is initiated.

Description

Session processing method, apparatus, electronic device and computer program product Technical Field The present disclosure relates to the field of wireless communications technologies, and in particular, to a session processing method, apparatus, electronic device, and computer program product. Background In terms of IMS (IP Multimedia Subsystem ) network evolution and service enhancement, in order to improve the richness and flexibility of multimedia services, a new media type IMSDC (DATA CHANNEL ) independent of audio and video media is defined in MMTEL (Multimedia Telephony, multimedia telephone call) established by a user, and IMSDC is introduced to enhance IMS call capability, and the establishment and closure process is implemented through IMS signaling and media negotiation along with IMS session control flow (session establishment, modification and release). PCC (Policy AND CHARGING Control ) is a network resource and charging Policy Control architecture, and combines market Policy, network capability and user status, and through differentiated service quality assurance, differentiated charging and flow Control, effective use of network resources is realized, and flow operation income is improved. For the situation that PCC authorization fails in the DC establishment process (for example, media parameters of the current session requested by the terminal equipment are not matched with a service policy of a network side) or DC related bearer resources are not available, no DC processing flow suitable for the session modification flow exists at present. Disclosure of Invention The present disclosure has been made in view of the above-described problems. The present disclosure provides a session processing method, apparatus, electronic device, and computer program product. According to one aspect of the present disclosure, a session processing method is provided, applied to a first network function of an IMS network, the method comprising receiving a response of a first session modification request, wherein the response of the first session modification request comprises a first session description protocol reply SDP ANSWER, the first session description protocol reply comprises a media description of an IMS data channel, and initiating a second session modification request after determining that there are media parameters in the media description of the IMS data channel that are not allowed by the network, wherein the second session modification request comprises a first session description protocol offer SDP offer, and the first session description protocol offer comprises the media description of the IMS data channel. Further, a session processing method according to an aspect of the present disclosure, wherein the session modification request is a re-INVITE request of a session initiation protocol SIP. Further, according to a session processing method of one aspect of the present disclosure, wherein the response of the first session modification request is 200OK of SIP. Furthermore, a session handling method according to an aspect of the present disclosure, wherein the method further comprises determining that there are network-disallowed media parameters in the media description of the IMS data channel based on the response received from the Rx interface or the response received from the N5 interface or the local policy or the pre-configured policy. Furthermore, the session processing method according to one aspect of the present disclosure, wherein the method further comprises transmitting a first message from the Rx interface or the N5 interface to the second network function after receiving the response of the first session modification request, wherein the first message is used for providing the media description of the IMS data channel, receiving the response of the first message transmitted by the second network function from the Rx interface or the N5 interface, and determining that the media description of the IMS data channel has media parameters which are not allowed by the network according to the response of the first message. Further, a session processing method according to an aspect of the present disclosure, wherein the method further comprises processing a response to the received first session modification request. Further, a session processing method according to an aspect of the present disclosure, wherein processing the received response to the first session modification request includes modifying a first session description protocol reply in the received response to the first session modification request, indicating that media of the IMS data channel is rejected or not supported, sending the modified response to the first terminal that initiated the first session modification request, or replacing the received response to the first session modification request with a failure response to the first session modification request, and sending the failure response to the first term