Ims session handover method, apparatus, and communication device

CN122845563APending Publication Date: 2026-09-29CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510372948.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2026-09-29

AI Technical Summary

Technical Problem

然而,传统的会话模式无法满足IMS(IP Multimedia Subsystem,IP多媒体子系统)通信业务场景的需求

Benefits of technology

[0086]上述IMS会话切换方法、装置及通信设备,第一终端当需要将IMS会话从语音/视频通信切换至数字人通信时,可以发送针对IMS会话的SIP重新邀请,SIP重新邀请携带SDP提议;其中,SDP提议至少包括IMS会话要切换的数字人通信的应用数据通道媒体描述信息;第一终端可以接收第二终端针对SIP重新邀请的SIP响应消息,进行通信处理。本申请能够实现基于IMS数据通道的数字人通信与普通的IMS语音/视频通信之间切换,达到IMS会话模式切换,完善IMS通信业务场景的目的。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122845563A_ABST
    Figure CN122845563A_ABST
Patent Text Reader

Abstract

This application relates to an IMS session switching method, apparatus, and communication device. The method includes: when it is necessary to switch an IMS session from voice / video communication to digital human communication, sending a SIP re-invitation for the IMS session, the SIP re-invitation carrying an SDP proposal; wherein the SDP proposal includes at least the application data channel media description information of the digital human communication to which the IMS session is to be switched; receiving a SIP response message from a second terminal in response to the SIP re-invitation, and performing communication processing. This application can realize the switching between digital human communication based on the IMS data channel and ordinary IMS voice / video communication, achieving IMS session mode switching and improving IMS communication service scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to an IMS session handover method, apparatus and communication equipment. Background Technology

[0002] Currently, 5G (5th Generation Mobile Communication Technology) new calls are based on VoNR (Voice over New Radio) audio and video channels, and incorporate a new IMS data channel (IMS Data Channel, or IMS DC for short). Building upon high-definition audio and video calls, IMS DC can simultaneously transmit any multimedia information, thus upgrading real-time calls to real-time interactive / immersive calls. However, traditional session modes cannot meet the needs of IMS (IP Multimedia Subsystem) communication service scenarios. Summary of the Invention

[0003] This application provides an IMS session switching method, apparatus, and communication device, which can improve IMS communication service scenarios.

[0004] Firstly, this application provides an IMS session handover method, applied to a first terminal, the method comprising:

[0005] When it is necessary to switch an IMS session from voice / video communication to digital human communication, a SIP re-invitation for the IMS session is sent, and the SIP re-invitation carries an SDP proposal; wherein, the SDP proposal includes at least the application data channel media description information of the digital human communication to which the IMS session is to be switched.

[0006] Receive the SIP response message from the second terminal in response to the SIP re-invitation and perform communication processing.

[0007] In one embodiment, receiving a SIP response message from a second terminal in response to a SIP re-invitation and performing communication processing includes:

[0008] If the SDP response carried in the SIP response message includes the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero, the IMS session will be switched from voice / video communication to digital human communication.

[0009] In one embodiment, switching an IMS session from voice / video communication to digital human communication includes:

[0010] Stop transmitting the video stream of the IMS session; the video stream is the real video captured by the camera of the first terminal.

[0011] Send digital human media streams, or receive digital human media streams from a second terminal.

[0012] In one embodiment, receiving a SIP response message from a second terminal in response to a SIP re-invitation and performing communication processing includes:

[0013] If the SDP response carried in the SIP response message does not include the application data channel media description information for digital human communication, or if the port number in the application data channel media description information for digital human communication is zero, the first terminal and the second terminal continue to conduct voice / video communication in the IMS session.

[0014] Secondly, this application provides an IMS session handover method, applied to a first terminal, the method comprising:

[0015] When it is necessary to switch an IMS session from digital human communication to voice / video communication, a SIP re-invitation for the IMS session is sent. The SIP re-invitation includes an SDP proposal. The SDP proposal includes media description information for the voice / video communication to be switched to and media description information for the application data channel of digital human communication. The port number in the application data channel media description information of digital human communication is zero.

[0016] Receive the SIP response message from the second terminal in response to the SIP re-invitation and perform communication processing.

[0017] In one embodiment, the SIP response message includes media description information for the voice / video communication;

[0018] Receive the SIP response message from the second terminal in response to the SIP re-invitation, and perform communication processing, including:

[0019] Stop transmitting digital human media streams for IMS sessions;

[0020] Send the real video stream from the first terminal, or receive the real video stream from the second terminal.

[0021] Thirdly, this application provides an IMS session handover method applied to a second terminal, the method comprising:

[0022] Receive the first terminal's SIP re-invitation for the IMS session;

[0023] Communication is processed based on the SDP proposal included in the SIP re-invitation.

[0024] In one embodiment, communication processing is performed based on the SDP proposal included in the SIP re-invitation, including:

[0025] When the SDP proposal includes the application data channel media description information for digital human communication, if the switch from voice / video communication to digital human communication is accepted, a SIP response message for the SIP re-invitation is sent. The SIP response message carries the SDP response, which includes at least the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero.

[0026] In one embodiment, communication processing is performed based on the SDP proposal included in the SIP re-invitation, including:

[0027] When the SDP proposal includes the application data channel media description information for digital human communication, if the switch from voice / video communication to digital human communication is refused, a SIP response message for the SIP re-invitation is sent. The SIP response message carries the SDP response, which includes at least the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is zero.

[0028] In one embodiment, communication processing is performed based on the SDP proposal included in the SIP re-invitation, including:

[0029] When the SDP proposal does not include media description information for the application data channel of digital human communication, a SIP response message is sent in response to the SIP re-invitation. The SIP response message carries an SDP reply, which includes media description information for voice / video communication.

[0030] Fourthly, this application provides an IMS session handover method applied to a second terminal, the method comprising:

[0031] The system receives a SIP re-invitation from the first terminal for the IMS session. The SIP re-invitation carries an SDP proposal, which includes media description information for the voice / video communication to be switched and media description information for the application data channel of the digital human communication. The port number in the application data channel media description information of the digital human communication is zero.

[0032] Send a SIP response message in response to the SIP re-invitation. The SIP response message includes an SDP response, which includes media description information for the voice / video communication.

[0033] In one embodiment, the SIP response message is an 18x message or a 2xx message.

[0034] Fifthly, this application provides an IMS session switching method, applied to an IMS application server network element, the method comprising:

[0035] Receive the SIP re-invitation from the first terminal for the IMS session, modify the SDP proposal carried in the SIP re-invitation, and forward the SIP re-invitation with the modified SDP proposal.

[0036] In one embodiment, the method further includes, before modifying the SIP re-invitation carrying the SDP proposal:

[0037] If the SDP proposal includes application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero, determine whether the first terminal or the second terminal has IMS data channel permissions based on local policies or subscription data.

[0038] In one embodiment, modifying the SDP proposal carried in the SIP re-invitation includes:

[0039] If it is determined that the first terminal or the second terminal does not have IMS data channel permissions, then the application data channel media description information for digital human communication in the SDP proposal is deleted.

[0040] In one embodiment, the method further includes:

[0041] If it is determined that the first terminal or the second terminal has IMS data channel permissions, the data channel signaling function DCSF network element is notified of the media change event of the IMS session, and the data channel media function MF network element is instructed to determine the allocation of digital human communication data channel media resources.

[0042] In one embodiment, the method further includes, before modifying the SIP re-invitation carrying the SDP proposal:

[0043] If the SDP proposal includes application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is zero, notify the data channel signaling function DCSF network element of the media change event of the IMS session, and instruct the data channel media function MF network element to release the application data channel media resources for digital human communication.

[0044] Sixthly, this application provides an IMS session switching method, applied to an IMS application server network element, the method comprising:

[0045] Receive the SIP response message from the second terminal in response to the SIP re-invitation, modify the SDP response in the SIP response message, and forward the SIP response message after modifying the SDP response.

[0046] In one embodiment, before modifying the SDP response in the SIP response message, the method further includes:

[0047] If the SDP response includes application data channel media description information for digital human communication, and the port number in the application data channel media information for digital human communication is non-zero, notify the data channel signaling function DCSF network element of the successful media change event for the IMS session, and instruct the data channel media function MF network element to update the application data channel media resources for digital human communication.

[0048] In one embodiment, before modifying the SDP response in the SIP response message, the method further includes:

[0049] If the SDP response includes application data channel media description information for digital human communication, and the port number in the application data channel media information for digital human communication is zero, notify the data channel signaling function DCSF network element of the media change failure event of the IMS session, and instruct the data channel media function MF network element to release the application data channel media resources for digital human communication.

[0050] In one embodiment, before modifying the SDP response in the SIP response message, the method further includes:

[0051] If the SDP response does not include the application data channel media description information for digital human communication, and has instructed the data channel media function MF network element to determine the allocation of digital human communication data channel media resources, notify the data channel signaling function DCSF network element of the media change failure event of the IMS session, and instruct the data channel media function MF network element to release the application data channel media resources for digital human communication.

[0052] Seventhly, this application provides an IMS session switching device applied to a first terminal, the device comprising:

[0053] The message sending module is used to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from voice / video communication to digital human communication. The SIP re-invitation carries an SDP proposal. The SDP proposal includes at least the application data channel media description information of the digital human communication to which the IMS session is to be switched.

[0054] The message processing module is used to receive the SIP response message from the second terminal in response to the SIP re-invitation and to perform communication processing.

[0055] Eighthly, this application provides an IMS session switching device for use in a first terminal, the device comprising:

[0056] The sending module is used to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from digital human communication to voice / video communication. The SIP re-invitation includes an SDP proposal. The SDP proposal includes media description information of the voice / video communication to be switched and media description information of the application data channel of digital human communication, and the port number in the application data channel media description information of digital human communication is zero.

[0057] The processing module is used to receive the SIP response message from the second terminal in response to the SIP re-invitation and to perform communication processing.

[0058] Ninthly, this application provides an IMS session switching device for use in a second terminal, the device comprising:

[0059] The message receiving module is used to receive the SIP re-invitation from the first terminal for the IMS session;

[0060] The proposal processing module is used to perform communication processing based on the SDP proposals included in the SIP re-invitation.

[0061] In a tenth aspect, this application provides an IMS session switching device for use in a second terminal, the device comprising:

[0062] The proposal receiving module is used to receive the SIP re-invitation from the first terminal for the IMS session. The SIP re-invitation carries an SDP proposal. The SDP proposal includes media description information of the voice / video communication to be switched and media description information of the application data channel of the digital human communication. The port number in the application data channel media description information of the digital human communication is zero.

[0063] The response sending module is used to send a SIP response message in response to the SIP re-invitation. The SIP response message contains an SDP response, which includes media description information for voice / video communication.

[0064] Eleventhly, this application provides an IMS session switching device, applied to an IMS application server network element, the device comprising:

[0065] The forwarding module is modified to receive the SIP re-invitation from the first terminal for the IMS session, modify the SDP proposal carried in the SIP re-invitation, and forward the SIP re-invitation after modifying the SDP proposal.

[0066] In a twelfth aspect, this application provides an IMS session switching device applied to an IMS application server network element, the device comprising:

[0067] The receiving and modification module is used to receive the SIP response message from the second terminal in response to the SIP re-invitation, modify the SDP response in the SIP response message, and forward the SIP response message after modifying the SDP response.

[0068] In a thirteenth aspect, this application provides a communication device, including: a transmitter, a processor, and a receiver;

[0069] The processor is configured to control the transmitter to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from voice / video communication to digital human communication. The SIP re-invitation carries an SDP proposal. The SDP proposal includes at least the application data channel media description information of the digital human communication to which the IMS session is to be switched.

[0070] The processor is also used to control the receiver to receive the SIP response message from the second terminal in response to the SIP re-invitation and to perform communication processing.

[0071] In a fourteenth aspect, this application provides a communication device, including: a transmitter, a processor, and a receiver;

[0072] The processor is configured to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from digital human communication to voice / video communication. The SIP re-invitation includes an SDP proposal. The SDP proposal includes media description information of the voice / video communication to be switched and media description information of the application data channel of digital human communication, and the port number in the application data channel media description information of digital human communication is zero.

[0073] The processor is also used to control the receiver to receive the SIP response message from the second terminal in response to the SIP re-invitation and to perform communication processing.

[0074] In a fifteenth aspect, this application provides a communication device, including: a processor and a receiver;

[0075] The receiver is used to receive the SIP re-invitation from the first terminal for the IMS session;

[0076] The processor is used for communication processing based on the SDP proposals included in the SIP re-invitation.

[0077] In a sixteenth aspect, this application provides a communication device, including: a transmitter and a receiver;

[0078] The receiver is used to receive the SIP re-invitation from the first terminal for the IMS session. The SIP re-invitation carries an SDP proposal, which includes media description information for the voice / video communication to be switched and media description information for the application data channel of the digital human communication, wherein the port number in the application data channel media description information of the digital human communication is zero.

[0079] The transmitter is used to send a SIP response message in response to a SIP re-invitation. The SIP response message contains an SDP response, which includes media description information for the voice / video communication.

[0080] In a seventeenth aspect, this application provides a communication device, including: a receiver, a transmitter, and a processor;

[0081] The processor is used to control the receiver to receive the SIP re-invitation for the IMS session from the first terminal, modify the SDP proposal carried in the SIP re-invitation, and control the transmitter to forward the SIP re-invitation after modifying the SDP proposal.

[0082] In an eighteenth aspect, this application provides a communication device, including: a receiver, a transmitter, and a processor;

[0083] The processor is used to control the receiver to receive the SIP response message of the second terminal in response to the SIP re-invitation, modify the SDP response in the SIP response message, and control the transmitter to forward the SIP response message after the SDP response is modified.

[0084] In a nineteenth aspect, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.

[0085] In a twentieth aspect, this application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described above.

[0086] The aforementioned IMS session switching method, apparatus, and communication equipment allow a first terminal to send a SIP re-invitation for the IMS session when it needs to switch from voice / video communication to digital human communication. The SIP re-invitation carries an SDP proposal, which includes at least the application data channel media description information for the digital human communication session to be switched. The first terminal can receive a SIP response message from the second terminal in response to the SIP re-invitation and perform communication processing. This application enables switching between digital human communication based on the IMS data channel and ordinary IMS voice / video communication, achieving IMS session mode switching and improving IMS communication service scenarios. Attached Figure Description

[0087] Figure 1 This is an application environment diagram of an IMS session switching method in one embodiment;

[0088] Figure 2 This is a flowchart illustrating an IMS session switching method in one embodiment;

[0089] Figure 3 This is a schematic diagram illustrating the process of switching an IMS session to digital human communication in one embodiment;

[0090] Figure 4 This is a flowchart illustrating the IMS session switching method in another embodiment;

[0091] Figure 5 This is a schematic diagram illustrating the communication processing of the second terminal in one embodiment;

[0092] Figure 6 This is a schematic diagram illustrating the process of switching an IMS session to voice / video communication in one embodiment;

[0093] Figure 7 This is a schematic diagram illustrating the specific process of switching an IMS session to digital human communication in one embodiment.

[0094] Figure 8 This is a schematic diagram illustrating the specific process of a switching failure in one embodiment;

[0095] Figure 9 This is a schematic diagram illustrating the specific process of a switching failure in another embodiment;

[0096] Figure 10 This is a schematic diagram illustrating the specific process of a switching failure in yet another embodiment;

[0097] Figure 11 This is a schematic diagram illustrating the specific process of switching an IMS session to voice / video communication in one embodiment.

[0098] Figure 12 This is a structural block diagram of an IMS session switching device in one embodiment;

[0099] Figure 13 This is a structural block diagram of an IMS session switching device in another embodiment;

[0100] Figure 14 A structural block diagram of an IMS session switching device;

[0101] Figure 15 Another structural block diagram of the IMS session switching device;

[0102] Figure 16 This is an internal structure diagram of a communication device in one embodiment;

[0103] Figure 17 This is a diagram of the internal structure of a communication device in another embodiment. Detailed Implementation

[0104] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0105] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, the first object can be one or more. Furthermore, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Additionally, the character " / " generally indicates that the preceding and following related objects are in an "or" relationship. In the description of embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0106] It is worth noting that the terms "system" and "network" in the embodiments of this application are often used interchangeably, and the described technologies can be used not only in the systems and radio technologies mentioned above, but also in other systems and radio technologies. However, the following description describes a New Radio (NR) system for illustrative purposes, and the term NR is used in most of the following description, but these technologies can also be applied to applications other than NR systems, such as 6th Generation (6G) communication systems.

[0107] The IMS session switching method provided in this application embodiment can be applied to, for example, Figure 1 The application environment shown is illustrated. The network system used to implement real-time communication services between terminals may include terminals and network elements 110. The terminals can communicate with the network elements, and include a first terminal 120 and a second terminal 130. For example, the terminals may be mobile terminals with IMS DC new calling and digital human communication functions.

[0108] Taking a wireless terminal as an example, a wireless terminal can be a device that provides voice and / or other service data connectivity to a user, a handheld device with wireless connectivity, or other processing devices connected to a wireless modem. The wireless terminal can communicate with one or more core networks via a Radio Access Network (RAN). The wireless terminal can be a mobile terminal, such as a mobile phone (or "cellular" phone) or a computer with a mobile terminal, for example, a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device. These exchange voice and / or data with the radio access network. A wireless terminal can also be referred to as a system, subscriber unit, subscriber station, mobile station, mobile, remote station, remote terminal, access terminal, user terminal, user agent, user device, or user equipment; no specific terminology is used here.

[0109] The terminals may include terminal A (UEA) and terminal B (UEB), and UEA and UEB can establish a normal IMS voice / video session. For example, as shown... Figure 1 As shown, the first terminal can be terminal A, and the second terminal can be terminal B. Optionally, terminal A can be the calling terminal, i.e., the end that initiates the IMS session handover (the calling network side); terminal B can be the called terminal, i.e., the called end (the called network side). It can be understood that the calling terminal and the called terminal can be in the same core network area or in different core network areas.

[0110] A network element can be a core network (CN), and may include, but is not limited to, at least one of the following: core network equipment, core network nodes, core network functions, Call Service Call Session Control Function (S-CSCF), Data Channel Signaling Function (DCSF), Media Function (MF), and IP Multimedia Subsystem-Application Server (IMS-AS). The IMS-AS can be referred to as an IMS application server network element. For example, an IMS application server network element may include IMS-AS-A and IMS-AS-B, where IMS-AS-A refers to the IMS-AS on the UEA IMS network side (i.e., the IMS-AS to which terminal A belongs, such as the calling side's IMS application server network element); and IMS-AS-B refers to the IMS-AS on the UEB IMS network side (i.e., the IMS-AS to which terminal B belongs, such as the called side's IMS application server network element). It should be noted that the above network system structure is for illustrative purposes only and is not intended to be limiting.

[0111] 3GPP (3rd Generation Partnership Project) introduced the IMS data channel in Release 16 and formally defined the NG-RTC (Next Generation Real-Time Communication) architecture in Release 18, laying the protocol and standard foundation for 5G communication. Compared to traditional voice and video calls, 5G NG-RTC offers intelligent high-definition and multi-dimensional interactive calls, comprehensively upgrading the user's communication experience. Typical application scenarios include: intelligent customer service, caller ID cards, fun calls, content sharing, and screen sharing.

[0112] Currently, next-generation real-time communication technology based on IMS networks is a key focus of 3GPP Release 19 research. One of the research directions of this version is to realize digital human communication functions based on the data channel (DC), such as digital human avatar download, digital human communication capability negotiation, and digital human media rendering. During a call, users can display their digital human avatar to the other user in real time, achieving a visual, real-time interactive, and immersive call experience.

[0113] However, traditional technologies cannot meet the needs of IMS communication service scenarios. In addition to solving basic technologies such as digital human image downloading and rendering, digital human communication also needs to realize the switching between digital human communication and ordinary IMS voice / video communication, such as switching back to ordinary IMS voice / video communication from digital human communication, or switching back to digital human communication from ordinary IMS voice / video communication.

[0114] Based on the aforementioned traditional technologies, this application provides an IMS session switching method to achieve switching between digital human communication based on the IMS data channel and ordinary IMS voice / video communication, thereby achieving IMS session mode switching and improving IMS communication service scenarios. Optionally, this application implements the above switching through IMS-AS control, for example, through SIP (Session Initialization Protocol) message interaction between the terminal and the IMS-AS network element. It is understood that this application is applicable to wireless communication and terminals, and can be applied to real-time communication application scenarios, such as next-generation real-time communication application scenarios based on the data channel of IMS. SIP is a communication protocol used to establish, modify, and terminate multimedia sessions, such as voice and video calls, over IP networks.

[0115] It should be noted that the beneficial effects or technical problems solved by the embodiments of this application are not limited to this one, but may also be other implicit or related problems. For details, please refer to the description of the embodiments below.

[0116] Before introducing the specific embodiments of this application, the technical terms involved in this application will be explained:

[0117] Data Channel: A new data channel is added to the IMS (IP Multimedia Subsystem) network to carry data information such as text, images, doodles, and menus between the two parties in a call. Data channels can include two types: one is a bootstrapping data channel established between the terminal and the network, used for DC application downloads, DC application list updates, and DC application version updates; the other is an application data channel established between terminals or between a terminal and the network, used for the transmission of data or messages between the DC applications at both ends.

[0118] Avatar Communication: An enhanced call application based on IMS DC, in which users display their virtual digital avatar in the network world on the other party's terminal through the DC channel during a call. It involves a variety of technologies such as initial digital avatar download, terminal capture of user body movements (such as gestures and lips), and initial digital avatar rendering.

[0119] IMS-AS: IP Multimedia System Application Server (also known as IMS Application Server), is a multimedia telephony service server based on IMS. It is responsible for the caller's service processing function and is the core node of IMS service.

[0120] DCSF: Data Channel Signaling Function, provides control over the DataChannel and exposes it to third-party application servers.

[0121] MF: Media Function, a media network element that provides Data Channel resource management and AR (Augmented Reality) rendering capabilities to the outside world.

[0122] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0123] In one exemplary embodiment, such as Figure 2 As shown, an IMS session switching method is provided, which is applied to... Figure 1 Taking the first terminal as an example, the explanation includes the following steps:

[0124] Step 202: When it is necessary to switch the IMS session from voice / video communication to digital human communication, a SIP re-invitation for the IMS session is sent, and the SIP re-invitation carries an SDP proposal; wherein, the SDP proposal includes at least the application data channel media description information of the digital human communication to which the IMS session is to be switched.

[0125] In this embodiment, the terminal switching the IMS session from voice / video communication to digital human communication can refer to a scenario where it switches from the normal IMS voice / video communication mode to the digital human communication mode. During an IMS voice / video call, if the terminal supports digital human communication and is configured to allow its use, the IMS session can be switched from voice / video communication to digital human communication, or vice versa (i.e., a scenario where it switches from the digital human communication mode to the normal IMS voice / video communication mode).

[0126] Specifically, during an IMS voice / video call, if the first terminal needs to switch the IMS session from voice / video communication to digital human communication, it can send a SIP re-invitation for the IMS session. The SIP re-invitation can be used to transmit the corresponding SDP (Session Description Protocol). In this embodiment, the SIP re-invitation carries an SDP offer; for example, the SIP re-invitation may include a SIP re-Invite message. It should be noted that the first terminal supports digital human communication and is configured to allow its use.

[0127] Regarding the SDP proposal carried in the SIP re-invitation, it can also be that the SIP re-invitation includes an SDP proposal; in this embodiment, the SDP proposal may include the application data channel media description information for digital human communication to be switched in the IMS session. The application data channel media description information for digital human communication may refer to the data channel media description information required for digital human communication. Based on this embodiment, when a terminal needs to switch from IMS voice / video call mode to digital human communication mode, it can send a SIP re-Invite message. This SIP re-Invite message includes an SDP proposal, which includes the data channel media description information (SDP offer for DC) required for digital human communication.

[0128] In some embodiments, the SDP proposal may further include audio / video offer information for voice / video communication. In one possible implementation, the SDP proposal in this application embodiment includes at least audio / video offer information for voice / video communication.

[0129] The SDP proposal should include at least the application data channel media description information for digital human communications to be switched during the IMS session. In one possible implementation, the SIP re-invitation includes an SDP offer, which includes media description information for voice / video communications as well as application data channel media description information for digital human communications. The application data channel media description information for digital human communications can be understood as newly added SDP offer information.

[0130] Optionally, the media description information for voice / video communication may refer to the voice / video media description information of an established IMS session; for example, the application data channel media description information for digital human communication may include the digital human communication guidance data channel media description information, and / or the digital human communication application channel media description information. This application embodiment does not limit this aspect.

[0131] In practical applications, based on the embodiments of this application, when it is necessary to switch an IMS session from voice / video communication to digital human communication, the first terminal can send a SIP re-invitation carrying an SDP proposal. The IMS application server network element corresponding to the first terminal can receive the SIP re-invitation and send it to the IMS application server network element corresponding to the second terminal, which then sends it to the second terminal. This application enables SIP message interaction between the terminal and the IMS-AS network element.

[0132] Step 204: Receive the SIP response message from the second terminal in response to the SIP re-invitation and perform communication processing.

[0133] Specifically, when the first terminal receives the SIP response message from the second terminal in response to the SIP re-invitation, it can perform communication processing, such as switching the IMS session from voice / video communication to digital human communication.

[0134] For example, the SIP response message may include application data channel media description information for digital human communication, or media description information for voice / video communication, to indicate whether the first terminal can switch the IMS session from voice / video communication to digital human communication. Optionally, the SIP response message may be, but is not limited to, 18X or 2XX messages, and this application is not limited thereto.

[0135] In practical applications, based on the embodiments of this application, when a second terminal receives a SIP re-invitation, it can send a SIP response message for the SIP re-invitation. The IMS application server network element corresponding to the second terminal receives the SIP response message and then sends the SIP response message to the IMS application server network element corresponding to the first terminal. The IMS application server network element corresponding to the first terminal then sends the SIP response message to the first terminal. This application enables SIP message interaction between the terminal and the IMS-AS network element.

[0136] In the above embodiments, the present application realizes the switching between ordinary IMS voice / video mode and digital human communication mode based on IMS data channel through SIP message interaction between terminals, thus improving the IMS session service scenario solution.

[0137] In one embodiment, receiving a SIP response message from a second terminal in response to a SIP re-invitation and performing communication processing includes:

[0138] If the SDP response carried in the SIP response message includes the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero, the IMS session will be switched from voice / video communication to digital human communication.

[0139] Specifically, the second terminal can send a SIP response message in response to the SIP re-invitation, which may carry an SDP answer. For example, the SDP answer may include application data channel media description information for digital human communication (SDP answer for DC). Optionally, the SDP answer may at least include audio / video communication media description information (audio / video answer).

[0140] Regarding communication processing by the first terminal, when the first terminal receives a SIP response message, if the SDP response carried in the SIP response message includes the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero, then it can be determined that the digital human communication application data channel is accepted. Subsequently, the first terminal can switch the IMS session from voice / video communication to digital human communication. It should be noted that if the port number in the application data channel media description information for digital human communication in the SDP response is zero, then it can be determined that the digital human communication application data channel is rejected.

[0141] The embodiments of this application effectively realize the switching between digital human communication based on IMS data channels and ordinary IMS voice / video communication, and improve the IMS session service scenario solution.

[0142] In one exemplary embodiment, such as Figure 3 As shown, switching an IMS session from voice / video communication to digital human communication includes:

[0143] Step 302: Stop transmitting the video stream of the IMS session. The video stream is the real video captured by the camera of the first terminal.

[0144] Specifically, the process by which the first terminal switches the IMS session from voice / video communication to digital human communication may include the first terminal stopping the transmission of the video stream of the IMS session. The video stream may be real video captured by the first terminal's camera.

[0145] Step 304: Send a digital human media stream or receive a digital human media stream from a second terminal.

[0146] Specifically, when the video stream of the IMS session is stopped, the first terminal can send a digital human media stream, or the first terminal can receive a digital human media stream from the second terminal, thereby switching the IMS session from voice / video communication to digital human communication.

[0147] This application embodiment, by realizing the switching between IMS voice / video communication and digital human communication based on the IMS data channel, can solve the authentication and authorization of terminal downloading digital human images, as well as related issues such as downloading digital human images, and provides a good technical foundation for the development of new call services based on the DC channel.

[0148] Furthermore, the IMS session switching from voice / video communication to digital human communication may fail (i.e., the IMS session switching to digital human communication fails). In this case, the first terminal can continue normal IMS voice / video communication. In one embodiment, receiving the SIP response message from the second terminal in response to the SIP re-invitation and performing communication processing includes:

[0149] If the SDP response carried in the SIP response message does not include the application data channel media description information for digital human communication, or if the port number in the application data channel media description information for digital human communication is zero, the first terminal and the second terminal continue to conduct voice / video communication in the IMS session.

[0150] Specifically, if the SDP response carried in the SIP response message does not include the application data channel media description information for digital human communication, it can be determined that the handover to digital human communication has failed, and the first terminal and the second terminal continue the voice / video communication of the IMS session. Here, "the SDP response does not include the application data channel media description information for digital human communication" can mean that the SDP response only includes the media description information for voice / video communication.

[0151] If the SDP response carried in the SIP response message includes the application data channel media description information for digital human communication, but the port number in the application data channel media description information for digital human communication is zero, it can be determined that the switch to digital human communication has failed, and the first terminal and the second terminal continue to conduct voice / video communication in the IMS session.

[0152] It should be noted that scenarios where switching an IMS session to digital human communication fails may include, but are not limited to: the terminal not subscribing to digital human communication (e.g., the calling terminal does not have digital human communication permissions, and / or the called terminal does not have digital human communication permissions); or the terminal not supporting or being configured not to use digital human communication (e.g., the called terminal not supporting or being configured not to use digital human communication). This application embodiment does not limit this. For example, when the terminal is not subscribing to digital human communication, the SDP response does not include the application data channel media description information for digital human communication. When the terminal does not support or is configured not to use digital human communication, the SDP response includes the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is zero.

[0153] The aforementioned IMS session switching method, through SIP message interaction between terminals, enables the switching between voice / video communication and digital human communication in IMS sessions based on the IMS data channel, thus improving the IMS session service scenario solution.

[0154] Regarding the implementation process of switching an IMS session from digital human communication to voice / video communication, in an exemplary embodiment, such as... Figure 4 As shown, an IMS session switching method is provided, which is applied to... Figure 1 Taking the first terminal as an example, the explanation includes the following steps:

[0155] Step 402: When it is necessary to switch the IMS session from digital human communication to voice / video communication, a SIP re-invitation for the IMS session is sent. The SIP re-invitation includes an SDP proposal. The SDP proposal includes media description information of the voice / video communication to be switched and media description information of the application data channel of digital human communication. The port number in the application data channel media description information of digital human communication is zero.

[0156] Specifically, during a digital human call, if the first terminal needs to switch the IMS session from digital human communication to voice / video communication, it can send a SIP re-invitation for the IMS session. The SIP re-invitation includes an SDP proposal. This implies that the first terminal supports digital human communication and is configured to allow its use.

[0157] For example, the SDP proposal includes media description information for the voice / video communication to be switched and media description information for the application data channel of the digital human communication, wherein the port number in the application data channel media description information of the digital human communication is zero. It should be noted that the port number being zero in the application data channel media description information of the digital human communication can mean that the data channel port number of the digital human communication is set to zero, indicating that the digital human communication mode is switched to the IMS voice / video call mode.

[0158] Step 404: Receive the SIP response message from the second terminal in response to the SIP re-invitation and perform communication processing.

[0159] Specifically, if the second terminal receives a SIP re-invitation containing an SDP proposal, and the port number in the application data channel media description information for digital human communication included in the SDP proposal is zero, then the second terminal can return a SIP response message to the first terminal. Upon receiving the SIP response message, the first terminal can perform communication processing, such as switching the IMS session from digital human communication to voice / video communication.

[0160] Based on the embodiments of this application, when a terminal needs to switch the digital human communication mode back to the ordinary IMS voice / video communication mode, it can send a SIP re-Invite message, in which the data channel port number of the digital human communication in the SDP offer is set to zero, indicating that the digital human communication mode is switched to the IMS voice / video call mode.

[0161] Optionally, the SIP response message may include, but is not limited to, 18X or 2XX response messages. For example, the SIP response message may be a 2XX response message, and this application is not limited thereto. It is understood that during the process of switching an IMS session from digital human communication to voice / video communication, the first terminal and the second terminal can also interact with each other via SIP messages through the corresponding IMS application server network element.

[0162] This application realizes the switching between digital human communication mode based on IMS data channel and ordinary IMS voice / video mode through SIP message interaction between terminals, thus improving the IMS session service scenario solution.

[0163] In one embodiment, the SIP response message includes media description information for voice / video communication; receiving the SIP response message from the second terminal in response to the SIP re-invitation and performing communication processing includes:

[0164] Stop transmitting digital human media streams for IMS sessions;

[0165] Send the real video stream from the first terminal, or receive the real video stream from the second terminal.

[0166] Specifically, when a SIP re-invitation containing an SDP proposal is received, and the port number in the application data channel media description information for digital human communication included in the SDP proposal is zero, the SIP response message returned by the second terminal may include media description information for voice / video communication. For example, the SIP response message may only include media description information for voice / video communication.

[0167] Upon receiving the SIP response message, the first terminal can stop transmitting the digital human media stream of the IMS session. Furthermore, the first terminal can send a real video stream, or the first terminal can receive a real video stream from the second terminal, thereby completing the switch of the IMS session from digital human communication to voice / video communication.

[0168] This application embodiment, by realizing the switching between digital human communication based on the IMS data channel and IMS voice / video communication, can solve the authentication and authorization of terminal downloading digital human images, as well as related issues such as downloading digital human images, and provides a good technical foundation for the development of new call services based on the DC channel.

[0169] Based on the IMS session handover method executed from the perspective of the first terminal described above, this application embodiment also provides an IMS session handover method executed from the perspective of the second terminal. The solution provided by this method is similar to the solution described in the IMS session handover method executed from the perspective of the first terminal. Therefore, the specific limitations of one or more IMS session handover method embodiments executed from the perspective of the second terminal provided below can be found in the limitations of the IMS session handover method executed from the perspective of the first terminal above, and will not be repeated here.

[0170] In one exemplary embodiment, such as Figure 5 As shown, an IMS session switching method is provided, which is applied to... Figure 1 Taking the second terminal as an example, the explanation includes the following steps:

[0171] Step 502: Receive the SIP re-invitation from the first terminal for the IMS session.

[0172] Specifically, when the second terminal receives a SIP re-invitation from the first terminal for the IMS session, it can determine the first terminal's current switching requirements for the IMS session based on the SIP re-invitation, such as switching the IMS session from voice / video communication to digital human communication.

[0173] Step 504: Perform communication processing based on the SDP proposal included in the SIP re-invitation.

[0174] Specifically, the second terminal can perform communication processing based on the SDP proposal included in the SIP re-invitation to determine whether to accept the first terminal's current request to switch the IMS session. For example, the second terminal can indicate acceptance of switching the IMS session from voice / video communication to digital human communication by sending a SIP response message to the SIP re-invitation. Alternatively, the second terminal can indicate rejection of switching the IMS session from voice / video communication to digital human communication by sending a SIP response message to the SIP re-invitation.

[0175] It is understood that the aforementioned SIP re-invitation transmission can be achieved through SIP message interaction between the terminal and the IMS-AS network element. Furthermore, the second terminal supports digital human communication and is configured to allow its use, or the second terminal does not support or is configured to disallow digital human communication. The second terminal may or may not have digital human communication permissions; embodiments of this application can adjust the terminal's communication processing procedure and the IMS-AS network element's execution procedure according to the above circumstances.

[0176] This application effectively realizes the switching between ordinary IMS voice / video communication and digital human communication based on the IMS data channel through SIP message interaction between terminals, thus improving the IMS session service scenario solution.

[0177] In one embodiment, communication processing is performed based on the SDP proposal included in the SIP re-invitation, including:

[0178] When the SDP proposal includes the application data channel media description information for digital human communication, if the switch from voice / video communication to digital human communication is accepted, a SIP response message for the SIP re-invitation is sent. The SIP response message carries the SDP response, which includes at least the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero.

[0179] Specifically, when the SDP proposal includes application data channel media description information for digital human communication, when the second terminal accepts the switch from voice / video communication to digital human communication, the second terminal can send a SIP response message for SIP re-invitation. The SIP response message carries an SDP response, which includes at least the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero, indicating that the application data channel for digital human communication has been accepted.

[0180] When the first terminal receives a SIP response message, and the SDP response carried in the SIP response message includes the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero, then the first terminal can switch the IMS session from voice / video communication to digital human communication. It can be understood that the transmission of the above-mentioned SIP response message can be achieved through SIP message interaction between the terminal and the IMS-AS network element.

[0181] In some embodiments, communication processing is performed based on the SDP proposal included in the SIP re-invitation, including:

[0182] When the SDP proposal includes the application data channel media description information for digital human communication, if the switch from voice / video communication to digital human communication is refused, a SIP response message for the SIP re-invitation is sent. The SIP response message carries the SDP response, which includes at least the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is zero.

[0183] Specifically, when the SDP proposal includes application data channel media description information for digital human communication, if the second terminal refuses to switch from voice / video communication to digital human communication, the second terminal can send a SIP response message for SIP re-invitation. The SIP response message carries an SDP response, which includes at least the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is zero, indicating that the application data channel for digital human communication has been rejected.

[0184] When the first terminal receives a SIP response message, and the SDP response carried in the SIP response message includes the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is zero, then the session handover has failed, and the first terminal can continue voice / video communication with the second terminal in the IMS session. It should be noted that the transmission of the above-mentioned SIP response message can be achieved through SIP message interaction between the terminal and the IMS-AS network element.

[0185] In one embodiment, communication processing is performed based on the SDP proposal included in the SIP re-invitation, including:

[0186] When the SDP proposal does not include media description information for the application data channel of digital human communication, a SIP response message is sent in response to the SIP re-invitation. The SIP response message carries an SDP reply, which includes media description information for voice / video communication.

[0187] Specifically, if the SDP proposal does not include media description information for the application data channel of digital human communication, the second terminal can send a SIP response message in response to the SIP re-invitation. The SIP response message carries an SDP response, which includes media description information for voice / video communication. It is understood that in practical applications, the SDP response in this embodiment of the application at least includes media description information for voice / video communication.

[0188] If the first terminal receives a SIP response message, and the SDP response carried in the SIP response message only includes media description information for voice / video communication, then the session handover has failed, and the first terminal can continue voice / video communication with the second terminal in the IMS session. It should be noted that the transmission of the aforementioned SIP response message can be achieved through SIP message interaction between the terminal and the IMS-AS network element.

[0189] This application realizes the switching between ordinary IMS voice / video communication and digital human communication based on the IMS data channel through SIP message interaction between terminals, thus improving the IMS session service scenario solution.

[0190] Regarding the implementation process of switching an IMS session from digital human communication to voice / video communication, in an exemplary embodiment, such as... Figure 6 As shown, an IMS session switching method is provided, which is applied to... Figure 1 Taking the second terminal as an example, the explanation includes the following steps:

[0191] Step 602: Receive a SIP re-invitation from the first terminal for the IMS session. The SIP re-invitation carries an SDP proposal. The SDP proposal includes media description information for the voice / video communication to be switched and media description information for the application data channel of the digital human communication. The port number in the media description information for the application data channel of the digital human communication is zero.

[0192] Specifically, the second terminal receives a SIP re-invitation from the first terminal for the IMS session. If the SDP proposal carried in the SIP re-invitation includes media description information for the voice / video communication to be switched and media description information for the application data channel of the digital human communication, and the port number in the application data channel media description information of the digital human communication is zero, it can indicate that the first terminal has instructed to switch the IMS session from digital human communication to voice / video communication.

[0193] Step 604: Send a SIP response message for the SIP re-invitation. The SIP response message includes an SDP response, which includes media description information for the voice / video communication.

[0194] Specifically, the second terminal can send a SIP response message in response to the SIP re-invitation. The SIP response message carries an SDP reply, which includes media description information for voice / video communication. If the first terminal receives the SIP response message and the SDP reply carried in the SIP response message includes media description information for voice / video communication, then the first terminal can switch the IMS session from digital human communication to voice / video communication.

[0195] Optionally, the SIP response message can be an 18x message or a 2xx message; this application embodiment does not limit the specific message type of the SIP response message. It should be noted that the transmission of the aforementioned SIP response message can be achieved through SIP message interaction between the terminal and the IMS-AS network element.

[0196] This application realizes the switching between digital human communication based on IMS data channel and ordinary IMS voice / video communication through SIP message interaction between terminals, thus improving the IMS session service scenario solution.

[0197] Based on the above-described IMS session handover method executed from the terminal perspective, this application embodiment also provides an IMS session handover method executed from the perspective of the IMS application server network element. The solution provided by this method is similar to the solution described in the above-described IMS session handover method executed from the terminal perspective. Therefore, the specific limitations of one or more IMS session handover method embodiments executed from the perspective of the IMS application server network element provided below can be found in the above-described limitations of the IMS session handover method executed from the terminal perspective, and will not be repeated here.

[0198] Regarding the processing of SIP re-invitation for the IMS session by the first terminal, an exemplary embodiment provides an IMS session switching method, which is illustrated by taking the application of the method to an IMS application server network element as an example, and includes the following steps:

[0199] Receive the SIP re-invitation from the first terminal for the IMS session, modify the SDP proposal carried in the SIP re-invitation, and forward the SIP re-invitation with the modified SDP proposal.

[0200] Specifically, when the IMS application server network element receives a SIP re-invitation for an IMS session from the first terminal, it can modify the SDP proposal carried in the SIP re-invitation and forward the SIP re-invitation with the modified SDP proposal.

[0201] For example, the IMS application server network element that receives the SIP re-invitation can be the IMS-AS on the IMS network side of the first terminal. As the IMS-AS to which the first terminal belongs, the IMS application server network element can modify the SDP proposal carried in the SIP re-invitation according to the terminal authorization and resource allocation, and forward the SIP re-invitation after modifying the SDP proposal, so that the second terminal can receive the SIP re-invitation.

[0202] Optionally, the IMS application server network element that receives the SIP re-invitation can also be the IMS-AS on the IMS network side of the second terminal. As the IMS-AS to which the second terminal belongs, the IMS application server network element can modify the SDP proposal carried in the SIP re-invitation according to the terminal authorization and resource allocation, and forward the SIP re-invitation after modifying the SDP proposal so that the second terminal can receive the SIP re-invitation.

[0203] It is understandable that the IMS-AS on the IMS network side of the first terminal could receive the SIP re-invitation, modify the SDP proposal carried in the SIP re-invitation, and forward the modified SDP proposal to the IMS-AS on the IMS network side of the second terminal. Then, the IMS-AS on the IMS network side of the second terminal could modify the SDP proposal carried in the SIP re-invitation (or the IMS-AS on the IMS network side of the second terminal could choose not to modify the SDP proposal) and forward the SIP re-invitation to the second terminal.

[0204] It should be noted that the process of the terminal sending / receiving SIP re-invitation, sending / receiving SIP response messages, and performing corresponding communication processing (such as switching the communication mode of the IMS session) can be found in the description of the IMS session switching method performed from the terminal's perspective in the previous text, and will not be repeated here.

[0205] This application embodiment realizes the switching between digital human communication mode based on IMS data channel and ordinary IMS voice / video mode through SIP message interaction between terminal and IMS-AS network element, thus improving the IMS session service scenario solution.

[0206] In one embodiment, the method further includes, before modifying the SIP re-invitation carrying the SDP proposal:

[0207] If the SDP proposal includes application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero, determine whether the first terminal or the second terminal has IMS data channel permissions based on local policies or subscription data.

[0208] Specifically, when the SDP proposal includes application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero, it can instruct the first terminal to switch the IMS session from voice / video communication to digital human communication. At this time, the IMS application server network element needs to confirm whether the terminal has IMS data channel permissions.

[0209] In this embodiment, IMS data channel permission can represent digital human communication permission. When a terminal has digital human communication permission, it means that the terminal has subscribed to digital human communication; when a terminal does not have digital human communication permission, it means that the terminal has not subscribed to digital human communication. Optionally, the terminal can support digital human communication and be configured to allow the use of digital human communication, or the terminal can not support or be configured to disallow the use of digital human communication.

[0210] For example, the IMS application server network element can determine whether a first terminal or a second terminal has IMS data channel permissions based on local policies or subscription data. For instance, the IMS-AS on the IMS network side of the first terminal determines whether the first terminal has IMS data channel permissions based on local policies or subscription data. Similarly, the IMS-AS on the IMS network side of the second terminal determines whether the second terminal has IMS data channel permissions based on local policies or subscription data.

[0211] In this embodiment, the IMS application server network element can determine the modification method of the SDP proposal carried by the SIP re-invitation based on whether the terminal has IMS data channel permissions, thereby effectively supporting the switching between ordinary IMS voice / video communication and digital human communication based on the IMS data channel.

[0212] In one embodiment, modifying the SDP proposal carried in the SIP re-invitation includes:

[0213] If it is determined that the first terminal or the second terminal does not have IMS data channel permissions, then the application data channel media description information for digital human communication in the SDP proposal is deleted.

[0214] Specifically, if the IMS application server network element determines that the first terminal or the second terminal does not have IMS data channel permissions, it can delete the application data channel media description information for digital human communication in the SDP proposal. For example, if the IMS-AS on the IMS network side of the first terminal determines that the first terminal does not have IMS data channel permissions, it can delete the application data channel media description information for digital human communication in the SDP proposal and send a SIP re-invitation containing the modified SDP proposal to the peer network; for example, the IMS application server network element can send the SIP re-invitation containing the modified SDP proposal to the Service Call Session Control Function (S-CSCF) network element.

[0215] For example, when the IMS-AS on the IMS network side of the second terminal determines that the second terminal does not have IMS data channel permissions, it can delete the application data channel media description information for digital human communication in the SDP proposal and send a SIP re-invitation to the second terminal containing the modified SDP proposal.

[0216] In this application embodiment, when the terminal does not have IMS data channel permissions, the application data channel media description information for digital human communication in the SDP proposal is deleted. This can effectively solve the authentication and authorization issues related to the terminal downloading digital human images, as well as related issues, and provides a technical foundation for the development of new call services based on the DC channel.

[0217] In some embodiments, the method further includes:

[0218] If it is determined that the first terminal or the second terminal has IMS data channel permissions, the data channel signaling function DCSF network element is notified of the media change event of the IMS session, and the data channel media function MF network element is instructed to determine the allocation of digital human communication data channel media resources.

[0219] Specifically, when the IMS application server network element determines that the first terminal or the second terminal has IMS data channel permissions, it can interact with the data channel signaling function DCSF network element and the data channel media function MF to determine the media processing strategy for digital human communication (such as the digital human communication DC strategy) and the allocation of data channel resources.

[0220] For example, the IMS application server network element can notify the data channel signaling function (DCSF) network element about media change events in the IMS session, and instruct the data channel media function (MF) network element to determine the allocation of digital human communication data channel media resources; furthermore, the IMS application server network element can modify the SDP proposal carried in the SIP re-invitation according to the response of the data channel media function (MF) network element, and forward the SIP re-invitation after modifying the SDP proposal.

[0221] For example, when the IMS-AS on the IMS network side of the first terminal determines that the first terminal has IMS data channel permissions, it can notify the data channel signaling function DCSF network element about the media change event of the IMS session, instruct the data channel media function MF network element to determine the allocation of digital human communication data channel media resources, and then modify the SDP proposal carried in the SIP re-invitation according to the response of the data channel media function MF network element, and forward the SIP re-invitation after modifying the SDP proposal to the peer network.

[0222] For example, when the IMS-AS on the IMS network side of the second terminal determines that the second terminal has IMS data channel permissions, it can notify the data channel signaling function DCSF network element about the media change event of the IMS session, instruct the data channel media function MF network element to determine the allocation of digital human communication data channel media resources, and then modify the SDP proposal carried in the SIP re-invitation according to the response of the data channel media function MF network element, and send the modified SIP re-invitation to the second terminal.

[0223] Based on the embodiments of this application, the IMS-AS receives a SIP re-Invite message from a terminal and determines whether the terminal has been authorized for digital human communication based on local policies or subscription data. If authorized, it interacts with the DCSF and MF network elements, and the MF allocates media resources for digital human communication. If not authorized, it deletes the data channel media description information required for digital human communication from the SDP proposal and forwards the SIP re-Invite message containing the modified SDP proposal to the peer network. To further illustrate the above process of IMS-AS interacting with DCSF and MF network elements and the MF allocating media resources for digital human communication, the following explanation uses the IMS application server network element as the first terminal IMS network-side IMS-AS as an example:

[0224] When IMS-AS receives a SIP re-Invite message from a terminal and determines that the terminal has IMS data channel authorization (the terminal has been authorized), IMS-AS sends a session event control notification message (Nimsas_SessionEventControl_Notify) to DCSF. DCSF determines the media processing policy for the digital human communication data channel and sends a media control instruction (Nimsas_MediaControl_MediaInstruction) to IMS-AS, instructing MF to establish an application data channel and corresponding digital human media processing rules. After instructing MF to establish the application data channel and corresponding digital human media processing rules, IMS-AS returns a media control instruction response (Nimsas_MediaControl_MediaInstructionresponse) to DCSF. DCSF then returns a session event control notification response (Nimsas_SessionEventControl_Notify Response) to IMS-AS. Furthermore, IMS-AS can modify the SDP proposal contained in the received SIP re-Invite message and forward a SIP re-Invite message containing the modified SDP proposal.

[0225] In summary, the embodiments of this application can effectively realize the switching between ordinary IMS voice / video communication and digital human communication based on the IMS data channel, thus improving the IMS session service scenario solution.

[0226] In one embodiment, the method further includes, before modifying the SIP re-invitation carrying the SDP proposal:

[0227] If the SDP proposal includes application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is zero, notify the data channel signaling function DCSF network element of the media change event of the IMS session, and instruct the data channel media function MF network element to release the application data channel media resources for digital human communication.

[0228] Specifically, if the IMS application server network element includes application data channel media description information for digital human communication in the SDP proposal, and the port number in the application data channel media description information for digital human communication is zero, it can be determined that the first terminal currently needs to switch the IMS session from digital human communication to voice / video communication. Then, the IMS application server network element can notify the data channel signaling function DCSF network element about the media change event of the IMS session and instruct the data channel media function MF network element to release the application data channel media resources for digital human communication.

[0229] Taking the IMS application server network element as the first terminal IMS network side IMS-AS as an example, after IMS-AS receives the SIP re-Invite message containing the SDP offer with the digital human communication data channel port number of zero, it notifies the DCSF that the IMS session media has changed and requests the MF to release the digital human communication media resources.

[0230] The embodiments of this application can effectively realize the switching between digital human communication based on IMS data channels and ordinary IMS voice / video communication, thus improving the IMS session service scenario solution.

[0231] Regarding the processing of the SIP response message from the second terminal in response to the SIP re-invitation, an exemplary embodiment provides an IMS session switching method, which is illustrated by taking the application of this method to an IMS application server network element as an example. The method includes the following steps:

[0232] Receive the SIP response message from the second terminal in response to the SIP re-invitation, modify the SDP response in the SIP response message, and forward the SIP response message after modifying the SDP response.

[0233] Specifically, when the IMS application server network element receives a SIP response message from the second terminal requesting a SIP re-invitation, it can modify the SDP response in the SIP response message and forward the modified SIP response message.

[0234] For example, the IMS application server network element that receives the SIP response message can be the IMS-AS on the IMS network side of the second terminal. As the IMS-AS to which the second terminal belongs, the IMS application server network element can modify the SDP response in the SIP response message according to the terminal authorization and resource allocation, and forward the SIP response message after modifying the SDP response so that the first terminal can receive the SIP response message.

[0235] It should be noted that the process of the terminal sending / receiving SIP re-invitation, sending / receiving SIP response messages, and performing corresponding communication processing (such as switching the communication mode of the IMS session) can be found in the description of the IMS session switching method performed from the terminal's perspective in the previous text, and will not be repeated here.

[0236] This application embodiment realizes the switching between digital human communication mode based on IMS data channel and ordinary IMS voice / video mode through SIP message interaction between terminal and IMS-AS network element, thus improving the IMS session service scenario solution.

[0237] In one embodiment, before modifying the SDP response in the SIP response message, the method further includes:

[0238] If the SDP response includes application data channel media description information for digital human communication, and the port number in the application data channel media information for digital human communication is non-zero, notify the data channel signaling function DCSF network element of the successful media change event for the IMS session, and instruct the data channel media function MF network element to update the application data channel media resources for digital human communication.

[0239] Specifically, if the IMS application server network element receives an SDP response that includes media description information for the digital human communication application data channel, and the port number in the digital human communication application data channel media information is non-zero, it can determine that the IMS session handover was successful. The IMS application server network element can then notify the data channel signaling function (DCSF) network element of the successful media change event for the IMS session, and instruct the data channel media function (MF) network element to update the digital human communication application data channel media resources. For example, the IMS application server network element can be the IMS-AS to which the first terminal belongs.

[0240] In some embodiments, before modifying the SDP response in the SIP response message, the method further includes:

[0241] If the SDP response includes application data channel media description information for digital human communication, and the port number in the application data channel media information for digital human communication is zero, notify the data channel signaling function DCSF network element of the media change failure event of the IMS session, and instruct the data channel media function MF network element to release the application data channel media resources for digital human communication.

[0242] Specifically, if the IMS application server network element determines that the IMS session handover has failed when the SDP response includes the application data channel media description information for digital human communication, and the port number in the application data channel media information for digital human communication is zero, then the IMS application server network element can notify the data channel signaling function (DCSF) network element about the IMS session media change failure event and instruct the data channel media function (MF) network element to release the application data channel media resources for digital human communication. For example, the IMS application server network element can be the IMS-AS to which the first terminal belongs.

[0243] In one embodiment, before modifying the SDP response in the SIP response message, the method further includes:

[0244] If the SDP response does not include the application data channel media description information for digital human communication, and has instructed the data channel media function MF network element to determine the allocation of digital human communication data channel media resources, notify the data channel signaling function DCSF network element of the media change failure event of the IMS session, and instruct the data channel media function MF network element to release the application data channel media resources for digital human communication.

[0245] Specifically, if the IMS application server network element determines that the IMS session handover has failed when the SDP response does not include the application data channel media description information for digital human communication, and the IMS application server network element has instructed the data channel media function (MF) network element to determine the allocation of digital human communication data channel media resources, then the IMS application server network element can notify the data channel signaling function (DCSF) network element about the media change failure event of the IMS session and instruct the data channel media function (MF) network element to release the application data channel media resources for digital human communication.

[0246] The following example uses terminals including UEA and UEB. The IMS application server network element can include IMS-AS-A and IMS-AS-B, where IMS-AS-A refers to the IMS-AS on the UEA IMS network side, and IMS-AS-B refers to the IMS-AS on the UEB IMS network side. In one embodiment, Figure 7 This document provides a signaling interaction flowchart for switching an IMS session from voice / video communication to digital human communication. (For example...) Figure 7 As shown, the IMS session handover process may include:

[0247] UEA and UEB establish a normal IMS voice / video session. Taking UEA as the terminal initiating the IMS session handover, during an IMS voice / video call, if UEA supports digital human communication and is configured to allow the use of digital human communication, UEA can send a SIP re-Invite message when it needs to switch the IMS session from voice / video communication to digital human communication. The SIP re-Invite message includes an SDP offer, which may include audio / video communication media description information and data channel media description information required for digital human communication.

[0248] The IMS application server network element (IMS-AS-A) to which the UEA belongs receives the SIP re-Invite message and determines whether the UEA has IMS data channel permissions based on local policies or subscription data. If the UEA has IMS data channel permissions, the IMS-AS-A sends a session event control notification message (Nimsas_SessionEventControl_Notify) to the DCSF. The DCSF determines the media processing policy for the digital human communication data channel and sends a media control instruction (Nimsas_MediaControl_MediaInstruction) to the IMS-AS-A, instructing the MF to establish the application data channel and the corresponding digital human media processing rules. After instructing the MF to establish the application data channel and the corresponding digital human media processing rules, the IMS-AS-A returns a media control instruction response (Nimsas_MediaControl_MediaInstruction response) to the DCSF. The DCSF then returns a session event control notification response (Nimsas_SessionEventControl_NotifyResponse) to the IMS-AS-A. Furthermore, IMS-AS-A can modify the SDP proposal contained in the received SIP re-Invite message and forward the SIP re-Invite message containing the modified SDP proposal (modified SDP offer for DC) to the IMS application server network element (IMS-AS-B) to which UEB belongs. The SIP re-Invite message may also include media description information (audio / video offer) for voice / video communication.

[0249] Upon receiving a SIP re-Invite message, IMS-AS-B needs to determine whether the UEB has IMS data channel permissions. If the UEB does have IMS data channel permissions, IMS-AS-B interacts with DCSF and MF to determine the digital human communication media processing strategy and media resource allocation. It then modifies the SDP proposal carried in the SIP re-Invite message and forwards a SIP re-Invite message containing the modified SDP proposal (modified SDP offer for DC) to the UEB. If the UEB supports digital human communication and is configured to allow its use, the UEB can send a SIP response message (18X / 2XX). This SIP response message can carry an SDP answer, which may include media description information for voice / video communication (audio / video answer) and application data channel media description information for digital human communication (SDP answer for DC).

[0250] After receiving a SIP response message (18X / 2XX), IMS-AS-B can interact with DCSF and MF to report session event progress, update DC resource allocation, and then modify the SDP response in the SIP response message (18X / 2XX). It then sends a SIP response message (18X / 2XX) containing the modified SDP response (modified SDP answer for DC) to IMS-AS-A. Upon receiving the SIP response message (18X / 2XX), IMS-AS-A can also interact with DCSF and MF to report session event progress, update DC resource allocation, and then forward the SIP response message (18X / 2XX) containing the modified SDP response (modified SDP answer for DC) to UEA. UEA can then complete the establishment of the digital human communication DC channel and switch the IMS session to digital human communication mode.

[0251] In one embodiment, Figure 8 This document provides a signaling interaction flowchart for a terminal that does not have IMS data channel access. (Example:) Figure 8 As shown, the IMS session handover process may include:

[0252] UEA and UEB establish a normal IMS voice / video session. Taking UEA as the terminal initiating the IMS session handover, during an IMS voice / video call, if UEA supports digital human communication and is configured to allow the use of digital human communication, UEA can send a SIP re-Invite message when it needs to switch the IMS session from voice / video communication to digital human communication. The SIP re-Invite message includes an SDP offer, which may include audio / video communication media description information and data channel media description information required for digital human communication.

[0253] The IMS application server network element (IMS-AS-A) to which the UEA belongs receives the SIP re-Invite message. Based on local policies or subscription data, it determines whether the UEA has IMS data channel permissions. If the UEA does not have IMS data channel permissions, the IMS-AS-A removes the media description information (SDP offer for DC) required for digital human communication from the SDP offer and sends a SIP re-Invite message containing the modified SDP proposal to the S-CSCF. The S-CSCF then sends the SIP re-Invite message to the IMS application server network element (IMS-AS-B) to which the UEB belongs, thus enabling the UEB to obtain the SIP re-Invite message. This SIP re-Invite message only contains media description information for voice / video communication (audio / video offer). The UEB sends a SIP response message (18X / 2XX), which may carry an SDP answer. The SDP answer only includes media description information for voice / video communication (audio / video answer). Upon receiving the SIP response message (18X / 2XX), IMS-AS-B sends its own SIP response message (18X / 2XX) until UEA receives the SIP response message (18X / 2XX). UEA and UEB continue their normal IMS voice / video session.

[0254] In one embodiment, Figure 9 Provides a signaling interaction flowchart for a terminal that does not have IMS data channel permissions. For example... Figure 9 As shown, the IMS session handover process may include:

[0255] UEA and UEB establish a normal IMS voice / video session. Taking UEA as the terminal initiating the IMS session handover, during an IMS voice / video call, if UEA supports digital human communication and is configured to allow the use of digital human communication, UEA can send a SIP re-Invite message when it needs to switch the IMS session from voice / video communication to digital human communication. The SIP re-Invite message includes an SDP offer, which may include audio / video communication media description information and data channel media description information required for digital human communication.

[0256] The IMS application server network element (IMS-AS-A) to which the UEA belongs receives the SIP re-Invite message and determines whether the UEA has IMS data channel permissions based on local policies or subscription data. If the UEA has IMS data channel permissions, the IMS-AS-A sends a session event control notification message (Nimsas_SessionEventControl_Notify) to the DCSF. The DCSF determines the media processing policy for the digital human communication data channel and sends a media control instruction (Nimsas_MediaControl_MediaInstruction) to the IMS-AS-A, instructing the MF to establish the application data channel and the corresponding digital human media processing rules. After instructing the MF to establish the application data channel and the corresponding digital human media processing rules, the IMS-AS-A returns a media control instruction response (Nimsas_MediaControl_MediaInstruction response) to the DCSF. The DCSF then returns a session event control notification response (Nimsas_SessionEventControl_NotifyResponse) to the IMS-AS-A. Furthermore, IMS-AS-A can modify the SDP proposal contained in the received SIP re-Invite message and forward the SIP re-Invite message containing the modified SDP proposal (modified SDP offer for DC) to the IMS application server network element (IMS-AS-B) to which UEB belongs. The SIP re-Invite message may also include media description information (audio / video offer) for voice / video communication.

[0257] Upon receiving a SIP re-Invite message, IMS-AS-B needs to determine whether the UEB has IMS data channel permissions. If it is determined that the UEB does not have IMS data channel permissions, IMS-AS-B removes the media description information for the data channel required for digital human communication (SDP offer for DC) from the SDP offer and sends a SIP re-Invite message containing the modified SDP proposal to the UEB. This SIP re-Invite message only contains the media description information for voice / video communication (audio / video offer). Upon receiving the SIP re-Invite message, the UEB sends a SIP response message (18X / 2XX). This SIP response message may carry an SDP answer, which only includes the media description information for voice / video communication (audio / video answer). Upon receiving the SIP response message (18X / 2XX), IMS-AS-B can interact with DCSF and MF, report the media update failure, release the digital human communication DC resource allocation, and then send the SIP response message (18X / 2XX) to UEA. UEA determines that the digital human communication handover has failed, but UEA and UEB still conduct normal IMS voice / video sessions.

[0258] In one embodiment, Figure 10 This document provides a signaling interaction flowchart for situations where the terminal does not support or is configured to disallow digital human communication. Figure 10 As shown, the IMS session handover process may include:

[0259] UEA and UEB establish a normal IMS voice / video session. Taking UEA as the terminal initiating the IMS session handover, during an IMS voice / video call, if UEA supports digital human communication and is configured to allow the use of digital human communication, UEA can send a SIP re-Invite message when it needs to switch the IMS session from voice / video communication to digital human communication. The SIP re-Invite message includes an SDP offer, which may include audio / video communication media description information and data channel media description information required for digital human communication.

[0260] The IMS application server network element (IMS-AS-A) to which the UEA belongs receives the SIP re-Invite message and determines whether the UEA has IMS data channel permissions based on local policies or subscription data. If the UEA has IMS data channel permissions, the IMS-AS-A sends a session event control notification message (Nimsas_SessionEventControl_Notify) to the DCSF. The DCSF determines the media processing policy for the digital human communication data channel and sends a media control instruction (Nimsas_MediaControl_MediaInstruction) to the IMS-AS-A, instructing the MF to establish the application data channel and the corresponding digital human media processing rules. After instructing the MF to establish the application data channel and the corresponding digital human media processing rules, the IMS-AS-A returns a media control instruction response (Nimsas_MediaControl_MediaInstruction response) to the DCSF. The DCSF then returns a session event control notification response (Nimsas_SessionEventControl_NotifyResponse) to the IMS-AS-A. Furthermore, IMS-AS-A can modify the SDP proposal contained in the received SIP re-Invite message and forward the SIP re-Invite message containing the modified SDP proposal (modified SDP offer for DC) to the IMS application server network element (IMS-AS-B) to which UEB belongs. The SIP re-Invite message may also include media description information (audio / video offer) for voice / video communication.

[0261] Upon receiving a SIP re-Invite message, IMS-AS-B needs to determine whether UEB has IMS data channel permissions. If UEB does have IMS data channel permissions, IMS-AS-B interacts with DCSF and MF to determine the digital human communication media processing strategy and media resource allocation. It then modifies the SDP proposal carried in the SIP re-Invite message and forwards the SIP re-Invite message containing the modified SDP proposal (modified SDP offer for DC) to UEB. If UEB does not support digital human communication or is configured not to use digital human communication, UEB sends a SIP response message (18X / 2XX). This SIP response message may carry an SDP answer, which includes media description information for voice / video communication (audio / video answer) and application data channel media description information for digital human communication (SDP answer for DC). The port number in the application data channel media description information for digital human communication is zero (DC port number is set to 0). Upon receiving the SIP response message (18X / 2XX), IMS-AS-B can interact with DCSF and MF to report the IMS session media update failure, release DC media resource allocation, and then forward the SIP response message (18X / 2XX) to IMS-AS-A. Upon receiving the SIP response message (18X / 2XX), IMS-AS-A can interact with DCSF and MF to report the IMS session media update failure, release DC media resource allocation, and forward the SIP response message (18X / 2XX) to UEA. Upon receiving the SIP response message (18X / 2XX), UEA confirms that the digital human handover has failed, but UEA and UEB continue their normal IMS voice / video session.

[0262] In one embodiment, Figure 11 This document provides a signaling interaction flowchart for switching an IMS session from digital human communication to voice / video communication. (Example:) Figure 11 As shown, the IMS session handover process may include:

[0263] When UEA and UEB conduct an IMS session in digital human communication mode, taking UEA as the terminal initiating the IMS session handover, during a digital human call in the IMS data channel, when UEA needs to switch the IMS session from digital human communication to voice / video communication, UEA can send a SIP re-Invite message. The SIP re-Invite message includes an SDP offer (SDPoffer). The SDP offer can include media description information for voice / video communication (audio / video offer) and media description information for the data channel required for digital human communication (SDP offer for DC). The port number in the application data channel media description information for digital human communication is zero (media description port number for digital human communication = 0).

[0264] The IMS application server network element (IMS-AS-A) belonging to the UEA receives the SIP re-Invite message, determines that the terminal wants to switch communication modes, and can interact with DCSF and MF to release the digital human communication DC resources. Further, the IMS-AS-A forwards the SIP re-Invite message to the IMS application server network element (IMS-AS-B) belonging to the UEB. The IMS-AS-B receives the SIP re-Invite message, determines that the terminal wants to switch communication modes, and can interact with DCSF and MF to release the digital human communication DC media resources. The IMS-AS-B forwards the SIP re-Invite message to the UEB; the UEB receives the SIP re-Invite message and sends a SIP response message (2XX). This SIP response message may carry an SDP answer, which includes media description information for voice / video communication (audio / video answer). IMS-AS-B forwards the SIP response message (2XX) to IMS-AS-A, which then sends the SIP response message (2XX) to UEA. UEA receives the SIP response message (2XX) and switches the IMS session to normal IMS voice / video communication mode.

[0265] It should be noted that during the IMS session handover process in the above embodiments, when the IMS-AS receives a CANCEL or 4XX or 5XX response message for the SIPre-Invite message, it interacts with the DCSF and MF network elements, and the MF releases the digital human communication media resources.

[0266] This application embodiment realizes the switching between digital human communication mode based on IMS data channel and ordinary IMS voice / video mode through SIP message interaction between terminal and IMS-AS network element, thus improving the IMS session service scenario solution.

[0267] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0268] In one exemplary embodiment, such as Figure 12 As shown, an IMS session switching device is provided, applied to a first terminal, the device comprising:

[0269] The message sending module 710 is used to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from voice / video communication to digital human communication. The SIP re-invitation carries an SDP proposal. The SDP proposal includes at least the application data channel media description information of the digital human communication to which the IMS session is to be switched.

[0270] The message processing module 720 is used to receive the SIP response message from the second terminal in response to the SIP re-invitation and to perform communication processing.

[0271] In one embodiment, the message processing module 720 is configured to switch the IMS session from voice / video communication to digital human communication if the SDP response carried in the SIP response message includes application data channel media description information for digital human communication and the port number in the application data channel media description information for digital human communication is non-zero.

[0272] In one embodiment, the message processing module 720 includes:

[0273] The video stream transmission module is used to stop transmitting the video stream of the IMS session. The video stream is the real video captured by the camera of the first terminal.

[0274] The media streaming module is used to send digital human media streams or receive digital human media streams from a second terminal.

[0275] In one embodiment, the message processing module 720 is configured to allow the first terminal and the second terminal to continue voice / video communication in the IMS session if the SDP response carried in the SIP response message does not include the application data channel media description information for digital human communication, or if the port number in the application data channel media description information for digital human communication is zero.

[0276] In one exemplary embodiment, such as Figure 13 As shown, an IMS session switching device is provided, applied to a first terminal, the device comprising:

[0277] The sending module 801 is used to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from digital human communication to voice / video communication. The SIP re-invitation includes an SDP proposal. The SDP proposal includes media description information of the voice / video communication to be switched and media description information of the application data channel of digital human communication. The port number in the application data channel media description information of digital human communication is zero.

[0278] The processing module 802 is used to receive the SIP response message from the second terminal in response to the SIP re-invitation and to perform communication processing.

[0279] In one embodiment, the SIP response message includes media description information for the voice / video communication;

[0280] The processing module 802 is used to stop the transmission of digital human media streams for IMS sessions; and to send a real video stream from a first terminal or receive a real video stream from a second terminal.

[0281] In one exemplary embodiment, such as Figure 14 As shown, an IMS session switching device is provided for use in a second terminal. The device includes:

[0282] The message receiving module 901 is used to receive the SIP re-invitation from the first terminal for the IMS session;

[0283] The proposal processing module 902 is used to perform communication processing based on the SDP proposal contained in the SIP re-invitation.

[0284] In one embodiment, the proposal processing module 902 is configured to send a SIP response message for SIP re-invitation if the SDP proposal includes application data channel media description information for digital human communication and the user accepts the switch from voice / video communication to digital human communication. The SIP response message carries an SDP response, which includes at least application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero.

[0285] In one embodiment, the proposal processing module 902 is configured to send a SIP response message for SIP re-invitation if the SDP proposal includes application data channel media description information for digital human communication and the user refuses to switch from voice / video communication to digital human communication. The SIP response message carries an SDP response, which includes at least application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is zero.

[0286] In one embodiment, the proposal processing module 902 is configured to send a SIP response message for a SIP re-invitation when the SDP proposal does not include application data channel media description information for digital human communication. The SIP response message carries an SDP response, which includes media description information for voice / video communication.

[0287] In one exemplary embodiment, such as Figure 15 As shown, an IMS session switching device is provided for use in a second terminal. The device includes:

[0288] The proposal receiving module 1001 is used to receive the SIP re-invitation of the first terminal for the IMS session. The SIP re-invitation carries an SDP proposal. The SDP proposal includes media description information of the voice / video communication to be switched and media description information of the application data channel of the digital human communication. The port number in the application data channel media description information of the digital human communication is zero.

[0289] The response sending module 1002 is used to send a SIP response message in response to the SIP re-invitation. The SIP response message contains an SDP response, which includes media description information for voice / video communication.

[0290] In one embodiment, the SIP response message is an 18x message or a 2xx message.

[0291] In one exemplary embodiment, an IMS session switching device is provided, applied to an IMS application server network element, the device comprising:

[0292] The forwarding module is modified to receive the SIP re-invitation from the first terminal for the IMS session, modify the SDP proposal carried in the SIP re-invitation, and forward the SIP re-invitation after modifying the SDP proposal.

[0293] In one embodiment, the device further includes:

[0294] The permission confirmation module is used to determine whether the first terminal or the second terminal has IMS data channel permission if the SDP proposal includes application data channel media description information for digital human communication and the port number in the application data channel media description information for digital human communication is non-zero, based on local policies or subscription data.

[0295] In one embodiment, the forwarding module is modified to delete the application data channel media description information for digital human communication in the SDP proposal if it is determined that the first terminal or the second terminal does not have IMS data channel permissions.

[0296] In one embodiment, the device further includes:

[0297] The media change module is used to notify the data channel signaling function (DCSF) network element about the media change event of the IMS session if it is determined that the first terminal or the second terminal has IMS data channel permission, and to instruct the data channel media function (MF) network element to determine the allocation of digital human communication data channel media resources.

[0298] In one embodiment, the device further includes:

[0299] The resource release module is used to notify the data channel signaling function (DCSF) network element about the media change event of the IMS session if the SDP proposal includes application data channel media description information for digital human communication and the port number in the application data channel media description information for digital human communication is zero, and instruct the data channel media function (MF) network element to release the application data channel media resources for digital human communication.

[0300] In one exemplary embodiment, an IMS session switching device is provided, applied to an IMS application server network element, the device comprising:

[0301] The receiving and modification module is used to receive the SIP response message from the second terminal in response to the SIP re-invitation, modify the SDP response in the SIP response message, and forward the SIP response message after modifying the SDP response.

[0302] In one embodiment, the device further includes:

[0303] The event notification module is used to notify the data channel signaling function (DCSF) network element of a successful media change event for the IMS session if the SDP response includes application data channel media description information for digital human communication and the port number in the application data channel media information for digital human communication is non-zero, and to instruct the data channel media function (MF) network element to update the application data channel media resources for digital human communication.

[0304] In one embodiment, the device further includes:

[0305] The resource release indication module is used to notify the data channel signaling function DCSF network element of the IMS session media change failure event if the SDP response includes the application data channel media description information of digital human communication and the port number in the application data channel media information of digital human communication is zero, and to instruct the data channel media function MF network element to release the application data channel media resources of digital human communication.

[0306] In one embodiment, the device further includes:

[0307] The change event notification module is used to notify the data channel signaling function DCSF of the media change failure event of the IMS session if the SDP response does not include the application data channel media description information of digital human communication, and the data channel media function MF has been instructed to determine the allocation of digital human communication data channel media resources. The module also instructs the data channel media function MF to release the application data channel media resources of digital human communication.

[0308] Specific limitations regarding the IMS session switching device can be found in the limitations of the IMS session switching method described above, and will not be repeated here. Each module in the aforementioned IMS session switching device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0309] In one embodiment, a communication device is provided, see [link to previous document]. Figure 16 . Figure 16 This is a schematic diagram of the terminal structure provided in the embodiments of this application. Figure 16 The terminal 700 shown includes at least one processor 701, a memory 702, at least one network interface 704, and a user interface 703. The various components in the terminal 700 are coupled together via a bus system 705. It is understood that the bus system 705 is used to implement communication between these components. In addition to a data bus, the bus system 705 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in… Figure 16 Various buses are designated as bus system 705. Additionally, embodiments of this application also include a transceiver 706, which may consist of multiple elements, including a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium.

[0310] The user interface 703 may include a display, keyboard, or clicking device (e.g., mouse, trackball, touchpad, or touchscreen).

[0311] It is understood that the memory 702 in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate Synchronous DRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Sync Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 702 of the systems and methods described in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.

[0312] In some implementations, memory 702 stores elements such as executable modules or data structures, or subsets thereof, or extended sets thereof: operating system 7021 and application program 7022.

[0313] The operating system 7021 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 7022 includes various applications, such as a media player and a browser, used to implement various application functions. The program implementing the method of this application embodiment can be included in the application program 7022.

[0314] Some or all of the methods disclosed in the embodiments of this application can also be applied to processor 701, or implemented by processor 701, or implemented by processor 701 in conjunction with other components (e.g., transceivers). Processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 701 or by instructions in the form of software. The processor 701 mentioned above may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 702, and processor 701 reads the information from memory 702 and, in conjunction with its hardware, completes the steps of the above method.

[0315] It is understood that the embodiments described in this application can be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in this application, or combinations thereof.

[0316] For software implementation, the technology described in the embodiments of this application can be implemented by modules (e.g., procedures, functions, etc.) that perform the functions described in the embodiments of this application. The software code can be stored in memory and executed by processor 701. The memory can be implemented in processor 701 or external to processor 701.

[0317] Taking the first terminal as an example of using a communication device, in this embodiment, by calling the program or instructions stored in memory 702, specifically the program or instructions stored in application program 7022, the processor 701 is used to control the transmitter to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from voice / video communication to digital human communication. The SIP re-invitation carries an SDP proposal. The SDP proposal includes at least the application data channel media description information of the digital human communication to which the IMS session is to be switched. The processor 701 is also used to control the receiver to receive the SIP response message of the second terminal for the SIP re-invitation and perform communication processing.

[0318] In one embodiment, the processor 701 is specifically configured to switch the IMS session from voice / video communication to digital human communication if the SDP response carried in the SIP response message includes application data channel media description information for digital human communication and the port number in the application data channel media description information for digital human communication is non-zero.

[0319] In one embodiment, the processor 701 is specifically configured to control the transmitter to stop transmitting the video stream of the IMS session, the video stream being real video captured by the camera of the first terminal; and to control the transmitter to send a digital human media stream, or to control the receiver to receive a digital human media stream from the second terminal.

[0320] In one embodiment, the processor 701 is specifically configured to allow the first terminal and the second terminal to continue voice / video communication in the IMS session if the SDP response carried in the SIP response message does not include the application data channel media description information for digital human communication, or if the port number in the application data channel media description information for digital human communication is zero.

[0321] Taking the first terminal as an example of using a communication device, in this embodiment, by calling the program or instructions stored in memory 702, specifically the program or instructions stored in application program 7022, the processor 701 is used to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from digital human communication to voice / video communication. The SIP re-invitation includes an SDP proposal. The SDP proposal includes media description information of the voice / video communication to be switched and media description information of the application data channel of digital human communication, and the port number in the media description information of the application data channel of digital human communication is zero. The processor 701 is also used to control the receiver to receive the SIP response message of the second terminal for the SIP re-invitation and perform communication processing.

[0322] In one embodiment, the SIP response message includes media description information for voice / video communication; processor 701 is specifically configured to control the transmitter to stop transmitting the digital human media stream of the IMS session; and control the transmitter to send the real video stream of the first terminal, or control the receiver to receive the real video stream of the second terminal.

[0323] Taking the second terminal as an example of using a communication device, in this embodiment, by calling the program or instructions stored in the memory 702, specifically the program or instructions stored in the application program 7022, the receiver is used to receive the SIP re-invitation for the IMS session from the first terminal; the processor 701 is used to perform communication processing according to the SDP proposal contained in the SIP re-invitation.

[0324] In one embodiment, processor 701 is specifically configured to, when the SDP proposal includes application data channel media description information for digital human communication, if accepting the switch from voice / video communication to digital human communication, send a SIP response message for SIP re-invitation, the SIP response message carrying an SDP response, the SDP response including at least the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication being non-zero.

[0325] In one embodiment, processor 701 is specifically configured to send a SIP response message for SIP re-invitation if the SDP proposal includes application data channel media description information for digital human communication and the switch from voice / video communication to digital human communication is refused. The SIP response message carries an SDP response, which includes at least application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is zero.

[0326] In one embodiment, processor 701 is specifically configured to send a SIP response message for a SIP re-invitation when the SDP proposal does not include media description information for the application data channel of digital human communication. The SIP response message carries an SDP response, which includes media description information for voice / video communication.

[0327] Taking the second terminal as an example of using a communication device, in this embodiment, by calling the program or instructions stored in memory 702, specifically, the program or instructions stored in application program 7022, the receiver is used to receive the SIP re-invitation from the first terminal for the IMS session. The SIP re-invitation carries an SDP proposal, which includes media description information of the voice / video communication to be switched and media description information of the application data channel of the digital human communication, and the port number in the application data channel media description information of the digital human communication is zero. The transmitter is used to send a SIP response message for the SIP re-invitation. The SIP response message contains an SDP response, which includes media description information of the voice / video communication.

[0328] In one embodiment, the SIP response message is an 18x message or a 2xx message.

[0329] Figure 17 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application. The communication device may include a receiver 31, a memory 32, a processor 33, at least one communication bus 34, and a transmitter 35. The communication bus 34 is used to implement communication connections between components. The memory 32 may include high-speed RAM or non-volatile memory (NVM), such as at least one disk storage device. The memory 32 can store various programs for performing various processing functions and implementing the method steps of this embodiment. In this embodiment, the transmitter 35 can be a radio frequency processing module or a baseband processing module in the communication device, and the receiver 31 can also be a radio frequency processing module or a baseband processing module in the communication device. The transmitter 35 and receiver 31 can be integrated together to form a transceiver. Both the transmitter 35 and receiver 31 can be coupled to the processor 33, and can perform receiving or transmitting actions under the instruction or control of the processor 33.

[0330] Taking the IMS application server network element implemented using communication equipment as an example, in this embodiment, the processor 33 is used to control the receiver 31 to receive the SIP re-invitation for the IMS session from the first terminal, modify the SDP proposal carried in the SIP re-invitation, and control the transmitter 35 to forward the SIP re-invitation after modifying the SDP proposal.

[0331] In one embodiment, the processor 33 is further configured to determine whether the first terminal or the second terminal has IMS data channel permissions based on local policies or subscription data if the SDP proposal includes application data channel media description information for digital human communication and the port number in the application data channel media description information for digital human communication is non-zero.

[0332] In one embodiment, the processor 33 is specifically configured to delete the application data channel media description information for digital human communication in the SDP proposal if it is determined that the first terminal or the second terminal does not have IMS data channel permissions.

[0333] In one embodiment, the processor 33 is further configured to, if it is determined that the first terminal or the second terminal has IMS data channel permissions, notify the data channel signaling function DCSF network element about the media change event of the IMS session, and instruct the data channel media function MF network element to determine the allocation of digital human communication data channel media resources.

[0334] In one embodiment, the processor 33 is further configured to, if the SDP proposal includes application data channel media description information for digital human communication and the port number in the application data channel media description information for digital human communication is zero, notify the data channel signaling function DCSF network element about the media change event of the IMS session, and instruct the data channel media function MF network element to release the application data channel media resources for digital human communication.

[0335] Taking the IMS application server network element implemented using communication equipment as an example, in this embodiment, the processor 33 is used to control the receiver 31 to receive the SIP response message of the second terminal for SIP re-invitation, modify the SDP response in the SIP response message, and control the transmitter 35 to forward the SIP response message after modifying the SDP response.

[0336] In one embodiment, the processor 33 is further configured to, if the SDP response includes application data channel media description information for digital human communication and the port number in the application data channel media information for digital human communication is non-zero, notify the data channel signaling function DCSF network element of a successful media change event for the IMS session, and instruct the data channel media function MF network element to update the application data channel media resources for digital human communication.

[0337] In one embodiment, the processor 33 is further configured to, if the SDP response includes application data channel media description information for digital human communication and the port number in the application data channel media information for digital human communication is zero, notify the data channel signaling function DCSF network element of a media change failure event for the IMS session, and instruct the data channel media function MF network element to release the application data channel media resources for digital human communication.

[0338] In one embodiment, the processor 33 is further configured to, if the SDP response does not include application data channel media description information for digital human communication, and the data channel media function MF network element has been instructed to determine the allocation of digital human communication data channel media resources, notify the data channel signaling function DCSF network element of a media change failure event for the IMS session, and instruct the data channel media function MF network element to release the application data channel media resources for digital human communication.

[0339] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0340] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0341] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0342] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0343] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. An IMS session handover method, characterized in that, Applied to a first terminal, the method includes: When it is necessary to switch an IMS session from voice / video communication to digital human communication, a SIP re-invitation is sent for the IMS session, and the SIP re-invitation carries an SDP proposal; wherein, the SDP proposal includes at least the application data channel media description information of the digital human communication to which the IMS session is to be switched. Receive the SIP response message from the second terminal in response to the SIP re-invitation, and perform communication processing.

2. The method according to claim 1, characterized in that, The process of receiving the SIP response message from the second terminal in response to the SIP re-invitation and performing communication processing includes: If the SDP response carried in the SIP response message includes application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero, the IMS session will be switched from voice / video communication to digital human communication.

3. The method according to claim 2, characterized in that, The step of switching the IMS session from voice / video communication to digital human communication includes: Stop transmitting the video stream of the IMS session, the video stream being the real video captured by the camera of the first terminal; Send digital human media streams, or receive digital human media streams from a second terminal.

4. The method according to claim 1, characterized in that, The process of receiving the SIP response message from the second terminal in response to the SIP re-invitation and performing communication processing includes: If the SDP response carried in the SIP response message does not include the application data channel media description information for digital human communication, or if the port number in the application data channel media description information for digital human communication is zero, the first terminal and the second terminal continue the voice / video communication of the IMS session.

5. An IMS session handover method, characterized in that, Applied to a first terminal, the method includes: When it is necessary to switch an IMS session from digital human communication to voice / video communication, a SIP re-invitation is sent for the IMS session. The SIP re-invitation includes an SDP proposal. The SDP proposal includes media description information of the voice / video communication to be switched and application data channel media description information of digital human communication, and the port number in the application data channel media description information of digital human communication is zero. Receive the SIP response message from the second terminal in response to the SIP re-invitation, and perform communication processing.

6. The method according to claim 5, characterized in that, The SIP response message includes media description information for the voice / video communication; The process of receiving the SIP response message from the second terminal in response to the SIP re-invitation and performing communication processing includes: Stop transmitting the digital human media stream of the IMS session; Send the real video stream from the first terminal, or receive the real video stream from the second terminal.

7. An IMS session handover method, characterized in that, Applied to a second terminal, the method includes: Receive the first terminal's SIP re-invitation for the IMS session; Communication processing is performed based on the SDP proposal included in the SIP re-invitation.

8. The method according to claim 7, characterized in that, The communication processing based on the SDP proposal included in the SIP re-invitation includes: When the SDP proposal includes application data channel media description information for digital human communication, if the switch from voice / video communication to digital human communication is accepted, a SIP response message for the SIP re-invitation is sent. The SIP response message carries an SDP response, which includes at least the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero.

9. The method according to claim 7, characterized in that, The communication processing based on the SDP proposal included in the SIP re-invitation includes: When the SDP proposal includes application data channel media description information for digital human communication, if the switch from voice / video communication to digital human communication is refused, a SIP response message for the SIP re-invitation is sent. The SIP response message carries an SDP response, which includes at least the application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is zero.

10. The method according to claim 7, characterized in that, The communication processing based on the SDP proposal included in the SIP re-invitation includes: When the SDP proposal does not include application data channel media description information for digital human communication, a SIP response message is sent in response to the SIP re-invitation. The SIP response message carries an SDP response, which includes media description information for voice / video communication.

11. An IMS session handover method, characterized in that, Applied to a second terminal, the method includes: The system receives a SIP re-invitation from the first terminal for the IMS session. The SIP re-invitation carries an SDP proposal, which includes media description information for the voice / video communication to be switched and media description information for the application data channel of the digital human communication. The port number in the application data channel media description information of the digital human communication is zero. Send a SIP response message in response to the SIP re-invitation, the SIP response message containing an SDP response, the SDP response including media description information for voice / video communication.

12. The method according to claim 11, characterized in that, The SIP response message is either an 18x message or a 2xx message.

13. An IMS session handover method, characterized in that, Applied to IMS application server network elements, the method includes: The system receives a SIP re-invitation from the first terminal for an IMS session, modifies the SDP proposal carried in the SIP re-invitation, and forwards the SIP re-invitation with the modified SDP proposal.

14. The method according to claim 13, characterized in that, Before modifying the SIP re-invitation carrying the SDP proposal, the following are also included: If the SDP proposal includes application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is non-zero, determine whether the first terminal or the second terminal has IMS data channel permissions based on local policies or subscription data.

15. The method according to claim 14, characterized in that, Modifying the SDP proposal carried in the SIP re-invitation includes: If it is determined that the first terminal or the second terminal does not have IMS data channel permissions, then the application data channel media description information for digital human communication in the SDP proposal is deleted.

16. The method according to claim 14, characterized in that, The method further includes: If it is determined that the first terminal or the second terminal has IMS data channel permissions, the data channel signaling function (DCSF) network element is notified of the media change event of the IMS session, and the data channel media function (MF) network element is instructed to determine the allocation of digital human communication data channel media resources.

17. The method according to claim 13, characterized in that, Before modifying the SIP re-invitation carrying the SDP proposal, the following are also included: If the SDP proposal includes application data channel media description information for digital human communication, and the port number in the application data channel media description information for digital human communication is zero, notify the data channel signaling function DCSF network element about the media change event of the IMS session, and instruct the data channel media function MF network element to release the application data channel media resources for digital human communication.

18. An IMS session handover method, characterized in that, Applied to IMS application server network elements, the method includes: Receive a SIP response message from the second terminal in response to a SIP re-invitation, modify the SDP response in the SIP response message, and forward the SIP response message after modifying the SDP response.

19. The method according to claim 18, characterized in that, Before modifying the SDP response in the SIP response message, the following is also included: If the SDP response includes application data channel media description information for digital human communication, and the port number in the application data channel media information for digital human communication is non-zero, the data channel signaling function DCSF network element is notified of the successful media change event for the IMS session, and the data channel media function MF network element is instructed to update the application data channel media resources for digital human communication.

20. The method according to claim 18, characterized in that, Before modifying the SDP response in the SIP response message, the following is also included: If the SDP response includes application data channel media description information for digital human communication, and the port number in the application data channel media information for digital human communication is zero, the data channel signaling function DCSF network element is notified of the media change failure event of the IMS session, and the data channel media function MF network element is instructed to release the application data channel media resources for digital human communication.

21. The method according to claim 18, characterized in that, Before modifying the SDP response in the SIP response message, the following is also included: If the SDP response does not include the application data channel media description information for digital human communication, and the data channel media function (MF) network element has been instructed to determine the allocation of digital human communication data channel media resources, the data channel signaling function (DCSF) network element is notified of the media change failure event of the IMS session, and the data channel media function (MF) network element is instructed to release the application data channel media resources for digital human communication.

22. An IMS session switching device, characterized in that, Applied to a first terminal, the device includes: The message sending module is used to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from voice / video communication to digital human communication. The SIP re-invitation carries an SDP proposal. The SDP proposal includes at least the application data channel media description information of the digital human communication to which the IMS session is to be switched. The message processing module is used to receive the SIP response message from the second terminal in response to the SIP re-invitation and to perform communication processing.

23. An IMS session switching device, characterized in that, Applied to a first terminal, the device includes: The sending module is used to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from digital human communication to voice / video communication. The SIP re-invitation includes an SDP proposal. The SDP proposal includes media description information of the voice / video communication to be switched and application data channel media description information of digital human communication, and the port number in the application data channel media description information of digital human communication is zero. The processing module is used to receive the SIP response message from the second terminal in response to the SIP re-invitation and to perform communication processing.

24. An IMS session switching device, characterized in that, Applied to a second terminal, the device includes: The message receiving module is used to receive the SIP re-invitation from the first terminal for the IMS session; The proposal processing module is used to perform communication processing based on the SDP proposal contained in the SIP re-invitation.

25. An IMS session switching device, characterized in that, Applied to a second terminal, the device includes: The proposal receiving module is used to receive a SIP re-invitation from the first terminal for an IMS session. The SIP re-invitation carries an SDP proposal, which includes media description information for the voice / video communication to be switched and media description information for the application data channel of the digital human communication. The port number in the application data channel media description information of the digital human communication is zero. The response sending module is used to send a SIP response message in response to the SIP re-invitation. The SIP response message includes an SDP response, which includes media description information for voice / video communication.

26. An IMS session switching device, characterized in that, The device, applied to IMS application server network elements, includes: The forwarding module is modified to receive a SIP re-invitation from the first terminal for an IMS session, modify the SDP proposal carried in the SIP re-invitation, and forward the SIP re-invitation after modifying the SDP proposal.

27. An IMS session switching device, characterized in that, The device, applied to IMS application server network elements, includes: The receiving and modification module is used to receive the SIP response message of the second terminal in response to the SIP re-invitation, modify the SDP response in the SIP response message, and forward the SIP response message after modifying the SDP response.

28. A communication device, characterized in that, include: Transmitter, processor, and receiver; The processor is configured to control the transmitter to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from voice / video communication to digital human communication. The SIP re-invitation carries an SDP proposal. The SDP proposal includes at least the application data channel media description information of the digital human communication to which the IMS session is to be switched. The processor is also configured to control the receiver to receive the SIP response message from the second terminal in response to the SIP re-invitation, and to perform communication processing.

29. A communication device, characterized in that, include: Transmitter, processor, and receiver; The processor is configured to send a SIP re-invitation for the IMS session when it is necessary to switch the IMS session from digital human communication to voice / video communication. The SIP re-invitation includes an SDP proposal. The SDP proposal includes media description information of the voice / video communication to be switched and application data channel media description information of digital human communication, and the port number in the application data channel media description information of digital human communication is zero. The processor is also configured to control the receiver to receive the SIP response message from the second terminal in response to the SIP re-invitation, and to perform communication processing.

30. A communication device, characterized in that, include: Processor and receiver; The receiver is used to receive the SIP re-invitation from the first terminal for the IMS session; The processor is configured to perform communication processing based on the SDP proposal included in the SIP re-invitation.

31. A communication device, characterized in that, include: Transmitter and receiver; The receiver is configured to receive a SIP re-invitation from the first terminal for an IMS session. The SIP re-invitation carries an SDP proposal, which includes media description information for the voice / video communication to be switched and media description information for the application data channel of the digital human communication, wherein the port number in the application data channel media description information of the digital human communication is zero. The transmitter is configured to send a SIP response message in response to the SIP re-invitation, the SIP response message containing an SDP response, the SDP response including media description information for voice / video communication.

32. A communication device, characterized in that, include: Receiver, transmitter, and processor; The processor is configured to control the receiver to receive a SIP re-invitation from the first terminal for an IMS session, modify the SDP proposal carried in the SIP re-invitation, and control the transmitter to forward the SIP re-invitation after modifying the SDP proposal.

33. A communication device, characterized in that, include: Receiver, transmitter, and processor; The processor is configured to control the receiver to receive the SIP response message from the second terminal in response to the SIP re-invitation, modify the SDP response in the SIP response message, and control the transmitter to forward the SIP response message after the SDP response has been modified.

34. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 21.

35. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 21.