Network switching method and device, computer equipment and storage medium

By detecting the terminal signal strength and generating network switching instructions, the problem of conflict between the terminal and the LTE network switching process when switching from NR to Wi-Fi network is solved, ensuring the stability of call quality and normal wireless communication.

CN119031433APending Publication Date: 2024-11-26CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411146086.9
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

Technical Problem

During the process of switching from the NR communication network to the Wi-Fi wireless communication network, there is a problem of conflict with the switching from the NR to the LTE wireless communication network, which affects the normal call of the terminal.

Method used

By detecting the signal strength of the terminal, if it is less than the set threshold, a network switching instruction is generated and a switching instruction is sent to the IMS network element to ensure that the terminal switches from the cellular communication network to the target communication network and prevents conflicts in the switching process.

Benefits of technology

Effectively prevent terminal calls from being affected, ensure smooth switching to a network with better communication quality when the communication quality of the cellular communication network is poor, and avoid call abnormalities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119031433A_ABST
    Figure CN119031433A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of mobile communication, in particular to a network switching method and device, computer equipment and a storage medium. The method comprises the following steps: under the condition that a terminal performs a wireless call through a first cellular communication network, if the terminal is detected to meet a network switching condition, generating a network switching instruction; sending a network switching instruction to a multimedia subsystem IMS network element, so that the IMS network element generates switching indication information based on the consistency between the target communication network and the expected communication network of the terminal; and sending a network switching instruction to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and switching indication information provided by the IMS. According to the method and the device, the wireless call of the terminal can be normally carried out, the communication network with relatively good communication quality can be smoothly switched to under the condition that the communication quality of the first cellular communication network is relatively poor, and the condition that the terminal call is abnormal is prevented.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of mobile communication technology, and in particular to a network switching method, apparatus, 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, applied to a first communication base station corresponding to a first cellular communication network, the method comprising:

[0006] In the case where the terminal makes a wireless call through the first cellular communication network, if it is detected that the terminal meets the network switching condition, a network switching instruction is generated; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network;

[0007] Sending the network switching instruction to a multimedia subsystem IMS network element so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0008] The network switching instruction is sent to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

[0009] In one of the embodiments, if it is detected that the terminal meets the network switching condition, generating a network switching instruction includes:

[0010] Obtaining a first signal strength corresponding to the first cellular communication network;

[0011] detecting, according to the first signal strength, whether the terminal meets a network switching condition;

[0012] If it is detected that the terminal meets the network switching condition, a network switching instruction is generated.

[0013] In one embodiment, detecting whether the terminal meets the network switching condition according to the first signal strength includes:

[0014] If the first signal strength is less than a set first strength threshold, determining that the terminal meets the network switching condition;

[0015] If the first signal strength is not less than the first strength threshold, it is determined that the terminal does not meet the network switching condition.

[0016] In a second aspect, the present application provides a network switching method, which is applied to an IMS network element, and the method includes:

[0017] Receiving a network switching instruction sent by a first communication base station corresponding to a first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to a target communication network;

[0018] Generate switching indication information according to the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0019] Sending switching indication information to the terminal so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

[0020] In one of the embodiments, a network switching application sent by the terminal is received; wherein the network switching application includes a desired communication network to which the terminal desires to switch;

[0021] According to the consistency between the desired communication network and the target communication network, switching indication information is generated.

[0022] In one of the embodiments, generating the switching indication information according to the desired communication network and the target communication network includes:

[0023] If the desired communication network is consistent with the target communication network, generating successful switching indication information; wherein the successful switching indication information is used to indicate that the terminal is allowed to access the desired communication network;

[0024] If the desired communication network and the target communication network are different, a failed switching indication message is generated; wherein the failed switching indication message is used to instruct the terminal to prohibit access to the desired communication network.

[0025] In a third aspect, the present application further provides a network switching device, which is configured at a first communication base station corresponding to a first cellular communication network, and the device includes:

[0026] A first generating module, configured to generate a network switching instruction if it is detected that the terminal meets a network switching condition when the terminal makes a wireless call through a first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to a target communication network;

[0027] A first sending module is used to send the network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0028] The second sending module is used to send the network switching instruction to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

[0029] In a fourth aspect, the present application further provides a network switching device, which is configured in an IMS network element, and the device includes:

[0030] A receiving module, configured to receive a network switching instruction sent by a first communication base station corresponding to a first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to a target communication network;

[0031] A second generating module, configured to generate switching indication information according to the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0032] The third sending module is used to send switching indication information to the terminal, so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

[0033] In a fifth 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:

[0034] In the case where the terminal makes a wireless call through the first cellular communication network, if it is detected that the terminal meets the network switching condition, a network switching instruction is generated; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network;

[0035] Sending the network switching instruction to a multimedia subsystem IMS network element so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0036] The network switching instruction is sent to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

[0037] In a sixth 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:

[0038] Receiving a network switching instruction sent by a first communication base station corresponding to a first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to a target communication network;

[0039] Generate switching indication information according to the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0040] Sending switching indication information to the terminal so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

[0041] In a seventh 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:

[0042] In the case where the terminal makes a wireless call through the first cellular communication network, if it is detected that the terminal meets the network switching condition, a network switching instruction is generated; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network;

[0043] Sending the network switching instruction to a multimedia subsystem IMS network element so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0044] The network switching instruction is sent to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

[0045] In an eighth 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:

[0046] Receiving a network switching instruction sent by a first communication base station corresponding to a first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to a target communication network;

[0047] Generate switching indication information according to the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0048] Sending switching indication information to the terminal so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

[0049] In a ninth 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:

[0050] In the case where the terminal makes a wireless call through the first cellular communication network, if it is detected that the terminal meets the network switching condition, a network switching instruction is generated; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network;

[0051] Sending the network switching instruction to a multimedia subsystem IMS network element so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0052] The network switching instruction is sent to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

[0053] In a tenth 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:

[0054] Receiving a network switching instruction sent by a first communication base station corresponding to a first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to a target communication network;

[0055] Generate switching indication information according to the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0056] Sending switching indication information to the terminal so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

[0057] The above-mentioned network switching method, apparatus, computer equipment and storage medium, the first communication base station corresponding to the first cellular communication network, if detecting that the terminal meets the network switching conditions, generates a network switching instruction, and then sends the network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element generates switching indication information based on the consistency between the target communication network and the terminal's expected communication network, and sends the network switching instruction to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS. According to the above content, it can be known that 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 under the current situation, the terminal may initiate a switching process from the first cellular communication network to the wireless communication network. To this end, the first communication base station will send a network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element is based on the consistency between the target communication network and the expected communication network of the terminal. If the target communication network and the expected communication network of the terminal are inconsistent, a switching indication information prohibiting access to the expected communication network is sent to the terminal to prevent the terminal from initiating an application process for switching from the first cellular communication network to the expected communication network, thereby preventing the process of the terminal switching from the first cellular communication network to the expected communication network from conflicting with the process of the terminal switching from the first cellular communication network to the target communication network; and, if the target communication network and the expected communication network of the terminal are consistent, a switching indication information allowing access to the expected communication network is sent to the terminal, thereby ensuring that the wireless call of the terminal can proceed normally, and 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, thereby preventing abnormal terminal calls. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 An application environment diagram of a network switching method provided in an embodiment of the present application;

[0059] Figure 2 A schematic diagram of a flow chart of a first network switching method provided in an embodiment of the present application;

[0060] Figure 3 A schematic diagram of a flow chart of a second network switching method provided in an embodiment of the present application;

[0061] Figure 4 A schematic diagram of a flow chart of a third network switching method provided in an embodiment of the present application;

[0062] Figure 5 A signaling diagram of a network switching method provided in an embodiment of the present application;

[0063] Figure 6 A structural block diagram of a first network switching device provided in an embodiment of the present application;

[0064] Figure 7 A structural block diagram of a second network switching device provided in an embodiment of the present application;

[0065] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0066] 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.

[0067] 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.

[0068] The network switching method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the first communication base station 102 communicates with the IMS network element 104 through the network. The first communication base station corresponding to the first cellular communication network generates a network switching instruction if it detects that the terminal meets the network switching condition, and then sends the network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal, and sends the network switching instruction to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

[0069] In one embodiment, Figure 2 As shown, a network switching method is provided, which is applied to Figure 1 Taking the first communication base station 102 in the example as an example, the method includes the following steps:

[0070] S201, when a terminal is making a wireless call through a first cellular communication network, if it is detected that the terminal meets a network switching condition, a network switching instruction is generated.

[0071] The network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network.

[0072] It should be noted that if it is detected that the communication quality of the terminal in the first cellular communication network is poor, 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 can be obtained respectively, and then, based on the communication quality, it is detected whether the terminal meets the network switching conditions.

[0073] 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 may be obtained, and the signal strength may be compared with the signal strength threshold 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, it is determined that the terminal meets the network switching conditions.

[0074] Since the communication quality of the first cellular communication network changes over time, the target signal strength of the first cellular communication network can be acquired according to a preset acquisition cycle.

[0075] 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.

[0076] 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.

[0077] 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.

[0078] To further illustrate, 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, voice call using New Radio (NR) technology) call with an NR base station. The target communication network may be an LTE (Long Term Evolution, Long Term Evolution) communication network, that is, the terminal may conduct a VOLTE (Voice over LTE, voice call on LTE) call with an LTE base station. The target communication network may also be a wireless communication Wi-Fi network, that is, the terminal may conduct a VOWi-Fi (Voice over Wi-Fi, voice call on Wi-Fi) call through a Wi-Fi network.

[0079] S202: Send a network switching instruction to a multimedia subsystem IMS network element, so that the IMS network element generates switching indication information based on consistency between the target communication network and the desired communication network of the terminal.

[0080] The switching indication information is used to indicate whether the terminal is allowed to access the desired communication network or is prohibited to access the desired communication network.

[0081] It should be noted that in order to prevent the terminal from initiating an application process for switching from the first cellular communication network to the desired communication network, thereby preventing the process of the terminal switching from the first cellular communication network to the desired communication network from conflicting with the process of the terminal switching from the first cellular communication network to the target communication network, when the desired communication network and the target communication network are consistent, the IMS network element generates an indication that the terminal is allowed to access the desired communication network; when the desired communication network and the target communication network are inconsistent, the IMS network element generates an indication that the terminal is prohibited from accessing the desired communication network.

[0082] To further illustrate, after the IMS network element receives the network switching instruction, since the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network; therefore, the IMS network element can obtain the target communication network from the network switching instruction.

[0083] In an embodiment of the present application, the IMS network element may receive a network switching request sent by a terminal; wherein the network switching request includes a desired communication network to which the terminal desires to switch.

[0084] The network switching application is an application sent by the terminal to the IMS network element when the terminal detects that the terminal meets the network switching condition.

[0085] S203: Send a network switching instruction to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

[0086] In one implementation of the present application, if the switching indication information provided by the IMS is to prohibit access to the desired communication network, the terminal abandons the switching process of accessing the desired communication network after receiving the switching indication information, and, according to the network switching instruction, executes the switching process from the first cellular communication network to the target communication network to implement the operation of switching from the first cellular communication network to the target communication network.

[0087] In another implementation of the present application, if the switching indication information provided by the IMS is to allow access to the desired communication network, it indicates that the desired communication network is consistent with the target communication network, that is, the two are the same communication network. Therefore, the terminal executes the switching process from the first cellular communication network to the target communication network according to the network switching instruction to realize the operation of switching from the first cellular communication network to the target communication network.

[0088] In the above-mentioned network switching method, if the first communication base station corresponding to the first cellular communication network detects that the terminal meets the network switching conditions, it generates a network switching instruction, and then sends the network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element generates switching indication information based on the consistency between the target communication network and the expected communication network of the terminal, and sends the network switching instruction to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS. According to the above content, it can be known that 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 under the current situation, the terminal may initiate a switching process from the first cellular communication network to the wireless communication network. To this end, the first communication base station will send a network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element is based on the consistency between the target communication network and the expected communication network of the terminal. If the target communication network and the expected communication network of the terminal are inconsistent, a switching indication information prohibiting access to the expected communication network is sent to the terminal to prevent the terminal from initiating an application process for switching from the first cellular communication network to the expected communication network, thereby preventing the process of the terminal switching from the first cellular communication network to the expected communication network from conflicting with the process of the terminal switching from the first cellular communication network to the target communication network; and, if the target communication network and the expected communication network of the terminal are consistent, a switching indication information allowing access to the expected communication network is sent to the terminal, thereby ensuring that the wireless call of the terminal can proceed normally, and 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, thereby preventing abnormal terminal calls.

[0089] In one embodiment, if Figure 3 As shown, if it is detected that the terminal meets the network switching condition, a network switching instruction is generated, which may specifically include the following contents:

[0090] S301: Obtain a first signal strength corresponding to a first cellular communication network.

[0091] In one embodiment of the present application, in order to ensure that it is subsequently possible to smoothly determine whether a terminal conducting a wireless call through a first cellular communication network meets the network switching conditions, a first signal strength corresponding to the first cellular communication network can be obtained, and then, based on the first signal strength corresponding to the first cellular communication network, subsequent steps of detecting whether the terminal meets the network switching conditions are performed.

[0092] S302: Detect, based on the first signal strength, whether the terminal meets a network switching condition.

[0093] In one embodiment of the present application, when it is necessary to detect whether the terminal meets the network switching conditions based on the first signal strength, it may specifically include the following contents: if the first signal strength is less than the set first strength threshold, it is determined that the terminal meets the network switching conditions; if the first signal strength is not less than the first strength threshold, it is determined that the terminal does not meet the network switching conditions.

[0094] S303: If it is detected that the terminal meets the network switching condition, a network switching instruction is generated.

[0095] It should be noted that if it is detected that the terminal meets the network switching conditions, the base station can generate a network switching instruction according to the actual situation and the preset communication network priority.

[0096] In one embodiment of the present application, if the first cellular communication network is an NR communication network, and it is detected that the terminal meets the network switching conditions, then based on the pre-set communication network priority, the LTE communication network is selected as the target communication network, and a network switching instruction is generated for the LTE communication network.

[0097] In one embodiment of the present application, if the first cellular communication network is an LTE communication network, and it is detected that the terminal meets the network switching conditions, then based on the pre-set communication network priority, the wireless communication network is selected as the target communication network, and a network switching instruction is generated for the wireless communication network.

[0098] The above network switching method generates a network switching instruction when the terminal meets the network switching condition according to the first signal strength corresponding to the first cellular communication network. This ensures that the subsequent network switching operation can be carried out smoothly, ensures that the call quality of the terminal can be kept stable, enables the terminal to smoothly switch to a communication network with better communication quality, and prevents abnormal terminal calls.

[0099] In one embodiment, Figure 4 As shown, a network switching method is provided, which is applied to Figure 1Taking the IMS network element 104 in FIG. 1 as an example, the following steps are included:

[0100] S401, receiving a network switching instruction sent by a first communication base station corresponding to a first cellular communication network.

[0101] The network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network.

[0102] S402: Generate switching indication information according to consistency between the target communication network and the desired communication network of the terminal.

[0103] The switching indication information is used to indicate whether the terminal is allowed to access the desired communication network or is prohibited to access the desired communication network.

[0104] It should be noted that when it is necessary to generate switching indication information based on the consistency between the target communication network and the expected communication network of the terminal, it may specifically include the following contents: receiving a network switching application sent by the terminal; wherein the network switching application includes the expected communication network to which the terminal expects to switch; and generating switching indication information based on the consistency between the expected communication network and the target communication network.

[0105] It is further explained that the switching indication information includes successful switching indication information and failed switching indication information. Therefore, when it is necessary to generate switching indication information based on the expected communication network and the target communication network, it may include the following content: if the expected communication network and the target communication network are consistent, successful switching indication information is generated; wherein the successful switching indication information is used to indicate that the terminal is allowed to access the expected communication network; if the expected communication network and the target communication network are not the same, failed switching indication information is generated; wherein the failed switching indication information is used to indicate that the terminal is prohibited from accessing the expected communication network.

[0106] S403: Send switching indication information to the terminal, so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

[0107] In one implementation of the present application, if the switching indication information provided by the IMS is to prohibit access to the desired communication network, the terminal abandons the switching process of accessing the desired communication network after receiving the switching indication information, and, according to the network switching instruction, executes the switching process from the first cellular communication network to the target communication network to implement the operation of switching from the first cellular communication network to the target communication network.

[0108] In another implementation of the present application, if the switching indication information provided by the IMS is to allow access to the desired communication network, it indicates that the desired communication network is consistent with the target communication network, that is, the two are the same communication network. Therefore, the terminal executes the switching process from the first cellular communication network to the target communication network according to the network switching instruction to realize the operation of switching from the first cellular communication network to the target communication network.

[0109] In the above-mentioned network switching method, if the first communication base station corresponding to the first cellular communication network detects that the terminal meets the network switching conditions, it generates a network switching instruction, and then sends the network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element generates switching indication information based on the consistency between the target communication network and the expected communication network of the terminal, and sends the network switching instruction to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS. According to the above content, it can be known that 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 under the current situation, the terminal may initiate a switching process from the first cellular communication network to the wireless communication network. To this end, the first communication base station will send a network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element is based on the consistency between the target communication network and the expected communication network of the terminal. If the target communication network and the expected communication network of the terminal are inconsistent, a switching indication information prohibiting access to the expected communication network is sent to the terminal to prevent the terminal from initiating an application process for switching from the first cellular communication network to the expected communication network, thereby preventing the process of the terminal switching from the first cellular communication network to the expected communication network from conflicting with the process of the terminal switching from the first cellular communication network to the target communication network; and, if the target communication network and the expected communication network of the terminal are consistent, a switching indication information allowing access to the expected communication network is sent to the terminal, thereby ensuring that the wireless call of the terminal can proceed normally, and 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, thereby preventing abnormal terminal calls.

[0110] In one embodiment, if Figure 5 As shown, when it is necessary to switch from the first cellular communication network to the target communication network, the following contents may be specifically included:

[0111] S501, when a terminal makes a wireless call through a first cellular communication network, a first communication base station obtains a first signal strength corresponding to the first cellular communication network fed back by the terminal;

[0112] S502: The first communication base station determines, based on the first signal strength, that the terminal meets the network switching condition, and generates a network switching instruction.

[0113] S503: The first communication base station sends a network switching instruction to the IMS network element.

[0114] S504: The IMS network element determines a call state based on the first target communication network corresponding to the network switching instruction.

[0115] S505, the IMS network element receives a network switching application sent by the terminal; wherein the network switching application includes a desired communication network to which the terminal desires to switch;

[0116] S506: If the desired communication network is different from the first target communication network in the call state, the IMS network element generates failed switching indication information and sends the failed switching indication information to the terminal.

[0117] S507: The terminal receives the failed switching indication information, abandons the process of switching to the desired communication network, and switches from the first cellular communication network to the first target communication network according to the network switching instruction.

[0118] S508, when the terminal makes a wireless call through the first target communication network, the first target communication network base station obtains a second signal strength corresponding to the first target communication network fed back by the terminal;

[0119] S509: The first target communication network base station determines, based on the second signal strength, that the terminal meets the network switching condition, and generates a network switching instruction.

[0120] S510: The first target communication network base station sends a network switching instruction to an IMS network element.

[0121] S511, the IMS network element determines a call state based on the second target communication network corresponding to the network switching instruction.

[0122] S512, the IMS network element receives a network switching application sent by the terminal; wherein the network switching application includes a desired communication network to which the terminal desires to switch;

[0123] S513: If the desired communication network is the same as the second target communication network in the call state, the IMS network element generates successful switching indication information and sends the successful switching indication information to the terminal.

[0124] S514, the terminal receives successful switching indication information, and switches from the first target communication network to the second target communication network according to the network switching instruction.

[0125] In the above-mentioned network switching method, if the first communication base station corresponding to the first cellular communication network detects that the terminal meets the network switching conditions, it generates a network switching instruction, and then sends the network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element generates switching indication information based on the consistency between the target communication network and the expected communication network of the terminal, and sends the network switching instruction to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS. According to the above content, it can be known that 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 under the current situation, the terminal may initiate a switching process from the first cellular communication network to the wireless communication network. To this end, the first communication base station will send a network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element is based on the consistency between the target communication network and the expected communication network of the terminal. If the target communication network and the expected communication network of the terminal are inconsistent, a switching indication information prohibiting access to the expected communication network is sent to the terminal to prevent the terminal from initiating an application process for switching from the first cellular communication network to the expected communication network, thereby preventing the process of the terminal switching from the first cellular communication network to the expected communication network from conflicting with the process of the terminal switching from the first cellular communication network to the target communication network; and, if the target communication network and the expected communication network of the terminal are consistent, a switching indication information allowing access to the expected communication network is sent to the terminal, thereby ensuring that the wireless call of the terminal can proceed normally, and 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, thereby preventing abnormal terminal calls.

[0126] 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.

[0127] 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.

[0128] In one embodiment, Figure 6 As shown, a network switching device is provided, comprising: a first generating module 10, a first sending module 20 and a second sending module 30, wherein:

[0129] The first generating module 10 is used to generate a network switching instruction 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; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network.

[0130] The first sending module 20 is used to send a network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network.

[0131] The second sending module 30 is used to send a network switching instruction to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

[0132] In one embodiment, obtaining a first signal strength corresponding to a first cellular communication network;

[0133] Detecting, according to the first signal strength, whether the terminal meets the network switching condition;

[0134] If it is detected that the terminal meets the network switching conditions, a network switching instruction is generated.

[0135] In one embodiment, if the first signal strength is less than a set first strength threshold, it is determined that the terminal meets the network switching condition;

[0136] If the first signal strength is not less than the first strength threshold, it is determined that the terminal does not meet the network switching condition.

[0137] In one embodiment, Figure 7 As shown, a network switching device is provided, including: a receiving module 40, a second generating module 50 and a third sending module 60, wherein:

[0138] The receiving module 40 is used to receive a network switching instruction sent by a first communication base station corresponding to the first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network.

[0139] The second generating module 50 is used to generate switching indication information according to the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited to access the desired communication network.

[0140] The third sending module 60 is used to send switching indication information to the terminal, so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

[0141] In one embodiment, a network switching application sent by a terminal is received; wherein the network switching application includes a desired communication network to which the terminal desires to switch;

[0142] According to the consistency between the desired communication network and the target communication network, the switching indication information is generated.

[0143] In one embodiment, generating switching indication information according to the desired communication network and the target communication network includes:

[0144] If the desired communication network and the target communication network are consistent, generating successful switching indication information; wherein the successful switching indication information is used to indicate that the terminal is allowed to access the desired communication network;

[0145] If the desired communication network and the target communication network are different, a failed switching indication message is generated; wherein the failed switching indication message is used to instruct the terminal to prohibit access to the desired communication network.

[0146] The above-mentioned network switching device, the first communication base station corresponding to the first cellular communication network, generates a network switching instruction if it detects that the terminal meets the network switching conditions, and then sends the network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element generates switching indication information based on the consistency between the target communication network and the terminal's expected communication network, and sends the network switching instruction to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS. According to the above content, it can be known that 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 under the current situation, the terminal may initiate a switching process from the first cellular communication network to the wireless communication network. To this end, the first communication base station will send a network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element is based on the consistency between the target communication network and the expected communication network of the terminal. If the target communication network and the expected communication network of the terminal are inconsistent, a switching indication information prohibiting access to the expected communication network is sent to the terminal to prevent the terminal from initiating an application process for switching from the first cellular communication network to the expected communication network, thereby preventing the process of the terminal switching from the first cellular communication network to the expected communication network from conflicting with the process of the terminal switching from the first cellular communication network to the target communication network; and, if the target communication network and the expected communication network of the terminal are consistent, a switching indication information allowing access to the expected communication network is sent to the terminal, thereby ensuring that the wireless call of the terminal can proceed normally, and 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, thereby preventing abnormal terminal calls.

[0147] 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.

[0148] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown. 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 through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through 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 the 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 can be realized 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 realized. The display unit of the computer device is used to form a visually visible picture, which can 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.

[0149] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the 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 those shown in the figure, or combine certain components, or have a different arrangement of components.

[0150] 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:

[0151] 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, a network switching instruction is generated; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network;

[0152] Sending a network switching instruction to a multimedia subsystem IMS network element so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0153] A network switching instruction is sent to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

[0154] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0155] Obtaining a first signal strength corresponding to a first cellular communication network;

[0156] Detecting, according to the first signal strength, whether the terminal meets the network switching condition;

[0157] If it is detected that the terminal meets the network switching conditions, a network switching instruction is generated.

[0158] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0159] If the first signal strength is less than a set first strength threshold, it is determined that the terminal meets the network switching condition;

[0160] If the first signal strength is not less than the first strength threshold, it is determined that the terminal does not meet the network switching condition.

[0161] 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:

[0162] Receiving a network switching instruction sent by a first communication base station corresponding to the first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network;

[0163] Generate switching indication information according to the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0164] The switching indication information is sent to the terminal, so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

[0165] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0166] Receiving a network switching application sent by a terminal; wherein the network switching application includes a desired communication network to which the terminal desires to switch;

[0167] According to the consistency between the desired communication network and the target communication network, the switching indication information is generated.

[0168] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0169] Generating switching indication information according to the desired communication network and the target communication network, including:

[0170] If the desired communication network and the target communication network are consistent, generating successful switching indication information; wherein the successful switching indication information is used to indicate that the terminal is allowed to access the desired communication network;

[0171] If the desired communication network and the target communication network are different, a failed switching indication message is generated; wherein the failed switching indication message is used to instruct the terminal to prohibit access to the desired communication network.

[0172] 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:

[0173] 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, a network switching instruction is generated; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network;

[0174] Sending a network switching instruction to a multimedia subsystem IMS network element so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0175] A network switching instruction is sent to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

[0176] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0177] Obtaining a first signal strength corresponding to a first cellular communication network;

[0178] Detecting, according to the first signal strength, whether the terminal meets the network switching condition;

[0179] If it is detected that the terminal meets the network switching conditions, a network switching instruction is generated.

[0180] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0181] If the first signal strength is less than a set first strength threshold, it is determined that the terminal meets the network switching condition;

[0182] If the first signal strength is not less than the first strength threshold, it is determined that the terminal does not meet the network switching condition.

[0183] 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:

[0184] Receiving a network switching instruction sent by a first communication base station corresponding to the first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network;

[0185] Generate switching indication information according to the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0186] The switching indication information is sent to the terminal, so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

[0187] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0188] Receiving a network switching application sent by a terminal; wherein the network switching application includes a desired communication network to which the terminal desires to switch;

[0189] According to the consistency between the desired communication network and the target communication network, the switching indication information is generated.

[0190] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0191] Generating switching indication information according to the desired communication network and the target communication network, including:

[0192] If the desired communication network and the target communication network are consistent, generating successful switching indication information; wherein the successful switching indication information is used to indicate that the terminal is allowed to access the desired communication network;

[0193] If the desired communication network and the target communication network are different, a failed switching indication message is generated; wherein the failed switching indication message is used to instruct the terminal to prohibit access to the desired communication network.

[0194] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0195] 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, a network switching instruction is generated; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network;

[0196] Sending a network switching instruction to a multimedia subsystem IMS network element so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0197] A network switching instruction is sent to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

[0198] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0199] Obtaining a first signal strength corresponding to a first cellular communication network;

[0200] Detecting, according to the first signal strength, whether the terminal meets the network switching condition;

[0201] If it is detected that the terminal meets the network switching conditions, a network switching instruction is generated.

[0202] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0203] If the first signal strength is less than a set first strength threshold, it is determined that the terminal meets the network switching condition;

[0204] If the first signal strength is not less than the first strength threshold, it is determined that the terminal does not meet the network switching condition.

[0205] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0206] Receiving a network switching instruction sent by a first communication base station corresponding to the first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network;

[0207] Generate switching indication information according to the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network;

[0208] The switching indication information is sent to the terminal, so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

[0209] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0210] Receiving a network switching application sent by a terminal; wherein the network switching application includes a desired communication network to which the terminal desires to switch;

[0211] According to the consistency between the desired communication network and the target communication network, the switching indication information is generated.

[0212] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0213] Generating switching indication information according to the desired communication network and the target communication network, including:

[0214] If the desired communication network and the target communication network are consistent, generating successful switching indication information; wherein the successful switching indication information is used to indicate that the terminal is allowed to access the desired communication network;

[0215] If the desired communication network and the target communication network are different, a failed switching indication message is generated; wherein the failed switching indication message is used to instruct the terminal to prohibit access to the desired communication network.

[0216] 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.

[0217] 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.

[0218] 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.

[0219] 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 first communication base station corresponding to a first cellular communication network, the method comprises: In the case where the terminal makes a wireless call through the first cellular communication network, if it is detected that the terminal meets the network switching condition, a network switching instruction is generated; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to the target communication network; Sending the network switching instruction to a multimedia subsystem IMS network element so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network; The network switching instruction is sent to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

2. The method according to claim 1, characterized in that If it is detected that the terminal meets the network switching condition, generating a network switching instruction includes: Obtaining a first signal strength corresponding to the first cellular communication network; detecting, according to the first signal strength, whether the terminal meets a network switching condition; If it is detected that the terminal meets the network switching condition, a network switching instruction is generated.

3. The method according to claim 2, characterized in that The detecting, according to the first signal strength, whether the terminal meets the network switching condition includes: If the first signal strength is less than a set first strength threshold, determining that the terminal meets the network switching condition; If the first signal strength is not less than the first strength threshold, it is determined that the terminal does not meet the network switching condition.

4. A network switching method, characterized in that: Applied to an IMS network element, the method comprises: Receiving a network switching instruction sent by a first communication base station corresponding to a first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to a target communication network; Generate switching indication information according to the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network; Sending switching indication information to the terminal so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

5. The method according to claim 4, characterized in that The generating the switching indication information according to the consistency between the target communication network and the desired communication network of the terminal includes: Receiving a network switching application sent by the terminal; wherein the network switching application includes a desired communication network to which the terminal desires to switch; According to the consistency between the desired communication network and the target communication network, switching indication information is generated.

6. The method according to claim 5, characterized in that The switching indication information includes successful switching indication information and failed switching indication information; The generating the switching indication information according to the desired communication network and the target communication network includes: If the desired communication network is consistent with the target communication network, generating successful switching indication information; wherein the successful switching indication information is used to indicate that the terminal is allowed to access the desired communication network; If the desired communication network and the target communication network are different, a failed switching indication message is generated; wherein the failed switching indication message is used to instruct the terminal to prohibit access to the desired communication network.

7. A network switching device, characterized in that: A first communication base station configured in a first cellular communication network, the device comprising: A first generating module, configured to generate a network switching instruction if it is detected that the terminal meets a network switching condition when the terminal makes a wireless call through a first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to a target communication network; A first sending module is used to send the network switching instruction to the multimedia subsystem IMS network element, so that the IMS network element generates switching indication information based on the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network; The second sending module is used to send the network switching instruction to the terminal, so that the terminal switches from the first cellular communication network to the target communication network based on the network switching instruction and the switching indication information provided by the IMS.

8. A network switching device, characterized in that: Configured in an IMS network element, the device includes: A receiving module, configured to receive a network switching instruction sent by a first communication base station corresponding to a first cellular communication network; wherein the network switching instruction is used to instruct the terminal to switch from the first cellular communication network to a target communication network; A second generating module, configured to generate switching indication information according to the consistency between the target communication network and the desired communication network of the terminal; wherein the switching indication information is used to indicate that the terminal is allowed to access the desired communication network or is prohibited from accessing the desired communication network; The third sending module is used to send switching indication information to the terminal, so that the terminal switches from the first cellular communication network to the target communication network according to the switching indication information and the network switching instruction sent by the first communication base station.

9. 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.

10. 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.

11. 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.