SIM card switching method and device

By automatically detecting the roaming status of the SIM card in the terminal and switching the target SIM card, the problem of low roaming service switching efficiency is solved, and simple and efficient roaming service operation and tariff management are realized.

CN113709722BActive Publication Date: 2024-10-29VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111006118.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-30
Publication Date
2024-10-29
Estimated Expiration
2041-08-30

AI Technical Summary

Technical Problem

In a roaming scenario, users need to manually switch the data master card for the roaming service, which is inconvenient and inefficient.

Method used

By automatically detecting the roaming status of the SIM card in the terminal and automatically switching the target SIM card for roaming services based on the roaming status, it is ensured that the terminal's data services and call services can be switched to a SIM card that supports the current roaming location.

Benefits of technology

The roaming service switching is completed simply and efficiently, which improves the user experience, avoids the problem of delayed information reception, and switches back to the original card in time when returning to the home place to avoid wastage of tariffs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113709722B_ABST
    Figure CN113709722B_ABST
Patent Text Reader

Abstract

The present application discloses a SIM card switching method and device, belonging to the field of communication technology. The terminal is provided with multiple SIM cards, and the SIM card switching method includes: obtaining the roaming status of the multiple SIM cards, the roaming status indicating whether the roaming package of the current roaming location has been activated; determining the target SIM card based on the roaming status; and switching the data service and / or call service of the terminal to the target SIM card.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a method and device for switching a Subscriber Identity Module (SIM) card in a terminal. Background Art

[0002] With the rapid development of user needs and communication technology, dual-SIM dual-standby terminals have been widely used by communication users. However, in roaming scenarios, users need to manually switch the data primary card for roaming services according to their needs, which is inconvenient and inefficient. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a SIM card switching method and device, which can solve the problem of low switching efficiency of roaming primary cards in the prior art.

[0004] In a first aspect, an embodiment of the present application provides a method for switching a SIM card, wherein a terminal is provided with multiple SIM cards, and the method includes:

[0005] Obtaining the roaming status of the multiple SIM cards, where the roaming status indicates whether a roaming package has been activated in the current roaming location;

[0006] Based on the roaming status, determining a target SIM card;

[0007] Switching the data service and / or call service of the terminal to the target SIM card;

[0008] The target SIM card supports the roaming service of the current roaming location.

[0009] In a second aspect, an embodiment of the present application provides a SIM card switching device, wherein a plurality of SIM cards are provided in the terminal, and the device comprises:

[0010] An acquisition module, used to acquire the roaming status of the multiple SIM cards, wherein the roaming status indicates whether a roaming package of the current roaming location has been activated;

[0011] A determination module, used to determine a target SIM card based on the roaming status;

[0012] A first switching module, configured to switch the data service and / or call service of the terminal to the target SIM card;

[0013] The target SIM card supports the roaming service of the current roaming location.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0017] In the embodiment of the present application, in the roaming situation, the roaming status of the SIM card in the terminal is automatically detected, and the target SIM card is automatically switched according to the roaming status to perform roaming services, so the switching is simple and efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 One of the flow charts of the SIM card switching method provided in the embodiment of the present application;

[0019] Figure 2 The second flowchart of the SIM card switching method provided in the embodiment of the present application;

[0020] Figure 3 This is one of the example diagrams of the SIM card setting page in the SIM card switching method provided according to an embodiment of the present application;

[0021] Figure 4 This is a second example diagram of a SIM card setting page in the SIM card switching method provided according to an embodiment of the present application;

[0022] Figure 5 The third flowchart of the SIM card switching method provided in the embodiment of the present application;

[0023] Figure 6 A fourth flowchart of a SIM card switching method provided in an embodiment of the present application;

[0024] Figure 7 This is an example diagram of a SIM card switching confirmation setting page in a SIM card switching method provided according to an embodiment of the present application;

[0025] Figure 8 A schematic diagram of the structure of a SIM card switching device provided in an embodiment of the present application;

[0026] Fig. 9A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0027] Fig.10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0029] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0030] The embodiment of the present application aims at the problem of low efficiency of switching the roaming main card in the prior art. In the case of roaming, the roaming status of the SIM card in the terminal is automatically detected, and the target SIM card is automatically switched according to the roaming status to perform roaming services, so that the switching is simple and efficient. The SIM card switching method, device, electronic device and storage medium provided by the embodiment of the present application are described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0031] Figure 1 One of the flow charts of the SIM card switching method provided in the embodiment of the present application, the method can be executed by a terminal with dual-SIM dual-standby or multi-SIM multi-standby functions, etc., wherein the terminal is provided with multiple SIM cards, such as Figure 1 As shown, the method includes:

[0032] Step 101, obtaining the roaming status of the multiple SIM cards.

[0033] The roaming status indicates whether the roaming package of the current roaming location has been activated.

[0034] It can be understood that when a user carries a terminal away from the home location of the SIM card and arrives at a new area, multiple SIM cards in the terminal may have different roaming states due to the roaming services activated in advance for the area. The roaming state indicates whether the SIM card has activated the roaming service of the current roaming location (i.e., the current location), that is, when it is determined that the current location is not the home location of the SIM card, it is determined whether the SIM card has activated the roaming service of the current location.

[0035] The terminal determines whether the multiple SIM cards are roaming according to the mobile network where the SIM cards are located. For example, the terminal can determine whether the multiple SIM cards are roaming by comparing the current public land mobile network (Public Land Mobile Network, PLMN) of the SIM card with the PLMN of the registered home place, or in the case of international roaming, it can also be determined by comparing the mobile country code (Mobile Country Code, MCC) of the SIM card registration operator and the MCC of the current network, or it can also be determined by other methods, and the present application does not impose specific restrictions on this.

[0036] Roaming is the name of a mobile phone service, which means that after a mobile station leaves its registered service area and moves to another service area, the mobile communication system can still provide services to it.

[0037] Step 102: Determine a target SIM card based on the roaming status.

[0038] The target SIM card supports the roaming service of the current roaming location.

[0039] It can be understood that, on the basis of obtaining the roaming status of each SIM card, the embodiment of the present application further automatically determines one of the SIM cards that supports roaming services in the current roaming area as the target SIM card according to the roaming status of each SIM card; or, according to user settings, determines a specific SIM card as the target SIM card to achieve normal access to the network and avoid losses to the user caused by untimely information acquisition.

[0040] Step 103: Switch the data service and / or call service of the terminal to the target SIM card.

[0041] It can be understood that, based on determining the target SIM card, other SIM cards in the terminal except the target SIM card can be turned off, and any one or both of the terminal's data service and call service can be switched to the target SIM card to obtain the corresponding data or call roaming service in the current roaming location.

[0042] The SIM card switching method provided in the embodiment of the present application automatically detects the roaming status of the SIM card in the terminal and automatically switches the target SIM card to perform roaming services according to the roaming status in a roaming situation, thereby simplifying the switching and achieving high efficiency.

[0043] Optionally, after switching the data service and / or call service of the terminal to the target SIM card, the method further comprises: when the current geographical location of the terminal is updated to the home location of the first SIM card, switching the data service and / or call service of the terminal back to the first SIM card. The first SIM card is the SIM card used by the terminal before switching to the target SIM card.

[0044] It can be understood that, when the data service and / or call service of the terminal is switched to the target SIM card in the roaming location according to the above embodiments, if the user brings the terminal back to the location of the SIM main card before the switching, in order to avoid the waste of charges caused by continuing to use the roaming service, the data service and / or call service of the terminal can be switched back to the original SIM card, that is, the first SIM card.

[0045] The embodiment of the present application automatically and timely switches the communication service of the terminal back to the home primary card when returning to the home location, so that the home primary SIM card can directly use the local mobile communication service for data service or call service, avoiding waste of user charges.

[0046] Optionally, the multiple SIM cards include a first SIM card and at least one second SIM card, and the first SIM card is a SIM card currently used by the terminal; and determining the target SIM card based on the roaming status includes one of the following:

[0047] In a case where the roaming status of the first SIM card is non-roaming and the at least one second SIM card includes a SIM card with a roaming status, determining any SIM card among the SIM cards with a roaming status as the target SIM card;

[0048] In a case where the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card whose roaming status is roaming, displaying a SIM card setting page; receiving a first input from a user on the SIM card setting page; and determining the target SIM card in response to the first input;

[0049] In a case where the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card whose roaming status is roaming, a preset SIM card is determined as the target SIM card.

[0050] It can be understood that, in actual applications, when multiple SIM cards are set in the terminal, the terminal can automatically select the target SIM card for switching according to the roaming status of the multiple SIM cards, or the user can set which SIM card to be selected as the target SIM card for switching by displaying a setting page to the user. It should be understood that switching the SIM card generally refers to switching the terminal from the currently used SIM card to the non-currently used SIM card for mobile communication services. Among them, the currently used SIM card can be called the first SIM card, and the non-currently used SIM card can be called the second SIM card.

[0051] That is to say, when the user's terminal encounters roaming situations such as national roaming, the terminal can automatically switch to a second SIM card to try to reside and perform data services when it detects that the home data primary SIM card (i.e., the first SIM card) cannot match the roaming country or region operator or cannot perform data services. This switching method can improve the user's efficiency in using the mobile phone and reduce the probability of a bad experience.

[0052] If the terminal detects that both the first SIM card and the second SIM card support roaming (such as international roaming) services in the current area, a setting prompt interface may pop up for the user to choose whether to enable roaming and which SIM card to select for roaming, or it may perform intelligent switching based on the roaming card set in advance by the user. Furthermore, it may also perform intelligent switching based on the current geographical location of the user terminal and the matching of the roaming packages activated by each SIM card. This switching method can optimize international roaming operations and improve the user's experience and feelings.

[0053] For example, taking a dual-SIM dual-standby terminal as an example, two SIM cards are set in the terminal, one of which is the SIM card currently being used by the terminal, called the first SIM card or the primary card of the home location; the other is a SIM card not currently being used by the terminal, called the second SIM card or the secondary card of the home location. The SIM card switching of the embodiment of the present application may include the following specific scenarios:

[0054] First, only the secondary card in the home country supports international roaming services, that is, the user terminal is in a situation where the primary card in the home country does not roam but the secondary card does roam. At this time, the terminal can intelligently switch to the secondary card with roaming for data services to avoid the loss of information acquisition to the user in a timely manner. In addition, the setting interface can be displayed to the user, and the user can choose whether to enable the intelligent switching secondary card roaming function for related services to avoid the possibility that the user accidentally enables roaming when he does not want to, resulting in a waste of user package fees. Specifically, it can be as follows Figure 2 As shown, it is a second flowchart of the SIM card switching method provided in the embodiment of the present application, including the following specific implementation steps:

[0055] Step 201: When the terminal is in standby mode, it starts to detect whether the home primary card is in roaming state.

[0056] Step 202: When it is detected that the primary card of the home location is not in the roaming state, further detecting whether the secondary card of the home location is in the roaming state.

[0057] Step 203, when detecting that the home secondary card is in roaming state, the terminal actively switches the data card to the home secondary card for related services, or displays a setting interface to the user to let the user decide whether to enable the automatic switching of roaming data cards to perform related services.

[0058] Step 204, turn off the primary card and turn on roaming of the secondary card.

[0059] Step 205, returning to the home location, intelligently turning off the roaming function to avoid wasting user charges.

[0060] In the embodiment of the present application, by automatically switching the terminal to a SIM card with roaming service, when the secondary card of the dual-card terminal is hosting the international roaming service, the user can complete the data international roaming without manually switching the card, and the problem of being unable to perform data services for a long time will not occur, and the user will not suffer from the delay loss of receiving information in a timely manner. At the same time, the user can also be given the option of whether to actively switch, so as to avoid the possibility that the user does not want to enable roaming services.

[0061] Optionally, after determining that any one of the SIM cards in the roaming state is the target SIM card, the method further comprises: authorizing the transfer of voice and / or SMS services sent to the first SIM card to the second SIM card.

[0062] It can be understood that, when the first SIM card according to the above embodiment, that is, the primary card of the place of origin, does not support roaming services in the current area, in order to avoid losses to the user due to information omissions, the voice and SMS service authorization of the first SIM card can be transferred to the target SIM card (the secondary card of the place of origin in the above example) with roaming services turned on, so that the target SIM card can be used to receive voice and short messages sent to the first SIM card.

[0063] In the embodiment of the present application, by transferring the voice and SMS service authorization of the home primary card to the secondary card, the calls and SMS content of the primary card will not be missed in the event of roaming, further improving the user experience.

[0064] Second, both SIM cards support roaming services in the area where the terminal is currently located. At this time, the terminal can actively pop up a window to prompt the user to select which card as the primary card for data services. For example, Figure 3As shown, this is one of the example diagrams of the SIM card setting page in the SIM card switching method provided according to an embodiment of the present application. In the figure, the user selectable items are displayed on the terminal desktop in the form of a pop-up window. The user can complete the setting of the target SIM card through a simple selection operation, which can reduce the complexity of the user's operation settings, enable the user to make reasonable overseas use configurations according to the dual-card package rates, and improve the user's friendly mobile phone experience.

[0065] Optionally, the SIM card setting page may be displayed to the user in advance, such as Figure 4 As shown in FIG. 2 , it is an example of a SIM card setting page in a SIM card switching method according to an embodiment of the present application. The user pre-sets the roaming and non-roaming data cards by operating the SIM card setting page, such as setting the primary card SIM1 not to perform roaming operations and the secondary card SIM2 to perform roaming operations. Based on the pre-setting, the terminal can intelligently switch the secondary card roaming function based on the setting to perform related business operations. Specifically, it can be as follows Figure 5 As shown, it is a flowchart of the third method for switching the SIM card provided in the embodiment of the present application, including the following specific implementation steps:

[0066] Step 501: When the terminal is in standby mode, it starts to detect whether the home primary card is in roaming mode.

[0067] Step 502: When it is detected that the primary card of the home location is in the roaming state, further detect whether the secondary card of the home location is in the roaming state.

[0068] Step 503, when it is detected that the dual SIM cards in the home location are in roaming state, a SIM card setting page is popped up, and a prompt box for setting which SIM card to use for roaming is displayed in the SIM card setting page, such as Figure 3 Optionally, the terminal can also perform corresponding intelligent switching to meet the pre-configuration according to which card the user pre-configured for roaming services, thereby realizing the user's personalized configuration and reducing the complexity of user operations.

[0069] Step 504: according to the user's settings, enable the relevant SIM card for roaming service.

[0070] Step 505, returning to the home location, intelligently turning off the roaming function to avoid wasting user charges.

[0071] In the embodiment of the present application, when both the terminal's dual SIM cards support roaming, the user can be prompted to enable roaming. If the user chooses to enable roaming, the user can be prompted to select which SIM card to enable roaming, so that the user can enable roaming according to the actual situation of their dual SIM card national roaming package. At the same time, roaming is performed based on the SIM card pre-set by the user, and intelligent switching is achieved, which greatly improves the user experience.

[0072] Optionally, the multiple SIM cards include a first SIM card and at least one second SIM card, and the first SIM card is a SIM card currently used by the terminal; determining the target SIM card based on the roaming status includes: when the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card with a roaming status, obtaining regions to which roaming packages activated for the first SIM card and the SIM card with a roaming status belong, and obtaining the current geographical location of the terminal; judging whether each of the regions matches the current geographical location, and when any of the regions matches the current geographical location, determining a SIM card corresponding to any of the regions as the target SIM card.

[0073] It can be understood that, taking a dual-SIM dual-standby mobile phone as an example, first, when both SIM cards support roaming services in the area where the terminal is currently located, but the two SIM cards have roaming services in different areas, the terminal can intelligently switch the roaming to the SIM card with roaming services corresponding to the current area to obtain data services based on the user's actual geographic location, thereby improving the user's roaming experience. For example, if the user's home data primary card is SIM1, SIM1 has a roaming package for area A, and SIM2 has a roaming package for area B, and the user terminal is currently in area B, then the terminal will intelligently switch to SIM2 for related data services. Specifically, it can be as follows Figure 6 As shown, it is a fourth flowchart of the SIM card switching method provided in the embodiment of the present application, including the following specific implementation steps:

[0074] Step 601: When the terminal is in standby mode, it starts to detect whether the home primary card is in roaming mode.

[0075] Step 602: When it is detected that the primary card of the home location is in the roaming state, further detect whether the secondary card of the home location is in the roaming state.

[0076] Step 603, when both SIM cards are in roaming state, detect the region (such as country area) to which the roaming packages (such as international roaming packages) activated by the user's dual SIM cards belong, and detect the current geographical location of the user terminal.

[0077] Step 604, based on the region to which the roaming packages activated for the dual SIM cards belong and the current geographical location of the terminal, intelligently switch to the SIM card with the corresponding roaming country package for roaming services.

[0078] That is to say, based on the region to which the roaming packages activated for dual SIM cards belong and the current geographical location of the terminal, the terminal can respectively determine whether the region to which the roaming packages activated for dual SIM cards belong matches the current geographical location of the terminal. When the current geographical location of the terminal matches the region to which a roaming package activated for a certain SIM card belongs, the roaming service will be intelligently switched to that SIM card for roaming.

[0079] Optionally, a setting interface can be displayed to the user to allow the user to set whether to enable the automatic switching roaming data card function and perform related services. This switching method can avoid the possibility of users accidentally enabling roaming without wanting to enable it, resulting in a waste of user package charges.

[0080] Step 605, returning to the home location, intelligently turning off the roaming function to avoid wasting user charges.

[0081] In the embodiment of the present application, when both terminal cards support roaming, the corresponding card is further intelligently switched to roam in the corresponding area according to whether the geographical location of the user terminal matches the area of ​​the roaming package, which can improve the convenience and efficiency of the user in using roaming services.

[0082] Optionally, when the target SIM card is not the first SIM card, the method further includes: displaying a SIM card switching confirmation setting page on the desktop of the terminal; receiving a second input from a user on the SIM card switching confirmation setting page; and when the second input indicates not to switch, determining the first SIM card as the target SIM card in response to the second input.

[0083] It can be understood that, based on the target SIM card determined by detection and judgment, the embodiment of the present application can further determine whether it is the SIM card currently being used by the terminal, that is, whether it is the first SIM card. If it is not the first SIM card, a SIM card switching confirmation setting page can be displayed on the desktop of the terminal for the user to choose whether to switch to the target SIM card. For example, Figure 7 As shown, it is an example diagram of a SIM card switching confirmation setting page in a SIM card switching method provided according to an embodiment of the present application, which includes a switch control for whether to turn on secondary card roaming.

[0084] When the terminal displays the SIM card switching confirmation setting page, the user can conveniently set whether to switch the terminal to the target SIM card for corresponding roaming services by operating the switch control displayed on the SIM card switching confirmation setting page.

[0085] Based on the user's operation of the above-mentioned switch control, the terminal can read the user's operation and use it as the user's second input. When the second input indicates no switching, that is, after the user chooses to turn off the setting of switching to the secondary card for roaming, the terminal does not switch the SIM card and continues to use the first SIM card for mobile communication services.

[0086] Optionally, when the user's second input indicates switching, that is, the user chooses to turn on the setting of switching to the secondary card for roaming, the terminal can switch to the target SIM card and use the target SIM card for roaming services.

[0087] In the embodiment of the present application, by displaying the SIM card switching confirmation setting page, it is possible to flexibly determine whether to switch the SIM card according to the user settings, thereby avoiding the possibility that the user accidentally turns on roaming when he does not want to, resulting in a waste of user package charges.

[0088] It should be noted that the SIM card switching method provided in the embodiment of the present application can be executed by a SIM card switching device, or a control module in the SIM card switching device for executing the SIM card switching method. In the embodiment of the present application, the SIM card switching device provided in the embodiment of the present application is taken as an example to illustrate the SIM card switching method executed by the SIM card switching device.

[0089] like Figure 8 As shown, it is a structural schematic diagram of a SIM card switching device provided in an embodiment of the present application. The device 800 can be used to implement the SIM card switching process in the above-mentioned SIM card switching method embodiments. The terminal is provided with multiple SIM cards. The device 800 includes: an acquisition module 801, a determination module 802 and a first switching module 803.

[0090] Among them, the acquisition module 801 is used to obtain the roaming status of the multiple SIM cards, and the roaming status indicates whether the roaming package of the current roaming location has been activated; the determination module 802 is used to determine the target SIM card based on the roaming status; the first switching module 803 is used to switch the data service and / or call service of the terminal to the target SIM card; wherein, the target SIM card supports the roaming service of the current roaming location.

[0091] The SIM card switching device provided in the embodiment of the present application automatically detects the roaming status of the SIM card in the terminal and automatically switches the target SIM card to perform roaming services according to the roaming status in a roaming situation, thereby simplifying the switching and achieving high efficiency.

[0092] Optionally, the multiple SIM cards include a first SIM card and at least one second SIM card, and the first SIM card is a SIM card currently used by the terminal; and the determining module is used for one of the following:

[0093] In a case where the roaming status of the first SIM card is non-roaming and the at least one second SIM card includes a SIM card with a roaming status, determining any SIM card among the SIM cards with a roaming status as the target SIM card;

[0094] In a case where the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card whose roaming status is roaming, displaying a SIM card setting page; receiving a first input from a user on the SIM card setting page; and determining the target SIM card in response to the first input;

[0095] In a case where the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card whose roaming status is roaming, a preset SIM card is determined as the target SIM card.

[0096] The SIM card switching device provided in the embodiment of the present application automatically switches the terminal to a SIM card with roaming service. When the secondary card of the dual-SIM terminal is hosting the international roaming service, the user can complete the international data roaming without manually switching the card, thereby solving the problem of the user's untimely information reception. Moreover, when it is detected that both the primary and secondary SIM cards are in the roaming state, the user is actively prompted to perform SIM card roaming settings, so that the user can personalize and enable the roaming package according to the actual situation of his or her own dual-SIM country package.

[0097] Optionally, the multiple SIM cards include a first SIM card and at least one second SIM card, and the first SIM card is a SIM card currently used by the terminal; and the determination module, when used to determine the target SIM card based on the roaming state, is used to:

[0098] When the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card in roaming status, obtaining the regions to which the roaming packages activated by the first SIM card and the SIM card in roaming status belong, and obtaining the current geographical location of the terminal;

[0099] It is determined whether the regions to which each belongs match the current geographical location, and if any region to which each belongs matches the current geographical location, a SIM card corresponding to any region to which each belongs is determined as the target SIM card.

[0100] The embodiment of the present application further intelligently switches to the corresponding card for roaming in the corresponding area according to whether the geographical location of the user terminal matches the area of ​​the roaming package, which can improve the convenience and efficiency of the user in using the roaming service.

[0101] Optionally, when the target SIM card is not the first SIM card, the device further includes:

[0102] A display module, used to display a SIM card switching confirmation setting page on the desktop of the terminal;

[0103] A receiving module, used to receive a second input from a user on the SIM card switching confirmation setting page;

[0104] The processing module is configured to determine the first SIM card as the target SIM card in response to the second input when the second input indicates not to switch.

[0105] In the embodiment of the present application, by displaying the SIM card switching confirmation setting page, it is possible to flexibly determine whether to switch the SIM card according to the user settings, thereby avoiding the possibility that the user accidentally turns on roaming when he does not want to, resulting in a waste of user package charges.

[0106] Optionally, the SIM card switching device further comprises: a switching module, configured to transfer the voice and / or SMS service authorization sent to the first SIM card to the second SIM card.

[0107] In the embodiment of the present application, by transferring the voice and SMS service authorization of the home primary card to the secondary card, the calls and SMS content of the primary card will not be missed in the event of roaming, further improving the user experience.

[0108] Optionally, the device further includes: a second switching module, configured to switch the data service and / or call service of the terminal back to the first SIM card when the current geographical location of the terminal is updated to the location of the first SIM card.

[0109] The embodiment of the present application automatically and timely switches the communication service of the terminal back to the home primary card when returning to the home location, so that the home primary SIM card can directly use the local mobile communication service for data service or call service, avoiding waste of user charges.

[0110] The switching device of the SIM card in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0111] The SIM card switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0112] The SIM card switching device provided in the embodiment of the present application can achieve Figures 1 to 7 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0113] Alternatively, if Fig. 9 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 901, a memory 902, and a program or instruction stored in the memory 902 and executable on the processor 901. When the program or instruction is executed by the processor 901, the various processes of the above-mentioned SIM card switching method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0114] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0115] Fig.10 The hardware structure diagram of an electronic device implementing the embodiment of the present application is shown in FIG. Fig.10 As shown, the electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

[0116] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0117] The radio frequency unit 1001 is used to obtain the roaming status of the multiple SIM cards, where the roaming status indicates whether the roaming package of the current roaming location has been activated;

[0118] The processor 1010 is configured to determine a target SIM card based on the roaming state; and switch a data service and / or a call service of the terminal to the target SIM card;

[0119] The target SIM card supports the roaming service of the current roaming location.

[0120] The electronic device provided in the embodiment of the present application, in a roaming situation, automatically detects the roaming status of the SIM card in the terminal, and automatically switches the target SIM card to perform roaming services according to the roaming status, thereby simplifying the switching and achieving high efficiency.

[0121] Optionally, the multiple SIM cards include a first SIM card and at least one second SIM card, and the first SIM card is a SIM card currently used by the terminal;

[0122] The processor 1010 is further configured to, when the roaming status of the first SIM card is non-roaming and the at least one second SIM card includes a SIM card with a roaming status, determine that any SIM card among the SIM cards with a roaming status is the target SIM card;

[0123] or,

[0124] The display unit 1006 is configured to display a SIM card setting page when the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card whose roaming status is roaming;

[0125] A user input unit 1007, used to receive a first input from a user on the SIM card setting page;

[0126] The processor 1010 is further configured to determine the target SIM card in response to the first input;

[0127] or,

[0128] The processor 1010 is further configured to, when the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card whose roaming status is roaming, determine a preset SIM card as the target SIM card.

[0129] In the embodiment of the present application, by automatically switching the terminal to a SIM card with roaming service, when the secondary card of the dual-SIM terminal is hosting the international roaming service, the user can complete the international data roaming without manually switching the card, which can solve the problem of the user's untimely information reception. In addition, when it is detected that both the primary and secondary SIM cards are in roaming state, the user is actively prompted to set the SIM card roaming, so that the user can personalize and enable the roaming package according to the actual situation of his or her own dual-SIM country package.

[0130] Optionally, the multiple SIM cards include a first SIM card and at least one second SIM card, and the first SIM card is a SIM card currently used by the terminal; the processor 1010 is further configured to, when the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card with a roaming status, obtain regions to which roaming packages activated for the first SIM card and the SIM card with a roaming status belong, and obtain a current geographical location of the terminal; and, determine whether each of the regions matches the current geographical location, and when any of the regions matches the current geographical location, determine a SIM card corresponding to any of the regions as the target SIM card.

[0131] The embodiment of the present application further intelligently switches to the corresponding card for roaming in the corresponding area according to whether the geographical location of the user terminal matches the area of ​​the roaming package, which can improve the convenience and efficiency of the user in using the roaming service.

[0132] Optionally, when the target SIM card is not the first SIM card, the display unit 1006 is further configured to display a SIM card switching confirmation setting page on the desktop of the terminal;

[0133] The user input unit 1007 is further used to receive a second input from the user on the SIM card switching confirmation setting page;

[0134] The processor 1010 is further configured to, in response to the first input, determine the first SIM card as the target SIM card in response to the second input when the second input indicates not to switch.

[0135] In the embodiment of the present application, by displaying the SIM card switching confirmation setting page, it is possible to flexibly determine whether to switch the SIM card according to the user settings, thereby avoiding the possibility that the user accidentally turns on roaming when he does not want to, resulting in a waste of user package charges.

[0136] Optionally, the processor 1010 is further configured to transfer the voice and / or SMS service authorization sent to the first SIM card to the second SIM card. In the embodiment of the present application, by transferring the voice and SMS service authorization of the primary card of the home location to the secondary card, the primary card's call and SMS content will not be missed in the event of roaming, further improving the user experience.

[0137] Optionally, the processor 1010 is further configured to switch the data service and / or call service of the terminal back to the first SIM card when the current geographical location of the terminal is updated to the location of the first SIM card.

[0138] The embodiment of the present application automatically and timely switches the communication service of the terminal back to the home primary card when returning to the home location, so that the home primary SIM card can directly use the local mobile communication service for data service or call service, avoiding waste of user charges.

[0139] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.

[0140] An embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned SIM card switching method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0141] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0142] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement each process of the above-mentioned SIM card switching method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0143] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0144] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0145] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0146] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for switching a SIM card, characterized in that: The terminal is provided with multiple SIM cards, and the method comprises: Obtaining the roaming status of the multiple SIM cards, where the roaming status indicates whether a roaming package has been activated in the current roaming location; Based on the roaming status, determining a target SIM card; Switching the data service and / or call service of the terminal to the target SIM card; The target SIM card supports roaming services in the current roaming location; The multiple SIM cards include a first SIM card and at least one second SIM card, and the first SIM card is a SIM card currently used by the terminal; and determining the target SIM card based on the roaming state includes one of the following: In a case where the roaming status of the first SIM card is non-roaming and the at least one second SIM card includes a SIM card with a roaming status, determining any SIM card among the SIM cards with a roaming status as the target SIM card; In a case where the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card whose roaming status is roaming, displaying a SIM card setting page; receiving a first input from a user on the SIM card setting page; and determining the target SIM card in response to the first input; In a case where the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card whose roaming status is roaming, a preset SIM card is determined as the target SIM card.

2. The SIM card switching method according to claim 1, characterized in that: The multiple SIM cards include a first SIM card and at least one second SIM card, the first SIM card being a SIM card currently used by the terminal; The determining of the target SIM card based on the roaming status includes: When the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card in roaming status, obtaining the regions to which the roaming packages activated by the first SIM card and the SIM card in roaming status belong, and obtaining the current geographical location of the terminal; It is determined whether the regions to which each belongs match the current geographical location, and if any region to which each belongs matches the current geographical location, a SIM card corresponding to any region to which each belongs is determined as the target SIM card.

3. The SIM card switching method according to claim 1, characterized in that: After determining that any one of the SIM cards whose roaming status is roaming is the target SIM card, the method further includes: The voice and / or SMS service authorization sent to the first SIM card is transferred to the second SIM card.

4. The SIM card switching method according to any one of claims 2 to 3, characterized in that: After switching the data service and / or call service of the terminal to the target SIM card, the method further includes: When the current geographical location of the terminal is updated to the location of the first SIM card, the data service and / or call service of the terminal is switched back to the first SIM card.

5. A SIM card switching device, characterized in that: The terminal is provided with multiple SIM cards, and the device comprises: An acquisition module, used to acquire the roaming status of the multiple SIM cards, wherein the roaming status indicates whether a roaming package of the current roaming location has been activated; A determination module, used to determine a target SIM card based on the roaming status; A first switching module, configured to switch the data service and / or call service of the terminal to the target SIM card; The target SIM card supports roaming services in the current roaming location; The multiple SIM cards include a first SIM card and at least one second SIM card, and the first SIM card is a SIM card currently used by the terminal; and the determining module is used for one of the following: In a case where the roaming status of the first SIM card is non-roaming and the at least one second SIM card includes a SIM card with a roaming status, determining any SIM card among the SIM cards with a roaming status as the target SIM card; In a case where the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card whose roaming status is roaming, displaying a SIM card setting page; receiving a first input from a user on the SIM card setting page; and determining the target SIM card in response to the first input; In a case where the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card whose roaming status is roaming, a preset SIM card is determined as the target SIM card.

6. The SIM card switching device according to claim 5, characterized in that: The multiple SIM cards include a first SIM card and at least one second SIM card, the first SIM card is a SIM card currently used by the terminal; the determination module, when used to determine the target SIM card based on the roaming state, is used to: When the roaming status of the first SIM card is roaming and the at least one second SIM card includes a SIM card in roaming status, obtaining the regions to which the roaming packages activated by the first SIM card and the SIM card in roaming status belong, and obtaining the current geographical location of the terminal; It is determined whether the regions to which each belongs match the current geographical location, and if any region to which each belongs matches the current geographical location, a SIM card corresponding to any region to which each belongs is determined as the target SIM card.

7. The SIM card switching device according to claim 5, characterized in that: The device also includes: The transfer module is used to transfer the voice and / or SMS service authorization sent to the first SIM card to the second SIM card.

8. The SIM card switching device according to any one of claims 5 to 7, characterized in that: The device also includes: The second switching module is configured to switch the data service and / or call service of the terminal back to the first SIM card when the current geographical location of the terminal is updated to the location of the first SIM card.

Citation Information

Patent Citations

  • SIM card selection method and device, storage medium and computer equipment

    CN110035385A