SIM card control method and apparatus, terminal, and storage medium
By controlling which shared cells the secondary SIM card is allowed to reside in or switching to an idle state, the problem of radio frequency resource conflicts in weak signal environments is solved, thus improving the stability of data services.
Patent Information
- Application Number
- PCT/CN2025/097259
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-31
- Filing Date
- 2025-05-26
- Publication Date
- 2025-12-04
AI Technical Summary
When the terminal is in an environment with weak signal, the primary and secondary SIM cards are prone to radio frequency resource conflicts due to differences in operator network deployment and signal fluctuations, which can affect the stability of data services.
By determining the cell camping information of the SIM card, the system controls which co-built and shared cells the secondary card is allowed to camp on, or sends a message to the network-side equipment to request the secondary card to switch to an idle state when the primary card is transmitting service data, thus avoiding radio frequency resource conflicts.
It reduces radio frequency resource conflicts between SIM cards, improves the stability of data services, and avoids problems such as lag and slow loading.
Smart Images

Figure CN2025097259_04122025_PF_FP_ABST
Abstract
Description
SIM card control methods, devices, terminals and storage media
[0001] This application claims priority to Chinese Patent Application No. 202410700903.4, filed on May 31, 2024, entitled "SIM Card Control Method, Apparatus, Terminal and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application belongs to the field of communication technology, specifically relating to a SIM card control method, device, terminal, and storage medium. Background Technology
[0003] Currently, most terminals can be equipped with two Subscriber Identity Module (SIM) cards provided by the operator: one as the primary card for data services and making and receiving calls, and the other as the secondary card for making and receiving calls only.
[0004] In related technologies, when a terminal is in an environment with weak signal, due to differences in operator network deployment, frequent signal fluctuations, and different network search priorities of primary and secondary SIM cards, it is very easy for primary and secondary SIM cards to compete for radio frequency resources.
[0005] For example, if the secondary SIM card remains in connected mode for an extended period without entering idle mode, it will compete with the primary SIM card for radio frequency resources. Alternatively, if both the primary and secondary SIM cards enter a network coverage area simultaneously, and the primary SIM card registers on the network first while the secondary SIM card does not, the secondary SIM card will frequently search for networks to register, during which time it will compete with the primary SIM card for radio frequency resources. Summary of the Invention
[0006] The purpose of this application is to provide a SIM card control method, device, terminal, and storage medium that can reduce radio frequency resource conflicts between SIM cards.
[0007] In a first aspect, embodiments of this application provide a SIM card control method, the method comprising: applying to a terminal having a first SIM card and a second SIM card, the method comprising: determining cell registration information of the first SIM card and the second SIM card, wherein the first SIM card belongs to a first operator and the second SIM card belongs to a second operator; when the cell registration information indicates that the first SIM card is registered in a first cell and the second SIM card is not registered in a cell, controlling the second SIM card to be registered in the first cell, wherein the first cell is a cell that allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to be registered; or, when the cell registration information indicates that the first SIM card is registered in a second cell and the second SIM card is registered in a third cell, if the first SIM card is transmitting service data and the second SIM card is in a connected state, sending first information to a network-side device, the first information being used to request the second SIM card to be switched from a connected state to an idle state.
[0008] Secondly, embodiments of this application provide a SIM card control device, executed by a terminal having a first SIM card and a second SIM card. The device includes a determining module and a processing module. The determining module is used to determine the cell registration information of the first SIM card and the second SIM card, wherein the first SIM card belongs to a first operator and the second SIM card belongs to a second operator. The processing module is used to: control the second SIM card to register in the first cell when the cell registration information determined by the determining module indicates that the first SIM card is registered in a first cell and the second SIM card is not registered in a cell; the first cell is a cell that allows SIM cards belonging to both the first and second operators to register; or, when the cell registration information indicates that the first SIM card is registered in a second cell and the second SIM card is registered in a third cell, if the first SIM card is transmitting service data and the second SIM card is in a connected state, send first information to the network-side device, the first information being used to request that the second SIM card be switched from a connected state to an idle state.
[0009] Thirdly, embodiments of this application provide a terminal including a processor and a memory, the memory storing programs or instructions executable on the processor, the programs or instructions being executed by the processor to implement the steps of the method described in the first aspect.
[0010] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0011] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
[0012] In a sixth aspect, embodiments of this application provide a computer program / program product stored in a storage medium, which is executed by at least one processor to implement the method as described in the first aspect.
[0013] In this embodiment, cell registration information for a first SIM card and a second SIM card is determined. The first SIM card belongs to a first operator, and the second SIM card belongs to a second operator. If the cell registration information indicates that the first SIM card is registered in a first cell and the second SIM card is not registered in a cell, the second SIM card is controlled to be registered in the first cell, where the first cell is a cell that allows SIM cards belonging to both the first and second operators to be registered. Alternatively, if the cell registration information indicates that the first SIM card is registered in a second cell and the second SIM card is registered in a third cell, and if the first SIM card is transmitting service data and the second SIM card is in a connected state, a first message is sent to the network-side device. This first message is used to request that the second SIM card be switched from a connected state to an idle state. In this solution, since the first cell where the first SIM card belonging to the first operator is registered allows both SIM cards belonging to the first operator and SIM cards belonging to the second operator to register, when the second SIM card belonging to the second operator is not registered in a cell, the terminal can control the second SIM card to register in the first cell where the first SIM card is registered. This avoids the second SIM card frequently searching for networks and competing with the first SIM card for radio frequency resources when offline. Alternatively, since the first SIM card is transmitting service data, the terminal can send a first message to the network-side equipment to switch the second SIM card from a connected state to an idle state. This avoids the second SIM card competing with the first SIM card for radio frequency resources when it remains in a connected state for a long time without entering an idle state. Thus, radio frequency resource conflicts between SIM cards are reduced. Attached Figure Description
[0014] Figure 1 is a flowchart illustrating one of the SIM card control methods provided in this application embodiment;
[0015] Figure 2 is a second schematic flowchart of a SIM card control method provided in an embodiment of this application;
[0016] Figure 3 is a third flowchart illustrating a SIM card control method provided in an embodiment of this application;
[0017] Figure 4 is a schematic diagram of a SIM card control device provided in an embodiment of this application;
[0018] Figure 5 is one of the hardware structure diagrams of a terminal provided in an embodiment of this application;
[0019] Figure 6 is a second schematic diagram of the hardware structure of a terminal provided in an embodiment of this application. Specific Implementation
[0020] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0021] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0022] The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more items, and its meaning is similar to that of "at least one."
[0023] The following explains some concepts involved in the SIM card control method, apparatus, terminal, and storage medium provided in the embodiments of this application.
[0024] 1. The dual SIM card function of a terminal is a common usage scenario for most users. Due to the limitations of the terminal's hardware and software design, it is impossible to guarantee that both SIM cards can send and receive messages simultaneously under all frequency band combinations. Considering that some users want the primary SIM card to continue data services while the secondary SIM card is making a call, in order to ensure the simultaneous operation of the two SIM cards, it is necessary to switch the allocation of radio frequency resources in different time slots according to the protocol. This has led to the development of technologies such as dual-SIM dual-standby and dual-SIM dual-active, which can be divided into three categories: dual-SIM dual-standby (DSDS), dynamic spectrum sharing dual-SIM dual-active (DR-DSDA), and dual-SIM dual-active (DSDA).
[0025] 2. DSDA: Refers to Dual SIM Dual Active, also known as Dual SIM Duplex. It allows a device to use two SIM cards simultaneously, with both SIM cards being active. This means that both SIM cards can simultaneously receive and send calls, SMS messages, and data, and users can use two different network service providers or two different phone numbers at the same time.
[0026] 3. DR-DSDA: Refers to Dynamic Spectrum Sharing Dual-SIM Active Functionality. It combines DSDA and dynamic spectrum sharing technologies, allowing dynamic spectrum sharing between 5G and 4G networks while maintaining dual-SIM active functionality. This allows users to enjoy 5G and 4G network services simultaneously without interruption during network mode switching.
[0027] 4. DSDS: Refers to Dual SIM Dual Standby, also known as Dual SIM Standby. It allows a device to carry two SIM cards, but only one SIM card can be active at any given time, while the other is in standby mode. When the active SIM card receives or sends calls, SMS messages, or data, the standby SIM card will be temporarily deactivated until the active SIM card completes its operation or loses signal.
[0028] 5. Terminal manufacturers cannot support DSDA for all frequency band combinations, meaning that both cards can send and receive information simultaneously. Moreover, due to the inherent limitations of communication systems, even combinations that support DSDA still have some performance gaps compared to a single card. For dual-card frequency band combinations that only support DSDS or DR-DSDA, when one SIM card needs to send and receive signaling, the other SIM card may not be able to work normally at the same time, or may only be able to receive but not send. In these combinations, when the secondary card performs actions that require simultaneous sending and receiving of signaling, it will occupy radio frequency resources, affecting the data transmission of the primary card.
[0029] The SIM card control method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.
[0030] The SIM card control method in this application embodiment can be applied to scenarios where the SIM card is stationed in a cell.
[0031] Currently, most mobile terminals can accommodate two SIM cards provided by different carriers: one as the primary SIM for data services and calls, and the other as a secondary SIM for calls only. In environments with weak signal, when the primary SIM is handling data traffic, differences in carrier network deployment, frequent signal fluctuations, and different network search priorities can cause the secondary SIM to compete for radio frequency resources with the primary SIM. This can significantly impact data services, causing lag, slow loading, and other issues.
[0032] For example, when the primary SIM card is processing data, the secondary SIM card is offline and searching for networks. After finding a cell that can be registered, it initiates registration to seize radio frequency resources. However, after successful registration, the network does not release the connection, causing the primary SIM card to be unable to reclaim radio frequency resources. In other words, when the secondary SIM card is in a connected state for a long time and does not enter an idle state, the secondary SIM card will compete with the primary SIM card for radio frequency resources. Alternatively, when the primary and secondary SIM cards enter the network coverage area at the same time, if the primary SIM card registers on the network first and the secondary SIM card does not, the secondary SIM card will frequently search for networks to register on the network. During this process, the secondary SIM card will compete with the primary SIM card for radio frequency resources.
[0033] In the SIM card control method, apparatus, terminal, and storage medium provided in this application embodiment, since the first cell where the first SIM card belonging to the first operator is registered allows both SIM cards belonging to the first operator and SIM cards belonging to the second operator to be registered, when the second SIM card belonging to the second operator is not registered in a cell, the terminal can control the second SIM card to be registered in the first cell where the first SIM card is registered. This avoids the second SIM card frequently searching for networks and competing with the first SIM card for radio frequency resources when it is offline. Alternatively, since the first SIM card is transmitting service data, the terminal can send first information to the network-side device to switch the second SIM card from a connected state to an idle state. This avoids the second SIM card competing with the first SIM card for radio frequency resources when it is in a connected state for a long time and does not enter an idle state. In this way, radio frequency resource conflicts between SIM cards are reduced.
[0034] The SIM card control method provided in this application can be executed by a SIM card control device, which can be a terminal, or a functional module or entity within the terminal. The following description uses a terminal as an example to illustrate the technical solution provided in this application.
[0035] This application provides a SIM card control method. Figure 1 shows a flowchart of a SIM card control method provided by this application embodiment. The method is executed by a terminal having a first SIM card and a second SIM card. As shown in Figure 1, the SIM card control method provided by this application embodiment may include the following steps 201 and 202, or steps 201 and 203.
[0036] Step 201: The terminal determines the cell registration information of the first SIM card and the second SIM card.
[0037] In the embodiments of this application, the first SIM card belongs to the first operator, and the second SIM card belongs to the second operator.
[0038] In some embodiments of this application, the first operator and the second operator are different operators.
[0039] In some embodiments of this application, the first SIM card can be the primary card of the terminal, and the second SIM card can be the secondary card of the terminal.
[0040] In some embodiments of this application, the aforementioned cell residency information may include the identifier of the residency cell.
[0041] Step 202: When the cell registration information indicates that the first SIM card is registered in the first cell and the second SIM card is not registered in a cell, the terminal controls the second SIM card to be registered in the first cell.
[0042] In the embodiments of this application, the first cell is a cell that allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to reside.
[0043] In some embodiments of this application, when the first SIM card is camped in the first cell and the second SIM card is not camped in the cell, the terminal can determine whether the first cell where the first SIM card is camped is a cell that allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to camp. If the first cell is a cell that allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to camp, the terminal can control the second SIM card to camp in the first cell where the first SIM card is camped.
[0044] It is understandable that, since the first SIM card is stationed in the first cell, and the first cell allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to be stationed there, when the second SIM card belonging to the second operator is not stationed in a cell, the terminal can directly control the second SIM card to be stationed in the first cell where the first SIM card is stationed.
[0045] In some embodiments of this application, the aforementioned first cell can also be understood as a shared cell jointly built by the first operator and the second operator, which allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to reside in the shared cell.
[0046] In some embodiments of this application, when the cell identifier of the first cell is included in the cell camping information of the first SIM card determined by the terminal, the terminal can determine that the first SIM card is camped in the first cell.
[0047] In some embodiments of this application, when the cell identifier is not included in the cell registration information of the second SIM card determined by the terminal, the terminal can determine that the second SIM card is not registered in a cell. Alternatively, when the cell registration information of the second SIM card determined by the terminal is empty, the terminal can determine that the second SIM card is not registered in a cell.
[0048] In some embodiments of this application, when the cell residency information indicates that the first SIM card is resided in the first cell and the second SIM card is not resided in the cell, the terminal can control the second SIM card to stop searching for networks, and then control the second SIM card to reside in the first cell.
[0049] In some embodiments of this application, the terminal can obtain the frequency of the first cell where the first SIM card is camped, and then control the second SIM card to camp in the first cell based on the frequency of the first cell.
[0050] In some embodiments of this application, when the first SIM card and the second SIM card belong to the same operator, and when the first SIM card is registered in the first cell and the second SIM card is not registered in a cell, the terminal can directly control the second SIM card to be registered in the first cell where the first SIM card is registered.
[0051] This avoids the second SIM card frequently searching for networks and consuming radio frequency resources when offline.
[0052] In some embodiments of this application, when the second SIM card is stationed in a cell and the first SIM card is not stationed in a cell, the terminal can determine whether the cell where the second SIM card is stationed allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to be stationed. If the cell where the second SIM card is stationed allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to be stationed, the terminal can control the first SIM card to be stationed in the cell where the second SIM card is stationed.
[0053] In some embodiments of this application, when the second SIM card is stationed in a cell and the first SIM card is not stationed in a cell, if the cell where the second SIM card is stationed does not allow SIM cards belonging to the first operator and SIM cards belonging to the second operator to be stationed, the terminal can set the second SIM card as the primary card, while the first SIM card continues to search for networks until the first SIM card is stationed in a cell. At this point, the terminal restores the default primary and secondary card settings, that is, sets the first SIM card as the primary card and the second SIM card as the secondary card.
[0054] Step 203: If the cell residency information indicates that the first SIM card is resided in the second cell and the second SIM card is resided in the third cell, and if the first SIM card is transmitting service data and the second SIM card is in a connected state, then the terminal sends the first information to the network-side device.
[0055] In the embodiments of this application, the first information is used to request the second SIM card to be switched from a connected state to an idle state.
[0056] In some embodiments of this application, the first information mentioned above may be UE Assistance Information (UAI).
[0057] In some embodiments of this application, the first information carries a ReleasePreference field, which is used to instruct the network-side device to release RRC_CONNECTED and switch to RRC_IDLE, that is, to switch the second SIM card from the connected state to the idle state.
[0058] In some embodiments of this application, after receiving the first information sent by the terminal, the network-side device can control the second SIM card to be in an idle state.
[0059] In some embodiments of this application, after the network-side device controls the second SIM card to be in an idle state, the network-side device can store the registration information of the second SIM card, so that if there is a page from the second SIM card while the second SIM card is in an idle state, the second SIM card can still receive and send normally. In other words, when the second SIM card is in an idle state, the page listening of the second SIM card will not be affected.
[0060] In some embodiments of this application, when the cell identifier of the second cell is included in the cell camping information of the first SIM card determined by the terminal, the terminal can determine that the first SIM card is camped in the second cell.
[0061] In some embodiments of this application, when the cell identifier of the third cell is included in the cell camping information of the second SIM card determined by the terminal, the terminal can determine that the second SIM card is camped in the third cell.
[0062] In some embodiments of this application, when the first SIM card is stationed in the second cell and the second SIM card is stationed in the third cell, the terminal can determine whether the first SIM card is transmitting service data. If the first SIM card is not transmitting service data, the process ends.
[0063] It is understandable that since the first SIM card is not transmitting service data, even if the second SIM card preempts the radio frequency resources, it will not cause the service data transmission of the first SIM card to be interrupted, so no further processing is required.
[0064] In some embodiments of this application, when the first SIM card is camped in the second cell, the second SIM card is camped in the third cell, and the first SIM card is transmitting service data, the terminal can further determine the working state of the second SIM card so that when the second SIM card is in the connected state, it can send the aforementioned first information to the network-side device so that the second SIM card switches from the connected state to the idle state.
[0065] It is understandable that, since the first SIM card is transmitting service data, when the second SIM card is in a connected state for a long time, the first SIM card will preempt radio frequency resources, causing the service data transmission of the first SIM card to be interrupted. Therefore, by sending the above-mentioned first information to the network-side device, the first SIM card can be controlled to be in an idle state, thereby avoiding the first SIM card and the second SIM card from preempting radio frequency resources.
[0066] It should be noted that when the second SIM card is in an idle state, the terminal can execute steps 401 and 402, or steps 401 and 403, which will not be described in detail here.
[0067] In the SIM card control method provided in this application embodiment, the first cell where the first SIM card belonging to the first operator is stationed allows both SIM cards belonging to the first operator and SIM cards belonging to the second operator to be stationed. Therefore, when the second SIM card belonging to the second operator is not stationed in a cell, the terminal can control the second SIM card to be stationed in the first cell where the first SIM card is stationed, thus avoiding the second SIM card frequently searching for networks and competing with the first SIM card for radio frequency resources when it is offline. Alternatively, since the first SIM card is transmitting service data, the terminal can send first information to the network-side device to switch the second SIM card from the connected state to the idle state, thus avoiding the second SIM card competing with the first SIM card for radio frequency resources when it is in the connected state for a long time and does not enter the idle state.
[0068] In some embodiments of this application, after step 201 described above, the SIM card control method provided in this application further includes step 301 as described below.
[0069] Step 301: When the cell registration information indicates that the first SIM card is registered in the second cell and the second SIM card is registered in the third cell, the terminal determines whether the target frequency band supports DSDA.
[0070] In the embodiments of this application, the target frequency band includes the frequency band of the second cell and the frequency band of the third cell.
[0071] In some embodiments of this application, the target frequency band is the intersection of the frequency band of the second cell and the frequency band of the third cell.
[0072] In some embodiments of this application, when the first SIM card is camped in the second cell and the second SIM card is camped in the third cell, the terminal can determine whether the target frequency band supports DSDA. If the target frequency band supports DSDA, the process ends.
[0073] It is understandable that when the target frequency band supports DSDA, the terminal can achieve dual-SIM dual-pass without any radio frequency resource conflict, so no further processing is required.
[0074] For example, when playing games using the first SIM card on a device, you can simultaneously use the second SIM card to answer calls, and the second SIM card will not occupy the radio frequency resources of the first SIM card.
[0075] In some embodiments of this application, step 203 described above can be implemented by step 203a as follows.
[0076] Step 203a: If the cell camping information indicates that the first SIM card is camped in the second cell, the second SIM card is camped in the third cell, and the target frequency band does not support DSDA, and if the first SIM card is transmitting service data and the second SIM card is in a connected state, then the terminal sends the first information to the network-side device.
[0077] It is understandable that when the target frequency band does not support DSDA, the terminal cannot achieve dual-SIM dual-pass and there will be a problem of radio frequency resource conflict. Therefore, when the first SIM card is transmitting service data and the second SIM card is in the connected state, the terminal can send the above-mentioned first information to the network side device to make the first SIM card in the idle state and avoid the first SIM card from preempting radio frequency resources.
[0078] Thus, when the terminal determines that dual-SIM dual-pass is not possible, i.e. there will be a conflict of radio frequency resources between the SIM cards, if the first SIM card is transmitting service data and the second SIM card is in a connected state, the network-side device will control the first SIM card to be in an idle state. Therefore, it can avoid the first SIM card from competing for radio frequency resources when it is in a connected state for a long time, thereby avoiding the interruption of the first SIM card's service data transmission.
[0079] In some embodiments of this application, after step 203 above, the SIM card control method provided in this application further includes steps 401 and 402, or steps 401 and 403.
[0080] Step 401: When the second SIM card is in an idle state and the third cell where the second SIM card is camped meets the reselection triggering condition, the terminal obtains the reference signal receiving power (RSRP) of the third cell.
[0081] In some embodiments of this application, the RSRP of the third cell is used to determine whether the signal quality of the third cell is normal.
[0082] It is understandable that in related technologies, when the second SIM card is in an idle state, if the third cell meets the reselection trigger condition, the cell reselection process for the second SIM card will be executed, causing the second SIM card to camp on the new target cell. Furthermore, after the second SIM card camps on the target cell, if the Tracking Area Code (TAC) of the target cell differs from the TAC of the third cell on which the second SIM card camps, a mobility registration update is required to synchronize the current terminal location with the network. However, during the mobility registration update, the second SIM card will compete with the first SIM card for radio frequency resources. Therefore, in this application, when the second SIM card is in an idle state, if the third cell on which the second SIM card camps meets the reselection trigger condition, the signal quality of the third cell can be determined first through the RSRP of the third cell. If the signal quality of the third cell is normal, the cell reselection process is not executed, thus avoiding competition for radio frequency resources between the second and first SIM cards.
[0083] It is understandable that some cell reselection threshold configurations are currently unreasonable, which may trigger the second SIM card to perform cell reselection even when the signal quality of the third cell is normal. For example, it often happens that when a terminal has good signal quality in 4G idle state, such as RSRP of -95dBm, it triggers InterRAT to reselect to a 5G cell, which also has good signal quality, such as RSRP of -99dBm. This situation may be due to network-side equipment configuration to improve the terminal's 5G network access rate. However, the terminal can still receive paging normally when it is in the original cell idle state. This application can prevent the cell reselection process from being executed when the signal quality of the third cell is normal, thereby avoiding the second SIM card competing with the first SIM card for radio frequency resources.
[0084] Step 402: If the RSRP of the third cell is greater than or equal to the first threshold, the terminal does not execute the cell reselection procedure.
[0085] It is understandable that when the RSRP of the third cell is greater than or equal to the first threshold, the terminal can determine that the signal quality of the third cell is normal and there is no need to perform the cell reselection process.
[0086] For example, assuming the first threshold is -110dBm, the terminal can determine whether the RSRP of the third cell is greater than or equal to -110dBm. When the RSRP of the third cell is greater than or equal to -110dBm, the terminal determines that the signal quality of the third cell is normal and there is no need to execute the cell reselection process.
[0087] In the embodiments of this application, the first threshold mentioned above is different from the threshold corresponding to the reselection trigger condition.
[0088] In some embodiments of this application, the threshold corresponding to the reselection trigger condition is greater than the first threshold.
[0089] For example: Suppose the threshold corresponding to the cell reselection trigger condition is -95dBm and the first threshold is -110dBm. When the RSRP of the third cell is -100dBm, the third cell meets the cell reselection trigger condition. However, the RSRP of the third cell is greater than the first threshold. Therefore, the terminal can determine that the signal quality of the third cell is normal and there is no need to execute the cell reselection procedure.
[0090] In some embodiments of this application, the fact that the terminal does not perform the cell reselection process can be understood as: the terminal does not control the second SIM card to perform the cell switching action, that is, the terminal does not control the second SIM card to stay in the new cell, and the second SIM card is still staying in the third cell.
[0091] Step 403: If the RSRP of the third cell is less than the first threshold, the terminal executes the cell reselection process.
[0092] It is understandable that when the RSRP of the third cell is less than the first threshold, the terminal can determine that the signal quality of the third cell is abnormal and needs to perform a cell reselection process.
[0093] For example, assuming the first threshold is -110dBm, the terminal can determine whether the RSRP of the third cell is greater than or equal to -110dBm. When the RSRP of the third cell is less than -110dBm, the terminal determines that the signal quality of the third cell is abnormal and the terminal needs to execute the cell reselection process.
[0094] In some embodiments of this application, the above-mentioned terminal cell reselection process can be understood as: the terminal controls the second SIM card to perform the cell switching action, that is, the terminal controls the second SIM card to stay in the new cell.
[0095] Thus, when the second SIM card is idle and the third cell meets the reselection triggering conditions, the terminal can first determine whether the signal quality of the third cell is normal through the RSRP of the third cell. If the signal quality of the third cell is indeed abnormal, the terminal can then control the second SIM card to camp on the target cell. This avoids the situation where the signal quality of the third cell is normal but cell reselection has already occurred, reducing the number of times the second SIM card frequently performs cell reselection, thereby reducing the number of times the second SIM card performs mobility registration updates, and ultimately reducing the second SIM card's preemption of radio frequency resources.
[0096] In some embodiments of this application, step 401 can be specifically implemented by the following steps 401a and 401b.
[0097] Step 401a: When the second SIM card is in an idle state and the third cell meets the reselection triggering conditions, the terminal triggers the cell reselection process to determine the target cell.
[0098] In some embodiments of this application, the target cell mentioned above can be understood as: a cell that meets the above reselection triggering conditions.
[0099] In some embodiments of this application, when the third cell meets the reselection triggering condition, the cell reselection process can be triggered. The network-side device can send a cell list to the terminal, which includes cells that allow the second SIM card to reside. Then, the terminal can determine a target cell that meets the above-mentioned reselection triggering condition from the cell list.
[0100] Step 401b: If the target cell meets the first condition, the terminal obtains the RSRP of the third cell.
[0101] In the embodiments of this application, the first condition mentioned above is any one of the following:
[0102] The target cell and the third cell have different network standards.
[0103] The target cell and the third cell have the same network standard, but the TAC of the third cell is different from that of the target cell.
[0104] In some embodiments of this application, the fact that the target cell and the third cell correspond to different network standards can be understood as: the target cell and the third cell are cells in different networks.
[0105] For example, when the target cell is a 5G cell and the third cell is a 4G cell, the terminal can determine that the target cell and the third cell have different network standards.
[0106] In some embodiments of this application, the fact that the target cell and the third cell have the same network standard can be understood as: the target cell and the third cell are cells in the same network.
[0107] For example, when both the target cell and the third cell are 4G cells, the terminal can determine that the target cell and the third cell have the same network standard.
[0108] It is understandable that after determining the target cell, the terminal can determine whether the network standards corresponding to the target cell and the third cell are the same. Then, if the network standards corresponding to the target cell and the third cell are different, the terminal obtains the RSRP of the third cell. If the RSRP of the third cell is greater than or equal to the first threshold, it is determined that the signal quality of the third cell is normal and no cell reselection procedure needs to be performed. If the RSRP of the third cell is less than the first threshold, it is determined that the signal quality of the third cell is abnormal and a cell reselection procedure needs to be performed.
[0109] In some embodiments of this application, after determining the target cell, the terminal can determine whether the network standard corresponding to the target cell and the third cell is the same. Then, if the network standard corresponding to the target cell and the third cell is the same, the terminal can further determine whether the TAC of the third cell is the same as the TAC of the target cell. Then, if the TAC of the third cell is different from the TAC of the target cell, the terminal obtains the RSRP of the third cell. If the RSRP of the third cell is greater than or equal to a first threshold, it is determined that the signal quality of the third cell is normal and no cell reselection procedure is required. If the RSRP of the third cell is less than the first threshold, it is determined that the signal quality of the third cell is abnormal and a cell reselection procedure is required.
[0110] It is understandable that in related technologies, when the target cell and the third cell correspond to the same network standard (i.e., the target cell and the third cell are cells in the same network), after the second SIM card is registered in the target cell, if the TAC of the target cell is different from that of the third cell, a mobility registration update is required. However, during the mobility registration update, the second SIM card will compete with the first SIM card for radio frequency resources. Therefore, this application can, when the TAC of the target cell is different from that of the third cell, first determine whether the signal quality of the third cell is normal through the RSRP of the third cell. If the signal quality of the third cell is normal, the cell reselection process is not performed, thus reducing the competition for radio frequency resources by the second SIM card.
[0111] It's understandable that a TAC (Traffic Access Control) can contain multiple cells, and different TACs can cover different areas or overlapping areas. In a mobile network, different TACs can overlap, enabling seamless mobile network coverage and handover. When the TAC of a cell changes, the terminal needs to perform a mobility registration update to synchronize its current location with the network.
[0112] In some embodiments of this application, the terminal can determine whether the target cell meets the requirements for inter-RAT reselection based on the network standard corresponding to the target cell and the third cell. If the target cell meets the requirements for inter-RAT reselection, the terminal can obtain the RSRP of the third cell. If the target cell does not meet the requirements for inter-RAT reselection, the terminal can determine whether the TAC of the third cell is the same as that of the target cell. If the TAC of the third cell is different from that of the target cell, the terminal can obtain the RSRP of the third cell.
[0113] In some embodiments of this application, the terminal can determine that the target cell meets the requirements for inter-RAT reselection when the network standards corresponding to the target cell and the third cell are different.
[0114] In some embodiments of this application, the terminal can determine that the target cell does not meet the requirements for inter-RAT reselection when the network standards corresponding to the target cell and the third cell are the same.
[0115] In some embodiments of this application, inter-RAT reselection can be understood as: reselection between small cells of different networks.
[0116] Thus, since the terminal can determine whether the signal quality of the third cell is normal by using the RSRP of the third cell when the network standards corresponding to the target cell and the third cell are different, or when the network standards corresponding to the target cell and the third cell are the same and the TAC of the target cell is different from that of the third cell, the cell reselection process is not executed when the signal quality of the third cell is normal, thereby reducing the second SIM card from occupying radio frequency resources.
[0117] In some embodiments of this application, the SIM card control method provided in this application may further include the following step 501.
[0118] Step 501: If the target cell and the third cell have the same network standard and the TAC of the third cell is the same as that of the target cell, the terminal executes the cell reselection process.
[0119] It is understandable that after determining the target cell, the terminal can determine whether the network standard corresponding to the target cell and the third cell is the same. Then, if the network standard corresponding to the target cell and the third cell is the same, the terminal can further determine whether the TAC of the third cell is the same as the TAC of the target cell. Then, if the TAC of the third cell is the same as the TAC of the target cell, the terminal executes the cell reselection process.
[0120] It is understandable that when the TAC of the third cell is the same as that of the target cell, the second SIM card does not need to perform a mobility registration update after it is registered in the target cell, and the second SIM card will not preempt radio frequency resources.
[0121] In some embodiments of this application, the terminal can determine whether the TAC of the third cell is the same as that of the target cell when the network standard corresponding to the target cell and the third cell is the same, that is, when the target cell does not meet the requirements for inter-RAT reselection. In order to execute the cell reselection process when the TAC of the third cell is the same as that of the target cell.
[0122] Since the TAC of the target cell is the same as that of the third cell, after the terminal performs the cell reselection process and camps on the target cell, there is no need to perform a mobility registration update, and the second SIM card will not preempt radio frequency resources, thus effectively avoiding the second SIM card from preempting radio frequency resources.
[0123] In some embodiments of this application, as shown in FIG2, the SIM card control method provided in the embodiments of this application may include the following steps S1 to S6.
[0124] S1. The terminal determines the network status of SIM card 1 and SIM card 2;
[0125] In some embodiments of this application, SIM card 1 can be the first SIM card in the above embodiments, and SIM card 2 can be the second SIM card in the above embodiments. SIM card 1 can be the primary card, and SIM card 2 can be the secondary card.
[0126] When neither SIM card 1 nor SIM card 2 is registered in a cell, the terminal executes S2; when SIM card 1 is registered in a cell and SIM card 2 is not registered in a cell, the terminal executes S3.
[0127] S2. If neither SIM card 1 nor SIM card 2 is registered in a cell, the terminal continues to control SIM card 1 and SIM card 2 to search for networks;
[0128] S3. If SIM card 1 is registered in cell 1 and SIM card 2 is not registered in cell 2, the terminal determines whether SIM card 1 and SIM card 2 belong to the same operator.
[0129] When SIM card 1 and SIM card 2 do not belong to the same operator, the terminal executes S4; when SIM card 1 and SIM card 2 belong to the same operator, the terminal executes S5.
[0130] S4. The terminal determines whether cell 1 is a co-constructed and shared cell;
[0131] When cell 1 is a co-construction and sharing cell, the terminal executes S5; when cell 1 is not a co-construction and sharing cell, the terminal executes S6.
[0132] S5, Terminal control SIM card 2 resides in cell 1;
[0133] S6. The terminal controls SIM card 2 to continue searching for networks until SIM card 2 is registered in a cell.
[0134] It should be noted that the relevant descriptions of steps S1 to S6 can be found in the above embodiments, and will not be repeated here.
[0135] In some embodiments of this application, as shown in FIG3, the SIM card control method provided in the embodiments of this application may include the following steps S11 to S21.
[0136] S11. When both SIM card 1 and SIM card 2 are camped in the same cell, the terminal determines whether the frequency band combination of the cells camped by SIM card 1 and SIM card 2 supports DSDA.
[0137] When the frequency band combination of the cells where SIM card 1 and SIM card 2 are camped supports DSDA, the terminal ends the process; when the frequency band combination of the cells where SIM card 1 and SIM card 2 are camped does not support DSDA, the terminal executes S12.
[0138] S12. The terminal determines whether SIM card 1 is transmitting service data.
[0139] When SIM card 1 is not transmitting service data, the terminal ends the process; when SIM card 1 is transmitting service data, the terminal executes S13.
[0140] S13. The terminal determines whether SIM card 2 is in a connected state;
[0141] When SIM card 2 is in a connected state, the terminal executes S14; when SIM card 2 is in an idle state, the terminal executes S15.
[0142] S14. The terminal sends UAI to the network-side device, so that SIM card 2 is in an idle state;
[0143] S15. The terminal determines whether the cell where SIM card 2 is registered meets the reselection trigger condition;
[0144] When the cell where SIM card 2 is camped meets the reselection trigger condition, the terminal executes S16 and S17; when the cell where SIM card 2 is camped does not meet the reselection trigger condition, the terminal ends the process.
[0145] S16. The terminal triggers the cell reselection process to determine the target cell;
[0146] S17. The terminal determines whether the target cell meets the requirements for inter-RAT reselection.
[0147] If the target cell meets the requirements for inter-RAT reselection, the terminal executes S18; if the target cell does not meet the requirements for inter-RAT reselection, the terminal executes S19.
[0148] S18. The terminal determines whether the RSRP of the cell where SIM card 2 is registered is greater than or equal to -110dBm;
[0149] When the RSRP of the cell where SIM card 2 is camped is greater than or equal to -110dBm, the terminal executes S20; when the RSRP of the cell where SIM card 2 is camped is less than -110dBm, the terminal executes S21.
[0150] S19. The terminal determines whether the TAC of the cell where SIM card 2 is registered is the same as the TAC of the target cell;
[0151] When the TAC of the cell where SIM card 2 is registered is the same as the TAC of the target cell, the terminal executes S21; when the TAC of the cell where SIM card 2 is registered is different from the TAC of the target cell, the terminal executes S18.
[0152] S20, The terminal does not execute the cell reselection process;
[0153] S21. The terminal executes the cell reselection process.
[0154] It should be noted that the relevant descriptions of steps S11 to S21 can be found in the above embodiments, and will not be repeated here.
[0155] It should be noted that the SIM card control method provided in this application can be executed by a SIM card control device. This application uses the execution of the SIM card control method by a SIM card control device as an example to illustrate the SIM card control device provided in this application.
[0156] Figure 4 shows a possible structural schematic diagram of the SIM card control device involved in an embodiment of this application. As shown in Figure 4, the SIM card control device 70 may include: a determination module 71 and a processing module 71.
[0157] The determining module 71 is used to determine the cell registration information of the first SIM card and the second SIM card, wherein the first SIM card belongs to the first operator and the second SIM card belongs to the second operator.
[0158] The processing module 72 is configured to: control the second SIM card to be stationed in the first cell when the cell stationing information determined by the determining module 71 indicates that the first SIM card is stationed in the first cell and the second SIM card is not stationed in a cell; the first cell is a cell that allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to be stationed in; or, when the cell stationing information indicates that the first SIM card is stationed in the second cell and the second SIM card is stationed in the third cell, if the first SIM card is transmitting service data and the second SIM card is in a connected state, send first information to the network-side device, the first information being used to request the second SIM card to be switched from the connected state to the idle state.
[0159] This application provides a SIM card control device. Since the first cell where a first SIM card belonging to a first operator is registered allows both SIM cards belonging to the first operator and SIM cards belonging to a second operator to register, when a second SIM card belonging to the second operator is not registered in a cell, the SIM card control device can control the second SIM card to register in the first cell where the first SIM card is registered. This avoids the second SIM card frequently searching for networks and competing with the first SIM card for radio frequency resources when offline. Alternatively, when the first SIM card is transmitting service data, the SIM card control device can send first information to the network-side device to switch the second SIM card from a connected state to an idle state. This avoids the second SIM card competing with the first SIM card for radio frequency resources when it remains in a connected state for a long time without entering an idle state. Thus, radio frequency resource conflicts between SIM cards are reduced.
[0160] In one possible implementation, the determining module 71 is further configured to, after determining the cell camping information of the first SIM card and the second SIM card, determine whether the target frequency band supports DSDA if the cell camping information indicates that the first SIM card is camped in the second cell and the second SIM card is camped in the third cell. The target frequency band includes the frequency band of the second cell and the frequency band of the third cell. The processing module 72 is specifically configured to, if the cell camping information indicates that the first SIM card is camped in the second cell, the second SIM card is camped in the third cell, and the target frequency band does not support DSDA, send first information to the network-side device if the first SIM card is transmitting service data and the second SIM card is in a connected state.
[0161] In one possible implementation, the SIM card control device provided in this application embodiment may further include: an acquisition module; the acquisition module is used to acquire the RSRP of the third cell after the processing module 72 sends the first information to the network-side device, when the second SIM card is in an idle state and the third cell where the second SIM card is camped meets the reselection triggering condition.
[0162] The processing module 72 is further configured to: not execute the cell reselection process when the RSRP of the third cell is greater than or equal to the first threshold; and execute the cell reselection process when the RSRP of the third cell is less than the first threshold; wherein the first threshold is different from the threshold corresponding to the reselection trigger condition.
[0163] In one possible implementation, the acquisition module is specifically used to: trigger a cell reselection process to determine the target cell when the second SIM card is in an idle state and the third cell meets the reselection triggering condition; and acquire the RSRP of the third cell when the target cell meets the first condition; wherein the first condition is any one of the following: the network standards corresponding to the target cell and the third cell are different; the network standards corresponding to the target cell and the third cell are the same, and the TAC of the third cell is different from the TAC of the target cell.
[0164] In one possible implementation, the processing module 72 is further configured to perform a cell reselection process when the target cell and the third cell have the same network standard and the TAC of the third cell is the same as that of the target cell.
[0165] The SIM card control device in this application embodiment can be a terminal or a component within the terminal, such as an integrated circuit or a chip. The terminal can be an electronic device or other devices besides electronic devices. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.
[0166] The SIM card control device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0167] The SIM card control device provided in this application embodiment can implement all the processes implemented in the above method embodiments. To avoid repetition, it will not be described again here.
[0168] Optionally, as shown in FIG5, this application embodiment also provides a terminal 900, including a processor 901 and a memory 902. The memory 902 stores a program or instructions that can run on the processor 901. When the program or instructions are executed by the processor 901, they implement the various steps of the above method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0169] It should be noted that the terminal in this application embodiment includes the mobile terminal and non-mobile terminal described above.
[0170] Figure 6 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of this application.
[0171] The terminal 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
[0172] Those skilled in the art will understand that terminal 100 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to processor 110 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The terminal structure shown in Figure 6 does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0173] The processor 110 is used to determine the cell registration information of the first SIM card and the second SIM card, wherein the first SIM card belongs to the first operator and the second SIM card belongs to the second operator.
[0174] And it is used to: control the second SIM card to be stationed in the first cell when the cell stationing information indicates that the first SIM card is stationed in the first cell and the second SIM card is not stationed in the cell, wherein the first cell is a cell that allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to be stationed in; or, when the cell stationing information indicates that the first SIM card is stationed in the second cell and the second SIM card is stationed in the third cell, if the first SIM card is transmitting service data and the second SIM card is in the connected state, send a first message to the network-side device, wherein the first message is used to request the second SIM card to be switched from the connected state to the idle state.
[0175] This application provides a terminal that, since the first cell where a first SIM card belonging to a first operator is registered allows both SIM cards belonging to the first operator and SIM cards belonging to a second operator to be registered, when a second SIM card belonging to the second operator is not registered in a cell, the terminal can control the second SIM card to be registered in the first cell where the first SIM card is registered. This avoids the second SIM card frequently searching for networks and competing with the first SIM card for radio frequency resources when offline. Alternatively, when the first SIM card is transmitting service data, the terminal can send first information to the network-side device to switch the second SIM card from a connected state to an idle state. This avoids the second SIM card competing with the first SIM card for radio frequency resources when it remains in a connected state for a long time without entering an idle state. Thus, radio frequency resource conflicts between SIM cards are reduced.
[0176] In some embodiments of this application, the processor 110 is further configured to, after determining the cell camping information of the first SIM card and the second SIM card, determine whether the target frequency band supports DSDA if the cell camping information indicates that the first SIM card is camped in the second cell and the second SIM card is camped in the third cell. The target frequency band includes the frequency band of the second cell and the frequency band of the third cell.
[0177] The processor 110 is specifically used to send first information to the network-side device when the cell camping information indicates that the first SIM card is camped in the second cell, the second SIM card is camped in the third cell, and the target frequency band does not support DSDA, if the first SIM card is transmitting service data and the second SIM card is in a connected state.
[0178] In some embodiments of this application, the processor 110 is further configured to obtain the RSRP of the third cell after sending the first information to the network-side device, provided that the second SIM card is in an idle state and the third cell where the second SIM card is camped meets the reselection triggering condition;
[0179] If the RSRP of the third cell is greater than or equal to the first threshold, the cell reselection process is not executed; if the RSRP of the third cell is less than the first threshold, the cell reselection process is executed; wherein, the first threshold is different from the threshold corresponding to the reselection trigger condition.
[0180] In some embodiments of this application, the processor 110 is specifically configured to: trigger a cell reselection process to determine a target cell when the second SIM card is in an idle state and the third cell meets the reselection triggering condition; and obtain the RSRP of the third cell when the target cell meets the first condition.
[0181] The first condition is any one of the following: the target cell and the third cell have different network standards; or the target cell and the third cell have the same network standard, and the TAC of the third cell is different from that of the target cell.
[0182] In some embodiments of this application, the processor 110 is further configured to perform a cell reselection process when the target cell and the third cell have the same network standard and the TAC of the third cell is the same as that of the target cell.
[0183] The terminal provided in this application embodiment can implement all the processes implemented in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0184] For details on the beneficial effects of the various implementation methods in this embodiment, please refer to the beneficial effects of the corresponding implementation methods in the above method embodiments. To avoid repetition, these will not be repeated here.
[0185] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0186] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0187] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.
[0188] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0189] The processor is the processor in the terminal described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0190] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0191] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0192] This application provides a computer program / program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above method embodiments and achieve the same technical effects. To avoid repetition, it will not be described again here.
[0193] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0194] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0195] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A SIM card control method for identity verification, executed by a terminal having a first SIM card and a second SIM card, the method comprising: Determine the cell registration information of the first SIM card and the second SIM card, wherein the first SIM card belongs to the first operator and the second SIM card belongs to the second operator; If the cell registration information indicates that the first SIM card is registered in the first cell and the second SIM card is not registered in a cell, then the second SIM card is controlled to be registered in the first cell, where the first cell is a cell that allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to be registered; or... When the cell residency information indicates that the first SIM card is resided in the second cell and the second SIM card is resided in the third cell, if the first SIM card is transmitting service data and the second SIM card is in a connected state, then a first message is sent to the network-side device. The first message is used to request that the second SIM card be switched from the connected state to the idle state.
2. The method according to claim 1, wherein, After determining the cell registration information of the first SIM card and the second SIM card, the method further includes: When the cell camping information indicates that the first SIM card is camped in the second cell and the second SIM card is camped in the third cell, it is determined whether the target frequency band supports dual SIM dual pass DSDA, wherein the target frequency band includes the frequency band of the second cell and the frequency band of the third cell; When the cell residency information indicates that the first SIM card is resided in the second cell and the second SIM card is resided in the third cell, if the first SIM card is transmitting service data and the second SIM card is in a connected state, then the first information is sent to the network-side device, including: If the cell residency information indicates that the first SIM card is resided in the second cell, the second SIM card is resided in the third cell, and the target frequency band does not support DSDA, then if the first SIM card is transmitting service data and the second SIM card is in a connected state, the first information is sent to the network-side device.
3. The method according to claim 1, wherein, After sending the first information to the network-side device, the method further includes: When the second SIM card is in an idle state and the third cell where the second SIM card is camped meets the reselection trigger condition, the reference signal received power RSRP of the third cell is obtained; If the RSRP of the third cell is greater than or equal to the first threshold, the cell reselection procedure is not executed. If the RSRP of the third cell is less than the first threshold, a cell reselection procedure is executed. The first threshold is different from the threshold corresponding to the reselection trigger condition.
4. The method according to claim 3, wherein, The step of obtaining the RSRP of the third cell when the second SIM card is in an idle state and the third cell where the second SIM card is camped meets the reselection trigger condition includes: If the second SIM card is in an idle state and the third cell meets the reselection triggering conditions, a cell reselection process is triggered to determine the target cell; If the target cell meets the first condition, the RSRP of the third cell is obtained; The first condition is any one of the following: The target cell and the third cell have different network standards; The target cell and the third cell have the same network standard, and the mobile signal network code (TAC) of the third cell is different from that of the target cell.
5. The method according to claim 4, wherein, The method further includes: If the target cell and the third cell have the same network standard and the TAC of the third cell is the same as that of the target cell, then the cell reselection procedure is executed.
6. A SIM card control device, executed by a terminal having a first SIM card and a second SIM card, the device comprising: Determine the module and the processing module; The determining module is used to determine the cell registration information of the first SIM card and the second SIM card, wherein the first SIM card belongs to the first operator and the second SIM card belongs to the second operator; The processing module is used for: If the cell registration information determined by the determining module indicates that the first SIM card is registered in the first cell and the second SIM card is not registered in a cell, the second SIM card is controlled to be registered in the first cell, where the first cell is a cell that allows SIM cards belonging to the first operator and SIM cards belonging to the second operator to be registered; or... When the cell residency information indicates that the first SIM card is resided in the second cell and the second SIM card is resided in the third cell, if the first SIM card is transmitting service data and the second SIM card is in a connected state, then a first message is sent to the network-side device. The first message is used to request that the second SIM card be switched from the connected state to the idle state.
7. The apparatus according to claim 6, wherein, The determining module is further configured to, after determining the cell camping information of the first SIM card and the second SIM card, determine whether the target frequency band supports DSDA when the cell camping information indicates that the first SIM card is camped in the second cell and the second SIM card is camped in the third cell, wherein the target frequency band includes the frequency band of the second cell and the frequency band of the third cell; The processing module is specifically configured to send the first information to the network-side device when the cell camping information indicates that the first SIM card is camped in the second cell, the second SIM card is camped in the third cell, and the target frequency band does not support DSDA, if the first SIM card is transmitting service data and the second SIM card is in a connected state.
8. The apparatus according to claim 6, wherein, The device further includes: an acquisition module; The acquisition module is used to acquire the RSRP of the third cell after the processing module sends the first information to the network-side device, when the second SIM card is in an idle state and the third cell where the second SIM card is camped meets the reselection triggering condition; The processing module is further configured to: If the RSRP of the third cell is greater than or equal to the first threshold, the cell reselection procedure is not executed. If the RSRP of the third cell is less than the first threshold, a cell reselection procedure is executed. The first threshold is different from the threshold corresponding to the reselection trigger condition.
9. The apparatus according to claim 8, wherein, The acquisition module is specifically used for: When the second SIM card is in an idle state and the third cell meets the cell reselection triggering condition, a cell reselection process is triggered to determine the target cell; and when the target cell meets the first condition, the RSRP of the third cell is obtained. The first condition is any one of the following: The target cell and the third cell have different network standards; The target cell and the third cell have the same network standard, and the TAC of the third cell is different from that of the target cell.
10. The apparatus according to claim 9, wherein, The processing module is further configured to perform a cell reselection process when the target cell and the third cell have the same network standard and the TAC of the third cell is the same as that of the target cell.
11. A terminal comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the SIM card control method as claimed in any one of claims 1-5.
12. A readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the SIM card control method as claimed in any one of claims 1-5.
13. A computer program product stored in a storage medium, the program product being executed by at least one processor to implement the steps of the SIM card control method as claimed in any one of claims 1-5.
14. A chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to run a program or instructions to implement the steps of the SIM card control method as described in any one of claims 1-5.
Citation Information
Patent Citations
SIM card state switching method and mobile terminal
CN108924817A
Terminal control method and device, electronic equipment and storage medium
CN115065967A
Dual-card communication method and terminal equipment
CN116055988A
Dual-card communication method and terminal equipment
CN117202159A
SIM card control method and device, terminal and storage medium
CN118660343A