Communication switching methods, devices and electronic equipment

By acquiring the target operator's communication quality and support information before entering the target area, and generating a handover request to switch to the target communication module that supports multiple communication module operation modes, the problem of communication interruption caused by frequent switching of mobile terminals due to changes in operator signals is solved, and the continuity and stability of communication are achieved.

CN123124032APending Publication Date: 2026-11-17CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611324582.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-28
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In mobile situations, terminals with multiple communication modules may experience handover failures due to frequent changes in operator signals, affecting communication continuity and user experience.

Method used

Before entering the target area, the system obtains the target operator's communication quality parameters and support information, generates a handover request to switch to the target communication module that supports multiple communication module operation modes, including multi-SIM multi-pass or multi-SIM single-pass modes, and optimizes the handover process using preset paths and communication maps.

Benefits of technology

It reduced the handover failure rate, ensured the continuity and stability of communication, and improved the user's communication experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123124032A_ABST
    Figure CN123124032A_ABST
Patent Text Reader

Abstract

This application relates to a communication handover method, apparatus, and electronic device, applied to a terminal equipped with at least two communication modules belonging to at least two different operators. Before the terminal enters a target area on a preset path, a preset target operator is determined, a first communication quality parameter of the target operator is obtained, and it is determined whether the first communication quality parameter meets the communication conditions. First support information of the target operator for multi-communication module operation modes is obtained to determine the multi-communication module operation modes supported by the target operator. When the first communication quality parameter meets the communication conditions, a first handover request is generated based on the first support information. Based on the first handover request, a request is made to switch the communication module used by the terminal to the target communication module corresponding to the target operator based on the multi-communication module operation modes supported by the target operator. This application can reduce the handover failure rate and ensure communication continuity and stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a communication switching method, apparatus and electronic device. Background Technology

[0002] With the development of mobile communication technology, more and more terminals are equipped with multiple communication modules, and the device can switch between the various communication modules to ensure the continuity of communication.

[0003] However, for mobile devices, as the terminal moves, the signal status of each communication module changes constantly, and frequent switching between multiple communication modules can easily lead to switching failures, resulting in terminal communication interruptions and affecting the user's communication experience. Summary of the Invention

[0004] Therefore, it is necessary to provide a communication handover method, apparatus, and electronic device that can reduce the handover failure rate and ensure communication continuity and stability in order to address the above-mentioned technical problems.

[0005] In a first aspect, this application provides a communication handover method, applied to a terminal equipped with at least two communication modules, wherein the at least two communication modules belong to at least two different operators, and the terminal moves along a preset path. The method includes: Before entering the target area on the preset path, a preset target operator corresponding to the target area is determined; wherein, the target operator is one of at least two different operators; Obtain the first communication quality parameter of the target operator and determine whether the first communication quality parameter meets the communication conditions; Obtain the first support information of the target operator for the multi-communication module operation mode; the first support information is used to determine the multi-communication module operation mode supported by the target operator. If the first communication quality parameter meets the communication conditions, a first handover request is generated based on the first support information; wherein, the first handover request is used to request the communication module used by the terminal to be switched to the target communication module corresponding to the target operator based on the multi-communication module operation mode supported by the target operator.

[0006] Optionally, a preset target operator corresponding to the target area is determined, including: Based on a pre-set communication map, obtain the coverage heatmap values ​​of at least two different operators in the target area; wherein, the communication map stores the coverage heatmap values ​​of multiple operators in the target area; Obtain second communication quality parameters from at least two different operators; Obtain second support information for the multi-communication module operation mode from at least two different operators, and obtain the operation mode score information for each operator based on the preset score information; Based on preset weighting coefficients, the coverage heat value, second communication quality parameter and operation mode score information of each operator are weighted and calculated to obtain the score value of each operator. The operator with the highest score will be selected as the target operator.

[0007] Optionally, the communication module is a SIM card, and the multi-communication module operation mode includes a multi-SIM multi-pass mode. The first support information is used to determine whether the target operator supports the multi-SIM multi-pass mode; a first handover request is generated based on the first support information, including: If it is determined from the first support information that the target operator supports multi-SIM multi-pass mode, a first handover request including a first indication identifier is generated; wherein, the first indication identifier is used to indicate that the communication module used by the terminal is switched to the target communication module based on multi-SIM multi-pass mode; If it is determined from the first support information that the target operator does not support the multi-SIM multi-pass mode, a first handover request including a second indication identifier is generated; wherein, the second indication identifier is used to indicate that the communication module used by the terminal is switched to the target communication module based on the multi-SIM single-pass mode.

[0008] Optionally, obtain the target operator's first support information for the multi-communication module operating mode, including: Obtain the whitelist of operators that support multi-SIM multi-pass mode; Send a query command to the preset query interface; Send a probe command to the target operator and obtain the target operator's feedback information on the probe command; The target operator is determined to support multi-SIM multi-pass mode when at least one of the following conditions is met: the target operator is in the whitelist; the query information returned by the query interface in response to the query command includes preset identification information; the identification information is used to indicate that the target operator supports multi-SIM multi-pass mode; and the feedback information meets the preset feedback conditions.

[0009] Optionally, the feedback information includes round-trip time jitter rate and timeout rate, and the feedback conditions include a first feedback condition and a second feedback condition. The feedback information meets preset feedback conditions, including: If the round-trip time jitter rate is less than or equal to the first round-trip time jitter rate threshold, and the timeout rate is less than or equal to the first timeout rate threshold, the feedback information is determined to meet the first feedback condition. If the round-trip time jitter rate is less than or equal to the second round-trip time jitter rate threshold, and the timeout rate is less than or equal to the second timeout rate threshold, the feedback information is determined to meet the second feedback condition. Among them, the first round-trip time jitter rate threshold is less than the second round-trip time jitter rate threshold, and the first timeout rate threshold is less than the second timeout rate threshold; when the feedback information meets the first feedback condition, the target operator's business support information is determined to be that all services support multi-SIM multi-pass mode; when the feedback information meets the second feedback condition, the target operator's business support information is determined to be that some services support multi-SIM multi-pass mode.

[0010] Optionally, generating a first handover request based on the first support information further includes: Based on a preset communication map, empty areas on a preset path are identified, and these empty areas are used as target areas to obtain their location information; the communication map stores the location information of multiple empty areas. Obtain the terminal's location and movement information; Based on the terminal's location information, movement information, and the target area's location information, obtain the time it takes for the terminal to move from its current location to the target area; When the time is a preset time threshold, a first switching request is generated based on the first support information.

[0011] Optionally, after generating the first switching request, the method further includes: Generate communication module information; wherein, the communication module information is used to record the information of the communication modules used by the terminal before and after the handover; In response to the terminal leaving the target area on the preset path, the operator to which the communication module belonged before the handover is obtained based on the communication module information, and a retention verification is performed on the operator to which the communication module belonged before the handover. When the number of successful retention verifications is greater than the target number, a recovery command is generated. In response to the recovery command, the communication module used by the terminal is restored to the communication module before the switch, based on the communication module information.

[0012] Optionally, the method further includes: According to the set time period, the third communication quality parameters of at least two different operators are periodically obtained; wherein, the at least two different operators include the first operator; When the third communication quality parameter of the first operator is greater than the third communication quality parameter of the target operator, the third support information of the first operator for the multi-communication module operation mode is obtained; wherein, the third support information is used to determine the multi-communication module operation mode supported by the first operator. A second handover request is generated based on the third support information; wherein, the second handover request is used to request the switching of the communication module used by the terminal to the communication module corresponding to the first operator based on the multi-communication module operation mode supported by the first operator.

[0013] Secondly, this application provides a communication switching device applied to a terminal equipped with at least two communication modules belonging to at least two different operators, the terminal moving along a preset path, the device comprising: The target operator acquisition module is used to determine a preset target operator corresponding to the target area before entering the target area on the preset path; wherein the target operator is one of at least two different operators; The communication quality parameter acquisition module is used to acquire the first communication quality parameter of the target operator and determine whether the first communication quality parameter meets the communication conditions. The support information acquisition module is used to acquire the first support information of the target operator for the operation mode of multiple communication modules; the first support information is used to determine the operation mode of multiple communication modules supported by the target operator. The switching request generation module is used to generate a first switching request based on the first support information if the first communication quality parameter meets the communication conditions; wherein, the first switching request is used to request the switching of the communication module used by the terminal to the target communication module corresponding to the target operator based on the multi-communication module operation mode supported by the target operator.

[0014] Thirdly, this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any of the above methods.

[0015] The aforementioned communication switching method, apparatus, and electronic device are applied to a terminal equipped with at least two communication modules belonging to at least two different operators. Before the terminal enters a target area on a preset path, a preset target operator corresponding to the target area is determined, a first communication quality parameter of the target operator is obtained, and it is determined whether the first communication quality parameter meets the communication conditions. First support information for the target operator's multi-communication module operation mode is obtained. The first support information is used to determine the multi-communication module operation mode supported by the target operator. When the first communication quality parameter meets the communication conditions, a first switching request is generated based on the first support information. Based on the first switching request, a request is made to switch the communication module used by the terminal to the target communication module corresponding to the target operator based on the multi-communication module operation mode supported by the target operator. This embodiment can automatically detect the operator signal status and automatically switch, reducing the switching failure rate and ensuring communication continuity and stability. Attached Figure Description

[0016] Figure 1 This is an application environment diagram of a communication switching method in one embodiment; Figure 2 This is a flowchart illustrating a communication switching method in one embodiment; Figure 3 This is a flowchart illustrating the communication switching method in another embodiment; Figure 4 This is a flowchart illustrating step S140 in one embodiment; Figure 5 This is a flowchart illustrating step S110 in one embodiment; Figure 6 This is a flowchart illustrating step S110 in another embodiment; Figure 7 This is a flowchart illustrating the communication switching method in another embodiment; Figure 8 This is a flowchart illustrating the communication switching method in another embodiment; Figure 9 This is a structural block diagram of a communication switching device in one embodiment; Figure 10 This is a diagram of the internal structure of an electronic device in one embodiment. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0018] Please see Figure 1 This is a schematic diagram illustrating the application environment in one embodiment of this application. The method of this application can be applied to scenarios where the terminal 110 communicates in a mobile environment. The terminal 110 can be installed in vehicles or other road or rail transportation equipment. Communication includes, but is not limited to, making phone calls, sending text messages, or obtaining data via the internet. The terminal 110 can be an in-vehicle terminal, a mobile phone, a tablet computer, or other electronic devices with communication functions.

[0019] Terminal 110 may be equipped with at least two communication modules, and the operators to which the communication modules belong may be exactly the same, partially the same, or completely different. Terminal 110 enjoys the communication services provided by the operators through base stations 120 provided by operator A or 130 provided by operator B (or specifically the cell carried by the base station) located along the mobile path.

[0020] Among them, at least one of the two communication modules is the main communication module, and the others are secondary communication modules. Making and receiving calls and / or data communication services can be configured to be carried out through the communication channel of the main communication module.

[0021] At least two communication modules can belong to at least two different operators. The communication modules can be SIM cards (Subscriber Identity Modules), USIM cards (Universal Subscriber Identity Modules), or eSIM cards (Embedded Subscriber Identity Modules).

[0022] Optionally, the terminal 110 may have a first SIM card and a second SIM card installed. The first SIM card belongs to operator A, and the second SIM card belongs to operator B. When the terminal selects the first SIM card as the primary card, the terminal uses the first SIM card to access operator A's network for communication.

[0023] In related technologies, for terminals equipped with communication modules from multiple different operators, the required communication module is determined based on signal strength. For example, a terminal may have a first SIM card and a second SIM card. The first SIM card belongs to operator A, and the second SIM card belongs to operator B. When the terminal selects the first SIM card as the primary card, it uses it to access operator A's network for communication. When the terminal moves to area A, if the signal strength of operator B is greater than that of operator A, the terminal switches its primary card to the second SIM card corresponding to operator B, thus ensuring communication continuity.

[0024] However, for mobile terminals, as the terminal moves, the signal status of each communication module changes constantly, and frequent switching between multiple communication modules can easily lead to handover delays or handover failures. For example, in dual SIM single pass mode (DSDS), multiple SIM cards share a set of radio frequency resources. When the secondary card is making calls, sending and receiving SMS / MMS, switching network standards, tracking area update (TAU), cell handover, or searching for a new network after a network outage, it will preempt radio frequency resources, causing the primary card's service to be interrupted and affecting the user's communication experience.

[0025] Therefore, this embodiment provides a communication switching method, which can be applied to... Figure 1 The terminals in the system are designed to ensure communication continuity and improve the user's communication experience.

[0026] like Figure 2 As shown, this embodiment provides a communication switching method, which includes the following steps: Step 110: Before entering the target area on the preset path, determine the preset target operator corresponding to the target area; wherein the target operator is one of at least two different operators. The preset path is the path the terminal moves along. The preset path can be determined based on the trajectory of the terminal's movement. For example, the terminal can follow vehicles or other means of transportation on highways, ordinary roads, subway tracks, or other fixed paths.

[0027] The target area is a region along the preset path.

[0028] Optionally, the target operator can be preset; or, the target operator for the target area can be determined based on the correspondence between recommended operators and areas on the preset path.

[0029] In one embodiment, the target operator can be the operator to which the communication module belongs that has registered with the International Mobile Subscriber Identity (IMSI). The communication module that has registered with the IMSI has successfully completed the "handshake" verification with the current base station (or core network) and is in an attached or activated state. The network has recorded the identity and location information of the communication module, which can skip the complex authentication and identity verification process and directly reuse the existing network context, avoiding the time overhead caused by repeated authentication and achieving "seamless" or "low-latency" handover.

[0030] Step 120: Obtain the first communication quality parameter of the target operator and determine whether the first communication quality parameter meets the communication conditions; The first communication quality parameter is used to determine the communication quality of the target operator. Optionally, the first communication quality parameter may include parameters such as reference signal received power (RSRP) and signal-to-interference-plus-noise ratio (SINR).

[0031] Step 130: Obtain the first support information of the target operator for the multi-communication module operation mode; the first support information is used to determine the multi-communication module operation mode supported by the target operator. Firstly, support information can be obtained by querying the service information provided by the operator.

[0032] The multi-communication module operation mode is used to determine the mode in which multiple communication modules operate simultaneously. For example, the multi-communication module operation mode can be used to determine whether multiple communication modules can make calls or use data networks at the same time.

[0033] For example, the multi-communication module operation mode may include all communication modules working simultaneously, only a single communication module working, or some communication modules working simultaneously.

[0034] Step 140: If the first communication quality parameter meets the communication conditions, generate a first handover request based on the first support information; wherein, the first handover request is used to request, based on the multi-communication module operation mode supported by the target operator, to switch the communication module used by the terminal to the target communication module corresponding to the target operator.

[0035] Communication conditions are used to determine whether the target operator's communication status meets the communication requirements. Communication conditions can be set according to the actual application scenario; for example, they can be set to a first communication quality parameter being greater than a preset communication quality parameter threshold.

[0036] The first handover request can be sent to the terminal's multi-communication module management system, enabling the system to switch communication modules based on the request. The multi-communication module management system manages the communication modules used by the terminal.

[0037] The communication switching method provided in this embodiment is applied to a terminal equipped with at least two communication modules belonging to at least two different operators. Before the terminal enters a target area on a preset path, a preset target operator corresponding to the target area is determined, a first communication quality parameter of the target operator is obtained, and it is determined whether the first communication quality parameter meets the communication conditions. First support information of the target operator for multi-communication module operation modes is obtained. The first support information is used to determine the multi-communication module operation modes supported by the target operator. When the first communication quality parameter meets the communication conditions, a first switching request is generated according to the first support information. Based on the first switching request, a request is made to switch the communication module used by the terminal to the target communication module corresponding to the target operator based on the multi-communication module operation modes supported by the target operator. This embodiment can automatically detect the operator signal status and automatically switch, reducing the switching failure rate and ensuring communication continuity and stability.

[0038] In one embodiment, the first communication quality parameter in step S110 may include the Reference Received Power (RSRP) and the Signal-to-Interference-plus-Noise Ratio (SINR). RSRP and SINR are two core metrics for measuring the signal quality of a mobile network. RSRP measures the power of the useful signal received by the terminal from the base station, i.e., it measures the signal strength. SINR measures the ratio of the useful signal to interference and noise, i.e., it measures the signal quality.

[0039] Determining whether the first communication quality parameter meets the communication conditions includes: If the received power of the reference signal is greater than the first threshold and the signal-to-interference-plus-noise ratio is greater than the second threshold, the first communication quality parameter is determined to meet the communication conditions; otherwise, the first communication quality parameter is determined not to meet the communication conditions.

[0040] The first threshold and the second threshold can be preset fixed values.

[0041] The higher the received power of the reference signal and the higher the signal-to-interference-plus-noise ratio, the better the signal strength and quality.

[0042] In this embodiment, multi-dimensional signal indicators such as reference signal received power and signal-to-interference-plus-noise ratio are used to determine whether the communication quality of the target operator meets the requirements. Only when the reference signal received power is greater than a first threshold and the signal-to-interference-plus-noise ratio is greater than a second threshold is it determined that the communication quality of the target operator meets the communication conditions, and the target operator is selected as the operator to be switched, thereby improving the communication quality of the terminal's communication module after the switch.

[0043] In one embodiment, the first threshold and the second threshold can be dynamically adjusted in response to changes in scenarios such as frequency bands, operators, or local policies.

[0044] like Figure 2 As shown, the method in this embodiment further includes: Step S210: Receive threshold adjustment information; wherein the threshold adjustment information includes an updated first threshold and / or an updated second threshold, the updated first threshold and / or the updated second threshold being determined based on at least one of the following adjustment parameters: frequency band, operator, and regional policy.

[0045] The first threshold and / or second threshold are determined based on the frequency band used by the communication module. Different frequency bands correspond to different first and / or second thresholds. The correspondence between frequency bands and the first and second thresholds can be preset.

[0046] Optionally, the first threshold and the second threshold can be determined based on the center frequency of the current frequency band. For example, for the n78 band (center frequency 3.5 GHz), the first threshold is set to -108 dBm; for the n1 band (center frequency 2100 MHz), the first threshold can be set to -112 dBm.

[0047] The threshold adjustment information can be sent directly by the user terminal or the terminal manufacturer, or it can be uploaded to the server by the user terminal or the terminal manufacturer and then pushed to the terminal to update the first and second thresholds.

[0048] Regional policies are used to indicate the application restriction policies for operators in the current region. For example, if the regional policy indicates that the current region requires the use of local operators, when determining whether the first communication quality parameter of the target operator meets the communication conditions, the first threshold and / or second threshold of the local operator's evaluation can be lowered, making it easier for the local operator to become the recommended operator for switching and meet the requirements of the regional policy.

[0049] Step S220: Update the first threshold and the second threshold according to the threshold adjustment information.

[0050] In this embodiment, the first threshold and the second threshold can be dynamically updated based on the received threshold adjustment information, thereby improving the accuracy of target operator communication quality detection.

[0051] In step S140, the first switching request can be generated before the terminal enters the target area on the preset path, thereby enabling the switching of the communication module before the terminal enters the current area and avoiding communication interruption.

[0052] In this embodiment, the first handover request can be generated N seconds before the terminal enters the current area. N can be set according to actual application requirements. In this embodiment, N can be 15. The first handover request is generated 15 seconds before the terminal enters the current area, thereby predicting that the terminal will enter the current area 15 seconds in advance, so as to realize the early handover of the communication module.

[0053] like Figure 4 As shown, in this embodiment, generating a first handover request based on the first support information further includes: Step S141: Based on the preset communication map, determine the empty area on the preset path, take the empty area as the target area, and obtain the location information of the target area; The communication map stores location information for multiple "hole areas." A hole area refers to a geographical area within the network coverage area planned by the operator, but where actual wireless signals cannot reach or are too weak to support normal communication services. When a terminal enters a hole area, voice calls become intermittent or disconnect completely, and the terminal is unable to access the network.

[0054] In this embodiment, the communication map can be a spatiotemporally coupled gridded weak network knowledge base, with each grid storing historical weak network event statistics, geofence attributes, and other information. The size of each grid can be set according to actual needs; in this embodiment, the grid size is 200 meters × 200 meters.

[0055] Historical network weakness event statistics are used to count the duration and / or frequency of historical network weakness events. A network weakness event can be an event where the communication quality is lower than a preset quality threshold. In this embodiment, a network weakness event can be an event where both the reference signal received power and the signal-to-interference-plus-noise ratio are lower than a set threshold. For example, when the detected reference signal received power is <-110dBm and the interference-to-noise ratio is <0dB, a network weakness event is determined to have occurred.

[0056] Geofencing is a virtual area drawn in the real world based on technologies such as GPS and Wi-Fi. Geofencing attributes are used to determine the characteristic information of the virtual area, such as structured void labels for subway tunnels, underground parking garages, and elevator shafts.

[0057] In this embodiment, the hollow areas on the preset path can be determined based on the historical weak network event statistics and geofence attributes of each grid stored in the communication map, and then the target area can be determined based on the hollow areas.

[0058] Step S142: Obtain the terminal's location information and movement information; Location information may include the latitude and longitude of the current terminal, and the location information can be obtained by the positioning module set on the terminal reading the positioning signal.

[0059] Mobility information may include information such as the terminal's speed along a preset path. When the terminal is an in-vehicle terminal installed in a vehicle, the terminal's speed along the preset path can be obtained by reading the vehicle's speed.

[0060] Step S143: Based on the terminal's location information, movement information, and the target area's location information, obtain the time it takes for the terminal to move from its current location to the target area; The time it takes for the terminal to move from its current location to the target area is used to generate the first handover request before the terminal enters the target area.

[0061] Step S144: When the time is a preset time threshold, generate a first switching request based on the first support information.

[0062] The time threshold is used to determine when to generate the first handover request. The time threshold can be set according to actual needs. For example, in this embodiment, the preset time threshold can be 15 seconds. When the terminal moves from its current location to the target area in 15 seconds, the first handover request is generated, thereby achieving the handover of the communication module within 15 seconds before entering the target area.

[0063] Optionally, when the time reaches a preset time threshold, i.e., before entering the target area on the preset path, the system may also include operations such as adjusting the terminal's communication module status to an initialization state, loading a recommended operator policy, calibrating thresholds, and recording communication module information, thereby improving handover efficiency. The initialization state can be a pre-set state, such as an idle state (IDLE state). In the idle state, the terminal has successfully "camped" on a cell (Cell ID) but is not currently transmitting data or making calls, and is in a low-power "ready-to-go" mode. Loading the recommended operator policy is used to determine the target operator corresponding to the target area; calibrating thresholds is used to calibrate the thresholds of communication quality parameters; and recording communication module information is used to record the status of the communication module, operator, and other information.

[0064] In this embodiment, a hole area on the preset path of the device movement is determined based on a preset communication map. The hole area is taken as the target area. The time it takes for the terminal to move from its current position to the target area is obtained based on the location information of the target area, the location information of the terminal, and the movement information. A first switching request is generated when the time is a preset time threshold, so as to realize the switching of the communication module before entering the target area and ensure the continuity of communication.

[0065] This embodiment provides one implementation of step S110. For example... Figure 5 As shown, determining the preset target operator corresponding to the target area includes: Step S1111: Based on a preset communication map, obtain communication quality information of at least two different operators in the target area; wherein, the communication map stores historical communication quality information of multiple operators in the target area; Historical communication quality information is used to determine the operator's historical communication quality in the target area. This information may include one or more communication quality parameters. Optionally, these parameters may include reference signal received power and signal-to-interference-plus-noise ratio.

[0066] Alternatively, in one embodiment, the communication map may also store the camping success rate of each operator. The communication quality information may include the camping success rate of each operator. The camping success rate of each operator in the communication map may be determined based on the cell ID, communication quality parameters and handover failure logs reported by the terminal. When determining the target operator, the camping success rate of each operator is combined to determine the target operator in order to improve the communication handover success rate.

[0067] Step S1112: Based on historical communication quality information, determine the operator with the best historical communication quality; When communication quality parameters can include reference signal received power and signal-to-interference-plus-noise ratio, the operator with the best historical communication quality can be the operator with the highest reference signal received power and signal-to-interference-plus-noise ratio.

[0068] Step S1113: Select the operator with the best historical communication quality as the target operator.

[0069] In another embodiment, when operator A has the highest reference signal received power and operator B has the highest signal-to-interference-plus-noise ratio, the communication quality parameters of operator A and operator B can be compared with a preset minimum communication quality parameter threshold, and the operator that exceeds the minimum communication quality parameter threshold and has a larger communication quality parameter is selected as the operator with the best historical communication quality.

[0070] The minimum communication quality parameter threshold can be a communication quality parameter that ensures the availability of basic communication functions such as basic voice calls / SMS. In this embodiment, the minimum communication quality parameter threshold may include: a minimum reference signal received power threshold and a minimum signal-to-interference-plus-noise ratio (SNR) threshold, wherein the minimum reference signal received power threshold is -110 dBm and the minimum SNR threshold is 5 dB. When the operator's reference signal received power is greater than the minimum reference signal received power threshold and the SNR is greater than the minimum SNR threshold, it is determined that the operator can meet the basic communication function requirements.

[0071] Selecting an operator whose network quality parameters exceed the minimum threshold as the target operator can prevent the communication module from being completely disconnected, such as being unable to register, and ensure that the communication module has at least basic communication functions such as basic voice calls / SMS after entering the target area.

[0072] In this embodiment, based on a preset communication map, communication quality information of at least two different operators in the target area is obtained. Based on the historical communication quality information, the operator with the best historical communication quality is determined and used as the target operator to improve the communication quality of the communication module after handover.

[0073] This embodiment provides another implementation of step S110, such as... Figure 6 As shown, obtaining the preset target operator corresponding to the target area includes: Step S1121: Based on a preset communication map, obtain the coverage heat map values ​​of at least two different operators in the target area; wherein, the communication map stores the coverage heat map values ​​of multiple operators in the target area; Coverage heatmaps can be used to determine the quality of wireless signal coverage for an operator in a target area. The coverage heatmap can be obtained by the ratio of the number of sampling points in the target area whose signal communication quality parameters are better than the set communication signal quality parameters to the total number of sampling points.

[0074] Step S1122: Obtain second communication quality parameters from at least two different operators; The second communication quality parameter can be a communication quality parameter detected in real time. The second communication quality adoption number can include parameters such as the reference signal received power and the signal-to-interference-plus-noise ratio.

[0075] Step S1123: Obtain second support information for the multi-communication module operation mode from at least two different operators, and obtain the operation mode score information of each operator based on the preset score information. The second support information is used to determine the operating modes of the multiple communication modules supported by each operator.

[0076] When scoring the multi-communication module operation modes supported by various operators, it is possible to probe the operators' real network behaviors such as RRC (Radio Resource Control) connection establishment, TAU (Tracking Area Update), and handover signaling interactions. By obtaining the round-trip time (RTT) jitter of the operators' real network behaviors, scoring information is obtained according to the set risk scoring rules. For example, if the risk score ∈ [0.0, 1.0], when the RTT jitter > 300ms, the risk score is 1.0; when the RTT jitter ≤ 50ms, the risk score is 0. The risk score threshold can be determined based on the measured 95th percentile (P95) threshold of the RTT jitter. Optionally, the risk score can also be weighted for different frequency bands. For example, for the NR 2.6GHz band, the corresponding weights are... =0.45, =0.30; For the LTE 700MHz band, its corresponding weight is... =0.42, etc.; where the weight can be determined by analyzing the importance of the frequency band to the risk score based on XGBoost or other analysis algorithms.

[0077] Step S1124: Based on the preset weighting coefficients, the coverage heat value, the second communication quality parameter and the operation mode score information of each operator are weighted and calculated to obtain the score value of each operator. The weights corresponding to the coverage heat value, the second communication quality parameter, and the operating mode score information can be the same or different. In this embodiment, the weights corresponding to the coverage heat value, the second communication quality parameter, and the operating mode score information can be set to different weight values ​​according to actual communication needs.

[0078] In an optional embodiment, for hollow areas with a coverage heat value lower than a preset coverage heat value, the weight of the second communication quality parameter can be increased. The weight increase value can be set according to the actual application scenario. By increasing the proportion of the second communication quality parameter in the score, the connectivity of basic communication can be guaranteed.

[0079] Step S1125: Select the operator with the highest score as the target operator.

[0080] In this embodiment, based on a preset communication map, the coverage heat map values ​​of at least two different operators in the target area are obtained, as are the second communication quality parameters of at least two different operators and the second support information of at least two different operators for the multi-communication module operation mode. The rating value of each operator is obtained by combining the coverage heat map value, communication quality parameters and support information of the multi-communication module operation mode of the operators in the target area from multiple dimensions. The operator with the highest rating value is selected as the target operator to ensure the communication quality of the communication module used by the terminal after the handover.

[0081] In one embodiment, the communication module is a SIM card, and the multi-communication module operation mode includes a multi-SIM multi-pass mode. First support information is used to determine whether the target operator supports the multi-SIM multi-pass mode. A first handover request is generated based on the first support information, including: If it is determined from the first support information that the target operator supports multi-SIM multi-pass mode, a first handover request including a first indication identifier is generated; wherein, the first indication identifier is used to indicate that the communication module used by the terminal is switched to the target communication module based on multi-SIM multi-pass mode; It should be noted that the multi-SIM multi-pass mode of this application may include a multi-pass mode in which the terminal has multiple sets of radio frequency units corresponding to multiple communication modules, and multiple communication modules can be in standby and communication at the same time; it may also include a multi-pass mode in which the terminal has a single set of radio frequency units, or the number of radio frequency units in the terminal is less than the number of communication modules, and the multi-SIM multi-pass function is implemented by software means, such as using time division multiplexing (TDD) technology to control the network of multiple cards to switch cyclically in a very short time such as one-thousandth of a millisecond; or, the multi-pass function is implemented by the system intelligently allocating communication resources, etc.

[0082] When the number of radio frequency units in the terminal is less than the number of communication modules, the target operator's support information for multi-SIM multi-pass mode can be obtained by combining the frequency bands used by the communication modules. The target operator's support for multi-SIM multi-pass mode varies for different frequency bands. For example, in some scenarios, the target operator may only support multi-SIM multi-pass mode for some frequency bands. Whether the target operator supports multi-SIM multi-pass mode can be determined based on the target operator's local network and service deployment.

[0083] The multi-SIM multi-pass mode switches the terminal's communication module to the target communication module without requiring physical re-registration. The switching can be completed within milliseconds, providing a seamless user experience.

[0084] If it is determined from the first support information that the target operator does not support the multi-SIM multi-pass mode, a first handover request including a second indication identifier is generated; wherein, the second indication identifier is used to indicate that the communication module used by the terminal is switched to the target communication module based on the multi-SIM single-pass mode.

[0085] When the terminal has only two SIM cards, the multi-SIM multi-pass mode can be dual-SIM dual-pass mode (DSDA), and the multi-SIM single-pass mode can be dual-SIM single-pass mode (DSDS).

[0086] Switching the terminal's communication module to the target communication module using the multi-SIM single-pass mode requires first releasing the resources used by the original communication module, and then rebuilding the RRC connection. This process takes 1-3 seconds and may result in a brief disconnection, affecting the user experience.

[0087] In this embodiment, it is determined whether the target operator supports multi-SIM multi-pass mode based on the first support information. When it is determined that the target operator supports multi-SIM multi-pass mode, a first switching request including a first indication identifier is generated, thereby switching the communication module used by the terminal to the target communication module based on multi-SIM multi-pass mode, improving the user experience. When it is determined that the target operator does not support multi-SIM multi-pass mode, a first switching request including a second indication identifier is generated, thereby switching the communication module used by the terminal to the target communication module based on multi-SIM single-pass mode, avoiding communication interruption after the communication module enters the target area, and ensuring communication continuity.

[0088] In one embodiment, obtaining the target operator's first support information for the multi-communication module operating mode includes: Obtain the whitelist of operators that support multi-SIM multi-pass mode; Send a query command to the target operator's query interface; Send a probe command to the target operator and obtain the operator's feedback information on the probe command; The operator is determined to support the multi-SIM multi-pass mode when at least one of the following conditions is met: the target operator is in the whitelist; the query information returned by the query interface in response to the query command includes preset identification information; the identification information is used to indicate that the operator supports the multi-SIM multi-pass mode; and the feedback information meets the preset feedback conditions.

[0089] The whitelist can be a list of carriers that support multiple SIM cards and multiple pass functionality.

[0090] To determine whether a target operator is on the whitelist, the target operator's information can be matched with the information of operators on the whitelist, and the matching result can be used to determine whether the target operator is on the whitelist.

[0091] In one embodiment, the target operator's information of the terminal can be read through the terminal's Hardware Abstraction Layer (HAL). For example, the International Mobile Subscriber Identity (IMSI) can be queried by sending AT commands. The IMSI includes the Mobile Country Code (MCC), Mobile Network Code (MNC), and Mobile Subscriber Identification Number (MSIN), and the operator's information can be obtained from the IMSI.

[0092] In this embodiment, the operator's information may include a Mobile Country Code (MCC) and a Mobile Network Code (MNC). The MCC is used to identify the country or region to which the operator belongs, and the MNC is used to identify the specific operator. The target operator is determined to be in the whitelist by matching the MCC and MNC of the operators in the whitelist with the MCC and MNC of the target operator.

[0093] The query interface is used to query whether an operator supports multi-SIM multi-pass mode. When an operator supports multi-SIM multi-pass mode, the query information returned by the interface includes preset identification information, which may include identifier bits. The operator's support for multi-SIM multi-pass mode is determined by identifying these preset identifier bits. Optionally, the query interface can be an interface provided by the operator's base station. It can send a query command to the base station during the RRC (Radio Resource Control) connection establishment phase of establishing a signaling connection between the terminal and the base station. This query command may include identification information (such as IMSI) to bypass USIM restrictions and obtain the operator's true support status for multi-SIM multi-pass mode.

[0094] The probe command is used to simulate real network behavior and collect feedback information from the operator in real time, thereby reflecting the operator's actual performance in supporting the multi-SIM multi-pass mode.

[0095] The probe command can be a TCP probe command based on the Transmission Control Protocol (TCP) or an ICMP probe command based on the Internet Control Message Protocol (ICMP).

[0096] Optionally, an active end-to-end testing tool (hereinafter referred to as L3 probe) deployed at or above the OSI model layer 3 (network layer) can be used. The L3 probe can actively initiate controllable service traffic (such as TCP, ICMP, UDP, HTTP, etc.) and collect the transmission indicators fed back by the network in real time. The L3 probe can simulate the real service experience to detect the operator's support information for multi-SIM multi-pass mode.

[0097] Specifically, within the same geographic grid, the L3 probe independently runs tests for each frequency band (such as LTE B1 / B3 / B8 / B41, NR n41 / n78) that the current terminal has registered, with ≥3 rounds per frequency band and each round lasting 30 seconds, in order to isolate signal interference between different frequency bands and ensure that the collected indicators accurately belong to a single frequency band.

[0098] Feedback information may include one or more feedback metrics. Feedback metrics are used to determine latency stability, whether there is packet loss or no response, such as RTT (Round Trip Time) jitter rate, timeout rate, etc.

[0099] Feedback conditions are used to determine whether the target operator supports multi-SIM multi-pass mode based on feedback information. Feedback conditions can include feedback indicators being within a preset range, etc.

[0100] In this embodiment, the number and content of conditions required to determine whether an operator supports the multi-SIM multi-pass mode can be set according to the actual application scenario. For example, it can be set to meet any one condition, meet any number of conditions, or meet all conditions, in combination with the requirements of judgment efficiency and / or accuracy.

[0101] In this embodiment, by obtaining a whitelist of operators that support multi-SIM multi-pass mode, sending a query command to a preset query interface, sending a probe command to the target operator, and obtaining the operator's feedback information on the probe command, the accuracy of the first support information obtained is improved by determining whether the target operator supports multi-SIM multi-pass mode from multiple dimensions.

[0102] In another embodiment, obtaining the target operator's first support information for multi-SIM operating mode includes: Obtain the whitelist of operators that support multi-SIM multi-pass mode; Send a query command to the target operator's query interface; Send a probe command to the target operator and obtain the operator's feedback information on the probe command; The operator is deemed to support multi-SIM multi-pass mode when all of the following conditions are met: the target operator is in the whitelist; the query interface returns query information that includes preset identification information; the identification information is used to indicate that the operator supports multi-SIM multi-pass mode; and the feedback information meets preset feedback conditions.

[0103] The steps in this embodiment are implemented in the same way as those in the previous embodiment. The difference is that in this embodiment, all conditions need to be met to determine whether the operator supports the multi-SIM multi-pass mode. For the specific implementation of each step, please refer to the description of the above embodiment, which will not be repeated here.

[0104] In this embodiment, the operator is determined to support the multi-SIM multi-pass mode only when all of the following conditions are met: the target operator is in the whitelist; the query information returned by the query interface in response to the query command includes preset identification information; the identification information is used to indicate that the operator supports the multi-SIM multi-pass mode; the feedback information meets the preset feedback conditions; and multiple judgment conditions are combined to determine that the operator supports the multi-SIM multi-pass mode, thereby improving the accuracy of the judgment of the multi-communication module operation mode supported by the operator.

[0105] In one embodiment, the feedback information includes round-trip time jitter rate and timeout rate, and the feedback information meets preset feedback conditions, including: the round-trip time jitter rate is less than or equal to the round-trip time jitter rate threshold, and the timeout rate is less than or equal to the timeout rate threshold.

[0106] Optionally, the round-trip time jitter rate threshold and the timeout rate threshold can be preset fixed thresholds. Alternatively, in another embodiment, the round-trip time jitter rate threshold and the timeout rate threshold can be determined based on historical round-trip time jitter rate data and historical timeout rate data for that frequency band.

[0107] For example, the round-trip time jitter rate threshold and the timeout rate threshold can be the median (P50) of the historical round-trip time jitter rate data and historical timeout rate data of the frequency band. The historical round-trip time jitter rate data and historical timeout rate data of the frequency band can be stored in the communication map and obtained by reading the historical detection data of the frequency band of the grid in the communication map.

[0108] In this embodiment, by sending a probe command to the operator to simulate a real service experience, the round-trip time jitter rate and timeout rate of the target operator for the probe command are obtained. The support information of the target operator for the multi-SIM multi-pass mode is determined based on whether the round-trip time jitter rate is less than or equal to the round-trip time jitter rate threshold and whether the timeout rate is less than or equal to the timeout rate threshold, thereby improving the accuracy of detecting the target operator's support for the multi-SIM multi-pass mode.

[0109] In the above embodiments, when the round-trip time jitter rate is less than or equal to the round-trip time jitter rate threshold and the timeout rate is less than or equal to the timeout rate threshold, it is determined that the target operator supports the multi-SIM multi-pass mode.

[0110] In one embodiment, the round-trip time jitter rate and timeout rate can be further combined to obtain the target operator's service support information for the multi-SIM multi-pass mode. This service support information is used to determine the types of services supported by the target operator in the multi-SIM multi-pass mode, such as supporting all types of network services or supporting only some types of network services. The types of network services may include TCP services used for actions such as web browsing, API requests, and file uploads, and UDP services used for actions such as DNS queries and audio / video RTP streaming.

[0111] The round-trip time jitter rate threshold may include a first round-trip time jitter rate threshold and a second round-trip time jitter rate threshold, and the timeout rate threshold may include a first timeout rate threshold and a second timeout rate threshold.

[0112] Feedback conditions include a first feedback condition and a second feedback condition. The feedback information conforms to the preset feedback conditions, including: If the round-trip time jitter rate is less than or equal to the first round-trip time jitter rate threshold, and the timeout rate is less than or equal to the first timeout rate threshold, the feedback information is determined to meet the first feedback condition. If the round-trip time jitter rate is less than or equal to the second round-trip time jitter rate threshold, and the timeout rate is less than or equal to the second timeout rate threshold, the feedback information is determined to meet the second feedback condition. Wherein, if the first timeout rate threshold is less than the second timeout rate threshold, when the feedback information meets the first feedback condition, the target operator's business support information is determined to be that all services support the multi-SIM multi-pass mode; when the feedback information meets the second feedback condition, the target operator's business support information is determined to be that some services support the multi-SIM multi-pass mode.

[0113] The first round-trip time jitter threshold can be the median of the historical round-trip time jitter rate for this frequency band, the first timeout rate threshold can be the median of the historical timeout rate for this frequency band, the second round-trip time jitter threshold can be the mean of the round-trip time jitter rate for this frequency band + 2σ, the second timeout rate threshold can be the 95th percentile (P95) of the historical timeout rate for this frequency band, and σ is the standard deviation.

[0114] For example, if the feedback information meets the first feedback condition, it is determined that the target operator supports all types of network services, including TCP and UDP services. If the feedback information meets the second feedback condition, it is determined that the target operator only supports certain types of network services, such as UDP services, and does not support certain types of network services, such as TCP services. For unsupported service types, methods such as reverting the network service of that type to other, better frequency bands can be adopted.

[0115] In this embodiment, the round-trip time jitter rate is compared with the first round-trip time jitter rate threshold and the second round-trip time jitter rate threshold, and the timeout rate is compared with the first timeout rate threshold and the second timeout rate threshold, respectively. It is determined whether the feedback information meets the first feedback condition or the second feedback condition, thereby determining whether the target operator supports multi-SIM multi-pass mode for all services or only some services, thus improving the accuracy of detecting services supported by the target operator in multi-SIM multi-pass mode.

[0116] The first switching request is used to switch the communication module used by the terminal to the target communication module corresponding to the target operator before entering the target area on the preset path. After leaving the target area, the communication module used by the terminal can be restored to the original communication module to avoid affecting the user's normal use.

[0117] like Figure 7 As shown, after generating the first handover request, the method further includes: Step S310: Generate communication module information; wherein, the communication module information is used to record the information of the communication module used by the terminal before and after the handover; The communication module information may include the communication module used by the terminal before and after the handover, the operator to which the communication module belongs, the handover source, and the current terminal status. Among them, the handover source is used to record the terminal that issued the handover request, and the current terminal status is used to record whether the current terminal is in the cave entry state, the initial state, etc.

[0118] Step S320: In response to the terminal leaving the target area on the preset path, obtain the operator to which the communication module belonged before the handover based on the communication module information, perform a dwell verification on the operator to which the communication module belonged before the handover, and generate a recovery command when the number of successful dwell verifications is greater than the target number. The dwell verification can be used to verify the dwell success rate of the communication module belonging to the operator before the handover.

[0119] The target number of attempts can be set according to actual needs. In this embodiment, when the number of successful verification attempts is 3, a recovery command is generated, causing the communication module used by the terminal to revert to the communication module used before the switch.

[0120] In this embodiment, in response to the terminal leaving the target area on the preset path, the operator to which the communication module belonged before the switch is obtained according to the communication module information. The operator to which the communication module belonged before the switch is verified. When the number of successful verifications is greater than the target number, a recovery command is generated to restore the communication module used by the terminal to the communication module before the switch, so as to avoid frequent switching caused by signal jumps at the exit of the target area and improve communication stability.

[0121] Step S330: In response to the recovery command, the communication module used by the terminal is restored to the communication module before the switch, based on the communication module information.

[0122] The recovery command can be a command generated by the user operating the terminal, or it can automatically detect the terminal's location information, determine whether the terminal has left the target area based on the terminal's location information, and then automatically generate a recovery command to restore the communication module used by the terminal when it is determined that the terminal has left the target area.

[0123] In this embodiment, after generating the first handover request, communication module information is generated to record the communication modules used by the terminal before and after the handover. In response to the recovery command, the communication module used by the terminal can be restored to the communication module before the handover based on the communication module information, so as to avoid the handover affecting the user's normal use.

[0124] In related technologies, when the terminal is detected to have left the target area, the communication module used by the terminal is restored to the communication module before the switch. However, when the target area is a tunnel, the communication module is prone to frequent switching at the tunnel exit due to signal jumps, which affects the stability of communication.

[0125] like Figure 8 As shown, the communication switching method provided in this embodiment further includes: Step S410: According to the set time period, periodically obtain the third communication quality parameters of at least two different operators; wherein, the at least two different operators include the first operator; In this embodiment, the time period can be 3 seconds, with communication quality parameters from each operator being acquired every 3 seconds. In other embodiments, the time period can also be set according to actual application requirements.

[0126] Step S420: When the third communication quality parameter of the first operator is greater than the third communication quality parameter of the target operator, obtain the third support information of the first operator for the multi-communication module operation mode; wherein, the third support information is used to determine the multi-communication module operation mode supported by the first operator. When the third communication quality parameter of the first operator is detected to be greater than that of the third communication quality parameter of the target operator, that is, the communication quality of the first operator is better than that of the target operator.

[0127] The process of obtaining the third supporting information can be referred to the description of the first supporting information acquisition steps in the above embodiment, and will not be repeated here.

[0128] Step S430: Generate a second handover request based on the third support information; wherein, the second handover request is used to request the switching of the communication module used by the terminal to the communication module corresponding to the first operator based on the multi-communication module operation mode supported by the first operator.

[0129] This embodiment can also be applied to scenarios where the target communication module fails to establish a communication connection with the target operator, such as a scenario where establishing a PDP (Packet Data Protocol) connection fails. When the target communication module is unable to establish a communication connection, if an operator with a better signal is detected, the communication module used by the terminal is switched to the communication module corresponding to that operator, thereby avoiding communication interruption.

[0130] In one embodiment, the third communication quality parameter can be the reference signal received power, and the determination of whether to generate a second handover request can also be based on the magnitude of the difference between the reference signal received power of the first operator and the target operator.

[0131] A second handover request is generated only when the reference signal received power difference is greater than or equal to a preset threshold to avoid frequent handovers. The threshold can be set according to requirements; in this embodiment, it can be 8 dB. The reference signal received power difference (ΔRSRP) is used to measure the signal strength difference between two different signal sources.

[0132] In one embodiment, if the first operator supports a multi-SIM multi-pass mode, after switching the communication module used by the terminal to the communication module corresponding to the first operator, the quality of service (QoS) requirements (low latency, high reliability) of the target communication module can be mapped to the wireless resources of the communication module corresponding to the first operator. For example, SIM A can be used as a physical SIM card, and SIM B with better signal can be used as a virtual SIM card, thereby realizing "using SIM A's number to initiate a service, but all data / voice traffic is transmitted by SIM B's base station". This can be applied to scenarios such as vehicle-to-everything (V2X) emergency calls, so as to use SIM A's identity to send out distress information through SIM B's network.

[0133] Other communication modules can be real communication modules or virtual communication modules, such as virtual SIM cards.

[0134] In one embodiment, when the communication quality parameters of card A (such as reference signal received power and / or signal-to-interference-plus-noise ratio) are detected to be lower than a preset threshold multiple times in a row, and the current terminal is located in a preset area (such as a target area or a hole area) based on the geofence attribute of the communication map, the terminal can be prevented from automatically switching communication modules and can connect to other operator networks by utilizing other communication modules with better signals in order to maintain the call or data connection.

[0135] It should be noted that in this embodiment, in addition to switching the communication module used by the terminal to the communication module corresponding to the first operator, the communication quality parameters of other operators can also be obtained periodically according to a set time period. When other operators with higher communication quality parameters are detected, the communication module used by the terminal can be switched to the communication module corresponding to the other operator, thereby ensuring communication quality.

[0136] The steps for switching the communication module used by the terminal based on the multi-SIM operating mode supported by the first operator can be referred to the description in the above embodiment, and will not be repeated here.

[0137] In this embodiment, by periodically acquiring the communication quality parameters of other operators according to a set time period, when a higher communication quality parameter of another operator is detected, the communication module used by the terminal is switched to the communication module corresponding to that other operator, thereby improving the communication quality of the terminal.

[0138] It should be understood that, although Figure 2-8 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2-8 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.

[0139] In one embodiment, such as Figure 9 As shown, a communication switching device is provided, applied to a terminal equipped with at least two communication modules, the at least two communication modules belonging to at least two different operators, the terminal moving along a preset path, the device comprising: The target operator acquisition module 210 is used to determine a preset target operator corresponding to the target area before entering the target area on the preset path; wherein the target operator is one of at least two different operators. The communication quality parameter acquisition module 220 is used to acquire the first communication quality parameter of the target operator and determine whether the first communication quality parameter meets the communication conditions. The information acquisition module 230 is used to acquire first support information of the target operator for the operation mode of multiple communication modules; the first support information is used to determine the operation mode of multiple communication modules supported by the target operator. The switching request generation module 240 is used to generate a first switching request based on the first support information if the first communication quality parameter meets the communication conditions; wherein, the first switching request is used to request the switching of the communication module used by the terminal to the target communication module corresponding to the target operator based on the multi-communication module operation mode supported by the target operator.

[0140] In one embodiment, the target operator acquisition module 210 includes: A coverage heatmap acquisition unit is used to acquire the coverage heatmap values ​​of the at least two different operators in the target area based on a preset communication map; wherein the communication map stores the coverage heatmap values ​​of multiple operators in the target area; The second communication quality parameter acquisition unit is used to acquire the second communication quality parameters of the at least two different operators; The operation mode rating information acquisition unit is used to acquire the second support information of the operation mode of the multi-communication module from the at least two different operators, and to acquire the operation mode rating information of each operator based on the preset rating information. The scoring value acquisition unit is used to perform weighted calculations on the coverage heat value, second communication quality parameter and operation mode scoring information of each operator according to preset weight coefficients to obtain the scoring value of each operator. The second target operator determination unit is used to select the operator with the highest score as the target operator.

[0141] In one embodiment, the communication module is a SIM card, and the multi-communication module operation mode includes a multi-SIM multi-pass mode. The first support information is used to determine whether the target operator supports the multi-SIM multi-pass mode; the handover request generation module 240 includes: The first request generation unit is configured to generate a first handover request including a first indication identifier if it is determined from the first support information that the target operator supports the multi-SIM multi-pass mode; wherein the first indication identifier is used to indicate that the communication module used by the terminal is switched to the target communication module based on the multi-SIM multi-pass mode. The second request generation unit is configured to generate a first handover request including a second indication identifier if it is determined from the first support information that the target operator does not support the multi-SIM multi-pass mode; wherein the second indication identifier is used to indicate that the communication module used by the terminal is switched to the target communication module based on the multi-SIM single-pass mode.

[0142] In one embodiment, the information acquisition module 230 includes: The first whitelist acquisition unit is used to acquire the whitelist of operators that support multi-SIM multi-pass mode; The first query instruction sending unit is used to send query instructions to a preset query interface; The first feedback information acquisition unit is used to send a probe command to the target operator and acquire the target operator's feedback information in response to the probe command. The first support information determination unit is used to determine that the target operator supports the multi-SIM multi-pass mode when at least one of the following conditions is met: the target operator is in the whitelist; the query information returned by the query interface in response to the query command includes preset identification information; the identification information is used to indicate that the target operator supports the multi-SIM multi-pass mode; and the feedback information meets the preset feedback conditions.

[0143] In one embodiment, the feedback information includes round-trip time jitter rate and timeout rate, and the feedback conditions include a first feedback condition and a second feedback condition. The feedback information conforms to preset feedback conditions, including: If the round-trip time jitter rate is less than or equal to the first round-trip time jitter rate threshold, and the timeout rate is less than or equal to the first timeout rate threshold, the feedback information is determined to meet the first feedback condition. If the round-trip time jitter rate is less than or equal to the second round-trip time jitter rate threshold, and the timeout rate is less than or equal to the second timeout rate threshold, the feedback information is determined to meet the second feedback condition. Among them, the first round-trip time jitter rate threshold is less than the second round-trip time jitter rate threshold, and the first timeout rate threshold is less than the second timeout rate threshold; when the feedback information meets the first feedback condition, the target operator's business support information is determined to be that all services support multi-SIM multi-pass mode; when the feedback information meets the second feedback condition, the target operator's business support information is determined to be that some services support multi-SIM multi-pass mode.

[0144] In one embodiment, the switch request generation module 240 further includes: The location information acquisition unit is used to determine the empty areas on the preset path based on the preset communication map, take the empty areas as the target areas, and acquire the location information of the target areas; wherein, the communication map stores the location information of multiple empty areas; The information acquisition unit is used to acquire the location information and movement information of the terminal; The movement time acquisition unit is used to acquire the time it takes for the terminal to move from its current location to the target area based on the terminal's location information, the movement information, and the target area's location information; The first switching request generation unit is used to generate a first switching request based on the first support information when the time is a preset time threshold.

[0145] In one embodiment, the apparatus further includes: The communication module information generation module is used to generate communication module information; the communication module information is used to record the information of the communication module used by the terminal before and after the handover. The dwell verification module is used to respond to the terminal leaving the target area on the preset path, obtain the operator to which the communication module belonged before the handover based on the communication module information, perform dwell verification on the operator to which the communication module belonged before the handover, and generate a recovery command when the number of successful dwell verifications is greater than the target number. The recovery module is used to restore the communication module used by the terminal to the communication module before the switch, based on the communication module information, in response to the recovery command.

[0146] In one embodiment, the apparatus further includes: The third communication quality parameter acquisition module is used to periodically acquire third communication quality parameters from at least two different operators according to a set time period; wherein, the at least two different operators include the first operator; The third support information acquisition module is used to acquire the third support information of the first operator for the multi-communication module operation mode when the third communication quality parameter of the first operator is greater than the third communication quality parameter of the target operator; wherein, the third support information is used to determine the multi-communication module operation mode supported by the first operator. The second handover request generation module is used to generate a second handover request based on the third support information; wherein, the second handover request is used to request, based on the multi-communication module operation mode supported by the first operator, to switch the communication module used by the terminal to the communication module corresponding to the first operator.

[0147] Specific limitations regarding the communication switching device can be found in the limitations of the communication switching method described above, and will not be repeated here. Each module in the aforementioned communication switching device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in the electronic device, or stored in software in the memory of the electronic device, so that the processor can call and execute the operations corresponding to each module.

[0148] like Figure 10 As shown, in one embodiment, an electronic device is provided, which includes a communication interface 310, a processor 320, and a memory 330. The memory 330 can be disposed inside the communication device or outside the communication device.

[0149] The methods in the foregoing embodiments of this application can all be implemented by the processor 320. The processor 320 sends data through the communication interface 310. During implementation, each step of the processing flow can be completed by the integrated logic circuitry in the hardware of the processor 320 or by software instructions to execute the method performed by the terminal. The memory 330 is connected to the processor 320, such as by coupling.

[0150] The communication interface 310 involved in the embodiments of this application can be a circuit, a bus, a transceiver, or any other device that can be used for information exchange.

[0151] The processor 320 involved in the embodiments of this application can be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and can implement or execute the various methods and steps disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly reflected as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0152] The coupling in the embodiments of this application is an indirect coupling or communication connection between devices, modules, or modules, which can be electrical, mechanical, or other forms, and is used for information interaction between devices, modules, or modules.

[0153] The processor may work in conjunction with memory. Memory can be non-volatile memory, such as hard disk drives (HDDs) or solid-state drives (SSDs), or it can be volatile memory, such as random-access memory (RAM). Memory is any other medium capable of carrying or storing desired program code in the form of instructions or data structures, and accessible by a computer, but is not limited to this.

[0154] This application does not limit the specific connection medium between the aforementioned communication interface, processor, and memory. For example, the memory, processor, and communication interface can be connected via a bus. This bus can be categorized as an address bus, data bus, control bus, etc. Of course, the connection bus between the processor and memory is not the same as the connection bus between the aforementioned terminal device and network device.

[0155] Those skilled in the art will understand that Figure 10The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0156] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above. Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0157] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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.

[0158] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

[0159] It should be noted that in the embodiments of this application, data related to user information or user data (e.g., historical search behavior) needs to be obtained and processed only after obtaining the user's authorization and consent. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

Claims

1. A communication handover method, characterized in that, Applied to a terminal equipped with at least two communication modules belonging to at least two different operators, the terminal moves along a preset path, the method comprising: Before entering the target area on the preset path, a preset target operator corresponding to the target area is determined; wherein, the target operator is one of the at least two different operators; Obtain the first communication quality parameter of the target operator and determine whether the first communication quality parameter meets the communication conditions; Obtain first support information for the target operator's multi-communication module operation mode; the first support information is used to determine the multi-communication module operation modes supported by the target operator. If the first communication quality parameter meets the communication conditions, a first handover request is generated based on the first support information; wherein, the first handover request is used to request, based on the multi-communication module operation mode supported by the target operator, to switch the communication module used by the terminal to the target communication module corresponding to the target operator.

2. The method according to claim 1, characterized in that, The step of determining the preset target operator corresponding to the target area includes: Based on a preset communication map, the coverage heatmap values ​​of the at least two different operators in the target area are obtained; wherein, the communication map stores the coverage heatmap values ​​of multiple operators in the target area; Obtain the second communication quality parameters of the at least two different operators; Obtain second support information for the operation modes of the multiple communication modules from at least two different operators, and obtain the operation mode score information of each operator based on preset score information; Based on preset weighting coefficients, the coverage heat value, second communication quality parameter and operation mode score information of each operator are weighted and calculated to obtain the score value of each operator. The operator with the highest score will be selected as the target operator.

3. The method according to claim 1, characterized in that, The communication module is a SIM card, and the multi-communication module operation mode includes a multi-SIM multi-pass mode. The first support information is used to determine whether the target operator supports the multi-SIM multi-pass mode. The step of generating a first handover request based on the first support information includes: If it is determined from the first support information that the target operator supports multi-SIM multi-pass mode, a first handover request including a first indication identifier is generated; wherein, the first indication identifier is used to indicate that the communication module used by the terminal is switched to the target communication module based on multi-SIM multi-pass mode; If it is determined from the first support information that the target operator does not support the multi-SIM multi-pass mode, a first handover request including a second indication identifier is generated; wherein, the second indication identifier is used to indicate that the communication module used by the terminal is switched to the target communication module based on the multi-SIM single-pass mode.

4. The method according to claim 3, characterized in that, The step of obtaining the first support information for the target operator's multi-communication module operation mode includes: Obtain the whitelist of operators that support multi-SIM multi-pass mode; Send a query command to the preset query interface; Send a probe command to the target operator and obtain the target operator's feedback information on the probe command; The target operator is determined to support multi-SIM multi-pass mode when at least one of the following conditions is met: the target operator is in the whitelist; the query information returned by the query interface in response to the query instruction includes preset identification information; the identification information is used to indicate that the target operator supports multi-SIM multi-pass mode; and the feedback information meets preset feedback conditions.

5. The method according to claim 4, characterized in that, The feedback information includes round-trip time jitter rate and timeout rate; the feedback conditions include a first feedback condition and a second feedback condition; and the feedback information conforms to preset feedback conditions, including: If the round-trip time jitter rate is less than or equal to the first round-trip time jitter rate threshold, and the timeout rate is less than or equal to the first timeout rate threshold, then the feedback information is determined to meet the first feedback condition. If the round-trip time jitter rate is less than or equal to the second round-trip time jitter rate threshold, and the timeout rate is less than or equal to the second timeout rate threshold, then the feedback information is determined to meet the second feedback condition. Wherein, the first round-trip time jitter rate threshold is less than the second round-trip time jitter rate threshold, and the first timeout rate threshold is less than the second timeout rate threshold; when the feedback information meets the first feedback condition, the target operator's service support information is determined to be that all services support multi-SIM multi-pass mode; when the feedback information meets the second feedback condition, the target operator's service support information is determined to be that some services support multi-SIM multi-pass mode.

6. The method according to claim 1, characterized in that, The step of generating a first handover request based on the first support information further includes: Based on a preset communication map, a hole area on the preset path is determined, and the hole area is used as the target area to obtain the location information of the target area; wherein, the communication map stores the location information of multiple hole areas; Obtain the location and movement information of the terminal; Based on the terminal's location information, the movement information, and the target area's location information, the time it takes for the terminal to move from its current location to the target area is obtained; When the time is a preset time threshold, a first switching request is generated based on the first support information.

7. The method according to claim 1, characterized in that, After generating the first handover request, the method further includes: Generate communication module information; wherein, the communication module information is used to record the information of the communication modules used by the terminal before and after the switch; In response to the terminal leaving the target area on the preset path, the operator to which the communication module belonged before the handover is obtained according to the communication module information, and a dwell verification is performed on the operator to which the communication module belonged before the handover. When the number of successful dwell verifications is greater than the target number, a recovery command is generated. In response to the recovery command, the communication module used by the terminal is restored to the communication module before the switch, based on the communication module information.

8. The method according to claim 1, characterized in that, The method further includes: According to a set time period, the third communication quality parameters of the at least two different operators are periodically obtained; wherein, the at least two different operators include the first operator; When the third communication quality parameter of the first operator is greater than the third communication quality parameter of the target operator, the third support information of the first operator for the multi-communication module operation mode is obtained; wherein, the third support information is used to determine the multi-communication module operation mode supported by the first operator. A second switching request is generated based on the third support information; wherein the second switching request is used to request the switching of the communication module used by the terminal to the communication module corresponding to the first operator based on the multi-communication module operation mode supported by the first operator.

9. A communication switching device, characterized in that, An apparatus applicable to a terminal equipped with at least two communication modules belonging to at least two different operators, the terminal moving along a preset path, the apparatus comprising: The target operator acquisition module is used to determine a preset target operator corresponding to the target area before entering the target area on the preset path; wherein the target operator is one of the at least two different operators; A communication quality parameter acquisition module is used to acquire the first communication quality parameter of the target operator and determine whether the first communication quality parameter meets the communication conditions. A support information acquisition module is used to acquire first support information of the target operator for the multi-communication module operation mode; the first support information is used to determine the multi-communication module operation mode supported by the target operator. A switching request generation module is used to generate a first switching request based on the first support information if the first communication quality parameter meets the communication conditions; wherein, the first switching request is used to request the switching of the communication module used by the terminal to the target communication module corresponding to the target operator based on the multi-communication module operation mode supported by the target operator.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.