Call mode switching method and device and computer readable storage medium

By automatically switching call modes in a 5G network environment, call failures and quality issues caused by uneven network distribution and insufficient stability are resolved, resulting in a more stable voice call experience.

CN121751094APending Publication Date: 2026-03-27TCL COMM TECH (CHENGDU) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-02
Publication Date
2026-03-27

Smart Images

  • Figure CN121751094A_ABST
    Figure CN121751094A_ABST
Patent Text Reader

Abstract

The invention discloses a call mode switching method and apparatus, and a computer readable storage medium. The method comprises the steps of obtaining a current network strength value and the number of call failures of a target device in a first call mode; determining whether the first call mode satisfies a first mode switching condition based on the current network strength value and the number of call failures; when the first call mode satisfies the first mode switching condition, switching the target device from the first call mode to a second call mode; wherein the requirement of the second call mode on the network performance is lower than the requirement of the first call mode on the network performance. By adopting the method provided by the invention, the target equipment can be automatically and flexibly switched between the first call mode and the second call mode, the current network condition is fully adapted, the problem of call failure or quality reduction caused by network fluctuation is reduced, the voice call success rate is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a call mode switching method and device and a computer readable storage medium. BACKGROUND

[0002] With the gradual popularization of 5G networks, more and more mobile communication operators begin to support Voice over New Radio (VONR), which is a voice call technology based on 5G networks. Its advantages include low latency, high voice quality, and full use of the coverage capabilities of 5G networks. At the same time, many smartphones on the market already support VONR and Voice over Long-Term Evolution (VOLTE), so that the two call modes can coexist on the device side.

[0003] Although VONR is becoming the preferred way for users to choose calls, problems such as uneven 5G signal coverage and insufficient network stability still limit the user's call experience. For example, in some areas or under poor network conditions, users may frequently encounter call connection failures or poor voice quality problems. SUMMARY

[0004] The embodiments of the present application provide a call mode switching method, device and computer readable storage medium, which can automatically switch the target device between the first call mode and the second call mode, fully adapt to the current network situation, reduce the problem of call failure or quality degradation caused by network fluctuations, improve the success rate of voice calls, and improve the user experience.

[0005] The technical solutions adopted by the present application to solve the problems are as follows: On the one hand, the present application provides a call mode switching method, comprising: obtaining a current network strength value and a number of call failures of a target device in a first call mode; determining whether the first call mode meets a first mode switching condition based on the current network strength value and the number of call failures; switching the target device from the first call mode to a second call mode when the first call mode meets the first mode switching condition; wherein the second call mode has lower requirements on network performance than the first call mode.

[0006] In some embodiments of the present application, determining whether the first call mode meets the first mode switching condition based on the current network strength value and the number of call failures comprises: When the current network strength value is less than or equal to the first threshold and the number of call failures is greater than or equal to the second threshold, it is determined that the first call mode meets the first mode switching condition. If the current network strength value is greater than the first threshold, or the number of call failures is less than the second threshold, it is determined that the first call mode does not meet the conditions for switching to the first mode.

[0007] In some embodiments of this application, after switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching conditions, the process includes: Get the current time and the time when the first call mode switched to the second call mode; If the time interval between the current time and the time when the device switches from the first call mode to the second call mode is greater than a time threshold, the target device will be switched back from the second call mode to the first call mode.

[0008] In some embodiments of this application, after switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching conditions, the process includes: Obtain network strength data within a preset first time period; When the network strength value corresponding to the network strength data within the preset first time period is greater than the third threshold, the target device is switched from the second call mode back to the first call mode, and the steps of obtaining the current network strength value and the call failure rate of the target device in the first call mode continue to be executed.

[0009] In some embodiments of this application, after switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching conditions, the process includes: Obtain the device location information of the target device; Determine whether the target device's location has changed based on device location information; When the location of the target device changes, network strength data within a preset second time period is obtained. If the network strength data within the preset second time period meets the second mode switching conditions, the target device is switched from the second call mode back to the first call mode, and the steps of obtaining the current network strength value and the call failure rate of the target device in the first call mode are continued.

[0010] In some embodiments of this application, after switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching conditions, the process includes: Obtain the network identification information of the network to which the target device is connected; Determine whether the network connected to the target device has changed based on network identification information; When the network connected to the target device changes, network strength data within a preset third time period is obtained. If the network strength data within the preset third time period meets the third mode switching conditions, the target device is switched from the second call mode back to the first call mode, and the steps of obtaining the current network strength value and the call failure rate of the target device in the first call mode are continued.

[0011] In some embodiments of this application, after switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching conditions, the process includes: After the target device restarts, switch the target device back from the second call mode to the first call mode; Alternatively, after the target device has its SIM card replaced, switch the target device back from the second call mode to the first call mode.

[0012] Secondly, embodiments of the present invention also provide a call mode switching device, comprising: The acquisition module is used to acquire the current network strength value and the number of call failures of the target device in the first call mode; The determination module is used to determine whether the first call mode meets the first mode switching conditions based on the current network strength value and the number of call failures; The switching module is used to switch the target device from the first call mode to the second call mode when the first call mode meets the first mode switching conditions; wherein the second call mode has lower network performance requirements than the first call mode.

[0013] Thirdly, this application also provides a terminal device, which includes: One or more processors; Memory; and One or more applications, wherein the applications are stored in memory and configured to be executed by a processor to implement the call mode switching method of any of the first aspects.

[0014] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to perform the steps in the call mode switching method of any of the first aspects.

[0015] The beneficial effects of this invention are as follows: By determining whether the current network strength value and the number of call failures in the first call mode meet the conditions for switching to the first mode, if the current network strength value and the number of call failures meet the conditions for switching to the first mode, the target device is switched from the first call mode, which has relatively higher network performance requirements, to the second call mode, which has relatively lower network performance requirements. This allows the target device to automatically and flexibly switch between the first and second call modes, fully adapting to the current network conditions, reducing call failures or quality degradation caused by network fluctuations, improving the success rate of voice calls, and enhancing the user experience. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a flowchart illustrating the call mode switching system provided in an embodiment of the present invention; Figure 2 This is a flowchart illustrating one embodiment of the call mode switching method provided by the present invention; Figure 3 This is a flowchart illustrating a specific embodiment of the call mode switching method provided in this invention. Figure 4 This is a schematic block diagram of the call mode switching device provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of an embodiment of the terminal device provided in this invention. Detailed Implementation

[0018] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0019] In the description of this application, the terms "first," "second," "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first," "second," "third," etc., may explicitly or implicitly include one or more of the stated features.

[0020] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0021] It should be noted that since the method in this application embodiment is executed in a terminal device, the processing objects of each terminal device exist in the form of data or information, such as time, which is essentially time information. It can be understood that if size, quantity, position, etc. are mentioned in subsequent embodiments, they are all corresponding data that exist so that the terminal device can process them. Specific details will not be elaborated here.

[0022] This application provides a call mode switching method, apparatus, and computer-readable storage medium, which will be described in detail below.

[0023] Please see Figure 1 , Figure 1 This is a schematic diagram of a call mode switching system provided in an embodiment of this application. The call mode switching system may include a terminal device 100, which integrates a call mode switching device, such as... Figure 1 Terminal devices in the process.

[0024] In this embodiment, the terminal device 100 is mainly used to obtain the current network strength value and the number of call failures of the target device in the first call mode; based on the current network strength value and the number of call failures, it determines whether the first call mode meets the first mode switching conditions; when the first call mode meets the first mode switching conditions, it switches the target device from the first call mode to the second call mode; wherein, the second call mode has lower requirements for network performance than the first call mode, which allows the target device to automatically and flexibly switch between the first call mode and the second call mode, fully adapting to the current network conditions, reducing the problem of call failures or quality degradation caused by network fluctuations, improving the success rate of voice calls, and enhancing the user experience.

[0025] In this embodiment, the terminal device 100 can be an independent server, a server network, or a server cluster. For example, the terminal device 100 described in this embodiment includes, but is not limited to, a computer, a network host, a single network server, a set of multiple network servers, or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.

[0026] It is understood that the terminal device 100 used in the embodiments of this application can be a device that includes both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing bidirectional communication on a bidirectional communication link. Such a device may include: cellular or other communication devices having a single-line display, a multi-line display, or a cellular or other communication device without a multi-line display. Specifically, the terminal device 100 may be a desktop terminal or a mobile terminal, and the terminal device 100 may also be one of a mobile phone, tablet computer, laptop computer, etc.

[0027] Those skilled in the art will understand that Figure 1 The application environment shown is merely one application scenario of the solution in this application and does not constitute a limitation on the application scenario of the solution in this application. Other application environments may include those that are more specific to this application. Figure 1 The number of more or fewer terminal devices shown, for example Figure 1 Only one terminal device is shown in the diagram. It is understood that the call mode switching system may also include one or more other services, which are not specified here.

[0028] In addition, such as Figure 1 As shown, the call mode switching system may also include a memory 200 for storing data, such as network data, such as the current network strength value, network strength data within a first duration, network strength data within a second duration, etc., and threshold data, such as a first threshold, a second threshold, a time threshold, etc.

[0029] It should be noted that, Figure 1 The schematic diagram of the call mode switching system shown is merely an example. The call mode switching system and scenario described in this application are for the purpose of more clearly illustrating the technical solutions of this application, and do not constitute a limitation on the technical solutions provided in this application. As those skilled in the art will know, with the evolution of call mode switching systems and the emergence of new business scenarios, the technical solutions provided in this application are also applicable to similar technical problems.

[0030] First, this application provides a call mode switching method. The execution subject of the call mode switching method is a call mode switching device, which is applied to a terminal device. The call mode switching method includes: obtaining the current network strength value and the number of call failures of the target device in a first call mode; determining whether the first call mode meets the first mode switching condition based on the current network strength value and the number of call failures; and switching the target device from the first call mode to a second call mode when the first call mode meets the first mode switching condition. The second call mode has lower network performance requirements than the first call mode.

[0031] like Figure 2 The diagram shown is a flowchart of an embodiment of the call mode switching method in this application. The call mode switching method may include the following steps S201 to S203, as detailed below: Step S201: Obtain the current network strength value and the number of call failures of the target device in the first call mode.

[0032] In one specific embodiment, the current network strength value can be a quantitative value used to measure the signal strength of the network environment in which the target device is located, which can reflect the current communication quality of the network. Specifically, it can be the Reference Signal Receiving Power (RSRP) and the Reference Signal Receiving Quality (RSRQ).

[0033] In one specific embodiment, the first call mode can refer to a call mode in which the device conducts voice calls based on Voice over New Radio (VONR), and the second call mode can refer to a call mode in which the device conducts voice calls based on Voice over Long-Term Evolution (VOLTE). VONR's advantage lies in its 5G network architecture, offering higher bandwidth and lower latency, providing a better voice and video call experience. However, it has high requirements for 5G network coverage, and call instability may occur in areas where 5G network coverage is incomplete. VOLTE's advantages are its mature technology and widespread deployment, comprehensive network coverage, and high call stability. However, its voice and video call quality is relatively lower than VONR, and it does not support simultaneous 5G high-speed internet access during calls.

[0034] Furthermore, the target device can be a terminal device capable of implementing VoNR and VoLTE call modes, specifically a smartphone, tablet, or other smart device. The number of call failures in the first call mode is the cumulative number of call interruptions, connection failures, or other failures that occur when the target device uses VoNR mode for voice calls. Call failures may be caused by various reasons, such as unstable network signal, network congestion, or device malfunction.

[0035] It should be noted that the solution provided by this invention can be implemented at any time. For example, after the target device has made a voice call and received a failed voice call result, the current network strength value and the number of failed calls can be obtained to determine whether to switch from VONR to VOLTE. In this case, the recorded number of failed calls can reflect the specific situation of the target device establishing a voice call in the current network environment, enabling the target device to make a more appropriate mode selection to adapt to the current network environment. Alternatively, the current network strength value and the previous number of failed calls can be obtained before the target device is about to make a voice call to determine in advance whether to switch from VONR to VOLTE. This invention does not impose any specific limitations.

[0036] Step S202: Based on the current network strength value and the number of call failures, determine whether the first call mode meets the conditions for switching to the first mode.

[0037] In one specific embodiment, due to dynamic changes in the network environment, such as signal strength fluctuations and network congestion, the first call mode currently used by the device may experience a decrease in call quality or even call failure. At this time, based on the obtained current network strength value and the number of call failures, it can be determined whether it is necessary to switch to other call modes to ensure the stability and quality of the call.

[0038] In this embodiment, network strength is an important reference factor when determining whether to switch call modes. If the network signal strength relied upon by the current first call mode remains weak, the call quality in this mode may be affected. Additionally, the number of call failures is also an important indicator of the reliability of the current call mode. If frequent failures occur when using the first call mode over a period of time, it indicates that this mode may not be able to provide stable and reliable voice service in the current network environment. Therefore, based on whether the current network strength and the number of call failures meet certain conditions, it can be determined whether the first call mode meets the conditions for switching to the second call mode, and thus, whether to switch from the first call mode to the second call mode.

[0039] Step S203: When the first call mode meets the first mode switching conditions, the target device is switched from the first call mode to the second call mode; wherein, the network performance requirements of the second call mode are lower than those of the first call mode.

[0040] In one specific embodiment, the second call mode (VoLTE) has lower network performance requirements than the first call mode (VoNR). That is, under the same network environment, VoLTE can operate more stably than VoNR, with less stringent requirements for network signal strength, bandwidth, and stability. For example, in situations with weak network signals or interference, VoLTE may still maintain call continuity, while VoNR may experience call interruptions or audio stuttering. When the conditions for switching to the first mode are met, the target device can be switched from VoNR to VoLTE, allowing it to continue voice calls, although the call quality may not be as good as in VoNR mode under good network conditions, but at least basic call continuity can be guaranteed.

[0041] In one specific implementation, determining whether the first call mode meets the first mode switching condition based on the current network strength value and the number of call failures includes: determining that the first call mode meets the first mode switching condition when the current network strength value is less than or equal to a first threshold and the number of call failures is greater than or equal to a second threshold; and determining that the first call mode does not meet the first mode switching condition when the current network strength value is greater than the first threshold or the number of call failures is less than the second threshold.

[0042] In this embodiment, a first threshold can be preset to measure the current network signal strength. By comparing the current network strength value with the first threshold, if the current network strength value is less than or equal to the first threshold, it indicates that the current network signal is weak and may not be suitable for using VONR, which has high network performance requirements, for voice calls. A second threshold can also be preset to measure whether the number of call failures affects the user experience. By comparing the current number of call failures with the second threshold, if the current number of call failures is greater than or equal to the second threshold, it indicates that the number of voice call failures is already high, and further failures would significantly impact the user experience, making it potentially unsuitable to use VONR for voice calls due to repeated failures.

[0043] In this embodiment, the two judgment results are combined. If the current network strength value is less than or equal to the first threshold and the number of call failures is greater than or equal to the second threshold, it is determined that the first call mode meets the first mode switching condition, and the first call mode is switched to the second call mode, that is, VONR is switched to VOLTE. However, if the current network strength value is greater than the first threshold, or the number of call failures is less than the second threshold, that is, the current network signal is still relatively strong, or the current number of voice call failures has not yet had a significant impact on the user experience, in order to ensure that the user can have lower latency and better sound effects during calls, it is determined that the first call mode does not yet meet the first mode switching condition, and VONR can be tried again for voice calls.

[0044] It should be noted that the number of call failures mentioned in this invention can be the cumulative number of call failures over a period of time, or the number of consecutive call failures. That is, when determining whether to switch call modes, it can be determined whether the cumulative number of call failures over a previous period of time is greater than or equal to the second threshold, or whether the most recent consecutive number of call failures is greater than or equal to the second threshold.

[0045] In one specific embodiment, after switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, the process includes: obtaining the current time and the time when the first call mode was switched to the second call mode; and when the time interval between the current time and the time when the first call mode was switched to the second call mode is greater than a time threshold, switching the target device back from the second call mode to the first call mode.

[0046] If the first call mode has already been switched to the second call mode, that is, if VoNR has been switched to VoLTE, and VoLTE is used for calls continuously, even if the target device is connected to the 5G network and does not switch back to VoNR, users will not be able to enjoy the high-quality communication experience such as high-definition voice and video calls brought by the 5G network. Furthermore, using VoLTE continuously in the 5G network will waste 5G resources.

[0047] Therefore, in this embodiment, the current time and the time when the first call mode was switched to the second call mode can be obtained, and the time interval between these two specific times can be determined. If the time interval is greater than a preset time threshold, VoLTE can be switched back to VoNR. In specific implementation, a timer with a fixed duration can be set. When the switch from VoNR to VoLTE is detected, the timer can be started. When the timer expires, VoLTE can be switched back to VoNR.

[0048] In addition, after switching from VoLTE back to VoNR, steps 201 to 203 provided in this solution can be performed to achieve flexible switching between VoLTE and VoNR.

[0049] In one specific embodiment, after switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, the process includes: acquiring network strength data within a preset first duration; when the network strength value corresponding to the network strength data within the preset first duration is greater than a third threshold, switching the target device back from the second call mode to the first call mode, and continuing to execute the steps of acquiring the current network strength value and the call failure rate of the target device in the first call mode.

[0050] In this embodiment, the preset first duration can be a continuous period of time, specifically a period of time before the current moment, or in other words, network strength data can be collected first, and then the call mode switching process can be entered, with a decision made based on the collected network strength data; alternatively, it can be a period of time after the current moment, or in other words, the call switching process can be entered first, and then network strength data for the next period of time can be collected, and a decision can be made on whether to switch call modes. The network strength value corresponding to the network strength data within the first duration can be all network strength values ​​recorded within the first duration, or it can be the average, median, or mode of all network strength values ​​within the first duration; this invention does not impose any limitations.

[0051] Even after switching from the first call mode to the second call mode, i.e., switching from VONR to VOLTE, the network strength data of the current network can be monitored and recorded in real time. The network strength data within a preset first time period can be obtained from the data. If the network strength value corresponding to the network strength data within the first time period is greater than the third threshold, it can be considered that the current network signal is good, and VOTEL can be switched back to VONR.

[0052] In addition, after switching from VoLTE back to VoNR, steps 201 to 203 provided in this solution can be performed to achieve flexible switching between VoLTE and VoNR.

[0053] In one specific embodiment, after switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, the process includes: obtaining the device location information of the target device; determining whether the device location of the target device has changed based on the device location information; when the device location of the target device has changed, obtaining network strength data within a preset second time period, and if the network strength data within the preset second time period meets the second mode switching condition, switching the target device back from the second call mode to the first call mode, and continuing to execute the steps of obtaining the current network strength value and the call failure rate of the target device in the first call mode.

[0054] In this embodiment, changes in device location information typically lead to changes in the network environment. This is because the density, type, and coverage quality of network infrastructure deployment vary across different geographical locations. For example, when moving from a densely populated urban area to a suburban or remote area, signal strength may weaken. Simultaneously, there may be a switch to a different operator's network or a fallback from 5G to 4G. Furthermore, physical environmental factors such as building obstructions and terrain undulations can further affect signal propagation quality. Therefore, when the target device's location changes, the network environment changes, allowing for a determination of whether to switch call modes. Specifically, network strength data for a second duration can be obtained, and it can be determined whether the network strength data within the second duration meets the second mode switching conditions. If the network strength data within the second duration meets the second mode switching conditions, the current network signal is considered good, and VOTEL can be switched back to VONR. Of course, after switching from VOLTE to VONR, steps 201 to 203 provided in this solution can be continued to achieve flexible switching between VOLTE and VONR.

[0055] It should be noted that the second duration can be a period of time after the location of the target device has changed. The determination of whether the network strength data within the second duration meets the second mode switching condition can be as described in the previous embodiment. This is done by determining whether the network strength value corresponding to the network strength data within the second duration is greater than a third threshold. That is, when the network strength value corresponding to the network strength data within the second duration is greater than the third threshold, it is determined that the network strength data within the second duration meets the second mode switching condition, and the VOTEL can be switched back to VONR. The network strength value corresponding to the network strength data within the second duration can be all network strength values ​​recorded within the second duration, or it can be the average, median, or mode of all network strength values ​​within the second duration; this invention does not limit this.

[0056] In one specific embodiment, after switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, the process includes: obtaining network identification information of the network connected to the target device; determining whether the network connected to the target device has changed based on the network identification information; when the network connected to the target device has changed, obtaining network strength data within a preset third time period; and if the network strength data within the preset third time period meets the third mode switching condition, switching the target device back from the second call mode to the first call mode, and continuing to execute the steps of obtaining the current network strength value and the call failure rate of the target device in the first call mode.

[0057] In this embodiment, if the target device changes its connected network, the network environment is likely to change, and it can be determined whether to switch the call mode. Specifically, network strength data for a third duration can be obtained, and it can be determined whether the network strength data within the third duration meets the third mode switching conditions. If the network strength data within the third duration meets the third mode switching conditions, it can be considered that the current network signal is good, and VOTEL can be switched back to VONR. Of course, after switching from VOLTE to VONR, steps 201 to 203 provided in this solution can be continued to achieve flexible switching between VOLTE and VONR.

[0058] Similarly, the third duration can be a period of time after it is determined that the network connected to the target device has changed. The system determines whether the network strength data within the third duration meets the conditions for switching to the third mode. Specifically, as shown in previous embodiments, this can be determined by whether the network strength value corresponding to the network strength data within the third duration is greater than a third threshold. That is, when the network strength value corresponding to the network strength data within the third duration is greater than the third threshold, it is determined that the network strength data within the third duration meets the conditions for switching to the third mode, and the VOTEL can be switched back to VONR. The network strength value corresponding to the network strength data within the third duration can be all network strength values ​​recorded within the third duration, or it can be the average, median, or mode of all network strength values ​​within the third duration; this invention does not limit this.

[0059] In one specific embodiment, after switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, the following steps are taken: after the target device restarts, switching the target device from the second call mode back to the first call mode; or, after the target device changes its SIM card, switching the target device from the second call mode back to the first call mode.

[0060] In this embodiment, a device restart clears the network state information stored in memory and resets the network settings. Switching from VoLTE mode back to VoNR mode at this time ensures the device prioritizes the use of more advanced 5G voice technology, improving the user experience. Furthermore, different operators may have different support policies for VoLTE and VoNR. After changing the SIM card, prioritizing VoNR ensures users can access optimal network service more quickly, further enhancing the user experience.

[0061] As one specific embodiment, Figure 3 This is a flowchart illustrating a specific embodiment of the call mode switching method provided in this invention, as shown below. Figure 3 As shown, after implementing the call mode switching method provided by this invention, the relevant parameters used in the method first need to be set. This may include setting a network strength threshold (i.e., the first threshold mentioned above), setting a threshold for the number of consecutive call failures (i.e., the second threshold mentioned above), and setting timer parameters (i.e., the time threshold mentioned above). Signal monitoring and call recording functions can also be initialized to record specific details of voice calls, such as whether the call was successful or failed, and the duration of the call. Judgment conditions can also be set, and dynamic monitoring can be performed. During dynamic monitoring, the number of call failures can be recorded, and the number of consecutive failures can be compared with the set threshold for the number of consecutive call failures. Network signals can also be monitored, and the network strength value can be compared with the set network strength threshold. The results of these two comparisons are combined to trigger condition judgment. If the number of consecutive failures is greater than the threshold for the number of consecutive call failures, and the network strength value is greater than the network strength threshold, then a call mode switching operation is determined, requiring a switch from VONR to VOLTE. The switching operation specifically includes: pausing VONR mode, setting VOLTE as the default call mode, starting a timer based on the switching time point, saving the current device location information and network identification information, and starting the VONR recovery logic. After the VONR recovery logic is enabled, VONR can be automatically restored when the device location or network identifier changes, when the network strength value meets the conditions, when the timer expires, or when the phone is restarted or the SIM card is changed.

[0062] To better implement the call mode switching method in the embodiments of this application, a call mode switching device is also provided in the embodiments of this application, such as... Figure 4 As shown, the call mode switching device 400 includes: The acquisition module 410 is used to acquire the current network strength value and the number of call failures of the target device in the first call mode; The determination module 420 is used to determine whether the first call mode meets the first mode switching conditions based on the current network strength value and the number of call failures; The switching module 430 is used to switch the target device from the first call mode to the second call mode when the first call mode meets the first mode switching conditions; wherein the second call mode has lower network performance requirements than the first call mode.

[0063] In this embodiment, by determining whether the current network strength value and the number of call failures in the first call mode meet the first mode switching conditions, if the current network strength value and the number of call failures meet the first mode switching conditions, the target device is switched from the first call mode, which has relatively higher network performance requirements, to the second call mode, which has relatively lower network performance requirements. This allows the target device to automatically and flexibly switch between the first and second call modes, fully adapting to the current network conditions, reducing call failures or quality degradation caused by network fluctuations, improving the success rate of voice calls, and enhancing the user experience.

[0064] In some embodiments of this application, the determining module 420 determines whether the first call mode meets the first mode switching conditions based on the current network strength value and the number of call failures, including: When the current network strength value is less than or equal to the first threshold and the number of call failures is greater than or equal to the second threshold, it is determined that the first call mode meets the first mode switching condition. If the current network strength value is greater than the first threshold, or the number of call failures is less than the second threshold, it is determined that the first call mode does not meet the conditions for switching to the first mode.

[0065] In some embodiments of this application, after the switching module 430 switches the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, it is further configured to perform the following steps: Get the current time and the time when the first call mode switched to the second call mode; If the time interval between the current time and the time when the device switches from the first call mode to the second call mode is greater than a time threshold, the target device will be switched back from the second call mode to the first call mode.

[0066] In some embodiments of this application, after the switching module 430 switches the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, it is further configured to perform the following steps: Obtain network strength data within a preset first time period; When the network strength value corresponding to the network strength data within the preset first time period is greater than the third threshold, the target device is switched from the second call mode back to the first call mode, and the steps of obtaining the current network strength value and the call failure rate of the target device in the first call mode continue to be executed.

[0067] In some embodiments of this application, after the switching module 430 switches the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, it is further configured to perform the following steps: Obtain the device location information of the target device; Determine whether the target device's location has changed based on device location information; When the location of the target device changes, network strength data within a preset second time period is obtained. If the network strength data within the preset second time period meets the second mode switching conditions, the target device is switched from the second call mode back to the first call mode, and the steps of obtaining the current network strength value and the call failure rate of the target device in the first call mode are continued.

[0068] In some embodiments of this application, after the switching module 430 switches the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, it is further configured to perform the following steps: Obtain the network identification information of the network to which the target device is connected; Determine whether the network connected to the target device has changed based on network identification information; When the network connected to the target device changes, network strength data within a preset third time period is obtained. If the network strength data within the preset third time period meets the third mode switching conditions, the target device is switched from the second call mode back to the first call mode, and the steps of obtaining the current network strength value and the call failure rate of the target device in the first call mode are continued.

[0069] In some embodiments of this application, after the switching module 430 switches the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, it is further configured to perform the following steps: After the target device restarts, switch the target device back from the second call mode to the first call mode; Alternatively, after the target device has its SIM card replaced, switch the target device back from the second call mode to the first call mode.

[0070] This application embodiment also provides a terminal device that integrates any of the call mode switching devices provided in this application embodiment. The terminal device includes: One or more processors; Memory; and One or more applications, wherein the applications are stored in memory and configured to be executed by a processor in the steps of the call mode switching method in any of the above embodiments of the call mode switching method.

[0071] This application also provides a terminal device that integrates any of the call mode switching devices provided in this application. For example... Figure 5 As shown, it illustrates a structural schematic diagram of the terminal device involved in the embodiments of this application. Specifically: The terminal device may include components such as a processor 501 with one or more processing cores, a memory 502 with one or more computer-readable storage media, a power supply 503, and an input unit 504. Those skilled in the art will understand that... Figure 5 The terminal device structure shown does not constitute a limitation on the terminal device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 501 is the control center of the terminal device. It connects various parts of the terminal device via various interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 502, and by calling data stored in the memory 502, thereby providing overall monitoring of the terminal device. Optionally, the processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 501.

[0072] The memory 502 can be used to store software programs and modules. The processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.

[0073] The terminal device also includes a power supply 503 that supplies power to the various components. Preferably, the power supply 503 can be logically connected to the processor 501 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 503 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0074] The terminal device may also include an input unit 504, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0075] Although not shown, the terminal device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 501 in the terminal device loads the executable files corresponding to the processes of one or more applications into the memory 502 according to the following instructions, and the processor 501 runs the applications stored in the memory 502 to realize various functions, as follows: Obtain the current network strength value and the number of call failures of the target device in the first call mode; Based on the current network strength value and the number of call failures, determine whether the first call mode meets the conditions for switching to the first mode. When the first call mode meets the first mode switching conditions, the target device is switched from the first call mode to the second call mode; wherein the second call mode has lower network performance requirements than the first call mode.

[0076] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0077] Therefore, embodiments of this application provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a disk, or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any of the call mode switching methods provided in embodiments of this application. For example, the computer program loaded by the processor can execute the following steps: Obtain the current network strength value and the number of call failures of the target device in the first call mode; Based on the current network strength value and the number of call failures, determine whether the first call mode meets the conditions for switching to the first mode. When the first call mode meets the first mode switching conditions, the target device is switched from the first call mode to the second call mode; wherein the second call mode has lower network performance requirements than the first call mode.

[0078] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0079] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.

[0080] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0081] The above provides a detailed description of a call mode switching method, apparatus, and computer-readable storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for switching call modes, characterized in that, include: Obtain the current network strength value and the number of call failures of the target device in the first call mode; Based on the current network strength value and the number of call failures, determine whether the first call mode meets the first mode switching conditions; When the first call mode meets the first mode switching condition, the target device is switched from the first call mode to the second call mode; wherein the second call mode has lower network performance requirements than the first call mode.

2. The call mode switching method according to claim 1, characterized in that, Determining whether the first call mode meets the first mode switching conditions based on the current network strength value and the number of call failures includes: When the current network strength value is less than or equal to a first threshold and the number of call failures is greater than or equal to a second threshold, it is determined that the first call mode meets the first mode switching condition; When the current network strength value is greater than the first threshold, or when the number of call failures is less than the second threshold, it is determined that the first call mode does not meet the first mode switching condition.

3. The call mode switching method according to claim 1, characterized in that, After switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, the process includes: Get the current time and the time when the first call mode switched to the second call mode; When the time interval between the current time and the time when the first call mode is switched to the second call mode is greater than a time threshold, the target device is switched back from the second call mode to the first call mode.

4. The call mode switching method according to claim 1, characterized in that, After switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, the process includes: Obtain network strength data within a preset first time period; When the network strength value corresponding to the network strength data within the preset first time period is greater than the third threshold, the target device is switched from the second call mode back to the first call mode, and the steps of obtaining the current network strength value and the call failure rate of the target device in the first call mode are continued.

5. The call mode switching method according to claim 1, characterized in that, After switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, the process includes: Obtain the device location information of the target device; Based on the device location information, determine whether the device location of the target device has changed; When the location of the target device changes, network strength data within a preset second time period is obtained. If the network strength data within the preset second time period meets the second mode switching condition, the target device is switched from the second call mode back to the first call mode, and the steps of obtaining the current network strength value and the call failure rate of the target device in the first call mode are continued.

6. The call mode switching method according to claim 1, characterized in that, After switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, the process includes: Obtain the network identification information of the network to which the target device is connected; Based on the network identification information, determine whether the network connected to the target device has changed; When the network connected to the target device changes, network strength data within a preset third time period is obtained. If the network strength data within the preset third time period meets the third mode switching condition, the target device is switched from the second call mode back to the first call mode, and the steps of obtaining the current network strength value and the call failure rate of the target device in the first call mode are continued.

7. The call mode switching method according to claim 1, characterized in that, After switching the target device from the first call mode to the second call mode when the first call mode meets the first mode switching condition, the process includes: After the target device restarts, the target device is switched back from the second call mode to the first call mode; Alternatively, after the target device changes its SIM card, the target device can be switched back from the second call mode to the first call mode.

8. A call mode switching device, characterized in that, include: The acquisition module is used to acquire the current network strength value and the number of call failures of the target device in the first call mode; The determining module is used to determine whether the first call mode meets the first mode switching conditions based on the current network strength value and the number of call failures; The switching module is used to switch the target device from the first call mode to the second call mode when the first call mode meets the first mode switching conditions; wherein the second call mode has lower network performance requirements than the first call mode.

9. A terminal device, characterized in that, The terminal device includes: one or more processors, a memory, and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the call mode switching method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to perform the steps of the call mode switching method according to any one of claims 1 to 7.