WO2025247166A1 - Sim card control method and apparatus, terminal, and storage medium - Google Patents
Sim card control method and apparatus, terminal, and storage mediumInfo
- Publication number
- WO2025247166A1 WO2025247166A1 PCT/CN2025/097259 CN2025097259W WO2025247166A1 WO 2025247166 A1 WO2025247166 A1 WO 2025247166A1 CN 2025097259 W CN2025097259 W CN 2025097259W WO 2025247166 A1 WO2025247166 A1 WO 2025247166A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cell
- sim card
- sim
- terminal
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/54—Allocation or scheduling criteria for wireless resources based on quality criteria
- H04W72/541—Allocation or scheduling criteria for wireless resources based on quality criteria using the level of interference
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/20—Manipulation of established connections
- H04W76/27—Transitions between radio resource control [RRC] states
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Definitions
- This application belongs to the field of communication technology, specifically relating to a SIM card control method, device, terminal, and storage medium.
- SIM Subscriber Identity Module
- the secondary SIM card if it remains in connected mode for an extended period without entering idle mode, it will compete with the primary SIM card for radio frequency resources.
- the secondary SIM card 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- cell registration information for a first SIM card and a second SIM card is determined.
- the first SIM card belongs to a first operator
- 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.
- 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.
- the terminal 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.
- 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.
- FIG. 1 is a flowchart illustrating one of the SIM card control methods provided in this application embodiment
- FIG. 2 is a second schematic flowchart of a SIM card control method provided in an embodiment of this application.
- FIG. 3 is a third flowchart illustrating a SIM card control method provided in an embodiment of this application.
- FIG. 4 is a schematic diagram of a SIM card control device provided in an embodiment of this application.
- Figure 5 is one of the hardware structure diagrams of a terminal provided in an embodiment of this application.
- Figure 6 is a second schematic diagram of the hardware structure of a terminal provided in an embodiment of this application.
- 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.
- “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.
- At least one refers to any one, any two, or a combination of two or more of the included items.
- 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.
- at least two refers to two or more items, and its meaning is similar to that of "at least one.”
- the dual SIM card function of the terminal is the daily use scenario for most users. Due to the limitations of the terminal's own 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 when 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).
- DSDS dual SIM dual standby
- DR-DSDA dynamic spectrum sharing dual SIM dual active
- DSDA dual SIM dual active
- 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.
- 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.
- 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.
- 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.
- the SIM card control method in this application embodiment can be applied to scenarios where the SIM card is stationed in a cell.
- the secondary SIM card 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.
- 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.
- 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.
- 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.
- 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.
- FIG. 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.
- Step 201 The terminal determines the cell registration information of the first SIM card and the second SIM card.
- the first SIM card belongs to the first operator
- the second SIM card belongs to the second operator
- the first operator and the second operator are different operators.
- the first SIM card can be the primary card of the terminal
- the second SIM card can be the secondary card of the terminal
- the aforementioned cell residency information may include the identifier of the residency cell.
- 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.
- 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.
- the terminal 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.
- the terminal can directly control the second SIM card to be stationed in the first cell where the first SIM card is stationed.
- 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.
- the terminal 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.
- the terminal 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.
- the terminal 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.
- the terminal 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.
- 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.
- the terminal 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.
- the terminal 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.
- the terminal 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.
- 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.
- the first information is used to request the second SIM card to be switched from a connected state to an idle state.
- the first information mentioned above may be UE Assistance Information (UAI).
- UAI UE Assistance Information
- 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.
- the network-side device 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.
- 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.
- the terminal 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.
- the terminal 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.
- the terminal 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.
- the first SIM card 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.
- the terminal 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.
- the first SIM card 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.
- the terminal can execute steps 401 and 402, or steps 401 and 403, which will not be described in detail here.
- 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.
- 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.
- the SIM card control method provided in this application further includes step 301 as described below.
- 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.
- the target frequency band includes the frequency band of the second cell and the frequency band of the third cell.
- the target frequency band is the intersection of the frequency band of the second cell and the frequency band of the third cell.
- the terminal 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.
- the terminal can achieve dual-SIM dual-pass without any radio frequency resource conflict, so no further processing is required.
- the second SIM card 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.
- step 203 described above can be implemented by step 203a as follows.
- 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.
- 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.
- 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
- 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.
- the SIM card control method provided in this application further includes steps 401 and 402, or steps 401 and 403.
- 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.
- RSRP reference signal receiving power
- the RSRP of the third cell is used to determine whether the signal quality of the third cell is normal.
- the second SIM card 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.
- TAC Tracking Area Code
- 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.
- 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.
- 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.
- 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.
- the first threshold mentioned above is different from the threshold corresponding to the reselection trigger condition.
- the threshold corresponding to the reselection trigger condition is greater than the first threshold.
- the threshold corresponding to the cell reselection trigger condition is -95dBm and the first threshold is -110dBm.
- the RSRP of the third cell is -100dBm, the third cell meets the cell reselection trigger condition.
- 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.
- 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.
- Step 403 If the RSRP of the third cell is less than the first threshold, the terminal executes the cell reselection process.
- the terminal can determine that the signal quality of the third cell is abnormal and needs to perform a cell reselection process.
- 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.
- 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.
- 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.
- step 401 can be specifically implemented by the following steps 401a and 401b.
- 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.
- the target cell mentioned above can be understood as: a cell that meets the above reselection triggering conditions.
- 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.
- Step 401b If the target cell meets the first condition, the terminal obtains the RSRP of the third cell.
- the first condition mentioned above 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, but the TAC of the third cell is different from that of the target cell.
- 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.
- the terminal can determine that the target cell and the third cell have different network standards.
- 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.
- the terminal can determine that the target cell and the third cell have the same network standard.
- 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.
- 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.
- 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)
- the second SIM card is registered in the target cell
- a mobility registration update is required.
- 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.
- a TAC Traffic Access Control
- different TACs can overlap, enabling seamless mobile network coverage and handover.
- the terminal needs to perform a mobility registration update to synchronize its current location with the network.
- 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.
- 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.
- 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.
- inter-RAT reselection can be understood as: reselection between small cells of different networks.
- 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.
- the SIM card control method provided in this application may further include the following step 501.
- 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.
- 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.
- 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.
- 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.
- 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.
- the SIM card control method provided in the embodiments of this application may include the following steps S1 to S6.
- the terminal determines the network status of SIM card 1 and SIM card 2;
- 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.
- 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.
- SIM card 1 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;
- 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.
- the terminal executes S4; when SIM card 1 and SIM card 2 belong to the same operator, the terminal executes S5.
- the terminal determines whether cell 1 is a co-constructed and shared cell
- the terminal executes S5; when cell 1 is not a co-construction and sharing cell, the terminal executes S6.
- Terminal control SIM card 2 resides in cell 1;
- the terminal controls SIM card 2 to continue searching for networks until SIM card 2 is registered in a cell.
- steps S1 to S6 can be found in the above embodiments, and will not be repeated here.
- the SIM card control method provided in the embodiments of this application may include the following steps S11 to S21.
- the terminal determines whether the frequency band combination of the cells camped by SIM card 1 and SIM card 2 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.
- the terminal determines whether SIM card 1 is transmitting service data.
- the terminal determines whether 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.
- the terminal sends UAI to the network-side device, so that SIM card 2 is in an idle state;
- the terminal determines whether the cell where SIM card 2 is registered 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.
- the terminal triggers the cell reselection process to determine the target cell
- the terminal determines whether 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.
- the terminal determines whether the RSRP of the cell where SIM card 2 is registered 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.
- 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;
- 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.
- the terminal does not execute the cell reselection process
- the terminal executes the cell reselection process.
- steps S11 to S21 can be found in the above embodiments, and will not be repeated here.
- 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.
- FIG 4 shows a possible structural schematic diagram of the SIM card control device involved in an embodiment of this application.
- the SIM card control device 70 may include: a determination module 71 and a processing module 71.
- 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.
- 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.
- 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.
- 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.
- the SIM card control device 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- NAS network attached storage
- PC personal computer
- TV television
- ATM or self-service machine, etc.
- This application embodiment does not specifically limit the device.
- 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.
- 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.
- 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.
- 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.
- the terminal in this application embodiment includes the mobile terminal and non-mobile terminal described above.
- Figure 6 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of this application.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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;
- 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.
- 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.
- 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.
- 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.
- 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.
- 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, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
- 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.).
- 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).
- RAM random access memory
- SRAM static random access memory
- DRAM dynamic random access memory
- SDRAM synchronous dynamic random access memory
- DDRSDRAM double data rate synchronous dynamic random access memory
- ESDRAM enhanced synchronous dynamic random access memory
- SLDRAM synchronous link dynamic random access memory
- DRRAM direct memory bus RAM
- the memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
- 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.
- This application also provides a readable storage medium storing a program or instructions.
- the 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.
- 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.
- 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.
- 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.
- 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.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本申请要求在2024年5月31日提交中国专利局、申请号为202410700903.4、名称为“SIM卡控制方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。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.
本申请属于通信技术领域,具体涉及一种SIM卡控制方法、装置、终端及存储介质。This application belongs to the field of communication technology, specifically relating to a SIM card control method, device, terminal, and storage medium.
目前,大部分终端中可以设置两张运营商提供的用户身份识别(Subscriber Identity Module,SIM)卡,一张作为主卡,用于做数据业务和接打电话,另一张作为副卡,仅用于接打电话。Currently, most terminals can be equipped with two Subscriber Identity Module (SIM) cards provided by operators: 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.
在相关技术中,在终端处于信号较弱的环境下时,由于运营商布网差异、信号波动较频繁、主副卡搜网优先级不同等原因,非常容易出现主副卡争夺射频资源的情况。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.
例如,在副卡长时间处于连接态不进入空闲态时,副卡会与主卡抢占射频资源;或者,在主副卡同时进入网络覆盖区域时,若主卡先驻留网络、副卡未驻留网络,则副卡会频繁搜索网络以驻留网络,这个过程中副卡会与主卡抢占射频资源。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.
本申请实施例的目的是提供一种SIM卡控制方法、装置、终端及存储介质,能够减少SIM卡间的射频资源冲突。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.
第一方面,本申请实施例提供了一种SIM卡控制方法,该方法包括:应用于具有第一SIM卡和第二SIM卡的终端,该方法包括:确定第一SIM卡和第二SIM卡的小区驻留信息,第一SIM卡属于第一运营商,第二SIM卡属于第二运营商;在小区驻留信息指示第一SIM卡驻留第一小区且第二SIM卡未驻留小区的情况下,控制第二SIM卡驻留第一小区,第一小区为允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留的小区;或者,在小区驻留信息指示第一SIM卡驻留第二小区、且第二SIM卡驻留第三小区的情况下,若第一SIM卡进行业务数据传输且第二SIM卡处于连接态,则向网络侧设备发送第一信息,该第一信息用于请求将第二SIM卡由连接态切换为空闲态。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.
第二方面,本申请实施例提供了一种SIM卡控制装置,由具有第一SIM卡和第二SIM卡的终端执行,该装置包括:确定模块和处理模块。确定模块,用于确定第一SIM卡和第二SIM卡的小区驻留信息,第一SIM卡属于第一运营商,第二SIM卡属于第二运营商。处理模块,用于:在确定模块确定的小区驻留信息指示第一SIM卡驻留第一小区且第二SIM卡未驻留小区的情况下,控制第二SIM卡驻留第一小区,第一小区为允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留的小区;或者,在小区驻留信息指示第一SIM卡驻留第二小区、且第二SIM卡驻留第三小区的情况下,若第一SIM卡进行业务数据传输且第二SIM卡处于连接态,则向网络侧设备发送第一信息,第一信息用于请求将第二SIM卡由连接态切换为空闲态。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.
第三方面,本申请实施例提供了一种终端,该终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。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.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。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.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。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.
第六方面,本申请实施例提供一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法。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.
在本申请实施例中,确定第一SIM卡和第二SIM卡的小区驻留信息,第一SIM卡属于第一运营商,第二SIM卡属于第二运营商;在小区驻留信息指示第一SIM卡驻留第一小区且第二SIM卡未驻留小区的情况下,控制第二SIM卡驻留第一小区,第一小区为允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留的小区;或者,在小区驻留信息指示第一SIM卡驻留第二小区、且第二SIM卡驻留第三小区的情况下,若第一SIM卡进行业务数据传输且第二SIM卡处于连接态,则向网络侧设备发送第一信息,该第一信息用于请求将第二SIM卡由连接态切换为空闲态。本方案中,由于属于第一运营商的第一SIM卡所驻留的第一小区允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留,因此在属于第二运营商的第二SIM卡未驻留小区时,终端可以控制第二SIM卡驻留到第一SIM卡所驻留的第一小区,避免了第二SIM卡在脱网状态下,频繁搜索网络与第一SIM卡抢占射频资源;或者,由于第一SIM卡正在进行业务数据传输时,终端可以通过向网络侧设备发送第一信息,使得第二SIM卡由连接态切换为空闲态,因此避免了第二SIM卡长时间处于连接态不进入空闲态时,与第一SIM卡抢占射频资源。如此,减少了SIM卡间的射频资源冲突。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.
图1是本申请实施例提供的一种SIM卡控制方法的流程示意图之一;Figure 1 is a flowchart illustrating one of the SIM card control methods provided in this application embodiment;
图2是本申请实施例提供的一种SIM卡控制方法的流程示意图之二;Figure 2 is a second schematic flowchart of a SIM card control method provided in an embodiment of this application;
图3是本申请实施例提供的一种SIM卡控制方法的流程示意图之三;Figure 3 is a third flowchart illustrating a SIM card control method provided in an embodiment of this application;
图4是本申请实施例提供的一种SIM卡控制装置的结构示意图;Figure 4 is a schematic diagram of a SIM card control device provided in an embodiment of this application;
图5是本申请实施例提供的一种终端的硬件结构示意图之一;Figure 5 is one of the hardware structure diagrams of a terminal provided in an embodiment of this application;
图6是本申请实施例提供的一种终端的硬件结构示意图之二。Figure 6 is a second schematic diagram of the hardware structure of a terminal provided in an embodiment of this application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。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.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。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.
本申请的说明书和权利要求书中的术语“至少一个(项)”、“至少之一”等指其包含对象中的任意一个、任意两个或两个以上的组合。例如,a、b、c中的至少一个(项),可以表示:“a”、“b”、“c”、“a和b”、“a和c”、“b和c”以及“a、b和c”,其中a,b,c可以是单个,也可以是多个。同理,“至少两个(项)”是指两个或两个以上,其表达的含义与“至少一个(项)”类似。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."
下面对本申请实施例提供的一种SIM卡控制方法方法、装置、终端及存储介质中涉及的一些概念做一下解释说明。The following explains some concepts involved in the SIM card control method, apparatus, terminal, and storage medium provided in the embodiments of this application.
1、终端的双SIM卡功能是大多数用户的日常使用场景,由于终端本身软硬件设计的局限性,无法保证所有频段组合下双SIM卡都能同时收发消息,考虑到一些用户希望副卡接电话时,主卡仍能继续数据业务,为了保证两张SIM卡的同时运作,就需要根据协议规定,在不同时隙分配射频资源的切换,就此便衍生出了双卡双待、双卡双通等技术,具体可以分为三类:双卡双待(Dual-SIM Dual-Standby,DSDS)、动态频谱共享双卡双活(Dual-Receiver Dual-Active,DR-DSDA)、双卡双通(Dual-SIM Dual-Active,DSDA)。1. The dual SIM card function of the terminal is the daily use scenario for most users. Due to the limitations of the terminal's own 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 when 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).
2、DSDA:指双卡双通功能,也称为双卡双工。它允许终端同时使用两张SIM卡,并且两张SIM卡都处于活动状态。这意味着两个SIM卡可以同时接收和发送通话、短信和数据,用户可以同时使用两个不同的网络服务提供商或两个不同的号码。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.
3、DR-DSDA:指动态频谱共享双卡双活功能。结合了DSDA和动态频谱共享技术,允许在第5代(6th Generation,5G)网络和4G网络之间实现动态的频谱共享,同时保持双卡双活功能。这样,用户可以同时享受5G和4G网络的服务,而不会受到网络模式切换的中断。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.
4、DSDS:指双卡双待功能,也称为双卡待机。允许终端搭载两张SIM卡,但在某一时刻只有一张SIM卡处于活动状态,另一张卡处于待机状态。当活动卡接收或发送通话、短信或数据时,待机卡会暂时停用,直到活动卡完成操作或失去信号。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.
5、终端厂商无法做到所有频段组合都能支持DSDA,即两张卡同时可以收发信息,而且由于通信系统固有的局限性,即便支持DSDA的组合,其数据卡业务表现跟纯单卡也还是有一些差距的;而针对只支持DSDS或DR-DSDA的双卡频段组合,也就存在一张SIM卡要收发信令时,另一张SIM卡同时间无法正常工作,或者只能收不能发,在这些组合上,副卡在做一些同时需要收发信令的动作时都会抢占射频资源,影响到主卡的业务数据传输。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.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的SIM卡控制方法进行详细地说明。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.
本申请实施例中的SIM卡控制方法可以应用于SIM卡驻留小区的场景。The SIM card control method in this application embodiment can be applied to scenarios where the SIM card is stationed in a cell.
目前,大部分终端中可以设置两张运营商提供的用户身份识别SIM卡,一张作为主卡,用于做数据业务和接打电话,另一张作为副卡,仅用于接打电话。在相关技术中,在终端处于信号较弱的环境下,当终端中的主卡在进行业务数据时,由于运营商布网差异、信号波动较频繁、双卡搜网优先级不同等原因,会导致副卡与主卡争夺射频资源。这样会对数据业务影响很大,造成卡顿、加载慢等问题。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.
例如,主卡在进行业务数据,副卡脱网处于搜网状态,搜到可注册小区后发起注册抢占射频资源,但是注册成功后网络持续不释放连接,导致主卡持续无法拿回射频资源,即在副卡长时间处于连接态不进入空闲态时,副卡会与主卡抢占射频资源;或者,在主副卡同时进入网络覆盖区域时,若主卡先驻留网络、副卡未驻留网络,则副卡会频繁搜索网络以驻留网络,这个过程中副卡会与主卡抢占射频资源。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.
在本申请实施例提供的SIM卡控制方法、装置、终端及存储介质中,由于属于第一运营商的第一SIM卡所驻留的第一小区允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留,因此在属于第二运营商的第二SIM卡未驻留小区时,终端可以控制第二SIM卡驻留到第一SIM卡所驻留的第一小区,避免了第二SIM卡在脱网状态下,频繁搜索网络与第一SIM卡抢占射频资源;或者,由于第一SIM卡正在进行业务数据传输时,终端可以通过向网络侧设备发送第一信息,使得第二SIM卡由连接态切换为空闲态,因此避免了第二SIM卡长时间处于连接态不进入空闲态时,与第一SIM卡抢占射频资源。如此,减少了SIM卡间的射频资源冲突。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.
本申请实施例提供的SIM卡控制方法的执行主体可以为SIM卡控制装置,该SIM卡控制装置可以为终端,或终端中的功能模块或实体。以下以终端为例,对本申请实施例提供的技术方案进行说明。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.
本申请实施例提供一种SIM卡控制方法,图1示出了本申请实施例提供的一种SIM卡控制方法的流程图,该方法由具有第一SIM卡和第二SIM卡的终端执行。如图1所示,本申请实施例提供的SIM卡控制方法可以包括下述的步骤201和步骤202,或者,步骤201和步骤203。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.
步骤201、终端确定第一SIM卡和第二SIM卡的小区驻留信息。Step 201: The terminal determines the cell registration information of the first SIM card and the second SIM card.
本申请的实施例中,上述第一SIM卡属于第一运营商,第二SIM卡属于第二运营商。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.
本申请的一些实施例中,上述第一运营商和第二运营商为不同的运营商。In some embodiments of this application, the first operator and the second operator are different operators.
本申请的一些实施例中,上述第一SIM卡可以为终端的主卡,第二SIM卡可以为终端的副卡。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.
本申请的一些实施例中,上述小区驻留信息可以包括驻留小区的标识。In some embodiments of this application, the aforementioned cell residency information may include the identifier of the residency cell.
步骤202、在小区驻留信息指示第一SIM卡驻留第一小区且第二SIM卡未驻留小区的情况下,终端控制第二SIM卡驻留第一小区。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.
本申请的实施例中,上述第一小区为允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留的小区。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.
本申请的一些实施例中,在第一SIM卡驻留第一小区且第二SIM卡未驻留小区时,终端可以判断第一SIM卡驻留的第一小区是否为允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留的小区,若上述第一小区为允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留的小区,则终端可以控制第二SIM卡驻留到第一SIM卡所驻留的第一小区。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.
可以理解,由于第一SIM卡驻留第一小区、第一小区又允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留,因此在属于第二运营商的第二SIM卡未驻留小区时,终端可以直接控制第二SIM卡驻留到第一SIM卡所驻留的第一小区。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.
本申请的一些实施例中,上述第一小区也可以理解为第一运营商和第二运营商的共建共享小区,该共建共享小区允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留。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.
本申请的一些实施例中,在终端确定的第一SIM卡的小区驻留信息中包括第一小区的小区标识时,终端可以确定第一SIM卡驻留第一小区。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.
本申请的一些实施例中,在终端确定的第二SIM卡的小区驻留信息中未包括小区标识时,终端可以确定第二SIM卡未驻留小区,或者可以说,在终端确定的第二SIM卡的小区驻留信息为空时,终端可以确定第二SIM卡未驻留小区。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.
本申请的一些实施例中,在小区驻留信息指示第一SIM卡驻留第一小区且第二SIM卡未驻留小区时,终端可以控制第二SIM卡停止搜索网络,然后控制第二SIM卡驻留第一小区。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.
本申请的一些实施例中,终端可以获取第一SIM卡驻留的第一小区的频点,然后基于第一小区的频点,控制第二SIM卡驻留第一小区。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.
本申请的一些实施例中,在第一SIM卡和第二SIM卡属于相同的运营商时,在第一SIM卡驻留第一小区且第二SIM卡未驻留小区时,终端可以直接控制第二SIM卡驻留到第一SIM卡所驻留的第一小区。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.
如此,可以避免第二SIM卡在脱网状态下,频繁搜索网络抢占射频资源。This avoids the second SIM card frequently searching for networks and consuming radio frequency resources when offline.
本申请的一些实施例中,在第二SIM卡驻留小区且第一SIM卡未驻留小区时,终端可以判断第二SIM卡驻留的小区是否允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留,若第二SIM卡驻留的小区允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留,则终端可以控制第一SIM卡驻留到第二SIM卡所驻留的小区。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.
本申请的一些实施例中,在第二SIM卡驻留小区且第一SIM卡未驻留小区时,若第二SIM卡驻留的小区不允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留,则终端可以将第二SIM卡设置为主卡,第一SIM卡仍然搜索网络,直至第一SIM卡驻留小区时,终端恢复默认的主副卡设置,即将第一SIM卡设置为主卡,第二SIM卡设置为副卡。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.
步骤203、在小区驻留信息指示第一SIM卡驻留第二小区、且第二SIM卡驻留第三小区的情况下,若第一SIM卡进行业务数据传输且第二SIM卡处于连接态,则终端向网络侧设备发送第一信息。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.
本申请的实施例中,上述第一信息用于请求将第二SIM卡由连接态切换为空闲态。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.
本申请的一些实施例中,上述第一信息可以为辅助信息(UE Assistance Information,UAI)。In some embodiments of this application, the first information mentioned above may be UE Assistance Information (UAI).
本申请的一些实施例中,上述第一信息携带ReleasePreference字段,用于指示网络侧设备将RRC_CONNECTED释放并转换到RRC_IDLE,即将第二SIM卡从连接态切换为空闲态。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.
本申请的一些实施例中,网络侧设备在接收到终端发送的第一信息后,可以控制第二SIM卡处于空闲态。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.
本申请的一些实施例中,在网络侧设备控制第二SIM卡处于空闲态后,网络侧设备可以保存有第二SIM的注册信息,使得第二SIM卡处于空闲态期间时,若有第二SIM卡的寻呼,第二SIM卡也能正常接收和发送,也就是说,第二SIM卡处于空闲态时,第二SIM卡的寻呼监听不会受到影响。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.
本申请的一些实施例中,在终端确定的第一SIM卡的小区驻留信息中包括第二小区的小区标识时,终端可以确定第一SIM卡驻留第二小区。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.
本申请的一些实施例中,在终端确定的第二SIM卡的小区驻留信息中包括第三小区的小区标识时,终端可以确定第二SIM卡驻留第三小区。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.
本申请的一些实施例中,在第一SIM卡驻留第二小区、且第二SIM卡驻留第三小区时,终端可以判断第一SIM卡是否在进行业务数据传输,若第一SIM卡未进行业务数据传输,则流程结束。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.
可以理解,由于第一SIM卡未进行业务数据传输,即使第二SIM卡抢占射频资源,也不会造成第一SIM卡的业务数据传输卡顿,因此无需做进一步处理。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.
本申请的一些实施例中,在第一SIM卡驻留第二小区、第二SIM卡驻留第三小区、且第一SIM卡正在进行业务数据传输时,终端可以进一步判断第二SIM卡的工作状态,以在第二SIM卡处于连接态时,向网络侧设备发送上述第一信息,以使得第二SIM卡由连接态切换为空闲态。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.
可以理解,由于第一SIM卡正在进行业务数据传输,当第二SIM卡长时间处于连接态时,第一SIM会抢占射频资源,导致第一SIM卡的业务数据传输卡顿,因此可以通过向网络侧设备发送上述第一信息,控制第一SIM卡处于空闲态,从而避免第一SIM与第二SIM抢占射频资源。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.
需要说明的是,在第二SIM卡处于空闲态时,终端可以执行下述的步骤401和步骤402,或者步骤401和步骤403,此处不再赘述。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.
本申请实施例提供的SIM卡控制方法中,属于第一运营商的第一SIM卡所驻留的第一小区允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留,因此在属于第二运营商的第二SIM卡未驻留小区时,终端可以控制第二SIM卡驻留到第一SIM卡所驻留的第一小区,避免了第二SIM卡在脱网状态下,频繁搜索网络与第一SIM卡抢占射频资源;或者,由于第一SIM卡正在进行业务数据传输时,终端可以通过向网络侧设备发送第一信息,使得第二SIM卡由连接态切换为空闲态,因此避免了第二SIM卡长时间处于连接态不进入空闲态时,与第一SIM卡抢占射频资源。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.
本申请的一些实施例中,在上述步骤201之后,本申请实施例提供的SIM卡控制方法还包括下述的步骤301。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.
步骤301、在小区驻留信息指示第一SIM卡驻留第二小区、且第二SIM卡驻留第三小区的情况下,终端确定目标频段是否支持DSDA。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.
本申请的实施例中,上述目标频段包括第二小区的频段和第三小区的频段。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.
本申请的一些实施例中,上述目标频段为第二小区的频段和第三小区的频段间的交集频段。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.
本申请的一些实施例中,在第一SIM卡驻留第二小区、且第二SIM卡驻留第三小区时,终端可以判断上述目标频段是否支持DSDA,在该目标频段支持DSDA时,流程结束。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.
可以理解,在上述目标频段支持DSDA时,终端可以实现双卡双通,不存在射频资源冲突的问题,因此无需做进一步处理。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.
例如:在终端使用第一SIM卡玩游戏时,可以同时使用第二SIM卡接听电话,并且,第二SIM卡不会抢占第一SIM卡的射频资源。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.
本申请的一些实施例中,上述步骤203具体可以通过下述的步骤203a实现。In some embodiments of this application, step 203 described above can be implemented by step 203a as follows.
步骤203a、在小区驻留信息指示第一SIM卡驻留第二小区、第二SIM卡驻留第三小区、且目标频段不支持DSDA的情况下,若第一SIM卡进行业务数据传输且第二SIM卡处于连接态,则终端向网络侧设备发送第一信息。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.
可以理解,在上述目标频段不支持DSDA时,终端不能实现双卡双通,会存在射频资源冲突的问题,因此在第一SIM卡进行业务数据传输、且第二SIM卡处于连接态时,终端可以向网络侧设备发送上述第一信息,使得第一SIM卡处于空闲态,避免第一SIM卡抢占射频资源。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.
如此,由于终端在确定不能实现双卡双通,即SIM卡间会存在射频资源冲突的问题时,若第一SIM卡在进行业务数据传输、且第二SIM卡处于连接态,则通过网络侧设备控制第一SIM卡处于空闲态,因此可以避免第一SIM卡长时间处于连接态时与第一SIM卡抢占射频资源,从而避免了第一SIM卡的业务数据传输卡顿。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.
本申请的一些实施例中,在上述步骤203之后,本申请实施例提供的SIM卡控制方法还包括下述的步骤401和步骤402,或者步骤401和步骤403。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.
步骤401、在第二SIM卡处于空闲态、且第二SIM卡驻留的第三小区满足重选触发条件的情况下,终端获取第三小区的参考信号接收功率(Reference Signal Receiving Power,RSRP)。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.
本申请的一些实施例中,上述第三小区的RSRP用于判断第三小区的信号质量是否正常。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.
可以理解,相关技术中,在第二SIM卡处于空闲态时,若第三小区满足重选触发条件,则会执行第二SIM卡的小区重选流程,使得第二SIM卡驻留到新的目标小区,并且,在第二SIM卡驻留到目标小区后,若目标小区的跟踪区代码(Tracking Area Code,TAC)与第二SIM卡驻留的第三小区的TAC不同,则需要做一次移动性注册更新,以与网络同步当前终端位置,但是做移动性注册更新,第二SIM卡会与第一SIM卡抢占射频资源。因此,本申请在第二SIM卡处于空闲态时,若第二SIM卡驻留的第三小区满足重选触发条件,则可以先通过第三小区的RSRP判断第三小区的信号质量是否正常,在第三小区的信号质量正常时,不执行小区重选流程,如此可以避免第二SIM卡与第一SIM卡抢占射频资源。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.
可以理解,目前由于一些重选门限配置不合理,因此可能导致在第三小区的信号质量正常时,也触发第二SIM卡进行小区重选。例如:经常会出现终端在4G空闲态信号质量很好,例如RSRP为-95dBm时,触发InterRAT重选到5G小区,该5G小区信号质量也不差,例如RSRP为-99dBm,这种情况,可能是网络侧设备为了提高终端的5G驻网率而配置的。然而实际终端待在原小区空闲态下也是能正常接收寻呼的。本申请可以在第三小区的信号质量正常时,不执行小区重选流程,以避免第二SIM卡与第一SIM卡抢占射频资源。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.
步骤402、在第三小区的RSRP大于或等于第一阈值的情况下,终端不执行小区重选流程。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.
可以理解,在第三小区的RSRP大于或等于第一阈值时,终端可以确定第三小区的信号质量正常,无需执行小区重选流程。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.
例如:假设第一阈值为-110dBm,终端可以判断第三小区的RSRP是否大于或等于-110dBm,在第三小区的RSRP大于或等于-110dBm时,终端确定第三小区的信号质量正常,无需执行小区重选流程。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.
本申请的实施例中,上述第一阈值与重选触发条件对应的阈值不同。In the embodiments of this application, the first threshold mentioned above is different from the threshold corresponding to the reselection trigger condition.
本申请的一些实施例中,重选触发条件对应的阈值大于第一阈值。In some embodiments of this application, the threshold corresponding to the reselection trigger condition is greater than the first threshold.
例如:假设重选触发条件对应的阈值为-95dBm,第一阈值为-110dBm,在第三小区的RSRP为-100dBm时,第三小区满足重选触发条件,但是第三小区的RSRP大于第一阈值,因此终端可以确定第三小区的信号质量正常,无需执行小区重选流程。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.
本申请的一些实施例中,上述终端不执行小区重选流程可以理解为:终端不控制第二SIM卡执行切换小区的动作,即终端不控制第二SIM卡驻留到新小区,第二SIM卡仍驻留在第三小区。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.
步骤403、在第三小区的RSRP小于第一阈值的情况下,终端执行小区重选流程。Step 403: If the RSRP of the third cell is less than the first threshold, the terminal executes the cell reselection process.
可以理解,在第三小区的RSRP小于第一阈值时,终端可以确定第三小区的信号质量不正常,需要执行小区重选流程。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.
例如:假设第一阈值为-110dBm,终端可以判断第三小区的RSRP是否大于或等于-110dBm,在第三小区的RSRP小于-110dBm时,终端确定第三小区的信号质量不正常,终端需要执行小区重选流程。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.
本申请的一些实施例中,上述终端执行小区重选流程可以理解为:终端控制第二SIM卡执行切换小区的动作,即终端控制第二SIM卡驻留到新的小区。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.
如此,由于在第二SIM卡处于空闲态、且第三小区满足重选触发条件时,终端可以先通过第三小区的RSRP判断第三小区的信号质量是否正常,在第三小区的信号质量确实不正常时,再控制第二SIM卡驻留到目标小区,从而避免了在第三小区的信号质量正常,确进行了小区重选的情况,减少了第二SIM卡频繁进行小区重选的次数,进而减少了第二SIM卡做移动性注册更新的次数,最终减少了第二SIM卡对射频资源的抢占。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.
本申请的一些实施例中,上述步骤401具体可以通过下述的步骤401a和步骤401b实现。In some embodiments of this application, step 401 can be specifically implemented by the following steps 401a and 401b.
步骤401a、在第二SIM卡处于空闲态、且第三小区满足重选触发条件的情况下,终端触发小区重选流程,以确定目标小区。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.
本申请的一些实施例中,上述目标小区可以理解为:满足上述重选触发条件的小区。In some embodiments of this application, the target cell mentioned above can be understood as: a cell that meets the above reselection triggering conditions.
本申请的一些实施例中,在第三小区满足重选触发条件时,可以触发小区重选流程,网络侧设备可以向终端发送小区列表,该小区列表中包括允许第二SIM卡驻留的小区,然后终端可以从该小区列表中确定一个满足上述重选触发条件的目标小区。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.
步骤401b、在目标小区满足第一条件的情况下,终端获取第三小区的RSRP。Step 401b: If the target cell meets the first condition, the terminal obtains the RSRP of the third cell.
本申请的实施例中,上述第一条件为以下任一项:In the embodiments of this application, the first condition mentioned above is any one of the following:
目标小区与第三小区对应的网络制式不相同;The target cell and the third cell have different network standards.
目标小区与第三小区对应的网络制式相同、且第三小区的TAC与目标小区的TAC不同。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.
本申请的一些实施例中,目标小区与第三小区对应的网络制式不相同可以理解为:目标小区与第三小区为不同网络中的小区。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.
例如:在目标小区为5G小区,第三小区为4G小区时,终端可以确定目标小区与第三小区对应的网络制式不相同。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.
本申请的一些实施例中,目标小区与第三小区对应的网络制式相同可以理解为:目标小区与第三小区为相同网络中的小区。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.
例如:在目标小区为4G小区,第三小区为4G小区时,终端可以确定目标小区与第三小区对应的网络制式相同。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.
可以理解,在确定目标小区后,终端可以判断目标小区与第三小区对应的网络制式是否相同,然后在目标小区与第三小区对应的网络制式不相同时,获取第三小区的RSRP,以在第三小区的RSRP大于或等于第一阈值时,确定第三小区的信号质量正常,无需执行小区重选流程;在第三小区的RSRP小于第一阈值时,确定第三小区的信号质量不正常,需要执行小区重选流程。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.
本申请的一些实施例中,在确定目标小区后,终端可以判断目标小区与第三小区对应的网络制式是否相同,然后在目标小区与第三小区对应的网络制式相同时,终端可以进一步确定第三小区的TAC与目标小区的TAC是否相同,然后在第三小区的TAC与目标小区的TAC不同时,获取第三小区的RSRP,以在第三小区的RSRP大于或等于第一阈值时,确定第三小区的信号质量正常,无需执行小区重选流程;在第三小区的RSRP小于第一阈值时,确定第三小区的信号质量不正常,需要执行小区重选流程。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.
可以理解,在相关技术中,在目标小区与第三小区对应的网络制式相同,即目标小区与第三小区为相同网络的小区时,第二SIM卡驻留到目标小区后,若目标小区的TAC与第三小区的TAC不同,则需要做一次移动性注册更新,但是做移动性注册更新,第二SIM卡会与第一SIM卡抢占射频资源。因此,本申请可以在目标小区的TAC与第三小区的TAC不同时,先通过第三小区的RSRP判断第三小区的信号质量是否正常,在第三小区的信号质量正常时,不再执行小区重选流程,如此可以减少第二SIM卡抢占射频资源。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.
可以理解,一个TAC可以包含多个小区,不同的TAC可以覆盖不同的区域或重叠部分区域。在移动网络中,不同的TAC可以相互覆盖,这样可以实现无缝的移动网络覆盖和切换。当驻留小区的TAC发生变化时,终端需要进行一次移动性注册更新,与网络同步当前终端位置。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.
本申请的一些实施例中,终端可以基于目标小区与第三小区对应的网络制式,确定目标小区是否符合RAT间重选,然后在目标小区符合RAT间重选时,获取第三小区的RSRP;在目标小区不符合RAT间重选时,确定第三小区的TAC与目标小区的TAC是否相同,以在第三小区的TAC与目标小区的TAC不同时,获取第三小区的RSRP。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.
本申请的一些实施例中,终端可以在目标小区与第三小区对应的网络制式不相同时,确定目标小区符合RAT间重选。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.
本申请的一些实施例中,终端可以在目标小区与第三小区对应的网络制式相同时,确定目标小区不符合RAT间重选。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.
本申请的一些实施例中,RAT间重选可以理解为:不同网络的小区间的重选。In some embodiments of this application, inter-RAT reselection can be understood as: reselection between small cells of different networks.
如此,由于终端可以在目标小区与第三小区对应的网络制式不相同,或者,目标小区与第三小区对应的网络制式相同、且目标小区的TAC与第三小区的TAC不同时,通过第三小区的RSRP判断第三小区的信号质量是否正常,以在第三小区的信号质量正常时,不执行小区重选流程,因此可以减少第二SIM卡抢占射频资源。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.
本申请的一些实施例中,本申请实施例提供的SIM卡控制方法还可以包括下述的步骤501。In some embodiments of this application, the SIM card control method provided in this application may further include the following step 501.
步骤501、在目标小区与第三小区对应的网络制式相同、且第三小区的TAC与目标小区的TAC相同的情况下,终端执行小区重选流程。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.
可以理解,在确定目标小区后,终端可以判断目标小区与第三小区对应的网络制式是否相同,然后在目标小区与第三小区对应的网络制式相同时,终端可以进一步确定第三小区的TAC与目标小区的TAC是否相同,然后在第三小区的TAC与目标小区的TAC相同时,终端执行小区重选流程。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.
可以理解,在第三小区的TAC与目标小区的TAC相同时,第二SIM卡驻留到目标小区后,无需做移动性注册更新,第二SIM卡也不会抢占射频资源。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.
本申请的一些实施例中,终端可以在目标小区与第三小区对应的网络制式相同,即目标小区不符合RAT间重选时,确定第三小区的TAC与目标小区的TAC是否相同,以在第三小区的TAC与目标小区的TAC相同时,执行小区重选流程。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.
如此,由于目标小区的TAC与第三小区的TAC相同,因此在终端执行小区重选流程、且驻留到目标小区后,无需做移动性注册更新,第二SIM卡也不会抢占射频资源,从而有效避免了第二SIM卡抢占射频资源。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.
在本申请的一些实施例中,如图2所示,本申请实施例提供的SIM卡控制方法可以包括下述的步骤S1至步骤S6。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.
S1、终端判断SIM卡1和SIM卡2的驻网状态;S1. The terminal determines the network status of SIM card 1 and SIM card 2;
本申请的一些实施例中,SIM卡1可以为上述实施例中的第一SIM卡,SIM卡2可以为上述实施例中的第二SIM卡。SIM卡1可以为主卡,SIM卡2可以为副卡。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.
在SIM卡1和SIM卡2均未驻留小区时,终端执行S2,在SIM卡1驻留小区、SIM卡2未驻留小区时,终端执行S3;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.
S2、若SIM卡1和SIM卡2均未驻留小区,则终端继续控制SIM卡1和SIM卡2搜索网络;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;
S3、若SIM卡1驻留小区1、且SIM卡2未驻留小区,则终端判断SIM卡1和SIM卡2是否属于相同运营商;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.
在SIM卡1和SIM卡2不属于相同运营商时,终端执行S4,在SIM卡1和SIM卡2属于相同运营商时,终端执行S5;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.
S4、终端判断小区1是否为共建共享小区;S4. The terminal determines whether cell 1 is a co-constructed and shared cell;
在小区1为共建共享小区时,终端执行S5,在小区1不为共建共享小区时,终端执行S6;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.
S5、终端控制SIM卡2驻留小区1;S5, Terminal control SIM card 2 resides in cell 1;
S6、终端控制SIM卡2继续搜索网络,直至SIM卡2驻留小区。S6. The terminal controls SIM card 2 to continue searching for networks until SIM card 2 is registered in a cell.
需要说明的是,针对步骤S1至步骤S6的相关描述,可以参见上述实施例中的内容,此处不再赘述。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.
在本申请的一些实施例中,如图3所示,本申请实施例提供的SIM卡控制方法可以包括下述的步骤S11至步骤S21。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.
S11、在SIM卡1和SIM卡2均驻留小区时,终端判断SIM卡1和SIM卡2驻留的小区的频段组合,是否支持DSDA;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.
在SIM卡1和SIM卡2驻留的小区的频段组合,支持DSDA时,终端结束流程,在SIM卡1和SIM卡2驻留的小区的频段组合,不支持DSDA时,终端执行S12;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.
S12、终端判断SIM卡1是否在进行业务数据传输;S12. The terminal determines whether SIM card 1 is transmitting service data.
在SIM卡1未在进行业务数据传输时,终端结束流程,在SIM卡1在进行业务数据传输时,终端执行S13;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.
S13、终端判断SIM卡2是否处于连接态;S13. The terminal determines whether SIM card 2 is in a connected state;
在SIM卡2处于连接态时,终端执行S14,在SIM卡2处于空闲态时,终端执行S15;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.
S14、终端向网络侧设备发送UAI,使得SIM卡2处于空闲态;S14. The terminal sends UAI to the network-side device, so that SIM card 2 is in an idle state;
S15、终端判断SIM卡2驻留的小区是否满足重选触发条件;S15. The terminal determines whether the cell where SIM card 2 is registered meets the reselection trigger condition;
在SIM卡2驻留的小区满足重选触发条件时,终端执行S16和S17,在SIM卡2驻留的小区不满足重选触发条件时,终端结束流程;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.
S16、终端触发小区重选流程,确定目标小区;S16. The terminal triggers the cell reselection process to determine the target cell;
S17、终端判断目标小区是否符合RAT间重选;S17. The terminal determines whether the target cell meets the requirements for inter-RAT reselection.
在目标小区符合RAT间重选时,终端执行S18,在目标小区不符合RAT间重选时,终端执行S19;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.
S18、终端判断SIM卡2驻留的小区的RSRP是否大于或等于-110dBm;S18. The terminal determines whether the RSRP of the cell where SIM card 2 is registered is greater than or equal to -110dBm;
在SIM卡2驻留的小区的RSRP大于或等于-110dBm时,终端执行S20,在SIM卡2驻留的小区的RSRP小于-110dBm时,终端执行S21;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.
S19、终端判断SIM卡2驻留的小区的TAC与目标小区的TAC是否相同;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;
在SIM卡2驻留的小区的TAC与目标小区的TAC相同时,终端执行S21,在SIM卡2驻留的小区的TAC与目标小区的TAC不相同时,终端执行S18;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.
S20、终端不执行小区重选流程;S20, The terminal does not execute the cell reselection process;
S21、终端执行小区重选流程。S21. The terminal executes the cell reselection process.
需要说明的是,针对步骤S11至步骤S21的相关描述,可以参见上述实施例中的内容,此处不再赘述。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.
需要说明的是,本申请实施例提供的SIM卡控制方法,执行主体可以为SIM卡控制装置。本申请实施例中以SIM卡控制装置执行SIM卡控制方法为例,说明本申请实施例提供的SIM卡控制装置。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.
图4示出了本申请实施例中涉及的SIM卡控制装置的一种可能的结构示意图。如图4所示,该SIM卡控制装置70可以包括:确定模块71和处理模块71。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.
其中,确定模块71,用于确定第一SIM卡和第二SIM卡的小区驻留信息,第一SIM卡属于第一运营商,第二SIM卡属于第二运营商。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.
处理模块72,用于:在确定模块71确定的小区驻留信息指示第一SIM卡驻留第一小区且第二SIM卡未驻留小区的情况下,控制第二SIM卡驻留第一小区,第一小区为允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留的小区;或者,在小区驻留信息指示第一SIM卡驻留第二小区、且第二SIM卡驻留第三小区的情况下,若第一SIM卡进行业务数据传输且第二SIM卡处于连接态,则向网络侧设备发送第一信息,第一信息用于请求将第二SIM卡由连接态切换为空闲态。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.
本申请实施例提供一种SIM卡控制装置,由于属于第一运营商的第一SIM卡所驻留的第一小区允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留,因此在属于第二运营商的第二SIM卡未驻留小区时,SIM卡控制装置可以控制第二SIM卡驻留到第一SIM卡所驻留的第一小区,避免了第二SIM卡在脱网状态下,频繁搜索网络与第一SIM卡抢占射频资源;或者,由于第一SIM卡正在进行业务数据传输时,SIM卡控制装置可以通过向网络侧设备发送第一信息,使得第二SIM卡由连接态切换为空闲态,因此避免了第二SIM卡长时间处于连接态不进入空闲态时,与第一SIM卡抢占射频资源。如此,减少了SIM卡间的射频资源冲突。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.
在一种可能的实现方式中,确定模块71,还用于在确定第一SIM卡和第二SIM卡的小区驻留信息之后,在小区驻留信息指示第一SIM卡驻留第二小区、且第二SIM卡驻留第三小区的情况下,确定目标频段是否支持DSDA,目标频段包括第二小区的频段和第三小区的频段。处理模块72,具体用于在小区驻留信息指示第一SIM卡驻留第二小区、第二SIM卡驻留第三小区、且目标频段不支持DSDA的情况下,若第一SIM卡进行业务数据传输且第二SIM卡处于连接态,则向网络侧设备发送第一信息。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.
在一种可能的实现方式中,本申请实施例提供的SIM卡控制装置还可以包括:获取模块;获取模块,用于在处理模块72向网络侧设备发送第一信息之后,在第二SIM卡处于空闲态、且第二SIM卡驻留的第三小区满足重选触发条件的情况下,获取第三小区的RSRP。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.
处理模块72,还用于:在第三小区的RSRP大于或等于第一阈值的情况下,不执行小区重选流程;在第三小区的RSRP小于第一阈值的情况下,执行小区重选流程;其中,第一阈值与重选触发条件对应的阈值不同。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.
在一种可能的实现方式中,获取模块,具体用于:在第二SIM卡处于空闲态、且第三小区满足重选触发条件的情况下,触发小区重选流程,以确定目标小区;并在目标小区满足第一条件的情况下,获取第三小区的RSRP;其中,第一条件为以下任一项:目标小区与第三小区对应的网络制式不相同;目标小区与第三小区对应的网络制式相同、且第三小区的TAC与目标小区的TAC不同。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.
在一种可能的实现方式中,处理模块72,还用于在目标小区与第三小区对应的网络制式相同、且第三小区的TAC与目标小区的TAC相同的情况下,执行小区重选流程。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.
本申请实施例中的SIM卡控制装置可以是终端,也可以是终端中的部件,例如集成电路或芯片。该终端可以是电子设备,也可以为除电子设备之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(Augmented Reality,AR)/虚拟现实(Virtual Reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(Ultra-Mobile Personal Computer,UMPC)、上网本或者个人数字助理(Personal Digital Assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(Personal Computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。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.
本申请实施例中的SIM卡控制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。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.
本申请实施例提供的SIM卡控制装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。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.
可选地,如图5所示,本申请实施例还提供一种终端900,包括处理器901和存储器902,存储器902上存储有可在所述处理器901上运行的程序或指令,该程序或指令被处理器901执行时实现上述方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。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.
需要说明的是,本申请实施例中的终端包括上述所述的移动终端和非移动终端。It should be noted that the terminal in this application embodiment includes the mobile terminal and non-mobile terminal described above.
图6为实现本申请实施例的一种终端的硬件结构示意图。Figure 6 is a schematic diagram of the hardware structure of a terminal implementing an embodiment of this application.
该终端100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。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.
本领域技术人员可以理解,终端100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。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.
其中,处理器110,用于确定第一SIM卡和第二SIM卡的小区驻留信息,第一SIM卡属于第一运营商,第二SIM卡属于第二运营商;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.
并用于:在小区驻留信息指示第一SIM卡驻留第一小区且第二SIM卡未驻留小区的情况下,控制第二SIM卡驻留第一小区,第一小区为允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留的小区;或者,在小区驻留信息指示第一SIM卡驻留第二小区、且第二SIM卡驻留第三小区的情况下,若第一SIM卡进行业务数据传输且第二SIM卡处于连接态,则向网络侧设备发送第一信息,第一信息用于请求将第二SIM卡由连接态切换为空闲态。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.
本申请实施例提供一种终端,由于属于第一运营商的第一SIM卡所驻留的第一小区允许属于第一运营商的SIM卡和属于第二运营商的SIM卡驻留,因此在属于第二运营商的第二SIM卡未驻留小区时,终端可以控制第二SIM卡驻留到第一SIM卡所驻留的第一小区,避免了第二SIM卡在脱网状态下,频繁搜索网络与第一SIM卡抢占射频资源;或者,由于第一SIM卡正在进行业务数据传输时,终端可以通过向网络侧设备发送第一信息,使得第二SIM卡由连接态切换为空闲态,因此避免了第二SIM卡长时间处于连接态不进入空闲态时,与第一SIM卡抢占射频资源。如此,减少了SIM卡间的射频资源冲突。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.
本申请的一些实施例中,处理器110,还用于在确定第一SIM卡和第二SIM卡的小区驻留信息之后,在小区驻留信息指示第一SIM卡驻留第二小区、且第二SIM卡驻留第三小区的情况下,确定目标频段是否支持DSDA,目标频段包括第二小区的频段和第三小区的频段。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.
处理器110,具体用于在小区驻留信息指示第一SIM卡驻留第二小区、第二SIM卡驻留第三小区、且目标频段不支持DSDA的情况下,若第一SIM卡进行业务数据传输且第二SIM卡处于连接态,则向网络侧设备发送第一信息。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.
本申请的一些实施例中,处理器110,还用于在向网络侧设备发送第一信息之后,在第二SIM卡处于空闲态、且第二SIM卡驻留的第三小区满足重选触发条件的情况下,获取第三小区的RSRP;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;
并在第三小区的RSRP大于或等于第一阈值的情况下,不执行小区重选流程;在第三小区的RSRP小于第一阈值的情况下,执行小区重选流程;其中,第一阈值与重选触发条件对应的阈值不同。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.
本申请的一些实施例中,处理器110,具体用于:在第二SIM卡处于空闲态、且第三小区满足重选触发条件的情况下,触发小区重选流程,以确定目标小区;并在目标小区满足第一条件的情况下,获取第三小区的RSRP;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.
其中,第一条件为以下任一项:目标小区与第三小区对应的网络制式不相同;目标小区与第三小区对应的网络制式相同、且第三小区的TAC与目标小区的TAC不同。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.
本申请的一些实施例中,处理器110,还用于在目标小区与第三小区对应的网络制式相同、且第三小区的TAC与目标小区的TAC相同的情况下,执行小区重选流程。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.
本申请实施例提供的终端能够实现上述方法实施例实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。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.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。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.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。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, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。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.
处理器110可包括一个或多个处理单元;可选的,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。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.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。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.
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。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.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。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.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。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.
本申请实施例提供一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述程序/程序产品被至少一个处理器执行以实现如上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。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.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。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.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。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.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。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 (14)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410700903.4A CN118660343A (en) | 2024-05-31 | 2024-05-31 | SIM card control method, device, terminal and storage medium |
| CN202410700903.4 | 2024-05-31 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025247166A1 true WO2025247166A1 (en) | 2025-12-04 |
Family
ID=92703402
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2025/097259 Pending WO2025247166A1 (en) | 2024-05-31 | 2025-05-26 | Sim card control method and apparatus, terminal, and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118660343A (en) |
| WO (1) | WO2025247166A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118660343A (en) * | 2024-05-31 | 2024-09-17 | 维沃移动通信有限公司 | SIM card control method, device, terminal and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108924817A (en) * | 2018-06-28 | 2018-11-30 | 维沃移动通信有限公司 | A kind of SIM card state switching method and mobile terminal |
| CN115065967A (en) * | 2022-03-10 | 2022-09-16 | 北京小米移动软件有限公司 | Terminal control method and device, electronic equipment and storage medium |
| US20230041235A1 (en) * | 2020-02-07 | 2023-02-09 | Telefonaktiebolaget Lm Ericsson (Publ) | Network device and method therein |
| CN116055988A (en) * | 2022-05-30 | 2023-05-02 | 荣耀终端有限公司 | Method and terminal device for dual-card communication |
| CN117202159A (en) * | 2022-05-30 | 2023-12-08 | 荣耀终端有限公司 | Dual-card communication method and terminal equipment |
| CN118660343A (en) * | 2024-05-31 | 2024-09-17 | 维沃移动通信有限公司 | SIM card control method, device, terminal and storage medium |
-
2024
- 2024-05-31 CN CN202410700903.4A patent/CN118660343A/en active Pending
-
2025
- 2025-05-26 WO PCT/CN2025/097259 patent/WO2025247166A1/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108924817A (en) * | 2018-06-28 | 2018-11-30 | 维沃移动通信有限公司 | A kind of SIM card state switching method and mobile terminal |
| US20230041235A1 (en) * | 2020-02-07 | 2023-02-09 | Telefonaktiebolaget Lm Ericsson (Publ) | Network device and method therein |
| CN115065967A (en) * | 2022-03-10 | 2022-09-16 | 北京小米移动软件有限公司 | Terminal control method and device, electronic equipment and storage medium |
| CN116055988A (en) * | 2022-05-30 | 2023-05-02 | 荣耀终端有限公司 | Method and terminal device for dual-card communication |
| CN117202159A (en) * | 2022-05-30 | 2023-12-08 | 荣耀终端有限公司 | Dual-card communication method and terminal equipment |
| CN118660343A (en) * | 2024-05-31 | 2024-09-17 | 维沃移动通信有限公司 | SIM card control method, device, terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118660343A (en) | 2024-09-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12323864B2 (en) | Cell reselection method and apparatus, and communication device | |
| US20230300793A1 (en) | Method for sending paging cause and method for acquiring paging cause | |
| RU2656244C1 (en) | Method and device for detecting the neighbor cell during processing the cell re-selection | |
| US11224027B2 (en) | Cell registration method and device | |
| US20250324242A1 (en) | Information processing method and apparatus, communication device, and storage medium | |
| US20230337169A1 (en) | Relay communication method and apparatus | |
| WO2020237484A1 (en) | Cell handover method and device, and storage medium | |
| WO2025247166A1 (en) | Sim card control method and apparatus, terminal, and storage medium | |
| KR20210114312A (en) | Method, device and storage medium for processing paging collision in dual sim card mobile phone | |
| US12335912B2 (en) | Call response method, call response device, terminal device and storage medium | |
| CN111314976A (en) | Network resident mode determination method and device, terminal and storage medium | |
| US20240040425A1 (en) | Data transmission method and apparatus, terminal device, network-side device and chip | |
| WO2023174321A1 (en) | Voice service implementation method, apparatus, and terminal | |
| CN113784384B (en) | Mode switching method, terminal and network side equipment | |
| CN116801330A (en) | Voice service implementation method, device, terminal and network side equipment | |
| US20250274985A1 (en) | Random access method, apparatus and device, and storage medium | |
| CN110291815B (en) | A method, device and medium for improving business continuity | |
| WO2025130026A1 (en) | Location update method and device, and chip system and storage medium | |
| WO2025055807A1 (en) | Terminal camping method and apparatus, terminal, and network-side device | |
| WO2025237266A1 (en) | Network identification method, and terminal and network-side device | |
| CN116963218A (en) | Cell access method, device, equipment and storage medium | |
| WO2024022389A1 (en) | Cell connection method and apparatus, and related device | |
| WO2025113270A1 (en) | Operation execution method, information sending method, apparatus and related device | |
| WO2025082292A1 (en) | Communication method, apparatus and device | |
| WO2022206552A1 (en) | Handover method and apparatus, network side device, and terminal |