A call processing method and related device

By using the timer mechanism for resource reservation negotiation or network switching in VoWiFi scenarios, the problem of call failure in VoWiFi scenarios is solved, and the call access rate and user experience are improved.

CN118233435BActive Publication Date: 2024-11-29HONOR DEVICE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410657083.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-25
Publication Date
2024-11-29
Estimated Expiration
2044-05-25

AI Technical Summary

Technical Problem

In the VoWiFi scenario, the calling terminal and the IMS will not negotiate resource reservation, resulting in call failure and affecting the user's call experience and connectivity rate.

Method used

By setting a timer on the terminal device and network device, directly sending resource reservation messages or switching to the cellular network after the timer timed out, ensuring that the call resource reservation negotiation is carried out, thereby ensuring that the call is connected.

Benefits of technology

It improves call access rate under wireless LAN, ensures the normal progress of user calls, and improves the call experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118233435B_ABST
    Figure CN118233435B_ABST
Patent Text Reader

Abstract

The present application provides a call processing method and related devices. In an embodiment of the present application, a terminal device and / or a network device is provided with a timer. During the process of establishing a first IMS session in a wireless local area network, if the timer of the network device times out, if the terminal device receives a first update message from the network device, the terminal device establishes a communication session in the wireless local area network, thereby ensuring a normal call; or, if the timer of the terminal device times out, the terminal device switches from the wireless local area network to a cellular network, and establishes a communication session in the cellular network, thereby ensuring a normal call.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a call processing method and related devices. Background Art

[0002] The IP Multimedia Subsystem (IMS) is a general network architecture that provides multimedia services on a network based on the Internet protocol (IP). It can provide integrated media services and Internet services to users using different access methods. Among them, voice over LTE (VoLTE), voice over New Radio (VoNR) and voice over WiFi (VoWiFi) are currently common IMS-based voice services. Voice services can include value-added call services (including color ringback tone services and ringing services). IMS can deliver media services to terminal devices that have subscribed to value-added call services.

[0003] In the VoLTE scenario, the calling terminal and the IMS can perform resource reservation (precondition) negotiation to support the color ring back tone service, but in the VoWiFi scenario, the calling terminal and the IMS will not perform precondition negotiation, resulting in the call failure of the calling terminal. Summary of the invention

[0004] The embodiments of the present application provide a call processing method and related devices, which can improve the call connection rate in a wireless local area network.

[0005] In a first aspect, the present application provides a call processing method, applied to a terminal device, and the method may include:

[0006] During the process of establishing the first IP Multimedia Subsystem IMS session on the wireless local area network by the terminal device, if the timer of the network device times out, the terminal device receives a first update message from the network device, then the terminal device establishes a first communication session on the wireless local area network, wherein the first update message includes information on a resource reservation mechanism; or

[0007] During the process of the terminal device establishing a first IP Multimedia Subsystem IMS session on the wireless local area network, when the timer of the terminal device times out, the terminal device switches from the wireless local area network to the cellular network and establishes a second communication session on the cellular network.

[0008] In an embodiment of the present application, a timer is provided on the network device side and / or the terminal device side, and the terminal device supports a color ring back tone service and / or a color vibration service. If the terminal device needs to establish an IMS session under a wireless local area network, the network device can start the timer, and after the timer times out, the network device directly sends a message about a resource reservation mechanism to the terminal device, thereby ensuring that the call can proceed normally. Alternatively, the terminal device can start the timer, and after the timer times out, the terminal device switches the call network, thereby ensuring that the call can proceed normally. Therefore, the call connection rate can be guaranteed and the user's call experience can be improved through the embodiment of the present application.

[0009] In a possible implementation manner of the first aspect, the terminal device is a calling terminal or a called terminal;

[0010] When the terminal device is the calling terminal, the timer of the network device includes a first timer started when the network device sends a first response message to the calling terminal;

[0011] When the terminal device is the called terminal, the timer of the network device includes a second timer started when the network device receives the first response message from the called terminal;

[0012] The first response message includes a message generated by the called terminal in response to a first call request message, and the first call request message is used to request to establish the first IMS session.

[0013] It is understandable that when the called terminal activates the color ring back tone service, the color ring back tone service is executed on the calling terminal side, and the color ring back tone service is executed on the called terminal side. Therefore, for different service situations, the network device can start the timer at the time node corresponding to the service, so as to ensure that the resource reservation negotiation is carried out between the two parties, and then ensure that the call between the calling terminal and the called terminal can proceed normally.

[0014] In a possible implementation of the first aspect, when the terminal device is the calling terminal, the method further includes:

[0015] When the timer of the network device times out, if the terminal device receives the first ringing message from the network device, the terminal device establishes the first communication session on the wireless local area network, wherein the first ringing message is used to indicate that the called terminal has started ringing. It can be seen that in this case, the network device ensures that the call proceeds normally by sending a peer ringing message to the calling terminal.

[0016] In a possible implementation manner of the first aspect, the terminal device is a calling terminal or a called terminal, and when the terminal device is the calling terminal, the timer of the terminal device includes a third timer that is started when the calling device receives a first response message from the network device;

[0017] When the calling terminal is the called terminal, the timer of the terminal device includes a fourth timer started when the called terminal sends the first response message to the network device;

[0018] The first response message includes information generated by the called terminal in response to a first call request message, and the first call request message is used to request to establish the first IMS session.

[0019] It can be seen that for the color ring back tone service, the calling device can start the timer at the time node corresponding to the service, and for the color ring back tone service, the called device can start the timer at the time node corresponding to the service, thereby ensuring resource reservation negotiation between the two parties, and further ensuring that the call between the calling terminal and the called terminal can proceed normally.

[0020] In a possible implementation of the first aspect, the method also includes: if the timer of the terminal device has not timed out, if the terminal device receives a second update message or a second ringing message from the network device, the terminal device establishes the second communication session in the wireless local area network, wherein the second update message includes information about the resource reservation mechanism.

[0021] It can be seen that before the timer of the terminal device times out, if the information for the resource reservation mechanism or the ringing information of the other end sent by the network device is received, the calling terminal and the called terminal can have a normal conversation on the wireless local area network; if not received, the communication network can be switched and the conversation can be carried out on other networks. Therefore, in either case, the embodiment of the present application can ensure the normal conduct of the conversation.

[0022] In a possible implementation of the first aspect, the method further includes:

[0023] When the terminal device is the calling terminal, the calling terminal starts the third timer when receiving the first response message;

[0024] When the terminal device is the called terminal, the fourth timer is started when the called terminal sends the first response message.

[0025] It can be seen that for the color ring back tone service, the calling device can start the timer at the time node corresponding to the color ring back tone service, and for the color ring back tone service, the called device can start the timer at the time node corresponding to the color ring back tone service, thereby ensuring resource reservation negotiation between the two parties, and further ensuring that the call between the calling terminal and the called terminal can proceed normally.

[0026] In a possible implementation manner of the first aspect, the terminal device switches the call network from the wireless local area network to a cellular network, and establishes a second communication session on the cellular network, including:

[0027] In the case where the terminal device and the network device support Long Term Evolution Voice over LTE (VoLTE), the terminal device switches the call network from Voice over Wireless Fidelity WiFi (VoWiFi) to the VoLTE, and establishes the second communication session on the VoLTE; or,

[0028] In the case that the terminal device and / or the network device do not support the VoLTE, determining whether the terminal device supports switching from the VoWiFi to the circuit switched CS domain, and if the terminal device does not support switching, shutting down the wireless local area network, and the terminal device establishing the second communication session on the CS domain;

[0029] If the terminal device supports switching, the terminal device switches from the VoWiFi to the CS domain, and establishes the second communication session on the CS domain.

[0030] It can be seen that when a call connection cannot be established on a wireless local area network, the embodiments of the present application provide different call network switching methods for different network environments, switching to other networks to establish a call connection, thereby ensuring the call between the calling terminal and the called terminal.

[0031] In a possible implementation of the first aspect, if the terminal device does not support switching, shutting down the wireless local area network includes:

[0032] If the terminal device does not support switching, a prompt message for closing the wireless LAN is displayed;

[0033] The terminal device closes the wireless local area in response to a user operation.

[0034] It can be seen that the embodiment of the present application can prompt the user to turn off the wireless local area network, thereby ensuring that the call can be switched to the cellular network, thereby ensuring that the call can proceed normally.

[0035] In a possible implementation of the first aspect, after the terminal device receives the first update message from the network device and before the terminal device establishes a first communication session on the wireless local area network, the method further includes:

[0036] The terminal device and the network device negotiate a resource reservation mechanism.

[0037] It can be seen that when the timer of the network device times out, the present application receives information about the resource reservation mechanism, then the terminal device and the network device can negotiate the resource reservation mechanism, thereby ensuring that subsequent calls can proceed normally.

[0038] In a second aspect, the present application provides a call processing method, applied to a network device, which may include:

[0039] In the process of establishing a first IMS session on a wireless local area network by a terminal device, when a timer of the network device times out, the network device sends a first update message to the terminal device, wherein the first update message includes information for a resource reservation mechanism, and the first update message is used by the terminal device to establish a first communication session on the wireless local area network; or,

[0040] When the timer of the terminal device has not timed out, the network device sends a second update message to the terminal device, wherein the second update message includes information for the resource reservation mechanism, and the second update message is used by the terminal device to establish a second communication session on the wireless local area network.

[0041] It can be seen that if the terminal device needs to establish an IMS session in the wireless local area network, the network device can start a timer. After the timer expires, the network device directly sends information about the resource reservation mechanism to the terminal device, thereby ensuring that the call can proceed normally.

[0042] In a possible implementation manner of the second aspect, when a timer of the network device times out, the network device sending a first update message to the terminal device includes:

[0043] When the terminal device is a calling terminal, when the network device sends a first response message to the calling terminal, the network device starts a first timer; wherein the first response message includes information generated by the called terminal in response to the first call request message, and the first call request message is used to request to establish the first IMS session;

[0044] When the first timer times out, the network device sends the first update message or the first ringing message to the calling terminal, wherein the first ringing message is used to indicate that the called terminal has started ringing.

[0045] In a possible implementation manner of the second aspect, when a timer of the network device times out, the network device sending a first update message to the terminal device includes:

[0046] When the terminal device is a called terminal, when the network device receives a first response message sent from the called terminal, the network device starts a second timer; wherein the first response message includes information generated by the called terminal in response to a first call request message, and the first call request message is used to request to establish the first IMS session;

[0047] When the second timer times out, the network device sends the first update message to the called terminal.

[0048] It can be seen that a timer is set on the network device side. For different business scenarios, the network device can start the timer at the time node corresponding to the business, and perform corresponding operations according to the status of the timer, thereby ensuring the normal progress of the call.

[0049] In a third aspect, an embodiment of the present application provides a terminal device, the terminal device comprising: one or more processors; a memory; wherein the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions to enable the terminal device to execute the call processing method described in the first aspect or any possible implementation of the first aspect.

[0050] In a fourth aspect, an embodiment of the present application provides a network device, the network device comprising: one or more processors; a memory; wherein the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions to enable the network device to execute the call processing method described in the second aspect or any possible implementation of the second aspect.

[0051] In a fifth aspect, the present application provides a chip or a chip system, the chip or chip system comprising at least one processor and a communication interface, the communication interface and the at least one processor are interconnected by a line, and the at least one processor is used to run a computer program or instruction to execute the call processing method described in the first aspect or any possible implementation of the first aspect, or to execute the call processing method described in the second aspect or any possible implementation of the second aspect. The communication interface in the chip can be an input / output interface, a pin or a circuit, etc.

[0052] In a possible implementation, the chip or chip system described above in the embodiment of the present application further includes at least one memory, in which instructions are stored. The memory may be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (such as a read-only memory, a random access memory, etc.).

[0053] In a sixth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. When the computer program is executed by a processor, the computer executes the call processing method described in the first aspect or any possible implementation of the first aspect, or executes the call processing method described in the second aspect or any possible implementation of the second aspect.

[0054] In the seventh aspect, an embodiment of the present application provides a computer program product. When the computer program product is running on a communication device, the communication device enables the communication device to execute the call processing method described in the first aspect or any possible implementation of the first aspect, or to execute the call processing method described in the second aspect or any possible implementation of the second aspect.

[0055] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The following is an introduction to the drawings used in the embodiments of the present application.

[0057] Figure 1 is a schematic diagram of the architecture of a communication system 10 provided in an embodiment of the present application;

[0058] Figure 2 This is a schematic diagram of a signaling interaction process provided by an embodiment of the present application;

[0059] Figure 3 is a schematic diagram of the structure of a terminal device 101 provided in an embodiment of the present application;

[0060] Figure 4 is a schematic diagram of a software architecture of a terminal device 101 provided in an embodiment of the present application;

[0061] Figures 5 to 7 This is a schematic diagram of a user interface for a calling terminal to play a ringback tone file provided in an embodiment of the present application;

[0062] Figures 8 to 10 This is a schematic diagram of the signaling interaction flow of a call request method in a scenario provided by an embodiment of the present application;

[0063] Figures 11 to 13 It is a schematic diagram of the signaling interaction flow of a call request method under scenario 2 provided in an embodiment of the present application;

[0064] Fig.14 A schematic diagram of the hardware structure of a network device 1400 is exemplarily shown. DETAILED DESCRIPTION

[0065] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.

[0066] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0067] In order to clearly describe the technical solutions of the embodiments of the present application, some terms involved in the embodiments of the present application are briefly introduced below.

[0068] 1. Calling terminal and called terminal

[0069] The calling terminal can be referred to as the calling end or the calling party. In the embodiment of the present application, it can be an electronic device that actively initiates a call, and its user can be referred to as the calling user. Correspondingly, the called terminal can also be referred to as the called end or the called party. In the embodiment of the present application, it can be an electronic device that receives a call request initiated by the calling terminal, and its user can be referred to as the called user. For example, for two electronic devices respectively equipped with SIM cards (assuming that the two electronic devices are electronic device 1 and electronic device 2, and the mobile phone numbers corresponding to the SIM cards they are equipped with are No. 1 and Nol. 2, respectively), electronic device 1 can make a call with electronic device 2 by dialing mobile number No. 2. In this case, electronic device 1 is the calling terminal and electronic device 2 is the called terminal.

[0070] 2. Value-added call services

[0071] The call value-added service in the embodiment of the present application refers to the provision of media content (such as audio media content and / or video media content) to terminal devices that have subscribed to the call value-added service in the call service. Exemplarily, the call value-added service includes a color ring back tone service and / or a color vibration service. Among them, the color ring back tone service is a service that provides media content to the calling terminal device after the called terminal device rings, so that the calling user can enjoy the audio and video experience during the call waiting process. The color ring back tone service can also be called a customized alerting tones (CAT) service. The color vibration service is a service that provides media content to the called terminal device after the called terminal device rings, so that the called user can enjoy the audio and video experience. The color vibration service can also be called a customized ringing signal (CRS) service. It should be understood that the call value-added service may also include other types of services, which are not specifically limited in the embodiments of the present application.

[0072] Taking the color ring back tone service as an example, after the calling terminal initiates a call request to the called terminal in the IMS network (or IMS domain), while the calling terminal is waiting to establish a media session with the called terminal, IMS provides the calling terminal with audio and video resources under the color ring back tone service, so that the calling user can enjoy colorful and interesting video or audio during the call waiting process, thereby ensuring that there is sufficient time to establish the bearer surface resources required for the media session before the called terminal rings and connects the call. Therefore, the color ring back tone service can increase the fun of the call waiting process and greatly improve the user's call connection rate.

[0073] 3. Session Initialization Protocol (SIP)

[0074] Among them, the protocol for communication between the calling terminal and the IMS or between the IMS and the called terminal includes SIP. It is understandable that during a call, both ends need to transmit multiple signaling. In the SIP protocol, these signaling are IP data packets in a certain format, called SIP messages. That is, there are multiple SIP messages during a call, and each message is an IP data packet. The SIP messages involved in the call service in the embodiment of the present application are as follows:

[0075] (1) Invite message: The invite message can be called a SIP request message, which is used to indicate that the calling user initiates a call request and invites other users to join a session. The invite message can also be understood as a call request message.

[0076] (2) 100 trying message: The 100 trying message is a temporary response message (a temporary response message is used to indicate that the request has been accepted but needs to be processed further). It is used in response to an invite message, indicating that the end that makes the 100 trying response has received the invite message and is processing some operations to complete the request. The 100 trying message can also be understood as a 100 try call message or a try call message.

[0077] (3) 183 message: The 183 message is also called the 183 session progress message. It is a temporary response message, indicating that some operations are being processed to complete the invite request. The 183 session progress message can also be understood as a session progress message.

[0078] (4) PRACK message: The PRACK message is a request message, indicating that the end sending the PRACK requests the other end to confirm the completion of the provisional response message. The PRACK message can also be understood as a response message to the provisional response message, indicating a confirmation message for the 1xx (x is a natural number) provisional response message, that is, the end sending the PRACK has received the provisional response message.

[0079] (5) Update message: An update message is a request message. An update message is used to indicate that the end sending the update has prepared the resources such as audio and video ports and encoding formats required for a conversation with the other end. It can also be understood as the end sending the update notifying the other end that it is ready for the conversation after preparing the conversation resources, and requesting the other end to respond to the update message.

[0080] (6) 200 OK message: The 200 OK message is a response message that confirms the completion of a transaction, for example, it is used to respond to a PRACK message and an update message. When the 200 OK message is used to respond to a PRACK message, the 200 OK message is used to confirm the completion of the provisional response message. When the 200 OK message is used to respond to an update message, the 200 OK message is used to indicate that the end sending the 200 OK message is also ready to communicate with the other end, including the audio and video ports, encoding formats and other resources required for the transaction. In other words, both ends of the transaction are ready to establish the transaction resources.

[0081] (7) 180 ringing message: The 180 ringing message is a response message used to indicate to the calling terminal that the called terminal has started ringing.

[0082] 4. Resource reservation (precondition) mechanism

[0083] In the SIP protocol of the IMS network, the resource reservation mechanism uses invite / 183 for session description protocol (SDP) negotiation, and can indicate the completion of resource reservation on the local end through the SDP information carried in the update message, and indicate the completion of resource reservation on the other end through the SDP information carried in the 200 OK message for the update message. The precondition mechanism needs to extend the relevant attribute lines about precondition in the SDP information. If the SDP negotiation result is to support precondition, the bearer surface resources will be reserved before the ringing, so that the resources are ready when the user rings, which can improve the call connection rate.

[0084] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0085] The method provided in the embodiment of the present application can be used in various communication systems. For example, the communication system can be a long term evolution (LTE) system, a 5G communication system, a wireless fidelity (WiFi) system, a 3GPP-related communication system, a future evolved communication system, or a system integrating multiple systems, etc., without limitation. Among them, 5G can also be called new radio (NR). Please refer to Figure 1 , Figure 1 1 is a schematic diagram of the architecture of a communication system 10 provided in an embodiment of the present application. The communication system 10 comprises: a calling terminal 100, an IMS network 200 and a called terminal 300.

[0086] The calling terminal 100 and / or the called terminal 300 are used to provide voice / data connectivity to the user, for example, a handheld device with wireless connection function, or a vehicle-mounted device, etc., and may also include a smart mobile phone, a mobile station (MS), a mobile terminal (MT), etc., which may also be referred to as terminal devices hereinafter. The calling terminal may be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it may also be deployed on the water (such as a ship, etc.); it may also be deployed in the air (such as an airplane, a balloon, and a satellite, etc.). Among them, the calling terminal can be a terminal device that can access the mobile network, a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.

[0087] IMS network 200 refers to an operator network that provides data transmission services to users, including a calling IMS accessed by calling terminal 100 and a called IMS accessed by called terminal 300. IMS network 200 specifically includes an access layer, an IMS core network, and an evolved packet core (EPC).

[0088] Among them, the access layer is used to implement wireless physical layer functions, resource scheduling and wireless resource management, wireless access control and mobility management functions. The access layer includes devices with central control functions, such as macro base stations, micro base stations, hot spots (pico), home base stations (femeto), transmission points (TP), relays (Relay), access points (access point, AP), etc. The base station can be an access network device such as a base station (eNodeB, eNB) in long term evolution (LTE) and a base station (gNodeB, gNB) in new radio (NewRadio, NR). In an embodiment of the present application, the device used to provide a wireless local area network in the access layer is called a WiFi network device, the device used to provide a 2G / 3G cellular network in the access layer is called a 2G / 3G network device, the device used to provide a 4G cellular network in the access layer is called a 4G network device, and the device used to provide a 5G cellular network in the access layer is called a 5G network device.

[0089] The IMS core network includes: customized alerting tones (CAT) application server (AS), media resource function (MRF) server, serving-call session control function (S-CSCF), interrogating-call session control function (I-CSCF), proxy-call session control function (P-CSCF), home subscriber server (HSS), session border controller (SBC), and several dedicated servers, such as telephony application server (TAS). It should be noted that, except for Figure 1 In addition to the core network devices shown in FIG. 1 , the IMS network 200 may also include other core network devices, which are not described one by one in this application.

[0090] CAT AS is used to provide audio and video media playback for the calling terminal 100. The data of the audio and video media played by the calling terminal 100 is stored in the MRF and provided to the calling terminal 100 by the MRF. S-CSCF can be used for user registration, authentication control, session routing and service triggering control, and maintain session status information. I-CSCF can be used for the assignment and query of S-CSCF registered by the user. P-CSCF can be used for signaling and message proxy. HSS can be used to store user contract information and location information. SBC can provide secure access and media processing. TAS provides basic multimedia telephony services and supplementary services. MME is the core equipment of the EPC network. SGW can be used for the connection between the IMS core network and the wireless network, and PGW can be used for the connection between the IMS core network and the IP network.

[0091] Exemplarily, when the calling terminal 100 calls the called terminal 300, that is, when the calling terminal 100 initiates a call request to the called terminal device 400, the calling terminal 100 can transmit the initiated call request to the core network of the calling IMS through the access method provided by the access layer of the IMS network 200 (such as 4G access, 5G access, WiFi access, etc.). The core network of the calling IMS processes the call request initiated by the calling terminal 100 accordingly, and sends the processed call request to the called terminal 300.

[0092] It is understood that the technology in which the calling terminal 100 makes a voice and video call with the called terminal 300 by dialing through a WiFi network device is called VoWiFi. The technology in which the calling terminal 100 makes a voice and video call with the called terminal 300 by dialing through an LTE network device is called VoLTE. The technology in which the calling terminal 100 makes a voice and video call with the called terminal 300 by dialing through an NR device or a standalone (SA) device is called VoNR.

[0093] It should be noted that the above description does not constitute a limitation on the system architecture diagram of the embodiment of the present application. The system architecture diagram of the embodiment of the present application includes but is not limited to Figure 1 shown.

[0094] The following is based on Figure 1 The communication system shown takes the call value-added service as an example to introduce the signaling interaction process.

[0095] See also Figure 2 , Figure 2 This is a schematic diagram of a signaling interaction process provided by an embodiment of the present application. Figure 2 (a) is a schematic diagram of a signaling interaction process in a cellular network scenario provided in an embodiment of the present application.

[0096] It can be understood that in a cellular network scenario, the calling terminal performs signaling interaction with the IMS network based on VoLTE or VoNR to implement the color ring back tone service, and / or the called terminal performs signaling interaction with the IMS network based on VoLTE or VoNR to implement the color ring back tone service.

[0097] like Figure 2 As shown in (a), the signaling interaction process may include but is not limited to the following steps:

[0098] 1. The calling terminal sends an invite (call request) message to the IMS network.

[0099] Correspondingly, the IMS network receives the invite message and can determine whether the calling terminal supports resource reservation based on the invite message. If the first SDP information carried by the invite message includes the precondition field, it indicates that the calling terminal supports the resource reservation mechanism. The first SDP information is used to indicate to the IMS network the audio ports and encoding formats supported by the calling terminal and to indicate to the IMS network to reserve resources for transmitting voice service data for the calling terminal.

[0100] 2. The IMS network sends an invite message to the called terminal.

[0101] After the IMS network receives the invite message sent by the calling terminal, the IMS network may send the invite message to the called terminal. Correspondingly, the called terminal receives the invite message.

[0102] 3. The called terminal sends a 183 message to the IMS network.

[0103] Correspondingly, the IMS network receives the 183 message, and the IMS network can determine whether the called terminal supports the resource reservation mechanism according to the 183 message. If the second SDP information carried by the 183 message includes a precondition field, it indicates that the called terminal supports the resource reservation mechanism. The second SDP information is used to indicate to the IMS network the audio ports and encoding formats supported by the called terminal, and to indicate to the IMS network to reserve resources for the called terminal to transmit voice service data.

[0104] 4. The IMS network sends a 183 message to the calling terminal.

[0105] The 183 message carries a precondition field, which is used to indicate that the called terminal supports the resource reservation mechanism.

[0106] 5. The calling terminal and the IMS network negotiate audio resource reservation.

[0107] Specifically, the calling terminal sends an update message 1 to the IMS network to indicate to the IMS network that the calling terminal is ready for the audio port, encoding format and other resources required for the session. The IMS network replies with a 200 OK message to the calling terminal to indicate to the calling terminal that the IMS network has completed the audio resource reservation.

[0108] 6. The called terminal and the IMS network negotiate audio resource reservation.

[0109] Specifically, the IMS network sends an update message 1 to the called terminal to indicate to the called terminal that the IMS network is ready for the audio port, encoding format and other resources required for the session. The called terminal replies with a 200 OK message to the IMS network to indicate to the IMS that the called terminal has completed the audio resource reservation.

[0110] 7. The called terminal sends a 180 ringing message to the IMS network.

[0111] 8. The called terminal and the IMS network negotiate resource reservation for video media.

[0112] Specifically, for the video color ring service, if the called terminal has activated the video color ring service, the called terminal and the IMS network will negotiate the resource reservation of the video media. The relevant negotiation process can be referred to S1-S4 below, which will not be repeated here. The difference is that the update message in the signaling interaction between the called terminal and the IMS network includes the SDP information of .crs, and the update message in the signaling interaction between the calling terminal and the IMS network includes the SDP information of p.cat.

[0113] 9. The called terminal plays the color vibration file.

[0114] Specifically, after the IMS network and the called terminal complete the negotiation of video media, and both the IMS network and the called terminal reserve matching network resources for the video media, the IMS network can start the video media playback process, send the media data of the corresponding color ring file to the called terminal, and the called terminal plays and displays the color ring file.

[0115] 10. The calling terminal and the IMS network negotiate resource reservation for video media.

[0116] Specifically, for the video ring back tone service, if the called terminal has activated the video ring back tone service, the resource reservation negotiation process for the video media between the calling terminal and the IMS network includes but is not limited to the following steps: Figure 2 (a) not shown):

[0117] S1, the IMS network sends an update message 2 to the calling terminal.

[0118] The update message 2 carries the SDP information of the .cat of the video media, which may include the audio description information and the video description information of the video media, such as the encoding method, decoding method, transmission interface, access address, etc. of the available video media provided by the IMS network, so as to realize the negotiation with the calling terminal for the video media. In addition, the SDP information of the video media may also include the QoS parameters of the video media, such as the video part of the SDP information carries the parameter a=curr:qos local none, so that the calling terminal can reserve resources according to the QoS parameters.

[0119] S2: The calling terminal sends a 200 OK message to the IMS network.

[0120] The 200 OK message is used to respond to the update message 2 sent by the IMS network to the calling terminal.

[0121] S3: The calling terminal sends an update message 3 to the IMS network.

[0122] The update message 3 includes the SDP information of the calling terminal. The video part of the SDP information carries the a=curr:qos local sendrecv parameter. The SDP information is used to indicate to the IMS network that the calling terminal has completed resource reservation.

[0123] S4: The IMS network sends a 200 OK message to the calling terminal.

[0124] After determining that it has completed the resource reservation for the video media, the IMS network sends a 200 OK message to the calling terminal in response to the update message 3, indicating to the calling terminal that the IMS network has completed the resource reservation.

[0125] 11. The IMS network sends a 180 ringing message to the calling terminal.

[0126] Specifically, after the resource reservation negotiation is performed between the calling terminal and the IMS network, the IMS network sends a 180 ringing message to the calling terminal.

[0127] 12. The calling terminal plays the ringback tone file.

[0128] Specifically, after the IMS network and the calling terminal complete the negotiation of the video media, and both the IMS network and the calling terminal reserve matching network resources for the video media, the IMS network can start the video media playback process, send the media data of the corresponding ringback tone file to the calling terminal, and the calling terminal plays and displays the ringback tone file.

[0129] 13. The called terminal sends a 200 OK message to the IMS network.

[0130] The 200 OK message is used to respond to the invite message in step 1, indicating that the called terminal has picked up the phone.

[0131] 14. The called terminal stops playing the color vibration file.

[0132] 15. IMS sends a 200 OK message to the calling terminal.

[0133] 16. The calling terminal stops playing the ringback tone file.

[0134] 17. The calling terminal and the called terminal establish a call.

[0135] It should be noted that when the called terminal only activates the color ring back tone service, the calling terminal and the IMS network negotiate the resource reservation for the color ring back tone service. When the called terminal only activates the color ring back tone service, the called terminal and the IMS network negotiate the resource reservation for the color ring back tone service. When the called terminal activates both the color ring back tone service and the color ring back tone service, the calling terminal and the IMS network negotiate the resource reservation for the color ring back tone service, and the called terminal and the IMS network negotiate the resource reservation for the color ring back tone service.

[0136] from Figure 2 As can be seen from (a), in a cellular network, if the called terminal subscribes to a value-added call service and the calling terminal supports the resource reservation mechanism, the IMS network can provide the calling terminal with a ring back tone service after the calling terminal negotiates resource reservation with the IMS network. If the called terminal supports the resource reservation mechanism, the IMS network can provide the called terminal with a ring back tone service after the called terminal negotiates resource reservation with the IMS network.

[0137] See also Figure 2 (b), Figure 2 (b) is a schematic diagram of a signaling interaction process in a wireless local area network scenario provided in an embodiment of the present application.

[0138] It can be understood that in the wireless LAN scenario, the calling terminal performs signaling interaction with the IMS network based on VoWiFi. Taking the signaling interaction of the color ring back tone service as an example, the calling terminal sends an invite (call request) message to the IMS network, the IMS network receives the invite message, and the IMS network sends an invite message to the called terminal. Because the invite message carries the precondition field, the IMS network believes that the calling terminal supports resource reservation. Therefore, after the called terminal sends a 183 message to the IMS network and the IMS network sends a 183 message to the calling terminal, the IMS network and the calling terminal must first negotiate the update of audio resource reservation, and then negotiate the resource reservation of video media. Similarly, in the color ring back tone service, after the called terminal sends a 183 message to the IMS network, the IMS network and the called terminal must first negotiate the update of audio resource reservation, and then negotiate the resource reservation of video media. After the resource reservation negotiation is completed, the IMS network sends a ringing message to the calling terminal, and the call can be made after the calling terminal is connected. Figure 2 It can be seen from (b) that in the wireless LAN scenario, there is no audio resource reservation negotiation between the calling terminal and the IMS, and further, there is no video media resource reservation negotiation. And / or, there is no audio resource reservation negotiation between the called terminal and the IMS, and further, there is no video media resource reservation negotiation. Therefore, after the invite message and the 183 message, the calling terminal has not negotiated with the IMS for an update of resource reservation, and / or, the called terminal has not negotiated with the IMS for an update of resource reservation, resulting in the IMS not sending an update message of media resources (such as content:g.3gpp.cat or content:g.3gpp.crs) and a 180 ringing message, which will cause the call failure of the calling terminal.

[0139] In actual tests, the terminal devices that have activated the call value-added service will not distinguish whether the call network is a cellular network or a wireless LAN, so the support field of the invite message sent to the IMS will carry the precondition parameter to indicate support for the resource reservation mechanism. At the same time, different networks have compatibility differences. For example, China Mobile (CMHK)®'s VoWiFi supports video ringback tone, but it is not compatible with the resource reservation capability of the terminal device, resulting in the failure of the calling terminal call.

[0140] Based on this, the present application provides a call processing method. In an embodiment of the present application, a terminal device and / or a network device is provided with a timer. During the process of establishing a first IMS session on a wireless local area network, if the timer of the network device times out, the terminal device receives a first update message from the network device, then the terminal device establishes a communication session on the wireless local area network, thereby ensuring normal calls; or,

[0141] When the timer of the terminal device times out, the terminal device switches from the wireless local area network to the cellular network and establishes a communication session in the cellular network, thereby ensuring normal communication.

[0142] The terminal devices (including calling terminals and called terminals) in the embodiments of the present application may be smart screen devices, smart televisions (television, TV), mobile phones, tablet computers, ultra-mobile personal computers (ultra-mobile personal computers, UMPCs), netbooks, as well as cellular phones, personal digital assistants (personal digital assistants, PDAs), wearable devices (such as smart watches, smart bracelets), and other devices with communication functions. The embodiments of the present application do not impose any special restrictions on the specific form of the terminal devices.

[0143] For example, taking the terminal device as a mobile phone, Figure 3 is a schematic diagram of the structure of a terminal device 101 provided in an embodiment of the present application. That is, exemplary, Figure 3 The terminal device shown may be a mobile phone.

[0144] like Figure 3As shown, the terminal device 101 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0145] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the terminal device 101. In other embodiments of the present application, the terminal device 101 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0146] The wireless communication function of the terminal device 101 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0147] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 101 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In another embodiment, the antenna can be used in combination with a tuning switch.

[0148] In an embodiment of the present application, the invite message, 100 trying message, 200 OK message, 183 session progress message, update message, 180 ringing message, PRACK message, and circuit switched (CS) retry request sent or received by the terminal device are implemented through antenna 1 or antenna 2.

[0149] The mobile communication module 150 can provide wireless communication solutions including second generation (2G) / third generation (3G) / fourth generation (4G) / fifth generation (5G) / sixth generation (6G) applied to the terminal device 101. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter, amplify and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In one embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In one embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0150] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In one embodiment, the modem processor may be an independent device. In another embodiment, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0151] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), and wireless communication technologies (such as SLE, SLB) specified by the SparkLink Alliance for application on the terminal device 101. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate its frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0152] In one embodiment, the antenna 1 of the terminal device 101 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 101 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0153] The terminal device 101 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0154] The display screen 194 is used to display images, videos, etc., for example, displaying media content provided by the call value-added service (such as ringback tone video) and displaying prompt information for shutting down the wireless local area network. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc. In one embodiment, the terminal device 101 may include N display screens 194, where N is a positive integer greater than 1.

[0155] The video codec is used to compress or decompress digital video. The terminal device 101 can support one or more video codecs. In this way, the terminal device 101 can play or record videos in multiple coding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc. Exemplarily, in the embodiment of the present application, the terminal device 101 can play or record video media content in the call value-added service.

[0156] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 101. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0157] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the terminal device 101 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the terminal device 101 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0158] The terminal device 101 can realize audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. The terminal device 101 can also realize audio functions through the connected Bluetooth device, such as music playback, recording, etc.

[0159] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In one embodiment, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0160] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The terminal device 101 can listen to music or listen to a hands-free call through the speaker 170A.

[0161] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the terminal device 101 receives a call or voice message, the voice can be received by placing the receiver 170B close to the ear.

[0162] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The terminal device 101 can be provided with at least one microphone 170C. In another embodiment, the terminal device 101 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In another embodiment, the terminal device 101 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0163] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the terminal device 101 by inserting the SIM card interface 195 or removing the SIM card from the SIM card interface 195 .

[0164] The terminal device 101 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. The same SIM card interface 195 can simultaneously insert multiple cards (for example, including a primary card and a secondary card). The types of multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The terminal device 101 interacts with the network through the SIM card to implement functions such as calls and data communications. For example, the terminal device 101 interacts with the network through the SIM card to implement functions such as calls and data communications based on a cellular network and / or VoIP. In one embodiment, the terminal device 101 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 101 and cannot be separated from the terminal device 101.

[0165] The software system of the terminal device 101 can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. For example, the software system of the layered architecture can be an Android system, or a Harmony operating system (OS), or other software systems. The embodiment of the present application takes the Android system of the layered architecture as an example to illustrate the software structure of the terminal device 101.

[0166] Figure 4 It is a schematic diagram of the software architecture of a terminal device 101 provided in an embodiment of the present application.

[0167] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In one embodiment, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0168] The application layer can include a series of application packages.

[0169] like Figure 4 As shown, the application package may include applications such as camera, gallery, call, map, navigation, Bluetooth, music, video, settings, etc. The application in this application may also be replaced by other software such as mini-programs and atomic services. The application in the embodiment of this application may also be replaced by other software such as mini-programs and atomic services.

[0170] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0171] like Figure 4 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0172] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0173] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0174] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0175] The phone manager is used to provide communication functions for the terminal device 101, such as management of call status (including connection, disconnection, etc.).

[0176] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0177] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, the terminal device 101 vibrates, an indicator light flashes, etc.

[0178] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0179] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0180] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0181] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0182] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0183] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0184] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0185] A 2D graphics engine is a drawing engine for 2D drawings.

[0186] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0187] The following is an illustrative description of the software and hardware workflow of the terminal device 101 in conjunction with a call scenario.

[0188] When the call application of the calling terminal initiates a WiFi call, the call application sends the corresponding data to the mobile communication module 150. The mobile communication module 150 generates an invite message through a modulator. The invite message carries a precondition and converts the invite message into electromagnetic waves and radiates it through antenna 1. The invite message is transmitted to the network device where the IMS is located through the WiFi network, and the network device then transmits the invite message to the called terminal. In one implementation, when the timer of the network device times out, if the calling terminal receives electromagnetic waves through antenna 1 and demodulates the electromagnetic waves through a demodulator to obtain a first update message, the calling terminal and the called terminal establish a first session on the WiFi network, and the phone manager of the calling terminal notifies the call application to connect the call.

[0189] The following describes an application scenario involved in an embodiment of the present application and a user interface diagram in the scenario.

[0190] See also Figures 5 to 7 , Figures 5 to 7 This is a user interface diagram of a calling terminal playing a ringback tone file provided by an embodiment of the present application. The called terminal 300 subscribes to the ringback tone service in the call value-added service. The calling terminal 100 dials the phone number based on the call application to call the called terminal 300. After the called terminal 300 rings, the calling terminal 100 can play the ringback tone video provided by the ringback tone service.

[0191] from Figure 5 As can be seen from (a), when the calling terminal 100 is in flight mode, the status bar 510 of the calling terminal 100 may include a flight mode icon, a wireless fidelity (Wi-Fi) signal strength indicator, a battery status indicator, a time indicator, etc. At this time, the calling terminal 100 is in flight mode and is connected to WiFi. The status bar 520 of the called terminal 300 may include one or more signal strength indicators of mobile communication signals, a wireless fidelity (Wi-Fi) signal strength indicator, a battery status indicator, a time indicator, etc.

[0192] like Figure 5 As shown in (a), the calling terminal 100 is connected to the IMS network 200 through the WiFi network, and the called terminal 300 can be connected to the IMS network 200 through the cellular network or the WiFi network. The calling terminal 100 calls the called terminal 300 through the IMS network 200 of the operator network on VoWiFi. For example, the calling terminal 100 calls the mobile phone number of user B through the main number on VoWiFi.

[0193] After receiving the call request message sent by the calling terminal 100 on VoWiFi, the IMS network 200 starts the first timer when sending a first response message to the calling terminal 100 .

[0194] like Figure 5 As shown in (b), because the called terminal 300 has activated the color ring back tone service, after the first timer times out, if the IMS network 200 does not receive the update message sent by the calling terminal 100, the IMS network 200 sends a first update message to the calling terminal 100. After receiving the first update message, the calling terminal 100 starts to negotiate the resource reservation of the video media with the IMS network 200 to complete the signaling interaction process related to the color ring back tone service.

[0195] like Figure 5 As shown in (c), after the called terminal 300 rings, the called terminal 300 replies a ringing message to the IMS network 200. After receiving the ringing message, the IMS network 200 sends media data to the calling terminal 100. The calling terminal 100 can play a video ringback tone based on the media data.

[0196] like Figure 5 (d) shows that in response to Figure 5 According to the user operation shown in (c), after the called terminal 300 picks up the phone, the called terminal 300 sends a reply message to the IMS network 200 for the call request. After receiving the reply message, the IMS network 200 stops sending media data to the calling terminal 100 and sends a reply message to the calling terminal 100. The calling terminal 100 stops playing the video ringback tone, connects to the called terminal 300, and has a conversation with the called terminal 300.

[0197] from Figure 6 As can be seen from (a), the status bar 610 of the calling terminal 100 may include one or more signal strength indicators of the mobile communication signal (also known as the cellular signal), a wireless fidelity (Wi-Fi) signal strength indicator, a battery status indicator, a time indicator, etc. At this time, the calling terminal is connected to the WiFi and cellular networks. The status bar 620 of the called terminal 300 may include one or more signal strength indicators of the mobile communication signal, a wireless fidelity (Wi-Fi) signal strength indicator, a battery status indicator, a time indicator, etc.

[0198] like Figure 6As shown in (a), the calling terminal 100 is connected to the IMS network 200 through the WiFi network, and the called terminal 300 can be connected to the IMS network 200 through the cellular network or the WiFi network. The calling terminal 100 calls the called terminal 300 through the IMS network 200 of the operator network on VoWiFi. For example, the calling terminal 100 calls the mobile phone number of user B through the main number on VoWiFi.

[0199] After receiving the call request from the calling terminal 100, the IMS network 200 sends a first response message to the calling terminal 100. When the calling terminal 100 receives the first response message from the IMS network 200, it starts a third timer. Before the third timer times out, if the calling terminal 100 does not receive an update message or a ringing message sent by the IMS network 200, the calling terminal 100 switches the call from the WiFi network to the cellular network. In the cellular network, there are the following situations:

[0200] Case 1, such as Figure 6 As shown in (b), if the calling terminal 100 is on the LTE network and supports VoLTE calls, the calling terminal 100 switches the data transmission of the call from VoWiFi to VoLTE, and the calling terminal 100 establishes a second communication session with the called terminal 300 on VoLTE. Not limited to this, in other examples, if the calling terminal 100 is on the NR network at this time, the calling terminal 100 switches the data transmission of the call from VoWiFi to VoNR, and the calling terminal 100 establishes a second communication session with the called terminal 300 on VoNR, that is, user A and user B can have a call.

[0201] Case 2: Figure 6 As shown in (c), if the calling terminal 100 does not support VoLTE calls at this time, and supports switching to the circuit switched CS domain during the process of establishing a VoWiFi call, the calling terminal 100 switches the data transmission of the call from VoWiFi to the CS domain, and the calling terminal 100 establishes a second communication session with the called terminal 300 in the CS domain, that is, user A and user B can have a call.

[0202] Case three, if Figure 7 As shown in (a) of FIG. 1 , if the calling terminal 100 does not support VoLTE calls and does not support switching to the CS domain during the VoWiFi call, the calling terminal 100 displays a prompt message “Do you want to turn off WiFi?”. Figure 7As shown in (b), after the calling terminal 100 turns off WiFi in response to the user operation, the signal strength of WiFi is not displayed in the status bar 610 of the calling terminal 100. After the calling terminal 100 turns off WiFi, a second communication session is established with the called terminal 300 in the CS domain, that is, user A and user B can talk.

[0203] Based on the aforementioned communication system, the call request method provided by the present application is described in detail for different application scenarios.

[0204] Scenario 1: The called terminal subscribes to the ring back tone service in the call value-added service, the calling terminal and the network device support the resource reservation mechanism, and the calling terminal is in the process of establishing the first IMS session on the wireless local area network.

[0205] See also Figures 8 to 10 , Figures 8 to 10 This is a signaling interaction flow diagram of a call request method in a scenario provided by an embodiment of the present application.

[0206] like Figure 8 As shown, including but not limited to the following steps:

[0207] S11, the calling terminal sends a first call request message to the network device.

[0208] Correspondingly, the network device receives the first call request message. After the network device receives the first call request message, the first call request message may be forwarded to the called terminal ( Figure 8 not shown).

[0209] Specifically, the calling terminal sends a first call request message to the network device in the wireless local area network, where the first call request message is used to request to establish a first IMS session with the called terminal in the wireless local area network.

[0210] Exemplarily, the first call request message may be an invite message, and the first SDP information carried by the invite message includes a precondition field, indicating that the calling terminal supports the resource reservation mechanism. The first SDP information is used to indicate to the network device the audio ports and encoding formats supported by the calling terminal, and to indicate to the network device that resources are reserved for the calling terminal to transmit voice service data.

[0211] Exemplarily, the network device is the IMS network device in the above embodiment, for example Figure 1 An IMS network 200 in the communication system 10 is shown.

[0212] S12, the network device sends a first response message to the calling terminal and starts a first timer.

[0213] The first response message may specifically be a 183 message, the 183 message includes a message generated by the called terminal in response to the first call request message, and the second SDP information carried by the first response message includes a precondition field, indicating that the called terminal supports a resource reservation mechanism. The second SDP information is also used to indicate to the network device the audio ports and encoding formats supported by the called terminal, and to indicate to the network device to reserve resources for the called terminal to transmit voice service data.

[0214] Specifically, a timer is built into the network device. When (or after) the network device sends the first response message to the calling terminal, the network device can start the first timer and use the first timer to count based on the first duration. This application does not limit the first duration, which can be a fixed value, such as 1 second. Alternatively, the first duration can be determined based on parameters such as the quality of service parameters, path loss factor, transmission power, and power adjustment factor of the network device, which are not limited here.

[0215] S13: When the first timer times out, the network device sends a first update message to the calling terminal.

[0216] Correspondingly, when the first timer times out, the calling terminal receives the first update message.

[0217] The timeout of the first timer may indicate that the running time after the first timer is started is greater than or equal to the first duration.

[0218] Specifically, if the network device receives an update message about resource reservation from the calling terminal before the first timer expires, the conventional signaling interaction process is followed, for example: Figure 2 The process shown in (a).

[0219] If the network device does not receive an update message from the calling terminal before the first timer times out, the network device sends a first update message carrying video media to the calling terminal. The first update message may be an update message. The update message carries SDP information of the video media, which may include audio description information and video description information of the video media, such as the encoding method, decoding method, transmission interface, access address, etc. of the available video media provided by the network device, so as to achieve negotiation with the calling terminal for the video media. In addition, the SDP information of the video media may also include the quality of service (QoS) parameters of the video media, such as the video part of the SDP information carries the a=curr:qos local none parameter, so that the calling terminal can reserve resources according to the QoS parameter.

[0220] S14, the calling terminal and the network device negotiate resource reservation for the video media.

[0221] Specifically, after the calling terminal receives the first update message (for example, an update message) carrying video media from the network device, the calling terminal can negotiate resource reservation for the video media with the network device. The resource reservation negotiation process specifically includes the following: the calling terminal sends a 200 OK message to the network device, and the 200 OK message is used to respond to the update message carrying video media sent by the network device to the calling terminal; the calling terminal sends an update message to the network device, and the update message is used to indicate to the network device that the calling terminal has completed resource reservation; the network device sends a 200 OK message to the calling terminal, and the 200 OK message is used to respond to the update message sent by the calling terminal to the network device, indicating to the calling terminal that the network device has completed resource reservation.

[0222] S15, the network device sends a ringing message to the calling terminal.

[0223] Specifically, when the called terminal starts ringing, the called terminal sends a ringing message (such as a 180ringing message) to the network device. After the calling terminal and the network device complete the resource reservation negotiation of the video media, the network device sends a ringing message to the calling terminal to indicate to the calling terminal that the called terminal has started ringing and is waiting for the called user to connect. At this point, the calling terminal has successfully connected to the called terminal.

[0224] In one implementation, the ringing message sent by the called terminal to the network device may be sent before the calling terminal and the network device negotiate the resource reservation of the video media, that is, before step S14, the called terminal sends the ringing message to the network device.

[0225] S16, the calling terminal plays the ring back tone file.

[0226] Specifically, after the network device and the calling terminal complete the negotiation of the video media, and the network device and the calling terminal both reserve matching network resources for the video media, the video media playback process may be started.

[0227] Exemplarily, the network device sends media data of the video media to the calling terminal in the form of a media stream, and the calling terminal plays the color ringback tone file based on the media data.

[0228] S17: The network device sends a reply message to the calling terminal in response to the first call request message.

[0229] Specifically, after the called terminal goes off-hook, it sends a reply message for responding to the first call request message in S11 to the network device, and the network device forwards the reply message for the first call request message to the calling terminal. The reply message may be a 200 OK message, indicating that the called terminal has gone off-hook.

[0230] S18, the calling terminal stops playing the ringback tone file.

[0231] Specifically, after determining that the called terminal has picked up the phone, the network device can stop transmitting the media stream data of the video media to the calling terminal, so that the calling terminal stops playing the video media. The network device can also send an off-hook indication message to the calling terminal, indicating that the called terminal has picked up the phone and has proceeded to the subsequent process.

[0232] S19: The calling terminal and the called terminal establish a first communication session.

[0233] At this point, the calling terminal can establish a first communication session with the called terminal on the wireless local area network.

[0234] like Fig. 9 As shown, including but not limited to the following steps:

[0235] S21, the calling terminal sends a first call request message to the network device.

[0236] For details, please refer to Figure 8 The S11 shown will not be described in detail this time.

[0237] S22, when the network device sends a first response message to the calling terminal, the first timer is started.

[0238] For details, please refer to Figure 8 The S12 shown will not be described in detail this time.

[0239] S23: When the first timer times out, the network device sends a first ringing message to the calling terminal.

[0240] Correspondingly, when the first timer times out, the calling terminal receives the first ringing message.

[0241] Specifically, when the first timer times out, if the network device receives an update message about resource reservation from the calling terminal, it proceeds according to the conventional signaling interaction process, for example Figure 2The process shown in (a). When the first timer times out, if the network device does not receive an update message about resource reservation from the calling terminal, but when the first timer times out, the network device receives a first ringing message sent from the called terminal, then the network device sends the first ringing message to the calling terminal. It is understandable that the network device may receive the first ringing message from the called terminal after the timer times out or before the timer times out. The first ringing message is used to indicate to the calling terminal that the called terminal has started ringing.

[0242] S24, the network device sends a reply message to the calling terminal in response to the first call request message.

[0243] For details, please refer to Figure 8 S17 shown.

[0244] S25: The calling terminal and the called terminal establish a first communication session.

[0245] At this point, the calling terminal can establish a first communication session with the called terminal on the wireless local area network.

[0246] like Fig.10 As shown, including but not limited to the following steps:

[0247] S30: The calling terminal sends a first call request message to the network device.

[0248] For details, please refer to Figure 8 The relevant description of S11 in will not be repeated here.

[0249] S31, the network device sends a first response message to the calling terminal.

[0250] For a detailed description of the "first response message", please refer to Figure 8 The relevant description of S12 in FIG. 1 is not repeated here.

[0251] Specifically, when the calling terminal receives the first response message of the network device, the third timer is started, and the third timer is used to count based on the third duration. The present application does not limit the third duration, which can be a fixed value, such as 1 second. Alternatively, the third duration can be determined based on parameters such as the service quality parameter, path loss factor, transmission power, and power adjustment factor of the calling terminal, which are not limited here.

[0252] S32: The calling terminal determines whether it has received a second update message or a second ringing message of the video resource sent by the network device before the third timer times out.

[0253] The calling terminal determines whether it has received a second update message (such as an update message) or a second ringing message (such as a 180 ringing message) of a video resource sent by the network device before the third timer times out (that is, when the start duration of the third timer is less than or equal to the third duration), and there are the following situations:

[0254] In case one, if the second update message of the video resource is received before the third timer expires, the calling terminal and the network device negotiate the resource reservation of the video media in the wireless local area network, and play the ringback tone file based on the negotiation result. After the called terminal picks up the phone, the calling terminal and the called terminal establish a first communication session based on VoWiFi.

[0255] In case 2, if the second ringing message is received before the third timer times out, after the called terminal picks up the phone, the calling terminal and the called terminal establish a first communication session based on VoWiFi.

[0256] Case three: if the second update message or the second ringing message of the video resource is not received before the third timer times out, execute S33.

[0257] S33: Whether the calling terminal and the network device both support VoLTE calls or VoNR calls.

[0258] Specifically, based on the registration status information of the calling terminal, the calling terminal capability and the network device capability can be determined, thereby judging whether both the calling terminal and the network device support VoLTE calls or VoNR calls.

[0259] If the calling terminal and the network device both support VoLTE calls or VoNR calls, execute S34.

[0260] If the calling terminal and / or the network device do not support VoLTE calls or VoNR calls, that is, at least one side of the calling terminal and the network device does not support VoLTE calls or VoNR calls, execute S35.

[0261] S34, the calling terminal switches from VoWiFi to VoLTE or VoNR.

[0262] Specifically, if the calling terminal is on the LTE network at this time, the calling terminal switches the data transmission of the call from VoWiFi to VoLTE; if the calling terminal is on the NR network at this time, the calling terminal switches the data transmission of the call from VoWiFi to VoNR.

[0263] S35: The calling terminal establishes a second communication session on VoLTE or VoNR.

[0264] Specifically, the calling terminal replays the call on VoLTE or VoNR, that is, resends a call request message (i.e., a second call request message) to the called terminal through the network device. The calling terminal and the network device perform signaling interaction based on the second call request message, and perform resource reservation negotiation, and play the ringback tone file based on the negotiation result. After the called terminal picks up the phone, the calling terminal and the called terminal establish a second communication session on VoLTE or VoNR.

[0265] S36, the calling terminal determines whether it supports switching from the VoWiFi to the CS domain.

[0266] If the calling terminal supports switching to the CS domain during the establishment of the VoWiFi call, S37 is executed.

[0267] If the calling terminal does not support switching to the CS domain during the establishment of the VoWiFi call, S38 is executed.

[0268] S37: The calling terminal establishes a second communication session in the CS domain.

[0269] Specifically, the calling terminal replays the call in the CS domain, that is, re-sends a call request message (i.e., a third call request message) to the called terminal through the network device. The calling terminal and the network device perform signaling interaction based on the third call request message, and after the called terminal picks up the phone, the calling terminal and the called terminal establish a second communication session in the CS domain.

[0270] S38, the calling terminal turns off the wireless LAN.

[0271] Specifically, the calling terminal displays a prompt message for closing the wireless local area network, and the called terminal closes the wireless local area network in response to the user operation.

[0272] S39: The calling terminal establishes a second communication session in the CS domain.

[0273] Specifically, after the calling terminal turns off the wireless local area network, the calling terminal replays in the CS domain, that is, re-sends a call request message (i.e., the fourth call request message) to the called terminal through the network device. The calling terminal and the network device perform signaling interaction based on the fourth call request message, and after the called terminal picks up the phone, the calling terminal can establish a second communication session with the called terminal in the CS domain.

[0274] It should be noted that Figures 8 to 10 The signaling interaction process shown omits the signaling interaction between the network device and the called terminal. For the signaling interaction between the network device and the called terminal, reference may be made to the prior art.

[0275] Scenario 2: The called terminal subscribes to the color ring service in the call value-added service, and the called terminal and network equipment support the resource reservation mechanism.

[0276] See also Figures 11 to 13 , Figures 11 to 13 It is a signaling interaction flow diagram of a call request method under scenario 2 provided in an embodiment of the present application.

[0277] like Fig.11 As shown, including but not limited to the following steps:

[0278] S40: The calling terminal sends a first call request message to the network device.

[0279] Specifically, for the description of the first call request message, please refer to Figure 8 It should be noted that in this step, it is not limited to which access network the calling terminal uses to send the message to the network device. The calling terminal can send the message in a wireless local area network or in a cellular network.

[0280] S41, the network device sends a first call request message to the called terminal.

[0281] Among them, the called terminal is first registered in the network device based on the wireless local area network, so the network device sends a first call request message to the called terminal on the wireless local area network. Correspondingly, the called terminal receives the first call request message on the wireless local area network, and the first call request message is used to request the called terminal to establish a first IMS session on the wireless local area network (such as VoWiFi). The called terminal can generate a first response message in response to the first call request message, and send the first response message to the network device. Among them, the SDP information carried by the first response message includes a precondition field, indicating that the called terminal supports a resource reservation mechanism. The SDP information is also used to indicate to the network device the audio ports and encoding formats supported by the called terminal, and to indicate to the network device the resources reserved for the called terminal to transmit voice service data.

[0282] S42: When the network device receives the first response message from the called terminal, it starts a second timer.

[0283] Specifically, a second timer is set in the network device. When (after) the network device receives the first response message from the called terminal, the network device can start the second timer and use the second timer to count based on the first duration. This application does not limit the second duration, which can be a fixed value, such as 1 second. Alternatively, the second duration can be determined based on parameters such as the quality of service parameters, path loss factor, transmission power, and power adjustment factor of the network device, which are not limited here.

[0284] S43: When the second timer times out, the network device sends a first update message to the called terminal.

[0285] Correspondingly, when the second timer times out, the called terminal receives the first update message.

[0286] The timeout of the second timer may indicate that the running time of the second timer after it is started is greater than or equal to the second time length.

[0287] Specifically, if the network device receives an update message about resource reservation from the called terminal before the second timer expires, the conventional signaling interaction process is followed, for example: Figure 2 The process shown in (a).

[0288] If the network device does not receive an update message about resource reservation from the called terminal before the second timer times out, the network device sends a first update message carrying video media to the called terminal. The first update message may be an update message. The update message carries SDP information of the video media, which may include audio description information and video description information of the video media, such as the encoding method, decoding method, transmission interface, access address, etc. of the available video media provided by the network device, so as to achieve negotiation with the called terminal for the video media. In addition, the SDP information of the video media may also include QoS parameters of the video media, such as the video part of the SDP information carries a=curr:qos local none parameter, so that the called terminal can reserve resources according to the QoS parameters.

[0289] S44: The called terminal and the network device negotiate resource reservation for the video media.

[0290] Specifically, after the called terminal receives the first update message (for example, an update message) carrying video media from the network device, the called terminal can negotiate resource reservation for the video media with the network device. The resource reservation negotiation process specifically includes the following: the called terminal sends a 200 OK message to the network device, and the 200 OK message is used to respond to the update message carrying video media sent by the network device to the called terminal; the called terminal sends an update message to the network device, and the update message is used to indicate to the network device that the called terminal has completed resource reservation; the network device sends a 200 OK message to the called terminal, and the 200 OK message is used to respond to the update message sent by the called terminal to the network device, indicating to the called terminal that the network device has completed resource reservation.

[0291] For example, when the called terminal starts ringing, it sends a ringing message (for example, a 180 ringing message) to the network device. After the called terminal and the network device complete the resource reservation negotiation of the video media, the network device sends a ringing message to the calling terminal to indicate to the calling terminal that the called terminal has started ringing and is waiting for the called user to connect. At this point, the calling terminal has successfully connected to the called terminal.

[0292] In one implementation, the ringing message sent by the called terminal to the network device may be sent before the called terminal and the network device negotiate resource reservation for video media, that is, before step S44, the called terminal sends the ringing message to the network device.

[0293] S45: The called terminal plays the color vibration file.

[0294] Specifically, after the network device and the called terminal complete the negotiation of the video media, and the network device and the called terminal both reserve matching network resources for the video media, the video media playback process may be started.

[0295] Exemplarily, the network device sends media data of the video media to the called terminal in the form of a media stream, and the calling terminal plays the color vibration file based on the media data.

[0296] S46: The called terminal sends a reply message to the first call request message to the network device.

[0297] Specifically, after the called terminal goes off-hook, it sends a reply message for responding to the first call request message in S40 to the network device. The reply message may be a 200 OK message, which indicates that the called terminal has gone off-hook.

[0298] S47: The called terminal stops playing the color vibration file.

[0299] Specifically, after determining that the called terminal has picked up the phone, the network device can stop transmitting the media stream data of the video media to the called terminal, so that the called terminal stops playing the video media. The network device can also send an off-hook indication message to the calling terminal, indicating that the called terminal has picked up the phone and has proceeded to the subsequent process.

[0300] S48: The calling terminal and the called terminal establish a first communication session.

[0301] Specifically, the called terminal may establish a first communication session on the wireless local area network and the calling terminal.

[0302] like Fig.12 As shown, including but not limited to the following steps:

[0303] S50: The calling terminal sends a first call request message to the network device.

[0304] For details, please refer to Fig.11 The S40 shown will not be described in detail here.

[0305] S51: The network device sends a first call request message to the called terminal.

[0306] For details, please refer to Fig.11 The S41 shown will not be described in detail this time.

[0307] S52: When the network device receives the first response message, it starts a second timer.

[0308] For details, please refer to Fig.11 The S42 shown will not be described in detail this time.

[0309] S53: When the second timer times out, the network device receives a first ringing message sent by the called terminal.

[0310] Specifically, when the second timer times out, if the network device receives an update message about resource reservation from the calling terminal, it proceeds according to the conventional signaling interaction process, for example Figure 2 The process shown in (a).

[0311] When the second timer times out, if the network device does not receive an update message about resource reservation from the calling terminal, but when the second timer times out, the network device receives a ringing message sent from the called terminal, then the network device sends a first ringing message to the calling terminal. It is understandable that the network device may receive the first ringing message from the called terminal after the timer times out or before the timer times out. The first ringing message is used to indicate to the calling terminal that the called terminal has started ringing.

[0312] S54: The called terminal sends a reply message to the network device in response to the first call request message.

[0313] Specifically, after the called terminal picks up the phone, it sends a reply message to the first call request message in S50 to the network device, and then the network device sends a reply message to the first call request message to the calling terminal.

[0314] S55: The calling terminal and the called terminal establish a first communication session.

[0315] At this point, the called terminal can establish a first communication session on the wireless local area network and the calling terminal.

[0316] like Fig.13 As shown, including but not limited to the following steps:

[0317] S60: The calling terminal sends a first call request message to the network device.

[0318] For details, please refer to Fig.11 The relevant description of S40 will not be repeated here.

[0319] S61: The network device sends a first call request message to the called terminal.

[0320] For details, please refer to Fig.11 The S41 shown will not be described in detail this time.

[0321] S62: When the called terminal sends a first response message to the network device, a fourth timer is started.

[0322] For a detailed description of the "first response message", please refer to Figure 8 The relevant description of S12 in FIG. 1 is not repeated here.

[0323] Specifically, the called terminal has a fourth timer built in. When the called terminal sends the first response message to the network device, the fourth timer is started, and the fourth timer is used to count based on the fourth duration. This application does not limit the fourth duration, which can be a fixed value, such as 1 second. Alternatively, the fourth duration can be determined based on parameters such as the service quality parameter, path loss factor, transmission power, and power adjustment factor of the called terminal, which are not limited here.

[0324] S63: The called terminal determines whether it has received a second update message of the video resource sent by the network device or whether it rings before the fourth timer times out.

[0325] The called terminal determines whether it receives the second update message (such as an update message) of the video resource sent by the network device or rings before the fourth timer times out (that is, when the start duration of the fourth timer is less than or equal to the fourth duration), and there are the following situations:

[0326] In case one, if the second update message of the video resource is received before the fourth timer expires, the called terminal and the network device negotiate the resource reservation of the video media in the wireless local area network, and play the color ring file based on the negotiation result. After the called terminal picks up the phone, the calling terminal and the called terminal establish a first communication session based on VoWiFi.

[0327] In case 2, if the ringing occurs before the fourth timer times out, after the called terminal picks up the phone, the calling terminal and the called terminal establish a first communication session based on VoWiFi.

[0328] Case three: if the second update message of the video resource is not received or there is no ringing before timeout, S64 is executed.

[0329] S64: Whether both the called terminal and the network device support VoLTE calls or VoNR calls.

[0330] Specifically, based on the registration status information of the called terminal, the called terminal capability and the network device capability can be determined, thereby judging whether both the called terminal and the network device support VoLTE calls or VoNR calls.

[0331] If both the called terminal and the network device support VoLTE calls or VoNR calls, execute S65.

[0332] If the called terminal and / or the network device do not support VoLTE calls or VoNR calls, that is, at least one side of the called terminal and the network device does not support VoLTE calls or VoNR calls, execute S67.

[0333] S65: The called terminal switches from VoWiFi to VoLTE or VoNR.

[0334] Specifically, the called terminal switches the data transmission of the call from VoWiFi to VoLTE or VoNR.

[0335] S66: The called terminal establishes a second communication session on VoLTE or VoNR.

[0336] Specifically, the called terminal performs signaling interaction with the network device on VoLTE or VoNR, and performs resource reservation negotiation, and plays the color vibration file based on the negotiation result. After the called terminal picks up the phone, the called terminal sends a 200 OK message for the call request message of the calling terminal to the network device, so that the called terminal establishes a second communication session with the calling terminal on VoLTE or VoNR.

[0337] S67: The called terminal determines whether it supports switching from the VoWiFi to the CS domain.

[0338] If the called terminal supports switching from the VoWiFi call establishment process to the CS domain, S68 is executed.

[0339] If the called terminal does not support switching to the CS domain during the establishment of the VoWiFi call, S69 is executed.

[0340] S68: The called terminal establishes a second communication session in the CS domain.

[0341] Specifically, the calling terminal performs signaling interaction with the network device in the CS domain. After the called terminal picks up the phone, the called terminal sends a 200 OK message for the call request message of the calling terminal to the network device, so that the called terminal establishes a second communication session with the calling terminal in the CS domain.

[0342] S69: The called terminal turns off the wireless LAN.

[0343] Specifically, the called terminal displays a prompt message for closing the wireless local area network, and the called terminal closes the wireless local area network in response to the user operation.

[0344] S70: The called terminal establishes a second communication session in the CS domain.

[0345] Specifically, after the called terminal turns off the wireless LAN, the called terminal and the network device perform signaling interaction. After the called terminal picks up the phone, the called terminal sends a 200 OK message for the call request message of the calling terminal to the network device, so that the called terminal establishes a second communication session with the calling terminal in the CS domain.

[0346] It should be noted that Figures 11 to 13 The signaling interaction process shown omits the signaling interaction between the network device and the called terminal. For the signaling interaction between the network device and the called terminal, reference may be made to the prior art.

[0347] Scenario 3: The called terminal subscribes to the color ring service and color ring back tone service in the call value-added service, and the calling terminal, the called terminal and the network equipment support the resource reservation mechanism. The signaling interaction process between the calling terminal and the network equipment can be referred to Figures 8 to 10 The signaling interaction process between the called terminal and the network device can be referred to in Figures 11 to 13 The relevant description in will not be repeated here.

[0348] Next, an exemplary network device 1400 provided in an embodiment of the present application is introduced.

[0349] Fig.14 A schematic diagram of the hardware structure of a network device 1400 is exemplarily shown.

[0350] like Fig.14 As shown, the network device 1400 may include one or more processors 1401, a communication interface 1402, and a memory 1403, wherein the processor 1401, the communication interface 1402, and the memory 1403 may be connected via a bus or other means. In the embodiment of the present application, the connection via the bus 1404 is used as an example. Exemplarily, the network device 1400 includes the IMS network in the above embodiment, for example Figure 1 The IMS network 200 in the communication system 10 is shown.

[0351] The processor 1401 may be composed of one or more general-purpose processors, such as a CPU. The processor 1401 may be used to run program codes related to the device control method.

[0352] The communication interface 1402 may be a wired interface (eg, an Ethernet interface) or a wireless interface (eg, a cellular network interface or a wireless local area network interface) for communicating with other nodes. In the embodiment of the present application, the communication interface 1402 may be specifically used to communicate with the terminal device 101.

[0353] The memory 1403 may include a volatile memory, such as a RAM; the memory may also include a non-volatile memory, such as a ROM, a flash memory, a HDD, or a solid-state drive SSD. The memory 1403 may also include a combination of the above-mentioned types of memories. The memory 1403 may be used to store a set of program codes so that the processor 1401 calls the program codes stored in the memory 1403 to implement the implementation method of the embodiment of the present application on the server. In the embodiment of the present application, the memory 1403 may also be a storage array, and so on.

[0354] In one implementation, the network device 1400 may include multiple servers, such as CAT AS, MRF, etc. The hardware structures of the multiple servers may refer to Fig.14 The hardware structure of the network device 1400 is shown.

[0355] Need to explain, Fig.14 The network device 1400 shown is an implementation method of an example of an embodiment of the present application. In actual applications, the network device 1400 may also include more or fewer components, which is not limited here.

[0356] The present application also provides an electronic device, which may include: a memory and a processor, wherein the memory may be used to store a computer program; and the processor may be used to call the computer program in the memory so that the electronic device executes the method in any one of the above embodiments.

[0357] The present application also provides a chip system, which includes at least one processor for implementing the functions involved in the method executed by the electronic device in any of the above embodiments.

[0358] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.

[0359] The chip system may be composed of the chip, or may include the chip and other discrete devices.

[0360] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0361] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.

[0362] Exemplarily, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0363] The present application also provides a computer program product, which includes: a computer program (also referred to as code, or instruction), which enables a computer to execute the method executed by the electronic device in any of the above embodiments when the computer program is executed.

[0364] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program (also referred to as code or instruction). When the computer program is executed, the computer executes the method executed by the electronic device in any of the above embodiments.

[0365] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.

[0366] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk), etc.

[0367] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0368] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.

Claims

1. A call processing method, characterized in that: Applied to a calling terminal and a called terminal, the method comprises: After the calling terminal sends a first call request message to the network device on the wireless local area network, if the first timer of the network device times out, the calling terminal receives a first update message from the network device, then the calling terminal establishes a first communication session on the wireless local area network; and, after the called terminal sends a first response message to the first call request message on the wireless local area network, if the second timer of the network device times out, the called terminal receives the first update message from the network device, then the called terminal establishes the first communication session on the wireless local area network, wherein the first update message includes information on a resource reservation mechanism; or After the calling terminal sends a first call request message to the network device on the wireless local area network, when the calling terminal receives a first response message from the network device on the wireless local area network, the calling terminal starts a third timer. When the third timer times out, the calling terminal switches the call network from the wireless local area network to the cellular network, and establishes a second communication session on the cellular network; when the third timer does not time out, if the calling terminal receives a second update message sent by the network device, the calling terminal and the network device establish a first communication session on the wireless local area network; after the called terminal receives the first call request message from the network device on the wireless local area network, when the called terminal sends the first response message to the network device on the wireless local area network, the called terminal starts a fourth timer. When the fourth timer times out, the called terminal switches the call network from the wireless local area network to the cellular network, and establishes the second communication session on the cellular network; when the fourth timer does not time out, if the called terminal receives the second update message sent by the network device, the called terminal and the network device establish a first communication session on the wireless local area network; Among them, the first call request message is used to indicate that the calling terminal supports the resource reservation mechanism, the first timer is a timer started when the network device sends the first response message to the calling terminal, the first response message is used to indicate that the called terminal supports the resource reservation mechanism, the second timer is a timer started when the network device receives the first response message from the called terminal, and the second update message includes information about the resource reservation mechanism.

2. The method according to claim 1, characterized in that The method further comprises: When the first timer of the network device times out, if the calling terminal receives a first ringing message from the network device, the calling terminal establishes the first communication session on the wireless local area network, wherein the first ringing message is used to indicate that the called terminal has started ringing.

3. The method according to claim 1, characterized in that: The method also includes: if the third timer of the calling terminal has not timed out, and if the calling terminal receives a second ringing message from the network device, the calling terminal establishes the second communication session in the wireless local area network, wherein the second ringing message is used to indicate that the called terminal has started ringing.

4. The method according to claim 1, characterized in that: The calling terminal switches the call network from the wireless local area network to the cellular network, and establishes a second communication session on the cellular network, including: In the case where the calling terminal and the network device support Long Term Evolution Voice over LTE (VoLTE), the calling terminal switches the call network from Wireless High Fidelity WiFi Voice over VoWiFi to the VoLTE to establish the second communication session; or, In the case that the calling terminal and / or the network device do not support the VoLTE, determining whether the calling terminal supports switching from the VoWiFi to the circuit switched CS domain; If the calling terminal does not support switching, shutting down the wireless local area network, and the calling terminal establishing the second communication session in the CS domain; If the calling terminal supports switching, the calling terminal switches the call network from the VoWiFi to the CS domain to establish the second communication session; and, The called terminal switches the call network from the wireless local area network to the cellular network, and establishes the second communication session on the cellular network, including: In the case where the called terminal and the network device support the VoLTE, the called terminal switches the call network from the VoWiFi to the VoLTE to establish the second communication session; or, In the case that the called terminal and / or the network device do not support the VoLTE, determining whether the called terminal supports switching from the VoWiFi to the CS domain; If the called terminal does not support handover, shutting down the wireless local area network, and the called terminal establishing the second communication session in the CS domain; If the called terminal supports switching, the called terminal switches the call network from the VoWiFi to the CS domain to establish the second communication session.

5. The method according to claim 4, characterized in that If the calling terminal does not support switching, shutting down the wireless local area network includes: If the calling terminal does not support switching, a prompt message for closing the wireless LAN is displayed; The calling terminal closes the wireless local area in response to a user operation; and If the called terminal does not support switching, shutting down the wireless local area network includes: If the called terminal does not support switching, a prompt message for closing the wireless LAN is displayed; The called terminal closes the wireless local area in response to the user operation.

6. A call processing method, characterized in that: Applied to a network device, the method comprises: After the network device receives a first call request message from a calling terminal on a wireless local area network, when the network device sends a first response message to the calling terminal, the network device starts a first timer, and when the first timer times out, the network device sends a first update message to the calling terminal, and, after the network device sends the first call request message to the called terminal on the wireless local area network, when the network device receives the first response message from the called terminal, the network device starts a second timer, and when the second timer times out, the network device sends the first update message to the called terminal; wherein the first update message is used for the calling terminal and the called terminal to establish a first communication session on the wireless local area network; or, After the network device receives a first call request message from a calling terminal on a wireless local area network, when the network device sends a first response message to the calling terminal on the wireless local area network, when a third timer started by the calling terminal has not timed out, the network device sends a second update message to the calling terminal; when the third timer times out, when the calling terminal switches the call network from the wireless local area network to a cellular network, the network device establishes a second communication session with the calling terminal on the cellular network; after the network device sends the first call request message to the called terminal on the wireless local area network, when the network device receives the first response message from the called terminal, when a fourth timer started by the called terminal has not timed out, the network device sends the second update message to the called terminal; when the fourth timer times out, when the called terminal switches the call network from the wireless local area network to the cellular network, the network device establishes the second communication session with the called terminal on the cellular network; Among them, the second update message is used for the calling terminal and the called terminal to establish a second communication session on the wireless local area network, the third timer is a timer started when the calling terminal receives a first response message from the network device, and the fourth timer is a timer started when the called terminal sends the first response message to the network device; the first response message is used to indicate that the called terminal supports the resource reservation mechanism, the first response message is a message for the first call request message, the first call request message is used to indicate that the calling terminal supports the resource reservation mechanism, the first update message includes information for the resource reservation mechanism, and the second update message includes information for the resource reservation mechanism.

7. The method according to claim 6, characterized in that When the first timer times out, the network device sends the first update message or the first ringing message to the calling terminal, wherein the first ringing message is used to indicate that the called terminal has started ringing.

8. A terminal device, characterized in that: The terminal device comprises: one or more processors; a memory; wherein the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the terminal device executes the method as described in any one of claims 1 to 5.

9. A network device, characterized in that: The network device comprises: one or more processors; a memory; wherein the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the network device executes the method as described in any one of claims 6 or 7.

10. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the processor is used to call computer instructions so that the electronic device executes the method as described in any one of claims 1 to 7.

11. A computer program product comprising instructions, characterized in that When the computer program product is executed on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 7.

12. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Interworking between IMS / sip and PSTN / PLMN to exchange dynamic charging information

    US20120250585A1

  • Techniques for handout of an active session from a first network to a second network

    US20160234727A1

  • Network handover method, device, and system

    US20160249257A1

  • Call Setup Method and Apparatus

    US20200228578A1

  • A method of establishing a voice over internet protocol, voip, call between a calling user equipment, UE, and a called UE.

    WO2019001749A1