Electronic equipment and control method
By introducing an embedded identity module (ESIM) and switching circuit into the mobile phone, the problem of only being able to install two SIM cards in the existing technology is solved, the three-card dual standby function is realized, the SIM card switching operation is simplified, and the convenience and flexibility are improved.
Patent Information
- Application Number
- CN202510898736.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-10-03
AI Technical Summary
Existing mobile phones can only accommodate two SIM cards at most, and replacing a SIM card requires opening the back cover, which is cumbersome.
It uses an embedded identity module (ESIM) and two physical SIM card slots, and realizes the three-card dual standby function through switching circuits and application processors, automatically switching and controlling SIM card usage, and simplifying operation.
It realizes the function of using three SIM cards at the same time, simplifies the SIM card switching process, saves equipment modification costs, and improves operational convenience and flexibility.
Smart Images

Figure CN120751364A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of terminal devices, and in particular to an electronic device and a control method thereof. Background Art
[0002] With the development of communication technology, embedded Subscriber Identity Module (ESIM) has gradually come into the spotlight, and the demand for Subscriber Identity Module (SIM) is increasing.
[0003] Current mobile phones typically have one or two SIM card slots, corresponding to the following types of phones: single-SIM single-standby, dual-SIM single-band, and dual-SIM dual-standby. However, these technical solutions only support dual-SIM dual-standby at best. If a user has three SIM cards, only two can be installed in the phone at a time. Switching SIM cards requires opening the back cover of the phone, which is a cumbersome operation. Summary of the Invention
[0004] In view of this, the present disclosure provides an electronic device and a control method.
[0005] According to a first aspect of the present disclosure, an electronic device is provided, comprising: a first card slot and a second card slot, each capable of housing a first entity identity recognition module and a second entity identity recognition module; an embedded identity recognition module capable of being embedded in the electronic device; a switching circuit, an output end of which can be connected to the second card slot and the embedded identity recognition module, respectively; an application processor, communicatively connected to the first card slot via a first interface, communicatively connected to the input end of the switching circuit via a second interface, and communicatively connected to the control end of the switching circuit via a third interface; wherein the application processor is configured to respectively detect a configuration state of the embedded identity recognition module and a physical state of the second card slot, and adjust a voltage state of the third interface according to the configuration state and the physical state, so as to control the output end of the switching circuit to switch between the second card slot and the embedded identity recognition module.
[0006] According to an embodiment of the present disclosure, the application processor is also used to: when the voltage state of the third interface is a first voltage state, control the output end of the switching circuit to be connected to the embedded identity recognition module; when the voltage state of the third interface is a second voltage state, control the output end of the switching circuit to be connected to the second card slot, wherein the second voltage state is different from the first voltage state.
[0007] According to an embodiment of the present disclosure, the application processor is further used to: if it is detected that the configuration state of the embedded identity recognition module is an activated state and the physical state of the second card slot is an inserted state, generate a selection prompt window displayed on the display interface of the electronic device; in response to the user of the electronic device making a selection operation of the second physical identity recognition module or the embedded identity recognition module through the selection prompt window, adjust the voltage state of the third interface according to the selection operation to control the output end of the switching circuit to switch between the second card slot and the embedded identity recognition module.
[0008] According to an embodiment of the present disclosure, the application processor is also used to: if the display time of the selection prompt window exceeds a preset time and no selection operation of the usage object is received, obtain the default configuration of the electronic device for the second entity identity recognition module or the embedded identity recognition module; adjust the voltage state of the third interface according to the default configuration to control the output end of the switching circuit to switch between the second card slot and the embedded identity recognition module.
[0009] According to an embodiment of the present disclosure, the application processor is also used to: if it is detected that the configuration state of the embedded identity recognition module is an inactivated state and the physical state of the second card slot is an uninserted state, adjust the voltage state of the third interface to a third voltage state; according to the third voltage state, control the output end of the switching circuit to be disconnected from both the second card slot and the embedded identity recognition module.
[0010] According to an embodiment of the present disclosure, the electronic device also includes: a card tray for accommodating a first card slot and a second card slot; the application processor is also used to: if a change in the state of the card tray is detected, detect the physical state of the second card slot; if the physical state of the second card slot changes, adjust the voltage state of the third interface according to the configuration state of the embedded identity recognition module and the changed physical state of the second card slot.
[0011] According to an embodiment of the present disclosure, the application processor is further configured to generate a signal identifier displayed on a display interface of the electronic device according to a connection state of an output terminal of the switching circuit.
[0012] According to an embodiment of the present disclosure, the electronic device further includes: a near field communication module, and the embedded identity recognition module is encapsulated in the near field communication module.
[0013] A second aspect of the present disclosure provides a control method, which is applied to an electronic device, wherein the electronic device includes a first card slot and a second card slot, a switching circuit and an embedded identity recognition module that can be embedded in the electronic device, and the switching circuit is used to switch between the second card slot and the embedded identity recognition module; the method includes: detecting the physical state of the first card slot, the configuration state of the embedded identity recognition module and the physical state of the second card slot, wherein the physical state represents the insertion or non-insertion state of the identity recognition module that can be built into the corresponding card slot; configuring the working state of the first card slot based on the physical state of the first card slot; and controlling the output end of the switching circuit to switch between the second card slot and the embedded identity recognition module according to the configuration state of the embedded identity recognition module and the physical state of the second card slot.
[0014] According to an embodiment of the present disclosure, detecting the physical state of the first card slot, the configuration state of the embedded identity recognition module and the physical state of the second card slot includes: detecting the configuration state of the embedded identity recognition module through a configuration file loaded in a designated storage space of the electronic device, wherein the configuration state includes an activated state or an inactivated state; if it is detected that the configuration state of the embedded identity recognition module is an activated state, controlling the output end of the switching circuit to be connected to the second card slot by adjusting the voltage state of the third interface communicatively connected to the control end of the switching circuit to a second voltage state; detecting the physical state of the second card slot through the second interface communicatively connected to the input end of the switching circuit, wherein if the voltage state of the second interface changes, it is determined that the identity recognition module built into the second card slot is in an inserted state.
[0015] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0017] Figure 1 Schematically shows a structural diagram of an electronic device according to an embodiment of the present disclosure;
[0018] Figure 2 A schematic diagram illustrating a principle of a selection prompt window displayed on a display interface of an electronic device according to an embodiment of the present disclosure is shown;
[0019] Figure 3 A schematic diagram illustrating a principle diagram of a signal identifier displayed on a display interface of an electronic device according to an embodiment of the present disclosure is shown;
[0020] Figure 4The flowchart of the control method according to the embodiment of the present disclosure is schematically shown;
[0021] Figure 5 The flowchart of detecting configuration status and entity status according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0022] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the detailed description below, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0023] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise," "include," etc. used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0024] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0025] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0026] The technical solutions of the embodiments of the present disclosure can be applied to various communication systems, such as the global system of mobile communication (GSM) system, the code division multiple access (CDMA) system, the wideband code division multiple access (WCDMA) system, the general packet radio service (GPRS), the long term evolution (LTE) system, the LTE frequency division duplex (FDD) system, the LTE time division duplex (TDD) system, the universal mobile telecommunication system (UMTS), the world wide interoperability for microwave access (WiMAX) communication system, the fifth generation (5G) system or the new radio (NR) system. The technical solutions provided by the present disclosure can also be applied to future communication systems, such as the sixth generation mobile communication system and satellite communication systems.
[0027] Figure 1 The structure of an electronic device according to an embodiment of the present disclosure is schematically shown.
[0028] like Figure 1 As shown, the electronic device 10 of the embodiment of the present disclosure includes:
[0029] The first card slot 11 and the second card slot 12 can respectively house a first physical identity module PSIM1 and a second physical identity module PSIM2;
[0030] An embedded identity module (ESIM) capable of being embedded in an electronic device 10;
[0031] The switching circuit SWITCH has an output end capable of connecting to the second card slot 12 and the embedded identity module ESIM;
[0032] The application processor AP is communicatively connected to the first card slot 11 via the first interface USIM1, is communicatively connected to the input end of the switching circuit SWITCH via the second interface USIM2, and is communicatively connected to the control end of the switching circuit SWITCH via the third interface GPIO;
[0033] Among them, the application processor AP is used to respectively detect the configuration status of the embedded identity module ESIM and the physical status of the second card slot 12, and adjust the voltage state of the third interface GPIO according to the configuration status and the physical status to control the output end of the switching circuit SWITCH to switch between the second card slot 12 and the embedded identity module ESIM.
[0034] It is understood that the embedded identity module (ESIM) is directly integrated into the motherboard of the electronic device, saving card slot space in the electronic device. It can be activated by remotely downloading a configuration file, making remote configuration convenient. The first entity identity module (PSIM1) and the second entity identity module (PSIM2) are both physical SIM cards or physical SIM cards, which means that the electronic device 10 supports a dual-card slot configuration. Physical SIM cards need to be inserted into the device card slot, and the electronic device requires reserved card slot space, which affects the lightweight and thinness of the electronic device. However, due to the mature technology and plug-and-play nature of physical SIM cards, they still retain universal applicability in some scenarios.
[0035] The first and second card slots 11, 12 are both physical SIM card slots, and may be microSIM or nanoSIM cards. Compared to the first card slot 11, the second card slot 12 may have certain functional limitations regarding calls, text messages, and internet access. For example, the first card slot 11 is the primary card slot, preferentially supporting all 5G / 4G frequency bands; the second card slot 12 is the secondary card slot, supporting only 4G or specific frequency bands.
[0036] The switching circuit SWITCH is provided with an input terminal, a control terminal, and an output terminal. The control terminal is used to control the switching state of the output terminal based on the voltage state of the third interface GPIO. The switching circuit SWITCH can be, for example, a single-pole double-throw switch. Depending on the switch type, the switching circuit SWITCH can also be an electromechanical physical switch (such as a rotary switch or a push-button switch), an electronically controlled switch (such as a relay interlock module, a CMOS analog switch circuit, or a dedicated switch chip), etc.
[0037] The application processor AP may include one or more single-core or multi-core processors. The application processor AP is provided with a first interface USIM1, a second interface USIM2, and a third interface GPIO. For example, the first interface USIM1 and the second interface USIM2 are both input / output (I / O) interfaces, including GPIO (General-Purpose Input / Output), serial communication interfaces (such as UART and SPI), and parallel bus interfaces. The third interface GPIO is a general-purpose input / output (GPIO).
[0038] For example, electronic device 10 can be a device that provides voice and / or data connectivity to a user, including a smartphone, tablet, laptop, or wearable device such as a smartwatch. Electronic device 10 has a built-in embedded identity module (ESIM) and provides two physical SIM card slots. Typically, only two cards can be active for calls or data at a time (dual standby). A user can simultaneously use two physical SIM cards (dual SIM dual standby) or one physical SIM card and an eSIM number (also dual SIM dual standby).
[0039] As can be seen, in the electronic device provided by the embodiments of the present disclosure, the card slot connected to the first interface USIM1 of the application processor AP is the first card slot 11. The first interface USIM1 of the application processor AP can correspond to the USIM1 function of the electronic device. When the first interface USIM1 is connected to the first card slot 11, the first physical identity module PSIM1 installed in the first card slot 11 is in standby mode. That is, when a user uses the corresponding USIM1 functions, such as calls, text messages, and Internet access, it is enabled through the first physical identity module PSIM1 installed in the first card slot 11.
[0040] The second interface USIM2 of the application processor AP can correspond to the USIM2 function of the electronic device. The embedded identity module (ESIM) and a physical SIM card (i.e., the second physical identity module (PSIM2)) share the second interface USIM2 of the application processor AP. That is, the ESIM and PSIM2 cannot be activated and used simultaneously. Specifically, when a user is using a corresponding USIM2 function, if the output of the switching circuit switches to the embedded identity module (ESIM), the second interface USIM2 communicates with the ESIM, and the ESIM is in standby mode, the user can use the ESIM to make calls, send text messages, and browse the Internet. If the output of the switching circuit switches to the second card slot 12, the second interface USIM2 communicates with the second card slot 12, and the second physical identity module (PSIM2) installed in the second card slot 12 is in standby mode, the user can use the PSIM2 to make calls, send text messages, and browse the Internet.
[0041] In the electronic device provided by the embodiments of the present disclosure, the application processor adjusts the voltage state of the third interface based on the configuration state of the embedded identity module and the physical state of the second card slot, thereby controlling the output end of the switching circuit to switch between the second card slot and the embedded identity module. When the electronic device has two physical SIM cards and one ESIM card, the user can choose to use two physical SIM cards, or one physical SIM card and one ESIM card, thus achieving a three-SIM dual-standby function. The addition of a switching circuit to the existing dual-SIM dual-standby circuit reduces the cost of modifying existing equipment. When switching SIM cards, the user does not need to remove or insert the SIM card, making configuration convenient and operation simple, and preventing the physical SIM card from being lost.
[0042] In some embodiments, the application processor is also used to: when the voltage state of the third interface is a first voltage state, control the output end of the switching circuit to be connected to the embedded identity recognition module; when the voltage state of the third interface is a second voltage state, control the output end of the switching circuit to be connected to the second card slot, wherein the second voltage state is different from the first voltage state.
[0043] For example, in some examples, the first voltage state is higher than the second voltage state. In this case, when the third interface voltage is higher (or the third interface voltage is at a high level), the application processor controls the output end of the switching circuit to connect to the embedded identity module, thereby establishing a communication connection between the second interface of the application processor and the embedded identity module. When the third interface voltage is lower (or the third interface voltage is at a low level), the output end of the switching circuit controls the output end of the switching circuit to connect to the second card slot, thereby establishing a communication connection between the second interface of the application processor and the second physical identity module PSIM2.
[0044] For another example, in some examples, the first voltage state is lower than the second voltage state. In this case, when the third interface voltage is low (or the third interface voltage is at a low level), the application processor controls the output end of the switching circuit to connect to the embedded identity module, thereby establishing a communication connection between the second interface of the application processor and the embedded identity module. When the third interface voltage is high (or the third interface voltage is at a high level), the output end of the switching circuit is controlled to connect to the second card slot, thereby establishing a communication connection between the second interface of the application processor and the second physical identity module PSIM2.
[0045] With the electronic device provided by the embodiment of the present disclosure, the application processor can control the output end of the switching circuit to present different switching states when the third interface is in different voltage states.
[0046] In some embodiments, the application processor is also used to: if it is detected that the configuration state of the embedded identity recognition module is an inactivated state and the physical state of the second card slot is an uninserted state, adjust the voltage state of the third interface to a third voltage state; according to the third voltage state, control the output end of the switching circuit to be disconnected from both the second card slot and the embedded identity recognition module.
[0047] For example, the third voltage state is different from the first voltage state and the second voltage state described above.
[0048] In the electronic device provided by the embodiment of the present disclosure, the configuration state of the embedded identity recognition module is in an inactivated state, and the physical state of the second card slot is in an uninserted state, indicating that both the ESIM and the PSIM2 are unusable. At this time, the application processor disconnects from both the second card slot and the embedded identity recognition module by adjusting the voltage state of the third interface, thereby disconnecting the communication connection between the ESIM and PSIM2 and the second interface of the application processor respectively.
[0049] Thus, the switching circuit SWITCH of the embodiment of the present disclosure may be a switch with a "three-select-one" function, and its output end may select either the second card slot 12 or the embedded identity module ESIM, or may select neither.
[0050] Please continue reading Figure 1 In some embodiments, the electronic device further includes: a near field communication module (NFC), and an embedded identity module ESIM is encapsulated in the near field communication module.
[0051] It should be noted that, in other embodiments, the embedded identity module ESIM may also be embedded in the electronic device in different embedding methods.
[0052] Figure 2 A schematic diagram of a selection prompt window displayed on a display interface of an electronic device according to an embodiment of the present disclosure is shown.
[0053] like Figure 2 As shown, in some embodiments, the application processor is further configured to:
[0054] If it is detected that the configuration state of the embedded identity recognition module is the activated state and the physical state of the second card slot is the inserted state, a selection prompt window 131 is generated and displayed on the display interface 13 of the electronic device 10;
[0055] In response to the user of the electronic device 10 selecting the second physical identity recognition module or the embedded identity recognition module through the selection prompt window 131, the voltage state of the third interface is adjusted according to the selection operation to control the output end of the switching circuit to switch between the second card slot and the embedded identity recognition module.
[0056] For example, the user of the electronic device 10 may be a user. If the configuration state of the embedded identity module is active and the physical state of the second card slot is inserted, it means that both the embedded identity module ESIM and the second physical identity module PSIM2 are active. At this time, the display interface of the electronic device will display a selection prompt window 131 for the user to select one of the two modules.
[0057] Next, the user makes a selection operation by selecting prompt window 131, and the application processor adjusts the third interface according to the selection operation, so that the third interface is in a different voltage state, thereby controlling the output end of the switching circuit to present a different switching state, which corresponds to the selection operation.
[0058] For example, the selection prompt window 131 may be of different window types, such as an information prompt pop-up window, an operation confirmation pop-up window, or a selection list pop-up window.
[0059] In the electronic device provided by the embodiments of the present disclosure, the application processor can, when both the embedded identity module (ESIM) and the second physical identity module (PSIM2) are active, prompt the user via a pop-up window to ask which card to use. Based on the user's selection, the application processor then selects one of the ESIM and PSIM2 for standby. This allows the user to make their choice at any time, providing greater flexibility. Furthermore, this selection does not interfere with or affect the first physical identity module (PSIM1) inserted in the first card slot.
[0060] Furthermore, the application processor is further configured to:
[0061] If the display time of the selection prompt window exceeds the preset time and no selection operation of the user object is received, obtaining the default configuration of the electronic device for the second physical identity recognition module or the embedded identity recognition module;
[0062] The voltage state of the third interface is adjusted according to the default configuration to control the output end of the switching circuit to switch between the second card slot and the embedded identity recognition module.
[0063] The preset duration is a time range, such as 6s-30s, set based on a pre-analysis of the time required for the user of the electronic device to make a selection. The preset duration is pre-configured and can be a default setting on the electronic device or pre-configured by the user within a historical period.
[0064] The default configuration is one of the ESIM and PSIM2. For example, the default configuration is the ESIM. The default configuration can be pre-configured by the electronic device at the factory or pre-configured by the user within a historical period.
[0065] For example, timing can be initiated when the selection prompt window 131 is displayed on the display interface 13 of the electronic device 10, and the display time of the selection prompt window can be compared with the preset duration. When the display time is long (for example, exceeds the preset duration) and the user's selection operation is still not received, the application processor can select to use one of the ESIM and PSIM2 for standby according to the default configuration of the electronic device for the second physical identity recognition module or the embedded identity recognition module.
[0066] With the electronic device provided by the embodiment of the present disclosure, the application processor can automatically select and use one of the ESIM and PSIM2 for standby using the default configuration when the user does not make a selection operation for a long time, thereby further improving the flexibility of SIM card switching.
[0067] Please continue reading Figure 1 In some embodiments, the electronic device further includes: a card tray 100 for accommodating the first card slot 11 and the second card slot 12; and the application processor AP is further configured to:
[0068] If a change in the state of the card tray 100 is detected, the physical state of the second card slot 12 is detected;
[0069] If the physical state of the second card slot 12 changes, the voltage state of the third interface GPIO is adjusted according to the configuration state of the embedded identity module ESIM and the changed physical state of the second card slot 12 .
[0070] The first card slot 11 and the second card slot 12 are provided on the same card tray 100. The card tray 100 has two sides, front and back, each of which can accommodate a SIM card. For example, the first card slot 11 is provided on the front side of the card tray 100, and the second card slot 12 is provided on the back side of the card tray 100.
[0071] For example, the application processor has a tray detection circuit connected to the tray 100 to detect whether a physical SIM card is loaded in the tray 100. When the tray 100 is inserted, the tray detection circuit is in the on state; when the tray 100 is removed, the tray detection circuit is in the off state. This state change can be used to detect the insertion and removal of the tray 100.
[0072] When a change in the status of the card tray 100 is detected, indicating that the card tray 100 has been removed or inserted, the second card slot 12 can be detected to determine whether the second physical identity module PSIM2 is inserted. If the PSIM2 has changed, the voltage state of the third interface GPIO is adjusted based on the changed configuration state of the PSIM2 and the embedded identity module ESIM, thereby controlling the switching state of the output terminal of the switching circuit.
[0073] Figure 3 A schematic diagram illustrating a principle of a signal identifier displayed on a display interface of an electronic device according to an embodiment of the present disclosure is shown.
[0074] like Figure 3 As shown, in some embodiments, the application processor is further configured to generate a signal identifier displayed on a display interface of the electronic device according to a connection state of an output terminal of the switching circuit.
[0075] The signal indicator is a visual representation of the network status and connection quality of multiple SIM cards. Taking a smartphone as an example, the signal indicator can be displayed in the upper right corner of the smartphone, indicating the network status or connection quality of each SIM card.
[0076] There are no specific restrictions on the type of signal indicator. For example, different signal indicator icon forms can be displayed according to different network technology generations (such as 4G and 5G). For another example, different signal indicator bar numbers or values can be displayed according to different signal strengths.
[0077] In summary, the electronic device provided by the embodiment of the present disclosure, when dual physical SIM cards and ESIM cards coexist, uses a switching circuit to enable a user to use any two SIM cards to access a communication network simultaneously.
[0078] Based on the above electronic device, the present disclosure also provides a control method. Figure 4-Figure 5 The control method of the embodiment of the present disclosure is described in detail.
[0079] Figure 4 The flowchart of the control method according to the embodiment of the present disclosure is schematically shown.
[0080] like Figure 4 As shown, the control method of this embodiment is applied to an electronic device, which includes a first card slot and a second card slot, as well as a switching circuit and an embedded identity recognition module that can be embedded in the electronic device, and the switching circuit is used to switch between the second card slot and the embedded identity recognition module; the control method includes operations S410 to S430.
[0081] In operation S410 , the physical state of the first card slot, the configuration state of the embedded identity recognition module, and the physical state of the second card slot are detected, wherein the physical state represents whether the identity recognition module capable of being built into the corresponding card slot is inserted or not inserted.
[0082] This operation separately detects the status of two physical SIM cards and one embedded identity module. For example, in actual applications, since the first card slot has a dedicated interface (i.e., the first interface) of the application processor AP, when the first physical identity module PSIM1 is present in the first card slot, or more specifically, when a SIM card is inserted into the first card slot, the application processor can detect the first card slot presence signal (e.g., the SIM_DET signal). In this case, the application processor can detect the physical status of the first card slot by detecting the first card slot presence signal.
[0083] In operation S420, an operating state of the first card slot is configured based on the physical state of the first card slot.
[0084] For example, when a SIM card is inserted into the first card slot, the working state of the first card slot is configured to be standby mode, and the user can use the SIM card in the first card slot for operations such as calls, text messages, and Internet access. When no SIM card is inserted into the first card slot, the working state of the first card slot is configured to be dormant mode, and the user cannot use SIM1-related functions.
[0085] In operation S430 , the output end of the switching circuit is controlled to switch between the second card slot and the embedded identity module according to the configuration state of the embedded identity module and the physical state of the second card slot.
[0086] For example, when the output of the control switching circuit is connected to the second card slot, the user can make calls, send text messages, and surf the Internet using the SIM card in the second card slot. When the output of the control switching circuit is connected to the embedded identity recognition module, the user can make calls, send text messages, and surf the Internet using the embedded identity recognition module.
[0087] The control method provided by the embodiments of the present disclosure can adjust the voltage state of the third interface according to the configuration state of the embedded identity module and the physical state of the second card slot, thereby controlling the output end of the switching circuit to switch between the second card slot and the embedded identity module. If an electronic device has two physical SIM cards and one ESIM card, the user can choose to use two physical SIM cards, or one physical SIM card and one ESIM card, thus achieving triple-SIM dual-standby functionality.
[0088] Figure 5 The flowchart of detecting configuration status and entity status according to an embodiment of the present disclosure is schematically shown.
[0089] like Figure 5 As shown, in some embodiments, the above operation S410 detects the physical state of the first card slot, the configuration state of the embedded identity recognition module, and the physical state of the second card slot, including operations S511 to S513.
[0090] In operation S511 , the configuration state of the embedded identity recognition module is detected through a configuration file loaded in a designated storage space of the electronic device, wherein the configuration state includes an activated state or an inactivated state.
[0091] The configuration status of the embedded identity module can be detected based on a configuration file loaded into the electronic device's designated storage space. For example, this configuration file could be a carrier's configuration file, which is securely written into a specific isolated area of the ESIM chip, also known as the designated storage space. Once successfully written, the configuration file is activated, and the electronic device has complete ESIM information.
[0092] In operation S512, if it is detected that the configuration state of the embedded identity recognition module is activated, the output end of the switching circuit is controlled to be connected to the second card slot by adjusting the voltage state of the third interface connected to the control end of the switching circuit to a second voltage state.
[0093] In operation S513, the physical state of the second card slot is detected through a second interface communicatively connected to the input end of the switching circuit, wherein if the voltage state of the second interface changes, it is determined that the identity recognition module built into the second card slot is in the inserted state.
[0094] If the embedded identity module is detected to be active, the voltage of the third interface is adjusted to switch the signal path of the second interface UIM2 to the second physical identity module PSIM2, thereby detecting the physical state of the second card slot. If a PSIM2 is present, a communication response is established with the second interface UIM2. The voltage of the second interface UIM2 can be used to determine whether the PSIM2 is inserted.
[0095] For example, in some examples, when the voltage state of the second interface UIM2 is pulled down from a high voltage state to a low voltage state, it can be determined that the identity recognition module built into the second card slot is in an inserted state.
[0096] The control method provided by the embodiments of the present disclosure detects the configuration status of the embedded identity module and the physical status of the second card slot by first detecting the configuration status of the embedded identity module. The physical status of the second card slot is only detected when the embedded identity module is activated. This is because only one of the ESIM and PSIM2 can be used at a time. If the ESIM is inactive, regardless of whether the PSIM2 is present, as long as the electronic device supports dual physical SIM dual standby functionality, the user does not need to select between the ESIM and PSIM2.
[0097] In some embodiments, the control method further includes:
[0098] If it is detected that the configuration state of the embedded identity recognition module is an activated state and the physical state of the second card slot is an inserted state, a selection prompt window is generated and displayed on the display interface of the electronic device;
[0099] In response to a user of the electronic device selecting the second physical identity recognition module or the embedded identity recognition module through a selection prompt window, the voltage state of the third interface is adjusted according to the selection operation to control the output end of the switching circuit to switch between the second card slot and the embedded identity recognition module.
[0100] For example, the user of the electronic device may be a user. If the configuration state of the embedded identity module is activated and the physical state of the second card slot is inserted, it indicates that both the embedded identity module ESIM and the second physical identity module PSIM2 are activated. At this time, the display interface of the electronic device will display a selection prompt window for the user to select one of the two modules.
[0101] Next, the user makes a selection operation through the selection prompt window, and based on the user's selection operation, the output end of the switching circuit is controlled to present different switching states, and the switching states correspond to the selection operation.
[0102] For example, the selection prompt window can be different window types such as an information prompt pop-up window, an operation confirmation pop-up window, and a selection list pop-up window.
[0103] The control method provided by the disclosed embodiments allows, when both the embedded identity module (ESIM) and the second physical identity module (PSIM2) are active, a pop-up window prompts the user which card to use. Based on the user's selection, one of the ESIM and PSIM2 is then selected for standby. This allows the user to make their choice at any time, providing greater flexibility. Furthermore, this selection does not interfere with or affect the first physical identity module (PSIM1) inserted in the first card slot.
[0104] In some embodiments, the control method further includes:
[0105] If the display time of the selection prompt window exceeds the preset time and no selection operation of the user object is received, obtaining the default configuration of the electronic device for the second physical identity recognition module or the embedded identity recognition module;
[0106] The voltage state of the third interface is adjusted according to the default configuration to control the output end of the switching circuit to switch between the second card slot and the embedded identity recognition module.
[0107] The preset duration is a time range, such as 6s-30s, set based on a pre-analysis of the time required for the user of the electronic device to make a selection. The preset duration is pre-configured and can be a default setting on the electronic device or pre-configured by the user within a historical period.
[0108] The default configuration is one of the ESIM and PSIM2. For example, the default configuration is the ESIM. The default configuration can be pre-configured by the electronic device at the factory or pre-configured by the user within a historical period.
[0109] For example, timing can be initiated when a selection prompt window is displayed on the display interface of the electronic device, and the display time of the selection prompt window can be compared with a preset duration. When the display time is long (for example, exceeds the preset duration) and no selection operation is received from the user, one of the ESIM and PSIM2 can be selected for standby based on the default configuration of the electronic device for the second entity identity recognition module or the embedded identity recognition module.
[0110] The control method provided by the embodiment of the present disclosure can automatically select one of the ESIM and PSIM2 for standby using the default configuration when the user does not make a selection operation for a long time, thereby further improving the flexibility of SIM card switching.
[0111] It should also be noted that the control method of the embodiment of the present disclosure can be executed by an application processor of an electronic device. The various modules of the electronic device provided in the embodiment of the present disclosure can implement the functions of the various steps of the above-mentioned control method and achieve the corresponding technical effects. For the sake of brevity, they are not further described here.
[0112] According to the embodiments of the present invention, any number of modules, or at least part of the functions of any number of them, can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or can be implemented in any one of the three implementation methods of software, hardware and firmware, or in an appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules can be at least partially implemented as a computer program module, which can perform the corresponding function when the computer program module is run.
[0113] Those skilled in the art will appreciate that the features described in the various embodiments of the present disclosure may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in the present disclosure. In particular, the features described in the various embodiments of the present disclosure may be combined and / or coupled in various ways without departing from the spirit and teachings of the present disclosure. All such combinations and / or couplings fall within the scope of the present disclosure.
[0114] The above describes the embodiments of the present disclosure. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present disclosure, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. An electronic device comprising: The first card slot and the second card slot can respectively house a first entity identification module and a second entity identification module; An embedded identity recognition module capable of being embedded in the electronic device; a switching circuit, the output ends of which are respectively connectable to the second card slot and the embedded identity recognition module; an application processor, communicatively connected to the first card slot via a first interface, communicatively connected to the input end of the switching circuit via a second interface, and communicatively connected to the control end of the switching circuit via a third interface; In which, the application processor is used to respectively detect the configuration status of the embedded identity recognition module and the physical status of the second card slot, and adjust the voltage state of the third interface according to the configuration status and the physical status to control the output end of the switching circuit to switch between the second card slot and the embedded identity recognition module.
2. The electronic device according to claim 1, wherein the application processor is further configured to: When the voltage state of the third interface is the first voltage state, controlling the output end of the switching circuit to be connected to the embedded identity recognition module; When the voltage state of the third interface is the second voltage state, the output end of the switching circuit is controlled to be connected to the second card slot, wherein, The second voltage state is different from the first voltage state.
3. The electronic device according to claim 1, wherein the application processor is further configured to: If it is detected that the configuration state of the embedded identity recognition module is an activated state and the physical state of the second card slot is an inserted state, generating a selection prompt window displayed on the display interface of the electronic device; In response to the user of the electronic device making a selection operation on the second physical identity recognition module or the embedded identity recognition module through the selection prompt window, the voltage state of the third interface is adjusted according to the selection operation to control the output end of the switching circuit to switch between the second card slot and the embedded identity recognition module.
4. The electronic device according to claim 3, wherein the application processor is further configured to: If the display time of the selection prompt window exceeds the preset time and the selection operation of the user object is not received, obtaining the default configuration of the electronic device for the second physical identity recognition module or the embedded identity recognition module; The voltage state of the third interface is adjusted according to the default configuration to control the output end of the switching circuit to switch between the second card slot and the embedded identity recognition module.
5. The electronic device according to claim 1, wherein the application processor is further configured to: If it is detected that the configuration state of the embedded identity recognition module is an inactive state and the physical state of the second card slot is an uninserted state, adjusting the voltage state of the third interface to a third voltage state; According to the third voltage state, the output end of the switching circuit is controlled to be disconnected from both the second card slot and the embedded identity recognition module.
6. The electronic device according to claim 1, further comprising: a card tray, configured to accommodate the first card slot and the second card slot; and the application processor is further configured to: If a change in the state of the card tray is detected, detecting the physical state of the second card slot; If the physical state of the second card slot changes, the voltage state of the third interface is adjusted according to the configuration state of the embedded identity recognition module and the changed physical state of the second card slot.
7. The electronic device according to claim 1, wherein the application processor is further configured to: A signal indicator is generated and displayed on a display interface of the electronic device according to the connection status of the output terminal of the switching circuit.
8. The electronic device according to claim 1, further comprising: Near field communication module, the embedded identity recognition module is encapsulated in the near field communication module.
9. A control method, applied to an electronic device, the electronic device comprising a first card slot and a second card slot, a switching circuit and an embedded identity recognition module capable of being embedded in the electronic device, the switching circuit being configured to switch between the second card slot and the embedded identity recognition module; The method comprises: Detecting the physical state of the first card slot, the configuration state of the embedded identity recognition module, and the physical state of the second card slot, wherein the physical state represents whether the identity recognition module capable of being built into the corresponding card slot is inserted or not inserted; configuring a working state of the first card slot based on a physical state of the first card slot; According to the configuration state of the embedded identity recognition module and the physical state of the second card slot, the output end of the switching circuit is controlled to switch between the second card slot and the embedded identity recognition module.
10. The method according to claim 9, wherein detecting the physical state of the first card slot, the configuration state of the embedded identity recognition module, and the physical state of the second card slot comprises: Detecting a configuration state of the embedded identity recognition module by loading a configuration file in a designated storage space of the electronic device, wherein the configuration state includes an activated state or an inactivated state; If it is detected that the configuration state of the embedded identity recognition module is an activated state, the output end of the switching circuit is controlled to be connected to the second card slot by adjusting the voltage state of the third interface communicatively connected to the control end of the switching circuit to a second voltage state; The physical state of the second card slot is detected through a second interface communicatively connected to the input end of the switching circuit, wherein if the voltage state of the second interface changes, it is determined that the identity recognition module built into the second card slot is in the inserted state.