SIM card switching method and device and storage medium
By detecting the SIM card switching request, obtaining the terminal card slot and SIM card information, and switching the current SIM card to an integrated SIM card, the problem of integrated SIM card switching in the existing technology is solved, and the flexibility and user experience of the terminal device are improved.
Patent Information
- Application Number
- CN202311387776.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-04-25
AI Technical Summary
The prior art is difficult to switch the integrated SIM card, which makes it impossible for the terminal to complete the switching operation of the integrated SIM card.
By detecting the SIM card switching request information, the card slot information of the terminal and the SIM card information currently used are obtained, and the current SIM card is switched to the integrated SIM card. The method includes determining information about the card slot and SIM card to be switched, configuring and activating the integrated SIM card, and performing SIM card switching.
It realizes that the terminal can complete the switching of integrated SIM cards, improving the flexibility and user experience of terminal devices.
Smart Images

Figure CN119893491A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communications, and in particular to a SIM card switching method, device and storage medium. Background Art
[0002] With the development of communication technology, subscriber identity module (SIM) cards are also evolving accordingly.
[0003] The integrated SIM (iSIM) card is an evolution of the traditional physical SIM (pSIM). It is a SIM card that does not require a physical slot and is completely embedded in the device. With the development of terminal technology, iSIM cards are gradually being used by users. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a SIM card switching method, device and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a SIM card switching method is provided, comprising: in response to detecting first information, acquiring second information, wherein the first information is SIM card switching request information, and the second information comprises: card slot information of a terminal and information of a first SIM card corresponding to the card slot, the first SIM card being a SIM card currently used by the terminal, and each of the card slots corresponding to one first SIM card;
[0006] Based on the first information and the second information, the first SIM card is switched to a second SIM card, where the second SIM card is an integrated SIM card.
[0007] In one implementation, switching the first SIM card to the second SIM card includes: determining information of the card slot to be switched and information of the first SIM card to be switched based on the first information and the card slot information of the terminal; configuring information of the second SIM card for the card slot to be switched, and activating the second SIM card; and switching the first SIM card to be switched to the second SIM card.
[0008] In another embodiment, the switching of the first SIM card to be switched to the second SIM card includes: updating the information of the second SIM card to the terminal; powering off the first SIM card to be switched, and powering on the second SIM card.
[0009] In yet another implementation manner, before acquiring the second information, the method further includes: performing a switching environment detection on the terminal, and determining a switching environment detection result.
[0010] In yet another embodiment, configuring information of the second SIM card for the card slot to be switched includes: establishing a configuration request for configuring information of the second SIM card; performing validity detection on the configuration request, and configuring information of the second SIM card in response to the configuration request being valid.
[0011] According to a second aspect of an embodiment of the present disclosure, a SIM card switching device is provided, including: an acquisition unit, configured to acquire second information in response to detecting first information, wherein the first information is SIM card switching request information, and the second information includes: card slot information of a terminal and information of a first SIM card corresponding to the card slot, the first SIM card is a SIM card currently used by the terminal, and each of the card slots corresponds to one first SIM card; and a processing unit, configured to switch the first SIM card to a second SIM card based on the first information and the second information, wherein the second SIM card is an integrated SIM card.
[0012] In one implementation, the processing unit switches the first SIM card to the second SIM card based on the following method, including: determining information of the card slot to be switched and information of the first SIM card to be switched based on the first information and the card slot information of the terminal; configuring information of the second SIM card for the card slot to be switched, and activating the second SIM card; and switching the first SIM card to be switched to the second SIM card.
[0013] In another embodiment, the processing unit switches the first SIM card to be switched to the second SIM card in the following manner, including: updating the information of the second SIM card to the terminal; powering off the first SIM card to be switched and powering on the second SIM card.
[0014] In yet another implementation, before acquiring the second information, the processing unit is further configured to: perform a switching environment detection on the terminal and determine a switching environment detection result.
[0015] In another embodiment, the processing unit configures information of the second SIM card for the card slot to be switched in the following manner, including: establishing a configuration request for configuring information of the second SIM card; performing validity detection on the configuration request, and configuring the information of the second SIM card in response to the configuration request being valid.
[0016] According to a third aspect of an embodiment of the present disclosure, a SIM card switching device is provided, comprising: a memory for storing processor executable commands; wherein the processor is configured to: execute the SIM card switching method described in the first aspect or any one implementation of the first aspect.
[0017] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of a device, the device is enabled to execute the SIM card switching method described in the first aspect or any one of the implementations of the first aspect.
[0018] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: determining the card slot information of the terminal and the information of the SIM card currently used by the terminal when obtaining a SIM card switching request from a user. And performing SIM card switching on the SIM card in the specified SIM card slot based on the user request instruction. Clarifying the switching scheme for the integrated SIM card, so that the terminal can complete the switching of the integrated SIM card.
[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0021] Figure 1 The figure is a flow chart showing a method for switching a SIM card according to an exemplary embodiment.
[0022] Figure 2 The present invention is a flowchart showing a SIM card switching method according to an exemplary embodiment.
[0023] Figure 3 The present invention is a flowchart showing a SIM card switching method according to an exemplary embodiment.
[0024] Figure 4 The present invention is a flowchart showing a SIM card switching method according to an exemplary embodiment.
[0025] Figure 5 The invention is a flowchart showing a method of configuring information of a second SIM card according to an exemplary embodiment.
[0026] Figure 6 The figure is a flow chart showing a method for switching a SIM card according to an exemplary embodiment.
[0027] Figure 7aThe figure is a flow chart showing a method for switching a SIM card according to an exemplary embodiment.
[0028] Figure 7b The figure is a flow chart showing a method for switching a SIM card according to an exemplary embodiment.
[0029] Figure 7c The figure is a flow chart showing a method for switching a SIM card according to an exemplary embodiment.
[0030] Figure 7d The figure is a flow chart showing a method for switching a SIM card according to an exemplary embodiment.
[0031] Figure 8 The figure is a block diagram of a SIM card switching device according to an exemplary embodiment.
[0032] Fig. 9 The invention is a block diagram showing a device for switching a SIM card according to an exemplary embodiment.
[0033] Fig.10 The invention is a block diagram showing a device for switching a SIM card according to an exemplary embodiment. DETAILED DESCRIPTION
[0034] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.
[0035] The SIM card switching method involved in the embodiment of the present disclosure is applied to a terminal. In some embodiments, the terminal includes, for example, a mobile phone, a wearable device, an Internet of Things device, a car with a communication function, a smart car, a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, and at least one of a wireless terminal device in a smart home, but is not limited thereto.
[0036] It should be noted that, in order to facilitate understanding of the technical solution, the following embodiments are described using a terminal in the form of a smart phone as an example.
[0037] A Subscriber Identity Module (SIM) card is a card that stores basic user information and network information, enabling a user's phone or other device to connect to a mobile network and make calls, send messages, or use data.
[0038] The physical SIM (pSIM) card is a type of SIM card that users often use. Terminals usually need to set up independent card slots for pSIM cards. With the development of communication technology, pSIM cards are followed by various evolved versions of SIM cards, such as embedded SIM (eSIM) cards and integrated SIM (iSIM) cards launched after eSIM cards. Among them, with the development of terminal technology, more and more terminals can support communications based on iSIM cards.
[0039] In some embodiments, a terminal supporting multi-SIM card communication (eg, a dual-SIM dual-standby type terminal or a dual-SIM dual-pass type terminal) may support an iSIM card for communication.
[0040] For example, a dual-SIM dual-standby terminal is used as an example, where the terminal can support pSIM card and iSIM card. If the terminal needs to switch SIM card for random access, the SIM card switching situation may include: pSIM card switching to iSIM card, or iSIM card switching to pSIM card.
[0041] It can be understood that if the terminal is configured with two iSIM cards of different types (for example, iSIM card #1 of communication company A and SIM card #2 of communication company B), when the terminal needs to switch SIM cards (for example, switching SIM cards for random access), the situations of switching SIM cards may include: switching iSIM card #1 to iSIM card #2, or switching iSIM card #2 to iSIM card #1.
[0042] It is understandable that since the iSIM card is essentially different from other SIM cards (such as pSIM card and eSIM card) in hardware structure and design mechanism, the SIM card switching method corresponding to other SIM cards in the relevant technology cannot be directly applied to the situation where an iSIM card exists in the case of switching SIM cards.
[0043] Based on this, the embodiment of the present disclosure proposes a SIM card switching method, which determines the card slot information of the terminal and the information of the SIM card currently used by the terminal when obtaining the SIM card switching request of the user. And based on the user request instruction, the SIM card in the specified SIM card slot is switched. The switching scheme for the integrated SIM card is clarified, so that the terminal can complete the switching of the integrated SIM card.
[0044] It should be noted that, in order to facilitate understanding of the embodiments of the present disclosure, some terms used in the embodiments of the present disclosure are explained below to facilitate understanding by those skilled in the art.
[0045] iSIM card: iSIM card is the abbreviation of Integrated SIM Card. It is a SIM card that is completely embedded in the device and does not require a physical slot. iSIM card uses chip-level integration to integrate the functions of the SIM card directly into the device's motherboard or chip. The benefits of iSIM card are that it can reduce the size of the device, enhance security, reduce costs, and allow device manufacturers to configure and manage SIM cards during the production process.
[0046] eSIM card: eSIM card is the abbreviation of embedded SIM card. Unlike traditional physical SIM card, eSIM card is a programmable chip built into the device, which can be configured and activated through software. Users can choose operators as needed and switch between different operators without changing physical SIM card. The advantage of eSIM card is that it is convenient and fast, reducing the physical insertion and removal of SIM card, and is suitable for devices that support this technology, such as smart watches, tablets and some high-end smartphones.
[0047] Figure 1 is a flow chart of a SIM card switching method according to an exemplary embodiment. Figure 1 As shown, the SIM card switching method is used in a terminal and includes the following steps.
[0048] In step S11, in response to detecting the first information, second information is obtained, wherein the first information is SIM card switching request information, and the second information includes: the card slot information of the terminal and the information of the first SIM card corresponding to the card slot, the first SIM card is the SIM card currently used by the terminal, and each card slot corresponds to a first SIM card.
[0049] In step S12, based on the first information and the second information, the first SIM card is switched to the second SIM card, where the second SIM card is an integrated SIM card.
[0050] The SIM card switching method provided in the embodiment of the present disclosure determines the card slot information of the terminal and the information of the SIM card currently used by the terminal when obtaining the SIM card switching request from the user, and switches the SIM card in the specified SIM card slot based on the user request instruction.
[0051] In some embodiments, the card slot information of the terminal includes at least one of the following: number information of the card slots, or number information of the card slots.
[0052] Exemplarily, the number of card slots can be understood as the number of card slots available in the terminal, for example, the number of card slots available in a dual-card dual-pass terminal is 2, and the number of card slots available in a single-card terminal is 1.
[0053] For example, the card slot number information can be understood as the card slot identifier, which is used to identify the card slot. For example, the number of card slots in a dual-card dual-pass terminal is 2, the card slot corresponding to the primary card is card slot 1#, and the card slot corresponding to the secondary card is card slot 2#.
[0054] In some embodiments, the number of card slots is an integer greater than or equal to one.
[0055] In some embodiments, the card slot may refer to a physical card slot or a virtual card slot.
[0056] Exemplarily, the physical card slot may include: a physical card slot for carrying a pSIM card, and an embedded chip for carrying an eSIM card. The virtual card slot may include: a space for storing information or parameters related to an iSIM card, and / or an environment in which an iSIM card operates.
[0057] It can be understood that the physical card slot mentioned in the embodiments of the present disclosure is not limited to the above-mentioned physical card slot and embedded chip, but also includes the deduced structure of other physical card slots and embedded chips, which is used to carry SIM cards in physical form. In addition to pSIM cards and eSIM cards, SIM cards in physical form also include other related SIM cards and deduced SIM cards.
[0058] It can be understood that the virtual card slot mentioned in the embodiment of the present disclosure is not limited to the above-mentioned space for storing iSIM card related information or parameters, and / or the environment in which the iSIM card operates, but also includes a deduction module of other storage modules, which includes both the storage space set in the software program and the hardware memory, etc.
[0059] It is understandable that since the iSIM card integrates the function directly into the motherboard or chip of the device, a terminal with this function may be set as a dual-SIM dual-pass terminal or a dual-SIM dual-standby terminal even if it is provided with one physical card slot (for example, a physical card slot for carrying a pSIM card, or an embedded chip for carrying an eSIM). That is, it will trigger the situation of switching the iSIM card.
[0060] In some embodiments, switching of the SIM card includes: switching of the position of the card slot of the SIM card.
[0061] Exemplarily, the terminal has a 1# card slot and a 2# card slot, the 1# card slot corresponds to the first SIM card, and switching the card slot position of the SIM card can be understood as switching the second SIM card to the 1# card slot.
[0062] Optionally, after the card slot position of the SIM card is switched, at least one of the following may be performed: switching of the network access state of the SIM card or switching of the connection state between the SIM card and the system.
[0063] Exemplarily, the switching of the connection state between the SIM card and the system can be understood as powering off the first SIM card from the system and selecting the second SIM card to power on. That is, the system initially maintains a connection state with the first SIM card (i.e., the terminal uses the first SIM card to process communication services), and after the SIM card is switched, the first SIM card is powered off and removed from the system, and the second SIM card is connected to the system and powered on, so that the system maintains a connection state with the second SIM card (i.e., the terminal uses the second SIM card to process communication services).
[0064] Exemplarily, the switching of the network access state of the SIM card may be understood as the first SIM card being connected to the first serving cell, terminating the connection state of the first SIM card with the first serving cell, and calling the second SIM card to connect to the first serving cell.
[0065] In some embodiments, the first information is indicated by a user.
[0066] Exemplarily, the first information is a user instruction to “switch the pSIM card in the 1# card slot to an iSIM card”.
[0067] In some embodiments, the first information includes at least one of the following: the number of the card slots that the customer instructs to switch, the identifier of the card slot that the customer instructs to switch, the first SIM card information in the card slot that the customer instructs to switch, and the target SIM card information after the customer instructs to switch.
[0068] In some embodiments, the information of the first SIM card includes at least one of the following:
[0069] The card slot information where the first SIM card is located and the type information of the first SIM card, etc.
[0070] In some embodiments, the type information of the first SIM card includes any of the following:
[0071] The first SIM card is a pSIM card, the first SIM card is an eSIM card, the first SIM card is an iSIM card, or a SIM card derived from the three.
[0072] In some embodiments, the first SIM card is switched to the second SIM card, and the corresponding switching situation may include any of the following situations:
[0073] The first SIM card is a pSIM card or a SIM card derived from a pSIM card, and the second SIM card is an iSIM;
[0074] The first SIM card is an eSIM card or a SIM card derived from an eSIM card, and the second SIM card is an iSIM;
[0075] The first SIM card is an iSIM or a derived SIM card of an eSIM card, and the second SIM card is an iSIM.
[0076] In some embodiments, "obtain", "obtain", "get", "receive", "transmit", "bidirectional transmission", "send and / or receive" can be interchangeable, which can be interpreted as receiving from other subjects, but is not limited to this.
[0077] In some embodiments, terms such as "certain", "preset", "preset", "set", "indicated", "some", "any", and "first" can be interchangeable, and "specific A", "preset A", "preset A", "set A", "indicated A", "some A", "any A", and "first A" can be interpreted as A pre-defined in a protocol, etc., or as A obtained through setting, configuration, or indication, etc., and can also be interpreted as specific A, some A, any A, or first A, etc., but is not limited to this.
[0078] The SIM card switching method involved in the embodiment of the present disclosure may include at least one of step S11 to step S12. For example, step S11 may be implemented as an independent embodiment, step S12 may be implemented as an independent embodiment, and step S11+step S12 may be implemented as independent embodiments, but is not limited thereto.
[0079] In some embodiments, step S11 is optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0080] In some embodiments, step S12 is optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0081] Figure 2 is a flow chart showing a SIM card switching according to an exemplary embodiment. Figure 2 As shown, switching the first SIM card to the second SIM card includes the following steps.
[0082] In step S21, based on the first information and the card slot information of the terminal, the information of the card slot to be switched and the information of the first SIM card to be switched are determined.
[0083] In step S22, information of the second SIM card is configured for the card slot to be switched, and the second SIM card is activated.
[0084] In step S23, the first SIM card to be switched is switched to the second SIM card.
[0085] The SIM card switching method provided by the embodiment of the present disclosure configures the information of the second SIM card in the designated card slot to be switched, and activates the second SIM card, further completing the switching of the SIM card. Since the information confirmation of the card slot to be switched has been completed before configuring the second SIM card, based on this, the activated second SIM card can accurately complete the switching with the corresponding SIM card.
[0086] In some embodiments, the information of the second SIM card is configured based on a preset information library.
[0087] It can be understood that, since the second SIM card is an integrated SIM card, after the configuration of the second SIM card is completed, it is equivalent to completing the selection and determination of the second SIM card.
[0088] It can be understood that activating the second SIM card means activating the information configured on the second SIM card so that subsequent communication processing or other terminal operations can be performed.
[0089] It is understandable that based on Figure 1 The description of the first information and the card slot information of the terminal in the relevant embodiments can realize determining the information of the card slot to be switched and the information of the first SIM card to be switched through the first information and the card slot information of the terminal.
[0090] The SIM card switching method involved in the embodiment of the present disclosure may include at least one of step S21 to step S23. For example, step S21 may be implemented as an independent embodiment, step S22 may be implemented as an independent embodiment, step S23 may be implemented as an independent embodiment, and step S21+step S22+step S23 may be implemented as an independent embodiment, but is not limited thereto.
[0091] In some embodiments, step S21 and step S22 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0092] In some embodiments, step S21 and step S23 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0093] In some embodiments, step S22 and step S23 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0094] Figure 3 is a flow chart showing a SIM card switching according to an exemplary embodiment. Figure 3 As shown, switching the first SIM card to be switched to the second SIM card includes the following steps.
[0095] In step S31, the information of the second SIM card is updated to the terminal;
[0096] In step S32, the first SIM card to be switched is powered off, and the second SIM card is powered on.
[0097] The SIM card switching method provided in the embodiment of the present disclosure completes the switching from the first SIM card to the second SIM card by updating the information of the second SIM card to the terminal and connecting the second SIM card to the communication system of the terminal after the update, and ensures the integrity of the data of the second SIM card after the switching.
[0098] In some embodiments, the information of the second SIM card is updated to a corresponding storage area of the terminal.
[0099] In some embodiments, the method further includes updating the status information related to the second SIM card to the terminal.
[0100] Exemplarily, the network access status information and power-on status information of the second SIM card are updated to the terminal.
[0101] The SIM card switching method involved in the embodiment of the present disclosure may include at least one of step S31 to step S32. For example, step S31 may be implemented as an independent embodiment, step S32 may be implemented as an independent embodiment, and step S31+step S32 may be implemented as independent embodiments, but are not limited thereto.
[0102] In some embodiments, step S31 is optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0103] In some embodiments, step S32 is optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0104] Figure 4 is a flow chart showing a SIM card switching according to an exemplary embodiment. Figure 4 As shown, before obtaining the second information, the method further includes the following steps.
[0105] In step S41, a switching environment detection is performed on the terminal, and a switching environment detection result is determined.
[0106] In step S42, if the switching environment detection result is normal, prepare to obtain the second information.
[0107] The SIM card switching method provided by the embodiment of the present disclosure performs switching environment detection before switching the SIM card, which can avoid switching failure caused by abnormal switching environment, improve switching success rate, and reduce processing resource waste.
[0108] In some embodiments, in response to detecting the first information, a switching environment detection is performed on the terminal, and a switching environment detection result is determined; if the switching environment detection result is normal, preparing to obtain the second information.
[0109] In some embodiments, performing switching environment detection on the terminal includes: obtaining the current SIM card configuration status. If the acquisition is successful, the switching environment detection result is normal; if the acquisition is unsuccessful, the switching environment detection result is abnormal.
[0110] In some embodiments, the SIM card configuration status includes: a power-on status of the SIM card, and / or a network access status of the SIM card, etc.
[0111] The SIM card switching method involved in the embodiment of the present disclosure may include at least one of step S41 to step S42. For example, step S41 may be implemented as an independent embodiment, step S42 may be implemented as an independent embodiment, and step S41+step S42 may be implemented as independent embodiments, but are not limited thereto.
[0112] In some embodiments, step S41 is optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0113] In some embodiments, step S42 is optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0114] Figure 5 FIG. 1 is a flowchart showing a method of configuring information of a second SIM card according to an exemplary embodiment. Figure 5 As shown, configuring information of the second SIM card for the card slot to be switched includes the following steps.
[0115] In step S51, a configuration request for configuring information of a second SIM card is established.
[0116] In step S52, the configuration request is tested for validity, and in response to the configuration request being valid, the information of the second SIM card is configured.
[0117] The SIM card switching method provided in the embodiment of the present disclosure detects the validity of the configuration request before configuring the information of the second SIM card, thereby avoiding SIM card switching when the configuration request is invalid, and reducing the waste of processing resources.
[0118] In some embodiments, the configuration request is effective in at least one of the following situations:
[0119] cancelling the establishment of a configuration request, wherein the priority of the cancelling configuration request is higher than the priority of the configuration request;
[0120] The configuration request information is incorrect;
[0121] A higher priority configuration request is created later, and the newly created configuration request overwrites the original configuration request.
[0122] Exemplarily, the configuration request information is incorrect, including: the number of configured card slots does not meet the preset threshold. For example: the number of card slots corresponding to the terminal is 2, but the number of configured card slots is 0.8. Obviously, the configuration information is incorrect.
[0123] The SIM card switching method involved in the embodiment of the present disclosure may include at least one of step S51 to step S52. For example, step S51 may be implemented as an independent embodiment, step S52 may be implemented as an independent embodiment, and step S51+step S52 may be implemented as independent embodiments, but are not limited thereto.
[0124] In some embodiments, step S51 is optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0125] In some embodiments, step S52 is optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0126] In some embodiments, the embodiments of the present disclosure propose a SIM card switching method, which is applied to a terminal and includes the following steps.
[0127] In response to detecting the third information, acquiring fourth information, wherein the third information is SIM card switching request information, and the fourth information includes: card slot information of the terminal and information of a first SIM card corresponding to the card slot, the first SIM card is a SIM card currently used by the terminal, and each card slot corresponds to a first SIM card;
[0128] Based on the third information and the fourth information, the first SIM card is switched to the second SIM card, and the first SIM card is an integrated SIM card.
[0129] The SIM card switching method involved in the embodiment of the present disclosure switches the SIM card in the designated SIM card slot based on the user request instruction, clarifies the scheme of reverse switching of the integrated SIM card, and enables the terminal to complete the reverse switching of the integrated SIM card.
[0130] It is understandable that the above embodiments are Figure 1 Therefore, for the description of the relevant steps in the embodiment, in order to avoid repeated introduction, please refer to Figure 1 Description of the embodiments and related contents in step S11 to step S12. For example, the description of the embodiments and optional embodiments of the third information can refer to the description of the embodiments and optional embodiments of the first information above, and the description of the embodiments and optional embodiments of the fourth information can refer to the description of the embodiments and optional embodiments of the second information above.
[0131] Figure 6 is a flow chart of a SIM card switching method according to an exemplary embodiment. Figure 6 As shown, the method for dynamically switching between iSIM and pSIM includes the following steps.
[0132] In step S61, a SIM card switching request is obtained.
[0133] In step S62, it is determined whether to obtain the current SIM card configuration status.
[0134] In step S63, if the current SIM card configuration status is successfully acquired, the second information is determined.
[0135] In step S64, a second SIM card configuration request is established, and it is checked whether the second SIM card configuration request is valid.
[0136] In step S65, if the second SIM card configuration request is valid, the information of the second SIM card is updated and stored.
[0137] In step S66, the corresponding SIM global variable in the driver is updated.
[0138] In step S67, the first SIM card is powered off and the commands to be processed are updated.
[0139] In step S68, the second SIM card is powered on.
[0140] The SIM card switching method provided in the embodiment of the present disclosure can realize the free switching between pSIM card and iSIM card, improve the flexibility of terminal equipment, and enrich user scenarios.
[0141] In some embodiments, if the current SIM configuration cannot be obtained, an error is reported.
[0142] In some embodiments, if the second SIM card configuration request is invalid, an error is reported.
[0143] In some embodiments, the second information includes: the number of physical card slots of the current terminal, and each physical card slot and the corresponding SIM card type.
[0144] For ease of understanding Figures 7a to 7d Each is a flow chart of a SIM card switching method according to an exemplary embodiment. Figures 7a to 7d As shown, the SIM card switching process may include the following four scenarios.
[0145] Scenario A: Figure 7a As shown, in the case of dual card slots, the initial state of the terminal is that both card slots are configured as pSIM cards. Specifically, the following steps are included:
[0146] Control the modem to use User Identity Module (UIM) driver 1 to start and detect pSIM1 in card slot 1;
[0147] The control modem will start using UIM driver 2 and detect pSIM2 in slot 2;
[0148] The control logic subscription partition 1 maps UIM driver 1 to access pSIM1, and the control logic subscription partition 2 maps UIM driver 2 to access pSIM2.
[0149] Scenario B: If Figure 7bAs shown, in the case of dual card slots, the terminal consists of Figure 7a In the initial state, the SIM card switching is implemented for card slot 2. The user uses the menu options provided by the high-level operating system (HLOS) to set up through the UMI application program interface, and assigns iSIM2 to logical subscription partition 2, thereby realizing the dynamic switching between pSIM2 and iSIM2, which specifically includes the following steps:
[0150] Control the modem to start using UIM driver 1 and detect pSIM1 in slot 1;
[0151] Select Activate iSIM2 through the HLOS menu option, set the request through the UIM API, update the UIM global variables in UIM Driver 2, power off pSIM2 and update all instructions;
[0152] Power on iSIM2, start it through UIM driver 2 and detect iSIM2 through SPCCPM serial port;
[0153] When the control logic subscription partition 2 maps iSIM2, the control modem will initiate the deregistration procedure for the original SIM subscription and then register the new iSIM2 subscription.
[0154] Scenario C: Figure 7c As shown, in the case of dual card slots, the terminal consists of Figure 7a In the initial state, the SIM card switching is implemented for card slot 1. The user uses the menu options provided by HLOS and the UMI application program interface to set iSIM1 to logical subscription partition 1, thereby realizing the dynamic switching between pSIM1 and iSIM1, which specifically includes the following steps:
[0155] Control the modem to start up using UIM driver 2 and detect pSIM2 in slot 2;
[0156] Select Activate iSIM1 through the HLOS menu option, set the request through the UIM application program interface, update the UIM global variables in UIM driver 1, power off pSIM1 and update all instructions;
[0157] Power on iSIM1, start it through UIM driver 1 and detect iSIM1 through SPCCPM serial port;
[0158] When the control logic subscription partition 1 maps iSIM1, the control modem will initiate the deregistration procedure for the original SIM subscription and then register the new iSIM1 subscription.
[0159] Scenario D: Figure 7dAs shown, in the case of dual card slots, the terminal consists of Figure 7a In the initial state, SIM card switching is implemented for card slot 1, and SIM card switching is implemented for card slot 2. The user sets the iSIM1 to logical subscription partition 1 through the menu option provided by the HLOS and through the UMI application program interface, and sets the iSIM2 to logical subscription partition 2 through the menu option provided by the HLOS and through the UMI application program interface, thereby implementing dynamic switching between pSIM1 and iSIM1, and dynamic switching between pSIM2 and iSIM2, including the following steps.
[0160] Activate iSIM1 and iSIM2 through HLOS menu options, set requests through UMI API, update UIM global variables of UIM driver 1 and UIM driver 2, power off pSIM1 and pSIM2 and update all instructions;
[0161] Power on iSIM1 and iSIM2, start and detect iSIM1 and iSIM2 through the SOCOM serial port through UIM driver 1 and UIM driver 2 respectively;
[0162] The control logic subscription partition 1 maps iSIM1 and the control logic subscription partition 2 maps iSIM2, and the control modem will start the deregistration procedure of the original SIM (pSIM1 and pSIM2) subscriptions, and then register the new iSIM1 subscription and iSIM2 subscription.
[0163] Based on the same concept, an embodiment of the present disclosure also provides a SIM card switching device.
[0164] Figure 8 FIG. 1 is a block diagram of a SIM card switching device 100 according to an exemplary embodiment. Figure 8 The device includes an acquisition unit 101 and a processing unit 102.
[0165] The acquisition unit 101 is used to acquire second information in response to detecting the first information, wherein the first information is SIM card switching request information, and the second information includes: card slot information of the terminal and information of the first SIM card corresponding to the card slot, the first SIM card is the SIM card currently used by the terminal, and each card slot corresponds to one of the first SIM cards.
[0166] The processing unit 102 is configured to switch the first SIM card to a second SIM card based on the first information and the second information, where the second SIM card is an integrated SIM card.
[0167] In some embodiments, the processing unit 102 switches the first SIM card to the second SIM card based on the following method, including: determining the information of the card slot to be switched and the information of the first SIM card to be switched based on the first information and the card slot information of the terminal; configuring the information of the second SIM card for the card slot to be switched, and activating the second SIM card; switching the first SIM card to be switched to the second SIM card.
[0168] In some embodiments, the processing unit 102 switches the first SIM card to be switched to the second SIM card in the following manner, including: updating the information of the second SIM card to the terminal; powering off the first SIM card to be switched and powering on the second SIM card.
[0169] In some embodiments, before acquiring the second information, the processing unit 102 is further configured to: perform a switching environment detection on the terminal and determine a switching environment detection result; and prepare to acquire the second information if the switching environment detection result is normal.
[0170] In some embodiments, the processing unit 102 configures information of the second SIM card for the card slot to be switched in the following manner, including: establishing a configuration request for configuring information of the second SIM card; performing validity detection on the configuration request, and configuring information of the second SIM card in response to the configuration request being valid.
[0171] It is understandable that the SIM card switching device provided in the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0172] Fig. 9 1 is a block diagram of a device 200 for SIM card switching according to an exemplary embodiment. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0173] Reference Fig. 9The image processing device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .
[0174] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
[0175] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0176] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.
[0177] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0178] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
[0179] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0180] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0181] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0182] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0183] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0184] Fig.10 is a block diagram of a device 300 for SIM card switching according to an exemplary embodiment. For example, the device 300 may be provided as a server. Fig.10 The apparatus 300 includes a processing component 322, which further includes one or more processors, and a memory resource represented by a memory 332 for storing instructions executable by the processing component 322, such as an application. The application stored in the memory 332 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 322 is configured to execute instructions to perform the above-mentioned screen display method.
[0185] The device 300 may also include a power supply component 326 configured to perform power management of the device 300, a wired or wireless network interface 350 configured to connect the device 300 to a network, and an input / output (I / O) interface 358. The device 300 may operate based on an operating system stored in the memory 332, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.
[0186] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
[0187] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0188] It will be further understood that the terms “center”, “longitudinal”, “lateral”, “front”, “back”, “up”, “down”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation.
[0189] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
[0190] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0191] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.
[0192] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims
1. A SIM card switching method, characterized in that: include: In response to detecting the first information, obtaining second information, wherein the first information is SIM card switching request information, and the second information includes: card slot information of the terminal and information of a first SIM card corresponding to the card slot, the first SIM card is a SIM card currently used by the terminal, and each card slot corresponds to one first SIM card; Based on the first information and the second information, the first SIM card is switched to a second SIM card, where the second SIM card is an integrated SIM card.
2. The SIM card switching method according to claim 1, characterized in that: The switching of the first SIM card to the second SIM card comprises: Based on the first information and the card slot information of the terminal, determine the information of the card slot to be switched and the information of the first SIM card to be switched; Performing information configuration on the second SIM card for the card slot to be switched, and activating the second SIM card; Switch the first SIM card to be switched to the second SIM card.
3. The SIM card switching method according to claim 2, characterized in that: The step of switching the first SIM card to be switched to the second SIM card comprises: Updating the information of the second SIM card to the terminal; The first SIM card to be switched is powered off, and the second SIM card is powered on.
4. The SIM card switching method according to claim 1, characterized in that: Before obtaining the second information, the method further includes: Perform a switching environment detection on the terminal and determine the switching environment detection result.
5. The SIM card switching method according to claim 2, characterized in that: The configuring information of the second SIM card for the card slot to be switched includes: Establishing a configuration request for configuring information of the second SIM card; A validity check is performed on the configuration request, and in response to the configuration request being valid, information of the second SIM card is configured.
6. A SIM card switching device, characterized in that: include: an acquiring unit, configured to acquire second information in response to detecting first information, wherein the first information is SIM card switching request information, and the second information includes: card slot information of the terminal and information of a first SIM card corresponding to the card slot, the first SIM card is a SIM card currently used by the terminal, and each card slot corresponds to one first SIM card; The processing unit is used to switch the first SIM card to a second SIM card based on the first information and the second information, where the second SIM card is an integrated SIM card.
7. The SIM card switching device according to claim 6, characterized in that: The processing unit switches the first SIM card to the second SIM card based on the following method, including: Based on the first information and the card slot information of the terminal, determine the information of the card slot to be switched and the information of the first SIM card to be switched; Performing information configuration on the second SIM card for the card slot to be switched, and activating the second SIM card; Switch the first SIM card to be switched to the second SIM card.
8. The SIM card switching device according to claim 7, characterized in that: The processing unit switches the first SIM card to be switched to the second SIM card based on the following method, including: Updating the information of the second SIM card to the terminal; The first SIM card to be switched is powered off, and the second SIM card is powered on.
9. The SIM card switching device according to claim 6, characterized in that: Before acquiring the second information, the processing unit is further configured to: Perform a switching environment detection on the terminal and determine the switching environment detection result.
10. The SIM card switching device according to claim 7, characterized in that: The processing unit configures information of the second SIM card for the card slot to be switched in the following manner, including: Establishing a configuration request for configuring information of the second SIM card; A validity check is performed on the configuration request, and in response to the configuration request being valid, information of the second SIM card is configured.
11. A SIM card switching device, characterized in that: include: a memory for storing processor executable instructions; Wherein, the processor is configured to: execute the SIM card switching method according to any one of claims 1 to 5.
12. A storage medium storing instructions, characterized in that: When the instruction is executed on a device, the device executes the SIM card switching method according to any one of claims 1 to 5.