Conversation method and device, functional entity and network equipment

By setting functional entities in the 5G new call network system, third-party applications or vertical industry users can implement 5G new call calls between terminals, solving the problem that the existing system cannot support real-time communication services for third-party applications or vertical industry users. , providing multimedia and high-perception ultra-clear call experience.

CN118802850APending Publication Date: 2024-10-18CHINA MOBILE COMM LTD RES INST +1

Patent Information

Application Number
CN202311472990.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-07
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The existing 5G new call network system does not support third-party applications or vertical industry users to call real-time communication services between terminals, and cannot achieve multimedia and high-perception ultra-clear call experience.

Method used

By setting up functional entities between third-party applications or applications of vertical industry users and network systems, making interface connections, receiving request messages and sending execution messages to the network equipment where the terminals are located, new 5G calls (real-time communication services) between terminals are realized ) call and control.

Benefits of technology

It enables third-party applications or vertical industry users to call new 5G calls between terminals, provides visual, multimedia and high-perception ultra-clear call experience, and supports the establishment and end of real-time communication services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802850A_ABST
    Figure CN118802850A_ABST
Patent Text Reader

Abstract

The invention provides a call method and device, a functional entity and network equipment. The method comprises the following steps: receiving a first message sent by a first application, wherein the first message is used for requesting a first operation of a real-time communication service between a first terminal and a second terminal; according to the first message, a second message is sent to a first network device of a network where the first terminal is located, and the second message is used for requesting to execute the first operation. By adopting the method, a first functional entity is arranged between a first application for a third-party application or a user of a vertical industry and a network system for realizing a real-time communication service between terminals, and the first functional entity is in interface connection with the network system; according to the invention, calling of a 5G new call (real-time communication service) between terminals through the first application can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a conversation method, device, functional entity and network equipment. Background Art

[0002] 5G New Calls are ultra-HD voice calls, video calls and related value-added services based on the 5G network, such as 5G ultra-HD video calls, 5G video customer service, barrier-free communication functions, screen sharing, remote collaboration, AR fun calls and other functions, which can provide users with a visual, multimedia, and highly perceptual ultra-HD call experience.

[0003] At present, the new call network system architecture supports the process of establishing a new call between two terminals in the IMS network. It does not support third-party applications or users in vertical industries to initiate a call between two terminals by calling the capability exposure interface, and the call can be a new 5G call. Summary of the invention

[0004] The purpose of the technical solution of the present invention is to provide a call method, device, functional entity and network equipment for realizing the call of new 5G calls between terminals by third-party applications or users of vertical industries.

[0005] One embodiment of the present invention provides a call method, wherein the method is performed by a first functional entity and includes:

[0006] Receiving a first message sent by a first application, where the first message is used to request a first operation of a real-time communication service between a first terminal and a second terminal;

[0007] According to the first message, a second message is sent to a first network device in the network where the first terminal is located, where the second message is used to request execution of the first operation.

[0008] Optionally, in the calling method, the first operation includes one or more of the following:

[0009] Establish real-time communication services;

[0010] End the real-time communication service.

[0011] Optionally, in the calling method, the first message includes one or more of the following:

[0012] a user identifier of the first terminal;

[0013] a user identifier of the second terminal;

[0014] The first indication information is used to indicate whether to use the call capability of the real-time communication service;

[0015] Business configuration information;

[0016] Call event notification address;

[0017] Call session identifier.

[0018] Optionally, in the call method, wherein the first operation includes establishing a real-time communication service, after sending a second message to a first network device of a network where the first terminal is located, the method further includes:

[0019] receiving a third message sent by the first network device, where the third message is used to instruct the first terminal to confirm the execution of establishing a real-time communication service;

[0020] A fourth message is sent to the first network device, where the fourth message is used to request establishment of a session between the first terminal and the first application.

[0021] Optionally, the calling method further comprises:

[0022] After receiving the third message sent by the first network device, a fifth message is sent to the second network device where the second terminal is located, where the fifth message is used to request to establish a real-time communication service between the first terminal and the second terminal.

[0023] Optionally, the calling method further comprises at least one of the following:

[0024] receiving a sixth message sent by the second network device, wherein the sixth message is used to instruct the second terminal to confirm the establishment of the execution of the real-time communication service, and the sixth message includes capability information of the second terminal to execute the real-time communication service;

[0025] Sending a seventh message to the first network device, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service;

[0026] receiving an eighth message sent by the first network device, wherein the eighth message includes capability information of the first terminal to perform a real-time communication service;

[0027] Sending a ninth message to the second network device, wherein the ninth message includes capability information of the first terminal to perform a real-time communication service;

[0028] A tenth message is sent to the first terminal, where the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal.

[0029] Optionally, the calling method further comprises:

[0030] Sending a first notification message to the first application; wherein the first notification message includes one or more of the following:

[0031] A notification event of establishing a real-time communication service between the first terminal and the second terminal;

[0032] A result of establishing a real-time communication service between the first terminal and the second terminal;

[0033] A call identifier established by a real-time communication service between the first terminal and the second terminal;

[0034] A list of programs used when a real-time communication service is executed between the first terminal and the second terminal.

[0035] Optionally, in the calling method, the notification event includes one or more of the following:

[0036] A session is established between the first functional entity and the first terminal;

[0037] Establishing a session from the second terminal to the first terminal;

[0038] Establishing a session from the first terminal to the second terminal;

[0039] The session from the second terminal to the first terminal ends;

[0040] The session from the first terminal to the second terminal ends.

[0041] Optionally, the calling method further comprises:

[0042] Sending a second notification message to a third network device; wherein the second notification message includes service configuration information of a real-time communication service between the first terminal and the second terminal.

[0043] Optionally, in the call method, wherein the first operation includes ending the real-time communication service, the method further includes:

[0044] After receiving the eleventh message sent by the first network device in response to the second message, a twelfth message is sent to the second network device where the second terminal is located; wherein the eleventh message is used to instruct the first terminal to end the real-time communication service between the first terminal and the second terminal.

[0045] Optionally, the calling method further comprises:

[0046] A thirteenth message sent by the second network device is received, where the thirteenth message is used to instruct the second terminal to end the real-time communication service with the first terminal.

[0047] Optionally, the calling method further comprises:

[0048] receiving a fourteenth message sent by the first application, wherein the fourteenth message includes a call session identifier and is used to request a query of a real-time communication service corresponding to the call session identifier;

[0049] Send one or more of the user identifier of the first terminal, the user identifier of the second terminal, and service configuration information of the real-time communication service corresponding to the call session identifier to the first application.

[0050] One embodiment of the present invention further provides a call method, wherein the method is performed by a first network device and includes:

[0051] receiving a second message sent by the first functional entity, where the second message is used to request execution of a first operation of a real-time communication service between the first terminal and the second terminal;

[0052] The second message is forwarded to the first terminal.

[0053] Optionally, in the calling method, the first operation includes one or more of the following:

[0054] Establish real-time communication services;

[0055] End the real-time communication service.

[0056] Optionally, in the call method, wherein the first operation includes establishing a real-time communication service, the method further includes:

[0057] receiving a fifteenth message sent by the first terminal, wherein the fifteenth message includes capability information of the first terminal to perform a real-time communication service;

[0058] When it is determined that the first terminal has the capability to execute the real-time communication service according to the capability information of the first terminal to execute the real-time communication service, the fifteenth message is sent to the third network device, and the third network device determines the service configuration information of the first terminal to execute the real-time communication service;

[0059] A third message is sent to the first functional entity, where the third message is used to instruct the first terminal to confirm the execution of establishing the real-time communication service.

[0060] Optionally, the calling method further comprises one or more of the following:

[0061] receiving a fourth message sent by the first functional entity, where the fourth message is used to request the first terminal to establish a session with the first application;

[0062] forwarding the fourth message to the first terminal;

[0063] receiving a seventh message sent by the first functional entity, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service;

[0064] After forwarding the seventh message to the first terminal, receiving an eighth message sent by the first terminal, the eighth message including capability information of the first terminal to perform real-time communication services, and forwarding the eighth message to the first functional entity;

[0065] receiving a tenth message sent by the first functional entity, wherein the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal;

[0066] The tenth message is forwarded to the first terminal.

[0067] Optionally, in the call method, wherein the first operation includes ending the real-time communication service, the method further includes:

[0068] receiving an eleventh message sent by the first terminal in response to the second message, the eleventh message being used to instruct the first terminal to terminate a real-time communication service with the second terminal;

[0069] The eleventh message is forwarded to the first functional entity.

[0070] One embodiment of the present invention further provides a call method, which is executed by a first terminal and includes:

[0071] receiving a second message forwarded by the first network device and sent by the first functional entity, where the second message is used to request execution of a first operation of a real-time communication service between the first terminal and the second terminal;

[0072] According to the second message, the first operation is performed.

[0073] Optionally, in the calling method, the first operation includes one or more of the following:

[0074] Establish real-time communication services;

[0075] End the real-time communication service.

[0076] Optionally, in the call method, wherein the first operation includes establishing a real-time communication service, performing the first operation according to the second message includes:

[0077] A fifteenth message is sent to the first network device according to the second message, where the fifteenth message includes capability information of the first terminal for executing the real-time communication service.

[0078] Optionally, the calling method further comprises one or more of the following:

[0079] receiving a fourth message sent by the first network device, where the fourth message is used to request the first terminal to establish a session with the first application;

[0080] Establishing a session with the first application according to the fourth message;

[0081] receiving a seventh message sent by the first network device, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service;

[0082] Sending an eighth message to the first network device, wherein the eighth message includes capability information of the first terminal to perform a real-time communication service;

[0083] A tenth message sent by the first network device is received, wherein the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal.

[0084] Optionally, the calling method further comprises:

[0085] After obtaining a confirmation indication of establishment of the real-time communication service between the first terminal and the second terminal, the third network device obtains service configuration information used by the real-time communication service between the first terminal and the second terminal in the local network, and the fourth network device obtains service configuration information used by the real-time communication service between the first terminal and the second terminal in the remote network.

[0086] Optionally, in the call method, wherein the first operation includes terminating the real-time communication service, performing the first operation according to the second message includes:

[0087] An eleventh message is sent to the first network device, where the eleventh message is used to instruct the first terminal to terminate the real-time communication service between the first terminal and the second terminal.

[0088] One embodiment of the present invention further provides a functional entity, wherein the functional entity is a first functional entity, including a transceiver, and the transceiver is used to:

[0089] Receiving a first message sent by a first application, where the first message is used to request a first operation of a real-time communication service between a first terminal and a second terminal;

[0090] According to the first message, a second message is sent to a first network device in the network where the first terminal is located, where the second message is used to request execution of the first operation.

[0091] One embodiment of the present invention further provides a network device, wherein the network device is a first network device, comprising a transceiver, and the transceiver is used to:

[0092] receiving a second message sent by the first functional entity, where the second message is used to request execution of a first operation of a real-time communication service between the first terminal and the second terminal;

[0093] The second message is forwarded to the first terminal.

[0094] One embodiment of the present invention further provides a terminal, wherein the terminal is a first terminal, including a transceiver and a processor, wherein:

[0095] The transceiver is used to receive a second message forwarded by the first network device and sent by the first functional entity, where the second message is used to request to perform a first operation of a real-time communication service between the first terminal and the second terminal;

[0096] The processor is configured to perform the first operation according to the second message.

[0097] One embodiment of the present invention further provides a communication device, which is applied to a first functional entity and includes:

[0098] A first receiving module, configured to receive a first message sent by a first application, wherein the first message is used to request a first operation of a real-time communication service between a first terminal and a second terminal;

[0099] The first sending module is used to send a second message to a first network device in the network where the first terminal is located according to the first message, wherein the second message is used to request to perform the first operation.

[0100] One embodiment of the present invention further provides a communication device, which is applied to a first network device, and includes:

[0101] A second receiving module, used to receive a second message sent by the first functional entity, where the second message is used to request to perform a first operation of the real-time communication service between the first terminal and the second terminal;

[0102] The second sending module is used to forward the second message to the first terminal.

[0103] One embodiment of the present invention further provides a communication device, which is applied to a first terminal, and includes:

[0104] A third receiving module, configured to receive a second message forwarded by the first network device and sent by the first functional entity, wherein the second message is used to request execution of a first operation of a real-time communication service between the first terminal and the second terminal;

[0105] A processing module is used to perform the first operation according to the second message.

[0106] One embodiment of the present invention further provides a network device, which includes a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the call method as described in any one of the above items when executed by the processor.

[0107] One embodiment of the present invention further provides a terminal, which includes a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements any of the above-mentioned call methods when executed by the processor.

[0108] One embodiment of the present invention further provides a readable storage medium, characterized in that a program is stored on the readable storage medium, and when the program is executed by a processor, the steps in the call method as described in any one of the above items are implemented.

[0109] At least one of the above technical solutions of the present invention has the following beneficial effects:

[0110] By adopting the call method described in the embodiment of the present invention, a first functional entity is set between a first application for users of third-party applications or vertical industries and a network system for realizing real-time communication services between terminals, and an interface is established between the first functional entity and the network system. A first message sent by the first application to request a first operation of real-time communication services between a first terminal and a second terminal can be obtained, and a first message for executing the first operation is sent to a network device of the network where the terminals are located, thereby realizing the call of a new 5G call (real-time communication service) between terminals through the first application. BRIEF DESCRIPTION OF THE DRAWINGS

[0111] Figure 1 A schematic diagram of a system architecture using the communication method described in an embodiment of the present invention;

[0112] Figure 2 This is a flow chart of a calling method according to Embodiment 1 of the present invention;

[0113] Figure 3 This is a flow chart of implementation mode 1 of the communication method according to the embodiment of the present invention;

[0114] Figure 4 This is a flow chart of implementation mode 2 of the communication method according to the embodiment of the present invention;

[0115] Figure 5 This is a flow chart of implementation mode 3 of the communication method according to the embodiment of the present invention;

[0116] Figure 6 This is a flow chart of a calling method according to Embodiment 2 of the present invention;

[0117] Figure 7 This is a flowchart of a calling method according to Embodiment 3 of the present invention;

[0118] Figure 8 It is a schematic diagram of the structure of the functional entity described in the embodiment of the present invention;

[0119] Fig. 9 A schematic diagram of the structure of a network device according to an embodiment of the present invention;

[0120] Fig.10 This is a schematic diagram of the structure of a terminal according to an embodiment of the present invention;

[0121] Fig.11 This is a schematic diagram of the structure of a communication device according to Embodiment 1 of the present invention;

[0122] Fig.12 This is a schematic diagram of the structure of a communication device according to Embodiment 2 of the present invention;

[0123] Fig.13 This is a schematic diagram of the structure of a communication device according to Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0124] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0125] like Figure 1 The system architecture diagram of the communication method according to the embodiment of the present invention is shown in FIG.

[0126] In one embodiment, optionally, Figure 1As shown, the network system for realizing real-time communication services between terminals includes: terminals, network exposure function (NEF), data transmission channel signal function (DCSF), IP multimedia system application server (IMS AS), call session control function (CSCF) and DC media function (DCMF).

[0127] It should be noted that the structure of the above network system is only an example and is not limited to this. For example, in some network systems for implementing real-time communication services between terminals, the DCSF network function in the above network system can be a VoNR+capable network element, and the DCMF network function can be a VoNR+media plane.

[0128] The calling method described in the embodiment of the present invention is to realize the calling of new 5G calls between terminals by third-party applications or users of vertical industries, etc., by setting a first functional entity between a first application for third-party applications or users of vertical industries and a network system for realizing real-time communication services between terminals. The first functional entity is interfaced with the network system, so that a first message sent by the first application for requesting a first operation of real-time communication services between a first terminal and a second terminal can be obtained, and a first message for executing the first operation is sent to a network device of the network where the terminals are located, thereby realizing the calling of new 5G calls (real-time communication services) between terminals through the first application.

[0129] like Figure 2 As shown, the call method described in one embodiment of the embodiment of the present invention is performed by a first functional entity, and the method includes:

[0130] S210, receiving a first message sent by a first application, where the first message is used to request a first operation of a real-time communication service between a first terminal and a second terminal;

[0131] S220: Send a second message to a first network device in the network where the first terminal is located according to the first message, where the second message is used to request execution of the first operation.

[0132] In the embodiment of the present invention, optionally, the real-time communication service mentioned may also be expressed as new call, eMMTel, enhanced multimedia call, enhanced call, etc.

[0133] This real-time communication service is a related value-added service based on ultra-high-definition voice calls, video calls, etc., such as ultra-high-definition video calls, video customer service, barrier-free communication functions, screen sharing, remote collaboration, AR fun calls, etc., which can provide users with visual, multimedia and high-perception ultra-high-definition call experience.

[0134] Optionally, the first functional entity can be any one of the new call enabling layer (eMMtel Enabler), the IMS application server and the application function (AF) server in the 5G network. The specific implementation structure is related to the network deployment.

[0135] Optionally, the first application may include one or more of an APP that provides third-party applications or vertical industries, a data transmission channel application server (DC Application Server), a web page, and an enterprise Internet telephone private exchange IPPBX and other application devices.

[0136] Using the calling method described in the embodiment of the present invention, combined with Figure 1 and Figure 2 As shown, by adding a first functional entity between the first application and the network system for realizing real-time communication services between terminals, the first functional entity is connected to the interface between the network system and the first application (such as an application server for providing third-party applications or vertical industries), such as the signaling-related interface DC3 (also known as N33) exposed by NEF, as well as DC4, media-related interfaces MDC2 and MDC3. The network element function-level interface exposed by the above interface is processed by the first functional entity, encapsulated as a service application-level interface, and exposed to the first application through the first functional entity capability exposure interface (such as eMMTel-2), thereby realizing the scheduling of real-time communication services between the first terminal and the second terminal.

[0137] Optionally, the first functional entity may also integrate a small program management function and be connected to the DCSF via a DC5 interface.

[0138] In another implementation manner, optionally, the first functional entity may also include but is not limited to only including the following functions:

[0139] Mini Program Management: It is used by the Mini Program developer to upload and the terminal to download the real-time communication service Mini Program during the call, and has the functions of storing and managing Mini Programs;

[0140] Session / media management: As a relevant communication terminal of the real-time communication service, the first functional entity is used to generate a session to the terminal (including empty Session Description Protocol (SDP) signaling, black hole SDP signaling, etc.) according to the request from third-party applications or vertical industry users, map the received Session Initialization Protocol (SIP) request / response content, generate SIP request according to SIP response, etc., and maintain the session-related status and the correspondence between the session and the 5G new call enabling layer capability exposure request / response;

[0141] Business configuration information management: The first functional entity issues information related to mini-programs that can be used in a certain type of session based on specific session information of the session (such as a certain specific session, or a session related to each user, etc.);

[0142] Interface encapsulation and conversion: used for the encapsulation and conversion between the new call-related sessions and media on the IMS side and the first functional entity capability open application programming interface (Application Programming Interface, API), and can also support the encapsulation and conversion of other application layer capabilities;

[0143] Capability management: used to implement management functions such as relevant capability discovery, capability call authentication, and authorization.

[0144] In the embodiment of the present invention, optionally, the first operation includes one or more of the following:

[0145] Establish real-time communication services;

[0146] End the real-time communication service.

[0147] In an embodiment of the present invention, the call method described in this embodiment is adopted to implement the control operation of the first application to establish a real-time communication service between the first terminal and the second terminal through the first functional entity, and / or implement the control operation of the first application to end the real-time communication service between the first terminal and the second terminal.

[0148] Optionally, the first message includes one or more of the following:

[0149] a user identifier of the first terminal;

[0150] a user identifier of the second terminal;

[0151] The first indication information is used to indicate whether to use the call capability of the real-time communication service;

[0152] Business configuration information;

[0153] Call event notification address;

[0154] Call session identifier.

[0155] In this implementation, the first message sent by the first application to the first functional entity includes one or more of the above contents, and sends the terminal information, service configuration information, call event information, etc. of the requested real-time communication service to the first functional entity, so as to request the corresponding terminal to perform the real-time communication service of the corresponding operation.

[0156] In one implementation manner, the first operation includes establishing a real-time communication service, and the first application initiates a process of the real-time communication service between the first terminal and the second terminal by calling the capability exposure interface. Figure 3 As shown, the following steps may be included:

[0157] S3001, the first application (such as an APP, application server, web page, enterprise IPPBX and other devices) calls the capability exposure interface of the first functional entity and sends a first message to the first functional entity to request a third call request for a real-time communication service between the first terminal and the second terminal, that is, the first application requests to establish a real-time communication service between the first terminal and the second terminal.

[0158] Optionally, the first message includes one or more of the following:

[0159] a user identifier of the first terminal;

[0160] a user identifier of the second terminal;

[0161] The first indication information is used to indicate whether to use the call capability of the real-time communication service;

[0162] Business configuration information;

[0163] Call event notification address;

[0164] Call session identifier.

[0165] Optionally, the user identifier of the first terminal and the user identifier of the second terminal can be telephone numbers respectively. The service configuration information may include a list of mini-programs or applications that can be used for performing real-time communication services or subsequent calls of the same type between the first terminal and the second terminal. The call event notification address may include address information for the first application to receive event notifications, which is used by the first functional entity to feedback notification events during the real-time communication service between the first terminal and the second terminal to the first application.

[0166] S3002: The first functional entity notifies a third network device in a network system in which the terminals perform real-time communication services of service configuration information related to the real-time communication service performed between the first terminal and the second terminal.

[0167] Optionally, the service configuration information includes a list of programs corresponding to the real-time communication service between the first terminal and the second terminal and / or a list of programs used for a certain type of call (such as a special type of call when the caller is 10086).

[0168] In the embodiment of the present invention, optionally, the third network device includes but is not limited to only being able to include a DCSF.

[0169] Optionally, the first functional entity sends the service configuration information to the DCSF by sending a second notification message to the third network device.

[0170] Furthermore, the DCSF receives the second notification message and can set corresponding service configuration information for the real-time communication service between the first terminal and the second terminal.

[0171] Optionally, after completing the setting of the service configuration information, the DCSF may send a response message to the first functional entity, where the response message includes the setting result of the service configuration information and a list of successfully set programs, etc.

[0172] It should be noted that, in an embodiment of the present invention, the step of the first functional entity notifying the third network device of the service configuration information may be an optional step, and is not a mandatory execution process. In a case where the first terminal and the second terminal pre-subscribe to the service configuration information for the real-time communication service, a list of programs that the first terminal and the second terminal can use when executing this real-time communication service can be determined based on the pre-subscription.

[0173] S3003, the first functional entity sends a second message to the first terminal to which the third-party call needs to be established, optionally, the second message includes an Invite request that does not include SDP information, and optionally, the second message is sent to a first network device in the network system for the real-time communication service;

[0174] In the embodiment of the present invention, optionally, the first network device includes but is not limited to only including an IMS. Through the IMS, the second message can be sent to the first terminal.

[0175] S3004: The second message (the Invite request not including the SDP information) is forwarded to the first terminal via the first network device (such as the IMS).

[0176] S3005, after receiving the second message, the first terminal sends a fifteenth message to the first network device (such as IMS), optionally, the fifteenth message is a 200OK or 18X response message replied by the first terminal; specifically, the first terminal includes the supported audio, video and DC capabilities in the SDP offer according to its own capabilities, and the SDP offer (SDP offer1) is carried in the fifteenth message (such as 200OK or 18X response message) and replied to the first network device (such as IMS);

[0177] S3006, the first network device (such as IMS) recognizes that the fifteenth message (such as 200OK or 18X response) contains relevant media information of the real-time communication service, and the first terminal has subscribed to the real-time communication service, then determines that the call needs to be established in the form of the real-time communication service, and the fifteenth message (such as 200OK or 18X response) needs to be routed to the DCSF, and then determines the corresponding DCSF;

[0178] S3007, the first network device (such as IMS) sends a third notification message to the DCSF, which is used to notify the DCSF to reserve media resources according to the real-time communication service;

[0179] S3008, DCSF determines whether the real-time communication service can be used and determines a real-time communication service control strategy;

[0180] S3009, DCSF generates real-time communication media information of the local network and the remote network (such as a program list, an application list, etc.);

[0181] S3010, the DCSF sends a response message to the first network device (such as an IMS) to indicate that generation and / or configuration of the real-time communication media information is complete;

[0182] S3011, the first network device (such as IMS) performs DCMF / media resource function eMRF discovery;

[0183] S3012, the first network device (such as IMS) sends a request message to the DCMF / eMRF to request the DCMF / eMRF to reserve media resources required by the local network and the remote network, and the DCMF / eMRF allocates media resources to the local network and the remote network;

[0184] S3013, the first network device (such as IMS) sends a notification message to the DCSF to notify that the media resource reservation of the real-time communication service is successful;

[0185] S3014, DCSF sends a response message of the notification message to the first network device (such as IMS);

[0186] Through the above steps S3007 to S3014, DCSF and DCMF determine the list of mini-programs or application lists etc. that the first terminal can use for the current real-time communication according to the service configuration information acquired in step S3002;

[0187] S3015, after completing the processing flow of related event notification and media reservation of the real-time communication service, the first network device (such as IMS) sends a third message to the first functional entity, where the third message is used to instruct the first terminal to confirm the execution of the real-time communication service establishment, and optionally, the third message is a 200OK or 18X response message including SDP offer1;

[0188] S3016, the first functional entity sends a fourth message to the first network device (such as an IMS), where the fourth message is used to request to establish a session between the first terminal and the first application;

[0189] Optionally, the fourth message replied by the first functional entity is an ACK message corresponding to 200OK, and the ACK contains a "black hole SDP" (rfc3725), that is, the corresponding connection address is 0.0.0.0. After receiving the SDP, the first terminal will establish a session with the first functional entity, but no media can be transmitted in the session. Optionally, when the aforementioned SDP offer1 is carried in the 18X response, the fourth message here is a confirmation PRACK message of a reliable temporary response containing the "black hole SDP". The 200OK and the corresponding ACK process that do not carry the new SDP information after the PRACK are omitted here;

[0190] S3017, the first functional entity sends a first notification message to the first application according to the call event notification address carried in the first message, and optionally, the first notification message includes a notification event of establishing a session between the first terminal and the first functional entity;

[0191] It should be noted that in the embodiment of the present invention, this step is an optional step, not a mandatory step;

[0192] S3018, the first functional entity sends a fifth message to the second terminal to be established for the third-party call, where the fifth message is used to request establishment of a real-time communication service between the first terminal and the second terminal;

[0193] Optionally, the fifth message is an Invite request that does not include SDP information, and the fifth message is sent to a second network device of the called network (such as an IMS of the called network), and is sent to the second terminal via the IMS of the called network (here, the called network);

[0194] S3019, the second terminal sends a sixth message to the first functional entity through the IMS of the called network, where the sixth message is used to instruct the second terminal to confirm the establishment of the real-time communication service, and the sixth message includes the capability information of the second terminal to perform the real-time communication service;

[0195] Optionally, the second terminal determines capability information of the real-time communication service according to its own capability, where the capability information includes supported audio, video and DC capabilities, etc.; Optionally, the sixth message is a 200OK or 18X response message replied by the second terminal, where the capability information is included in an SDP offer, and the SDP offer (SDP offer2) is carried in the 200OK or 18X response message replied by the second terminal;

[0196] S3020, the called network and the second terminal complete the processing flow of DC-related event notification and media reservation of the real-time communication service. The specific implementation process can refer to steps S3007 to S3015 applied to the first terminal, which will not be repeated here;

[0197] S3021, the first functional entity determines, based on the sixth message received from the second terminal, that a session has been established with the first terminal. Optionally, at this time, it no longer replies with an ACK containing "black hole SDP" to the second terminal, but instead generates a re-request re-Invite to the first terminal based on the 200OK replied by the second terminal, or the SDP offer2 carried in the 18X response, and the re-Invite includes SDP offer2.

[0198] Optionally, the re-request re-Invite may be a seventh message, which is sent to a first network device (such as an IMS) of the first terminal, and is sent to the first terminal through the first network device of the first terminal, and the seventh message includes capability information of the second terminal to perform the real-time communication service;

[0199] S3022, after receiving the seventh message, the first network device of the first terminal performs operations such as DC-related event notification and media reservation update of the real-time communication service;

[0200] S3023, the first network device forwards the seventh message including the capability information of the real-time communication service to the first terminal;

[0201] S3024, the first terminal determines the capability information supported by the first terminal for performing the real-time communication service according to its own capability and the capability information of the second terminal for performing the real-time communication service, such as the supported capability information including audio, video and DC capabilities, etc., includes the supported capability information in an eighth message, and sends it to the first network device;

[0202] Optionally, the capability information supported by the first terminal is included in the SDP answer (SDP answer 2), the eighth message is a 200OK or 18X response message replied by the first terminal, and the SDP answer (SDP answer 2) is carried in the 200OK or 18X response message;

[0203] S3025, the first network device sends the eighth message to the first functional entity, that is, a 200OK or 18X response message including SDP answer 2 is replied to the first functional entity;

[0204] S3026, the first functional entity sends a ninth message to the second network device, where the ninth message includes capability information of the first terminal to perform a real-time communication service;

[0205] Specifically, the first functional entity includes the SDP answer 2 in ACK (ninth message) and replies to the second network device, which is sent to the second terminal by the second network device. At this time, the second terminal can establish a session with the first terminal based on its own SDP offer2 and the SDP answer 2 replied by the first terminal.

[0206] Optionally, when the aforementioned SDP offer2 is carried in the 18X response, the ninth message replied by the first functional entity here is a PRACK containing the "black hole SDP". The 200OK and the corresponding ACK process that do not carry the new SDP information after the PRACK are omitted here;

[0207] S3027, the first functional entity sends a first notification message to the first application according to the call event notification address carried in the first message, and optionally, the first notification message includes a notification event of session establishment from the second terminal to the first terminal;

[0208] It should be noted that in the embodiment of the present invention, this step is an optional step, not a mandatory step;

[0209] S3028, the first functional entity sends a tenth message to the first terminal, where the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal;

[0210] At this time, the first terminal establishes a session with the second terminal according to the SDP offer 2 of the second terminal and its own SDP answer 2, that is, at this time, a normal session between the first terminal and the second terminal has been established;

[0211] S3029, the first functional entity sends a first notification message to the first application according to the call event notification address carried in the first message, and optionally, the first notification message includes a notification event of session establishment between the first terminal and the second terminal;

[0212] It should be noted that in the embodiment of the present invention, this step is an optional step, not a mandatory step;

[0213] S3030, the first terminal establishes DC1 to the local network, and executes the corresponding mini-program list and mini-program download process. Optionally, this step determines which mini-programs the first terminal can use for this call based on the service configuration information obtained in step S3002;

[0214] S3031, the DC2 of the second terminal to the local network is established, and the corresponding mini-program list and mini-program download process are executed. Optionally, this step determines which mini-programs the second terminal can use for this call based on the service configuration information obtained in step S3002;

[0215] S3032, the DC3 of the first terminal to the remote network is established, and the corresponding mini-program list and mini-program download process are executed. Optionally, this step determines which mini-programs the first terminal can use for this call based on the service configuration information obtained in step S3002;

[0216] S3033, the second terminal establishes DC4 to the remote network, and executes the corresponding mini-program list and mini-program download process. Optionally, this step determines which mini-programs the second terminal can use for this call based on the service configuration information obtained in step S3002;

[0217] S3034, the first functional entity replies to the first application with a response corresponding to the third-party call request for establishing the real-time communication service (in the embodiment of the present invention, optionally, the response can be called a first notification message), and the response includes the result of establishing the third-party call for the new call (success, failure, etc., if failure includes the reason for failure), the call identifier (session ID) established this time, the list of mini-programs that can be finally used for this call, etc.

[0218] According to the above, in the process of establishing the real-time communication service between the first terminal and the second terminal, the method further includes:

[0219] Sending a first notification message to the first application; wherein the first notification message includes one or more of the following:

[0220] A notification event of establishing a real-time communication service between the first terminal and the second terminal;

[0221] A result of establishing a real-time communication service between the first terminal and the second terminal;

[0222] A call identifier established by a real-time communication service between the first terminal and the second terminal;

[0223] A list of programs used when a real-time communication service is executed between the first terminal and the second terminal.

[0224] Optionally, the notification event includes one or more of the following:

[0225] A session is established between the first functional entity and the first terminal;

[0226] Establishing a session from the second terminal to the first terminal;

[0227] Establishing a session from the first terminal to the second terminal;

[0228] The session from the second terminal to the first terminal ends;

[0229] The session from the first terminal to the second terminal ends.

[0230] In the embodiment of the present invention, after the third-party call between the first terminal and the second terminal is established according to the above method, the application data channel ADC establishment process is executed; specifically, after the third-party call is established according to the above process, the call process between the first terminal and the second terminal is a normal real-time communication service, and the ADC establishment process is the same as a new call of a normal real-time communication service. The difference is that at this time, the first terminal and the second terminal can only use the service configuration information obtained in the above step S3002 to determine the applet list or application list of the new call, and the ADC establishment process is not described in detail here.

[0231] Optionally, in the embodiment of the present invention, in step S210, the first message received by the first functional entity may be used to request to terminate the real-time communication service between the first terminal and the second terminal, thereby realizing third-party call termination of the real-time communication service.

[0232] Specifically, the first application (ie, a third-party application or a user server of a vertical industry, etc.) ends the real-time communication service between the two terminals by calling an open interface of the first functional entity.

[0233] like Figure 4 The figure shows a specific implementation process of the first application terminating the real-time communication service between two terminals by calling the open interface of the first functional entity, including the following steps:

[0234] S4001, a first application (such as an APP, an application server, a webpage, an enterprise IPPBX or other device) calls a capability exposure interface of a first functional entity and sends a request (such as a first message) to end a new call with a third party to the first functional entity, where the request includes information such as a call session identifier (Session ID);

[0235] S4002 to S4005, the first functional entity sends a second message to the first terminal through the first network device (such as IMS), indicating to terminate the real-time communication service between the first terminal and the second terminal, and the first terminal replies with a 200OK response (such as the eleventh message) to terminate its own session, and the eleventh message is used to instruct the first terminal to terminate the real-time communication service between the first terminal and the second terminal;

[0236] S4006, optionally, the first functional entity sends a first notification message to the first application based on the call event notification address carried when establishing the third-party call request or the callback address in the call end request, to notify the first application of necessary third-party call establishment process events, such as the end of the session of the first terminal here.

[0237] S4007, the first functional entity sends a twelfth message to the second terminal through the second network device, indicating to terminate the real-time communication service between the first terminal and the second terminal;

[0238] S4008, the second terminal sends a thirteenth message (such as a 200OK response) to the first functional entity through the second network device, indicating that the session of the real-time communication service executed by the second terminal is ended;

[0239] S4009, optionally, the first functional entity sends a first notification message to the first application according to the call event notification address carried when establishing the third-party call request or the callback address in the call end request, and notifies the first application of necessary third-party call establishment process events, such as the session of the second terminal here has ended;

[0240] S4010, the first functional entity replies to the first application with a response corresponding to the request to end the third-party call of the real-time communication service (such as a first notification message), and the response includes the result of establishing the third-party call for ending the real-time communication service (success, failure, etc., and if failure, the reason for failure is included).

[0241] It should be noted that, in the embodiment of the present invention, the first notification messages sent in the above-mentioned different processes are not indicated as the same message, and the first notification messages in different processes are different messages.

[0242] In addition, the first message to the fifteenth message mentioned in the embodiment of the present invention are only for distinguishing different messages, and the numbering order of different messages does not represent the order in which the messages are sent during the interaction process.

[0243] In another implementation of the embodiment of the present invention, optionally, the method further includes:

[0244] receiving a fourteenth message sent by the first application, wherein the fourteenth message includes a call session identifier and is used to request a query of a real-time communication service corresponding to the call session identifier;

[0245] Send one or more of the user identifier of the first terminal, the user identifier of the second terminal, and service configuration information of the real-time communication service corresponding to the call session identifier to the first application.

[0246] With this implementation, the first application can query the process of the real-time communication service between the first terminal and the second terminal by calling the capability exposure interface of the first functional entity, such as Figure 5 As shown, the implementation process includes:

[0247] S510, a first application (such as an APP, an application server, a webpage, an enterprise IPPBX or other device) calls a capability exposure interface of a first functional entity and sends a third-party call request (such as the fourteenth message) for querying a real-time communication service to the first functional entity, where the request includes information such as a call session identifier (Session ID);

[0248] S520, the first functional entity replies to the first application with a response corresponding to the third-party call request for querying the real-time communication service. The response may include the session result of querying the real-time communication service (success, failure, etc., and the reason for failure if failed), the user identification of the two parties in the call (the first terminal and the second terminal), a list of available applets, call establishment time, etc.

[0249] By adopting the calling method described in the embodiment of the present invention, a third-party application initiates a call for real-time communication services between two terminals by calling the capability exposure interface, thereby realizing the calling of new 5G calls between terminals by third-party applications or users in vertical industries. In addition, when initiating a call, third-party applications or users in vertical industries can dynamically specify the real-time communication service applet that can be used in the call between the two initiated terminals, without relying on the applet set subscribed by the two terminals of the call.

[0250] One embodiment of the present invention further provides a communication method, which is executed by a first network device, such as Figure 6 As shown, the method includes:

[0251] S610, receiving a second message sent by the first functional entity, where the second message is used to request execution of a first operation of a real-time communication service between the first terminal and the second terminal;

[0252] S620: Forward the second message to the first terminal.

[0253] By adopting the call method described in the embodiment of the present invention, a first functional entity is set between a first application for users of third-party applications or vertical industries and a network system for realizing real-time communication services between terminals, and an interface is established between the first functional entity and the network system. A first message sent by the first application to request a first operation of real-time communication services between a first terminal and a second terminal can be obtained, and a first message for executing the first operation is sent to a network device of the network where the terminals are located, thereby realizing the call of a new 5G call (real-time communication service) between terminals through the first application.

[0254] Optionally, in the calling method, the first operation includes one or more of the following:

[0255] Establish real-time communication services;

[0256] End the real-time communication service.

[0257] Optionally, in the call method, wherein the first operation includes establishing a real-time communication service, the method further includes:

[0258] receiving a fifteenth message sent by the first terminal, wherein the fifteenth message includes capability information of the first terminal to perform a real-time communication service;

[0259] When it is determined that the first terminal has the capability to execute the real-time communication service according to the capability information of the first terminal to execute the real-time communication service, the fifteenth message is sent to the third network device, and the third network device determines the service configuration information of the first terminal to execute the real-time communication service;

[0260] A third message is sent to the first functional entity, where the third message is used to instruct the first terminal to confirm the execution of establishing the real-time communication service.

[0261] Optionally, the calling method further comprises one or more of the following:

[0262] receiving a fourth message sent by the first functional entity, where the fourth message is used to request the first terminal to establish a session with the first application;

[0263] forwarding the fourth message to the first terminal;

[0264] receiving a seventh message sent by the first functional entity, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service;

[0265] After forwarding the seventh message to the first terminal, receiving an eighth message sent by the first terminal, the eighth message including capability information of the first terminal to perform real-time communication services, and forwarding the eighth message to the first functional entity;

[0266] receiving a tenth message sent by the first functional entity, wherein the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal;

[0267] The tenth message is forwarded to the first terminal.

[0268] Optionally, in the call method, wherein the first operation includes ending the real-time communication service, the method further includes:

[0269] receiving an eleventh message sent by the first terminal in response to the second message, the eleventh message being used to instruct the first terminal to terminate a real-time communication service with the second terminal;

[0270] The eleventh message is forwarded to the first functional entity.

[0271] For the specific implementation manner of applying the method described in the embodiment of the present invention to the first network device, reference may be made to the detailed description of the specific implementation manner applied to the first functional entity, which will not be described again here.

[0272] One embodiment of the present invention further provides a call method, which is executed by a first terminal, such as Figure 7 As shown, the method includes:

[0273] S710, receiving a second message forwarded by a first network device and sent by a first functional entity, where the second message is used to request execution of a first operation of a real-time communication service between the first terminal and the second terminal;

[0274] S720: Execute the first operation according to the second message.

[0275] Optionally, in the calling method, the first operation includes one or more of the following:

[0276] Establish real-time communication services;

[0277] End the real-time communication service.

[0278] Optionally, in the call method, wherein the first operation includes establishing a real-time communication service, performing the first operation according to the second message includes:

[0279] A fifteenth message is sent to the first network device according to the second message, where the fifteenth message includes capability information of the first terminal for executing the real-time communication service.

[0280] Optionally, the calling method further comprises one or more of the following:

[0281] receiving a fourth message sent by the first network device, where the fourth message is used to request the first terminal to establish a session with the first application;

[0282] Establishing a session with the first application according to the fourth message;

[0283] receiving a seventh message sent by the first network device, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service;

[0284] Sending an eighth message to the first network device, wherein the eighth message includes capability information of the first terminal to perform a real-time communication service;

[0285] A tenth message sent by the first network device is received, wherein the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal.

[0286] Optionally, the calling method further comprises:

[0287] After obtaining a confirmation indication of establishment of the real-time communication service between the first terminal and the second terminal, the third network device obtains service configuration information used by the real-time communication service between the first terminal and the second terminal in the local network, and the fourth network device obtains service configuration information used by the real-time communication service between the first terminal and the second terminal in the remote network.

[0288] Optionally, in the call method, wherein the first operation includes terminating the real-time communication service, performing the first operation according to the second message includes:

[0289] An eleventh message is sent to the first network device, where the eleventh message is used to instruct the first terminal to terminate the real-time communication service between the first terminal and the second terminal.

[0290] One embodiment of the present invention further provides a functional entity, wherein the functional entity is a first functional entity, such as Figure 8 As shown, the first functional entity 800 includes a transceiver 810, and the transceiver 810 is used to:

[0291] Receiving a first message sent by a first application, where the first message is used to request a first operation of a real-time communication service between a first terminal and a second terminal;

[0292] According to the first message, a second message is sent to a first network device in the network where the first terminal is located, where the second message is used to request execution of the first operation.

[0293] Optionally, in the functional entity, the first operation includes one or more of the following:

[0294] Establish real-time communication services;

[0295] End the real-time communication service.

[0296] Optionally, in the functional entity, the first message includes one or more of the following:

[0297] a user identifier of the first terminal;

[0298] a user identifier of the second terminal;

[0299] The first indication information is used to indicate whether to use the call capability of the real-time communication service;

[0300] Business configuration information;

[0301] Call event notification address;

[0302] Call session identifier.

[0303] Optionally, in the functional entity, wherein the first operation includes establishing a real-time communication service, after sending a second message to a first network device of a network where the first terminal is located, the transceiver 810 is further configured to:

[0304] receiving a third message sent by the first network device, where the third message is used to instruct the first terminal to confirm the execution of establishing a real-time communication service;

[0305] A fourth message is sent to the first network device, where the fourth message is used to request establishment of a session between the first terminal and the first application.

[0306] Optionally, in the functional entity, the transceiver 810 is further configured to:

[0307] After receiving the third message sent by the first network device, a fifth message is sent to the second network device where the second terminal is located, where the fifth message is used to request to establish a real-time communication service between the first terminal and the second terminal.

[0308] Optionally, in the functional entity, the transceiver 810 further includes at least one of the following:

[0309] receiving a sixth message sent by the second network device, wherein the sixth message is used to instruct the second terminal to confirm the establishment of the execution of the real-time communication service, and the sixth message includes capability information of the second terminal to execute the real-time communication service;

[0310] Sending a seventh message to the first network device, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service;

[0311] receiving an eighth message sent by the first network device, wherein the eighth message includes capability information of the first terminal to perform a real-time communication service;

[0312] Sending a ninth message to the second network device, wherein the ninth message includes capability information of the first terminal to perform a real-time communication service;

[0313] A tenth message is sent to the first terminal, where the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal.

[0314] Optionally, in the functional entity, the transceiver 810 is further configured to:

[0315] Sending a first notification message to the first application; wherein the first notification message includes one or more of the following:

[0316] A notification event of establishing a real-time communication service between the first terminal and the second terminal;

[0317] A result of establishing a real-time communication service between the first terminal and the second terminal;

[0318] A call identifier established by a real-time communication service between the first terminal and the second terminal;

[0319] A list of programs used when a real-time communication service is executed between the first terminal and the second terminal.

[0320] Optionally, in the functional entity, the notification event includes one or more of the following:

[0321] A session is established between the first functional entity and the first terminal;

[0322] Establishing a session from the second terminal to the first terminal;

[0323] Establishing a session from the first terminal to the second terminal;

[0324] The session from the second terminal to the first terminal ends;

[0325] The session from the first terminal to the second terminal ends.

[0326] Optionally, the functional entity, wherein the method further comprises:

[0327] Sending a second notification message to a third network device; wherein the second notification message includes service configuration information of a real-time communication service between the first terminal and the second terminal.

[0328] Optionally, in the functional entity, wherein the first operation includes terminating a real-time communication service, the transceiver 810 is further configured to:

[0329] After receiving the eleventh message sent by the first network device in response to the second message, a twelfth message is sent to the second network device where the second terminal is located; wherein the eleventh message is used to instruct the first terminal to end the real-time communication service between the first terminal and the second terminal.

[0330] Optionally, in the functional entity, the transceiver 810 is further configured to:

[0331] A thirteenth message sent by the second network device is received, where the thirteenth message is used to instruct the second terminal to end the real-time communication service with the first terminal.

[0332] Optionally, in the functional entity, the transceiver 810 is further configured to:

[0333] receiving a fourteenth message sent by the first application, wherein the fourteenth message includes a call session identifier and is used to request a query of a real-time communication service corresponding to the call session identifier;

[0334] Send one or more of the user identifier of the first terminal, the user identifier of the second terminal, and service configuration information of the real-time communication service corresponding to the call session identifier to the first application.

[0335] One embodiment of the present invention further provides a network device, wherein the network device is a first network device, such as Fig. 9 As shown, the network device 900 includes a transceiver 910, and the transceiver 910 is used to:

[0336] receiving a second message sent by the first functional entity, where the second message is used to request execution of a first operation of a real-time communication service between the first terminal and the second terminal;

[0337] The second message is forwarded to the first terminal.

[0338] Optionally, in the network device, the first operation includes one or more of the following:

[0339] Establish real-time communication services;

[0340] End the real-time communication service.

[0341] Optionally, in the network device, wherein the first operation includes establishing a real-time communication service, the transceiver 910 is further configured to:

[0342] receiving a fifteenth message sent by the first terminal, wherein the fifteenth message includes capability information of the first terminal to perform a real-time communication service;

[0343] When it is determined that the first terminal has the capability to execute the real-time communication service according to the capability information of the first terminal to execute the real-time communication service, the fifteenth message is sent to the third network device, and the third network device determines the service configuration information of the first terminal to execute the real-time communication service;

[0344] A third message is sent to the first functional entity, where the third message is used to instruct the first terminal to confirm the execution of establishing the real-time communication service.

[0345] Optionally, in the network device, the transceiver 910 further includes one or more of the following:

[0346] receiving a fourth message sent by the first functional entity, where the fourth message is used to request the first terminal to establish a session with the first application;

[0347] forwarding the fourth message to the first terminal;

[0348] receiving a seventh message sent by the first functional entity, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service;

[0349] After forwarding the seventh message to the first terminal, receiving an eighth message sent by the first terminal, the eighth message including capability information of the first terminal to perform real-time communication services, and forwarding the eighth message to the first functional entity;

[0350] receiving a tenth message sent by the first functional entity, wherein the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal;

[0351] The tenth message is forwarded to the first terminal.

[0352] Optionally, in the network device, wherein the first operation includes terminating a real-time communication service, the transceiver 910 is further configured to:

[0353] receiving an eleventh message sent by the first terminal in response to the second message, the eleventh message being used to instruct the first terminal to terminate a real-time communication service with the second terminal;

[0354] The eleventh message is forwarded to the first functional entity.

[0355] One embodiment of the present invention further provides a terminal, wherein the terminal is a first terminal, such as Fig.10 As shown, the first terminal 1000 includes a transceiver 1010 and a processor 1020, wherein:

[0356] The transceiver 1010 is used to receive a second message forwarded by a first network device and sent by a first functional entity, where the second message is used to request to perform a first operation of a real-time communication service between the first terminal and the second terminal;

[0357] The processor 1020 is configured to perform the first operation according to the second message.

[0358] Optionally, in the terminal, the first operation includes one or more of the following:

[0359] Establish real-time communication services;

[0360] End the real-time communication service.

[0361] Optionally, in the terminal, the first operation includes establishing a real-time communication service, and according to the second message, the processor 1020 performs the first operation, including:

[0362] A fifteenth message is sent to the first network device according to the second message, where the fifteenth message includes capability information of the first terminal for executing the real-time communication service.

[0363] Optionally, in the terminal, the transceiver 1010 further includes one or more of the following:

[0364] receiving a fourth message sent by the first network device, where the fourth message is used to request the first terminal to establish a session with the first application;

[0365] Establishing a session with the first application according to the fourth message;

[0366] receiving a seventh message sent by the first network device, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service;

[0367] Sending an eighth message to the first network device, wherein the eighth message includes capability information of the first terminal to perform a real-time communication service;

[0368] A tenth message sent by the first network device is received, wherein the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal.

[0369] Optionally, in the terminal, the transceiver 1010 is further used for:

[0370] After obtaining a confirmation indication of establishment of the real-time communication service between the first terminal and the second terminal, the third network device obtains service configuration information used by the real-time communication service between the first terminal and the second terminal in the local network, and the fourth network device obtains service configuration information used by the real-time communication service between the first terminal and the second terminal in the remote network.

[0371] Optionally, in the terminal, the first operation includes terminating a real-time communication service, and according to the second message, the processor 1020 performs the first operation, including:

[0372] An eleventh message is sent to the first network device, where the eleventh message is used to instruct the first terminal to terminate the real-time communication service between the first terminal and the second terminal.

[0373] One embodiment of the present invention further provides a communication device, which is applied to a first functional entity, such as Fig.11 As shown, the device comprises:

[0374] A first receiving module 1101 is configured to receive a first message sent by a first application, where the first message is used to request a first operation of a real-time communication service between a first terminal and a second terminal;

[0375] The first sending module 1102 is used to send a second message to a first network device in the network where the first terminal is located according to the first message, where the second message is used to request to perform the first operation.

[0376] Optionally, in the communication device, the first operation includes one or more of the following:

[0377] Establish real-time communication services;

[0378] End the real-time communication service.

[0379] Optionally, in the communication device, the first message includes one or more of the following:

[0380] a user identifier of the first terminal;

[0381] a user identifier of the second terminal;

[0382] The first indication information is used to indicate whether to use the call capability of the real-time communication service;

[0383] Business configuration information;

[0384] Call event notification address;

[0385] Call session identifier.

[0386] Optionally, in the communication device, the first operation includes establishing a real-time communication service, and after sending a second message to a first network device of a network where the first terminal is located:

[0387] The first receiving module 1101 is further used to receive a third message sent by the first network device, where the third message is used to instruct the first terminal to confirm the execution of the real-time communication service establishment;

[0388] The first sending module 1102 is further used to send a fourth message to the first network device, where the fourth message is used to request to establish a session between the first terminal and the first application.

[0389] Optionally, in the communication device, the first sending module 1102 is further used for:

[0390] After receiving the third message sent by the first network device, a fifth message is sent to the second network device where the second terminal is located, where the fifth message is used to request to establish a real-time communication service between the first terminal and the second terminal.

[0391] Optionally, the communication device further comprises a first transceiver processing module 1103, configured to perform at least one of the following:

[0392] receiving a sixth message sent by the second network device, wherein the sixth message is used to instruct the second terminal to confirm the establishment of the execution of the real-time communication service, and the sixth message includes capability information of the second terminal to execute the real-time communication service;

[0393] Sending a seventh message to the first network device, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service;

[0394] receiving an eighth message sent by the first network device, wherein the eighth message includes capability information of the first terminal to perform a real-time communication service;

[0395] Sending a ninth message to the second network device, wherein the ninth message includes capability information of the first terminal to perform a real-time communication service;

[0396] A tenth message is sent to the first terminal, where the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal.

[0397] Optionally, in the communication device, the first sending module 1102 is further used for:

[0398] Sending a first notification message to the first application; wherein the first notification message includes one or more of the following:

[0399] A notification event of establishing a real-time communication service between the first terminal and the second terminal;

[0400] A result of establishing a real-time communication service between the first terminal and the second terminal;

[0401] A call identifier established by a real-time communication service between the first terminal and the second terminal;

[0402] A list of programs used when a real-time communication service is executed between the first terminal and the second terminal.

[0403] Optionally, in the communication device, the notification event includes one or more of the following:

[0404] A session is established between the first functional entity and the first terminal;

[0405] Establishing a session from the second terminal to the first terminal;

[0406] Establishing a session from the first terminal to the second terminal;

[0407] The session from the second terminal to the first terminal ends;

[0408] The session from the first terminal to the second terminal ends.

[0409] Optionally, in the communication device, the first sending module 1102 is further used for:

[0410] Sending a second notification message to a third network device; wherein the second notification message includes service configuration information of a real-time communication service between the first terminal and the second terminal.

[0411] Optionally, in the communication device, the first operation includes terminating the real-time communication service, and the first sending module 1102 is further configured to:

[0412] After receiving the eleventh message sent by the first network device in response to the second message, a twelfth message is sent to the second network device where the second terminal is located; wherein the eleventh message is used to instruct the first terminal to end the real-time communication service between the first terminal and the second terminal.

[0413] Optionally, in the communication device, the first receiving module 1101 is further used for:

[0414] A thirteenth message sent by the second network device is received, where the thirteenth message is used to instruct the second terminal to end the real-time communication service with the first terminal.

[0415] Optionally, the communication device, wherein:

[0416] The first receiving module 1101 is further used to receive a fourteenth message sent by the first application, where the fourteenth message includes a call session identifier and is used to request a query of a real-time communication service corresponding to the call session identifier;

[0417] The first sending module 1102 is further configured to send one or more of the user identifier of the first terminal, the user identifier of the second terminal, and service configuration information of the real-time communication service corresponding to the call session identifier to the first application.

[0418] One embodiment of the present invention further provides a communication device, wherein the communication device is applied to a first network device, such as Fig.12 As shown, the device comprises:

[0419] The second receiving module 1201 is used to receive a second message sent by the first functional entity, where the second message is used to request to perform a first operation of the real-time communication service between the first terminal and the second terminal;

[0420] The second sending module 1202 is configured to forward the second message to the first terminal.

[0421] Optionally, in the communication device, the first operation includes one or more of the following:

[0422] Establish real-time communication services;

[0423] End the real-time communication service.

[0424] Optionally, in the communication device, the first operation includes establishing a real-time communication service, and the device further includes a second transceiver processing module 1203, which is used to:

[0425] receiving a fifteenth message sent by the first terminal, wherein the fifteenth message includes capability information of the first terminal to perform a real-time communication service;

[0426] When it is determined that the first terminal has the capability to execute the real-time communication service according to the capability information of the first terminal to execute the real-time communication service, the fifteenth message is sent to the third network device, and the third network device determines the service configuration information of the first terminal to execute the real-time communication service;

[0427] A third message is sent to the first functional entity, where the third message is used to instruct the first terminal to confirm the execution of establishing the real-time communication service.

[0428] Optionally, the communication device further comprises a third transceiver processing module 1204 configured to perform one or more of the following:

[0429] receiving a fourth message sent by the first functional entity, where the fourth message is used to request the first terminal to establish a session with the first application;

[0430] forwarding the fourth message to the first terminal;

[0431] receiving a seventh message sent by the first functional entity, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service;

[0432] After forwarding the seventh message to the first terminal, receiving an eighth message sent by the first terminal, the eighth message including capability information of the first terminal to perform real-time communication services, and forwarding the eighth message to the first functional entity;

[0433] receiving a tenth message sent by the first functional entity, wherein the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal;

[0434] The tenth message is forwarded to the first terminal.

[0435] Optionally, in the communication device, the first operation includes terminating the real-time communication service:

[0436] The second receiving module 1201 is further used to receive an eleventh message sent by the first terminal in response to the second message, where the eleventh message is used to instruct the first terminal to end the real-time communication service with the second terminal;

[0437] The second sending module 1202 is further used to forward the eleventh message to the first functional entity.

[0438] One embodiment of the present invention further provides a communication device, wherein the communication device is applied to a first terminal, such as Fig.13 As shown, the device comprises:

[0439] The third receiving module 1301 is used to receive a second message forwarded by the first network device and sent by the first functional entity, where the second message is used to request to perform a first operation of the real-time communication service between the first terminal and the second terminal;

[0440] The processing module 1302 is used to perform the first operation according to the second message.

[0441] Optionally, in the communication device, the first operation includes one or more of the following:

[0442] Establish real-time communication services;

[0443] End the real-time communication service.

[0444] Optionally, in the communication device, the first operation includes establishing a real-time communication service, and according to the second message, the processing module 1302 performs the first operation, including:

[0445] A fifteenth message is sent to the first network device according to the second message, where the fifteenth message includes capability information of the first terminal for executing the real-time communication service.

[0446] Optionally, the communication device further includes a fourth transceiver processing module 1303, configured to perform one or more of the following:

[0447] receiving a fourth message sent by the first network device, where the fourth message is used to request the first terminal to establish a session with the first application;

[0448] Establishing a session with the first application according to the fourth message;

[0449] receiving a seventh message sent by the first network device, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service;

[0450] Sending an eighth message to the first network device, wherein the eighth message includes capability information of the first terminal to perform a real-time communication service;

[0451] A tenth message sent by the first network device is received, wherein the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal.

[0452] Optionally, in the communication device, the processing module 1302 is further configured to:

[0453] After obtaining a confirmation indication of establishment of the real-time communication service between the first terminal and the second terminal, the third network device obtains service configuration information used by the real-time communication service between the first terminal and the second terminal in the local network, and the fourth network device obtains service configuration information used by the real-time communication service between the first terminal and the second terminal in the remote network.

[0454] Optionally, in the communication device, the first operation includes terminating the real-time communication service, and according to the second message, the processing module 1302 performs the first operation, including:

[0455] An eleventh message is sent to the first network device, where the eleventh message is used to instruct the first terminal to terminate the real-time communication service between the first terminal and the second terminal.

[0456] One embodiment of the present invention further provides a network device, which includes a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the call method as described in any one of the above items when executed by the processor.

[0457] Among them, the specific implementation method of executing the calling method by the program running on the processor of the network device can refer to the detailed description when the calling method is applied to the first functional entity and the first network device, and will not be repeated here.

[0458] One embodiment of the present invention further provides a terminal, which includes a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements any of the above-mentioned call methods when executed by the processor.

[0459] Among them, the specific implementation method of executing the calling method by the program running on the processor of the network device can refer to the detailed description when the calling method is applied to the terminal, and will not be repeated here.

[0460] In addition, a specific embodiment of the present invention further provides a readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the steps in the call method described in any one of the above items are implemented.

[0461] Specifically, the readable storage medium is applied to the above-mentioned first functional entity, first network device or first terminal. When applied to the first functional entity, first network device or first terminal, the execution steps in the corresponding call method are as described in detail above and will not be repeated here.

[0462] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0463] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included 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 hardware plus software functional units.

[0464] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the sending and receiving methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.

[0465] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for making a call, characterized in that: Executed by a first functional entity, the method includes: Receiving a first message sent by a first application, where the first message is used to request a first operation of a real-time communication service between a first terminal and a second terminal; According to the first message, a second message is sent to a first network device in the network where the first terminal is located, where the second message is used to request execution of the first operation.

2. The communication method according to claim 1, characterized in that: The first operation includes one or more of the following: Establish real-time communication services; End the real-time communication service.

3. The communication method according to claim 1, characterized in that: The first message includes one or more of the following: a user identifier of the first terminal; a user identifier of the second terminal; The first indication information is used to indicate whether to use the call capability of the real-time communication service; Business configuration information; Call event notification address; Call session identifier.

4. The communication method according to claim 2, characterized in that: The first operation includes establishing a real-time communication service, and after sending a second message to a first network device of a network where the first terminal is located, the method further includes: receiving a third message sent by the first network device, where the third message is used to instruct the first terminal to confirm the execution of establishing a real-time communication service; A fourth message is sent to the first network device, where the fourth message is used to request establishment of a session between the first terminal and the first application.

5. The communication method according to claim 4, characterized in that: The method further comprises: After receiving the third message sent by the first network device, a fifth message is sent to the second network device where the second terminal is located, where the fifth message is used to request to establish a real-time communication service between the first terminal and the second terminal.

6. The communication method according to claim 4 or 5, characterized in that: The method further comprises at least one of the following: receiving a sixth message sent by the second network device, wherein the sixth message is used to instruct the second terminal to confirm the establishment of the execution of the real-time communication service, and the sixth message includes capability information of the second terminal to execute the real-time communication service; Sending a seventh message to the first network device, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service; receiving an eighth message sent by the first network device, wherein the eighth message includes capability information of the first terminal to perform a real-time communication service; Sending a ninth message to the second network device, wherein the ninth message includes capability information of the first terminal to perform a real-time communication service; A tenth message is sent to the first terminal, where the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal.

7. The communication method according to claim 1, characterized in that: The method further comprises: Sending a first notification message to the first application; wherein the first notification message includes one or more of the following: A notification event of establishing a real-time communication service between the first terminal and the second terminal; A result of establishing a real-time communication service between the first terminal and the second terminal; A call identifier established by a real-time communication service between the first terminal and the second terminal; A list of programs used when a real-time communication service is executed between the first terminal and the second terminal.

8. The communication method according to claim 7, characterized in that: The notification event includes one or more of the following: A session is established between the first functional entity and the first terminal; Establishing a session from the second terminal to the first terminal; Establishing a session from the first terminal to the second terminal; The session from the second terminal to the first terminal ends; The session from the first terminal to the second terminal ends.

9. The communication method according to claim 1, characterized in that: The method further comprises: Sending a second notification message to a third network device; wherein the second notification message includes service configuration information of a real-time communication service between the first terminal and the second terminal.

10. The communication method according to claim 2, characterized in that: The first operation includes terminating the real-time communication service, and the method further includes: After receiving the eleventh message sent by the first network device in response to the second message, a twelfth message is sent to the second network device where the second terminal is located; wherein the eleventh message is used to instruct the first terminal to end the real-time communication service between the first terminal and the second terminal.

11. The communication method according to claim 10, characterized in that: The method further comprises: A thirteenth message sent by the second network device is received, where the thirteenth message is used to instruct the second terminal to end the real-time communication service with the first terminal.

12. The communication method according to claim 1, characterized in that: The method further comprises: receiving a fourteenth message sent by the first application, wherein the fourteenth message includes a call session identifier and is used to request a query of a real-time communication service corresponding to the call session identifier; Send one or more of the user identifier of the first terminal, the user identifier of the second terminal, and service configuration information of the real-time communication service corresponding to the call session identifier to the first application.

13. A method for making a call, characterized in that: Executed by a first network device, the method includes: receiving a second message sent by the first functional entity, where the second message is used to request execution of a first operation of a real-time communication service between the first terminal and the second terminal; The second message is forwarded to the first terminal.

14. The communication method according to claim 13, characterized in that: The first operation includes one or more of the following: Establish real-time communication services; End the real-time communication service.

15. The communication method according to claim 14, characterized in that: The first operation includes establishing a real-time communication service, and the method further includes: receiving a fifteenth message sent by the first terminal, wherein the fifteenth message includes capability information of the first terminal to perform a real-time communication service; When it is determined that the first terminal has the capability to execute the real-time communication service according to the capability information of the first terminal to execute the real-time communication service, the fifteenth message is sent to the third network device, and the third network device determines the service configuration information of the first terminal to execute the real-time communication service; A third message is sent to the first functional entity, where the third message is used to instruct the first terminal to confirm the execution of establishing the real-time communication service.

16. The communication method according to claim 15, characterized in that: The method may further include one or more of the following: receiving a fourth message sent by the first functional entity, where the fourth message is used to request the first terminal to establish a session with the first application; forwarding the fourth message to the first terminal; receiving a seventh message sent by the first functional entity, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service; After forwarding the seventh message to the first terminal, receiving an eighth message sent by the first terminal, the eighth message including capability information of the first terminal to perform real-time communication services, and forwarding the eighth message to the first functional entity; receiving a tenth message sent by the first functional entity, wherein the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal; The tenth message is forwarded to the first terminal.

17. The communication method according to claim 14, characterized in that: The first operation includes terminating the real-time communication service, and the method further includes: receiving an eleventh message sent by the first terminal in response to the second message, the eleventh message being used to instruct the first terminal to terminate a real-time communication service with the second terminal; The eleventh message is forwarded to the first functional entity.

18. A method for making a call, characterized in that: The method is performed by a first terminal and includes: receiving a second message forwarded by the first network device and sent by the first functional entity, where the second message is used to request execution of a first operation of a real-time communication service between the first terminal and the second terminal; According to the second message, the first operation is performed.

19. The communication method according to claim 18, characterized in that: The first operation includes one or more of the following: Establish real-time communication services; End the real-time communication service.

20. The communication method according to claim 19, characterized in that: The first operation includes establishing a real-time communication service, and performing the first operation according to the second message includes: A fifteenth message is sent to the first network device according to the second message, where the fifteenth message includes capability information of the first terminal for executing the real-time communication service.

21. The communication method according to claim 20, characterized in that: The method may further include one or more of the following: receiving a fourth message sent by the first network device, where the fourth message is used to request the first terminal to establish a session with the first application; Establishing a session with the first application according to the fourth message; receiving a seventh message sent by the first network device, wherein the seventh message includes capability information of the second terminal to perform a real-time communication service; Sending an eighth message to the first network device, wherein the eighth message includes capability information of the first terminal to perform a real-time communication service; A tenth message sent by the first network device is received, wherein the tenth message includes a confirmation indication for indicating establishment of a real-time communication service between the first terminal and the second terminal.

22. The communication method according to claim 18 or 20, characterized in that: The method further comprises: After obtaining a confirmation indication of establishment of the real-time communication service between the first terminal and the second terminal, the third network device obtains service configuration information used by the real-time communication service between the first terminal and the second terminal in the local network, and the fourth network device obtains service configuration information used by the real-time communication service between the first terminal and the second terminal in the remote network.

23. The communication method according to claim 19, characterized in that: The first operation includes terminating the real-time communication service, and performing the first operation according to the second message includes: An eleventh message is sent to the first network device, where the eleventh message is used to instruct the first terminal to terminate the real-time communication service between the first terminal and the second terminal.

24. A functional entity, characterized in that The functional entity is a first functional entity, including a transceiver, and the transceiver is used to: Receiving a first message sent by a first application, where the first message is used to request a first operation of a real-time communication service between a first terminal and a second terminal; According to the first message, a second message is sent to a first network device in the network where the first terminal is located, where the second message is used to request execution of the first operation.

25. A network device, characterized in that: The network device is a first network device, comprising a transceiver, wherein the transceiver is used for: receiving a second message sent by the first functional entity, where the second message is used to request execution of a first operation of a real-time communication service between the first terminal and the second terminal; The second message is forwarded to the first terminal.

26. A terminal, characterized in that: The terminal is a first terminal, including a transceiver and a processor, wherein: The transceiver is used to receive a second message forwarded by the first network device and sent by the first functional entity, where the second message is used to request to perform a first operation of a real-time communication service between the first terminal and the second terminal; The processor is configured to perform the first operation according to the second message.

27. A communication device, characterized in that: Applied to a first functional entity, the device comprises: A first receiving module, configured to receive a first message sent by a first application, wherein the first message is used to request a first operation of a real-time communication service between a first terminal and a second terminal; The first sending module is used to send a second message to a first network device in the network where the first terminal is located according to the first message, wherein the second message is used to request to perform the first operation.

28. A communication device, characterized in that: Applied to a first network device, the apparatus comprises: A second receiving module, used to receive a second message sent by the first functional entity, where the second message is used to request to perform a first operation of the real-time communication service between the first terminal and the second terminal; The second sending module is used to forward the second message to the first terminal.

29. A communication device, characterized in that: Applied to a first terminal, the device includes: A third receiving module, configured to receive a second message forwarded by the first network device and sent by the first functional entity, wherein the second message is used to request execution of a first operation of a real-time communication service between the first terminal and the second terminal; A processing module is used to perform the first operation according to the second message.

30. A network device, characterized in that: The method comprises a processor, a memory and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the communication method as claimed in any one of claims 1 to 17.

31. A terminal, characterized in that: The method comprises a processor, a memory and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the communication method as claimed in any one of claims 18 to 23.

32. A readable storage medium, characterized in that: The readable storage medium stores a program, and when the program is executed by the processor, the steps in the communication method according to any one of claims 1 to 23 are implemented.

Citation Information

Patent Citations

  • Call capacity exposure methods and devices

    CN109547654A

  • Media session processing method and device and storage medium

    CN110324874A

  • Interaction method applied to calling and related device

    CN114567704A

  • Method and device for enhancing call

    CN116567605A

  • Data channel establishment method and device, network side equipment, terminal and medium

    CN116915752A

Cited By

  • Call method and apparatus, functional entity, and network device

    EP4787815A1

  • Call method and apparatus, functional entity, and network device

    WO2025098194A1