Voice call establishment method and device, equipment and storage medium

By negotiating and establishing call routes between UEs in the IMS network, the problem that voice media streams need to be anchored in the P-CSCF is solved, and normal calls between UEs are realized without the need for ground IMS network support.

CN118802858APending Publication Date: 2024-10-18CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410045307.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-11
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the voice call process of the IMS network, the voice media stream needs to be anchored on the P-CSCF, which makes it impossible for two UEs to have a normal call without going through the terrestrial IMS network in some scenarios.

Method used

By determining whether to enable the route optimization function, if the preset conditions are met (for example, the calling terminal and the called terminal are connected to the same satellite or the same ground cell), the call route between the calling terminal and the called terminal will be negotiated to avoid voice interference. Media streams are anchored on P-CSCF.

Benefits of technology

A normal call between the calling terminal and the called terminal is realized. The voice media stream does not need to pass through the terrestrial IMS network, which improves the flexibility and efficiency of the call.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802858A_ABST
    Figure CN118802858A_ABST
Patent Text Reader

Abstract

The invention discloses a voice call establishment method and device, equipment and a storage medium. The method comprises the following steps: a first communication device judges whether to start a routing optimization function based on first information; negotiating with second communication equipment to establish a call route between the calling terminal and the called terminal under the condition that the route optimization function is determined to be started; wherein the first information comprises one or more of the following information: first access network information of the calling terminal; second access network information of the called terminal; and a session description protocol (SDP) negotiation result between the calling terminal and the called terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a method, device, equipment and storage medium for establishing a voice call. Background Art

[0002] At present, there is a feature in the voice call process of the IP Multimedia Subsystem (IMS) network that the voice media stream needs to be anchored on the Proxy Call Session Control Function (P-CSCF), that is, the user equipment (UE) on the calling side sends the voice media stream to the P-CSCF on the calling side, and the P-CSCF performs possible media plane codec conversion, and then sends it to the other party's P-CSCF, which then sends it to the other party's UE. Since the voice call process of the IMS network currently needs to anchor the voice media stream on the P-CSCF, that is, it needs to pass through the ground IMS network, in some application scenarios, it is impossible to achieve normal communication between two UEs without passing through the ground IMS network, so it is urgent to provide a new technical solution. Summary of the invention

[0003] In view of this, embodiments of the present application hope to provide a method, apparatus, device and storage medium for establishing a voice call.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] The present application provides a method for establishing a voice call, which is applied to a first communication device, and the method includes:

[0006] Based on the first information, determining whether to enable a routing optimization function;

[0007] In the case where it is determined to enable the route optimization function, negotiating with the second communication device to establish a call route between the calling terminal and the called terminal;

[0008] in,

[0009] The first information includes one or more of the following:

[0010] The first access network information of the calling terminal;

[0011] The second access network information of the called terminal;

[0012] The Session Description Protocol (SDP) negotiation result between the calling terminal and the called terminal.

[0013] In addition, according to at least one embodiment of the present application, the first access network information of the calling terminal includes:

[0014] First satellite access information;

[0015] or,

[0016] First terrestrial mobile communication network access information.

[0017] In addition, according to at least one embodiment of the present application, the second access network information of the called terminal includes:

[0018] Second satellite access information;

[0019] or,

[0020] Second terrestrial mobile communication network access information.

[0021] In addition, according to at least one embodiment of the present application, judging whether to enable the route optimization function based on the first information includes:

[0022] If the first access network information of the calling terminal and the second access network information of the called terminal meet the preset route optimization condition, the route optimization function is enabled;

[0023] and / or,

[0024] If the SDP negotiation result between the calling terminal and the called terminal indicates that the calling terminal and the called terminal use the same codec type for the call, the route optimization function is enabled.

[0025] In addition, according to at least one embodiment of the present application, satisfying a preset route optimization condition includes:

[0026] The calling terminal and the called terminal are connected to the same satellite or the same satellite system;

[0027] or,

[0028] The calling terminal and the called terminal belong to the same terrestrial cell;

[0029] or,

[0030] The tracking areas (TA) of the calling terminal and the called terminal are the same.

[0031] In addition, according to at least one embodiment of the present application, the method further includes:

[0032] receiving a first registration message sent by the calling terminal; the first registration message carries the first access network information of the calling terminal;

[0033] The first access network information of the calling terminal is stored.

[0034] In addition, according to at least one embodiment of the present application, the method further includes:

[0035] Receiving a first voice call request message sent by the calling terminal;

[0036] The first voice call request message carries the first access network information of the calling terminal and the first SDP proposal message of the calling terminal.

[0037] In addition, according to at least one embodiment of the present application, the method further includes:

[0038] The first SDP proposal message of the calling terminal is stored.

[0039] In addition, according to at least one embodiment of the present application, the method further includes:

[0040] Sending a first voice call request message to a second communication device;

[0041] The first voice call request message carries the first access network information of the calling terminal and the second SDP proposal message of the first communication device.

[0042] In addition, according to at least one embodiment of the present application, the method further includes:

[0043] Receiving a first voice call request response message sent by a second communication device;

[0044] The first call request response message includes the second access network information of the called terminal and a first SDP answer message of the called terminal; the first SDP answer message carries the SDP negotiation result between the calling terminal and the called terminal.

[0045] In addition, according to at least one embodiment of the present application, when it is determined that the route optimization function is enabled, negotiating with the second communication device to establish a call route between the calling terminal and the called terminal includes:

[0046] In the case where it is determined that the route optimization function is enabled, sending a second voice call request message to the second communication device;

[0047] The second voice call request message carries a route optimization indication and a first SDP proposal message of the calling terminal; the route optimization indication is used to indicate that the first communication device has started a route optimization function.

[0048] In addition, according to at least one embodiment of the present application, the method further includes:

[0049] Receiving a second voice call request response message sent by the second communication device;

[0050] The second voice call request response message carries a second SDP answer message of the called terminal; and the second SDP answer message carries an SDP negotiation result between the calling terminal and the called terminal.

[0051] In addition, according to at least one embodiment of the present application, the method further includes:

[0052] Sending the second voice call request response message to the calling terminal.

[0053] In addition, according to at least one embodiment of the present application, the first communication device and the second communication device are the same Proxy Call Session Control Function (P-CSCF); or, the first communication device and the second communication device are different P-CSCFs.

[0054] At least one embodiment of the present application provides a method for establishing a voice call, which is applied to a calling terminal, and the method includes:

[0055] The first access network information of the calling terminal is sent to the first communication device.

[0056] In addition, according to at least one embodiment of the present application, the first access network information of the calling terminal includes:

[0057] First satellite access information;

[0058] or,

[0059] First terrestrial mobile communication network access information.

[0060] In addition, according to at least one embodiment of the present application, the sending the first access network information of the calling terminal to the first communication device includes:

[0061] A first registration message is sent to the first communication device; the first registration message carries the first access network information of the calling terminal.

[0062] In addition, according to at least one embodiment of the present application, the sending the first access network information of the calling terminal to the first communication device includes:

[0063] Sending a first voice call request message to the first communication device;

[0064] in,

[0065] The first voice call request message carries the first access network information of the calling terminal and the first SDP proposal message of the calling terminal.

[0066] In addition, according to at least one embodiment of the present application, the first communication device is a P-CSCF.

[0067] At least one embodiment of the present application provides a method for establishing a voice call, which is applied to a second communication device, and the method includes:

[0068] Based on the first information, determining whether to enable a routing optimization function;

[0069] In the case where it is determined to enable the route optimization function, negotiating with the first communication device to establish a call route between the calling terminal and the called terminal;

[0070] in,

[0071] The first information includes one or more of the following:

[0072] The first access network information of the calling terminal;

[0073] The second access network information of the called terminal;

[0074] The SDP negotiation result between the calling terminal and the called terminal.

[0075] In addition, according to at least one embodiment of the present application, the first access network information of the calling terminal includes:

[0076] First satellite access information;

[0077] or,

[0078] First terrestrial mobile communication network access information.

[0079] In addition, according to at least one embodiment of the present application, it is characterized in that the second access network information of the called terminal includes:

[0080] Second satellite access information;

[0081] or,

[0082] Second terrestrial mobile communication network access information.

[0083] In addition, according to at least one embodiment of the present application, judging whether to enable the route optimization function based on the first information includes:

[0084] If the first access network information of the calling terminal and the second access network information of the called terminal meet the preset route optimization condition, the route optimization function is enabled;

[0085] and / or,

[0086] If the SDP negotiation result between the calling terminal and the called terminal indicates that the calling terminal and the called terminal use the same codec type for the call, the route optimization function is enabled.

[0087] In addition, according to at least one embodiment of the present application, satisfying a preset route optimization condition includes:

[0088] The calling terminal and the called terminal are connected to the same satellite or the same satellite system;

[0089] or,

[0090] The calling terminal and the called terminal belong to the same terrestrial cell;

[0091] or,

[0092] The TA of the calling terminal and the called terminal are the same.

[0093] In addition, according to at least one embodiment of the present application, the method further includes:

[0094] receiving a second registration message sent by the called terminal; the second registration message carries the second access network information of the called terminal;

[0095] The second access network information of the called terminal is stored.

[0096] In addition, according to at least one embodiment of the present application, the method further includes:

[0097] Receiving a first voice call request message sent by the first communication device;

[0098] in,

[0099] The first voice call request message carries the first access network information of the calling terminal and the second SDP proposal message of the first communication device.

[0100] In addition, according to at least one embodiment of the present application, the method further includes:

[0101] The first access network information of the calling terminal is stored.

[0102] In addition, according to at least one embodiment of the present application, the method further includes:

[0103] Sending a first voice call request message to the called terminal;

[0104] in,

[0105] The first voice call request message carries a third SDP proposal message of the second communication device.

[0106] In addition, according to at least one embodiment of the present application, the method further includes:

[0107] Receiving a first voice call request response message sent by the called terminal;

[0108] in,

[0109] The first voice call request response message includes one or more of the following:

[0110] The second access network information of the called terminal;

[0111] The first SDP answer message of the called terminal.

[0112] In addition, according to at least one embodiment of the present application, the method further includes:

[0113] When the second communication device starts the route optimization function, sending a first voice call request response message to the first communication device;

[0114] in,

[0115] The first voice call request response message includes the second access network information of the called terminal and a first SDP answer message of the called terminal; the first SDP answer message carries the SDP negotiation result between the calling terminal and the called terminal.

[0116] In addition, according to at least one embodiment of the present application, the method further includes:

[0117] When the first communication device starts the route optimization function, receiving a second voice call request message sent by the first communication device;

[0118] in,

[0119] The second voice call request message carries a route optimization indication and a first SDP proposal message of the calling terminal; the route optimization indication is used to indicate that the first communication device has started a route optimization function.

[0120] In addition, according to at least one embodiment of the present application, the method further includes:

[0121] Sending the second voice call request message to the called terminal.

[0122] In addition, according to at least one embodiment of the present application, the method further includes:

[0123] Receiving a second voice call request response message sent by the called terminal;

[0124] in,

[0125] The second voice call request response message carries a second SDP answer message of the called terminal; and the second SDP answer message carries an SDP negotiation result between the calling terminal and the called terminal.

[0126] In addition, according to at least one embodiment of the present application, the method further includes:

[0127] The second voice call request response message is sent to the first communication device.

[0128] In addition, according to at least one embodiment of the present application, the first communication device and the second communication device are the same P-CSCF; or, the first communication device and the second communication device are different P-CSCFs.

[0129] At least one embodiment of the present application provides a method for establishing a voice call, which is applied to a called terminal, and the method includes:

[0130] The second access network information of the called terminal is sent to the second communication device.

[0131] In addition, according to at least one embodiment of the present application, the second access network information of the called terminal includes:

[0132] Second satellite access information;

[0133] or,

[0134] Second terrestrial mobile communication network access information.

[0135] In addition, according to at least one embodiment of the present application, the sending the second access network information of the called terminal to the second communication device includes:

[0136] A second registration message is sent to the second communication device; the second registration message carries the second access network information of the called terminal.

[0137] In addition, according to at least one embodiment of the present application, the sending the second access network information of the called terminal to the second communication device includes:

[0138] Receiving a first voice call request message sent by a second communication device; wherein the first voice call request message carries a third SDP proposal message of the second communication device;

[0139] A first voice call request response message is sent to the second communication device; wherein the first voice call request response message includes one or more of the following: second access network information of the called terminal; and a first SDP answer message of the called terminal.

[0140] In addition, according to at least one embodiment of the present application, the second communication device is a P-CSCF.

[0141] At least one embodiment of the present application provides a voice call establishment device, including:

[0142] A first processing module is used to determine whether to enable the route optimization function based on the first information; if it is determined that the route optimization function is enabled, negotiate with the second communication device to establish a call route between the calling terminal and the called terminal;

[0143] in,

[0144] The first information includes one or more of the following:

[0145] The first access network information of the calling terminal;

[0146] The second access network information of the called terminal;

[0147] The SDP negotiation result between the calling terminal and the called terminal.

[0148] At least one embodiment of the present application provides a voice call establishment device, including:

[0149] The first sending module is used to send the first access network information of the calling terminal to the first communication device.

[0150] At least one embodiment of the present application provides a voice call establishment device, including:

[0151] A second processing module is used to determine whether to enable the route optimization function based on the first information; if it is determined that the route optimization function is enabled, negotiate with the first communication device to establish a call route between the calling terminal and the called terminal;

[0152] in,

[0153] The first information includes one or more of the following:

[0154] The first access network information of the calling terminal;

[0155] The second access network information of the called terminal;

[0156] The SDP negotiation result between the calling terminal and the called terminal.

[0157] At least one embodiment of the present application provides a voice call establishment device, including:

[0158] The second sending module is used to send the second access network information of the called terminal to the second communication device.

[0159] At least one embodiment of the present application provides a first communication device, including a processor and a memory for storing a computer program that can be run on the processor.

[0160] Wherein, the processor is used to execute the steps of any one of the methods described on the first communication device side when running the computer program.

[0161] At least one embodiment of the present application provides a calling terminal, including a processor and a memory for storing a computer program that can be run on the processor.

[0162] Wherein, the processor is used to execute the steps of any one of the methods on the calling terminal side when running the computer program.

[0163] At least one embodiment of the present application provides a second communication device, including a processor and a memory for storing a computer program that can be run on the processor.

[0164] Wherein, when the processor is used to run the computer program, it executes the steps of any one of the methods on the second communication device side.

[0165] At least one embodiment of the present application provides a called terminal, including a processor and a memory for storing a computer program that can be run on the processor.

[0166] Wherein, the processor is used to execute the steps of any one of the methods on the called terminal side when running the computer program.

[0167] At least one embodiment of the present application provides a storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the above methods when executed by a processor.

[0168] The embodiments of the present application provide a method, apparatus, device and storage medium for establishing a voice call, the method comprising: a first communication device determines whether to enable a route optimization function based on first information; if it is determined that the route optimization function is enabled, the first communication device negotiates with a second communication device to establish a call route between a calling terminal and a called terminal; wherein the first information comprises one or more of the following: first access network information of the calling terminal; second access network information of the called terminal; SDP negotiation result between the calling terminal and the called terminal.

[0169] By adopting the technical solution provided in the embodiment of the present application, the first communication device determines whether to turn on the route optimization function. If the route optimization function is turned on, it negotiates with the second communication device to establish a call route between the calling terminal and the called terminal. Subsequently, the calling terminal and the called terminal can directly talk to each other, and the voice media stream does not need to be anchored on the P-CSCF, that is, the calling terminal and the called terminal can have a normal call without passing through the ground IMS network. BRIEF DESCRIPTION OF THE DRAWINGS

[0170] Figure 1A It is a schematic diagram of a voice call process of an IMS network in the related art;

[0171] Figure 1B It is a schematic diagram of a specific application scenario of the UE-satellite-UE communication mode;

[0172] Figure 1C It is another specific application scenario diagram of the UE-satellite-UE communication mode;

[0173] Figure 2 1 is a flowchart of a method for establishing a voice call according to an embodiment of the present application;

[0174] Figure 3 This is a schematic diagram of the implementation process of the voice call establishment method of the present application embodiment Figure 2 ;

[0175] Figure 4 This is a schematic diagram of the implementation process of the voice call establishment method of the present application embodiment Figure 3 ;

[0176] Figure 5 This is a schematic diagram of the implementation process of the voice call establishment method of the present application embodiment Figure 4 ;

[0177] Figure 6 This is a schematic diagram of a network architecture for the application of the method for establishing a voice call in an embodiment of the present application;

[0178] Figure 7 This is a schematic diagram of a specific implementation flow of the method for establishing a voice call according to an embodiment of the present application;

[0179] Figure 8 This is a schematic diagram of the specific implementation process of the voice call establishment method of the present application embodiment. Figure 2 ;

[0180] Fig. 9 This is a schematic diagram of the structure of the voice call establishment device according to an embodiment of the present application;

[0181] Fig.10 This is a schematic diagram of the structure of the voice call establishment device according to the embodiment of the present application. Figure 2 ;

[0182] Fig.11 This is a schematic diagram of the structure of the voice call establishment device according to the embodiment of the present application. Figure 3 ;

[0183] Fig.12 This is a schematic diagram of the structure of the voice call establishment device according to the embodiment of the present application. Figure 4 ;

[0184] Fig.13 It is a schematic diagram of the composition structure of the first communication device in an embodiment of the present application;

[0185] Fig.14 It is a schematic diagram of the composition structure of the calling terminal in an embodiment of the present application;

[0186] Fig.15 It is a schematic diagram of the composition structure of the second communication device in an embodiment of the present application;

[0187] Fig.16 It is a schematic diagram of the composition structure of the called terminal in the embodiment of the present application. DETAILED DESCRIPTION

[0188] Before introducing the technical solutions of the embodiments of the present application, the related technologies are first introduced.

[0189] Figure 1A It is a schematic diagram of a voice call process of an IMS network in the related art, such as Figure 1AAs shown, the voice call process of the IMS network includes: step 1, the user initiates a session request, and the message arrives at the serving CSCF (S-CSCF); step 2, the S-CSCF downloads user data from the local user server (HSS, Home Subscriber Server) (optional); step 3, the S-CSCF triggers the service, and the application server (AS, Application Server) performs service logic control; step 4, the S-CSCF obtains the interrogating CSCF (I-CSCF) of the IMS domain where the called party is located through the domain name system (DNS, Domain Name System); step 5, the I-CSCF obtains the S-CSCF registered by the called user through the HSS query; step 6, the S-CSCF obtains the user data of the called user from the HSS (optional); step 7, the S-CSCF triggers the service, and the AS performs service logic control; step 8, the session request is routed to the called user; step 9, both parties negotiate and reserve resources; step 10, the called party is ringing; the called user answers, and the session is established. Due to the limitations of the existing SDP negotiation process and audio and video codec interoperability, a feature of the voice call process in the IMS network is that the voice media stream needs to be anchored on the P-CSCF, that is, the UE sends the voice media stream to the P-CSCF, which performs possible media plane codec conversion and then sends it to the other party's P-CSCF, which then sends it to the other party's UE.

[0190] Currently, there is a topic on UE-satellite-UE communication mode that supports voice services in the Xinli Satellite Fusion Project. Its goal is to support the voice service flow to be directly communicated on the satellite when two UEs make a voice call via satellite, if the two UEs are under the same satellite or can be directly routed through the satellite's intersatellite link, without the need to send the voice flow back to the ground.

[0191] Figure 1B This is a schematic diagram of a specific application scenario of the UE-satellite-UE communication mode, such as Figure 1B As shown, two UEs are represented by UEx and UEy respectively, and the two UEs are on the same satellite. Figure 1C This is another specific application scenario diagram of the UE-satellite-UE communication mode, such as Figure 1C As shown, two UEs are represented by UEx and UEy respectively, and the two UEs are located on two satellites that are interconnected through an intersatellite link.

[0192] Both of the above application scenarios require that after the voice call is established, the user plane is directly transferred on the satellite without passing through the ground IMS network. However, since the voice call process of the IMS network in the relevant technology currently requires the voice service flow to be anchored on the P-CSCF, it cannot directly meet the above requirements, and a new technical solution is urgently needed.

[0193] Based on this, in the embodiment of the present application, the first communication device determines whether to enable the route optimization function based on the first information; if it is determined that the route optimization function is enabled, the first communication device negotiates with the second communication device to establish a call route between the calling terminal and the called terminal; wherein the first information includes one or more of the following: the first access network information of the calling terminal; the second access network information of the called terminal; the SDP negotiation result between the calling terminal and the called terminal

[0194] See also Figure 2 , Figure 2 Schematic diagram of the implementation flow of the voice call establishment method of the present application embodiment, applied to the first communication device, such as Figure 2 As shown, the method includes steps 201 to 202:

[0195] Step 201: Based on the first information, determine whether to enable the route optimization function.

[0196] The first information includes one or more of the following:

[0197] The first access network information of the calling terminal;

[0198] The second access network information of the called terminal;

[0199] The SDP negotiation result between the calling terminal and the called terminal.

[0200] In some embodiments, the first access network information of the calling terminal includes:

[0201] First satellite access information;

[0202] or,

[0203] First terrestrial mobile communication network access information.

[0204] As an example, the first satellite access information may refer to constellation information of a satellite currently connected to the calling terminal, satellite information of a satellite currently connected to the calling terminal, etc. The satellite information may be a satellite number, a satellite name, etc.

[0205] As an example, the first terrestrial mobile communication network access information may refer to a cell identifier of a cell currently accessed by the calling terminal, a TA of the calling terminal, etc. The TA includes one or more cells.

[0206] In some embodiments, the second access network information of the called terminal includes:

[0207] Second satellite access information;

[0208] or,

[0209] Second terrestrial mobile communication network access information.

[0210] As an example, the second satellite access information may refer to constellation information of a satellite currently connected to the called terminal, satellite information of a satellite currently connected to the called terminal, etc. The satellite information may refer to a satellite number, a satellite name, etc.

[0211] As an example, the second terrestrial mobile communication network access information may refer to a cell identifier of a cell currently accessed by the called terminal, a TA of the called terminal, etc. The TA includes one or more cells.

[0212] In some embodiments, judging whether to enable the route optimization function based on the first information includes:

[0213] If the first access network information of the calling terminal and the second access network information of the called terminal meet the preset route optimization condition, the route optimization function is enabled;

[0214] and / or,

[0215] If the SDP negotiation result between the calling terminal and the called terminal indicates that the calling terminal and the called terminal use the same codec type for the call, the route optimization function is enabled.

[0216] In some embodiments, satisfying a preset route optimization condition includes:

[0217] The calling terminal and the called terminal are connected to the same satellite or the same satellite system;

[0218] or,

[0219] The calling terminal and the called terminal belong to the same terrestrial cell;

[0220] or,

[0221] The TA of the calling terminal and the called terminal are the same.

[0222] The connection to the same satellite system may refer to connection to the same satellite constellation.

[0223] As an example, the first communication device can determine whether the SDP negotiation result between the calling terminal and the called terminal indicates that the calling terminal and the called terminal use the same codec type for the call based on the first SDP proposal message of the calling terminal and the first SDP response message of the called terminal; wherein the first SDP proposal message of the calling terminal is used to indicate the codec type that the calling terminal wants to use, and the first SDP response message of the called terminal is used to indicate the codec type that the called terminal wants to use.

[0224] In some embodiments, the method further comprises:

[0225] receiving a first registration message sent by the calling terminal; the first registration message carries the first access network information of the calling terminal;

[0226] The first access network information of the calling terminal is stored.

[0227] In some embodiments, the method further comprises:

[0228] A first voice call request message sent by the calling terminal is received; wherein the first voice call request message carries the first access network information of the calling terminal and the first SDP proposal message of the calling terminal.

[0229] As an example, the first voice call request message sent by the calling terminal may be an INVITE message.

[0230] As an example, the first SDP proposal message of the calling terminal is used to indicate the codec type that the calling terminal wants to use.

[0231] In some embodiments, the method further comprises:

[0232] The first SDP proposal message of the calling terminal is stored.

[0233] In some embodiments, the method further comprises:

[0234] A first voice call request message is sent to a second communication device; wherein the first voice call request message carries the first access network information of the calling terminal and a second SDP proposal message of the first communication device.

[0235] As an example, the second SDP proposal message of the first communication device may be generated based on the first SDP proposal message of the calling terminal.

[0236] In some embodiments, the method further comprises:

[0237] Receive a first voice call request response message sent by a second communication device; wherein the first call request response message includes the second access network information of the called terminal and the first SDP answer message of the called terminal; the first SDP answer message carries the SDP negotiation result between the calling terminal and the called terminal.

[0238] As an example, the first SDP answer message of the called terminal is used to indicate the codec type that the called terminal wants to use.

[0239] As an example, the first communication device can determine whether the calling terminal and the called terminal want to use the same codec type based on the first SDP proposal message of the calling terminal and the first SDP response message returned by the called terminal. If it is determined that the calling terminal and the called terminal want to use the same codec type, the routing optimization function of the voice media stream is started.

[0240] Step 202: When it is determined that the route optimization function is enabled, negotiate with the second communication device to establish a call route between the calling terminal and the called terminal.

[0241] In some embodiments, when it is determined that the route optimization function is enabled, negotiating with the second communication device to establish a call route between the calling terminal and the called terminal includes:

[0242] When it is determined that the route optimization function is turned on, a second voice call request message is sent to the second communication device; wherein the second voice call request message carries a route optimization indication and a first SDP proposal message of the calling terminal; and the route optimization indication is used to indicate that the first communication device has started the route optimization function.

[0243] As an example, the second voice call request message may be an UPDATE request message.

[0244] As an example, the first SDP proposal message of the calling terminal may carry the IP address of the calling terminal required for the calling terminal and the called terminal to conduct a call, so that the second communication device may forward the IP address of the calling terminal to the called terminal through a second voice call request message, and the called terminal may subsequently initiate a call with the calling terminal.

[0245] In some embodiments, the method further comprises:

[0246] Receive a second voice call request response message sent by the second communication device; wherein the second voice call request response message carries a second SDP answer message of the called terminal; and the second SDP answer message carries an SDP negotiation result between the calling terminal and the called terminal.

[0247] As an example, the second SDP answer message of the called terminal is used to indicate the codec type that the called terminal wants to use.

[0248] As an example, the second voice call request response message sent by the second communication device on the called side to the first communication device on the calling side carries a second SDP answer message of the called terminal. Since the second SDP answer message of the called terminal carries the IP address of the called terminal required for the call between the calling terminal and the called terminal, the subsequent voice media stream can be routed directly between the calling terminal and the called terminal without passing through the P-CSCF.

[0249] As an example, the second SDP response message of the called terminal carries the IP address of the called terminal required for the call between the calling terminal and the called terminal, so that the first communication device forwards the IP address of the called terminal to the calling terminal through the second voice call request response message, and the calling terminal can subsequently initiate a call with the called terminal.

[0250] In some embodiments, the method further comprises:

[0251] Sending the second voice call request response message to the calling terminal.

[0252] In some embodiments, the first communication device and the second communication device are the same P-CSCF; or, the first communication device and the second communication device are different P-CSCFs.

[0253] In the embodiment of the present application, the following advantages are possessed:

[0254] (1) The first communication device determines whether to enable the route optimization function. If the route optimization function is enabled, the first communication device negotiates with the second communication device to establish a call route between the calling terminal and the called terminal. Subsequently, the calling terminal and the called terminal can directly communicate with each other, and the voice media stream does not need to be anchored on the P-CSCF. In other words, the calling terminal and the called terminal can communicate normally without passing through the ground IMS network.

[0255] See also Figure 3 , Figure 3 Schematic diagram of the implementation flow of the voice call establishment method of the present application embodiment, which is applied to the calling terminal, such as Figure 3 As shown, the method includes step 301:

[0256] Step 301: Send first access network information of a calling terminal to a first communication device.

[0257] In some embodiments, the first access network information of the calling terminal includes:

[0258] First satellite access information;

[0259] or,

[0260] First terrestrial mobile communication network access information.

[0261] As an example, the first satellite access information may refer to constellation information of a satellite currently connected to the calling terminal, satellite information of a satellite currently connected to the calling terminal, etc. The satellite information may be a satellite number, a satellite name, etc.

[0262] As an example, the first terrestrial mobile communication network access information may refer to a cell identifier of a cell currently accessed by the calling terminal, a TA of the calling terminal, etc. The TA includes one or more cells.

[0263] In some embodiments, sending the first access network information of the calling terminal to the first communication device includes:

[0264] A first registration message is sent to the first communication device; the first registration message carries the first access network information of the calling terminal.

[0265] In some embodiments, sending the first access network information of the calling terminal to the first communication device includes:

[0266] A first voice call request message is sent to the first communication device; wherein the first voice call request message carries the first access network information of the calling terminal and the first SDP proposal message of the calling terminal.

[0267] In some embodiments, the first communication device is a P-CSCF.

[0268] In the embodiment of the present application, the following advantages are possessed:

[0269] (1) The calling terminal may carry its own first access network information in the registration and initiation of the first voice call request message.

[0270] See also Figure 4 , Figure 4 Schematic diagram of the implementation flow of the voice call establishment method of the present application embodiment, which is applied to the second communication device, such as Figure 4 As shown, the method includes steps 401 to 402:

[0271] Step 401: Based on the first information, determine whether to enable the route optimization function.

[0272] The first information includes one or more of the following:

[0273] The first access network information of the calling terminal;

[0274] The second access network information of the called terminal;

[0275] The SDP negotiation result between the calling terminal and the called terminal.

[0276] In some embodiments, the first access network information of the calling terminal includes:

[0277] First satellite access information;

[0278] or,

[0279] First terrestrial mobile communication network access information.

[0280] As an example, the first satellite access information may refer to constellation information of a satellite currently connected to the calling terminal, satellite information of a satellite currently connected to the calling terminal, etc. The satellite information may be a satellite number, a satellite name, etc.

[0281] As an example, the first terrestrial mobile communication network access information may refer to a cell identifier of a cell currently accessed by the calling terminal, a TA of the calling terminal, etc. The TA includes one or more cells.

[0282] In some embodiments, the second access network information of the called terminal includes:

[0283] Second satellite access information;

[0284] or,

[0285] Second terrestrial mobile communication network access information.

[0286] As an example, the second satellite access information may refer to constellation information of a satellite currently connected to the called terminal, satellite information of a satellite currently connected to the called terminal, etc. The satellite information may refer to a satellite number, a satellite name, etc.

[0287] As an example, the second terrestrial mobile communication network access information may refer to a cell identifier of a cell currently accessed by the called terminal, a TA of the called terminal, etc. The TA includes one or more cells.

[0288] In some embodiments, judging whether to enable the route optimization function based on the first information includes:

[0289] If the first access network information of the calling terminal and the second access network information of the called terminal meet the preset route optimization condition, the route optimization function is enabled;

[0290] and / or,

[0291] If the SDP negotiation result between the calling terminal and the called terminal indicates that the calling terminal and the called terminal use the same codec type for the call, the route optimization function is enabled.

[0292] In some embodiments, satisfying a preset route optimization condition includes:

[0293] The calling terminal and the called terminal are connected to the same satellite or the same satellite system;

[0294] or,

[0295] The calling terminal and the called terminal belong to the same terrestrial cell;

[0296] or,

[0297] The TA of the calling terminal and the called terminal are the same.

[0298] The connection to the same satellite system may refer to connection to the same satellite constellation.

[0299] As an example, the second communication device can determine whether the SDP negotiation result between the calling terminal and the called terminal indicates that the calling terminal and the called terminal use the same codec type for the call based on the first SDP proposal message of the calling terminal and the first SDP response message of the called terminal; wherein the first SDP proposal message of the calling terminal is used to indicate the codec type that the calling terminal wants to use, and the first SDP response message of the called terminal is used to indicate the codec type that the called terminal wants to use.

[0300] In some embodiments, the method further comprises:

[0301] receiving a second registration message sent by the called terminal; the second registration message carries the second access network information of the called terminal;

[0302] The second access network information of the called terminal is stored.

[0303] In some embodiments, the method further comprises:

[0304] A first voice call request message sent by the first communication device is received; wherein the first voice call request message carries the first access network information of the calling terminal and the second SDP proposal message of the first communication device.

[0305] As an example, the first voice call request message sent by the first communication device may be an INVITE message.

[0306] As an example, the second SDP proposal message of the first communication device may be generated based on the first SDP proposal message of the calling terminal; the first SDP proposal message of the calling terminal is used to indicate the codec type that the calling terminal wants to use.

[0307] In some embodiments, the method further comprises:

[0308] The first access network information of the calling terminal is stored.

[0309] In some embodiments, the method further comprises:

[0310] Sending a first voice call request message to the called terminal; wherein the first voice call request message carries a third SDP proposal message of the second communication device.

[0311] As an example, the third SDP proposal message of the second communication device may be generated based on the second SDP proposal message of the first communication device.

[0312] In some embodiments, the method further comprises:

[0313] Receiving a first voice call request response message sent by the called terminal;

[0314] The first voice call request response message includes one or more of the following:

[0315] The second access network information of the called terminal;

[0316] The first SDP answer message of the called terminal.

[0317] As an example, the first SDP answer message of the called terminal is used to indicate the codec type that the called terminal wants to use.

[0318] Step 402: When it is determined that the route optimization function is enabled, negotiate with the first communication device to establish a call route between the calling terminal and the called terminal.

[0319] In some embodiments, the method further comprises:

[0320] When the second communication device starts the route optimization function, sending a first voice call request response message to the first communication device;

[0321] The first voice call request response message includes the second access network information of the called terminal and a first SDP answer message of the called terminal; the first SDP answer message carries the SDP negotiation result between the calling terminal and the called terminal.

[0322] As an example, after the second communication device sends a first voice call request response message to the first communication device, the first communication device can determine whether the SDP negotiation result between the calling terminal and the called terminal indicates that the calling terminal and the called terminal use the same codec type for the call based on the first SDP proposal message of the calling terminal and the first SDP answer message of the called terminal; wherein the first SDP proposal message of the calling terminal is used to indicate the codec type that the calling terminal wants to use, and the first SDP answer message of the called terminal is used to indicate the codec type that the called terminal wants to use.

[0323] In some embodiments, the method further comprises:

[0324] When the first communication device starts the route optimization function, receiving a second voice call request message sent by the first communication device;

[0325] The second voice call request message carries a route optimization indication and a first SDP proposal message of the calling terminal; the route optimization indication is used to indicate that the first communication device has started a route optimization function.

[0326] It should be noted that the process of the first communication device determining whether to enable the route optimization function has been described above and will not be repeated here.

[0327] As an example, the first SDP proposal message of the calling terminal carries the IP address of the calling terminal required for the calling terminal and the called terminal to conduct a call, so that the second communication device forwards the IP address of the calling terminal to the called terminal through the second voice call request message, and the called terminal can subsequently initiate a call with the calling terminal.

[0328] In some embodiments, the method further comprises:

[0329] Sending the second voice call request message to the called terminal.

[0330] In some embodiments, the method further comprises:

[0331] Receiving a second voice call request response message sent by the called terminal;

[0332] The second voice call request response message carries a second SDP answer message of the called terminal; and the second SDP answer message carries an SDP negotiation result between the calling terminal and the called terminal.

[0333] As an example, the second SDP answer message of the called terminal is used to indicate the codec type that the called terminal wants to use.

[0334] As an example, the second voice call request response message sent by the second communication device on the called side to the first communication device on the calling side carries a second SDP answer message of the called terminal. Since the second SDP answer message of the called terminal carries the IP address of the called terminal (required for the call between the calling terminal and the called terminal, and does not carry the address of the P-CSCF, the subsequent voice media stream can be routed directly between the calling terminal and the called terminal without passing through the P-CSCF.

[0335] In some embodiments, the method further comprises:

[0336] The second voice call request response message is sent to the first communication device.

[0337] In some embodiments, the first communication device and the second communication device are the same P-CSCF; or, the first communication device and the second communication device are different P-CSCFs.

[0338] In the embodiment of the present application, the following advantages are possessed:

[0339] (1) The second communication device determines whether to enable the route optimization function. If the route optimization function is enabled, the second communication device negotiates with the first communication device to establish a call route between the calling terminal and the called terminal. Subsequently, the calling terminal and the called terminal can directly communicate with each other, and the voice media stream does not need to be anchored on the P-CSCF. In other words, the calling terminal and the called terminal can communicate normally without passing through the ground IMS network.

[0340] See also Figure 5 , Figure 5 Schematic diagram of the implementation flow of the voice call establishment method of the present application embodiment, which is applied to the called terminal, such as Figure 5 As shown, the method includes step 501:

[0341] Step 501: Send the second access network information of the called terminal to the second communication device.

[0342] In some embodiments, the second access network information of the called terminal includes:

[0343] Second satellite access information;

[0344] or,

[0345] Second terrestrial mobile communication network access information.

[0346] As an example, the second satellite access information may refer to constellation information of a satellite currently connected to the called terminal, satellite information of a satellite currently connected to the called terminal, etc. The satellite information may refer to a satellite number, a satellite name, etc.

[0347] As an example, the second terrestrial mobile communication network access information may refer to a cell identifier of a cell currently accessed by the called terminal, a TA of the called terminal, etc. The TA includes one or more cells.

[0348] In some embodiments, sending the second access network information of the called terminal to the second communication device includes:

[0349] A second registration message is sent to the second communication device; the second registration message carries the second access network information of the called terminal.

[0350] In some embodiments, sending the second access network information of the called terminal to the second communication device includes:

[0351] Receiving a first voice call request message sent by a second communication device; wherein the first voice call request message carries a third SDP proposal message of the second communication device;

[0352] A first voice call request response message is sent to the second communication device; wherein the first voice call request response message includes one or more of the following: second access network information of the called terminal; and a first SDP answer message of the called terminal.

[0353] As an example, the third SDP proposal message of the second communication device may be generated based on the second SDP proposal message of the first communication device, and the second SDP proposal message of the first communication device may be generated by the first communication device based on the first SDP proposal message of the calling terminal.

[0354] In some embodiments, the second communication device is a P-CSCF.

[0355] In the embodiment of the present application, the following advantages are possessed:

[0356] (1) The called terminal may carry its own second access network information when registering and sending the first voice call request response message, or may not carry its own second access network information when registering but carry its own second access network information when sending the first voice call request response message.

[0357] See also Figure 6 , Figure 6 Schematic diagram of the network architecture of the voice call establishment method of the present application embodiment. Figure 6 As shown, Figure 6The figure shows the network architecture in the satellite access scenario. In the satellite access scenario, when two UEs (UE1 and UE2) access a satellite or the same constellation at the same time, the voice service flow can be transferred on the satellite. There is no need to anchor the voice media flow on the P-CSCF. In other words, the two UEs can talk without passing through the ground IMS network.

[0358] It should be noted that the embodiments of the present application can also be applied to terrestrial mobile communication systems if necessary, and are therefore not limited to satellite access scenarios, but also include terrestrial mobile communication access scenarios.

[0359] See also Figure 7 , Figure 7 Detailed implementation flow diagram of the method for establishing a voice call in the present application embodiment. Figure 7 As shown, it includes steps 701 to 717:

[0360] Step 701: The calling terminal (UE1) initiates an IMS registration process to send a first registration message (also referred to as a first registration request message) to the first communication device (P-CSCF1) on the calling side, wherein the first registration message carries the first access network information of UE1.

[0361] The first access network information may include:

[0362] First satellite access information;

[0363] or,

[0364] First terrestrial mobile communication network access information.

[0365] Here, the first satellite access information may refer to constellation information of a satellite currently connected to the calling terminal, satellite information of a satellite currently connected to the calling terminal, etc. The satellite information may be a satellite number, a satellite name, etc.

[0366] Here, the first terrestrial mobile communication network access information may refer to a cell ID of a cell currently accessed by the calling terminal, a TA of the calling terminal, etc. The TA includes one or more cells.

[0367] Step 702: The called terminal (UE2) initiates an IMS registration process to send a second registration message (also referred to as a second registration request message) to the second communication device (P-CSCF2) on the called side, wherein the second registration message carries the second access network information of UE2.

[0368] The second access network information may include:

[0369] Second satellite access information;

[0370] or,

[0371] Second terrestrial mobile communication network access information.

[0372] Here, the second satellite access information may refer to constellation information of a satellite currently connected to the called terminal, satellite information of a satellite currently connected to the called terminal, etc. The satellite information may refer to a satellite number, a satellite name, etc.

[0373] Here, the second terrestrial mobile communication network access information may refer to a cell ID of a cell currently accessed by the called terminal, a TA of the called terminal, etc. The TA includes one or more cells.

[0374] Here, UE1 and UE2 have established IMS protocol data unit (PDU) sessions with UPF1 and UPF2 on the satellite respectively. How to select the UPF on the satellite to establish the PDU session is not within the protection scope of this application; UE1 and UE2 obtain their respective P-CSCF addresses.

[0375] Step 703: The first communication device (P-CSCF1) on the calling side stores the first access network information corresponding to the calling terminal (UE1).

[0376] Step 704: The second communication device (P-CSCF2) on the called side stores the second access network information corresponding to the called terminal (UE2).

[0377] Step 705: The calling terminal (UE1) initiates a first voice call request message to the called terminal (UE2) to the first communication device (P-CSCF1), wherein the first voice call request message, i.e., the INVITE message, carries the first access network information of UE1 and the first SDP offer message of UE1.

[0378] Here, the first SDP offer message of UE1 is used to indicate the codec type that the calling terminal (UE1) wishes to use.

[0379] Step 706: After completing normal call processing, the first communication device (P-CSCF1) on the calling side stores the first SDP offer message of UE1.

[0380] Step 707: The first communication device (P-CSCF1) on the calling side sends the first voice call request message, i.e., an INVITE message, to the second communication device (P-CSCF2) in the IMS network. The INVITE message carries P-CSCF1's own second SDP offer message and the first access network information of UE1.

[0381] Here, the second SDP offer message of P-CSCF1 is generated based on the first SDP offer message of UE1.

[0382] Step 708: When the second communication device (P-CSCF2) on the called side receives the first voice call request message, ie, the INVITE message, sent by the first communication device (P-CSCF1), the first access network information of UE1 is stored.

[0383] Step 709: The second communication device (P-CSCF2) on the called side performs normal call processing, and carries the third SDPoffer message of P-CSCF2 itself in the first voice call request message, ie, the INVITE message sent to the called terminal (UE2).

[0384] Here, the third SDP offer message of P-CSCF2 is generated based on the second SDP offer message of P-CSCF1.

[0385] Step 710: The second communication device (P-CSCF2) on the called side receives the first voice call request response message, ie, the 18X response message, returned by the called terminal (UE2).

[0386] Here, the first voice call request response message includes a first SDP answer message of the called terminal (UE2).

[0387] Here, since the second registration message sent by UE2 to the second communication device (P-CSCF2) on the called side carries the second access network information of UE2, the first SDP response message may only carry the SDP negotiation result between the calling terminal and the called terminal.

[0388] Here, the first SDP answer message of UE2 is used to indicate the codec type that the called terminal (UE2) wishes to use.

[0389] Step 711: When the second communication device (P-CSCF2) on the called side receives the first voice call request response message, ie, the 18X response message, returned by the called terminal (UE2), it determines whether to enable the route optimization function based on the first information.

[0390] Here, the first information includes one or more of the following:

[0391] The stored first access network information of UE1;

[0392] The stored second access network information of UE2;

[0393] UE2 returns the first SDP answer message.

[0394] Here, based on the first information, determining whether to enable the route optimization function includes:

[0395] If the first access network information of UE1 and the second access network information of UE2 meet the preset route optimization condition, the route optimization function is started;

[0396] and / or,

[0397] If the SDP negotiation result between UE1 and UE2 indicates that UE1 and UE2 use the same codec type for the call, the route optimization function is started.

[0398] Here, satisfying the preset route optimization condition may include:

[0399] UE1 and UE2 are connected to the same satellite or the same satellite system;

[0400] or,

[0401] UE1 and UE2 are in the same terrestrial cell;

[0402] or,

[0403] The TA of UE1 and UE2 is the same.

[0404] The connection to the same satellite system may refer to connection to the same satellite constellation.

[0405] Here, the SDP negotiation result between UE1 and UE2 indicates that UE1 and UE2 use the same codec type for communication, which can also be described as no codec conversion is required for the communication between UE1 and UE2.

[0406] Here, the second communication device (P-CSCF2) on the called side determines whether the codec type that UE1 and UE2 want to use is the same based on the first SDP offer message stored in UE1 and the first SDP answer message returned by UE2. If it is determined that the codec type that UE1 and UE2 want to use is the same, the routing optimization function of the voice media stream is started; wherein the first SDP offer message of UE1 is used to indicate the codec type that the calling terminal (UE1) wants to use, and the first SDP answer message of UE2 is used to indicate the codec type that the called terminal (UE2) wants to use.

[0407] Step 712: After the route optimization function is started in the second communication device (P-CSCF2), the first voice call request response message, i.e., the 18X response message, returned by P-CSCF2 to the first communication device (P-CSCF1) does not carry P-CSCF2's own SDP answer message, but carries the first SDP answer message returned by UE2.

[0408] At the same time, P-CSCF2 carries the second access network information of UE2 in the first voice call request response message, ie, the 18X response message.

[0409] That is, after the second communication device (P-CSCF2) determines to start the route optimization function, it uses the first SDPanswer message of UE2 as the SDP answer message of the first voice call request response message, and carries the second access network information of UE2.

[0410] Here, the first voice call request response message returned by the second communication device (P-CSCF2) on the called side to the first communication device (P-CSCF1) on the calling side carries the first SDP answer message of UE2. Since the first SDP answer message of UE2 carries the IP address of UE2 required for the call between UE1 and UE2, and does not carry the address of P-CSCF2, the subsequent voice media stream can be directly routed to UE2 without passing through P-CSCF2.

[0411] Step 713: When the first communication device (P-CSCF1) on the calling side receives the first voice call request response message, ie, the 18X response message, sent by the second communication device (P-CSCF2), it determines whether to enable the route optimization function based on the first information.

[0412] Here, the first information includes one or more of the following:

[0413] The stored first access network information of UE1;

[0414] The received second access network information of UE2;

[0415] The returned first SDP answer message of UE2; the first SDP answer message carries the SDP negotiation result between the calling terminal and the called terminal.

[0416] Here, based on the first information, determining whether to enable the route optimization function includes:

[0417] If the first access network information of UE1 and the second access network information of UE2 meet the preset route optimization condition, the route optimization function is started;

[0418] and / or,

[0419] If the SDP negotiation result between UE1 and UE2 indicates that UE1 and UE2 use the same codec type for the call, the route optimization function is enabled.

[0420] Here, satisfying the preset route optimization condition may include:

[0421] UE1 and UE2 are connected to the same satellite or the same satellite system;

[0422] or,

[0423] UE1 and UE2 are in the same cell;

[0424] or,

[0425] The TA of UE1 and UE2 is the same.

[0426] The connection to the same satellite system may refer to connection to the same satellite constellation.

[0427] Here, the SDP negotiation result between UE1 and UE2 indicates that UE1 and UE2 use the same codec type for communication, which can also be described as no codec conversion is required for the communication between UE1 and UE2.

[0428] Here, the first communication device (P-CSCF1) on the calling side determines whether the codec type that UE1 and UE2 want to use is the same based on the first SDP offer message stored in UE1 and the first SDP answer message returned by UE2. If it is determined that the codec type that UE1 and UE2 want to use is the same, the routing optimization function of the voice media stream is started; wherein the first SDP offer message of UE1 is used to indicate the codec type that the calling terminal (UE1) wants to use, and the first SDP answer message of UE2 is used to indicate the codec type that the called terminal (UE2) wants to use.

[0429] Step 714: After the first communication device (P-CSCF1) on the calling side determines to enable the route optimization function, it initiates a second voice call request message, namely, an UPDATE request message, to the second communication device (P-CSCF2) on the called side. The second voice call request message carries a route optimization indication, and uses the first SDP offer message of UE1 to perform media negotiation with the called side again.

[0430] The route optimization indication is used to indicate to the called party that the P-CSCF1 has started the route optimization function.

[0431] Step 715: After receiving the route optimization indication carried in the second voice call request message, the second communication device (P-CSCF2) on the called side identifies the route optimization indication and uses the first SDPoffer message received from the calling terminal (UE1) to perform media negotiation on the called side.

[0432] That is, P-CSCF2 sends a second voice call request message to the called terminal (UE2), where the second voice call request message carries the first SDP offer message of UE1 and the route optimization indication.

[0433] Here, the first SDP offer message of UE1 carries the IP address of UE1 required for UE1 and UE2 to conduct a call, so that the second communication device (P-CSCF2) forwards the IP address of the calling terminal (UE1) to the called terminal (UE2) through the second voice call request message, and the called terminal can subsequently initiate a call with the calling terminal.

[0434] Step 716: The second communication device (P-CSCF2) on the called side receives the second voice call request response message, i.e., the 18X response message, sent by the called terminal (UE2), which carries the second SDP answer message of UE2. The second voice call request response message sent to the first communication device (P-CSCF1) on the calling side carries the second SDP answer message of UE2.

[0435] Here, the second SDP answer message of the UE2 carries the SDP negotiation result between the calling terminal and the called terminal.

[0436] Here, the second SDP answer message of UE2 is used to indicate the codec type that the called terminal (UE2) wishes to use.

[0437] Here, the second voice call request response message sent by the second communication device (P-CSCF2) on the called side to the first communication device (P-CSCF1) on the calling side carries the second SDP answer message of UE2. Since the second SDP answer message of UE2 carries the IP address of the called terminal (UE2) required for the call between UE1 and UE2, and does not carry the address of P-CSCF1, the subsequent voice media stream can be routed directly between UE1 and UE2 without passing through P-CSCF1.

[0438] Here, the second SDP answer message of UE2 carries the IP address of UE2 required for UE1 and UE2 to conduct a call, so that the first communication device (P-CSCF2) forwards the IP address of the called terminal (UE2) to the calling terminal (UE1) through the second voice call request response message, and the calling terminal can subsequently initiate a call with the called terminal.

[0439] Step 717: The first communication device (P-CSCF1) does not carry its own SDP answer in the second voice call request response message, ie, the 18X response message, sent to the calling terminal (UE1), but carries the second SDP answer message received from UE2.

[0440] Here, the first communication device (P-CSCF1) uses the second SDP answer message of UE2 as the SDP answer message in the second voice call request response message.

[0441] Here, after the call is established, the voice media stream will be directly routed to UE1 and UE2 through UPF1 and UPF2 on the satellite, so that the voice media stream does not pass through the ground IMS network.

[0442] It should be noted that the above process is also applicable to the case where UE1 and UE2 are connected to the same P-CSCF, all processes remain consistent, and all processing is performed on the same P-CSCF.

[0443] In this example, the following advantages are achieved:

[0444] (1) In the satellite access scenario, when two UEs simultaneously access a satellite or the same constellation, voice service flows can be transferred on the satellite without anchoring the voice media flow on the P-CSCF. In other words, the two UEs can communicate without passing through the ground IMS network.

[0445] (2) The calling terminal (UE1) carries the first access network information of UE1 when registering and initiating the first voice call request. The called terminal (UE2) carries the second access network information of UE2 when registering, but does not carry the second access network information of UE2 in the first voice call request response message.

[0446] See also Figure 8 , Figure 8 Detailed implementation flow diagram of the method for establishing a voice call in the present application embodiment. Figure 8 As shown, it includes steps 801 to 813:

[0447] Step 801: The calling terminal (UE1) initiates a first voice call request message, namely, an INVITE message, to the called terminal (UE2) to the first communication device (P-CSCF1), which carries the first access network information of UE1 and the first SDP offer message of UE1.

[0448] Here, UE1 and UE2 have established IMS PDU sessions with UPF1 and UPF2 on the satellite respectively. How to select the UPF on the satellite to establish the PDU session is not within the protection scope of this application; UE1 and UE2 obtain their respective P-CSCF addresses.

[0449] Here, the first SDP offer message of UE1 is used to indicate the codec type that the calling terminal (UE1) wishes to use.

[0450] Step 802: After completing normal call processing, the first communication device (P-CSCF1) on the calling side stores the first SDP offer message of UE1.

[0451] Step 803: The first communication device (P-CSCF1) on the calling side carries P-CSCF1's own second SDPoffer message and the first access network information of UE1 in the first voice call request message, i.e., the INVITE message sent to the second communication device (P-CSCF2) in the IMS network.

[0452] Here, the second SDP offer message of P-CSCF1 is generated based on the first SDP offer message of UE1.

[0453] Step 804: When the second communication device (P-CSCF2) on the called side receives the first voice call request message, ie, the INVITE message, sent by the first communication device (P-CSCF1), it stores the first access network information of UE1.

[0454] Step 805: The second communication device (P-CSCF2) on the called side performs normal call processing, and carries the third SDPoffer message of P-CSCF2 itself in the first voice call request message, ie, the INVITE message sent to the called terminal (UE2).

[0455] Here, the third SDP offer message of P-CSCF2 is generated based on the second SDP offer message of P-CSCF1.

[0456] Step 806: The second communication device (P-CSCF2) on the called side receives the first voice call request response message, ie, the 18X response message, returned by the called terminal (UE2).

[0457] Here, the first voice call request response message includes a first SDP answer message of the called terminal (UE2).

[0458] Here, since the second registration message sent by UE2 to the second communication device (P-CSCF2) on the called side does not carry the second access network information of UE2, the first SDP response message can carry the second access network information of UE2 and the SDP negotiation result between the calling terminal and the called terminal.

[0459] Here, the first SDP answer message of UE2 is used to indicate the codec type that the called terminal (UE2) wishes to use.

[0460] Step 807: When the second communication device (P-CSCF2) on the called side receives the first voice call request response message, ie, the 18X response message, returned by the called terminal (UE2), it determines whether to enable the route optimization function based on the first information.

[0461] Here, the first information includes one or more of the following:

[0462] The stored first access network information of UE1;

[0463] The stored second access network information of UE2;

[0464] UE2 returns the SDP answer.

[0465] Here, based on the first information, determining whether to enable the route optimization function includes:

[0466] If the first access network information of UE1 and the second access network information of UE2 meet the preset route optimization condition, the route optimization function is started;

[0467] and / or,

[0468] If the SDP negotiation result between UE1 and UE2 indicates that UE1 and UE2 use the same codec type for the call, the route optimization function is started.

[0469] Here, satisfying the preset route optimization condition may include:

[0470] UE1 and UE2 are connected to the same satellite or the same satellite system;

[0471] or,

[0472] UE1 and UE2 are in the same terrestrial cell;

[0473] or,

[0474] The TA of UE1 and UE2 is the same.

[0475] The connection to the same satellite system may refer to connection to the same satellite constellation.

[0476] Here, the SDP negotiation result between UE1 and UE2 indicates that UE1 and UE2 use the same codec type for communication, which can also be described as no codec conversion is required for the communication between UE1 and UE2.

[0477] Here, the second communication device (P-CSCF2) on the called side determines whether the codec type that UE1 and UE2 want to use is the same based on the first SDP offer message stored in UE1 and the first SDP answer message returned by UE2. If it is determined that the codec type that UE1 and UE2 want to use is the same, the routing optimization function of the voice media stream is started; wherein the first SDP offer message of UE1 is used to indicate the codec type that the calling terminal (UE1) wants to use, and the first SDP answer message of UE2 is used to indicate the codec type that the called terminal (UE2) wants to use.

[0478] Step 808: After the route optimization function is started in the second communication device (P-CSCF2), the first voice call request response message, i.e., the 18X response message, returned by P-CSCF2 to the first communication device (P-CSCF1) does not carry P-CSCF2's own SDP answer message, but carries the first SDP answer message returned by UE2.

[0479] At the same time, P-CSCF2 carries the second access network information of UE2 in the first voice call request response message, ie, the 18X response message.

[0480] That is, after the second communication device (P-CSCF2) determines to start the route optimization function, it uses the first SDPanswer message of UE2 as the SDP answer message of the first voice call request response message, and carries the second access network information of UE2.

[0481] Here, the first voice call request response message returned by the second communication device (P-CSCF2) on the called side to the first communication device (P-CSCF1) on the calling side carries the first SDP answer message returned by UE2. Since the first SDP answer message of UE2 carries the IP address of UE2 required for the call between UE1 and UE2, and does not carry the address of P-CSCF2, the subsequent voice media stream can be directly routed to UE2 without passing through P-CSCF2.

[0482] Step 809: When the first communication device (P-CSCF1) on the calling side receives the first voice call request response message, ie, the 18X response message, sent by the second communication device (P-CSCF2), it determines whether to enable the route optimization function based on the first information.

[0483] Here, the first information includes one or more of the following:

[0484] The stored first access network information of UE1;

[0485] The received second access network information of UE2;

[0486] The returned first SDP answer message of UE2; the first SDP answer message carries the SDP negotiation result between the calling terminal and the called terminal.

[0487] Here, based on the first information, determining whether to enable the route optimization function includes:

[0488] If the first access network information of UE1 and the second access network information of UE2 meet the preset route optimization condition, the route optimization function is started;

[0489] and / or,

[0490] If the SDP negotiation result between UE1 and UE2 indicates that UE1 and UE2 use the same codec type for the call, the route optimization function is enabled.

[0491] Here, satisfying the preset route optimization condition may include:

[0492] UE1 and UE2 are connected to the same satellite or the same satellite system;

[0493] or,

[0494] UE1 and UE2 are in the same cell;

[0495] or,

[0496] The TA of UE1 and UE2 is the same.

[0497] The connection to the same satellite system may refer to connection to the same satellite constellation.

[0498] Here, the SDP negotiation result between UE1 and UE2 indicates that UE1 and UE2 use the same codec type for communication, which can also be described as no codec conversion is required for the communication between UE1 and UE2.

[0499] Here, the first communication device (P-CSCF1) on the calling side determines whether the codec type that UE1 and UE2 want to use is the same based on the first SDP offer message stored in UE1 and the first SDP answer message returned by UE2. If it is determined that the codec type that UE1 and UE2 want to use is the same, the routing optimization function of the voice media stream is started; wherein the first SDP offer message of UE1 is used to indicate the codec type that the calling terminal (UE1) wants to use, and the first SDP answer message of UE2 is used to indicate the codec type that the called terminal (UE2) wants to use.

[0500] Step 810: The first communication device (P-CSCF1) on the calling side initiates a second voice call request message, i.e., an UPDATE request, to the second communication device (P-CSCF2) on the called side. The second voice call request message carries a route optimization indication and the first SDP offer message of UE1, and uses the first SDP offer message of UE1 to perform media negotiation with the called side again.

[0501] The route optimization indication is used to indicate to the called party that the P-CSCF1 has started the route optimization function.

[0502] Step 811: After receiving the route optimization indication carried in the second voice call request message, the second communication device (P-CSCF2) on the called side identifies the route optimization indication and uses the first SDP offer message received from the calling terminal (UE1) to perform media negotiation on the called side.

[0503] That is, P-CSCF2 sends a second voice call request message to UE2, where the second voice call request message carries the first SDP offer message of UE1 and the route optimization indication.

[0504] Here, the first SDP offer message of UE1 carries the IP address of UE1 required for UE1 and UE2 to conduct a call, so that the second communication device (P-CSCF2) forwards the IP address of the calling terminal (UE1) to the called terminal (UE2) through the second voice call request message, and the called terminal can subsequently initiate a call with the calling terminal.

[0505] Step 812: The second communication device (P-CSCF2) on the called side receives the second voice call request response message, i.e., the 18X response message, sent by the called terminal (UE2), which carries the second SDP answer message of UE2. The second voice call request response message sent to the first communication device (P-CSCF1) on the calling side carries the second SDP answer message of UE2.

[0506] Here, the second SDP answer message of the UE2 carries the SDP negotiation result between the calling terminal and the called terminal.

[0507] Here, the second SDP answer message of the UE2 carries the SDP negotiation result between the calling terminal and the called terminal.

[0508] Here, the second SDP answer message of UE2 is used to indicate the codec type that the called terminal (UE2) wishes to use.

[0509] Here, the second voice call request response message sent by the second communication device (P-CSCF2) on the called side to the first communication device (P-CSCF1) on the calling side carries the second SDP answer message of UE2. Since the second SDP answer message of UE2 carries the IP address of the called terminal (UE2) required for the call between UE1 and UE2, and does not carry the address of P-CSCF1, the subsequent voice media stream can be routed directly between UE1 and UE2 without passing through P-CSCF1.

[0510] Here, the second SDP answer message of UE2 carries the IP address of UE2 required for UE1 and UE2 to conduct a call, so that the first communication device (P-CSCF2) forwards the IP address of the called terminal (UE2) to the calling terminal (UE1) through the second voice call request response message, and the calling terminal can subsequently initiate a call with the called terminal.

[0511] Step 813: The first communication device (P-CSCF1) does not carry its own SDP answer in the second voice call request response message, ie, the 18X response message, sent to the calling terminal (UE1), but carries the received second SDP answer message from UE2.

[0512] Here, the first communication device (P-CSCF1) uses the second SDP answer message of UE2 as the SDP answer message in the second voice call request response message.

[0513] Here, after the call is established, the voice media stream will be directly routed to UE1 and UE2 through UPF1 and UPF2 on the satellite, so that the voice media stream does not pass through the ground IMS network.

[0514] It should be noted that the above process is also applicable to the case where UE1 and UE2 are connected to the same P-CSCF, all processes remain consistent, and all processing is performed on the same P-CSCF.

[0515] In this example, the following advantages are achieved:

[0516] (1) In the satellite access scenario, when two UEs simultaneously access a satellite or the same constellation, voice service flows can be transferred on the satellite without anchoring the voice media flow on the P-CSCF. In other words, the two UEs can communicate without passing through the ground IMS network.

[0517] (2) When the called terminal (UE2) initiates IMS registration, it does not need to carry access network information. UE2 carries the second access network information of UE2 in the first voice call request response message, i.e., the 18X response.

[0518] In order to implement the voice call establishment method of the embodiment of the present application, the embodiment of the present application also provides a voice call establishment device, which is arranged in the first communication device. Fig. 9 Schematic diagram of the structure of the voice call establishment device according to the embodiment of the present application. Fig. 9 As shown, the device comprises:

[0519] The first processing module 91 is used to determine whether to enable the route optimization function based on the first information; if it is determined that the route optimization function is enabled, negotiate with the second communication device to establish a call route between the calling terminal and the called terminal;

[0520] in,

[0521] The first information includes one or more of the following:

[0522] The first access network information of the calling terminal;

[0523] The second access network information of the called terminal;

[0524] The Session Description Protocol (SDP) negotiation result between the calling terminal and the called terminal.

[0525] In some embodiments, the first access network information of the calling terminal includes:

[0526] First satellite access information;

[0527] or,

[0528] First terrestrial mobile communication network access information.

[0529] In some embodiments, the second access network information of the called terminal includes:

[0530] Second satellite access information;

[0531] or,

[0532] Second terrestrial mobile communication network access information.

[0533] In some embodiments, the first processing module 91 is further used to:

[0534] If the first access network information of the calling terminal and the second access network information of the called terminal meet the preset route optimization condition, the route optimization function is enabled;

[0535] and / or,

[0536] If the SDP negotiation result between the calling terminal and the called terminal indicates that the calling terminal and the called terminal use the same codec type for the call, the route optimization function is enabled.

[0537] In some embodiments, satisfying a preset route optimization condition includes:

[0538] The calling terminal and the called terminal are connected to the same satellite or the same satellite system;

[0539] or,

[0540] The calling terminal and the called terminal belong to the same terrestrial cell;

[0541] or,

[0542] The TA of the calling terminal and the called terminal are the same.

[0543] In some embodiments, the device is further used to:

[0544] receiving a first registration message sent by the calling terminal; the first registration message carries the first access network information of the calling terminal;

[0545] The first access network information of the calling terminal is stored.

[0546] In some embodiments, the device is further used to:

[0547] A first voice call request message sent by the calling terminal is received; wherein the first voice call request message carries the first access network information of the calling terminal and the first SDP proposal message of the calling terminal.

[0548] In some embodiments, the device is further used to:

[0549] The first SDP proposal message of the calling terminal is stored.

[0550] In some embodiments, the device is further used to:

[0551] A first voice call request message is sent to a second communication device; wherein the first voice call request message carries the first access network information of the calling terminal and a second SDP proposal message of the first communication device.

[0552] In some embodiments, the device is further used to:

[0553] Receive a first voice call request response message sent by a second communication device; wherein the first call request response message includes the second access network information of the called terminal and the first SDP answer message of the called terminal; the first SDP answer message carries the SDP negotiation result between the calling terminal and the called terminal.

[0554] In some embodiments, the device is further used to:

[0555] When it is determined that the route optimization function is turned on, a second voice call request message is sent to the second communication device; wherein the second voice call request message carries a route optimization indication and a first SDP proposal message of the calling terminal; and the route optimization indication is used to indicate that the first communication device has started the route optimization function.

[0556] In some embodiments, the device is further used to:

[0557] Receive a second voice call request response message sent by the second communication device; wherein the second voice call request response message carries a second SDP answer message of the called terminal; and the second SDP answer message carries an SDP negotiation result between the calling terminal and the called terminal.

[0558] In some embodiments, the device is further used to:

[0559] Sending the second voice call request response message to the calling terminal.

[0560] In some embodiments, the first communication device and the second communication device are the same P-CSCF; or, the first communication device and the second communication device are different P-CSCFs.

[0561] In actual application, the acquisition unit can be implemented by a communication interface in the voice call establishment device; the processing unit can be implemented by a processor in the voice call establishment device.

[0562] It should be noted that: the voice call establishment device provided in the above embodiment only uses the division of the above program modules as an example to illustrate when establishing a voice call. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the voice call establishment device provided in the above embodiment and the voice call establishment method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0563] In order to implement the voice call establishment method of the embodiment of the present application, the embodiment of the present application also provides a voice call establishment device, which is arranged in the calling terminal. Fig.10 Schematic diagram of the structure of the voice call establishment device according to the embodiment of the present application. Fig.10 As shown, the device comprises:

[0564] The first sending module 101 is configured to send first access network information of a calling terminal to a first communication device.

[0565] In some embodiments, the first access network information of the calling terminal includes:

[0566] First satellite access information;

[0567] or,

[0568] First terrestrial mobile communication network access information.

[0569] In some embodiments, the first sending module 101 is further configured to:

[0570] A first registration message is sent to the first communication device; the first registration message carries the first access network information of the calling terminal.

[0571] In some embodiments, the first sending module 101 is further configured to:

[0572] A first voice call request message is sent to the first communication device; wherein the first voice call request message carries the first access network information of the calling terminal and the first SDP proposal message of the calling terminal.

[0573] In some embodiments, the first communication device is a P-CSCF.

[0574] In order to implement the voice call establishment method of the embodiment of the present application, the embodiment of the present application also provides a voice call establishment device, which is arranged in the second communication device. Fig.11 Schematic diagram of the structure of the voice call establishment device according to the embodiment of the present application. Fig.11 As shown, the device comprises:

[0575] The second processing module 111 is used to determine whether to enable the route optimization function based on the first information; if it is determined that the route optimization function is enabled, negotiate with the first communication device to establish a call route between the calling terminal and the called terminal;

[0576] in,

[0577] The first information includes one or more of the following:

[0578] The first access network information of the calling terminal;

[0579] The second access network information of the called terminal;

[0580] The SDP negotiation result between the calling terminal and the called terminal.

[0581] In some embodiments, the first access network information of the calling terminal includes:

[0582] First satellite access information;

[0583] or,

[0584] First terrestrial mobile communication network access information.

[0585] In some embodiments, the second access network information of the called terminal includes:

[0586] Second satellite access information;

[0587] or,

[0588] Second terrestrial mobile communication network access information.

[0589] In some embodiments, judging whether to enable the route optimization function based on the first information includes:

[0590] If the first access network information of the calling terminal and the second access network information of the called terminal meet the preset route optimization condition, the route optimization function is enabled;

[0591] and / or,

[0592] If the SDP negotiation result between the calling terminal and the called terminal indicates that the calling terminal and the called terminal use the same codec type for the call, the route optimization function is enabled.

[0593] In some embodiments, satisfying a preset route optimization condition includes:

[0594] The calling terminal and the called terminal are connected to the same satellite or the same satellite system;

[0595] or,

[0596] The calling terminal and the called terminal belong to the same terrestrial cell;

[0597] or,

[0598] The TA of the calling terminal and the called terminal are the same.

[0599] In some embodiments, the device is further used to:

[0600] receiving a second registration message sent by the called terminal; the second registration message carries the second access network information of the called terminal;

[0601] The second access network information of the called terminal is stored.

[0602] In some embodiments, the device is further used to:

[0603] A first voice call request message sent by the first communication device is received; wherein the first voice call request message carries the first access network information of the calling terminal and the second SDP proposal message of the first communication device.

[0604] In some embodiments, the device is further used to:

[0605] The first access network information of the calling terminal is stored.

[0606] In some embodiments, a first voice call request message is sent to the called terminal; wherein the first voice call request message carries a third SDP proposal message of the second communication device.

[0607] In some embodiments, the device is further used to:

[0608] Receiving a first voice call request response message sent by the called terminal;

[0609] The first voice call request response message includes one or more of the following:

[0610] The second access network information of the called terminal;

[0611] The first SDP answer message of the called terminal.

[0612] In some embodiments, the device is further used to:

[0613] When the second communication device starts the route optimization function, sending a first voice call request response message to the first communication device;

[0614] The first voice call request response message includes the second access network information of the called terminal and a first SDP answer message of the called terminal; the first SDP answer message carries the SDP negotiation result between the calling terminal and the called terminal.

[0615] In some embodiments, the device is further used to:

[0616] When the first communication device starts the route optimization function, receiving a second voice call request message sent by the first communication device;

[0617] The second voice call request message carries a route optimization indication and a first SDP proposal message of the calling terminal; the route optimization indication is used to indicate that the first communication device has started a route optimization function.

[0618] In some embodiments, the device is further used to:

[0619] Sending the second voice call request message to the called terminal.

[0620] In some embodiments, the device is further used to:

[0621] Receiving a second voice call request response message sent by the called terminal;

[0622] The second voice call request response message carries a second SDP answer message of the called terminal; and the second SDP answer message carries an SDP negotiation result between the calling terminal and the called terminal.

[0623] In some embodiments, the device is further used to:

[0624] The second voice call request response message is sent to the first communication device.

[0625] In some embodiments, the first communication device and the second communication device are the same P-CSCF; or, the first communication device and the second communication device are different P-CSCFs.

[0626] In order to implement the voice call establishment method of the embodiment of the present application, the embodiment of the present application also provides a voice call establishment device, which is arranged in the called terminal. Fig.12 Schematic diagram of the structure of the voice call establishment device according to the embodiment of the present application. Fig.12 As shown, the device comprises:

[0627] The second sending module 121 is configured to send the second access network information of the called terminal to the second communication device.

[0628] In some embodiments, the second access network information of the called terminal includes:

[0629] Second satellite access information;

[0630] or,

[0631] Second terrestrial mobile communication network access information.

[0632] In some embodiments, the device is further used to:

[0633] A second registration message is sent to the second communication device; the second registration message carries the second access network information of the called terminal.

[0634] In some embodiments, the device is further used to:

[0635] Receiving a first voice call request message sent by a second communication device; wherein the first voice call request message carries a third SDP proposal message of the second communication device;

[0636] A first voice call request response message is sent to the second communication device; wherein the first voice call request response message includes one or more of the following: second access network information of the called terminal; and a first SDP answer message of the called terminal.

[0637] In some embodiments, the second communication device is a P-CSCF.

[0638] The embodiment of the present application also provides a first communication device, such as Fig.13 As shown, including:

[0639] The first communication interface 131 is capable of exchanging information with other first communication devices;

[0640] The first processor 132 is connected to the first communication interface 131 and is used to execute the method provided by one or more technical solutions of the first communication device side when running a computer program. The computer program is stored in the first memory 133.

[0641] It should be noted that the specific processing process of the first processor 132 and the first communication interface 131 is detailed in the method embodiment and will not be repeated here.

[0642] Of course, in actual application, the various components in the first communication device 130 are coupled together through the bus system 134. It can be understood that the bus system 134 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 134 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.13 Various buses are labeled as bus system 134 .

[0643] The first memory 133 in the embodiment of the present application is used to store various types of data to support the operation of the first communication device 130. Examples of such data include: any computer program used to operate on the first communication device 130.

[0644] The method disclosed in the above embodiment of the present application can be applied to the first processor 132, or implemented by the first processor 132. The first processor 132 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 132. The above-mentioned first processor 132 may be a general-purpose processor, a digital data processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 132 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 133. The first processor 132 reads the information in the first memory 133 and completes the steps of the above method in combination with its hardware.

[0645] The present application embodiment also provides a calling terminal, such as Fig.14 As shown, including:

[0646] The second communication interface 141 is capable of exchanging information with other first communication devices;

[0647] The second processor 142 is connected to the second communication interface 141 and is used to execute the method provided by one or more technical solutions of the calling terminal side when running a computer program. The computer program is stored in the second memory 143.

[0648] It should be noted that: the specific processing process of the second processor 142 and the second communication interface 141 is detailed in the method embodiment, which will not be repeated here.

[0649] Of course, in actual application, the various components in the calling terminal 140 are coupled together through the bus system 144. It is understandable that the bus system 144 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 144 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.14Various buses are labeled as bus system 144 .

[0650] The second memory 143 in the embodiment of the present application is used to store various types of data to support the operation of the calling terminal 140. Examples of such data include: any computer program used to operate on the calling terminal 140.

[0651] The method disclosed in the above embodiment of the present application can be applied to the second processor 142, or implemented by the second processor 142. The second processor 142 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 142. The above-mentioned second processor 142 may be a general-purpose processor, a digital data processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 142 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the second memory 143, and the second processor 142 reads the information in the second memory 143 and completes the steps of the above method in combination with its hardware.

[0652] The present application also provides a second communication device, such as Fig.15 As shown, including:

[0653] The third communication interface 151 is capable of exchanging information with other second communication devices;

[0654] The third processor 152 is connected to the third communication interface 151 and is used to execute the method provided by one or more technical solutions of the second communication device when running a computer program. The computer program is stored in the third memory 153.

[0655] It should be noted that the specific processing process of the third processor 152 and the third communication interface 151 is detailed in the method embodiment and will not be repeated here.

[0656] Of course, in actual application, the various components in the second communication device 150 are coupled together through the bus system 154. It can be understood that the bus system 154 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 154 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.15 Various buses are labeled as bus system 154 .

[0657] The third memory 153 in the embodiment of the present application is used to store various types of data to support the operation of the second communication device 150. Examples of such data include: any computer program used to operate on the second communication device 150.

[0658] The method disclosed in the above embodiment of the present application can be applied to the third processor 152, or implemented by the third processor 152. The third processor 152 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the third processor 152. The above-mentioned third processor 152 may be a general-purpose processor, a digital data processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The third processor 152 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the third memory 153. The third processor 152 reads the information in the third memory 153 and completes the steps of the above method in combination with its hardware.

[0659] The embodiment of the present application also provides a called terminal, such as Fig.16 As shown, including:

[0660] The fourth communication interface 161 is capable of exchanging information with other second communication devices;

[0661] The fourth processor 162 is connected to the fourth communication interface 161 and is used to execute the method provided by one or more technical solutions of the called terminal side when running a computer program. The computer program is stored in the fourth memory 163.

[0662] It should be noted that the specific processing process of the fourth processor 162 and the fourth communication interface 161 is detailed in the method embodiment and will not be repeated here.

[0663] Of course, in actual application, the various components in the called terminal 160 are coupled together through the bus system 164. It can be understood that the bus system 164 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 164 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.16 Various buses are labeled as bus system 164 .

[0664] The fourth memory 163 in the embodiment of the present application is used to store various types of data to support the operation of the called terminal 160. Examples of such data include: any computer program used to operate on the called terminal 160.

[0665] The method disclosed in the above embodiment of the present application can be applied to the fourth processor 162, or implemented by the fourth processor 162. The fourth processor 162 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the fourth processor 162. The above-mentioned fourth processor 162 may be a general-purpose processor, a digital data processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The fourth processor 162 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the fourth memory 163. The fourth processor 162 reads the information in the fourth memory 163 and completes the steps of the above method in combination with its hardware.

[0666] In an exemplary embodiment, the first communication device 130, the calling terminal 140, the second communication device 150, and the called terminal 160 can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.

[0667] It can be understood that the memory (first memory 133, second memory 143) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

[0668] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory storing a computer program, and the computer program can be executed by the first processor 132 of the first communication device 130 to complete the steps of the method on the first communication device side. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.

[0669] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0670] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0671] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A method for establishing a voice call, It is characterized in that Applied to a first communication device, the method includes: Based on the first information, determining whether to enable a routing optimization function; In the case where it is determined to enable the route optimization function, negotiating with the second communication device to establish a call route between the calling terminal and the called terminal; in, The first information includes one or more of the following: The first access network information of the calling terminal; The second access network information of the called terminal; The Session Description Protocol (SDP) negotiation result between the calling terminal and the called terminal.

2. The method according to claim 1, It is characterized in that The first access network information of the calling terminal includes: First satellite access information; or, First terrestrial mobile communication network access information.

3. The method according to claim 1, It is characterized in that The second access network information of the called terminal includes: Second satellite access information; or, Second terrestrial mobile communication network access information.

4. The method according to any one of claims 1 to 3, It is characterized in that The determining whether to enable the route optimization function based on the first information includes: If the first access network information of the calling terminal and the second access network information of the called terminal meet the preset route optimization condition, the route optimization function is enabled; and / or, If the SDP negotiation result between the calling terminal and the called terminal indicates that the calling terminal and the called terminal use the same codec type for the call, the route optimization function is enabled.

5. The method according to claim 4, It is characterized in that The preset routing optimization condition is met, including: The calling terminal and the called terminal are connected to the same satellite or the same satellite system; or, The calling terminal and the called terminal belong to the same terrestrial cell; or, The tracking area TA of the calling terminal and the called terminal is the same.

6. The method according to claim 1, It is characterized in that The method further comprises: receiving a first registration message sent by the calling terminal; the first registration message carries the first access network information of the calling terminal; The first access network information of the calling terminal is stored.

7. The method according to claim 1, It is characterized in that The method further comprises: Receiving a first voice call request message sent by the calling terminal; The first voice call request message carries the first access network information of the calling terminal and the first SDP proposal message of the calling terminal.

8. The method according to claim 7, It is characterized in that The method further comprises: The first SDP proposal message of the calling terminal is stored.

9. The method according to claim 1, It is characterized in that The method further comprises: Sending a first voice call request message to a second communication device; The first voice call request message carries the first access network information of the calling terminal and the second SDP proposal message of the first communication device.

10. The method according to claim 9, It is characterized in that The method further comprises: Receiving a first voice call request response message sent by a second communication device; The first call request response message includes the second access network information of the called terminal and a first SDP answer message of the called terminal; the first SDP answer message carries the SDP negotiation result between the calling terminal and the called terminal.

11. The method according to claim 1, It is characterized in that The step of negotiating with the second communication device to establish a call route between the calling terminal and the called terminal when it is determined that the route optimization function is enabled includes: In the case where it is determined that the route optimization function is enabled, sending a second voice call request message to the second communication device; The second voice call request message carries a route optimization indication and a first SDP proposal message of the calling terminal; the route optimization indication is used to indicate that the first communication device has started a route optimization function.

12. The method according to claim 11, It is characterized in that The method further comprises: Receiving a second voice call request response message sent by the second communication device; The second voice call request response message carries a second SDP answer message of the called terminal; and the second SDP answer message carries an SDP negotiation result between the calling terminal and the called terminal.

13. The method according to claim 12, It is characterized in that The method further comprises: Sending the second voice call request response message to the calling terminal.

14. The method according to claim 1, It is characterized in that The first communication device and the second communication device are the same Proxy Call Session Control Function P-CSCF; or, the first communication device and the second communication device are different P-CSCFs.

15. A method for establishing a voice call, It is characterized in that Applied to a calling terminal, the method comprises: The first access network information of the calling terminal is sent to the first communication device.

16. The method according to claim 15, It is characterized in that The first access network information of the calling terminal includes: First satellite access information; or, First terrestrial mobile communication network access information.

17. The method according to claim 15, It is characterized in that The sending the first access network information of the calling terminal to the first communication device includes: A first registration message is sent to the first communication device; the first registration message carries the first access network information of the calling terminal.

18. The method according to claim 15, It is characterized in that The sending the first access network information of the calling terminal to the first communication device includes: Sending a first voice call request message to the first communication device; in, The first voice call request message carries the first access network information of the calling terminal and the first SDP proposal message of the calling terminal.

19. The method according to claim 1, It is characterized in that The first communication device is a P-CSCF.

20. A method for establishing a voice call, It is characterized in that Applied to a second communication device, the method includes: Based on the first information, determining whether to enable a routing optimization function; In the case where it is determined to enable the route optimization function, negotiating with the first communication device to establish a call route between the calling terminal and the called terminal; in, The first information includes one or more of the following: The first access network information of the calling terminal; The second access network information of the called terminal; The SDP negotiation result between the calling terminal and the called terminal.

21. The method according to claim 20, It is characterized in that The first access network information of the calling terminal includes: First satellite access information; or, First terrestrial mobile communication network access information.

22. The method according to claim 20, It is characterized in that The second access network information of the called terminal includes: Second satellite access information; or, Second terrestrial mobile communication network access information.

23. The method according to any one of claims 20 to 22, It is characterized in that The determining whether to enable the route optimization function based on the first information includes: If the first access network information of the calling terminal and the second access network information of the called terminal meet the preset route optimization condition, the route optimization function is enabled; and / or, The SDP negotiation result between the calling terminal and the called terminal indicates that the calling terminal and the called terminal use the same codec type for the call, and thus the route optimization function is enabled.

24. The method according to claim 23, It is characterized in that The preset routing optimization condition is met, including: The calling terminal and the called terminal are connected to the same satellite or the same satellite system; or, The calling terminal and the called terminal belong to the same terrestrial cell; or, The TA of the calling terminal and the called terminal are the same.

25. The method according to claim 20, It is characterized in that The method further comprises: receiving a second registration message sent by the called terminal; the second registration message carries the second access network information of the called terminal; The second access network information of the called terminal is stored.

26. The method according to claim 20, It is characterized in that The method further comprises: Receiving a first voice call request message sent by the first communication device; The first voice call request message carries the first access network information of the calling terminal and the second SDP proposal message of the first communication device.

27. The method according to claim 26, It is characterized in that The method further comprises: The first access network information of the calling terminal is stored.

28. The method according to claim 20, It is characterized in that The method further comprises: Sending a first voice call request message to the called terminal; The first voice call request message carries a third SDP proposal message of the second communication device.

29. The method according to claim 28, It is characterized in that The method further comprises: Receiving a first voice call request response message sent by the called terminal; The first voice call request response message includes one or more of the following: The second access network information of the called terminal; The first SDP answer message of the called terminal.

30. The method according to claim 20, It is characterized in that The method further comprises: When the second communication device starts the route optimization function, sending a first voice call request response message to the first communication device; The first voice call request response message includes the second access network information of the called terminal and a first SDP answer message of the called terminal; the first SDP answer message carries the SDP negotiation result between the calling terminal and the called terminal.

31. The method according to claim 20, It is characterized in that The method further comprises: When the first communication device starts the route optimization function, receiving a second voice call request message sent by the first communication device; The second voice call request message carries a route optimization indication and a first SDP proposal message of the calling terminal; the route optimization indication is used to indicate that the first communication device has started a route optimization function.

32. The method according to claim 31, It is characterized in that The method further comprises: Sending the second voice call request message to the called terminal.

33. The method according to claim 32, It is characterized in that The method further comprises: Receiving a second voice call request response message sent by the called terminal; The second voice call request response message carries a second SDP answer message of the called terminal; and the second SDP answer message carries an SDP negotiation result between the calling terminal and the called terminal.

34. The method according to claim 33, It is characterized in that The method further comprises: The second voice call request response message is sent to the first communication device.

35. The method according to claim 1, It is characterized in that The first communication device and the second communication device are the same P-CSCF; or, the first communication device and the second communication device are different P-CSCFs.

36. A method for establishing a voice call, It is characterized in that Applied to the called terminal, the method comprises: The second access network information of the called terminal is sent to the second communication device.

37. The method according to claim 36, It is characterized in that The second access network information of the called terminal includes: Second satellite access information; or, Second terrestrial mobile communication network access information.

38. The method according to claim 36, It is characterized in that The sending the second access network information of the called terminal to the second communication device includes: A second registration message is sent to the second communication device; the second registration message carries the second access network information of the called terminal.

39. The method according to claim 36, It is characterized in that The sending the second access network information of the called terminal to the second communication device includes: Receiving a first voice call request message sent by a second communication device; wherein the first voice call request message carries a third SDP proposal message of the second communication device; A first voice call request response message is sent to the second communication device; wherein the first voice call request response message includes one or more of the following: second access network information of the called terminal; and a first SDP answer message of the called terminal.

40. The method according to claim 36, It is characterized in that The second communication device is a P-CSCF.

41. A voice call establishment device, It is characterized in that include: A first processing module, used for determining whether to enable a routing optimization function based on the first information; In the case where it is determined to enable the route optimization function, negotiating with the second communication device to establish a call route between the calling terminal and the called terminal; in, The first information includes one or more of the following: The first access network information of the calling terminal; The second access network information of the called terminal; The SDP negotiation result between the calling terminal and the called terminal.

42. A voice call establishment device, It is characterized in that include: The first sending module is used to send the first access network information of the calling terminal to the first communication device.

43. A voice call establishment device, It is characterized in that include: A second processing module, used for determining whether to enable a routing optimization function based on the first information; In the case where it is determined to enable the route optimization function, negotiating with the first communication device to establish a call route between the calling terminal and the called terminal; in, The first information includes one or more of the following: The first access network information of the calling terminal; The second access network information of the called terminal; The SDP negotiation result between the calling terminal and the called terminal.

44. A voice call establishment device, It is characterized in that include: The second sending module is used to send the second access network information of the called terminal to the second communication device.

45. A first communication device, It is characterized in that comprising a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in any one of claims 1 to 14.

46. ​​A calling terminal, It is characterized in that comprising a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in any one of claims 15 to 19.

47. A second communication device, It is characterized in that comprising a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in any one of claims 20 to 35.

48. A called terminal, It is characterized in that comprising a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in any one of claims 36 to 40.

49. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 14, or implements the steps of the method described in any one of claims 15 to 19, or implements the steps of the method described in any one of claims 20 to 35, or implements the steps of the method described in any one of claims 36 to 40.

Citation Information

Cited By

  • Communication processing method and device, storage medium and chip

    CN121485759A

  • Called domain selection method, device and system and medium

    CN121692322A

  • Voice call establishment method and apparatus, and device and storage medium

    WO2025148754A1