Network switching method and device, computer equipment and storage medium
By detecting the signal strength threshold and prohibiting wireless calls, the problem of process conflicts in the terminal during the switching process is solved, and the call quality improvement of smooth switching to Wi-Fi or LTE networks when the NR communication network is poor is achieved.
Patent Information
- Application Number
- CN202411145623.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-11-26
AI Technical Summary
During the process of switching from the NR communication network to the Wi-Fi wireless communication network, conflicts are likely to occur with the process of switching from the NR to the LTE wireless communication network, affecting the call quality.
By detecting the signal strength threshold of the terminal, it is prohibited to communicate through the wireless communication network when the network switching conditions are met, and when the initial signal strength is greater than the threshold, switching from the first cellular communication network to the second cellular communication network is avoided by avoiding handover process conflicts.
Effectively prevent terminal calls from being affected, ensure smooth switching to a network with better communication quality in the case of poor communication quality, and prevent abnormal calls.
Smart Images

Figure CN119031431A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile communication technology, and in particular to a network switching method, device, computer equipment and storage medium. Background Art
[0002] The wireless communication network service allows users to make voice and video calls through traditional dial-up methods in a Wi-Fi wireless communication network environment. When a terminal makes a wireless call through a New Radio (NR) communication network, if the communication quality of the NR communication network is poor, the terminal can be switched from the NR communication network to the Wi-Fi wireless communication network to ensure the call quality of the terminal.
[0003] However, when the terminal switches from the NR communication network to the Wi-Fi wireless communication network, there is a conflict with the process of switching from the NR communication network to the LTE (Long Term Evolution) wireless communication network, which affects the normal calls of the terminal. Summary of the invention
[0004] Based on this, it is necessary to provide a network switching method, device, computer equipment and storage medium that can prevent terminal calls from being affected in order to address the above technical problems.
[0005] In a first aspect, the present application provides a network switching method. The method comprises:
[0006] In the case where the terminal is making a wireless call through the first cellular communication network, if it is detected that the terminal meets the network switching condition, prohibiting the wireless call through the wireless communication network, and obtaining the initial signal strength of the second cellular communication network;
[0007] In a case where the initial signal strength is greater than a first strength threshold, switching from the first cellular communication network to the second cellular communication network.
[0008] In one embodiment, the method further comprises:
[0009] When the terminal makes a wireless call through the second cellular communication network, obtaining a target signal strength of the second cellular communication network;
[0010] When the target signal strength is not greater than the first strength threshold, switching from the second cellular communication network to the wireless communication network.
[0011] In one embodiment, the method further comprises:
[0012] Acquire a first signal strength corresponding to the first cellular communication network and a second signal strength corresponding to the wireless communication network;
[0013] According to the first signal strength and the second signal strength, it is detected whether the terminal meets the network switching condition.
[0014] In one embodiment, detecting whether the terminal meets the network switching condition according to the first signal strength and the second signal strength includes:
[0015] If the first signal strength is less than a second strength threshold and the second signal strength is greater than a third strength threshold, it is determined that the terminal meets the network switching condition.
[0016] In one embodiment, the method further comprises:
[0017] If it is detected that the terminal does not meet the network switching condition, wireless calls are allowed through the wireless communication network.
[0018] In one embodiment, the switching from the first cellular communication network to the second cellular communication network for wireless calling includes:
[0019] If a switching signaling sent by a cellular communication base station corresponding to the first cellular communication network is received, switching from the first cellular communication network to the second cellular communication network;
[0020] The switching signaling is sent by the cellular communication base station after determining that the first signal strength uploaded by the terminal is less than the first strength threshold according to the first signal strength.
[0021] In a second aspect, the present application also provides a network switching device. The device comprises:
[0022] a prohibition module, configured to prohibit the wireless call through the wireless communication network if it is detected that the terminal meets the network switching condition when the terminal makes a wireless call through the first cellular communication network, and obtain the initial signal strength of the second cellular communication network;
[0023] The switching module is configured to switch from the first cellular communication network to the second cellular communication network when the initial signal strength is greater than a first strength threshold.
[0024] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0025] In the case where the terminal is making a wireless call through the first cellular communication network, if it is detected that the terminal meets the network switching condition, prohibiting the wireless call through the wireless communication network, and obtaining the initial signal strength of the second cellular communication network;
[0026] In a case where the initial signal strength is greater than a first strength threshold, switching from the first cellular communication network to the second cellular communication network.
[0027] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0028] When the terminal makes a wireless call through the second cellular communication network, obtaining a target signal strength of the second cellular communication network;
[0029] When the target signal strength is not greater than the first strength threshold, switching from the second cellular communication network to the wireless communication network.
[0030] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0031] When the terminal makes a wireless call through the second cellular communication network, obtaining a target signal strength of the second cellular communication network;
[0032] When the target signal strength is not greater than the first strength threshold, switching from the second cellular communication network to the wireless communication network.
[0033] The network switching method, device, computer equipment and storage medium prohibit the wireless call through the wireless communication network when the terminal makes a wireless call through the first cellular communication network and the terminal meets the network switching condition, and obtains the initial signal strength of the second cellular communication network; then, when the initial signal strength is greater than the first strength threshold, the first cellular communication network is switched to the second cellular communication network. According to the above content, in the process of switching the communication network of the terminal, if it is detected that the terminal meets the network switching condition, it is determined that the terminal may initiate the switching process from the first cellular communication network to the wireless communication network under the current situation. For this reason, the terminal prohibits the terminal from making a wireless call through the wireless communication network when the terminal meets the network switching condition, and then prevents the terminal from initiating the application process of switching from the first cellular communication network to the wireless communication network, thereby preventing the process of switching from the first cellular communication network to the second cellular communication network from conflicting with the process of switching from the first cellular communication network to the wireless communication network, ensuring that the wireless call of the terminal can be carried out normally, ensuring that when the communication quality of the first cellular communication network is poor, it can be smoothly switched to a communication network with better communication quality, and preventing abnormal terminal calls. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] FIG1 is an application environment diagram of a network switching method provided in an embodiment of the present application;
[0035] FIG2 is a schematic diagram of a flow chart of a first network switching method provided in an embodiment of the present application;
[0036] FIG3 is a schematic diagram of a flow chart of a second network switching method provided in an embodiment of the present application;
[0037] FIG4 is a schematic diagram of a flow chart of a third network switching method provided in an embodiment of the present application;
[0038] FIG5 is a signaling diagram of a network switching method provided in an embodiment of the present application;
[0039] FIG6 is a schematic diagram of a flow chart of a fourth network switching method provided in an embodiment of the present application;
[0040] FIG7 is a structural block diagram of a network switching device provided in an embodiment of the present application;
[0041] FIG. 8 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] It is understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In the description of the present application, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily have to be directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples without contradicting each other.
[0044] The network switching method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. By prohibiting wireless calls through the wireless communication network when the terminal makes a wireless call through the first cellular communication network and the terminal meets the network switching conditions, and obtaining the initial signal strength of the second cellular communication network; then, when the initial signal strength is greater than the first strength threshold, switching from the first cellular communication network to the second cellular communication network. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0045] In one embodiment, as shown in FIG. 2 , a network switching method is provided, which is described by taking the method applied to the terminal 102 in FIG. 1 as an example, and includes the following steps:
[0046] S201, when a terminal makes a wireless call through a first cellular communication network, if it is detected that the terminal meets a network switching condition, prohibiting the wireless call through the wireless communication network, and obtaining an initial signal strength of a second cellular communication network.
[0047] It should be noted that if it is detected that the communication quality of the terminal in the first cellular communication network is poor, and at the current moment the terminal can obtain better communication quality support in the wireless communication network, it is determined that the terminal meets the network switching conditions at this time; therefore, when it is necessary to detect whether the terminal meets the network switching conditions, the communication quality of the terminal in the first cellular communication network and the communication quality of the terminal in the wireless communication network can be obtained respectively, and then, based on the communication quality of the two, it is detected whether the terminal meets the network switching conditions.
[0048] In one embodiment of the present application, a signal strength threshold may be pre-set, and if the signal strength corresponding to a certain communication network exceeds the signal strength threshold, it is determined that the communication quality of the terminal under the communication network is good; if the signal strength corresponding to a certain communication network is less than the signal strength threshold, it is determined that the communication quality of the terminal under the communication network is poor; therefore, the signal strength corresponding to the first cellular network and the signal strength of the wireless communication network may be obtained respectively; the signal strengths of the two may be compared with the signal strength threshold respectively to detect whether the terminal meets the network switching conditions; if the signal strength corresponding to the first cellular network is less than the signal strength threshold, and the signal strength of the wireless communication network is greater than the signal strength threshold, it is determined that the terminal meets the network switching conditions.
[0049] Since the communication quality of the first cellular communication network changes over time, the target signal strength of the first cellular communication network may be acquired according to a preset acquisition cycle.
[0050] As an example, the signal strength of the first cellular communication network may be acquired in real time to implement real-time monitoring of the communication quality of the terminal in the first cellular communication network.
[0051] As another example, the time interval between two adjacent signal strength acquisition times may be predefined, and then the signal strength of the first cellular communication network may be periodically acquired according to the time interval to periodically monitor the communication quality of the terminal in the first cellular communication network.
[0052] As another example, the time point for obtaining the signal strength may be predetermined, and then when the current moment reaches the corresponding time point, the signal strength of the first cellular communication network is obtained to implement fixed-point monitoring of the communication quality of the terminal in the first cellular communication network.
[0053] In another embodiment of the present application, a signal strength threshold A for the first cellular communication network and a signal strength threshold B for the wireless communication network may be pre-set, and then, if the signal strength of the first cellular communication network is less than the signal strength threshold A, it is determined that the communication quality of the terminal in the first cellular communication network is poor; if the signal strength of the first cellular communication network is greater than the signal strength threshold A, it is determined that the communication quality of the terminal in the first cellular communication network is good; if the signal strength of the wireless communication network is less than the signal strength threshold B, it is determined that the communication quality of the terminal in the wireless communication network is poor; if the signal strength of the wireless communication network is greater than the signal strength threshold B, it is determined that the communication quality of the terminal in the wireless communication network is good, therefore, the signal strength corresponding to the first cellular network and the signal strength of the wireless communication network may be obtained respectively; the signal strengths of the two are compared with the signal strength threshold A and the signal strength threshold B respectively, if the signal strength of the first cellular communication network is less than the signal strength threshold A, and the signal strength of the wireless communication network is greater than the signal strength threshold B, it is determined that the terminal meets the network switching condition.
[0054] Further explanation, the first cellular communication network may be a New Radio (NR) communication network; that is, the terminal may conduct a VONR (Voice over New Radio, a voice call using New Radio (NR) technology) call with an NR base station. The second cellular communication network may be an LTE (Long Term Evolution, a long-term evolution) communication network, that is, the terminal may conduct a VOLTE (Voice over LTE, a voice call on LTE) call with an LTE base station.
[0055] S202: When the initial signal strength is greater than a first strength threshold, switch from the first cellular communication network to the second cellular communication network.
[0056] It should be noted that if the initial signal strength is detected to be greater than the first strength threshold, it means that the communication quality of the terminal when making a call through the second cellular communication network is better. Therefore, in order to ensure that the call quality of the terminal is not affected, the terminal can be switched from the first cellular communication network to the second cellular communication network.
[0057] The network switching method prohibits wireless calls through the wireless communication network when the terminal makes a wireless call through the first cellular communication network and the terminal meets the network switching conditions, and obtains the initial signal strength of the second cellular communication network; and then, when the initial signal strength is greater than the first strength threshold, switches from the first cellular communication network to the second cellular communication network. According to the above content, in the process of switching the communication network of the terminal, if it is detected that the terminal meets the network switching conditions, it is determined that the terminal may initiate a switching process from the first cellular communication network to the wireless communication network under the current situation. For this reason, the terminal prohibits the terminal from making wireless calls through the wireless communication network when the terminal meets the network switching conditions, and then prevents the terminal from initiating an application process for switching from the first cellular communication network to the wireless communication network, thereby preventing the process of switching from the first cellular communication network to the second cellular communication network from conflicting with the process of switching from the first cellular communication network to the wireless communication network, ensuring that the wireless call of the terminal can be carried out normally, ensuring that when the communication quality of the first cellular communication network is poor, it can be smoothly switched to a communication network with better communication quality, and preventing abnormal terminal calls.
[0058] In one embodiment, as shown in FIG3 , the present application may further include the following contents:
[0059] S301, when a terminal makes a wireless call via a second cellular communication network, obtaining a target signal strength of the second cellular communication network.
[0060] It should be noted that, since the communication quality of the second cellular communication network still changes over time after the terminal switches to the second cellular communication network, the target signal strength of the second cellular communication network can be acquired according to a preset acquisition cycle.
[0061] As an example, the target signal strength of the second cellular communication network may be acquired in real time to implement real-time monitoring of the communication quality of the terminal in the second cellular communication network.
[0062] As another example, the time interval between two adjacent signal strength acquisition times may be predefined, and then the target signal strength of the second cellular communication network may be periodically acquired according to the time interval to periodically monitor the communication quality of the terminal in the second cellular communication network.
[0063] As another example, the time point for obtaining the signal strength may be predetermined, and then when the current moment reaches the corresponding time point, the target signal strength of the second cellular communication network is obtained to implement fixed-point monitoring of the communication quality of the terminal in the second cellular communication network.
[0064] In one embodiment of the present application, when the terminal is making a VOLTE call through a second cellular communication network, the signal strength of the second cellular communication network can be detected according to a preset acquisition cycle, thereby achieving an operation of acquiring the target signal strength of the second cellular communication network.
[0065] S302: When the target signal strength is not greater than a first strength threshold, switch from the second cellular communication network to the wireless communication network.
[0066] It should be noted that if the target signal strength is not greater than the first strength threshold, it means that the call quality of the terminal when making a wireless call through the second cellular communication network at the current moment is poor and cannot meet the communication quality requirements of the terminal call. In addition, in the above process, since it is detected that the terminal meets the network switching conditions, it can be determined that the call quality of the wireless communication network meets the communication quality requirements of the terminal call. Therefore, the terminal is switched from the second cellular communication network to the wireless communication network.
[0067] The above-mentioned network switching method ensures that the wireless call of the terminal can proceed normally by switching from the second cellular communication network to the wireless communication network when the target signal strength is not greater than the first strength threshold. It also ensures that when the communication quality of the second cellular communication network is poor, it can smoothly switch to a communication network with better communication quality, thereby preventing abnormal terminal calls.
[0068] In one embodiment, as shown in FIG. 4 , when it is necessary to detect whether the terminal meets the network switching condition, the following contents may be specifically included:
[0069] S401, obtaining a first signal strength corresponding to a first cellular communication network and a second signal strength corresponding to a wireless communication network.
[0070] It should be noted that if the communication quality of the communication network to which the terminal is currently connected is poor, and the terminal can be connected to other communication networks with better communication quality, it can be determined that the terminal meets the network switching conditions; therefore, when it is necessary to verify whether the terminal meets the conditions for switching from the first cellular communication network to the wireless communication network, it is necessary to obtain the first signal strength of the first cellular communication network and the second signal strength of the wireless communication network respectively, to ensure that the first signal strength and the second signal strength can be used to detect whether the terminal meets the network switching conditions subsequently.
[0071] S402: Detect whether the terminal meets a network switching condition according to the first signal strength and the second signal strength.
[0072] It should be noted that when it is necessary to detect whether the terminal meets the network switching conditions based on the first signal strength and the second signal strength, it may specifically include the following: if the first signal strength is less than the second strength threshold and the second signal strength is greater than the third strength threshold, it is determined that the terminal meets the network switching conditions.
[0073] Correspondingly, if the first signal strength is not less than the second strength threshold, and / or the second signal strength is not greater than the third strength threshold, it is determined that the terminal does not meet the network switching condition.
[0074] Among them, the first strength threshold, the second strength threshold and the third strength threshold can be the same as or different from each other. The values of the first strength threshold, the second strength threshold and the third strength threshold are not limited here. The values of the first strength threshold, the second strength threshold and the third strength threshold can be set or adjusted according to actual conditions and the historical experience of the operation and maintenance personnel of the communication network.
[0075] To further illustrate, if it is detected that the terminal does not meet the network switching conditions, wireless calls are allowed through the wireless communication network.
[0076] The above-mentioned network switching method implements the step of detecting whether the terminal meets the network switching conditions through the first signal strength corresponding to the first cellular communication network and the second signal strength corresponding to the wireless communication network, thereby providing a judgment basis for subsequently switching the terminal from the first cellular communication network to the second cellular communication network and ensuring the smooth progress of subsequent processes.
[0077] In one embodiment, when it is necessary to switch from a first cellular communication network to a second cellular communication network for a wireless call, if a switching signaling is received from a cellular communication base station corresponding to the first cellular communication network, the first cellular communication network is switched to the second cellular communication network.
[0078] The switching signaling is sent by the cellular communication base station after determining that the first signal strength is less than a first strength threshold based on the first signal strength uploaded by the terminal.
[0079] Specifically, as shown in Figure 5, in one embodiment of the present application, if the first cellular communication network is an NR communication network, the second cellular communication network is an LTE communication network, and the wireless communication network is a WIFI communication network, then when the terminal first establishes a VONR call with the NR base station, the terminal will report the first signal strength of the NR communication network. When the NR base station detects that the first signal strength is less than the second strength threshold, the NR base station determines the switching signaling that controls the terminal to switch from the NR communication network to the LTE communication network. The terminal also detects that the first signal strength is less than the second strength threshold, then obtains the second signal strength corresponding to the wireless communication network, and determines that the second signal strength is greater than the third strength threshold. After that, the terminal suspends the VOWIFI switching process and tests the initial signal strength of the LTE communication network. Then, when the initial signal strength is greater than the first strength threshold, and after receiving the switching signaling, the terminal is switched from the first cellular communication network to the second cellular communication network. If the terminal makes a VOLTE call through the LTE communication network, the target signal strength of the LTE communication network is obtained; when the target signal strength is not greater than the first strength threshold, switch from the LTE communication network to the WIFI communication network.
[0080] Among them, due to the poor communication quality of the NR communication network, the switching signaling may be transmitted to the terminal in the form of multiple transmissions, and the receiving time of the switching signaling may be delayed due to multiple transmissions.
[0081] The above-mentioned network switching method, by receiving the switching signaling sent by the cellular communication base station corresponding to the first cellular communication network, realizes smooth switching from the first cellular communication network to the second cellular communication network, prevents the process of the terminal switching from the first cellular communication network to the second cellular communication network from conflicting with the process of the terminal switching from the first cellular communication network to the wireless communication network, ensures that the wireless call of the terminal can proceed normally, and ensures that when the communication quality of the first cellular communication network is poor, it can smoothly switch to the communication network with better communication quality, thereby preventing abnormal terminal calls.
[0082] In one embodiment, as shown in FIG6 , when it is necessary to switch the terminal from the first cellular communication network to the second cellular communication network, the following contents may be specifically included:
[0083] S601, when a terminal makes a wireless call through a first cellular communication network, obtain a first signal strength corresponding to the first cellular communication network and a second signal strength corresponding to the wireless communication network.
[0084] S602: Detect whether the terminal meets a network switching condition according to the first signal strength and the second signal strength.
[0085] S603: If the first signal strength is less than the second strength threshold and the second signal strength is greater than the third strength threshold, it is determined that the terminal meets the network switching condition.
[0086] S604: prohibiting wireless calls through the wireless communication network, and obtaining an initial signal strength of the second cellular communication network.
[0087] S605: When the initial signal strength is greater than a first strength threshold, switch from the first cellular communication network to the second cellular communication network.
[0088] S606: When the terminal makes a wireless call via the second cellular communication network, obtain a target signal strength of the second cellular communication network.
[0089] S607: If a switching signaling is received from a cellular communication base station corresponding to the first cellular communication network, switching is performed from the first cellular communication network to the second cellular communication network.
[0090] The network switching method prohibits wireless calls through the wireless communication network when the terminal makes a wireless call through the first cellular communication network and the terminal meets the network switching conditions, and obtains the initial signal strength of the second cellular communication network; and then, when the initial signal strength is greater than the first strength threshold, switches from the first cellular communication network to the second cellular communication network. According to the above content, in the process of switching the communication network of the terminal, if it is detected that the terminal meets the network switching conditions, it is determined that the terminal may initiate a switching process from the first cellular communication network to the wireless communication network under the current situation. For this reason, the terminal prohibits the terminal from making wireless calls through the wireless communication network when the terminal meets the network switching conditions, and then prevents the terminal from initiating an application process for switching from the first cellular communication network to the wireless communication network, thereby preventing the process of switching from the first cellular communication network to the second cellular communication network from conflicting with the process of switching from the first cellular communication network to the wireless communication network, ensuring that the wireless call of the terminal can be carried out normally, ensuring that when the communication quality of the first cellular communication network is poor, it can be smoothly switched to a communication network with better communication quality, and preventing abnormal terminal calls.
[0091] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0092] Based on the same inventive concept, the embodiment of the present application also provides a network switching device for implementing the network switching method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more network switching device embodiments provided below can refer to the limitations on the network switching method above, and will not be repeated here.
[0093] In one embodiment, as shown in FIG. 7 , a network switching device is provided, including: a prohibition module 10 and a switching module 20, wherein:
[0094] The prohibition module 10 is used to prohibit the wireless call through the wireless communication network and obtain the initial signal strength of the second cellular communication network if it is detected that the terminal meets the network switching condition when the terminal makes a wireless call through the first cellular communication network.
[0095] The switching module 20 is configured to switch from the first cellular communication network to the second cellular communication network when the initial signal strength is greater than a first strength threshold.
[0096] In one embodiment, when the terminal makes a wireless call through the second cellular communication network, the target signal strength of the second cellular communication network is obtained; when the target signal strength is not greater than a first strength threshold, the second cellular communication network is switched to the wireless communication network.
[0097] In one embodiment, a first signal strength corresponding to the first cellular communication network and a second signal strength corresponding to the wireless communication network are obtained; and based on the first signal strength and the second signal strength, it is detected whether the terminal meets the network switching condition.
[0098] In one embodiment, if the first signal strength is less than the second strength threshold, and the second signal strength is greater than the third strength threshold, it is determined that the terminal meets the network switching condition.
[0099] In one embodiment, if it is detected that the terminal does not meet the network switching condition, wireless calls are allowed to be made through the wireless communication network.
[0100] In one embodiment, if a switching signaling is received from a cellular communication base station corresponding to the first cellular communication network, the first cellular communication network is switched to the second cellular communication network; wherein the switching signaling is sent by the cellular communication base station after determining that the first signal strength is less than a first strength threshold based on the first signal strength uploaded by the terminal.
[0101] The network switching device prohibits wireless calls through the wireless communication network when the terminal makes a wireless call through the first cellular communication network and the terminal meets the network switching conditions, and obtains the initial signal strength of the second cellular communication network; and then, when the initial signal strength is greater than the first strength threshold, switches from the first cellular communication network to the second cellular communication network. According to the above content, in the process of switching the communication network of the terminal, if it is detected that the terminal meets the network switching conditions, it is determined that the terminal may initiate a switching process from the first cellular communication network to the wireless communication network under the current situation. For this reason, the terminal prohibits the terminal from making wireless calls through the wireless communication network when the terminal meets the network switching conditions, and then prevents the terminal from initiating an application process for switching from the first cellular communication network to the wireless communication network, thereby preventing the process of switching from the first cellular communication network to the second cellular communication network from conflicting with the process of switching from the first cellular communication network to the wireless communication network, ensuring that the wireless call of the terminal can be carried out normally, ensuring that when the communication quality of the first cellular communication network is poor, it can be smoothly switched to a communication network with better communication quality, and preventing abnormal terminal calls.
[0102] Each module in the above network switching device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0103] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG8. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a network switching method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0104] Those skilled in the art will understand that the structure shown in FIG. 8 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0105] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0106] In the case where the terminal is making a wireless call through the first cellular communication network, if it is detected that the terminal meets the network switching condition, prohibiting the wireless call through the wireless communication network, and obtaining the initial signal strength of the second cellular communication network;
[0107] When the initial signal strength is greater than a first strength threshold, switching from the first cellular communication network to the second cellular communication network.
[0108] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0109] When the terminal makes a wireless call through the second cellular communication network, obtaining a target signal strength of the second cellular communication network;
[0110] When the target signal strength is not greater than the first strength threshold, switching from the second cellular communication network to the wireless communication network.
[0111] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0112] Acquire a first signal strength corresponding to the first cellular communication network and a second signal strength corresponding to the wireless communication network;
[0113] According to the first signal strength and the second signal strength, it is detected whether the terminal meets the network switching condition.
[0114] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0115] If the first signal strength is less than the second strength threshold, and the second signal strength is greater than the third strength threshold, it is determined that the terminal meets the network switching condition.
[0116] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0117] If it is detected that the terminal does not meet the network switching conditions, wireless calls are allowed through the wireless communication network.
[0118] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0119] If a handover signaling sent by a cellular communication base station corresponding to the first cellular communication network is received, switching from the first cellular communication network to the second cellular communication network;
[0120] The switching signaling is sent by the cellular communication base station after determining that the first signal strength is less than a first strength threshold based on the first signal strength uploaded by the terminal.
[0121] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0122] In the case where the terminal is making a wireless call through the first cellular communication network, if it is detected that the terminal meets the network switching condition, prohibiting the wireless call through the wireless communication network, and obtaining the initial signal strength of the second cellular communication network;
[0123] When the initial signal strength is greater than a first strength threshold, switching from the first cellular communication network to the second cellular communication network.
[0124] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0125] When the terminal makes a wireless call through the second cellular communication network, obtaining a target signal strength of the second cellular communication network;
[0126] When the target signal strength is not greater than the first strength threshold, switching from the second cellular communication network to the wireless communication network.
[0127] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0128] Acquire a first signal strength corresponding to the first cellular communication network and a second signal strength corresponding to the wireless communication network;
[0129] According to the first signal strength and the second signal strength, it is detected whether the terminal meets the network switching condition.
[0130] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0131] If the first signal strength is less than the second strength threshold, and the second signal strength is greater than the third strength threshold, it is determined that the terminal meets the network switching condition.
[0132] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0133] If it is detected that the terminal does not meet the network switching conditions, wireless calls are allowed through the wireless communication network.
[0134] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0135] If a handover signaling sent by a cellular communication base station corresponding to the first cellular communication network is received, switching from the first cellular communication network to the second cellular communication network;
[0136] The switching signaling is sent by the cellular communication base station after determining that the first signal strength is less than a first strength threshold based on the first signal strength uploaded by the terminal.
[0137] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0138] In the case where the terminal is making a wireless call through the first cellular communication network, if it is detected that the terminal meets the network switching condition, prohibiting the wireless call through the wireless communication network, and obtaining the initial signal strength of the second cellular communication network;
[0139] When the initial signal strength is greater than a first strength threshold, switching from the first cellular communication network to the second cellular communication network.
[0140] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0141] When the terminal makes a wireless call through the second cellular communication network, obtaining a target signal strength of the second cellular communication network;
[0142] When the target signal strength is not greater than the first strength threshold, switching from the second cellular communication network to the wireless communication network.
[0143] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0144] Acquire a first signal strength corresponding to the first cellular communication network and a second signal strength corresponding to the wireless communication network;
[0145] According to the first signal strength and the second signal strength, it is detected whether the terminal meets the network switching condition.
[0146] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0147] If the first signal strength is less than the second strength threshold, and the second signal strength is greater than the third strength threshold, it is determined that the terminal meets the network switching condition.
[0148] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0149] If it is detected that the terminal does not meet the network switching conditions, wireless calls are allowed through the wireless communication network.
[0150] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0151] If a handover signaling sent by a cellular communication base station corresponding to the first cellular communication network is received, switching from the first cellular communication network to the second cellular communication network;
[0152] The switching signaling is sent by the cellular communication base station after determining that the first signal strength is less than a first strength threshold based on the first signal strength uploaded by the terminal.
[0153] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0154] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0155] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0156] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A network switching method, characterized in that: Applied to a terminal, the method comprises: In the case where the terminal is making a wireless call through the first cellular communication network, if it is detected that the terminal meets the network switching condition, prohibiting the wireless call through the wireless communication network, and obtaining the initial signal strength of the second cellular communication network; In a case where the initial signal strength is greater than a first strength threshold, switching from the first cellular communication network to the second cellular communication network.
2. The method according to claim 1, characterized in that The method further comprises: When the terminal makes a wireless call through the second cellular communication network, obtaining a target signal strength of the second cellular communication network; When the target signal strength is not greater than the first strength threshold, switching from the second cellular communication network to the wireless communication network.
3. The method according to claim 1, characterized in that The method further comprises: Acquire a first signal strength corresponding to the first cellular communication network and a second signal strength corresponding to the wireless communication network; According to the first signal strength and the second signal strength, it is detected whether the terminal meets the network switching condition.
4. The method according to claim 3, characterized in that The detecting, according to the first signal strength and the second signal strength, whether the terminal meets the network switching condition includes: If the first signal strength is less than a second strength threshold and the second signal strength is greater than a third strength threshold, it is determined that the terminal meets the network switching condition.
5. The method according to claim 3, characterized in that: The method further comprises: If it is detected that the terminal does not meet the network switching condition, wireless calls are allowed through the wireless communication network.
6. The method according to claim 1, characterized in that The switching from the first cellular communication network to the second cellular communication network for wireless calling includes: If a switching signaling sent by a cellular communication base station corresponding to the first cellular communication network is received, switching from the first cellular communication network to the second cellular communication network; The switching signaling is sent by the cellular communication base station after determining that the first signal strength uploaded by the terminal is less than the first strength threshold according to the first signal strength.
7. A network switching device, characterized in that: The device comprises: a prohibition module, configured to prohibit the wireless call through the wireless communication network if it is detected that the terminal meets the network switching condition when the terminal makes a wireless call through the first cellular communication network, and obtain the initial signal strength of the second cellular communication network; The switching module is configured to switch from the first cellular communication network to the second cellular communication network when the initial signal strength is greater than a first strength threshold.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
