[go: up one dir, main page]

CN118803584A - A request processing method, device, equipment and readable storage medium - Google Patents

A request processing method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN118803584A
CN118803584A CN202311466776.8A CN202311466776A CN118803584A CN 118803584 A CN118803584 A CN 118803584A CN 202311466776 A CN202311466776 A CN 202311466776A CN 118803584 A CN118803584 A CN 118803584A
Authority
CN
China
Prior art keywords
message
new call
application side
terminal
network function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311466776.8A
Other languages
Chinese (zh)
Inventor
刘悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202311466776.8A priority Critical patent/CN118803584A/en
Publication of CN118803584A publication Critical patent/CN118803584A/en
Priority to PCT/CN2024/127729 priority patent/WO2025098176A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种请求处理方法、装置、设备及可读存储介质,涉及通信技术领域,以建立应用侧和终端之间的新通话。该方法包括:接收第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话;根据所述第一消息建立应用侧与终端之间的新通话。本申请实施例可以建立应用侧和终端之间的新通话。

The present application discloses a request processing method, device, equipment and readable storage medium, which relates to the field of communication technology, to establish a new call between an application side and a terminal. The method includes: receiving a first message, wherein the first message is used to request to establish a new call between the application side and the terminal; and establishing a new call between the application side and the terminal according to the first message. The embodiment of the present application can establish a new call between the application side and the terminal.

Description

一种请求处理方法、装置、设备及可读存储介质A request processing method, device, equipment and readable storage medium

技术领域Technical Field

本申请涉及通信技术领域,尤其涉及一种请求处理方法、装置、设备及可读存储介质。The present application relates to the field of communication technology, and in particular to a request processing method, device, equipment and readable storage medium.

背景技术Background Art

5G新通话是基于5G网络的超清语音通话、视频通话业务及相关增值业务,如5G超清视话、5G视频客服、无障碍通信功能、屏幕共享、远程协作、AR趣味通话等功能,可为用户提供可视化、多媒体、高感知的超清通话体验。5G新通话基于IMS(IP MultimediaSubsystem,IP多媒体子系统)Data Channel(简称DC,数据通道)技术视线,在SDP(SessionDescription Protocol,会话描述协议)协商过程中增加DC协商,DC可与通话音视频流同时存在,并为数据交互提供基础能力。现有规范中定义了IMSData Channel中主要传输内容为Web Page(网页)和Script(脚本),以解决IMS网络内通话交互业务能力欠缺的问题。新通话网络系统架构则支持了在IMS网络中如何实现两个终端之间建立新通话的流程。5G New Call is an ultra-clear voice call, video call service and related value-added services based on the 5G network, such as 5G ultra-clear video call, 5G video customer service, barrier-free communication function, screen sharing, remote collaboration, AR fun call and other functions, which can provide users with visual, multimedia, and highly perceived ultra-clear call experience. 5G New Call is based on the IMS (IP Multimedia Subsystem) Data Channel (DC for short) technology vision, and adds DC negotiation during the SDP (Session Description Protocol) negotiation process. DC can exist simultaneously with the call audio and video streams and provide basic capabilities for data interaction. The existing specifications define the main transmission content in the IMS Data Channel as Web Page (webpage) and Script (script) to solve the problem of lack of call interaction service capabilities in the IMS network. The new call network system architecture supports how to implement the process of establishing a new call between two terminals in the IMS network.

现有技术方案,例如skype等,一般采用网关方式,将通话转化为自身应用私有协议,或采用网页实时通信(Web Real-Time Communication,Webrtc)方案,采用初始会话协议(Session initialization Protocol,SIP)/Webrtc转化网关实现与应用侧互通。现有支持与应用侧的通话一般均为普通音频通话,或支持视频通话,但均不支持应用侧(如网页、APP、不支持IMS的第三方应用服务器等)与终端建立新通话。Existing technical solutions, such as Skype, generally use a gateway to convert calls into their own application private protocols, or use a Web Real-Time Communication (Webrtc) solution, using the Session Initialization Protocol (SIP)/Webrtc conversion gateway to achieve intercommunication with the application side. Existing calls supported with the application side are generally ordinary audio calls, or support video calls, but do not support the application side (such as web pages, APPs, third-party application servers that do not support IMS, etc.) to establish new calls with the terminal.

发明内容Summary of the invention

本申请实施例提供一种请求处理方法、装置、设备及可读存储介质,以建立应用侧和终端之间的新通话。Embodiments of the present application provide a request processing method, apparatus, device, and readable storage medium to establish a new call between an application side and a terminal.

第一方面,本申请实施例提供了一种请求处理方法,应用于网络功能,包括:In a first aspect, an embodiment of the present application provides a request processing method, which is applied to a network function, including:

接收第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话;Receiving a first message, wherein the first message is used to request to establish a new call between the application side and the terminal;

根据所述第一消息建立应用侧与终端之间的新通话。A new call is established between the application side and the terminal according to the first message.

可选的,所述第一消息为应用侧发送的第一消息;其中,所述第一消息包括以下一项或多项:Optionally, the first message is a first message sent by the application side; wherein the first message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述方法还包括:Optionally, the method further includes:

向所述应用侧发送第二消息,其中,所述第二消息用于指示所述第一消息是否成功。Send a second message to the application side, wherein the second message is used to indicate whether the first message is successful.

可选的,所述方法还包括:Optionally, the method further includes:

向第一网元发送本次新通话的业务配置信息;接收所述第一网元发送的第三消息;Sending service configuration information of the new call to the first network element; receiving a third message sent by the first network element;

或者,or,

根据所述应用侧的订阅信息,确定本次新通话中所述应用侧候选使用的小程序的信息。According to the subscription information of the application side, information of the candidate mini-programs used by the application side in this new call is determined.

可选的,所述根据所述第一消息建立应用侧与终端之间的新通话,包括:Optionally, establishing a new call between the application side and the terminal according to the first message includes:

向新通话使用的IP多媒体子系统(IP Multimedia Subsystem,IMS)发送邀请(INVITE)消息,其中,所述INVITE消息用于建立应用侧与终端之间的新通话。An INVITE message is sent to an IP Multimedia Subsystem (IMS) used for the new call, wherein the INVITE message is used to establish a new call between the application side and the terminal.

可选的,所述INVITE消息包括以下一项或多项:Optionally, the INVITE message includes one or more of the following:

所述应用侧在新通话IMS内的可路由标识;The routable identifier of the application side in the new call IMS;

本次新通话的会话描述协议(Session Description Protocol,SDP)信息;Session Description Protocol (SDP) information for this new call;

被叫标识。ID of the called party.

可选的,所述方法还包括:Optionally, the method further includes:

接收新通话使用的IMS发送的第四消息,其中,所述第四消息包括SDP信息;receiving a fourth message sent by the IMS used for the new call, wherein the fourth message includes SDP information;

根据所述第四消息生成第一信息;Generate first information according to the fourth message;

向所述应用侧发送第五消息,其中,所述第五消息包括所述第一信息;Sending a fifth message to the application side, wherein the fifth message includes the first information;

执行小程序列表和/或小程序下载流程。Execute the applet list and/or applet download process.

可选的,所述第一信息包括以下一项或多项:Optionally, the first information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述第一消息为新通话使用的IMS发送的第一消息,所述第一消息包括本次新通话的SDP信息。Optionally, the first message is a first message sent by an IMS used for a new call, and the first message includes SDP information of the new call.

可选的,所述根据所述第一消息建立应用侧与终端之间的新通话,包括:Optionally, establishing a new call between the application side and the terminal according to the first message includes:

根据所述第一消息生成第二信息;generating second information according to the first message;

向所述应用侧发送第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括所述第二信息;Sending a fourteenth message to the application side, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes the second information;

接收所述应用侧发送的第六消息,其中,所述第六消息用于指示本次新通话建立的结果。Receive a sixth message sent by the application side, wherein the sixth message is used to indicate a result of establishing the new call.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述应用侧的第七消息,其中,所述第七消息用于指示所述第一消息是否成功。Receive a seventh message from the application side, wherein the seventh message is used to indicate whether the first message is successful.

可选的,所述第二信息包括以下一项或多项:Optionally, the second information includes one or more of the following:

主叫终端的标识;The identification of the calling terminal;

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述第六消息包括以下一项或多项:Optionally, the sixth message includes one or more of the following:

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述方法还包括:Optionally, the method further includes:

向第一网元发送所述本次新通话的业务配置信息。Send the service configuration information of the new call to the first network element.

可选的,所述方法还包括:Optionally, the method further includes:

与归属网络进行数据通道相关事件通知和媒体预留;Notify the home network of data channel related events and make media reservations;

向所述新通话使用的IMS发送第八消息,其中,所述第八消息包括SDP信息;Sending an eighth message to the IMS used by the new call, wherein the eighth message includes SDP information;

执行小程序列表和/或小程序下载流程。Execute the applet list and/or applet download process.

可选的,所述方法还包括:Optionally, the method further includes:

向所述应用侧发送呼叫建立过程事件。Sending a call establishment process event to the application side.

可选的,所述方法还包括:Optionally, the method further includes:

接收第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道;receiving a fifteenth message, wherein the fifteenth message is used to request to establish an application data channel between the application side and the terminal;

根据所述第十五消息建立所述应用侧与所述终端之间的应用数据通道。An application data channel is established between the application side and the terminal according to the fifteenth message.

可选的,所述第十五消息为所述应用侧发送的第十五消息;其中,所述第十五消息包括以下一项或多项:Optionally, the fifteenth message is the fifteenth message sent by the application side; wherein the fifteenth message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址;Call event notification address;

会话标识。Session ID.

可选的,所述方法还包括:Optionally, the method further includes:

向所述应用侧发送第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。A ninth message is sent to the application side, wherein the ninth message is used to indicate whether the fifteenth message is successful.

可选的,所述根据所述第十五消息建立所述应用侧与所述终端之间的应用数据通道,包括:Optionally, establishing an application data channel between the application side and the terminal according to the fifteenth message includes:

向新通话使用的IMS发送重新邀请(re-INVITE)消息,其中,所述re-INVITE消息用于建立所述应用侧与所述终端之间的应用数据通道。A re-INVITE message is sent to the IMS used for the new call, wherein the re-INVITE message is used to establish an application data channel between the application side and the terminal.

可选的,所述re-INVITE消息包括以下一项或多项:Optionally, the re-INVITE message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

本次新通话的SDP信息;SDP information for this new call;

会话标识。Session ID.

可选的,所述应用侧在新通话使用的IMS内的可路由标识是由所述网络功能根据第一对应关系确定的,所述第一对应关系为应用侧的标识与新通话使用的IMS内的可路由标识之间的对应关系。Optionally, the routable identifier in the IMS used by the application side for the new call is determined by the network function according to a first corresponding relationship, where the first corresponding relationship is a corresponding relationship between the identifier of the application side and the routable identifier in the IMS used for the new call.

可选的,所述方法还包括:Optionally, the method further includes:

接收新通话使用的IMS发送的第十消息,其中,所述第十消息包括SDP信息;receiving a tenth message sent by the IMS used for the new call, wherein the tenth message includes SDP information;

根据所述第十消息生成第三信息;generating third information according to the tenth message;

向所述应用侧发送第十一消息,其中,所述第十一消息包括所述第三信息,用于指示所述应用数据通道建立的结果;Sending an eleventh message to the application side, wherein the eleventh message includes the third information and is used to indicate a result of establishing the application data channel;

建立与所述终端之间的应用数据通道。An application data channel is established with the terminal.

可选的,所述第十五消息为新通话使用的IMS发送的第十五消息,所述第十五消息包括本次新通话的SDP信息。Optionally, the fifteenth message is the fifteenth message sent by the IMS used for the new call, and the fifteenth message includes SDP information of the new call.

可选的,所述根据所述第十五消息建立所述应用侧与所述终端之间的应用数据通道,包括:Optionally, establishing an application data channel between the application side and the terminal according to the fifteenth message includes:

根据所述第十五消息生成第四信息;Generate fourth information according to the fifteenth message;

向所述应用侧发送第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括所述第四信息;Sending a sixteenth message to the application side, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

接收所述应用侧发送的第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。A twelfth message sent by the application side is received, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述应用侧发送的第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;receiving a seventeenth message sent by the application side, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

将所述第十七消息映射为SIP BYE,并向所述终端发送所述SIP BYE;Mapping the seventeenth message into a SIP BYE, and sending the SIP BYE to the terminal;

接收所述终端发送的响应,将所述响应映射为响应,并向所述应用侧发送所述响应。A response sent by the terminal is received, the response is mapped into a response, and the response is sent to the application side.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述终端发送的初始会话协议(Session initialization Protocol,SIP)再见(BYE),将所述SIP BYE映射为第五消息,并向所述应用侧发送所述第五消息;receiving a Session Initialization Protocol (SIP) BYE sent by the terminal, mapping the SIP BYE into a fifth message, and sending the fifth message to the application side;

接收所述应用侧发送的响应,将所述响应映射为SIP响应,并向所述终端发送所述SIP响应。A response sent by the application side is received, the response is mapped into a SIP response, and the SIP response is sent to the terminal.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述应用侧发送的第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;receiving an eighteenth message sent by the application side, wherein the eighteenth message is used to query a new call between the application side and the terminal;

向所述应用侧发送第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。A thirteenth message is sent to the application side, wherein the thirteenth message is used to indicate a query result of the new call.

第二方面,本申请实施例还提供了一种请求处理方法,应用于应用侧,包括:In a second aspect, the embodiment of the present application further provides a request processing method, which is applied to the application side, including:

向网络功能发送第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话。A first message is sent to a network function, wherein the first message is used to request establishment of a new call between the application side and the terminal.

可选的,所述第一消息包括以下一项或多项:Optionally, the first message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的第二消息,其中,所述第二消息用于指示所述第一消息是否成功。A second message sent by the network function is received, wherein the second message is used to indicate whether the first message is successful.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的第五消息,其中,所述第五消息包括第一信息。A fifth message sent by the network function is received, wherein the fifth message includes the first information.

可选的,所述第一信息包括以下一项或多项:Optionally, the first information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的呼叫建立过程事件。Receive a call establishment process event sent by the network function.

可选的,所述方法还包括:Optionally, the method further includes:

向所述网络功能发送第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道。A fifteenth message is sent to the network function, wherein the fifteenth message is used to request establishment of an application data channel between the application side and the terminal.

可选的,所述第十五消息包括以下一项或多项:Optionally, the fifteenth message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。A ninth message sent by the network function is received, wherein the ninth message is used to indicate whether the fifteenth message is successful.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的第十一消息,其中,所述第十一消息用于指示所述应用数据通道建立的结果。An eleventh message sent by the network function is received, wherein the eleventh message is used to indicate a result of establishing the application data channel.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息;receiving a sixteenth message sent by the network function, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。A twelfth message is sent to the network function, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述方法还包括:Optionally, the method further includes:

向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;Sending a seventeenth message to the network function, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

接收所述网络功能发送的响应。A response sent by the network function is received.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的第五消息,并向所述网络功能发送响应。receiving a fifth message sent by the network function, and sending a response to the network function.

可选的,所述方法还包括:Optionally, the method further includes:

向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;Sending an eighteenth message to the network function, wherein the eighteenth message is used to query a new call between the application side and the terminal;

接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。Receive a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate a query result of the new call.

第三方面,本申请实施例提供了一种请求处理方法,应用于应用侧,包括::In a third aspect, an embodiment of the present application provides a request processing method, which is applied to an application side, including:

接收网络功能发送的第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括第二信息;receiving a fourteenth message sent by the network function, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes the second information;

向所述网络功能发送第六消息,其中,所述第六消息用于指示本次新通话建立的结果。Send a sixth message to the network function, wherein the sixth message is used to indicate a result of establishing the new call.

可选的,所述方法还包括:Optionally, the method further includes:

向所述网络功能发送第七消息,其中,所述第七消息用于指示所述第十四消息是否成功。Sending a seventh message to the network function, wherein the seventh message is used to indicate whether the fourteenth message is successful.

可选的,所述第二信息包括以下一项或多项:Optionally, the second information includes one or more of the following:

主叫终端的标识;The identification of the calling terminal;

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的呼叫建立过程事件。Receive a call establishment process event sent by the network function.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息;receiving a sixteenth message sent by the network function, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。A twelfth message is sent to the network function, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述方法还包括:Optionally, the method further includes:

向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;Sending a seventeenth message to the network function, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

接收所述网络功能发送的响应。A response sent by the network function is received.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的第五消息,并向所述网络功能发送响应。receiving a fifth message sent by the network function, and sending a response to the network function.

可选的,所述方法还包括:Optionally, the method further includes:

向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;Sending an eighteenth message to the network function, wherein the eighteenth message is used to query a new call between the application side and the terminal;

接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。Receive a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate a query result of the new call.

第四方面,本申请实施例还提供了一种请求处理方法,应用于新通话使用的IMS,包括:In a fourth aspect, an embodiment of the present application further provides a request processing method, which is applied to an IMS used for a new call, comprising:

向网络功能发送第一消息,其中,所述第一消息用于请求建立终端与应用侧之间的新通话。A first message is sent to a network function, wherein the first message is used to request establishment of a new call between the terminal and the application side.

可选的,所述第一消息包括本次新通话的SDP信息。Optionally, the first message includes SDP information of the new call.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的第八消息,其中,所述第八消息包括SDP信息。An eighth message sent by the network function is received, wherein the eighth message includes SDP information.

第五方面,本申请实施例还提供了一种请求处理方法,应用于终端,包括:In a fifth aspect, an embodiment of the present application further provides a request processing method, which is applied to a terminal, comprising:

向新通话使用的IMS发送INVITE请求,用于所述新通话使用的IMS向网络功能发送第一消息;Sending an INVITE request to an IMS used for the new call, whereby the IMS used for the new call sends a first message to a network function;

其中,所述INVITE请求包括本次新通话的SDP信息,所述第一消息用于请求建立终端与应用侧之间的新通话。The INVITE request includes the SDP information of the new call, and the first message is used to request to establish a new call between the terminal and the application side.

可选的,所述方法还包括:Optionally, the method further includes:

接收所述网络功能发送的SIP BYE,并向所述网络功能发送响应。Receive the SIP BYE sent by the network function, and send a response to the network function.

可选的,所述方法还包括:Optionally, the method further includes:

向所述网络功能发送SIP BYE,并接收所述网络功能发送的SIP响应。Send a SIP BYE to the network function, and receive a SIP response sent by the network function.

第六方面,本申请实施例还提供了一种请求处理装置,应用于网络功能,包括:In a sixth aspect, an embodiment of the present application further provides a request processing device, applied to a network function, including:

第一接收模块,用于接收第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话;A first receiving module, configured to receive a first message, wherein the first message is used to request to establish a new call between the application side and the terminal;

第一处理模块,用于根据所述第一消息建立应用侧与终端之间的新通话。The first processing module is used to establish a new call between the application side and the terminal according to the first message.

可选的,所述第一消息为应用侧发送的第一消息;其中,所述第一消息包括以下一项或多项:Optionally, the first message is a first message sent by the application side; wherein the first message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述装置还包括:Optionally, the device further comprises:

第一发送模块,用于向所述应用侧发送第二消息,其中,所述第二消息用于指示所述第一消息是否成功。The first sending module is used to send a second message to the application side, wherein the second message is used to indicate whether the first message is successful.

可选的,所述装置还包括:Optionally, the device further comprises:

第二发送模块,用于向第一网元发送本次新通话的业务配置信息;接收所述第一网元发送的第三消息;A second sending module, configured to send service configuration information of the new call to the first network element; and receive a third message sent by the first network element;

或者,or,

第二处理模块,用于根据所述应用侧的订阅信息,确定本次新通话中所述应用侧候选使用的小程序的信息。The second processing module is used to determine the information of the candidate mini-programs used by the application side in this new call according to the subscription information of the application side.

可选的,所述第一处理模块还用于:Optionally, the first processing module is further used for:

向新通话使用的IP多媒体子系统IMS发送邀请INVITE消息,其中,所述INVITE消息用于建立应用侧与终端之间的新通话。An invitation INVITE message is sent to the IP Multimedia Subsystem IMS used for the new call, wherein the INVITE message is used to establish a new call between the application side and the terminal.

可选的,所述INVITE消息包括以下一项或多项:Optionally, the INVITE message includes one or more of the following:

所述应用侧在新通话IMS内的可路由标识;The routable identifier of the application side in the new call IMS;

本次新通话的会话描述协议SDP信息;Session Description Protocol (SDP) information for this new call;

被叫标识。ID of the called party.

可选的,所述装置还包括:Optionally, the device further comprises:

第二接收模块,用于接收新通话使用的IMS发送的第四消息,其中,所述第四消息包括SDP信息;A second receiving module, configured to receive a fourth message sent by the IMS used for the new call, wherein the fourth message includes SDP information;

第一生成模块,用于根据所述第四消息生成第一信息;A first generating module, configured to generate first information according to the fourth message;

第三发送模块,用于向所述应用侧发送第五消息,其中,所述第五消息包括所述第一信息;a third sending module, configured to send a fifth message to the application side, wherein the fifth message includes the first information;

第三处理模块,用于执行小程序列表和/或小程序下载流程。The third processing module is used to execute the mini-program list and/or mini-program download process.

可选的,所述第一信息包括以下一项或多项:Optionally, the first information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述第一消息为新通话使用的IMS发送的第一消息,所述第一消息包括本次新通话的SDP信息。Optionally, the first message is a first message sent by an IMS used for a new call, and the first message includes SDP information of the new call.

可选的,所述第一处理模块还用于:Optionally, the first processing module is further used for:

根据所述第一消息生成第二信息;generating second information according to the first message;

向所述应用侧发送第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括所述第二信息;Sending a fourteenth message to the application side, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes the second information;

接收所述应用侧发送的第六消息,其中,所述第六消息用于指示本次新通话建立的结果。Receive a sixth message sent by the application side, wherein the sixth message is used to indicate a result of establishing the new call.

可选的,所述装置还包括:Optionally, the device further comprises:

第三接收模块,用于接收所述应用侧的第七消息,其中,所述第七消息用于指示所述第一消息是否成功。The third receiving module is used to receive a seventh message from the application side, wherein the seventh message is used to indicate whether the first message is successful.

可选的,所述第二信息包括以下一项或多项:Optionally, the second information includes one or more of the following:

主叫终端的标识;The identification of the calling terminal;

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述第六消息包括以下一项或多项:Optionally, the sixth message includes one or more of the following:

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述装置还包括:Optionally, the device further comprises:

第四发送模块,用于向第一网元发送所述本次新通话的业务配置信息。The fourth sending module is used to send the service configuration information of the new call to the first network element.

可选的,所述装置还包括:Optionally, the device further comprises:

第五处理模块,用于与归属网络进行数据通道相关事件通知和媒体预留;A fifth processing module, configured to perform data channel related event notification and media reservation with the home network;

第五发送模块,用于向所述新通话使用的IMS发送第八消息,其中,所述第八消息包括SDP信息;a fifth sending module, configured to send an eighth message to the IMS used for the new call, wherein the eighth message includes SDP information;

第六处理模块,用于执行小程序列表和/或小程序下载流程。The sixth processing module is used to execute the mini-program list and/or mini-program download process.

可选的,所述装置还包括:Optionally, the device further comprises:

第五发送模块,用于向所述应用侧发送呼叫建立过程事件。The fifth sending module is used to send a call establishment process event to the application side.

可选的,所述装置还包括:Optionally, the device further comprises:

第四接收模块,用于接收第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道;a fourth receiving module, configured to receive a fifteenth message, wherein the fifteenth message is used to request establishment of an application data channel between the application side and the terminal;

第八处理模块,用于根据所述第十五消息建立所述应用侧与所述终端之间的应用数据通道。An eighth processing module is used to establish an application data channel between the application side and the terminal according to the fifteenth message.

可选的,所述第十五消息为所述应用侧发送的第十五消息;其中,所述第十五消息包括以下一项或多项:Optionally, the fifteenth message is the fifteenth message sent by the application side; wherein the fifteenth message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址;Call event notification address;

会话标识。Session ID.

可选的,所述装置还包括:Optionally, the device further comprises:

第六发送模块,用于向所述应用侧发送第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。The sixth sending module is used to send a ninth message to the application side, wherein the ninth message is used to indicate whether the fifteenth message is successful.

可选的,所述第八处理模块还用于:Optionally, the eighth processing module is further used for:

向新通话使用的IMS发送重新邀请re-INVITE消息,其中,所述re-INVITE消息用于建立所述应用侧与所述终端之间的应用数据通道。A re-INVITE message is sent to the IMS used for the new call, wherein the re-INVITE message is used to establish an application data channel between the application side and the terminal.

可选的,所述re-INVITE消息包括以下一项或多项:Optionally, the re-INVITE message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

本次新通话的SDP信息;SDP information for this new call;

会话标识。Session ID.

可选的,所述应用侧在新通话使用的IMS内的可路由标识是由所述网络功能根据第一对应关系确定的,所述第一对应关系为应用侧的标识与新通话使用的IMS内的可路由标识之间的对应关系。Optionally, the routable identifier in the IMS used by the application side for the new call is determined by the network function according to a first corresponding relationship, where the first corresponding relationship is a corresponding relationship between the identifier of the application side and the routable identifier in the IMS used for the new call.

可选的,所述装置还包括:Optionally, the device further comprises:

第五接收模块,用于接收新通话使用的IMS发送的第十消息,其中,所述第十消息包括SDP信息;a fifth receiving module, configured to receive a tenth message sent by the IMS used for the new call, wherein the tenth message includes SDP information;

第二生成模块,用于根据所述第十消息生成第三信息;A second generating module, used to generate third information according to the tenth message;

第七发送模块,用于向所述应用侧发送第十一消息,其中,所述第十一消息包括所述第三信息,用于指示所述应用数据通道建立的结果;a seventh sending module, configured to send an eleventh message to the application side, wherein the eleventh message includes the third information and is configured to indicate a result of establishing the application data channel;

第九处理模块,用于建立与所述终端之间的应用数据通道。The ninth processing module is used to establish an application data channel with the terminal.

可选的,所述第十五消息为新通话使用的IMS发送的第十五消息,所述第十五消息包括本次新通话的SDP信息。Optionally, the fifteenth message is the fifteenth message sent by the IMS used for the new call, and the fifteenth message includes SDP information of the new call.

可选的,所述第八处理模块还用于:Optionally, the eighth processing module is further used for:

根据所述第十五消息生成第四信息;Generate fourth information according to the fifteenth message;

向所述应用侧发送第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括所述第四信息;Sending a sixteenth message to the application side, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

接收所述应用侧发送的第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。A twelfth message sent by the application side is received, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述装置还包括:Optionally, the device further comprises:

第六接收模块,用于接收所述应用侧发送的第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;a sixth receiving module, configured to receive a seventeenth message sent by the application side, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

第一映射模块,用于将所述第十七消息映射为SIP BYE,并向所述终端发送所述SIP BYE;A first mapping module, configured to map the seventeenth message into a SIP BYE, and send the SIP BYE to the terminal;

第七接收模块,用于接收所述终端发送的响应,将所述响应映射为响应,并向所述应用侧发送所述响应。The seventh receiving module is used to receive the response sent by the terminal, map the response into a response, and send the response to the application side.

可选的,所述装置还包括:Optionally, the device further comprises:

第八接收模块,用于接收所述终端发送的SIP BYE,将所述SIP BYE映射为第五消息,并向所述应用侧发送所述第五消息;an eighth receiving module, configured to receive the SIP BYE sent by the terminal, map the SIP BYE into a fifth message, and send the fifth message to the application side;

第二映射模块,用于接收所述应用侧发送的响应,将所述响应映射为SIP响应,并向所述终端发送所述SIP响应。The second mapping module is used to receive the response sent by the application side, map the response into a SIP response, and send the SIP response to the terminal.

可选的,所述装置还包括:Optionally, the device further comprises:

第九接收模块,用于接收所述应用侧发送的第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;a ninth receiving module, configured to receive an eighteenth message sent by the application side, wherein the eighteenth message is used to query a new call between the application side and the terminal;

第八发送模块,用于向所述应用侧发送第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。An eighth sending module is used to send a thirteenth message to the application side, wherein the thirteenth message is used to indicate the query result of the new call.

第七方面,本申请实施例还提供了一种请求处理装置,应用于应用侧,包括:In a seventh aspect, an embodiment of the present application further provides a request processing device, which is applied to an application side, including:

第一发送模块,用于向网络功能发送第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话。The first sending module is used to send a first message to the network function, wherein the first message is used to request to establish a new call between the application side and the terminal.

可选的,所述第一消息包括以下一项或多项:Optionally, the first message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述装置还包括:Optionally, the device further comprises:

第一接收模块,用于接收所述网络功能发送的第二消息,其中,所述第二消息用于指示所述第一消息是否成功。The first receiving module is used to receive a second message sent by the network function, wherein the second message is used to indicate whether the first message is successful.

可选的,所述装置还包括:Optionally, the device further comprises:

第二接收模块,用于接收所述网络功能发送的第五消息,其中,所述第五消息包括第一信息。The second receiving module is used to receive a fifth message sent by the network function, wherein the fifth message includes the first information.

可选的,所述第一信息包括以下一项或多项:Optionally, the first information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述装置还包括:Optionally, the device further comprises:

第三接收模块,用于接收所述网络功能发送的呼叫建立过程事件。The third receiving module is used to receive a call establishment process event sent by the network function.

可选的,所述装置还包括:Optionally, the device further comprises:

第二发送模块,用于向所述网络功能发送第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道。The second sending module is used to send a fifteenth message to the network function, wherein the fifteenth message is used to request to establish an application data channel between the application side and the terminal.

可选的,所述第十五消息包括以下一项或多项:Optionally, the fifteenth message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述装置还包括:Optionally, the device further comprises:

第四接收模块,用于接收所述网络功能发送的第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。The fourth receiving module is used to receive a ninth message sent by the network function, wherein the ninth message is used to indicate whether the fifteenth message is successful.

可选的,所述装置还包括:Optionally, the device further comprises:

第五接收模块,用于接收所述网络功能发送的第十一消息,其中,所述第十一消息用于指示所述应用数据通道建立的结果。A fifth receiving module is used to receive an eleventh message sent by the network function, wherein the eleventh message is used to indicate a result of establishing the application data channel.

可选的,所述装置还包括:Optionally, the device further comprises:

第六接收模块,用于接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息;a sixth receiving module, configured to receive a sixteenth message sent by the network function, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

第三发送模块,用于向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。The third sending module is used to send a twelfth message to the network function, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述装置还包括:Optionally, the device further comprises:

第四发送模块,用于向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;a fourth sending module, configured to send a seventeenth message to the network function, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

第七接收模块,用于接收所述网络功能发送的响应。The seventh receiving module is used to receive a response sent by the network function.

第八接收模块,用于接收所述网络功能发送的第五消息,并向所述网络功能发送响应。An eighth receiving module is used to receive a fifth message sent by the network function and send a response to the network function.

第五发送模块,用于向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;a fifth sending module, configured to send an eighteenth message to the network function, wherein the eighteenth message is used to query a new call between the application side and the terminal;

第九接收模块,用于接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。A ninth receiving module is used to receive a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate a query result of the new call.

第八方面,本申请实施例还提供了一种请求处理装置,应用于应用侧,包括:In an eighth aspect, an embodiment of the present application further provides a request processing device, which is applied to an application side, including:

第一接收模块,用于接收网络功能发送的第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括第二信息;A first receiving module, configured to receive a fourteenth message sent by the network function, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes second information;

第一发送模块,用于向所述网络功能发送第六消息,其中,所述第六消息用于指示本次新通话建立的结果。The first sending module is used to send a sixth message to the network function, wherein the sixth message is used to indicate the result of establishing the new call.

可选的,所述装置还可包括:Optionally, the device may further include:

第二发送模块,用于向所述网络功能发送第七消息,其中,所述第七消息用于指示所述第十四消息是否成功。The second sending module is used to send a seventh message to the network function, wherein the seventh message is used to indicate whether the fourteenth message is successful.

可选的,所述第二信息包括以下一项或多项:Optionally, the second information includes one or more of the following:

主叫终端的标识;The identification of the calling terminal;

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述装置还包括:Optionally, the device further comprises:

第二接收模块,用于接收所述网络功能发送的呼叫建立过程事件。The second receiving module is used to receive a call establishment process event sent by the network function.

可选的,所述装置还包括:Optionally, the device further comprises:

第三接收模块,用于接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息;A third receiving module, configured to receive a sixteenth message sent by the network function, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

第三发送模块,用于向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。The third sending module is used to send a twelfth message to the network function, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述装置还包括:Optionally, the device further comprises:

第五发送模块,用于向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;a fifth sending module, configured to send a seventeenth message to the network function, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

第四接收模块,用于接收所述网络功能发送的响应。The fourth receiving module is used to receive a response sent by the network function.

可选的,所述装置还包括:Optionally, the device further comprises:

第五接收模块,接收所述网络功能发送的第五消息,并向所述网络功能发送响应。A fifth receiving module receives a fifth message sent by the network function and sends a response to the network function.

可选的,所述装置还包括:Optionally, the device further comprises:

第六发送模块,用于向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;a sixth sending module, configured to send an eighteenth message to the network function, wherein the eighteenth message is used to query a new call between the application side and the terminal;

第六接收模块,接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。A sixth receiving module receives a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate a query result of the new call.

第九方面,本申请实施例还提供了一种请求处理装置,应用于新通话使用的IMS,包括:In a ninth aspect, an embodiment of the present application further provides a request processing device, which is applied to an IMS used for a new call, including:

第一发送模块,用于向网络功能发送第一消息,其中,所述第一消息用于请求建立终端与应用侧之间的新通话。The first sending module is used to send a first message to the network function, wherein the first message is used to request to establish a new call between the terminal and the application side.

可选的,所述第一消息包括本次新通话的SDP信息。Optionally, the first message includes SDP information of the new call.

可选的,所述装置还包括:Optionally, the device further comprises:

第一接收模块,用于接收所述网络功能发送的第八消息,其中,所述第八消息包括SDP信息。The first receiving module is used to receive an eighth message sent by the network function, wherein the eighth message includes SDP information.

第十方面,本申请实施例还提供了一种请求处理装置,应用于终端,包括:In a tenth aspect, an embodiment of the present application further provides a request processing device, applied to a terminal, comprising:

第一发送模块,用于向新通话使用的IMS发送INVITE请求,用于所述新通话使用的IMS向网络功能发送第一消息;A first sending module, configured to send an INVITE request to an IMS used for a new call, and for the IMS used for the new call to send a first message to a network function;

其中,所述INVITE请求包括本次新通话的SDP信息,所述第一消息用于请求建立终端与应用侧之间的新通话。The INVITE request includes the SDP information of the new call, and the first message is used to request to establish a new call between the terminal and the application side.

可选的,所述装置还包括:Optionally, the device further comprises:

第一接收模块,用于接收所述网络功能发送的SIP BYE,并向所述网络功能发送响应。The first receiving module is used to receive the SIP BYE sent by the network function and send a response to the network function.

可选的,所述装置还包括:Optionally, the device further comprises:

第二发送模块,用于向所述网络功能发送SIP BYE,并接收所述网络功能发送的SIP响应。The second sending module is used to send a SIP BYE to the network function and receive a SIP response sent by the network function.

第十一方面,本申请实施例还提供了一种请求处理装置,应用于网络功能,包括:处理器和收发器;In an eleventh aspect, an embodiment of the present application further provides a request processing device, applied to a network function, comprising: a processor and a transceiver;

所述收发器,用于接收第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话;The transceiver is used to receive a first message, wherein the first message is used to request to establish a new call between the application side and the terminal;

所述处理器,用于根据所述第一消息建立应用侧与终端之间的新通话。The processor is used to establish a new call between the application side and the terminal according to the first message.

可选的,所述第一消息为应用侧发送的第一消息;其中,所述第一消息包括以下一项或多项:Optionally, the first message is a first message sent by the application side; wherein the first message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向所述应用侧发送第二消息,其中,所述第二消息用于指示所述第一消息是否成功。Send a second message to the application side, wherein the second message is used to indicate whether the first message is successful.

可选的,所述处理器还用于:Optionally, the processor is further configured to:

向第一网元发送本次新通话的业务配置信息;接收所述第一网元发送的第三消息;Sending service configuration information of the new call to the first network element; receiving a third message sent by the first network element;

或者,or,

根据所述应用侧的订阅信息,确定本次新通话中所述应用侧候选使用的小程序的信息。According to the subscription information of the application side, information of the candidate mini-programs used by the application side in this new call is determined.

可选的,所述处理器还用于:Optionally, the processor is further configured to:

向新通话使用的IP多媒体子系统IMS发送邀请INVITE消息,其中,所述INVITE消息用于建立应用侧与终端之间的新通话。An invitation INVITE message is sent to the IP Multimedia Subsystem IMS used for the new call, wherein the INVITE message is used to establish a new call between the application side and the terminal.

可选的,所述INVITE消息包括以下一项或多项:Optionally, the INVITE message includes one or more of the following:

所述应用侧在新通话IMS内的可路由标识;The routable identifier of the application side in the new call IMS;

本次新通话的会话描述协议SDP信息;Session Description Protocol (SDP) information for this new call;

被叫标识。ID of the called party.

可选的,所述处理器还用于:Optionally, the processor is further configured to:

接收新通话使用的IMS发送的第四消息,其中,所述第四消息包括SDP信息;receiving a fourth message sent by the IMS used for the new call, wherein the fourth message includes SDP information;

根据所述第四消息生成第一信息;Generate first information according to the fourth message;

向所述应用侧发送第五消息,其中,所述第五消息包括所述第一信息;Sending a fifth message to the application side, wherein the fifth message includes the first information;

执行小程序列表和/或小程序下载流程。Execute the applet list and/or applet download process.

可选的,所述第一信息包括以下一项或多项:Optionally, the first information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述第一消息为新通话使用的IMS发送的第一消息,所述第一消息包括本次新通话的SDP信息。Optionally, the first message is a first message sent by an IMS used for a new call, and the first message includes SDP information of the new call.

可选的,所述处理器还用于:Optionally, the processor is further configured to:

根据所述第一消息生成第二信息;generating second information according to the first message;

向所述应用侧发送第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括所述第二信息;Sending a fourteenth message to the application side, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes the second information;

接收所述应用侧发送的第六消息,其中,所述第六消息用于指示本次新通话建立的结果。Receive a sixth message sent by the application side, wherein the sixth message is used to indicate a result of establishing the new call.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述应用侧的第七消息,其中,所述第七消息用于指示所述第一消息是否成功。Receive a seventh message from the application side, wherein the seventh message is used to indicate whether the first message is successful.

可选的,所述第二信息包括以下一项或多项:Optionally, the second information includes one or more of the following:

主叫终端的标识;The identification of the calling terminal;

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述第六消息包括以下一项或多项:Optionally, the sixth message includes one or more of the following:

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向第一网元发送所述本次新通话的业务配置信息。Send the service configuration information of the new call to the first network element.

可选的,所述处理器还用于:Optionally, the processor is further configured to:

与归属网络进行数据通道相关事件通知和媒体预留;Notify the home network of data channel related events and make media reservations;

向所述新通话使用的IMS发送第八消息,其中,所述第八消息包括SDP信息;Sending an eighth message to the IMS used by the new call, wherein the eighth message includes SDP information;

执行小程序列表和/或小程序下载流程。Execute the applet list and/or applet download process.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向所述应用侧发送呼叫建立过程事件。Sending a call establishment process event to the application side.

可选的,所述处理器还用于:Optionally, the processor is further configured to:

接收第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道;receiving a fifteenth message, wherein the fifteenth message is used to request to establish an application data channel between the application side and the terminal;

根据所述第十五消息建立所述应用侧与所述终端之间的应用数据通道。An application data channel is established between the application side and the terminal according to the fifteenth message.

可选的,所述第十五消息为所述应用侧发送的第十五消息;其中,所述第十五消息包括以下一项或多项:Optionally, the fifteenth message is the fifteenth message sent by the application side; wherein the fifteenth message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址;Call event notification address;

会话标识。Session ID.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向所述应用侧发送第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。A ninth message is sent to the application side, wherein the ninth message is used to indicate whether the fifteenth message is successful.

可选的,所述处理器还用于:Optionally, the processor is further configured to:

向新通话使用的IMS发送重新邀请re-INVITE消息,其中,所述re-INVITE消息用于建立所述应用侧与所述终端之间的应用数据通道。A re-INVITE message is sent to the IMS used for the new call, wherein the re-INVITE message is used to establish an application data channel between the application side and the terminal.

可选的,所述re-INVITE消息包括以下一项或多项:Optionally, the re-INVITE message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

本次新通话的SDP信息;SDP information for this new call;

会话标识。Session ID.

可选的,所述应用侧在新通话使用的IMS内的可路由标识是由所述网络功能根据第一对应关系确定的,所述第一对应关系为应用侧的标识与新通话使用的IMS内的可路由标识之间的对应关系。Optionally, the routable identifier in the IMS used by the application side for the new call is determined by the network function according to a first corresponding relationship, where the first corresponding relationship is a corresponding relationship between the identifier of the application side and the routable identifier in the IMS used for the new call.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收新通话使用的IMS发送的第十消息,其中,所述第十消息包括SDP信息;receiving a tenth message sent by the IMS used for the new call, wherein the tenth message includes SDP information;

根据所述第十消息生成第三信息;generating third information according to the tenth message;

向所述应用侧发送第十一消息,其中,所述第十一消息包括所述第三信息,用于指示所述应用数据通道建立的结果;Sending an eleventh message to the application side, wherein the eleventh message includes the third information and is used to indicate a result of establishing the application data channel;

建立与所述终端之间的应用数据通道。An application data channel is established with the terminal.

可选的,所述第十五消息为新通话使用的IMS发送的第十五消息,所述第十五消息包括本次新通话的SDP信息。Optionally, the fifteenth message is the fifteenth message sent by the IMS used for the new call, and the fifteenth message includes SDP information of the new call.

可选的,所述处理器还用于:Optionally, the processor is further configured to:

根据所述第十五消息生成第四信息;Generate fourth information according to the fifteenth message;

向所述应用侧发送第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括所述第四信息;Sending a sixteenth message to the application side, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

接收所述应用侧发送的第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。A twelfth message sent by the application side is received, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述应用侧发送的第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;receiving a seventeenth message sent by the application side, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

将所述第十七消息映射为SIP BYE,并向所述终端发送所述SIP BYE;Mapping the seventeenth message into a SIP BYE, and sending the SIP BYE to the terminal;

接收所述终端发送的响应,将所述响应映射为响应,并向所述应用侧发送所述响应。A response sent by the terminal is received, the response is mapped into a response, and the response is sent to the application side.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述终端发送的SIP BYE,将所述SIP BYE映射为第五消息,并向所述应用侧发送所述第五消息;receiving a SIP BYE sent by the terminal, mapping the SIP BYE into a fifth message, and sending the fifth message to the application side;

接收所述应用侧发送的响应,将所述响应映射为SIP响应,并向所述终端发送所述SIP响应。A response sent by the application side is received, the response is mapped into a SIP response, and the SIP response is sent to the terminal.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述应用侧发送的第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;receiving an eighteenth message sent by the application side, wherein the eighteenth message is used to query a new call between the application side and the terminal;

向所述应用侧发送第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。A thirteenth message is sent to the application side, wherein the thirteenth message is used to indicate a query result of the new call.

第十二方面,本申请实施例还提供了一种请求处理装置,应用于应用侧,包括:处理器和收发器;In a twelfth aspect, an embodiment of the present application further provides a request processing device, applied to an application side, comprising: a processor and a transceiver;

所述收发器,用于向网络功能发送第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话。The transceiver is used to send a first message to the network function, wherein the first message is used to request to establish a new call between the application side and the terminal.

可选的,所述第一消息包括以下一项或多项:Optionally, the first message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的第二消息,其中,所述第二消息用于指示所述第一消息是否成功。A second message sent by the network function is received, wherein the second message is used to indicate whether the first message is successful.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的第五消息,其中,所述第五消息包括第一信息。A fifth message sent by the network function is received, wherein the fifth message includes the first information.

可选的,所述第一信息包括以下一项或多项:Optionally, the first information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的呼叫建立过程事件。Receive a call establishment process event sent by the network function.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向所述网络功能发送第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道。A fifteenth message is sent to the network function, wherein the fifteenth message is used to request establishment of an application data channel between the application side and the terminal.

可选的,所述第十五消息包括以下一项或多项:Optionally, the fifteenth message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。A ninth message sent by the network function is received, wherein the ninth message is used to indicate whether the fifteenth message is successful.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的第十一消息,其中,所述第十一消息用于指示所述应用数据通道建立的结果。An eleventh message sent by the network function is received, wherein the eleventh message is used to indicate a result of establishing the application data channel.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息;receiving a sixteenth message sent by the network function, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。A twelfth message is sent to the network function, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;Sending a seventeenth message to the network function, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

接收所述网络功能发送的响应。A response sent by the network function is received.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的第五消息,并向所述网络功能发送响应。receiving a fifth message sent by the network function, and sending a response to the network function.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;Sending an eighteenth message to the network function, wherein the eighteenth message is used to query a new call between the application side and the terminal;

接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。Receive a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate a query result of the new call.

第十三方面,本申请实施例还提供了一种请求处理装置,应用于应用侧,包括:处理器和收发器;In a thirteenth aspect, an embodiment of the present application further provides a request processing device, applied to an application side, comprising: a processor and a transceiver;

所述收发器,用于接收网络功能发送的第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括第二信息;向所述网络功能发送第六消息,其中,所述第六消息用于指示本次新通话建立的结果。The transceiver is used to receive a fourteenth message sent by the network function, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes the second information; and send a sixth message to the network function, wherein the sixth message is used to indicate the result of establishing this new call.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向所述网络功能发送第七消息,其中,所述第七消息用于指示所述第十四消息是否成功。Sending a seventh message to the network function, wherein the seventh message is used to indicate whether the fourteenth message is successful.

可选的,所述第二信息包括以下一项或多项:Optionally, the second information includes one or more of the following:

主叫终端的标识;The identification of the calling terminal;

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的呼叫建立过程事件。Receive a call establishment process event sent by the network function.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息;receiving a sixteenth message sent by the network function, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。A twelfth message is sent to the network function, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;Sending a seventeenth message to the network function, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

接收所述网络功能发送的响应。A response sent by the network function is received.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的第五消息,并向所述网络功能发送响应。receiving a fifth message sent by the network function, and sending a response to the network function.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;Sending an eighteenth message to the network function, wherein the eighteenth message is used to query a new call between the application side and the terminal;

接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。Receive a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate a query result of the new call.

第十四方面,本申请实施例还提供了一种请求处理装置,应用于新通话使用的IMS,包括:处理器和收发器;In a fourteenth aspect, an embodiment of the present application further provides a request processing device, applied to an IMS used for a new call, comprising: a processor and a transceiver;

所述收发器,用于向网络功能发送第一消息,其中,所述第一消息用于请求建立终端与应用侧之间的新通话。The transceiver is used to send a first message to the network function, wherein the first message is used to request to establish a new call between the terminal and the application side.

可选的,所述第一消息包括本次新通话的SDP信息。Optionally, the first message includes SDP information of the new call.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的第八消息,其中,所述第八消息包括SDP信息。An eighth message sent by the network function is received, wherein the eighth message includes SDP information.

第十五方面,本申请实施例还提供了一种请求处理装置,应用于终端,包括:处理器和收发器;In a fifteenth aspect, an embodiment of the present application further provides a request processing device, applied to a terminal, comprising: a processor and a transceiver;

所述收发器,用于向新通话使用的IMS发送INVITE请求,用于所述新通话使用的IMS向网络功能发送第一消息;The transceiver is used to send an INVITE request to the IMS used for the new call, and the IMS used for the new call sends a first message to the network function;

其中,所述INVITE请求包括本次新通话的SDP信息,所述第一消息用于请求建立终端与应用侧之间的新通话。The INVITE request includes the SDP information of the new call, and the first message is used to request to establish a new call between the terminal and the application side.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

接收所述网络功能发送的SIP BYE,并向所述网络功能发送响应。Receive the SIP BYE sent by the network function, and send a response to the network function.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向所述网络功能发送SIP BYE,并接收所述网络功能发送的SIP响应。Send a SIP BYE to the network function, and receive a SIP response sent by the network function.

第十六方面,本申请实施例还提供一种通信设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的程序,所述处理器执行所述程序时实现如上所述的请求处理方法中的步骤。In the sixteenth aspect, an embodiment of the present application further provides a communication device, comprising: a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor implements the steps in the request processing method as described above when executing the program.

第十七方面,本申请实施例还提供一种可读存储介质,所述可读存储介质上存储程序,所述程序被处理器执行时实现如上所述的请求处理方法中的步骤。In the seventeenth aspect, an embodiment of the present application further provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, the steps in the request processing method as described above are implemented.

在本申请实施例中,网络功能可根据第一消息建立应用侧与网络之间的新通话,从而实现了在应用侧与网络之间的新通话的建立。In an embodiment of the present application, the network function can establish a new call between the application side and the network according to the first message, thereby realizing the establishment of a new call between the application side and the network.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本申请实施例的系统架构图;FIG1 is a system architecture diagram of an embodiment of the present application;

图2是本申请实施例提供的请求处理方法的流程图之一;FIG2 is a flowchart of a request processing method provided in an embodiment of the present application;

图3是本申请实施例提供的请求处理方法的流程图之二;FIG3 is a second flowchart of the request processing method provided in an embodiment of the present application;

图4是本申请实施例提供的请求处理方法的流程图之三;FIG4 is a third flowchart of the request processing method provided in an embodiment of the present application;

图5是本申请实施例提供的请求处理方法的流程图之四;FIG5 is a fourth flowchart of the request processing method provided in an embodiment of the present application;

图6是本申请实施例提供的请求处理方法的流程图之五;FIG6 is a fifth flowchart of the request processing method provided in an embodiment of the present application;

图7是本申请实施例提供的请求处理方法的流程图之六;FIG7 is a sixth flowchart of the request processing method provided in an embodiment of the present application;

图8是本申请实施例提供的请求处理方法的流程图之七;FIG8 is a flowchart of the request processing method provided in an embodiment of the present application;

图9是本申请实施例提供的请求处理方法的流程图之八;FIG9 is a flowchart of an eighth request processing method provided in an embodiment of the present application;

图10是本申请实施例提供的请求处理方法的流程图之九;FIG10 is a flowchart of a request processing method according to an embodiment of the present application;

图11是本申请实施例提供的请求处理方法的流程图之十;FIG11 is a flowchart of a request processing method according to an embodiment of the present application;

图12是本申请实施例提供的请求处理装置的结构图之一;FIG12 is a structural diagram of a request processing device provided in an embodiment of the present application;

图13是本申请实施例提供的请求处理装置的结构图之二;FIG13 is a second structural diagram of the request processing device provided in an embodiment of the present application;

图14是本申请实施例提供的请求处理装置的结构图之三;FIG14 is a third structural diagram of the request processing device provided in an embodiment of the present application;

图15是本申请实施例提供的请求处理装置的结构图之四;FIG15 is a fourth structural diagram of the request processing device provided in an embodiment of the present application;

图16是本申请实施例提供的请求处理装置的结构图之五;FIG16 is a fifth structural diagram of a request processing device provided in an embodiment of the present application;

图17是本申请实施例提供的请求处理装置的结构图之六;FIG17 is a sixth structural diagram of the request processing device provided in an embodiment of the present application;

图18是本申请实施例提供的请求处理装置的结构图之七;FIG18 is a seventh structural diagram of a request processing device provided in an embodiment of the present application;

图19是本申请实施例提供的请求处理装置的结构图之八;FIG19 is an eighth structural diagram of a request processing device provided in an embodiment of the present application;

图20是本申请实施例提供的请求处理装置的结构图之九;FIG20 is a ninth structural diagram of a request processing device provided in an embodiment of the present application;

图21是本申请实施例提供的请求处理装置的结构图之十。FIG. 21 is the tenth structural diagram of the request processing device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

本申请实施例中术语“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the embodiments of the present application, the term "and/or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and/or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects before and after are in an "or" relationship.

本申请实施例中术语“多个”是指两个或两个以上,其它量词与之类似。In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,并不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

参见图1,图1是本申请实施例中支持5G新通话第三方通话功能的系统架构的示意图。See Figure 1, which is a schematic diagram of the system architecture supporting the 5G new call third-party call function in an embodiment of the present application.

该架构基于国际标准5G新通话系统架构,在第三方应用或垂直行业等用户与5G新通话系统中新增的网络功能(例如,可称为5G新通话使能层(eMMtel Enabler)),该网络功能与5G新通话系统与应用服务器(DC Application Server)之间的接口相连(含通过网络开放功能(Network Exposure Function,NEF)暴露的信令相关接口DC3即N33,以及DC4、和媒体相关接口MDC2和MDC3),通过网络功能处理,将上述接口暴露的网元功能级接口,封装为业务应用级接口,通过网络功能能力开放接口(eMMTel-2)暴露给第三方应用或垂直行业等用户。同时网络功能可集成小程序管理功能,通过DC5接口与DCSF相连。This architecture is based on the international standard 5G new call system architecture. The newly added network function (for example, it can be called the 5G new call enabling layer (eMMtel Enabler)) between third-party applications or vertical industries and the 5G new call system is connected to the interface between the 5G new call system and the application server (DC Application Server) (including the signaling-related interface DC3, namely N33, and DC4, and media-related interfaces MDC2 and MDC3 exposed through the network exposure function (NEF). Through network function processing, the network element function-level interface exposed by the above interface is encapsulated as a business application-level interface, and exposed to third-party applications or vertical industries through the network function capability exposure interface (eMMTel-2). At the same time, the network function can integrate the applet management function and connect to DCSF through the DC5 interface.

在本申请实施例中,网络功能可以是个独立的设备,或者也可是设置于某个设备中的模块或者单元,可能是一个IMS AS(Application Service,应用服务器),也可能是一个5G网络中的AF(Application Function,应用功能)。另外,该网络功能可能作为应用服务器接入新通话IMS网络,也可能作为终端接入新通话IMS网络。In the embodiment of the present application, the network function may be an independent device, or a module or unit set in a certain device, which may be an IMS AS (Application Service) or an AF (Application Function) in a 5G network. In addition, the network function may access the new call IMS network as an application server or as a terminal.

其中,网络功能可包含如下功能(不限于):The network functions may include the following functions (not limited to):

1)小程序管理:用于小程序开放者上传和通过中下载新通话小程序,具有小程序的存储、管理等功能。1) Mini Program Management: It is used by mini program developers to upload and download new call mini programs, and has the functions of storing and managing mini programs.

2)会话/媒体管理:作为5G新通话的一个相关通信端,用于终结发往应用侧的5G新通话会话和媒体,并根据5G新通话会话和媒体生产对应API请求/响应,或根据第三方应用或垂直行业等用户的API请求,发起向终端侧的5G新通话会话和媒体,同时维护会话相关状态以及会话与网络功能能力开放请求/响应之间的对应关系,分配和维护第三方应用或垂直行业等用户在IMS中的可路由标识,维护第三方应用或垂直行业等用户标识与IMS中的可路由标识的映射关系。2) Session/media management: As a related communication terminal of 5G new call, it is used to terminate the 5G new call session and media sent to the application side, and produce corresponding API requests/responses based on the 5G new call session and media, or initiate the 5G new call session and media to the terminal side based on the API requests of third-party applications or vertical industries. At the same time, it maintains the session-related status and the correspondence between the session and the network function capability exposure request/response, allocates and maintains the routable identifiers of third-party applications or vertical industries in IMS, and maintains the mapping relationship between the user identifiers of third-party applications or vertical industries and the routable identifiers in IMS.

3)通话profile(描述)管理:根据某类会话的特定的会话信息(如某次特定会话、或每个用户相关的会话等),下发该类特定会话可使用的小程序相关信息。3) Call profile management: Based on the specific session information of a certain type of session (such as a specific session, or a session related to each user, etc.), the relevant information of the mini-program that can be used in this specific session is issued.

4)接口封装及转化:用于IMS侧新通话相关会话和媒体与网络功能能力开放API之间的封装和转化,同时可支持其他应用层能力的封装和转化。4) Interface encapsulation and conversion: used for the encapsulation and conversion between new call-related sessions and media and network function capability open APIs on the IMS side, and can also support the encapsulation and conversion of other application layer capabilities.

5)能力管理:用于管理网络功能能力,包括相关能力发现、能力调用鉴权与授权等。5) Capability management: used to manage network functional capabilities, including related capability discovery, capability call authentication and authorization, etc.

6)数据通道代理:作为数据通道代理,建立第三方应用或垂直行业等用户与数据通道信令功能(Data Channel Signaling Function,DCSF)/数据通道媒体功能(DataChannel Media Function,DCMF)/终端之间的数据通道。6) Data channel agent: As a data channel agent, it establishes data channels between third-party applications or vertical industry users and the Data Channel Signaling Function (DCSF)/Data Channel Media Function (DCMF)/terminal.

参见图2,图2是本申请实施例中请求处理方法的流程图,应用于网络功能,包括:Referring to FIG. 2 , FIG. 2 is a flow chart of a request processing method in an embodiment of the present application, which is applied to a network function and includes:

步骤201、接收第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话。Step 201: Receive a first message, wherein the first message is used to request to establish a new call between the application side and the terminal.

在本申请实施例中,新通话是通话业务的升级,基于音视频通话,结合人工智能(Artificial Intelligence,AI)技术、扩展现实(Extended Reality,XR)技术、媒体处理技术等为用户提供高清、智能、可交互的一系列创新通话业务。In the embodiment of the present application, the new call is an upgrade of the call service. It is based on audio and video calls and combines artificial intelligence (AI) technology, extended reality (XR) technology, media processing technology, etc. to provide users with a series of high-definition, intelligent, and interactive innovative call services.

新通话业务分为两类,一类是基于新空口语音承载(Voice over New Radio,VoNR)/长期演进语音承载(Voice over Long-Term Evolution,VoLTE)视频通话实现的增值服务,面向支持VoLTE和VoNR视频通话终端用户提供服务,为用户带来“可视化”、“智能化”的通话体验,如智能翻译等业务。另一类是基于IMSDC技术实现的增值服务,面向5G新通话终端用户提供服务,用户通过新通话小程序与对方实时触屏互动,为用户带来“可交互”的通话体验。New call services are divided into two categories. One is a value-added service based on the new air interface voice bearer (VoNR)/long-term evolution voice bearer (VoLTE) video call, which provides services for users of VoLTE and VoNR video call terminals, bringing users a "visualized" and "intelligent" call experience, such as intelligent translation and other services. The other is a value-added service based on IMSDC technology, which provides services for 5G new call terminal users. Users can interact with the other party in real time through the new call applet, bringing users an "interactive" call experience.

新通话在实际应用中可称为增强通话、实时通信、下一代实时通信(NextGeneration-Real Time Communication,NG_RTC或NGRTC)、增强多媒体电话(enhancedmultimedia telephony,eMMTel)等等。In practical applications, the new call can be called enhanced call, real-time communication, next generation real-time communication (Next Generation-Real Time Communication, NG_RTC or NGRTC), enhanced multimedia telephony (enhanced multimedia telephony, eMMTel), etc.

步骤202、根据所述第一消息建立应用侧与终端之间的新通话。Step 202: Establish a new call between the application side and the terminal according to the first message.

在本申请实施例中,应用侧(第三方应用或垂直行业等用户(如APP、应用服务器、网页、企业用户级交换机(Private Branch eXchange,IPPBX)等设备)、不支持IMS的第三方应用服务器)或者终端侧都可主动发起建立新通话的过程。In the embodiment of the present application, the application side (third-party applications or vertical industry users (such as APP, application servers, web pages, enterprise user-level switches (Private Branch eXchange, IPPBX) and other devices), third-party application servers that do not support IMS) or the terminal side can actively initiate the process of establishing a new call.

一、应用侧主动发起1. Application side actively initiates

在这种情况下,所述第一消息为应用侧发送的第一消息;其中,所述第一消息包括以下一项或多项:In this case, the first message is a first message sent by the application side; wherein the first message includes one or more of the following:

所述应用侧在本次新通话中的标识(可能为私有标识等);The identifier of the application side in this new call (which may be a private identifier, etc.);

被叫标识(如电话号码等);Callee identification (such as telephone number, etc.);

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息(也可称为通话profile,如本次通话或本次通话后续的本类同类型通话等可使用的小程序列表等);The service configuration information of this new call (also called call profile, such as the list of mini-programs that can be used for this call or subsequent calls of the same type);

本次新通话的媒体信息(如,此次通话计划使用的音频、视频和数据通道接收地址端口等);Media information for this new call (e.g., the receiving address ports of the audio, video, and data channels planned for this call, etc.);

通话事件通知地址(用于应用侧通话建立相关的各种事件通知)。Call event notification address (used for various event notifications related to call establishment on the application side).

可选的,网络功能还可向所述应用侧发送第二消息,其中,所述第二消息用于指示所述第一消息是否成功。Optionally, the network function may also send a second message to the application side, wherein the second message is used to indicate whether the first message is successful.

可选的,网络功能还可向第一网元(如DCSF)发送本次新通话的业务配置信息并接收所述第一网元发送的第三消息,该响应可能包含通话profile设置结果,成功设置的小程序列表等内容。DCSF也可称为新通话媒体能力平台,或者可以是通话AS的一部分。或者,网络功能也可根据所述应用侧的订阅信息,确定本次新通话中所述应用侧候选使用的小程序的信息,也即可供后续过程选择使用的小程序的信息。Optionally, the network function may also send the service configuration information of the new call to the first network element (such as DCSF) and receive a third message sent by the first network element. The response may include the call profile setting result, a list of successfully set mini-programs, etc. DCSF may also be called a new call media capability platform, or may be a part of the call AS. Alternatively, the network function may also determine the information of the candidate mini-programs on the application side in the new call based on the subscription information on the application side, that is, the information of the mini-programs that can be selected for use in subsequent processes.

在这种情况下,网络功能可向新通话使用的IMS发送INVITE消息,其中,所述INVITE消息用于建立应用侧与终端之间的新通话。所述INVITE消息包括以下一项或多项:In this case, the network function may send an INVITE message to the IMS used for the new call, wherein the INVITE message is used to establish a new call between the application side and the terminal. The INVITE message includes one or more of the following:

所述应用侧在新通话IMS内的可路由标识(如电话号码,可路由的第三方ID等);The routable identifier of the application side in the new call IMS (such as a phone number, a routable third-party ID, etc.);

本次新通话的SDP信息;SDP information for this new call;

被叫标识。ID of the called party.

其中,所述应用侧在新通话使用的IMS内的可路由标识是由所述网络功能根据第一对应关系确定的,所述第一对应关系为应用侧的标识与新通话使用的IMS内的可路由标识之间的对应关系。所述应用侧在新通话IMS内的可路由标识可由网络功能分配,如从网络功能具有的号码池中随机选择,或,由网络功能根据特定算法生成可路由第三方ID等。The routable identifier in the IMS used by the application side for the new call is determined by the network function according to a first correspondence, and the first correspondence is a correspondence between the identifier of the application side and the routable identifier in the IMS used for the new call. The routable identifier in the IMS for the new call by the application side can be allocated by the network function, such as randomly selected from a number pool of the network function, or the network function generates a routable third-party ID according to a specific algorithm.

其中,本次新通话的SDP信息,可由网络功能根据此次通话计划使用的音频、视频和数据通道接收地址端口等媒体信息生成,该SDP信息可以是SDP offer。Among them, the SDP information of this new call can be generated by the network function according to the media information such as the audio, video and data channel receiving address port to be used in this call plan, and the SDP information can be an SDP offer.

可选的,网络功能还可接收新通话使用的IMS发送的第四消息,其中,所述第四消息包括SDP信息。其中,第四消息可以是200OK等,SDP信息可以是SDP answer。网络功能根据所述第四消息生成第一信息,并向所述应用侧发送第五消息,其中,所述第五消息包括所述第一信息。其中,该第一信息可以是应用程序接口(Application Programming Interface,API)或者能力开放接口,或采用其他协议实现。之后,网络功能可执行小程序列表和/或小程序下载流程。Optionally, the network function may also receive a fourth message sent by the IMS used for the new call, wherein the fourth message includes SDP information. The fourth message may be 200OK, etc., and the SDP information may be SDP answer. The network function generates first information based on the fourth message, and sends a fifth message to the application side, wherein the fifth message includes the first information. The first information may be an application programming interface (API) or a capability exposure interface, or may be implemented using other protocols. Afterwards, the network function may execute a mini-program list and/or mini-program download process.

其中,所述第一信息包括以下一项或多项:The first information includes one or more of the following:

所述应用侧在本次新通话中的标识(可能为私有标识等);The identifier of the application side in this new call (which may be a private identifier, etc.);

被叫标识(如电话号码等);Callee identification (such as telephone number, etc.);

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息(如本次通话或本次通话后续的本类同类型通话等可使用的小程序列表等);Service configuration information for this new call (such as a list of mini-programs that can be used for this call or subsequent calls of the same type);

本次新通话的媒体信息(此次通话被叫终端A的音频、视频和数据通道接收地址端口等);Media information of this new call (receiving address and port of audio, video and data channels of called terminal A of this call, etc.);

会话标识(Session ID)。Session ID.

二、终端侧主动发起2. Terminal side actively initiates

在这种情况下,终端侧执行标准新通话建立流程。在终端发送给新通话使用的IMS(也可称为新通话IMS)的初始INVITE请求中,包含根据此次会话中计划使用的音频、视频和数据通道接收地址端口等媒体信息生成的SDP offer。在这种情况下,新通话使用的IMS根据该INVITE请求建立新通话。其中,所述第一消息为新通话使用的IMS发送的第一消息,所述第一消息包括本次新通话的SDP信息,如SDP offer。In this case, the terminal side executes the standard new call establishment process. The initial INVITE request sent by the terminal to the IMS used for the new call (also called the new call IMS) contains an SDP offer generated according to media information such as the receiving address port of the audio, video and data channels planned to be used in this session. In this case, the IMS used for the new call establishes a new call according to the INVITE request. Among them, the first message is the first message sent by the IMS used for the new call, and the first message includes the SDP information of this new call, such as the SDP offer.

在建立新通话时,网络功能根据所述第一消息生成第二信息,并向所述应用侧发送第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括所述第二信息。之后,网络功能可接收所述应用侧发送的第六消息,其中,所述第六消息用于指示本次新通话建立的结果。When establishing a new call, the network function generates the second information according to the first message, and sends the fourteenth message to the application side, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes the second information. Afterwards, the network function may receive the sixth message sent by the application side, wherein the sixth message is used to indicate the result of establishing the new call.

可选的,网络功能还可接收所述应用侧的第七消息,其中,所述第七消息用于指示所述第一消息是否成功。Optionally, the network function may also receive a seventh message from the application side, wherein the seventh message is used to indicate whether the first message is successful.

其中,该第二信息可以是API或者能力开放接口,或采用其他协议实现,包括以下一项或多项:The second information may be an API or a capability exposure interface, or may be implemented using other protocols, including one or more of the following:

主叫终端的标识(如电话号码等);Identification of the calling terminal (such as telephone number, etc.);

所述应用侧在本次新通话中的标识(可在IMS中路由的标识,如电话号码等);The identifier of the application side in this new call (an identifier that can be routed in IMS, such as a telephone number, etc.);

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息(此次通话主叫终端的音频、视频和数据通道接收地址端口等媒体信息)。Media information of this new call (media information such as the audio, video and data channel receiving address port of the calling terminal of this call).

其中,所述第六消息包括以下一项或多项:The sixth message includes one or more of the following:

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息(如A号码可使用的小程序列表,或某类通话,如主叫A是10086等,可使用的小程序列表等);Service configuration information for this new call (e.g., a list of mini-programs available for number A, or a list of mini-programs available for a certain type of call, such as a list of mini-programs available for caller A to 10086, etc.);

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,网络功能还可向第一网元(如DSCF)发送所述本次新通话的业务配置信息。Optionally, the network function may also send the service configuration information of the new call to the first network element (such as DSCF).

可选的,网络功能还可与归属网络进行数据通道相关事件通知和媒体预留,向所述新通话使用的IMS发送第八消息,其中,所述第八消息包括SDP信息,如SDP answer。之后,网络功能执行小程序列表和/或小程序下载流程。Optionally, the network function may also perform data channel related event notification and media reservation with the home network, and send an eighth message to the IMS used for the new call, wherein the eighth message includes SDP information, such as SDP answer. Afterwards, the network function executes the applet list and/or applet download process.

在以上两种方式中,网络功能均可向所述应用侧发送呼叫建立过程事件,如被叫18x振铃等信息。In the above two methods, the network function can send call establishment process events to the application side, such as the called party's 18x ringing information.

在本申请实施例中,网络功能可根据第一消息建立应用侧与网络之间的新通话,从而实现了在应用侧与网络之间的新通话的建立。In an embodiment of the present application, the network function can establish a new call between the application side and the network according to the first message, thereby realizing the establishment of a new call between the application side and the network.

可选的,在上述实施例的基础上,网络功能还可建立应用侧与终端之间的应用数据通道(Application Data Channel,ADC)。网络功能可接收第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道。之后,网络功能可根据所述第十五消息建立所述应用侧与所述终端之间的应用数据通道。Optionally, based on the above embodiment, the network function may further establish an application data channel (Application Data Channel, ADC) between the application side and the terminal. The network function may receive a fifteenth message, wherein the fifteenth message is used to request the establishment of an application data channel between the application side and the terminal. Afterwards, the network function may establish an application data channel between the application side and the terminal according to the fifteenth message.

同样,该ADC的建立也可由应用侧发起,也可由终端侧发起。Similarly, the establishment of the ADC may be initiated by the application side or by the terminal side.

一、应用侧发起建立新通话ADC的建立1. The application side initiates the establishment of a new call ADC

在这种情况下,所述第十五消息为所述应用侧发送的第十五消息;其中,所述第十五消息包括以下一项或多项:In this case, the fifteenth message is the fifteenth message sent by the application side; wherein the fifteenth message includes one or more of the following:

所述应用侧在本次新通话中的标识(可能为私有标识等);The identifier of the application side in this new call (which may be a private identifier, etc.);

被叫标识(如电话号码等);Callee identification (such as telephone number, etc.);

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息(如本次通话或本次通话后续的本类同类型通话等可使用的小程序列表等);Service configuration information for this new call (such as a list of mini-programs that can be used for this call or subsequent calls of the same type);

本次新通话的媒体信息(此次通话计划使用的音频、视频和数据通道接收地址端口等媒体信息);Media information for this new call (such as the audio, video, and data channel receiving address ports planned for this call);

通话事件通知地址(用于应用侧通话建立相关的各种事件通知);Call event notification address (used for notification of various events related to call establishment on the application side);

会话标识(Session ID)。Session ID.

可选的,网络功能还可向所述应用侧发送第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。Optionally, the network function may also send a ninth message to the application side, wherein the ninth message is used to indicate whether the fifteenth message is successful.

在应用侧发起建立ADC的过程中,网络功能可向新通话使用的IMS发送重新邀请(re-INVITE)消息,其中,所述re-INVITE消息用于建立所述应用侧与所述终端之间的应用数据通道。所述re-INVITE消息包括以下一项或多项:In the process of initiating the establishment of ADC on the application side, the network function may send a re-INVITE message to the IMS used for the new call, wherein the re-INVITE message is used to establish an application data channel between the application side and the terminal. The re-INVITE message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识(如电话号码、可路由的第三房ID等);The routable identifier (such as a phone number, a routable third-party ID, etc.) in the IMS used by the application side for the new call;

本次新通话的SDP信息,如SPP offer,是根据本应用数据通道计划使用的音频、视频和数据通道接收地址端口等媒体信息生成的;The SDP information of this new call, such as SPP offer, is generated based on the media information such as the audio, video and data channel receiving address ports that the data channel of this application plans to use;

会话标识(Sesssion ID)。Session ID.

其中,所述应用侧在新通话使用的IMS内的可路由标识是由所述网络功能根据第一对应关系确定的,所述第一对应关系为应用侧的标识与新通话使用的IMS内的可路由标识之间的对应关系。The routable identifier in the IMS used by the application side for the new call is determined by the network function according to a first corresponding relationship, where the first corresponding relationship is a corresponding relationship between the identifier of the application side and the routable identifier in the IMS used for the new call.

可选的,网络功能还可接收新通话使用的IMS发送的第十消息(如200OK),其中,所述第十消息包括SDP信息(如SDP answer)。网络功能可根据所述第十消息生成第三信息,向所述应用侧发送第十一消息,其中,所述第十一消息包括所述第三信息,用于指示所述应用数据通道建立的结果,并建立与所述终端之间的应用数据通道。Optionally, the network function may also receive a tenth message (such as 200OK) sent by the IMS used for the new call, wherein the tenth message includes SDP information (such as SDP answer). The network function may generate third information based on the tenth message, and send an eleventh message to the application side, wherein the eleventh message includes the third information, which is used to indicate the result of establishing the application data channel and establish the application data channel with the terminal.

其中,该第三信息可以是API或者能力开放接口,或采用其他协议实现。The third information may be an API or a capability exposure interface, or may be implemented using other protocols.

二、终端发起建立ADC的过程2. The process of establishing ADC initiated by the terminal

在这个过程中,所述第十五消息为新通话使用的IMS发送的第十五消息,所述第十五消息包括本次新通话的SDP信息(如根据应用数据通道请求携带的本应用数据通道计划使用的音频、视频和数据通道接收地址端口等媒体信息生成的SDP offer)。在根据第十五消息建立应用侧与终端之间的ADC时,网络功能根据所述第十五消息生成第四信息,向所述应用侧发送第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括所述第四信息,并接收所述应用侧发送的第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。In this process, the fifteenth message is the fifteenth message sent by the IMS used for the new call, and the fifteenth message includes the SDP information of the new call (such as the SDP offer generated according to the media information such as the audio, video and data channel receiving address port planned to be used by the application data channel carried in the application data channel request). When establishing the ADC between the application side and the terminal according to the fifteenth message, the network function generates the fourth information according to the fifteenth message, sends the sixteenth message to the application side, wherein the sixteenth message is used to establish the application data channel between the terminal and the application side and includes the fourth information, and receives the twelfth message sent by the application side, wherein the twelfth message is used to indicate the result of the data channel establishment.

其中,该第四信息可以是API或者能力开放接口,或采用其他协议实现,包括以下一项或多项:The fourth information may be an API or a capability exposure interface, or may be implemented using other protocols, including one or more of the following:

所述应用侧在本次新通话中的标识(可能为私有标识等);The identifier of the application side in this new call (which may be a private identifier, etc.);

被叫标识(如电话号码等);Callee identification (such as telephone number, etc.);

本次新通话的媒体信息(此次应用数据通道计划使用的音频、视频和数据通道接收地址端口等媒体信息);Media information for this new call (media information such as the audio, video, and data channel receiving address ports planned to be used by the data channel for this application);

通话事件通知地址(用于应用侧通话建立相关的各种事件通知)。Call event notification address (used for various event notifications related to call establishment on the application side).

其中,所述第十二消息包括以下一项或多项:The twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识(如电话号码、可路由的应用侧ID等);The routable identifier of the application side in the IMS used for the new call (such as a telephone number, a routable application side ID, etc.);

SDP信息,如SDP answer,是根据应用数据通道请求携带的本应用数据通道计划使用的音频、视频和数据通道接收地址端口等媒体信息生成的。SDP information, such as SDP answer, is generated based on the media information such as the audio, video and data channel receiving address ports planned to be used by the application data channel carried in the application data channel request.

在本申请实施例中,应用侧或网络侧还可终止新通话。In the embodiment of the present application, the application side or the network side may also terminate the new call.

在应用侧终止新通话时,网络功能接收所述应用侧发送的第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话,可包括要终结的会话标识(Session ID)。网络功能将所述第十七消息映射为SIP BYE,并向所述终端发送所述SIPBYE,并接收所述终端发送的响应,将所述响应映射为响应,并向所述应用侧发送所述响应。When the application side terminates the new call, the network function receives the seventeenth message sent by the application side, wherein the seventeenth message is used to terminate the new call between the application side and the terminal, and may include a session identifier (Session ID) to be terminated. The network function maps the seventeenth message to a SIP BYE, sends the SIP BYE to the terminal, receives a response sent by the terminal, maps the response to a response, and sends the response to the application side.

在终端侧终止新通话时,网络功能接收所述终端发送的SIP BYE,将所述SIP BYE映射为第五消息,并向所述应用侧发送所述第五消息。之后,网络功能接收所述应用侧发送的响应,将所述响应映射为SIP响应,并向所述终端发送所述SIP响应。When the terminal side terminates the new call, the network function receives the SIP BYE sent by the terminal, maps the SIP BYE into a fifth message, and sends the fifth message to the application side. Afterwards, the network function receives the response sent by the application side, maps the response into a SIP response, and sends the SIP response to the terminal.

在本申请实施例中,网络功能还可接收所述应用侧发送的第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话。之后,网络功能向所述应用侧发送第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。例如,该响应可包括查询新通话会话结果(成功、失败等,若失败包含失败原因),本新通话的呼叫双方,可使用的小程序列表,呼叫建立时间等内容。In the embodiment of the present application, the network function may also receive an eighteenth message sent by the application side, wherein the eighteenth message is used to query the new call between the application side and the terminal. Afterwards, the network function sends a thirteenth message to the application side, wherein the thirteenth message is used to indicate the query result of the new call. For example, the response may include the query result of the new call session (success, failure, etc., if failure includes the reason for failure), the calling parties of the new call, a list of available applets, call establishment time, and other contents.

参见图3,图3是本申请实施例中请求处理方法的流程图,应用于应用侧,包括:Referring to FIG. 3 , FIG. 3 is a flow chart of a request processing method in an embodiment of the present application, which is applied to the application side and includes:

步骤301、向网络功能发送第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话。其中,所述第一消息的含义和解释可参照前述方法实施例的描述。Step 301: Send a first message to a network function, wherein the first message is used to request to establish a new call between the application side and the terminal. The meaning and explanation of the first message may refer to the description of the above method embodiment.

可选的,应用侧还可接收所述网络功能发送的第二消息,其中,所述第二消息用于指示所述第一消息是否成功。Optionally, the application side may also receive a second message sent by the network function, wherein the second message is used to indicate whether the first message is successful.

可选的,应用侧还可接收所述网络功能发送的第五消息,其中,所述第五消息包括第一信息。其中,所述第一信息的含义和解释可参照前述方法实施例的描述。Optionally, the application side may also receive a fifth message sent by the network function, wherein the fifth message includes the first information. The meaning and interpretation of the first information may refer to the description of the aforementioned method embodiment.

可选的,应用侧还可接收所述网络功能发送的呼叫建立过程事件。Optionally, the application side may also receive a call establishment process event sent by the network function.

在本申请实施例中,网络功能可根据第一消息建立应用侧与网络之间的新通话,从而实现了在应用侧与网络之间的新通话的建立。In an embodiment of the present application, the network function can establish a new call between the application side and the network according to the first message, thereby realizing the establishment of a new call between the application side and the network.

可选的,在上述实施例的基础上,在应用侧主动发起建立与终端之间的ADC的过程中,应用侧还可向所述网络功能发送第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道。该第十五消息的含义和解释可参照前述方法实施例的描述。可选的,应用侧还可接收所述网络功能发送的第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。Optionally, based on the above embodiment, in the process of the application side actively initiating the establishment of an ADC between the application side and the terminal, the application side may also send a fifteenth message to the network function, wherein the fifteenth message is used to request the establishment of an application data channel between the application side and the terminal. The meaning and interpretation of the fifteenth message may refer to the description of the aforementioned method embodiment. Optionally, the application side may also receive a ninth message sent by the network function, wherein the ninth message is used to indicate whether the fifteenth message is successful.

可选的,应用侧还可接收所述网络功能发送的第十一消息,其中,所述第十一消息用于指示所述应用数据通道建立的结果。Optionally, the application side may also receive an eleventh message sent by the network function, wherein the eleventh message is used to indicate the result of establishing the application data channel.

可选的,在上述实施例的基础上,在终端侧主动发起建立与应用侧之间的ADC的过程中,应用侧还可接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息。应用侧还可向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。Optionally, based on the above embodiment, in the process of the terminal side actively initiating the establishment of an ADC with the application side, the application side may also receive a sixteenth message sent by the network function, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information. The application side may also send a twelfth message to the network function, wherein the twelfth message is used to indicate the result of the establishment of the data channel.

其中,所述第四信息包括以下一项或多项:The fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

所述第十二消息包括以下一项或多项:The twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

关于第四信息和第十二消息的更多解释,可参照前述方法实施例的描述。For more explanations about the fourth information and the twelfth message, please refer to the description of the aforementioned method embodiment.

可选的,应用侧还可发起终止新通话。具体的,应用侧可向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话,应用侧接收所述网络功能发送的响应。Optionally, the application side may also initiate termination of the new call. Specifically, the application side may send a seventeenth message to the network function, wherein the seventeenth message is used to terminate the new call between the application side and the terminal, and the application side receives a response sent by the network function.

可选的,终端还可发起终止新通话。具体的,在这个过程中,应用侧接收所述网络功能发送的第五消息,并向所述网络功能发送响应。Optionally, the terminal may also initiate termination of the new call. Specifically, in this process, the application side receives the fifth message sent by the network function, and sends a response to the network function.

可选的,应用侧还可向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话。之后,应用侧可接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。Optionally, the application side may further send an eighteenth message to the network function, wherein the eighteenth message is used to query the new call between the application side and the terminal. Afterwards, the application side may receive a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate the query result of the new call.

参见图4,图4是本申请实施例中请求处理方法的流程图,应用于应用侧,包括:Referring to FIG. 4 , FIG. 4 is a flow chart of a request processing method in an embodiment of the present application, which is applied to the application side and includes:

步骤401、接收网络功能发送的第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括第二信息。Step 401: Receive a fourteenth message sent by the network function, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes second information.

其中,所述第二信息包括以下一项或多项:The second information includes one or more of the following:

主叫终端的标识;The identification of the calling terminal;

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息;Media information for this new call;

会话标识(Session ID)。Session ID.

关于第二信息的更多解释,可参照前述方法实施例的描述。For more explanation about the second information, please refer to the description of the aforementioned method embodiment.

步骤402、向所述网络功能发送第六消息,其中,所述第六消息用于指示本次新通话建立的结果。Step 402: Send a sixth message to the network function, where the sixth message is used to indicate the result of establishing the new call.

在本申请实施例中,网络功能可根据第一消息建立应用侧与网络之间的新通话,从而实现了在应用侧与网络之间的新通话的建立。In an embodiment of the present application, the network function can establish a new call between the application side and the network according to the first message, thereby realizing the establishment of a new call between the application side and the network.

可选的,应用侧还可接收所述网络功能发送的第十一消息,其中,所述第十一消息用于指示所述应用数据通道建立的结果。Optionally, the application side may also receive an eleventh message sent by the network function, wherein the eleventh message is used to indicate the result of establishing the application data channel.

可选的,在上述实施例的基础上,应用侧还可向所述网络功能发送第七消息,其中,所述第七消息用于指示所述第十四消息是否成功。应用侧还可接收所述网络功能发送的呼叫建立过程事件。Optionally, based on the above embodiment, the application side may further send a seventh message to the network function, wherein the seventh message is used to indicate whether the fourteenth message is successful. The application side may also receive a call establishment process event sent by the network function.

可选的,在上述实施例的基础上,应用侧还可在终端发起的建立新通话的过程中,接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息。应用侧可向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。Optionally, based on the above embodiment, the application side may also receive a sixteenth message sent by the network function during the process of establishing a new call initiated by the terminal, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information. The application side may send a twelfth message to the network function, wherein the twelfth message is used to indicate the result of establishing the data channel.

其中,所述第四信息包括以下一项或多项:The fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

所述第十二消息包括以下一项或多项:The twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,在应用侧发起的终止新通话的过程中,应用侧可向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话,并接收所述网络功能发送的响应。Optionally, in the process of terminating a new call initiated by the application side, the application side may send a seventeenth message to the network function, wherein the seventeenth message is used to terminate the new call between the application side and the terminal, and receive a response sent by the network function.

可选的,在终端发起的终止新通话的过程中,应用侧可接收所述网络功能发送的第五消息,并向所述网络功能发送响应。Optionally, during the process of terminating a new call initiated by the terminal, the application side may receive the fifth message sent by the network function and send a response to the network function.

可选的,应用侧还可向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话,并接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。Optionally, the application side may also send an eighteenth message to the network function, wherein the eighteenth message is used to query the new call between the application side and the terminal, and receive a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate the query result of the new call.

参见图5,图5是本申请实施例中请求处理方法的流程图,应用于新通话使用的IMS,包括:Referring to FIG. 5 , FIG. 5 is a flow chart of a request processing method in an embodiment of the present application, which is applied to an IMS used for a new call, and includes:

步骤501、向网络功能发送第一消息,其中,所述第一消息用于请求建立终端与应用侧之间的新通话。其中,所述第一消息包括本次新通话的SDP信息。关于SDP信息的解释可参照前述实施例的描述。Step 501: Send a first message to a network function, wherein the first message is used to request to establish a new call between the terminal and the application side. The first message includes SDP information of the new call. For an explanation of the SDP information, refer to the description of the above embodiment.

可选的,该IMS还可接收所述网络功能发送的第八消息,其中,所述第八消息包括SDP信息。Optionally, the IMS may also receive an eighth message sent by the network function, wherein the eighth message includes SDP information.

在本申请实施例中,网络功能可根据第一消息建立应用侧与网络之间的新通话,从而实现了在应用侧与网络之间的新通话的建立。In an embodiment of the present application, the network function can establish a new call between the application side and the network according to the first message, thereby realizing the establishment of a new call between the application side and the network.

参见图6,图6是本申请实施例中请求处理方法的流程图,应用于终端,包括:Referring to FIG. 6 , FIG. 6 is a flow chart of a request processing method in an embodiment of the present application, which is applied to a terminal and includes:

步骤601、向新通话使用的IMS发送INVITE请求,用于所述新通话使用的IMS向网络功能发送第一消息。Step 601: Send an INVITE request to an IMS used for a new call, and the IMS used for the new call sends a first message to a network function.

其中,该第一消息的含义可参照前述方法实施例的描述。The meaning of the first message may refer to the description of the aforementioned method embodiment.

其中,所述INVITE请求包括本次新通话的SDP信息,所述第一消息用于请求建立终端与应用侧之间的新通话。The INVITE request includes the SDP information of the new call, and the first message is used to request to establish a new call between the terminal and the application side.

在本申请实施例中,网络功能可根据第一消息建立应用侧与网络之间的新通话,从而实现了在应用侧与网络之间的新通话的建立。In an embodiment of the present application, the network function can establish a new call between the application side and the network according to the first message, thereby realizing the establishment of a new call between the application side and the network.

可选的,在应用侧发起的终止新通话的过程中,终端可接收所述网络功能发送的SIP BYE,并向所述网络功能发送响应。Optionally, in the process of terminating the new call initiated by the application side, the terminal may receive the SIP BYE sent by the network function and send a response to the network function.

可选的,在终端发起的终止新通话的过程中,终端可向所述网络功能发送SIPBYE,并接收所述网络功能发送的SIP响应。Optionally, in the process of terminating a new call initiated by the terminal, the terminal may send a SIP BYE to the network function, and receive a SIP response sent by the network function.

以下,结合图1所示的系统详细描述本申请实施例的具体实现过程。其中,应用侧以第三方应用或垂直行业等用户为例进行描述,网络功能在此以5G新通话使能层为例进行描述。The specific implementation process of the embodiment of the present application is described in detail below in conjunction with the system shown in Figure 1. The application side is described by taking third-party applications or vertical industry users as examples, and the network function is described by taking the 5G new call enabling layer as an example.

在该系统架构下,第三方应用或垂直行业等用户通过调用5G新通话使能层能力开放接口发起与终端间的新通话时,引导数据通道(BDC)的流程如图7所示。该过程可包括:In this system architecture, when a third-party application or vertical industry user initiates a new call with a terminal by calling the 5G new call enabling layer capability exposure interface, the process of guiding the data channel (BDC) is shown in Figure 7. The process may include:

1)第三方应用或垂直行业等用户(如APP、应用服务器、网页、企业IPPBX等设备)调用5G新通话使能层能力开放接口,向5G新通话使能层发送建立新通话呼叫请求(eMMTelAPI request)。1) Third-party applications or vertical industry users (such as APP, application servers, web pages, enterprise IPPBX and other devices) call the 5G new call enabling layer capability exposure interface and send a new call establishment request (eMMTelAPI request) to the 5G new call enabling layer.

该请求可包括第三方应用或垂直行业等用户该次通话的主叫标识(可能为私有标识等)、被叫终端(A)用户标识(如电话号码等)、是否使用新通话能力、通话profile(如本次通话或本次通话后续的本类同类型通话等可使用的小程序列表等)、此次通话计划使用的音频、视频和数据通道接收地址端口等媒体信息,通话事件通知地址(用于第三方通话建立相关的各种事件通知)等信息。The request may include the caller ID of the call by the user of a third-party application or vertical industry (which may be a private ID, etc.), the user ID of the called terminal (A) (such as a phone number, etc.), whether to use the new call capability, the call profile (such as a list of mini-programs that can be used for this call or subsequent calls of the same type, etc.), media information such as the audio, video and data channel receiving address ports planned to be used for this call, the call event notification address (used for various event notifications related to third-party call establishment), and other information.

1’)(可选)5G新通话使能层向第三方应用或垂直行业等用户回复建立新通话呼叫响应,该响应包括此次建立新通话呼叫请求是否成功等信息。(仅代表此次调用请求成功,不代表呼叫已最终建立)。1’) (Optional) The 5G new call enabling layer replies to the third-party application or vertical industry user with a new call establishment response, which includes information such as whether the new call establishment request is successful. (It only means that the call request is successful, not that the call has been finally established).

2)(可选)5G新通话使能层将本次通话相关的通话profile(如A号码对应的小程序列表,或某类通话,如被叫A是10086等,可使用的小程序列表等)通知给DCSF。需说明的是,此处可省略DCSF回复的响应,该响应可能包含通话profile设置结果,成功设置的小程序列表等内容。若未执行此步骤,则按照正常新通话建立流程,根据被叫A及第三方应用或垂直行业等用户的订阅信息,确定此次第三方通话中可使用的小程序。2) (Optional) The 5G new call enabling layer notifies DCSF of the call profile related to this call (such as the list of mini-programs corresponding to number A, or a certain type of call, such as the list of available mini-programs, etc.). It should be noted that the response from DCSF can be omitted here, and the response may include the call profile setting results, the list of successfully set mini-programs, etc. If this step is not performed, the normal new call establishment process is followed to determine the mini-programs that can be used in this third-party call based on the subscription information of the called party A and users of third-party applications or vertical industries.

3)G新通话使能层发起通话会话,生成SDP,维护会话状态。3) The G new call enabling layer initiates a call session, generates SDP, and maintains the session state.

5G新通话使能层根据建立新通话呼叫请求携带的参数,生成INVITE请求,该请求发送方由第三方应用或垂直行业等用户该次通话的主叫标识(可能为私有标识等)转为可在IMS内的可路由标识(如电话号码、可路由的第三方ID等)。5G新通话使能层维护第三方应用或垂直行业等用户该次通话的主叫标识(可能为私有标识等)与IMS内的可路由标识的映射关系。IMS内路由标识可由5G新通话使能层分配,如从5G新通话使能层具有的号码池中随机选择,或根据特定算法生成可路由第三方ID等。该INVITE请求还包含根据新通话呼叫建立请求携带的此次通话计划使用的音频、视频和数据通道接收地址端口等媒体信息生成的SDP offer。此外,还可携带其他新通话呼叫信令应携带的信息。The 5G new call enabling layer generates an INVITE request based on the parameters carried in the request to establish a new call. The sender of the request is converted from the caller ID (which may be a private ID, etc.) of the call by the user of the third-party application or vertical industry to a routable ID (such as a phone number, a routable third-party ID, etc.) in the IMS. The 5G new call enabling layer maintains the mapping relationship between the caller ID (which may be a private ID, etc.) of the user of the third-party application or vertical industry and the routable ID in the IMS. The routing ID in the IMS can be allocated by the 5G new call enabling layer, such as randomly selecting from the number pool of the 5G new call enabling layer, or generating a routable third-party ID according to a specific algorithm. The INVITE request also includes an SDP offer generated based on the media information such as the audio, video and data channel receiving address port planned to be used for this call carried in the new call establishment request. In addition, it can also carry other information that should be carried by the new call signaling.

4)5G新通话使能层将步骤3生成的INVITE请求发往5G新通话IMS。4) The 5G new call enabling layer sends the INVITE request generated in step 3 to the 5G new call IMS.

5)新通话IMS判断需使用DC,进行DCSF发现。5) For new calls, IMS determines that DC needs to be used and performs DCSF discovery.

新通话IMS识别出此INVITE请求包含新通话相关媒体信息,且第三方应用或垂直行业等用户订购有新通话业务,则判断此通话需要以新通话形式建立,此INVITE请求需路由到DCSF。New call IMS recognizes that this INVITE request contains new call related media information, and third-party applications or vertical industry users have subscribed to new call services, so it determines that this call needs to be established as a new call, and this INVITE request needs to be routed to DCSF.

步骤6-13为标准流程,用于DC相关事件通知和媒体预留等。此步骤中,DCSF和DCMF会根据步骤2获取的通话profile确定终端A和第三方应用或垂直行业等用户本次通话可使用哪些小程序。Steps 6-13 are standard processes, used for DC-related event notifications and media reservation, etc. In this step, DCSF and DCMF will determine which mini-programs can be used by terminal A and third-party applications or vertical industry users for this call based on the call profile obtained in step 2.

6)中,新通话IMS向DCSF发送Nimsas_SessionEventControl_Notify;7)中,DCSF判断是否可使用5G新通话以及5G新通话控制策略;8)中,DCSF生成本端和远端网络的DC媒体信息,包括小程序列表等;9)中,DCSF向新通话IMS发送Nimsas_MediaControl_MediaInstruction;10),新通话IMS进行DCMF/eMRF(增强MRF)发现;11),新通话IMS请求DCMF/eMRF对本端和远端网络所需媒体资源进行预留DCMF/Enhance MRF为对本端和远端网络分配媒体资源;12),新通话IMS向DCSF发送Nimsas_MediaControl_MediaInstructionresponse;13),DCSF向新通话IMS发送Nimsas_SessionEventControl_Notify response;14)DCSF向新通话IMS发送Nimsas_SessionEventControl_Notify response。6), the new call IMS sends Nimsas_SessionEventControl_Notify to DCSF; 7), DCSF determines whether 5G new calls can be used and the 5G new call control strategy; 8), DCSF generates DC media information for the local and remote networks, including a list of mini-programs, etc.; 9), DCSF sends Nimsas_MediaControl_MediaInstruction to the new call IMS; 10), the new call IMS performs DCMF/eMRF (enhanced MRF) discovery; 11), the new call IMS requests DCMF/eMRF to reserve the media resources required for the local and remote networks. DCMF/Enhance MRF allocates media resources to the local and remote networks; 12), the new call IMS sends Nimsas_MediaControl_MediaInstructionresponse to DCSF; 13), DCSF sends Nimsas_SessionEventControl_Notify response to the new call IMS; 14) DCSF sends Nimsas_SessionEventControl_Notify response to the new call IMS.

14)完成DC相关事件通知和媒体预留等处理流程后,新通话IMS将包含SDP offer的INVITE请求发送给被叫终端A归属网络。14) After completing the DC-related event notification and media reservation processes, the new call IMS sends an INVITE request containing an SDP offer to the home network of the called terminal A.

15)被叫网络完成呼叫会话协商,DC相关事件通知和媒体预留等。此步骤中,被叫网络DCSF和DCMF会根据步骤2获取的通话profile确定终端A本次通话可使用哪些小程序。15) The called network completes the call session negotiation, DC-related event notification, media reservation, etc. In this step, the called network DCSF and DCMF will determine which applets Terminal A can use for this call based on the call profile obtained in step 2.

16)被叫网络与主叫侧完成必要的18X/PRACK/UPDATE/200OK等流程。16) The called network and the calling side complete the necessary 18X/PRACK/UPDATE/200OK processes.

17)被叫网络向主叫侧回复200OK,该200OK包括来自被叫侧的SDP answer,包含被叫终端A此次通话计划使用的音频、视频和数据通道接收地址端口等媒体信息。17) The called network replies 200OK to the calling side. The 200OK includes the SDP answer from the called side, including media information such as the audio, video and data channel receiving address port that the called terminal A plans to use for this call.

18-19)主叫侧网络完成必要的媒体更新流程。18-19) The calling network completes the necessary media update process.

20)新通话IMS将200OK回复给5G新通话使能层。20) The new call IMS responds 200OK to the 5G new call enabling layer.

21)5G新通话使能层根据前期维护的5G新通话会话信息,以及收到的200OK和其中包含的SDP answer,生成对应的API内容,并向第三方应用或垂直行业等用户发送eMMTelAPI被叫成功request。此API包括第三方应用或垂直行业等用户该次通话的主叫标识(可能为私有标识等)、被叫终端(A)用户标识(如电话号码等)、是否使用新通话能力、通话profile(如本次通话或本次通话后续的本类同类型通话等可使用的小程序列表等)、此次通话被叫终端A的音频、视频和数据通道接收地址端口等媒体信息。21) The 5G new call enabling layer generates the corresponding API content based on the previously maintained 5G new call session information, the received 200OK and the SDP answer contained therein, and sends the eMMTelAPI called success request to third-party applications or vertical industry users. This API includes the caller ID (which may be a private ID, etc.) of the third-party application or vertical industry user, the called terminal (A) user ID (such as phone number, etc.), whether to use the new call capability, call profile (such as the list of mini-programs that can be used for this call or subsequent calls of the same type, etc.), and the audio, video and data channel receiving address port of the called terminal A of this call and other media information.

若此前没有1’)步骤,则上述信息包含在5G新通话使能层生成的新被叫成功请求中,若此前有1’)步骤,则上述信息包含在新通话呼叫响应中;若上述信息包含在被叫成功请求中,则第三方应用或垂直行业等用户回复被叫成功响应,该响应包含被叫成功请求是否成功。If there is no step 1') before, the above information is included in the new called success request generated by the 5G new call enabling layer; if there is step 1') before, the above information is included in the new call call response; if the above information is included in the called success request, the third-party application or vertical industry user replies with the called success response, which includes whether the called success request is successful.

22)5G新通话使能层到本端网络的DC1建立,对应的小程序列表和小程序下载流程。此处只可获取步骤2获取的通话profile确定终端A本次通话可使用哪些小程序。若使能层采用超文本传输协议(Hypertext Transfer Protocol,HTTP)代理方式,DC1可以直接建立在第三方应用或垂直行业等用户和本端网络之间。22) The DC1 from the 5G new call enabling layer to the local network is established, and the corresponding mini-program list and mini-program download process are included. Here, only the call profile obtained in step 2 can be obtained to determine which mini-programs terminal A can use for this call. If the enabling layer uses the Hypertext Transfer Protocol (HTTP) proxy method, DC1 can be directly established between users such as third-party applications or vertical industries and the local network.

23)终端A到本端网络的DC2建立,对应的小程序列表和小程序下载流程。此处只可获取步骤2获取的通话profile确定终端B本次通话可使用哪些小程序。23) Terminal A establishes DC2 to the local network, and the corresponding mini-program list and mini-program download process. Here, only the call profile obtained in step 2 can be obtained to determine which mini-programs terminal B can use for this call.

24)5G新通话使能层到远端网络的DC3建立,对应的小程序列表和小程序下载流程。此处只可获取步骤2获取的通话profile确定终端A本次通话可使用哪些小程序,若使能层采用HTTP代理方式,DC3可以直接建立在第三方应用或垂直行业等用户和远端网络之间。24) DC3 establishment from the 5G new call enabling layer to the remote network, the corresponding mini-program list and mini-program download process. Here, only the call profile obtained in step 2 can be obtained to determine which mini-programs terminal A can use for this call. If the enabling layer uses HTTP proxy, DC3 can be directly established between users such as third-party applications or vertical industries and the remote network.

25)终端A到远端网络的DC4建立,对应的小程序列表和小程序下载流程。此处只可获取步骤2获取的通话profile确定终端B本次通话可使用哪些小程序。25) Terminal A establishes DC4 to the remote network, and the corresponding mini-program list and mini-program download process. Here, only the call profile obtained in step 2 can be obtained to determine which mini-programs terminal B can use for this call.

上述呼叫建立过程中,若建立新通话请求中携带的通话事件通知地址,5G新通话使能层可将必要的呼叫建立过程事件,如被叫18x振铃等信息,通知给第三方应用或垂直行业等用户。During the above call establishment process, if the call event notification address carried in the new call request is established, the 5G new call enabling layer can notify the necessary call establishment process events, such as the called party's 18x ringing information, to users such as third-party applications or vertical industries.

在该系统架构下,终端向第三方应用或垂直行业等用户发起新通话时引导数据通道(BDC)的流程如图8所示。该过程可包括:In this system architecture, the process of guiding the data channel (BDC) when the terminal initiates a new call to a third-party application or a vertical industry user is shown in Figure 8. The process may include:

1-10)标准新通话建立流程,用于主叫侧DC相关事件通知和媒体预留等。初始INVITE请求中包含根据此次会话中计划使用的音频、视频和数据通道接收地址端口等媒体信息生成的SDP offer。1-10) Standard new call establishment process, used for DC-related event notification and media reservation on the calling side. The initial INVITE request contains an SDP offer generated based on the media information such as the receiving address port of the audio, video and data channels planned to be used in this session.

1)中,终端向新通话IMS发送INVITE请求;2)中,新通话IMS判断需使用DC,进行DCSF发现;3)中,新通话IMS向DCSF发送Nimsas_SessionEventControl_Notify;4)中,DCSF判断是否可使用5G新通话以及5G新通话控制策略;5)中,DCSF生成本端和远端网络的DC媒体信息,包括小程序列表等;6)中,DCSF向新通话IMS发送Nimsas_MediaControl_MediaInstruction;7),新通话IMS进行DCMF/eMRF(增强MRF)发现;8),新通话IMS请求DCMF/eMRF对本端和远端网络所需媒体资源进行预留DCMF/Enhance MRF为对本端和远端网络分配媒体资源;9),新通话IMS向DCSF发送Nimsas_MediaControl_MediaInstructionresponse。1), the terminal sends an INVITE request to the new call IMS; 2), the new call IMS determines that DC needs to be used and performs DCSF discovery; 3), the new call IMS sends Nimsas_SessionEventControl_Notify to DCSF; 4), DCSF determines whether 5G new calls can be used and the 5G new call control strategy; 5), DCSF generates DC media information for the local and remote networks, including a list of mini-programs, etc.; 6), DCSF sends Nimsas_MediaControl_MediaInstruction to the new call IMS; 7), the new call IMS performs DCMF/eMRF (enhanced MRF) discovery; 8), the new call IMS requests DCMF/eMRF to reserve the media resources required for the local and remote networks. DCMF/Enhance MRF allocates media resources to the local and remote networks; 9), the new call IMS sends Nimsas_MediaControl_MediaInstructionresponse to DCSF.

11)新通话IMS根据被叫码号,将INVITE请求路由到5G新通话使能层。11) The new call IMS routes the INVITE request to the 5G new call enabling layer based on the called number.

12)5G新通话使能层根据收到的INVITE和其中包含的SDP answer,生成对应的API内容,向第三方应用或垂直行业等用户发送eMMTel API request。此API包括主叫终端(A)标识(如电话号码等),第三方应用或垂直行业等用户该次通话的被叫标识(可在IMS中路由的标识,如电话号码等),是否使用新通话能力、此次通话被叫终端A的音频、视频和数据通道接收地址端口等媒体信息。此API内容包含在5G新通话使能层生成的新通话来话请求中。5G新通话使能层维护此INVITE状态,并维护后续建立的会话。5G新通话使能层维护第三方应用或垂直行业等用户该次通话的被叫标识(可在IMS中路由的标识,如电话号码等)与第三方应用或垂直行业等用户该次通话的主叫标识(可能为私有标识等)的映射关系。第三方应用或垂直行业等用户可立刻返回新通话来话响应。若返回新通话来话响应,则此响应仅表示新通话来话请求是否成功,不代表新通话最终建立成功。12) The 5G new call enabling layer generates the corresponding API content based on the received INVITE and the SDP answer contained therein, and sends an eMMTel API request to third-party applications or vertical industry users. This API includes the calling terminal (A) identifier (such as a phone number, etc.), the called party identifier of the third-party application or vertical industry user for this call (an identifier that can be routed in IMS, such as a phone number, etc.), whether to use the new call capability, and the media information such as the audio, video and data channel receiving address port of the called terminal A for this call. This API content is included in the new call incoming request generated by the 5G new call enabling layer. The 5G new call enabling layer maintains the state of this INVITE and maintains the subsequent established session. The 5G new call enabling layer maintains the mapping relationship between the called party identifier of the third-party application or vertical industry user for this call (an identifier that can be routed in IMS, such as a phone number, etc.) and the calling party identifier of the third-party application or vertical industry user for this call (which may be a private identifier, etc.). The third-party application or vertical industry user can immediately return a new call incoming response. If a new call incoming response is returned, this response only indicates whether the new call incoming request is successful, and does not mean that the new call is finally established successfully.

13)5G新通话使能层作为会话端点,维护会话状态,同时生成API。13) The 5G new call enabling layer acts as a session endpoint, maintains session status, and generates an API.

14)5G新通话使能层与第三方应用或垂直行业等用户之间通话建立后,第三方应用或垂直行业等用户通过呼叫建立成功请求,或若步骤12)中未返回新通话来话响应时,在返回新通话来话响应中,携带此次通话建立的结果。此呼叫建立成功请求或新通话来话响应中,包含此通话的相关信息,包括是否使用新通话能力、通话profile(如本次通话或本次通话后续的本类同类型通话等可使用的小程序列表等)、此次通话计划使用的音频、视频和数据通道接收地址端口等媒体信息、通话事件通知地址(用于第三方通话建立相关的各种事件通知)等信息。14) After the call between the 5G new call enabling layer and third-party applications or vertical industries is established, the third-party applications or vertical industries will make a successful call establishment request, or if the new call incoming response is not returned in step 12), the result of the call establishment is carried in the returned new call incoming response. This call establishment success request or new call incoming response contains relevant information about the call, including whether to use the new call capability, call profile (such as the list of mini-programs that can be used for this call or subsequent calls of the same type), media information such as the audio, video and data channel receiving address ports planned for this call, and call event notification address (used for various event notifications related to third-party call establishment).

15)(可选)5G新通话使能层根据步骤12、13的内容,将本次通话相关的通话profile(如A号码可使用的小程序列表,或某类通话,如主叫A是10086等,可使用的小程序列表等)通知给DCSF。需要说明的是,此处可省略DCSF回复的响应,该响应可能包含通话profile设置结果,成功设置的小程序列表等内容。若未执行此步骤,则按照正常新通话建立流程,根据主叫A及第三方应用或垂直行业等用户的订阅信息确定此次第三方通话中可使用的小程序。15) (Optional) The 5G new call enabling layer notifies DCSF of the call profile related to this call (such as the list of mini-programs that can be used by number A, or the list of mini-programs that can be used for a certain type of call, such as caller A is 10086, etc.) according to the contents of steps 12 and 13. It should be noted that the response from DCSF can be omitted here, and the response may include the call profile setting results, the list of successfully set mini-programs, etc. If this step is not performed, the normal new call establishment process is followed to determine the mini-programs that can be used in this third-party call based on the subscription information of caller A and users of third-party applications or vertical industries.

16)5G新通话使能层与归属的网络进行DC相关事件通知和媒体预留等。16) The 5G new call enabling layer communicates with the network to which it belongs to perform DC-related event notifications and media reservations.

17)被叫网络与主叫侧完成必要的18X/PRACK/UPDATE/200OK等流程。17) The called network and the calling side complete the necessary 18X/PRACK/UPDATE/200OK processes.

18)5G新通话使能层根据步骤12、13的维护的会话信息,向主叫侧回复200OK响应,该响应包括根据步骤12获取的信息生成的SDP answer,该SDP包含根通话第三方应用或垂直行业等用户计划使用的音频、视频和数据通道接收地址端口等媒体信息等内容。18) The 5G new call enabling layer replies a 200OK response to the calling side based on the session information maintained in steps 12 and 13. The response includes an SDP answer generated based on the information obtained in step 12. The SDP contains media information such as the audio, video and data channel receiving address ports that users such as root call third-party applications or vertical industries plan to use.

19-20)主叫侧网络完成必要的媒体更新流程。19-20) The calling network completes the necessary media update process.

21)新通话IMS将200OK回复给主叫终端A。21) The new call IMS sends a 200 OK response to the calling terminal A.

22)终端A到本端网络的DC1建立,对应的小程序列表和小程序下载流程。此处只可获取步骤15获取的通话profile确定终端A本次通话可使用哪些小程序。22) Terminal A establishes a connection with DC1 of the local network, and the corresponding mini-program list and mini-program download process. Here, only the call profile obtained in step 15 can be obtained to determine which mini-programs can be used by terminal A in this call.

23)5G新通话使能层到本端网络的DC2建立,对应的小程序列表和小程序下载流程。此处只可获取步骤15获取的通话profile确定终端B本次通话可使用哪些小程序。若使能层采用HTTP代理方式,DC2可以直接建立在第三方应用或垂直行业等用户和本端网络之间。23) DC2 is established from the 5G new call enabling layer to the local network, and the corresponding mini-program list and mini-program download process. Here, only the call profile obtained in step 15 can be obtained to determine which mini-programs terminal B can use for this call. If the enabling layer uses HTTP proxy, DC2 can be directly established between users such as third-party applications or vertical industries and the local network.

24)终端A到远端网络的DC3建立,对应的小程序列表和小程序下载流程。此处只可获取步骤15获取的通话profile确定终端A本次通话可使用哪些小程序。24) DC3 from terminal A to the remote network is established, and the corresponding mini-program list and mini-program download process are obtained. Here, only the call profile obtained in step 15 can be obtained to determine which mini-programs terminal A can use for this call.

25)5G新通话使能层到远端网络的DC4建立,对应的小程序列表和小程序下载流程。此处只可获取步骤15获取的通话profile确定终端B本次通话可使用哪些小程序。若使能层采用HTTP代理方式,DC4可以直接建立在第三方应用或垂直行业等用户和远端网络之间。25) DC4 is established from the 5G new call enabling layer to the remote network, and the corresponding mini-program list and mini-program download process. Here, only the call profile obtained in step 15 can be obtained to determine which mini-programs terminal B can use for this call. If the enabling layer uses HTTP proxy, DC4 can be directly established between users such as third-party applications or vertical industries and the remote network.

上述呼叫建立过程中,若建立新通话请求中携带的通话事件通知地址,5G新通话使能层可将必要的呼叫建立过程事件,如被叫18x振铃等信息,通知给第三方应用或垂直行业等用户。During the above call establishment process, if the call event notification address carried in the new call request is established, the 5G new call enabling layer can notify the necessary call establishment process events, such as the called party's 18x ringing information, to users such as third-party applications or vertical industries.

应用侧发起与终端建立新通话之后,还可以在应用侧发起与终端之间建立应用数据通道。区别在于,此时终端A和第三方应用或垂直行业等用户只能使用图7的步骤2获取的通话profile确定的新通话小程序。应用侧发起新通话应用数据通道(ADC)建立流程如图9所示。该过程可包括:After the application side initiates a new call with the terminal, it can also initiate an application data channel between the application side and the terminal. The difference is that at this time, terminal A and third-party applications or vertical industry users can only use the new call applet determined by the call profile obtained in step 2 of Figure 7. The process of establishing a new call application data channel (ADC) initiated by the application side is shown in Figure 9. The process may include:

1)第三方应用或垂直行业等用户(如APP、应用服务器、网页、企业IPPBX等设备)已使用上述图7或图8的方式建立新通话会话。1) A third-party application or vertical industry user (such as an APP, an application server, a web page, an enterprise IPPBX, or other equipment) has established a new call session using the method shown in FIG. 7 or FIG. 8 .

2)第三方应用或垂直行业等用户调用5G新通话使能层能力开放接口,向5G新通话使能层发送建立应用数据通道请求(eMMTel API ADC建立request),该请求可包括第三方应用或垂直行业等用户该次通话的主叫标识(可能为私有标识等)、被叫终端(A)用户标识(如电话号码等)、是否使用新通话能力、通话profile(如本次通话或本次通话后续的本类同类型通话等可使用的小程序列表等)、此次通话计划使用的音频、视频和数据通道接收地址端口等媒体信息,通话事件通知地址(用于第三方通话建立相关的各种事件通知)等信息。2) Third-party applications or vertical industry users call the 5G new call enabling layer capability exposure interface and send an application data channel establishment request (eMMTel API ADC establishment request) to the 5G new call enabling layer. The request may include the caller ID (which may be a private ID, etc.) of the third-party application or vertical industry user for the call, the called terminal (A) user ID (such as phone number, etc.), whether to use the new call capability, call profile (such as the list of mini-programs that can be used for this call or subsequent calls of the same type), media information such as the audio, video and data channel receiving address ports planned to be used for this call, call event notification address (used for various event notifications related to third-party call establishment) and other information.

1’)(可选)5G新通话使能层向第三方应用或垂直行业等用户回复建立应用数据通道响应(API response),该响应包括此次建立应用数据通道请求是否成功等信息(仅代表此次调用请求成功,不代表应用数据通道已最终建立)。1’) (Optional) The 5G new call enabling layer responds to the third-party application or vertical industry user with an application data channel establishment response (API response), which includes information such as whether the request to establish the application data channel is successful (it only means that the call request is successful, and does not mean that the application data channel has been finally established).

3)5G新通话使能层更新通话会话,生成SDP,维护会话状态。3) The 5G new call enabling layer updates the call session, generates SDP, and maintains the session status.

5G新通话使能层根据建立新通话呼叫请求携带的参数,生成re-INVITE请求,该请求发送方根据新通话建立时保存的映射关系,由第三方应用或垂直行业等用户该次通话的主叫标识(可能为私有标识等)转为可在IMS内的可路由标识(如电话号码、可路由的第三房ID等)。该re-INVITE请求还包含根据应用数据通道请求携带的本应用数据通道计划使用的音频、视频和数据通道接收地址端口等媒体信息生成的SDP offer。此外,还可携带其他新通话呼叫信令应携带的信息。The 5G new call enabling layer generates a re-INVITE request based on the parameters carried in the new call request. The sender of the request converts the caller ID (which may be a private ID, etc.) of the third-party application or vertical industry user into a routable ID (such as a phone number, a routable third room ID, etc.) within the IMS based on the mapping relationship saved when the new call is established. The re-INVITE request also includes an SDP offer generated based on the media information such as the audio, video and data channel receiving address port planned to be used by the application data channel carried in the application data channel request. In addition, it can also carry other information that should be carried by the new call signaling.

4-16)与标准ADC建立流程相同。其中:4-16) is the same as the standard ADC establishment process. Among them:

4)中,5G新通话使能层向新通话IMS发送reINVITE请求;5)中,新通话IMS判断需要使用DC,进行DCSF发现;6)中,新通话IMS向DCSF发送Nimsas_SessionEventControl_Notify;7)中,DCSF判断是否可使用5G新通话以及5G新通话控制策略;8)中,DCSF生成本端和远端网络的DC媒体信息,包括小程序列表等;9)中,DCSF向新通话IMS发送Nimsas_SessionEventControl_Notify_response;10),新通话IMS向终端发送re-INVITE(SDP withaudio/video and Bootstrap DC offer);11),被叫网络协商;12),终端向新通话IMS发送200OK(SDP with audio/video and Bootstrap DC answer);13),新通话IMS向DCSF发送Nimsas_SessionEventControl_Notify;14)DCSF向新通话IMS发送Nimsas_SessionEventControl_Notify response;15),执行QoS flow(服务质量流);16),新通话IMS向5G新通话使能层发送200OK。4), the 5G new call enabling layer sends a reINVITE request to the new call IMS; 5), the new call IMS determines that DC needs to be used and performs DCSF discovery; 6), the new call IMS sends Nimsas_SessionEventControl_Notify to DCSF; 7), DCSF determines whether 5G new calls can be used and the 5G new call control strategy; 8), DCSF generates DC media information for the local and remote networks, including a list of mini-programs, etc.; 9), DCSF sends Nimsas_SessionEventControl_Notify_response to the new call IMS; 10), the new call IMS sends re-INVITE (SDP with audio/video and Bootstrap DC offer) to the terminal; 11), the called network negotiates; 12), the terminal sends 200OK (SDP with audio/video and Bootstrap DC) to the new call IMS. answer); 13), the new call IMS sends Nimsas_SessionEventControl_Notify to DCSF; 14) DCSF sends Nimsas_SessionEventControl_Notify response to the new call IMS; 15), execute QoS flow (quality of service flow); 16), the new call IMS sends 200OK to the 5G new call enabling layer.

17)5G新通话使能层作为会话端点,维护会话状态,同时生成API。17) The 5G new call enabling layer acts as a session endpoint, maintains session status, and generates an API.

18)5G新通话使能层与第三方应用或垂直行业等用户之间通话建立后,5G新通话使能层通过应用数据通道建立成功请求(eMMTel API被叫成功request),或2)中未返回新通话来话响应时,在返回应用数据通道响应中,携带此次应用数据通道建立的结果。此应用数据通道建立成功请求或应用数据通道建立响应中,包含此通话的相关信息,如本应用数据通道使用的音频、视频和数据通道接收地址端口等媒体信息等信息。18) After the call between the 5G new call enabling layer and third-party applications or vertical industry users is established, the 5G new call enabling layer sends a successful application data channel establishment request (eMMTel API called success request), or when no new call incoming response is returned in 2), the application data channel response is returned with the result of the application data channel establishment. This application data channel establishment success request or application data channel establishment response contains relevant information about the call, such as media information such as the audio, video and data channel receiving address port used by this application data channel.

19-20)与标准ADC建立流程相同。19-20) is the same as the standard ADC establishment process.

终端与应用侧建立新通话之后,还可以在发起与应用侧之间建立应用数据通道。区别在于此时终端A和第三方应用或垂直行业等用户只能使用图8步骤15获取的通话profile确定的新通话小程序。应用侧发起新通话应用数据通道(ADC)建立流程如图10所示。该过程可包括:After the terminal establishes a new call with the application side, an application data channel can also be established between the initiator and the application side. The difference is that at this time, terminal A and third-party applications or vertical industry users can only use the new call applet determined by the call profile obtained in step 15 of Figure 8. The process of establishing an application data channel (ADC) for initiating a new call on the application side is shown in Figure 10. This process may include:

1-8)与标准ADC建立流程相同。1-8) is the same as the standard ADC establishment process.

1)中,终端向新通话IMS发送re-INVITE请求;2)中,新通话IMS判断需使用DC,进行DCSF发现;3)中,新通话IMS向DCSF发送Nimsas_SessionEventControl_Notify;4)中,DCSF判断是否可使用5G新通话以及5G新通话控制策略;5)中,DCSF生成本端和远端网络的DC媒体信息,包括小程序列表等;6)中,DCSF向新通话IMS发送Nimsas_MediaControl_MediaInstruction;7),DCSF向新通话IMS发送Nimsas_SessionEventControl_Notify_response;8),新通话IMS向DCSF发送re-INVITE(SDP with audio/video and BootstrapDC offer)。In 1), the terminal sends a re-INVITE request to the new call IMS; in 2), the new call IMS determines that DC needs to be used and performs DCSF discovery; in 3), the new call IMS sends Nimsas_SessionEventControl_Notify to DCSF; in 4), DCSF determines whether 5G new calls can be used and the 5G new call control strategy; in 5), DCSF generates DC media information for the local and remote networks, including a list of mini-programs, etc.; in 6), DCSF sends Nimsas_MediaControl_MediaInstruction to the new call IMS; 7), DCSF sends Nimsas_SessionEventControl_Notify_response to the new call IMS; 8), the new call IMS sends re-INVITE (SDP with audio/video and BootstrapDC offer) to DCSF.

9)5G新通话使能层作为会话端点,维护会话状态,同时生成API。9) The 5G new call enabling layer acts as a session endpoint, maintains session status, and generates an API.

10)5G新通话使能层根据re-INVITE请求携带的参数,生成应用数据通道建立请求(eMMTel API request)。该请求发送方根据新通话建立时保存的映射关系,由可在IMS内的可路由标识(如电话号码、可路由的第三房ID等)转化为第三方应用或垂直行业等用户该次通话的主叫标识(可能为私有标识等)。该数据通道建立请求还包含根据应用数据通道请求携带的本应用数据通道计划使用的音频、视频和数据通道接收地址端口等媒体信息生成的SDP offer。此外,还可携带其他新通话呼叫信令应携带的信息。10) The 5G new call enabling layer generates an application data channel establishment request (eMMTel API request) based on the parameters carried in the re-INVITE request. The sender of the request converts the routable identifier (such as phone number, routable third room ID, etc.) in the IMS into the caller identifier (which may be a private identifier, etc.) of the third-party application or vertical industry user for the call based on the mapping relationship saved when the new call is established. The data channel establishment request also includes an SDP offer generated based on the media information such as the audio, video and data channel receiving address port planned to be used by the application data channel carried in the application data channel request. In addition, it can also carry other information that should be carried by the new call signaling.

11)第三方应用或垂直行业等用户调用5G新通话使能层能力开放接口,向5G新通话使能层发送数据通道建立响应(eMMTel API response),该响应可包括第三方应用或垂直行业等用户该次通话的主叫标识(可能为私有标识等)、被叫终端(A)用户标识(如电话号码等)、此次应用数据通道计划使用的音频、视频和数据通道接收地址端口等媒体信息,通话事件通知地址(用于第三方通话建立相关的各种事件通知)等信息。11) Third-party applications or vertical industry users call the 5G new call enabling layer capability exposure interface and send a data channel establishment response (eMMTel API response) to the 5G new call enabling layer. The response may include the caller ID (which may be a private ID, etc.) of the third-party application or vertical industry user for the call, the called terminal (A) user ID (such as telephone number, etc.), the audio, video and data channel receiving address port and other media information planned to be used for the data channel of this application, the call event notification address (used for various event notifications related to third-party call establishment) and other information.

12)5G新通话使能层生成SDP answer,更新和维持会话。12) The 5G new call enabling layer generates an SDP answer to update and maintain the session.

5G新通话使能层根据数据通道建立响应携带的参数,生成200OK响应,该响应发送方根据新通话建立时保存的映射关系,由第三方应用或垂直行业等用户该次通话的主叫标识(可能为私有标识等)转为可在IMS内的可路由标识(如电话号码、可路由的第三方ID等)。该200OK请求还包含根据应用数据通道请求携带的本应用数据通道计划使用的音频、视频和数据通道接收地址端口等媒体信息生成的SDP answer。此外,还携带其他新通话呼叫信令应携带的信息。The 5G new call enabling layer generates a 200OK response based on the parameters carried in the data channel establishment response. The sender of the response converts the caller ID (which may be a private ID, etc.) of the call by the third-party application or vertical industry user into a routable ID (such as a phone number, a routable third-party ID, etc.) within the IMS based on the mapping relationship saved when the new call is established. The 200OK request also includes an SDP answer generated based on the media information such as the audio, video and data channel receiving address port planned to be used by the application data channel carried in the application data channel request. In addition, it also carries other information that should be carried by the new call signaling.

13-20)与标准ADC建立流程相同。13-20) is the same as the standard ADC establishment process.

13)中,5G新通话使能层进行协商;14)中,5G新通话使能层向新通话IMS发送200OK;15)中,新通话IMS向DCSF发送Nimsas_SessionEventControl_Notify;16)中,DCSF向新通话IMS发送Nimsas_SessionEventControl_Notify response;17)中,执行QoS flow;18)中,新通话IMS向终端发送200OK;19)终端与5G新通话使能层ACK;20)ADC建立,ADC内数据交互。In 13), the 5G new call enabling layer negotiates; in 14), the 5G new call enabling layer sends 200OK to the new call IMS; in 15), the new call IMS sends Nimsas_SessionEventControl_Notify to DCSF; in 16), DCSF sends Nimsas_SessionEventControl_Notify response to the new call IMS; in 17), QoS flow is executed; in 18), the new call IMS sends 200OK to the terminal; 19) the terminal and the 5G new call enabling layer ACK; 20) ADC is established and data is exchanged within ADC.

可选的,在本申请实施例中,应用侧可终止新通话。具体的,应用侧终止新通话时,第三方应用或垂直行业等用户调用5G新通话使能层能力开放接口发送终止通话请求,该请求包含要终结的会话标识(如Session ID),5G新通话使能层时将其映射为SIP BYE,并在终端返回响应时将其映射为对应的能力开放接口API响应。Optionally, in an embodiment of the present application, the application side may terminate the new call. Specifically, when the application side terminates the new call, a third-party application or a user in a vertical industry calls the 5G new call enabling layer capability exposure interface to send a call termination request, which includes the session identifier to be terminated (such as Session ID), and the 5G new call enabling layer maps it to SIP BYE, and maps it to the corresponding capability exposure interface API response when the terminal returns a response.

可选的,在本申请实施例中,终端侧终止新通话。具体的,终端终止新通话流程与一般终止通话流程相同,当发往第三方应用或垂直行业等用户的SIP BYE到达5G新通话使能层时,该使能层将其映射为对应API,对反向确认由API映射为对应的SIP响应。Optionally, in an embodiment of the present application, the terminal side terminates the new call. Specifically, the process of terminating a new call by the terminal is the same as the general process of terminating a call. When the SIP BYE sent to a third-party application or vertical industry user reaches the 5G new call enabling layer, the enabling layer maps it to the corresponding API, and the reverse confirmation is mapped by the API to the corresponding SIP response.

可选的,在本申请实施例中,第三方应用或垂直行业等用户还可进行新通话呼叫状态查询。第三方应用或垂直行业等用户通过调用5G新通话使能层能力开放接口查询终端与应用之间新通话流程如图11所示。该过程可包括:Optionally, in an embodiment of the present application, third-party applications or vertical industry users can also query the call status of new calls. The process of third-party applications or vertical industry users querying the new call between the terminal and the application by calling the 5G new call enabling layer capability exposure interface is shown in Figure 11. The process may include:

1)第三方应用或垂直行业等用户(如APP、应用服务器、网页、企业IPPBX等设备)调用5G新通话使能层能力开放接口,向5G新通话使能层发送查询新通话呼叫请求(eMMTelAPI请求),该请求可包括通话会话标识(Session ID)等信息。1) Third-party applications or vertical industry users (such as APP, application servers, web pages, enterprise IPPBX and other devices) call the 5G new call enabling layer capability exposure interface and send a new call query request (eMMTelAPI request) to the 5G new call enabling layer. The request may include information such as the call session identifier (Session ID).

2)5G新通话使能层向第三方应用或垂直行业等用户回复本次查询新通话呼叫对应的响应,该响应可包括查询新通话会话结果(成功、失败等,若失败包含失败原因)、本呼叫双方(终端A和第三方应用或垂直行业等用户),可使用的小程序列表(图7中的步骤2或图8的步骤14的响应获得),呼叫建立时间等内容。2) The 5G new call enabling layer replies to the third-party application or vertical industry user with the response corresponding to the new call query. The response may include the result of the new call session query (success, failure, etc., and the reason for failure if failed), the two parties of the call (terminal A and third-party application or vertical industry user), the list of available mini-programs (obtained in the response to step 2 in Figure 7 or step 14 in Figure 8), call establishment time, etc.

通过以上描述可以看出,利用本申请实施例的方案,实现了应用侧与终端之间的新通话的建立、ADC过程的建立等过程。对于终端,在本申请实施例中,同样适用于不支持IMS、不支持移动码号的终端通过本申请实施例的方案使用5G新通话。It can be seen from the above description that the solution of the embodiment of the present application is used to realize the establishment of a new call between the application side and the terminal, the establishment of the ADC process, and other processes. For the terminal, in the embodiment of the present application, it is also applicable to the terminal that does not support IMS and does not support mobile code numbers to use the 5G new call through the solution of the embodiment of the present application.

参见图12,图12是本申请实施例提供的请求处理装置的结构图,应用于网络功能。如图12所示,请求处理装置包括:See Figure 12, which is a structural diagram of a request processing device provided in an embodiment of the present application, which is applied to network functions. As shown in Figure 12, the request processing device includes:

第一接收模块1201,用于接收第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话;第一处理模块1202,用于根据所述第一消息建立应用侧与终端之间的新通话。The first receiving module 1201 is used to receive a first message, wherein the first message is used to request to establish a new call between the application side and the terminal; the first processing module 1202 is used to establish a new call between the application side and the terminal according to the first message.

可选的,所述第一消息为应用侧发送的第一消息;其中,所述第一消息包括以下一项或多项:Optionally, the first message is a first message sent by the application side; wherein the first message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述装置还包括:Optionally, the device further comprises:

第一发送模块,用于向所述应用侧发送第二消息,其中,所述第二消息用于指示所述第一消息是否成功。The first sending module is used to send a second message to the application side, wherein the second message is used to indicate whether the first message is successful.

可选的,所述装置还包括:Optionally, the device further comprises:

第二发送模块,用于向第一网元发送本次新通话的业务配置信息;接收所述第一网元发送的第三消息;A second sending module, configured to send service configuration information of the new call to the first network element; and receive a third message sent by the first network element;

或者,or,

第二处理模块,用于根据所述应用侧的订阅信息,确定本次新通话中所述应用侧候选使用的小程序的信息。The second processing module is used to determine the information of the candidate mini-programs used by the application side in this new call according to the subscription information of the application side.

可选的,所述第一处理模块还用于:Optionally, the first processing module is further used for:

向新通话使用的IP多媒体子系统IMS发送邀请INVITE消息,其中,所述INVITE消息用于建立应用侧与终端之间的新通话。An invitation INVITE message is sent to the IP Multimedia Subsystem IMS used for the new call, wherein the INVITE message is used to establish a new call between the application side and the terminal.

可选的,所述INVITE消息包括以下一项或多项:Optionally, the INVITE message includes one or more of the following:

所述应用侧在新通话IMS内的可路由标识;The routable identifier of the application side in the new call IMS;

本次新通话的会话描述协议SDP信息;Session Description Protocol (SDP) information for this new call;

被叫标识。ID of the called party.

可选的,所述装置还包括:Optionally, the device further comprises:

第二接收模块,用于接收新通话使用的IMS发送的第四消息,其中,所述第四消息包括SDP信息;A second receiving module, configured to receive a fourth message sent by the IMS used for the new call, wherein the fourth message includes SDP information;

第一生成模块,用于根据所述第四消息生成第一信息;A first generating module, configured to generate first information according to the fourth message;

第三发送模块,用于向所述应用侧发送第五消息,其中,所述第五消息包括所述第一信息;a third sending module, configured to send a fifth message to the application side, wherein the fifth message includes the first information;

第三处理模块,用于执行小程序列表和/或小程序下载流程。The third processing module is used to execute the mini-program list and/or mini-program download process.

可选的,所述第一信息包括以下一项或多项:Optionally, the first information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述第一消息为新通话使用的IMS发送的第一消息,所述第一消息包括本次新通话的SDP信息。Optionally, the first message is a first message sent by an IMS used for a new call, and the first message includes SDP information of the new call.

可选的,所述第一处理模块还用于:Optionally, the first processing module is further used for:

根据所述第一消息生成第二信息;generating second information according to the first message;

向所述应用侧发送第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括所述第二信息;Sending a fourteenth message to the application side, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes the second information;

接收所述应用侧发送的第六消息,其中,所述第六消息用于指示本次新通话建立的结果。Receive a sixth message sent by the application side, wherein the sixth message is used to indicate a result of establishing the new call.

可选的,所述装置还包括:Optionally, the device further comprises:

第三接收模块,用于接收所述应用侧的第七消息,其中,所述第七消息用于指示所述第一消息是否成功。The third receiving module is used to receive a seventh message from the application side, wherein the seventh message is used to indicate whether the first message is successful.

可选的,所述第二信息包括以下一项或多项:Optionally, the second information includes one or more of the following:

主叫终端的标识;The identification of the calling terminal;

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述第六消息包括以下一项或多项:Optionally, the sixth message includes one or more of the following:

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述装置还包括:Optionally, the device further comprises:

第四发送模块,用于向第一网元发送所述本次新通话的业务配置信息。The fourth sending module is used to send the service configuration information of the new call to the first network element.

可选的,所述装置还包括:Optionally, the device further comprises:

第五处理模块,用于与归属网络进行数据通道相关事件通知和媒体预留;A fifth processing module, configured to perform data channel related event notification and media reservation with the home network;

第五发送模块,用于向所述新通话使用的IMS发送第八消息,其中,所述第八消息包括SDP信息;a fifth sending module, configured to send an eighth message to the IMS used for the new call, wherein the eighth message includes SDP information;

第六处理模块,用于执行小程序列表和/或小程序下载流程。The sixth processing module is used to execute the mini-program list and/or mini-program download process.

可选的,所述装置还包括:Optionally, the device further comprises:

第五发送模块,用于向所述应用侧发送呼叫建立过程事件。The fifth sending module is used to send a call establishment process event to the application side.

可选的,所述装置还包括:Optionally, the device further comprises:

第四接收模块,用于接收第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道;a fourth receiving module, configured to receive a fifteenth message, wherein the fifteenth message is used to request establishment of an application data channel between the application side and the terminal;

第八处理模块,用于根据所述第十五消息建立所述应用侧与所述终端之间的应用数据通道。An eighth processing module is used to establish an application data channel between the application side and the terminal according to the fifteenth message.

可选的,所述第十五消息为所述应用侧发送的第十五消息;其中,所述第十五消息包括以下一项或多项:Optionally, the fifteenth message is the fifteenth message sent by the application side; wherein the fifteenth message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址;Call event notification address;

会话标识。Session ID.

可选的,所述装置还包括:Optionally, the device further comprises:

第六发送模块,用于向所述应用侧发送第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。The sixth sending module is used to send a ninth message to the application side, wherein the ninth message is used to indicate whether the fifteenth message is successful.

可选的,所述第八处理模块还用于:Optionally, the eighth processing module is further used for:

向新通话使用的IMS发送重新邀请re-INVITE消息,其中,所述re-INVITE消息用于建立所述应用侧与所述终端之间的应用数据通道。A re-INVITE message is sent to the IMS used for the new call, wherein the re-INVITE message is used to establish an application data channel between the application side and the terminal.

可选的,所述re-INVITE消息包括以下一项或多项:Optionally, the re-INVITE message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

本次新通话的SDP信息;SDP information for this new call;

会话标识。Session ID.

可选的,所述应用侧在新通话使用的IMS内的可路由标识是由所述网络功能根据第一对应关系确定的,所述第一对应关系为应用侧的标识与新通话使用的IMS内的可路由标识之间的对应关系。Optionally, the routable identifier in the IMS used by the application side for the new call is determined by the network function according to a first corresponding relationship, where the first corresponding relationship is a corresponding relationship between the identifier of the application side and the routable identifier in the IMS used for the new call.

可选的,所述装置还包括:Optionally, the device further comprises:

第五接收模块,用于接收新通话使用的IMS发送的第十消息,其中,所述第十消息包括SDP信息;a fifth receiving module, configured to receive a tenth message sent by the IMS used for the new call, wherein the tenth message includes SDP information;

第二生成模块,用于根据所述第十消息生成第三信息;A second generating module, used to generate third information according to the tenth message;

第七发送模块,用于向所述应用侧发送第十一消息,其中,所述第十一消息包括所述第三信息,用于指示所述应用数据通道建立的结果;a seventh sending module, configured to send an eleventh message to the application side, wherein the eleventh message includes the third information and is configured to indicate a result of establishing the application data channel;

第九处理模块,用于建立与所述终端之间的应用数据通道。The ninth processing module is used to establish an application data channel with the terminal.

可选的,所述第十五消息为新通话使用的IMS发送的第十五消息,所述第十五消息包括本次新通话的SDP信息。Optionally, the fifteenth message is the fifteenth message sent by the IMS used for the new call, and the fifteenth message includes SDP information of the new call.

可选的,所述第八处理模块还用于:Optionally, the eighth processing module is further used for:

根据所述第十五消息生成第四信息;Generate fourth information according to the fifteenth message;

向所述应用侧发送第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括所述第四信息;Sending a sixteenth message to the application side, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

接收所述应用侧发送的第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。A twelfth message sent by the application side is received, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述装置还包括:Optionally, the device further comprises:

第六接收模块,用于接收所述应用侧发送的第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;a sixth receiving module, configured to receive a seventeenth message sent by the application side, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

第一映射模块,用于将所述第十七消息映射为SIP BYE,并向所述终端发送所述SIP BYE;A first mapping module, configured to map the seventeenth message into a SIP BYE, and send the SIP BYE to the terminal;

第七接收模块,用于接收所述终端发送的响应,将所述响应映射为响应,并向所述应用侧发送所述响应。The seventh receiving module is used to receive the response sent by the terminal, map the response into a response, and send the response to the application side.

可选的,所述装置还包括:Optionally, the device further comprises:

第八接收模块,用于接收所述终端发送的SIP BYE,将所述SIP BYE映射为第五消息,并向所述应用侧发送所述第五消息;an eighth receiving module, configured to receive the SIP BYE sent by the terminal, map the SIP BYE into a fifth message, and send the fifth message to the application side;

第二映射模块,用于接收所述应用侧发送的响应,将所述响应映射为SIP响应,并向所述终端发送所述SIP响应。The second mapping module is used to receive the response sent by the application side, map the response into a SIP response, and send the SIP response to the terminal.

可选的,所述装置还包括:Optionally, the device further comprises:

第九接收模块,用于接收所述应用侧发送的第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;a ninth receiving module, configured to receive an eighteenth message sent by the application side, wherein the eighteenth message is used to query a new call between the application side and the terminal;

第八发送模块,用于向所述应用侧发送第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。An eighth sending module is used to send a thirteenth message to the application side, wherein the thirteenth message is used to indicate the query result of the new call.

本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

参见图13,图13是本申请实施例提供的请求处理装置的结构图,应用于应用侧。如图13所示,请求处理装置包括:See Figure 13, which is a structural diagram of a request processing device provided in an embodiment of the present application, which is applied to the application side. As shown in Figure 13, the request processing device includes:

第一发送模块1301,用于向网络功能发送第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话。The first sending module 1301 is used to send a first message to the network function, wherein the first message is used to request to establish a new call between the application side and the terminal.

可选的,所述第一消息包括以下一项或多项:Optionally, the first message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述装置还包括:Optionally, the device further comprises:

第一接收模块,用于接收所述网络功能发送的第二消息,其中,所述第二消息用于指示所述第一消息是否成功。The first receiving module is used to receive a second message sent by the network function, wherein the second message is used to indicate whether the first message is successful.

可选的,所述装置还包括:Optionally, the device further comprises:

第二接收模块,用于接收所述网络功能发送的第五消息,其中,所述第五消息包括第一信息。The second receiving module is used to receive a fifth message sent by the network function, wherein the fifth message includes the first information.

可选的,所述第一信息包括以下一项或多项:Optionally, the first information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述装置还包括:Optionally, the device further comprises:

第三接收模块,用于接收所述网络功能发送的呼叫建立过程事件。The third receiving module is used to receive a call establishment process event sent by the network function.

可选的,所述装置还包括:Optionally, the device further comprises:

第二发送模块,用于向所述网络功能发送第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道。The second sending module is used to send a fifteenth message to the network function, wherein the fifteenth message is used to request to establish an application data channel between the application side and the terminal.

可选的,所述第十五消息包括以下一项或多项:Optionally, the fifteenth message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述装置还包括:Optionally, the device further comprises:

第四接收模块,用于接收所述网络功能发送的第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。The fourth receiving module is used to receive a ninth message sent by the network function, wherein the ninth message is used to indicate whether the fifteenth message is successful.

可选的,所述装置还包括:Optionally, the device further comprises:

第五接收模块,用于接收所述网络功能发送的第十一消息,其中,所述第十一消息用于指示所述应用数据通道建立的结果。A fifth receiving module is used to receive an eleventh message sent by the network function, wherein the eleventh message is used to indicate a result of establishing the application data channel.

可选的,所述装置还包括:Optionally, the device further comprises:

第六接收模块,用于接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息;a sixth receiving module, configured to receive a sixteenth message sent by the network function, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

第三发送模块,用于向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。The third sending module is used to send a twelfth message to the network function, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述装置还包括:Optionally, the device further comprises:

第四发送模块,用于向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;a fourth sending module, configured to send a seventeenth message to the network function, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

第七接收模块,用于接收所述网络功能发送的响应。The seventh receiving module is used to receive a response sent by the network function.

第八接收模块,用于接收所述网络功能发送的第五消息,并向所述网络功能发送响应。An eighth receiving module is used to receive a fifth message sent by the network function and send a response to the network function.

第五发送模块,用于向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;a fifth sending module, configured to send an eighteenth message to the network function, wherein the eighteenth message is used to query a new call between the application side and the terminal;

第九接收模块,用于接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。A ninth receiving module is used to receive a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate a query result of the new call.

本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

参见图14,图14是本申请实施例提供的请求处理装置的结构图,应用于应用侧。如图14所示,请求处理装置包括:See Figure 14, which is a structural diagram of a request processing device provided in an embodiment of the present application, which is applied to the application side. As shown in Figure 14, the request processing device includes:

第一接收模块1401,用于接收网络功能发送的第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括第二信息;The first receiving module 1401 is used to receive a fourteenth message sent by the network function, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes the second information;

第一发送模块1402,用于向所述网络功能发送第六消息,其中,所述第六消息用于指示本次新通话建立的结果。The first sending module 1402 is used to send a sixth message to the network function, wherein the sixth message is used to indicate the result of establishing the new call.

可选的,所述装置还可包括:Optionally, the device may further include:

第二发送模块,用于向所述网络功能发送第七消息,其中,所述第七消息用于指示所述第十四消息是否成功。The second sending module is used to send a seventh message to the network function, wherein the seventh message is used to indicate whether the fourteenth message is successful.

可选的,所述第二信息包括以下一项或多项:Optionally, the second information includes one or more of the following:

主叫终端的标识;The identification of the calling terminal;

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述装置还包括:Optionally, the device further comprises:

第二接收模块,用于接收所述网络功能发送的呼叫建立过程事件。The second receiving module is used to receive a call establishment process event sent by the network function.

可选的,所述装置还包括:Optionally, the device further comprises:

第三接收模块,用于接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息;A third receiving module, configured to receive a sixteenth message sent by the network function, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

第三发送模块,用于向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。The third sending module is used to send a twelfth message to the network function, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述装置还包括:Optionally, the device further comprises:

第五发送模块,用于向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;a fifth sending module, configured to send a seventeenth message to the network function, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

第四接收模块,用于接收所述网络功能发送的响应。The fourth receiving module is used to receive a response sent by the network function.

可选的,所述装置还包括:Optionally, the device further comprises:

第五接收模块,接收所述网络功能发送的第五消息,并向所述网络功能发送响应。A fifth receiving module receives a fifth message sent by the network function and sends a response to the network function.

可选的,所述装置还包括:Optionally, the device further comprises:

第六发送模块,用于向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;a sixth sending module, configured to send an eighteenth message to the network function, wherein the eighteenth message is used to query a new call between the application side and the terminal;

第六接收模块,接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。A sixth receiving module receives a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate a query result of the new call.

本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

参见图15,图15是本申请实施例提供的请求处理装置的结构图,应用于新通话使用的IMS。如图15所示,请求处理装置包括:See Figure 15, which is a structural diagram of a request processing device provided in an embodiment of the present application, which is applied to an IMS used for a new call. As shown in Figure 15, the request processing device includes:

第一发送模块1501,用于向网络功能发送第一消息,其中,所述第一消息用于请求建立终端与应用侧之间的新通话。The first sending module 1501 is used to send a first message to the network function, wherein the first message is used to request to establish a new call between the terminal and the application side.

可选的,所述第一消息包括本次新通话的SDP信息。Optionally, the first message includes SDP information of the new call.

可选的,所述装置还包括:Optionally, the device further comprises:

第一接收模块,用于接收所述网络功能发送的第八消息,其中,所述第八消息包括SDP信息。The first receiving module is used to receive an eighth message sent by the network function, wherein the eighth message includes SDP information.

本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

参见图16,图16是本申请实施例提供的请求处理装置的结构图,应用于终端。如图16所示,请求处理装置包括:See Figure 16, which is a structural diagram of a request processing device provided in an embodiment of the present application, which is applied to a terminal. As shown in Figure 16, the request processing device includes:

第一发送模块1601,用于向新通话使用的IMS发送INVITE请求,用于所述新通话使用的IMS向网络功能发送第一消息;The first sending module 1601 is used to send an INVITE request to the IMS used for the new call, and the IMS used for the new call sends a first message to the network function;

其中,所述INVITE请求包括本次新通话的SDP信息,所述第一消息用于请求建立终端与应用侧之间的新通话。The INVITE request includes the SDP information of the new call, and the first message is used to request to establish a new call between the terminal and the application side.

可选的,所述装置还包括:Optionally, the device further comprises:

第一接收模块,用于接收所述网络功能发送的SIP BYE,并向所述网络功能发送响应。The first receiving module is used to receive the SIP BYE sent by the network function and send a response to the network function.

可选的,所述装置还包括:Optionally, the device further comprises:

第二发送模块,用于向所述网络功能发送SIP BYE,并接收所述网络功能发送的SIP响应。The second sending module is used to send a SIP BYE to the network function and receive a SIP response sent by the network function.

本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

参见图17,图17是本申请实施例提供的请求处理装置的结构图,应用于终端。如图17所示,请求处理装置包括:处理器1701和收发器1702;See Figure 17, which is a structural diagram of a request processing device provided in an embodiment of the present application, which is applied to a terminal. As shown in Figure 17, the request processing device includes: a processor 1701 and a transceiver 1702;

所述收发器1702,用于接收第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话;The transceiver 1702 is used to receive a first message, wherein the first message is used to request to establish a new call between the application side and the terminal;

所述处理器1701,用于根据所述第一消息建立应用侧与终端之间的新通话。The processor 1701 is configured to establish a new call between the application side and the terminal according to the first message.

可选的,所述第一消息为应用侧发送的第一消息;其中,所述第一消息包括以下一项或多项:Optionally, the first message is a first message sent by the application side; wherein the first message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述收发器1702还用于:Optionally, the transceiver 1702 is further used for:

向所述应用侧发送第二消息,其中,所述第二消息用于指示所述第一消息是否成功。Send a second message to the application side, wherein the second message is used to indicate whether the first message is successful.

可选的,所述处理器1701还用于:Optionally, the processor 1701 is further configured to:

向第一网元发送本次新通话的业务配置信息;接收所述第一网元发送的第三消息;Sending service configuration information of the new call to the first network element; receiving a third message sent by the first network element;

或者,or,

根据所述应用侧的订阅信息,确定本次新通话中所述应用侧候选使用的小程序的信息。According to the subscription information of the application side, information of the candidate mini-programs used by the application side in this new call is determined.

可选的,所述处理器1701还用于:Optionally, the processor 1701 is further configured to:

向新通话使用的IP多媒体子系统IMS发送邀请INVITE消息,其中,所述INVITE消息用于建立应用侧与终端之间的新通话。An invitation INVITE message is sent to the IP Multimedia Subsystem IMS used for the new call, wherein the INVITE message is used to establish a new call between the application side and the terminal.

可选的,所述INVITE消息包括以下一项或多项:Optionally, the INVITE message includes one or more of the following:

所述应用侧在新通话IMS内的可路由标识;The routable identifier of the application side in the new call IMS;

本次新通话的会话描述协议SDP信息;Session Description Protocol (SDP) information for this new call;

被叫标识。ID of the called party.

可选的,所述处理器1701还用于:Optionally, the processor 1701 is further configured to:

接收新通话使用的IMS发送的第四消息,其中,所述第四消息包括SDP信息;receiving a fourth message sent by the IMS used for the new call, wherein the fourth message includes SDP information;

根据所述第四消息生成第一信息;Generate first information according to the fourth message;

向所述应用侧发送第五消息,其中,所述第五消息包括所述第一信息;Sending a fifth message to the application side, wherein the fifth message includes the first information;

执行小程序列表和/或小程序下载流程。Execute the applet list and/or applet download process.

可选的,所述第一信息包括以下一项或多项:Optionally, the first information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述第一消息为新通话使用的IMS发送的第一消息,所述第一消息包括本次新通话的SDP信息。Optionally, the first message is a first message sent by an IMS used for a new call, and the first message includes SDP information of the new call.

可选的,所述处理器1701还用于:Optionally, the processor 1701 is further configured to:

根据所述第一消息生成第二信息;generating second information according to the first message;

向所述应用侧发送第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括所述第二信息;Sending a fourteenth message to the application side, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes the second information;

接收所述应用侧发送的第六消息,其中,所述第六消息用于指示本次新通话建立的结果。Receive a sixth message sent by the application side, wherein the sixth message is used to indicate a result of establishing the new call.

可选的,所述收发器1702还用于:Optionally, the transceiver 1702 is further used for:

接收所述应用侧的第七消息,其中,所述第七消息用于指示所述第一消息是否成功。Receive a seventh message from the application side, wherein the seventh message is used to indicate whether the first message is successful.

可选的,所述第二信息包括以下一项或多项:Optionally, the second information includes one or more of the following:

主叫终端的标识;The identification of the calling terminal;

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述第六消息包括以下一项或多项:Optionally, the sixth message includes one or more of the following:

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述收发器1702还用于:Optionally, the transceiver 1702 is further used for:

向第一网元发送所述本次新通话的业务配置信息。Send the service configuration information of the new call to the first network element.

可选的,所述处理器1701还用于:Optionally, the processor 1701 is further configured to:

与归属网络进行数据通道相关事件通知和媒体预留;Notify the home network of data channel related events and make media reservations;

向所述新通话使用的IMS发送第八消息,其中,所述第八消息包括SDP信息;Sending an eighth message to the IMS used by the new call, wherein the eighth message includes SDP information;

执行小程序列表和/或小程序下载流程。Execute the applet list and/or applet download process.

可选的,所述收发器1702还用于:Optionally, the transceiver 1702 is further used for:

向所述应用侧发送呼叫建立过程事件。Sending a call establishment process event to the application side.

可选的,所述处理器1701还用于:Optionally, the processor 1701 is further configured to:

接收第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道;receiving a fifteenth message, wherein the fifteenth message is used to request to establish an application data channel between the application side and the terminal;

根据所述第十五消息建立所述应用侧与所述终端之间的应用数据通道。An application data channel is established between the application side and the terminal according to the fifteenth message.

可选的,所述第十五消息为所述应用侧发送的第十五消息;其中,所述第十五消息包括以下一项或多项:Optionally, the fifteenth message is the fifteenth message sent by the application side; wherein the fifteenth message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址;Call event notification address;

会话标识。Session ID.

可选的,所述收发器1702还用于:Optionally, the transceiver 1702 is further used for:

向所述应用侧发送第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。A ninth message is sent to the application side, wherein the ninth message is used to indicate whether the fifteenth message is successful.

可选的,所述处理器1701还用于:Optionally, the processor 1701 is further configured to:

向新通话使用的IMS发送重新邀请re-INVITE消息,其中,所述re-INVITE消息用于建立所述应用侧与所述终端之间的应用数据通道。A re-INVITE message is sent to the IMS used for the new call, wherein the re-INVITE message is used to establish an application data channel between the application side and the terminal.

可选的,所述re-INVITE消息包括以下一项或多项:Optionally, the re-INVITE message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

本次新通话的SDP信息;SDP information for this new call;

会话标识。Session ID.

可选的,所述应用侧在新通话使用的IMS内的可路由标识是由所述网络功能根据第一对应关系确定的,所述第一对应关系为应用侧的标识与新通话使用的IMS内的可路由标识之间的对应关系。Optionally, the routable identifier in the IMS used by the application side for the new call is determined by the network function according to a first corresponding relationship, where the first corresponding relationship is a corresponding relationship between the identifier of the application side and the routable identifier in the IMS used for the new call.

可选的,所述收发器1702还用于:Optionally, the transceiver 1702 is further used for:

接收新通话使用的IMS发送的第十消息,其中,所述第十消息包括SDP信息;receiving a tenth message sent by the IMS used for the new call, wherein the tenth message includes SDP information;

根据所述第十消息生成第三信息;generating third information according to the tenth message;

向所述应用侧发送第十一消息,其中,所述第十一消息包括所述第三信息,用于指示所述应用数据通道建立的结果;Sending an eleventh message to the application side, wherein the eleventh message includes the third information and is used to indicate a result of establishing the application data channel;

建立与所述终端之间的应用数据通道。An application data channel is established with the terminal.

可选的,所述第十五消息为新通话使用的IMS发送的第十五消息,所述第十五消息包括本次新通话的SDP信息。Optionally, the fifteenth message is the fifteenth message sent by the IMS used for the new call, and the fifteenth message includes SDP information of the new call.

可选的,所述处理器1701还用于:Optionally, the processor 1701 is further configured to:

根据所述第十五消息生成第四信息;Generate fourth information according to the fifteenth message;

向所述应用侧发送第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括所述第四信息;Sending a sixteenth message to the application side, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

接收所述应用侧发送的第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。A twelfth message sent by the application side is received, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述收发器1702还用于:Optionally, the transceiver 1702 is further used for:

接收所述应用侧发送的第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;receiving a seventeenth message sent by the application side, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

将所述第十七消息映射为SIP BYE,并向所述终端发送所述SIP BYE;Mapping the seventeenth message into a SIP BYE, and sending the SIP BYE to the terminal;

接收所述终端发送的响应,将所述响应映射为响应,并向所述应用侧发送所述响应。A response sent by the terminal is received, the response is mapped into a response, and the response is sent to the application side.

可选的,所述收发器1702还用于:Optionally, the transceiver 1702 is further used for:

接收所述终端发送的SIP BYE,将所述SIP BYE映射为第五消息,并向所述应用侧发送所述第五消息;receiving a SIP BYE sent by the terminal, mapping the SIP BYE into a fifth message, and sending the fifth message to the application side;

接收所述应用侧发送的响应,将所述响应映射为SIP响应,并向所述终端发送所述SIP响应。A response sent by the application side is received, the response is mapped into a SIP response, and the SIP response is sent to the terminal.

可选的,所述收发器1702还用于:Optionally, the transceiver 1702 is further used for:

接收所述应用侧发送的第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;receiving an eighteenth message sent by the application side, wherein the eighteenth message is used to query a new call between the application side and the terminal;

向所述应用侧发送第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。A thirteenth message is sent to the application side, wherein the thirteenth message is used to indicate a query result of the new call.

本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

参见图18,图18是本申请实施例提供的请求处理装置的结构图,应用于应用侧。如图18所示,请求处理装置包括:处理器1801和收发器1802;See Figure 18, which is a structural diagram of a request processing device provided in an embodiment of the present application, which is applied to the application side. As shown in Figure 18, the request processing device includes: a processor 1801 and a transceiver 1802;

所述收发器1802,用于向网络功能发送第一消息,其中,所述第一消息用于请求建立应用侧与终端之间的新通话。The transceiver 1802 is used to send a first message to the network function, wherein the first message is used to request to establish a new call between the application side and the terminal.

可选的,所述第一消息包括以下一项或多项:Optionally, the first message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述收发器1802还用于:Optionally, the transceiver 1802 is further used for:

接收所述网络功能发送的第二消息,其中,所述第二消息用于指示所述第一消息是否成功。A second message sent by the network function is received, wherein the second message is used to indicate whether the first message is successful.

可选的,所述收发器1802还用于:Optionally, the transceiver 1802 is further used for:

接收所述网络功能发送的第五消息,其中,所述第五消息包括第一信息。A fifth message sent by the network function is received, wherein the fifth message includes the first information.

可选的,所述第一信息包括以下一项或多项:Optionally, the first information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述收发器1802还用于:Optionally, the transceiver 1802 is further used for:

接收所述网络功能发送的呼叫建立过程事件。Receive a call establishment process event sent by the network function.

可选的,所述收发器还用于:Optionally, the transceiver is further used for:

向所述网络功能发送第十五消息,其中,所述第十五消息用于请求建立所述应用侧与所述终端之间的应用数据通道。A fifteenth message is sent to the network function, wherein the fifteenth message is used to request establishment of an application data channel between the application side and the terminal.

可选的,所述第十五消息包括以下一项或多项:Optionally, the fifteenth message includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

是否使用新通话能力;whether to use the new call capability;

本次新通话的业务配置信息;Service configuration information for this new call;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述收发器1802还用于:Optionally, the transceiver 1802 is further used for:

接收所述网络功能发送的第九消息,其中,所述第九消息用于指示所述第十五消息是否成功。A ninth message sent by the network function is received, wherein the ninth message is used to indicate whether the fifteenth message is successful.

可选的,所述收发器1802还用于:Optionally, the transceiver 1802 is further used for:

接收所述网络功能发送的第十一消息,其中,所述第十一消息用于指示所述应用数据通道建立的结果。An eleventh message sent by the network function is received, wherein the eleventh message is used to indicate a result of establishing the application data channel.

可选的,所述收发器1802还用于:Optionally, the transceiver 1802 is further used for:

接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息;receiving a sixteenth message sent by the network function, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。A twelfth message is sent to the network function, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述收发器1802还用于:Optionally, the transceiver 1802 is further used for:

向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;Sending a seventeenth message to the network function, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

接收所述网络功能发送的响应。A response sent by the network function is received.

可选的,所述收发器1802还用于:Optionally, the transceiver 1802 is further used for:

接收所述网络功能发送的第五消息,并向所述网络功能发送响应。receiving a fifth message sent by the network function, and sending a response to the network function.

可选的,所述收发器1802还用于:Optionally, the transceiver 1802 is further used for:

向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;Sending an eighteenth message to the network function, wherein the eighteenth message is used to query a new call between the application side and the terminal;

接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。Receive a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate a query result of the new call.

本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

参见图19,图19是本申请实施例提供的请求处理装置的结构图,应用于应用侧。如图19所示,请求处理装置包括:处理器1901和收发器1902;See Figure 19, which is a structural diagram of a request processing device provided in an embodiment of the present application, which is applied to the application side. As shown in Figure 19, the request processing device includes: a processor 1901 and a transceiver 1902;

所述收发器1902,用于接收网络功能发送的第十四消息,其中,所述第十四消息用于建立终端与应用侧之间的新通话且包括第二信息;向所述网络功能发送第六消息,其中,所述第六消息用于指示本次新通话建立的结果。The transceiver 1902 is used to receive the fourteenth message sent by the network function, wherein the fourteenth message is used to establish a new call between the terminal and the application side and includes the second information; and send the sixth message to the network function, wherein the sixth message is used to indicate the result of establishing this new call.

可选的,所述收发器1902还用于:Optionally, the transceiver 1902 is further used for:

向所述网络功能发送第七消息,其中,所述第七消息用于指示所述第十四消息是否成功。Sending a seventh message to the network function, wherein the seventh message is used to indicate whether the fourteenth message is successful.

可选的,所述第二信息包括以下一项或多项:Optionally, the second information includes one or more of the following:

主叫终端的标识;The identification of the calling terminal;

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

是否使用新通话能力;whether to use the new call capability;

本次新通话的媒体信息;Media information for this new call;

会话标识。Session ID.

可选的,所述收发器1902还用于:Optionally, the transceiver 1902 is further used for:

接收所述网络功能发送的呼叫建立过程事件。Receive a call establishment process event sent by the network function.

可选的,所述收发器1902还用于:Optionally, the transceiver 1902 is further used for:

接收所述网络功能发送的第十六消息,其中,所述第十六消息用于建立终端与应用侧之间的应用数据通道且包括第四信息;receiving a sixteenth message sent by the network function, wherein the sixteenth message is used to establish an application data channel between the terminal and the application side and includes the fourth information;

向所述网络功能发送第十二消息,其中,所述第十二消息用于指示数据通道建立的结果。A twelfth message is sent to the network function, wherein the twelfth message is used to indicate a result of establishing the data channel.

可选的,所述第四信息包括以下一项或多项:Optionally, the fourth information includes one or more of the following:

所述应用侧在本次新通话中的标识;The identifier of the application side in this new call;

被叫标识;called party identification;

本次新通话的媒体信息;Media information for this new call;

通话事件通知地址。Call event notification address.

可选的,所述第十二消息包括以下一项或多项:Optionally, the twelfth message includes one or more of the following:

所述应用侧在新通话使用的IMS内的可路由标识;The routable identifier of the application side in the IMS used for the new call;

SDP信息。SDP information.

可选的,所述收发器1902还用于:Optionally, the transceiver 1902 is further used for:

向所述网络功能发送第十七消息,其中,所述第十七消息用于终止所述应用侧与所述终端之间的新通话;Sending a seventeenth message to the network function, wherein the seventeenth message is used to terminate a new call between the application side and the terminal;

接收所述网络功能发送的响应。A response sent by the network function is received.

可选的,所述收发器1902还用于:Optionally, the transceiver 1902 is further used for:

接收所述网络功能发送的第五消息,并向所述网络功能发送响应。receiving a fifth message sent by the network function, and sending a response to the network function.

可选的,所述收发器1902还用于:Optionally, the transceiver 1902 is further used for:

向所述网络功能发送第十八消息,其中,所述第十八消息用于查询所述应用侧与所述终端之间的新通话;Sending an eighteenth message to the network function, wherein the eighteenth message is used to query a new call between the application side and the terminal;

接收所述网络功能发送的第十三消息,其中,所述第十三消息用于指示所述新通话的查询结果。Receive a thirteenth message sent by the network function, wherein the thirteenth message is used to indicate a query result of the new call.

本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

参见图20,图20是本申请实施例提供的请求处理装置的结构图,应用于应用侧。如图20所示,请求处理装置包括:处理器2001和收发器2002;Refer to Figure 20, which is a structural diagram of a request processing device provided in an embodiment of the present application, which is applied to the application side. As shown in Figure 20, the request processing device includes: a processor 2001 and a transceiver 2002;

所述收发器2002,用于向网络功能发送第一消息,其中,所述第一消息用于请求建立终端与应用侧之间的新通话。The transceiver 2002 is used to send a first message to the network function, wherein the first message is used to request to establish a new call between the terminal and the application side.

可选的,所述第一消息包括本次新通话的SDP信息。Optionally, the first message includes SDP information of the new call.

可选的,所述收发器2002还用于:Optionally, the transceiver 2002 is further used for:

接收所述网络功能发送的第八消息,其中,所述第八消息包括SDP信息。An eighth message sent by the network function is received, wherein the eighth message includes SDP information.

本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

参见图21,图21是本申请实施例提供的请求处理装置的结构图,应用于终端。如图21所示,请求处理装置包括:处理器2101和收发器2102;See Figure 21, which is a structural diagram of a request processing device provided in an embodiment of the present application, which is applied to a terminal. As shown in Figure 21, the request processing device includes: a processor 2101 and a transceiver 2102;

所述收发器2102,用于向新通话使用的IMS发送INVITE请求,用于所述新通话使用的IMS向网络功能发送第一消息;The transceiver 2102 is used to send an INVITE request to the IMS used for the new call, and the IMS used for the new call sends a first message to the network function;

其中,所述INVITE请求包括本次新通话的SDP信息,所述第一消息用于请求建立终端与应用侧之间的新通话。The INVITE request includes the SDP information of the new call, and the first message is used to request to establish a new call between the terminal and the application side.

可选的,所述收发器2102还用于:Optionally, the transceiver 2102 is further used for:

接收所述网络功能发送的SIP BYE,并向所述网络功能发送响应。Receive the SIP BYE sent by the network function, and send a response to the network function.

可选的,所述收发器2102还用于:Optionally, the transceiver 2102 is further used for:

向所述网络功能发送SIP BYE,并接收所述网络功能发送的SIP响应。Send a SIP BYE to the network function, and receive a SIP response sent by the network function.

本申请实施例提供的装置,可以执行上述方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

本申请实施例提供了一种通信设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序;所述处理器,用于读取存储器中的程序实现如前所述的请求处理方法中的步骤。An embodiment of the present application provides a communication device, including: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is used to read the program in the memory to implement the steps in the request processing method described above.

本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序,该程序被处理器执行时实现上述请求处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的可读存储介质,可以是处理器能够存取的任何可用介质或数据存储设备,包括但不限于磁性存储器(例如软盘、硬盘、磁带、磁光盘(MO)等)、光学存储器(例如CD、DVD、BD、HVD等)、以及半导体存储器(例如ROM、EPROM、EEPROM、非易失性存储器(NAND FLASH)、固态硬盘(SSD))等。The embodiment of the present application also provides a readable storage medium, on which a program is stored. When the program is executed by the processor, each process of the above-mentioned request processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state drive (SSD)), etc.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。根据这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁盘、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, disk, CD), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims (74)

1. A method for processing a request, applied to a network function, comprising:
receiving a first message, wherein the first message is used for requesting to establish a new call between an application side and a terminal;
And establishing a new call between the application side and the terminal according to the first message.
2. The method according to claim 1, wherein the first message is a first message sent by an application side; wherein the first message includes one or more of:
The application side marks in the new call;
A called identifier;
whether to use the new call capability;
service configuration information of the new call;
media information of the new call;
a call event notification address.
3. The method according to claim 2, wherein the method further comprises:
And sending a second message to the application side, wherein the second message is used for indicating whether the first message is successful or not.
4. The method according to claim 2, wherein the method further comprises:
the service configuration information of the new call is sent to the first network element; receiving a third message sent by the first network element;
Or alternatively
And determining the information of the applet candidate used by the application side in the new call according to the subscription information of the application side.
5. The method according to claim 2, wherein said establishing a new call between the application side and the terminal according to said first message comprises:
And sending an INVITE message to an IP multimedia subsystem IMS used by the new call, wherein the INVITE message is used for establishing the new call between the application side and the terminal.
6. The method of claim 5, wherein the INVITE message comprises one or more of:
The application side can route the label in the new conversation IMS;
Session Description Protocol (SDP) information of the new call;
And (5) identifying the called party.
7. The method according to claim 2, wherein the method further comprises:
Receiving a fourth message sent by an IMS used for a new call, wherein the fourth message comprises SDP information;
Generating first information according to the fourth message;
sending a fifth message to the application side, wherein the fifth message comprises the first information;
And executing the applet list and/or the applet downloading flow.
8. The method of claim 7, wherein the first information comprises one or more of:
The application side marks in the new call;
A called identifier;
whether to use the new call capability;
service configuration information of the new call;
media information of the new call;
And (5) session identification.
9. The method of claim 1, wherein the first message is a first message sent by an IMS used for a new call, and wherein the first message includes SDP information for the new call.
10. The method according to claim 9, wherein said establishing a new call between the application side and the terminal according to said first message comprises:
generating second information according to the first message;
A fourteenth message is sent to the application side, wherein the fourteenth message is used for establishing a new call between the terminal and the application side and comprises the second information;
and receiving a sixth message sent by the application side, wherein the sixth message is used for indicating the result of the establishment of the new call.
11. The method according to claim 10, wherein the method further comprises:
and receiving a seventh message of the application side, wherein the seventh message is used for indicating whether the first message is successful or not.
12. The method of claim 10, wherein the second information comprises one or more of:
an identification of the calling terminal;
The application side marks in the new call;
whether to use the new call capability;
media information of the new call;
And (5) session identification.
13. The method of claim 10, wherein the sixth message comprises one or more of:
whether to use the new call capability;
service configuration information of the new call;
media information of the new call;
a call event notification address.
14. The method according to claim 12, wherein the method further comprises:
and sending the service configuration information of the new call to a first network element.
15. The method according to claim 10, wherein the method further comprises:
carrying out data channel related event notification and media reservation with a home network;
Sending an eighth message to the IMS used by the new call, wherein the eighth message comprises SDP information;
And executing the applet list and/or the applet downloading flow.
16. The method according to any one of claims 2-15, further comprising:
And sending a call establishment process event to the application side.
17. The method according to claim 1, wherein the method further comprises:
A fifteenth message is received, wherein the fifteenth message is used for requesting to establish an application data channel between the application side and the terminal;
And establishing an application data channel between the application side and the terminal according to the fifteenth message.
18. The method according to claim 17, wherein the fifteenth message is a fifteenth message sent by the application side; wherein the fifteenth message includes one or more of:
The application side marks in the new call;
A called identifier;
whether to use the new call capability;
service configuration information of the new call;
media information of the new call;
a call event notification address;
And (5) session identification.
19. The method of claim 18, wherein the method further comprises:
and sending a ninth message to the application side, wherein the ninth message is used for indicating whether the fifteenth message is successful or not.
20. The method according to claim 18, wherein said establishing an application data channel between the application side and the terminal according to the fifteenth message comprises:
And sending re-INVITE message to the IMS used by the new call, wherein the re-INVITE message is used for establishing an application data channel between the application side and the terminal.
21. The method of claim 20, wherein the re-INVITE message comprises one or more of:
The application side can route the label in IMS used in new conversation;
SDP information of the new call;
And (5) session identification.
22. A method according to claim 6 or 21, wherein the routable identity of the application side within the IMS used for the new call is determined by the network function according to a first correspondence between the identity of the application side and the routable identity within the IMS used for the new call.
23. The method of claim 18, wherein the method further comprises:
receiving a tenth message sent by an IMS used for a new call, wherein the tenth message comprises SDP information;
generating third information according to the tenth message;
An eleventh message is sent to the application side, wherein the eleventh message comprises the third information and is used for indicating the result of the establishment of the application data channel;
And establishing an application data channel between the terminal and the terminal.
24. The method of claim 17 wherein the fifteenth message is a fifteenth message sent by an IMS used for a new call, the fifteenth message including SDP information for the new call.
25. The method according to claim 24, wherein said establishing an application data channel between the application side and the terminal according to the fifteenth message comprises:
Generating fourth information according to the fifteenth message;
a sixteenth message is sent to the application side, wherein the sixteenth message is used for establishing an application data channel between a terminal and the application side and comprises the fourth information;
and receiving a twelfth message sent by the application side, wherein the twelfth message is used for indicating the result of data channel establishment.
26. The method of claim 25, wherein the fourth information comprises one or more of:
The application side marks in the new call;
A called identifier;
media information of the new call;
a call event notification address.
27. The method of claim 25, wherein the twelfth message comprises one or more of:
The application side can route the label in IMS used in new conversation;
SDP information.
28. The method according to claim 1, wherein the method further comprises:
Receiving a seventeenth message sent by the application side, wherein the seventeenth message is used for terminating a new call between the application side and the terminal;
Mapping the seventeenth message into an initial session protocol, then seeing a SIP BYE, and sending the SIP BYE to the terminal;
and receiving the response sent by the terminal, mapping the response into a response, and sending the response to the application side.
29. The method according to claim 1, wherein the method further comprises:
Receiving the SIP BYE sent by the terminal, mapping the SIP BYE into a fifth message, and sending the fifth message to the application side;
And receiving the response sent by the application side, mapping the response into a SIP response, and sending the SIP response to the terminal.
30. The method according to claim 1, wherein the method further comprises:
Receiving an eighteenth message sent by the application side, wherein the eighteenth message is used for inquiring a new call between the application side and the terminal;
And sending a thirteenth message to the application side, wherein the thirteenth message is used for indicating the query result of the new call.
31. A request processing method, applied to an application side, comprising:
and sending a first message to the network function, wherein the first message is used for requesting to establish a new call between the application side and the terminal.
32. The method of claim 31, wherein the first message comprises one or more of:
The application side marks in the new call;
A called identifier;
whether to use the new call capability;
service configuration information of the new call;
media information of the new call;
a call event notification address.
33. The method according to claim 31, characterized in that the method further comprises:
and receiving a second message sent by the network function, wherein the second message is used for indicating whether the first message is successful or not.
34. The method according to claim 31, characterized in that the method further comprises:
And receiving a fifth message sent by the network function, wherein the fifth message comprises the first information.
35. The method of claim 34, wherein the first information comprises one or more of:
The application side marks in the new call;
A called identifier;
whether to use the new call capability;
service configuration information of the new call;
media information of the new call;
And (5) session identification.
36. The method according to claim 31, characterized in that the method further comprises:
And receiving a call establishment process event sent by the network function.
37. The method according to claim 31, characterized in that the method further comprises:
and transmitting a fifteenth message to the network function, wherein the fifteenth message is used for requesting to establish an application data channel between the application side and the terminal.
38. The method of claim 37, wherein the fifteenth message comprises one or more of:
The application side marks in the new call;
A called identifier;
whether to use the new call capability;
service configuration information of the new call;
media information of the new call;
a call event notification address.
39. The method of claim 37, wherein the method further comprises:
and receiving a ninth message sent by the network function, wherein the ninth message is used for indicating whether the fifteenth message is successful or not.
40. The method of claim 37, wherein the method further comprises:
And receiving an eleventh message sent by the network function, wherein the eleventh message is used for indicating the result of the establishment of the application data channel.
41. The method according to claim 31, characterized in that the method further comprises:
receiving a sixteenth message sent by the network function, wherein the sixteenth message is used for establishing an application data channel between a terminal and an application side and comprises fourth information;
and sending a twelfth message to the network function, wherein the twelfth message is used for indicating the result of the establishment of the data channel.
42. The method of claim 41, wherein the fourth information comprises one or more of:
The application side marks in the new call;
A called identifier;
media information of the new call;
a call event notification address.
43. The method of claim 41, wherein the twelfth message comprises one or more of the following:
The application side can route the label in IMS used in new conversation;
SDP information.
44. The method according to claim 31, characterized in that the method further comprises:
Transmitting a seventeenth message to the network function, wherein the seventeenth message is used for terminating a new call between the application side and the terminal;
And receiving a response sent by the network function.
45. The method according to claim 31, characterized in that the method further comprises:
And receiving a fifth message sent by the network function and sending a response to the network function.
46. The method according to claim 31, characterized in that the method further comprises:
an eighteenth message is sent to the network function, wherein the eighteenth message is used for inquiring a new call between the application side and the terminal;
And receiving a thirteenth message sent by the network function, wherein the thirteenth message is used for indicating the query result of the new call.
47. A request processing method, applied to an application side, comprising: :
Receiving a fourteenth message sent by a network function, wherein the fourteenth message is used for establishing a new call between the terminal and the application side and comprises second information;
and sending a sixth message to the network function, wherein the sixth message is used for indicating the result of the establishment of the new call.
48. The method according to claim 47, characterized in that the method further comprises:
And sending a seventh message to the network function, wherein the seventh message is used for indicating whether the fourteenth message is successful or not.
49. The method of claim 47, wherein the second information comprises one or more of:
an identification of the calling terminal;
The application side marks in the new call;
whether to use the new call capability;
media information of the new call;
And (5) session identification.
50. The method according to claim 47, characterized in that the method further comprises:
And receiving a call establishment process event sent by the network function.
51. The method according to claim 47, characterized in that the method further comprises:
receiving a sixteenth message sent by the network function, wherein the sixteenth message is used for establishing an application data channel between a terminal and an application side and comprises fourth information;
and sending a twelfth message to the network function, wherein the twelfth message is used for indicating the result of the establishment of the data channel.
52. The method of claim 51, wherein the fourth information comprises one or more of:
The application side marks in the new call;
A called identifier;
media information of the new call;
a call event notification address.
53. The method of claim 51, wherein the twelfth message comprises one or more of:
The application side can route the label in IMS used in new conversation;
SDP information.
54. The method according to claim 47, characterized in that the method further comprises:
Transmitting a seventeenth message to the network function, wherein the seventeenth message is used for terminating a new call between the application side and the terminal;
And receiving a response sent by the network function.
55. The method according to claim 47, characterized in that the method further comprises:
And receiving a fifth message sent by the network function and sending a response to the network function.
56. The method according to claim 47, characterized in that the method further comprises:
an eighteenth message is sent to the network function, wherein the eighteenth message is used for inquiring a new call between the application side and the terminal;
And receiving a thirteenth message sent by the network function, wherein the thirteenth message is used for indicating the query result of the new call.
57. A request processing method, applied to IMS used for a new call, comprising:
and sending a first message to the network function, wherein the first message is used for requesting to establish a new call between the terminal and the application side.
58. The method of claim 57, wherein the first message includes SDP information for the new call.
59. The method of claim 57, characterized in that the method further comprises:
and receiving an eighth message sent by the network function, wherein the eighth message comprises SDP information.
60. A request processing method, applied to a terminal, comprising:
an INVITE request is sent to an IMS used for a new call, and the IMS used for the new call sends a first message to a network function;
the INVITE request includes SDP information of a new call, and the first message is used for requesting to establish the new call between the terminal and the application side.
61. The method of claim 60, wherein the step of, characterized in that the method further comprises:
and receiving the SIP BYE sent by the network function and sending a response to the network function.
62. The method of claim 60, wherein the step of, characterized in that the method further comprises:
And sending the SIP BYE to the network function, and receiving the SIP response sent by the network function.
63. A request processing apparatus, for use in a network function, comprising:
the first receiving module is used for receiving a first message, wherein the first message is used for requesting to establish a new call between the application side and the terminal;
And the first processing module is used for establishing a new call between the application side and the terminal according to the first message.
64. A request processing apparatus, applied to an application side, comprising:
And the first sending module is used for sending a first message to the network function, wherein the first message is used for requesting to establish a new call between the application side and the terminal.
65. A request processing apparatus, applied to an application side, comprising:
The first receiving module is used for receiving a fourteenth message sent by the network function, wherein the fourteenth message is used for establishing a new call between the terminal and the application side and comprises second information;
And the first sending module is used for sending a sixth message to the network function, wherein the sixth message is used for indicating the result of the establishment of the new call.
66. A request processing apparatus, for application to an IMS used for a new call, comprising:
And the first sending module is used for sending a first message to the network function, wherein the first message is used for requesting to establish a new call between the terminal and the application side.
67. A request processing apparatus, applied to a terminal, comprising:
A first sending module, configured to send an INVITE request to an IMS used for a new call, where the IMS used for the new call sends a first message to a network function;
the INVITE request includes SDP information of a new call, and the first message is used for requesting to establish the new call between the terminal and the application side.
68. A request processing apparatus, for use in a network function, comprising: a processor and a transceiver;
The transceiver is used for receiving a first message, wherein the first message is used for requesting to establish a new call between an application side and a terminal;
And the processor is used for establishing a new call between the application side and the terminal according to the first message.
69. A request processing apparatus, applied to an application side, comprising: a processor and a transceiver;
The transceiver is configured to send a first message to a network function, where the first message is used to request establishment of a new call between an application side and a terminal.
70. A request processing apparatus, applied to an application side, comprising: a processor and a transceiver;
The transceiver is configured to receive a fourteenth message sent by the network function, where the fourteenth message is used to establish a new call between the terminal and the application side and includes second information; and sending a sixth message to the network function, wherein the sixth message is used for indicating the result of the establishment of the new call.
71. A request processing apparatus, for application to an IMS used for a new call, comprising: a processor and a transceiver;
The transceiver is configured to send a first message to a network function, where the first message is used to request establishment of a new call between a terminal and an application side.
72. A request processing apparatus, applied to a terminal, comprising: a processor and a transceiver;
the transceiver is configured to send an INVITE request to an IMS used for a new call, and send a first message to a network function by the IMS used for the new call;
the INVITE request includes SDP information of a new call, and the first message is used for requesting to establish the new call between the terminal and the application side.
73. A communication device, comprising: a memory, a processor, and a program stored on the memory and executable on the processor; the method according to any one of claims 1 to 62, characterized in that the processor is arranged to read a program in a memory for implementing the steps in the request processing method.
74. A readable storage medium storing a program, wherein the program when executed by a processor implements the steps in a request processing method according to any one of claims 1 to 62.
CN202311466776.8A 2023-11-06 2023-11-06 A request processing method, device, equipment and readable storage medium Pending CN118803584A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202311466776.8A CN118803584A (en) 2023-11-06 2023-11-06 A request processing method, device, equipment and readable storage medium
PCT/CN2024/127729 WO2025098176A1 (en) 2023-11-06 2024-10-28 Request processing method and apparatus, device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311466776.8A CN118803584A (en) 2023-11-06 2023-11-06 A request processing method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN118803584A true CN118803584A (en) 2024-10-18

Family

ID=93020579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311466776.8A Pending CN118803584A (en) 2023-11-06 2023-11-06 A request processing method, device, equipment and readable storage medium

Country Status (2)

Country Link
CN (1) CN118803584A (en)
WO (1) WO2025098176A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025098176A1 (en) * 2023-11-06 2025-05-15 中国移动通信有限公司研究院 Request processing method and apparatus, device, and readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022092897A1 (en) * 2020-10-31 2022-05-05 Samsung Electronics Co., Ltd. Methods and systems for handling a data session in a 5g user equipment
CN115842808A (en) * 2021-08-04 2023-03-24 中国移动通信有限公司研究院 Call interaction method, device, network node and storage medium
CN115865868A (en) * 2021-08-04 2023-03-28 中国移动通信有限公司研究院 Data interaction method, device, terminal, network equipment and storage medium
CN116260597A (en) * 2021-12-02 2023-06-13 中兴通讯股份有限公司 Multimedia call method, device, electronic equipment and storage medium
CN116567605A (en) * 2022-01-30 2023-08-08 华为技术有限公司 Method and device for enhancing conversation
CN114979084B (en) * 2022-05-19 2024-10-18 中国电信股份有限公司 Calling method, device and system
CN118803584A (en) * 2023-11-06 2024-10-18 中国移动通信有限公司研究院 A request processing method, device, equipment and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025098176A1 (en) * 2023-11-06 2025-05-15 中国移动通信有限公司研究院 Request processing method and apparatus, device, and readable storage medium

Also Published As

Publication number Publication date
WO2025098176A1 (en) 2025-05-15

Similar Documents

Publication Publication Date Title
US8213418B2 (en) Providing packet-based multimedia services via a circuit breaker
KR101049721B1 (en) Method and Application Server for Providing Early-media Service Based on Session Initiation Protocol
US8179791B2 (en) Sequentially calling groups of multiple communication devices based on user-specified lists of communication devices having assigned priorities
JP2009503924A (en) Apparatus for managing media server resources to interface between an application server and a media server in a communication network
US9591036B2 (en) Method and apparatus for dynamic device pairing
CN102215238A (en) Service processing method and system fused with video conference and user terminal
US8625581B2 (en) Methods and apparatus for enhancing the scalability of IMS in VoIP service deployment
CN102130888B (en) Method for continuing alerting tone and ringing signal in call process and servers
EP2587777B1 (en) Method and system for implementing color ring back tone and multimedia ring alert tone service.
WO2025098176A1 (en) Request processing method and apparatus, device, and readable storage medium
US9071690B2 (en) Call transfer processing in SIP mode
CN113726968B (en) Terminal communication method, device, server and storage medium
CN102484641B (en) For selecting the method for Internet resources
JP2009223533A (en) Session control device, session control method, and program
JP6479701B2 (en) Early media authorization control system and early media authorization control method
CN107852577A (en) A kind of supplementary service implementation method, terminal device and IMS service device
US8730944B2 (en) Method and entities for providing call enrichment of voice calls and semantic combination of several service sessions to a virtual combined service session
JP7498920B1 (en) Telephone number investigation device, investigation method, investigation program, and information provision system
JP7414215B1 (en) Telephone number investigation device, investigation method, investigation program, and information provision system
JP7538987B1 (en) Telephone number investigation device, investigation method, investigation program, and information provision system
KR100596003B1 (en) Payment service providing method and IP switch system employing the above method
CN116760801A (en) IMS network-based data interaction system
CN117938815A (en) Communication method, device and storage medium
KR20090066265A (en) Method and application server for providing early media service based on session establishment protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination