Sim card communication circuit, related apparatus and control method
Patent Information
- Application Number
- CN202211405918.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-13
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2042-07-13
AI Technical Summary
[0004]但是,在终端设备中,增加ESIM卡需要在处理器增加SIM接口,增加SIM接口的方式,会使得处理器的尺寸增大、占用面积增大,增加备料难度,不利于终端设备的生产
[0039] In a seventh aspect, embodiments of this application provide a chip, the chip including a processor, the processor being configured to invoke a computer program in memory to perform the method as described in the third aspect.
Smart Images

Figure CN117411502B_ABST
Abstract
Description
[0001] This application is a divisional application. The original application has the application number 202210818821.0 and the original application date is July 13, 2022. The entire contents of the original application are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technology, and in particular to SIM card communication circuits, related devices and control methods. Background Technology
[0003] In communication networks, the Subscriber Identification Module (SIM card) is not only a user identification card but also a service carrier. An ESIM card, on the other hand, is an embedded SIM card that integrates SIM card information onto the device chip. Compared to a physical SIM card, an ESIM card is similar to a virtual SIM card. Users on terminal devices that support ESIM cards can select operator networks and plans through software registration or direct purchase, without needing to insert a physical SIM card.
[0004] However, adding an eSIM card to a terminal device requires adding a SIM interface to the processor. Adding a SIM interface increases the size and area occupied by the processor, making material preparation more difficult and hindering the production of the terminal device. Summary of the Invention
[0005] This application provides a SIM card communication circuit, related apparatus, and control method, applicable to the field of terminal technology. SIM interface multiplexing is achieved through a switching unit; without adding a SIM interface to the processor, both eSIM card communication and physical SIM card communication can be realized. The processor size and footprint remain unchanged; furthermore, the same processor can be used for the circuitry before and after adding the eSIM chip, facilitating manufacturing with a shared-pattern design.
[0006] In a first aspect, embodiments of this application propose a SIM card communication circuit. The circuit includes: a processor, a switching unit, a first card slot, and an ESIM chip; the processor is connected to the input terminal of the switching unit, and the first and second output terminals of the switching unit are respectively connected to the first card slot and the ESIM chip; the processor is configured to, upon receiving a first message, control the switching unit to select connection to the first card slot, thereby establishing a connection between the processor and a first physical SIM card in the first card slot; or, the processor is configured to, upon receiving a second message, control the switching unit to connect to the ESIM chip, thereby establishing a connection between the processor and the ESIM card in the ESIM chip.
[0007] In this way, by changing the connection method of the switching unit, the switching between the first physical SIM card and the eSIM card can be realized, increasing the practicality and applicability of the terminal device. Furthermore, the processor remains unchanged in size and footprint without modification; circuits without and with the eSIM chip can use the same processor, and this shared-pattern design reduces processor availability and production costs.
[0008] Optionally, the processor includes a first port, a second port, and a third port. The first port is used to transmit a data signal (DATA), the second port is used to transmit a reset signal (RST), and the third port is used to transmit a clock signal (CLK). The input terminals of the switching unit include a fourth port, a fifth port, and a sixth port. The first output terminal of the switching unit includes a seventh port, an eighth port, and a ninth port. The second output terminal of the switching unit includes a tenth port, an eleventh port, and a twelfth port. The first card slot includes a thirteenth port, a fourteenth port, and a fifteenth port. The ESIM chip includes a sixteenth port, a seventeenth port, and an eighteenth port. The first, second, and third ports are connected to the fourth, fifth, and sixth ports, respectively. The seventh, eighth, and ninth ports are connected to the thirteenth, fourteenth, and fifteenth ports, respectively. The tenth, eleventh, and twelfth ports are connected to the sixteenth, seventeenth, and eighteenth ports, respectively.
[0009] Specifically, upon receiving a first message, the processor controls the fourth, fifth, and sixth ports to connect to the seventh, eighth, and ninth ports respectively, thereby enabling the processor to connect to the first physical SIM card in the first card slot; or, upon receiving a second message, the processor controls the fourth, fifth, and sixth ports to connect to the tenth, eleventh, and twelfth ports respectively, thereby enabling the processor to connect to the ESIM card in the ESIM chip.
[0010] In this way, the processor can transmit DATA signals, reset RST signals, and clock CLK signals to the physical SIM card; and the processor can transmit DATA signals, reset RST signals, and clock CLK signals to the eSIM card.
[0011] Optionally, the switching unit includes a first switch; the first switch includes a fourth port, a fifth port, a sixth port, a seventh port, an eighth port, a ninth port, a tenth port, an eleventh port, and a twelfth port.
[0012] In this way, the SIM interface can be reused through a single switch.
[0013] Optionally, the switching unit includes a second switch and a third switch; the second switch includes a fourth port, a fifth port, a seventh port, an eighth port, a tenth port, and an eleventh port; the third switch includes a sixth port, a ninth port, and a twelfth port.
[0014] In this way, the SIM interface can be reused using two switches. Furthermore, compared to a single switch, two switches are more commonly used and have a lower cost.
[0015] Optionally, the circuit also includes a MOSFET; the MOSFET is located between the switching unit and the ESIM chip; the processor is also used to control the MOSFET to turn on when a first message is received, so that the ESIM chip remains at a low level; or, to control the MOSFET to turn off when a second message is received.
[0016] In this way, the ESIM chip can maintain a low level when not in operation. When the ESIM chip is integrated with the NFC chip, the NFC chip integrated with the ESIM chip can enter a low-power mode, reducing the power consumption of the terminal device. Furthermore, when the processor communicates with the ESIM card, the MOSFET does not affect the signal transmission between the processor and the ESIM card.
[0017] Optionally, the MOSFET is located between the twelfth and eighteenth ports.
[0018] Optionally, the switching unit further includes: a nineteenth port, a twentieth port, and a twenty-first port; the nineteenth port is connected to the twelfth port, the twentieth port is grounded, and the twenty-first port is open-circuited; the processor is also configured to control the connection between the nineteenth port and the twentieth port when a first message is received; or, the processor is also configured to control the connection between the nineteenth port and the twenty-first port when a second message is received.
[0019] In this way, the ESIM chip can maintain a low level when not in operation. When the ESIM chip is integrated with the NFC chip, the NFC chip integrated with the ESIM chip can enter a low-power mode, reducing the power consumption of the terminal device. Furthermore, when the processor communicates with the ESIM card, the MOSFET does not affect the signal transmission between the processor and the ESIM card.
[0020] Optionally, when the switching unit includes a first switch, the first switch may also include a nineteenth port, a twentieth port, and a twenty-first port.
[0021] In this way, the ESIM chip can maintain a low level when not in operation. When the ESIM chip is integrated with the NFC chip, the NFC chip integrated with the ESIM chip can enter a low-power mode, reducing the power consumption of the terminal device. Furthermore, when the processor communicates with the ESIM card, the MOSFET does not affect the signal transmission between the processor and the ESIM card.
[0022] Optionally, when the switching unit includes a second switch and a third switch, the third switch further includes: a nineteenth port, a twentieth port, and a twenty-first port.
[0023] Optionally, the circuit also includes a first level conversion device; the first level conversion device is located between the processor and the first card slot.
[0024] In this way, the first level conversion device enables communication between the processor and the first physical SIM card in the first card slot, regardless of whether they are at the same or different voltage levels. The first card slot can accommodate different types of SIM cards, increasing the practicality and applicability of the terminal device.
[0025] Optionally, the circuit also includes a second card slot, which is connected to the processor to enable the processor to connect to a second physical SIM card in the second card slot.
[0026] In this way, the processor can also communicate with a second physical SIM card.
[0027] Optionally, the circuit also includes a second card slot, which includes ports 22, 23, and 24; the processor also includes ports 25, 26, and 27, with port 25 used to transmit DATA signals, port 26 used to transmit RST signals, and port 27 used to transmit CLK signals; ports 25, 26, and 27 are connected to ports 22, 23, and 24 respectively to enable the processor to connect to the second physical SIM card in the second card slot.
[0028] Optionally, the circuit also includes a second level conversion device; the second level conversion device is located between the processor and the second card slot.
[0029] In this way, the second level conversion device enables communication between the processor and the second physical SIM card in the second card slot, regardless of whether they are at the same or different voltage levels. The second card slot can accommodate different types of SIM cards, increasing the practicality and applicability of the terminal device.
[0030] Secondly, embodiments of this application provide a terminal device, which can also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a mobile phone, smart TV, wearable device, tablet computer, computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, etc.
[0031] The terminal device includes: any one of the SIM communication circuits in the first aspect above, the circuit being used to realize communication between the processor and the first physical SIM card, or to realize communication between the processor and the ESIM card.
[0032] Thirdly, embodiments of this application propose a SIM card control method. The method includes: a processor receiving first information indicating the selection of a first physical SIM card; the processor controlling a switching unit to select and connect to a first card slot based on the first information; or, the processor receiving second information indicating the selection of an ESIM card; the processor controlling a switching unit to select and connect to an ESIM chip based on the second information.
[0033] Optionally, the processor controls the switching unit to select the connection to the first card slot according to the first information, including: the processor controls the fourth port, the fifth port and the sixth port to connect to the seventh port, the eighth port and the ninth port respectively according to the first information; the processor controls the switching unit to select the connection to the ESIM chip according to the second information, including: the processor controls the fourth port, the fifth port and the sixth port to connect to the tenth port, the eleventh port and the twelfth port respectively according to the second information.
[0034] Optionally, the method further includes: the processor controlling the MOSFET to turn on according to the first information, or the processor controlling the MOSFET to turn off according to the second information.
[0035] Optionally, the method further includes: the processor controlling the connection between the nineteenth port and the twentieth port according to the first information; or, the processor controlling the connection between the nineteenth port and the twenty-first port according to the second message.
[0036] Fourthly, embodiments of this application provide a terminal device. The terminal device includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, causing the terminal device to perform the method as described in the third aspect.
[0037] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the method as described in the third aspect.
[0038] Sixthly, embodiments of this application provide a computer program product, which includes a computer program that, when run, causes a computer to perform the method as described in the third aspect.
[0039] In a seventh aspect, embodiments of this application provide a chip, the chip including a processor, the processor being configured to invoke a computer program in memory to perform the method as described in the third aspect.
[0040] It should be understood that the second to seventh aspects of this application correspond to the technical solutions of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here. Attached Figure Description
[0041] Figure 1 This is a schematic diagram of one possible circuit structure in a design.
[0042] Figure 2 A schematic diagram of a circuit structure provided in an embodiment of this application;
[0043] Figure 3 A circuit connection diagram provided for an embodiment of this application;
[0044] Figure 4 A circuit connection diagram provided for an embodiment of this application;
[0045] Figure 5 This is a schematic diagram of the structure of a first switch provided in an embodiment of this application;
[0046] Figure 6 A schematic diagram of a circuit structure provided in an embodiment of this application;
[0047] Figure 7 A circuit connection diagram provided for an embodiment of this application;
[0048] Figure 8 A circuit connection diagram provided for an embodiment of this application;
[0049] Figure 9 A schematic diagram of a circuit structure provided in an embodiment of this application;
[0050] Figure 10 A circuit connection diagram provided for an embodiment of this application;
[0051] Figure 11 A circuit connection diagram provided for an embodiment of this application;
[0052] Figure 12 This is a schematic diagram of the structure of a switch provided in an embodiment of this application;
[0053] Figure 13 A flowchart illustrating a SIM card control method provided in an embodiment of this application;
[0054] Figure 14 A flowchart illustrating a SIM card control method provided in an embodiment of this application;
[0055] Figure 15 This is a schematic diagram of the interface of a terminal device provided in an embodiment of this application. Detailed Implementation
[0056] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "exemplary" or "for example" are used in the embodiments of this application to indicate that they are examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0057] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0058] It should be noted that the phrase "at...time" in the embodiments of this application can refer to the instant at which a certain situation occurs, or to a period of time after the occurrence of a certain situation; the embodiments of this application do not specifically limit this. Furthermore, the display interface provided in the embodiments of this application is merely an example, and the display interface may include more or less content.
[0059] For ease of understanding, the examples provided are for reference only and are related to the concepts in the embodiments of this application.
[0060] 1. Subscriber Identification Module (SIM Card): This is a personal data card for GSM digital mobile phones. The SIM card stores the user's data, authentication methods, and keys, allowing the communication network to verify the user's identity. Simultaneously, the user uses the SIM card to connect to the communication system and exchange information. It can be understood that in the communication network, the SIM card is not only a user identification card but also a service carrier. The SIM card is used to store relevant user data and to authenticate users, preventing unauthorized users from accessing the network, etc.
[0061] In this embodiment of the application, the SIM card may also be referred to as a Universal Subscriber Identity Module (USIM), a Universal Integrated Circuit Card (UICC), a smart card, etc.
[0062] 2. Embedded SIM card (ESIM card): The ESIM card can be embedded on the circuit board of the terminal device and cannot be separated from the terminal device.
[0063] Compared to a physical SIM card, an eSIM card has a blank SIM chip soldered directly inside the terminal device. Users can write the chip into the terminal device via over-the-air download, achieving the same functionality as a physical SIM card.
[0064] The SIM card communication circuit of this application embodiment can be applied to electronic devices with communication functions. Electronic devices include terminal devices, which can also be called terminals, user equipment (UE), mobile stations (MS), mobile terminals (MT), etc. Terminal devices can be mobile phones, smart TVs, wearable devices, tablets, computers with wireless transceiver capabilities, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc. The embodiments of this application do not limit the specific technology or device form used in the terminal devices.
[0065] In communication networks, the SIM card is not only a user identification card but also a service carrier. An eSIM card, on the other hand, is an embedded SIM card that integrates SIM card information onto the device's chip. Compared to a physical SIM card, an eSIM card is similar to a virtual SIM card. Users on terminal devices that support eSIM cards can select operator networks and plans through software registration or direct purchase, without needing to insert a physical SIM card.
[0066] However, eSIM cards have shortcomings in terms of technology adoption and universality. Therefore, it is necessary to add compatibility designs to current terminal devices to ensure their applicability and universality.
[0067] In a possible design, terminal devices such as mobile phones equipped with physical SIM cards can achieve compatibility between the processor and the eSIM card by adding a set of SIM interfaces, thereby enabling the design to connect the physical SIM card and the eSIM card.
[0068] For example, Figure 1 This is a schematic diagram of a possible SIM card and eSIM switching circuit in a design. It takes an example where the terminal device has two physical SIM cards. Figure 1 As shown, the circuit includes: a processor 101, a first card slot 102, a second card slot 103, and an ESIM chip 104. Figure 1 In the circuit shown, the SIM interface of the processor 101 is connected to the first card slot 102, the second card slot 103 and the ESIM chip 104 respectively.
[0069] The first card slot 102 is used to assemble the first physical SIM card. The first card slot 102 includes three input terminals, namely a port for transmitting data signals (port 102A), a port for transmitting reset signals (port 102B), and a port for transmitting clock signals (port 102C).
[0070] The second card slot 103 is used to assemble a second physical SIM card. The second card slot 103 includes three input terminals, namely a port for transmitting data signals (port 103A), a port for transmitting reset signals (port 103B), and a port for transmitting clock signals (port 103C).
[0071] It is understood that the first physical SIM card can be a Nano SIM card, Micro SIM card, etc.; the second physical SIM card can be a Nano SIM card, Micro SIM card, etc., and this application embodiment does not limit this. The type of the first physical SIM card can be the same as or different from the type of the second physical SIM card, and this application embodiment does not limit this.
[0072] The ESIM chip 104 includes three input terminals: a port for transmitting data signals (port 104A), a port for transmitting reset signals (port 104B), and a port for transmitting clock signals (port 104C). This application embodiment does not limit the specific model or specifications of the ESIM chip 104.
[0073] The processor 101 is used to interact with the communication network through any one of the first physical SIM card, the second physical SIM card and the ESIM card to realize functions such as voice calls and data communication of the terminal device.
[0074] The processor 101 can be a system-on-chip (SOC) or a microcontroller (MCU), etc. The processor 101 can also be referred to as a controller. This application embodiment does not limit the specific structure of the processor 101. In a possible design, the processor 101 includes three SIM interfaces, respectively used to connect the first card slot 102, the second card slot 103, and the ESIM chip 104. Each SIM interface includes three ports: a port for transmitting data signals (which may be referred to as the DATA port or I / O port), a port for transmitting reset signals (which may be referred to as the RESET port or RST port), and a port for transmitting clock signals (which may be referred to as the CLK port).
[0075] like Figure 1 As shown, the processor 101 includes 3 sets of SIM interfaces, with a total of nine ports: port DATA1, port RST1, port CLK1, port DATA2, port RST2, port CLK2, port DATA3, port RST3, and port CLK3.
[0076] Ports DATA1, RST1, and CLK1 are connected to the three ports (ports 102A, 102B, and 102C) of the first card slot 102, respectively, to enable the processor to connect with the first physical SIM card; ports DATA2, RST2, and CLK2 are connected to the three ports (ports 103A, 103B, and 103C) of the second card slot 103, respectively, to enable the processor to connect with the second physical SIM card; ports DATA3, RST3, and CLK3 are connected to the three ports (ports 104A, 104B, and 104C) of the ESIM chip 104, respectively, to enable the processor to connect with the ESIM card.
[0077] In this way, the terminal device can communicate using the first physical SIM card, the second physical SIM card, and the ESIM card.
[0078] However, adding a SIM interface increases the size and footprint of the processor, thus increasing the overall size of the terminal device. Furthermore, the processor design differs between circuits with and without an ESIM chip, increasing the difficulty of component preparation and hindering terminal device production.
[0079] Based on this, this application provides a SIM card communication circuit that uses a switching unit to enable both ESIM cards and physical SIM cards to share a single SIM interface. This allows the terminal device to communicate using either the ESIM card or the physical SIM card. Furthermore, the processor does not require additional interfaces, maintaining its size and footprint. Additionally, the circuit without an ESIM chip and the circuit with an ESIM chip can use the same processor, facilitating production and reducing the difficulty of processor component preparation.
[0080] The following is combined Figures 2-11 The SIM card communication circuit provided in the embodiments of this application will be described.
[0081] Figure 2 This is a schematic diagram of a SIM card communication circuit provided in an embodiment of this application. Figure 2 As shown, the circuit includes: a processor 201, a first card slot 202, a second card slot 203, an ESIM chip 204, and a first switch 205.
[0082] Figure 2 In the circuit shown, the SIM interface of the processor 201 is connected to the input terminals of the first card slot 202 and the first switch 205, respectively; the first output terminal and the second output terminal of the first switch 205 are connected to the second card slot 203 and the ESIM chip 204, respectively.
[0083] The first card slot 202 is used to assemble the first physical SIM card. The first card slot 202 includes three input terminals: a port for transmitting data signals (port 202A), a port for transmitting reset signals (port 202B), and a port for transmitting clock signals (port 202C).
[0084] The second card slot 203 is used to assemble a second physical SIM card. The second card slot 203 includes three input terminals: a port for transmitting data signals (port 203A), a port for transmitting reset signals (port 203B), and a port for transmitting clock signals (port 203C).
[0085] It is understood that the first physical SIM card can be a Nano SIM card, Micro SIM card, etc.; the second physical SIM card can be a Nano SIM card, Micro SIM card, etc., and this application embodiment does not limit this. The specifications of the first physical SIM card can be the same as or different from those of the second physical SIM card, and this application embodiment does not limit this.
[0086] The ESIM chip 204 includes three input terminals: a port for transmitting data signals (port 204A), a port for transmitting reset signals (port 204B), and a port for transmitting clock signals (port 204C). The ESIM chip 204 can be either an SN110U chip or an SN220U chip. This application embodiment does not limit the specific model or specifications of the ESIM chip 204.
[0087] The first switch 205 is used to connect the processor 201 and the second card slot 203 to enable the processor 201 to connect with the second physical SIM card; or it is used to connect the processor 201 and the ESIM chip 204 to enable the processor 201 to connect with the ESIM card. The first switch 205 can be referred to as a switch unit.
[0088] The processor 201 is used to interact with the communication network through any one of the first physical SIM card, the second physical SIM card and the ESIM card to realize functions such as voice calls and data communication of the terminal device.
[0089] In this embodiment, the processor 201 can be a system-on-a-chip (SOC) or a microprocessor (micro control unit, MCU), etc. The processor can also be referred to as a controller. This embodiment does not limit the specific structure of the processor 201.
[0090] In this embodiment, the processor 201 includes two sets of SIM interfaces, one for connecting to a first card slot 202 and the other for connecting to a second card slot 203 or an ESIM chip 204. Each set of SIM interfaces includes three ports: a port for transmitting data signals (referred to as: DATA port, I / O port), a port for transmitting reset signals (referred to as: RST port, RESET port), and a port for transmitting clock signals (referred to as: CLK port).
[0091] Specifically, the processor 201 includes two sets of SIM interfaces. One set of SIM interfaces includes port DATA1, port RST1, and port CLK1; the other set of SIM interfaces includes port DATA2, port RST2, and port CLK2.
[0092] In this embodiment, ports DATA1, RST1, and CLK1 are connected to the three ports (ports 202A, 202B, and 202C) of the first card slot 202, respectively, to realize the connection between the processor 201 and the first physical SIM card; ports DATA2, RST2, and CLK2 are connected to the three input terminals of the first switch 205, respectively.
[0093] The first switch 205 includes three input terminals and six output terminals; the three input terminals of the first switch 205 are: port 205A, port 205B, and port 205C. The six output terminals of the first switch 205 are: port 205D, port 205E, port 205F, port 205G, port 205H, and port 205I.
[0094] It is understandable that ports 205D, 205E, and 205F can be referred to as the first output terminals of the first switch 205, or the first output terminals of the switching unit. Ports 205G, 205H, and 205I can be referred to as the second output terminals of the first switch 205, or the second output terminals of the switching unit.
[0095] It is understood that the first switch 205 can be a three-to-two switch, a three-channel switch, a three-pole double-throw switch, or other types of switches. This application embodiment does not limit this.
[0096] like Figure 2As shown, ports 205D, 205E, and 205F of the first switch 205 are connected to the three ports (ports 203A, 203B, and 203C) of the second card slot 203, respectively, to enable the connection between the processor and the second physical SIM card; ports 205G, 205H, and 205I of the first switch 205 are connected to the three ports (ports 204A, 204B, and 204C) of the ESIM chip 204, respectively, to enable the connection between the processor and the ESIM card.
[0097] Understandable, Figure 2 The output terminals of the first switch 205 are arranged in the following order: port 205D, port 205E, port 205F, port 205G, port 205H, and port 205I. Alternatively, the output terminals of the first switch 205 can be arranged in the following order: port 205D, port 205G, port 205E, port 205H, port 205F, and port 205I. This embodiment does not limit the arrangement of the output terminals of the first switch 205. Similarly, Figure 2 The port order in the other devices shown can also be changed; no restriction is imposed here.
[0098] The following is combined Figure 3 and Figure 4 right Figure 2 The possible connection configurations of the first switch 205 are explained.
[0099] For example, Figure 3 This is a schematic diagram illustrating the structure of a processor communicating with a second physical SIM card, as provided in an embodiment of this application. Figure 3 As shown, ports 205A, 205B, and 205C of the first switch 205 are connected to ports 205D, 205E, and 205F of the first switch 205, respectively.
[0100] In this embodiment, the processor 201 transmits DATA signals to the second physical SIM card in the second card slot via ports DATA2, 205A, 205D, and 203A; the processor 201 transmits RST signals to the second physical SIM card in the second card slot via ports RST2, 205B, 205E, and 203B; and the processor 201 transmits CLK signals to the second physical SIM card in the second card slot via ports CLK2, 205C, 205F, and 203C.
[0101] In this way, the terminal device can achieve communication between the processor and the second physical SIM card.
[0102] For example, Figure 4This is a schematic diagram illustrating the structure of a processor communicating with an ESIM card, as provided in an embodiment of this application. Figure 4 As shown, ports 205A, 205B, and 205C of the first switch 205 are connected to ports 205G, 205H, and 205I of the first switch 205, respectively.
[0103] In this embodiment, processor 201 transmits DATA signals to the ESIM card in the ESIM chip via ports DATA2, 205A, 205G, and 204A; processor 201 transmits RST signals to the ESIM card in the ESIM chip via ports RST2, 205B, 205H, and 204B; and processor 201 transmits CLK signals to the ESIM card in the ESIM chip via ports CLK2, 205C, 205I, and 204B.
[0104] In this way, the terminal device can achieve communication between the processor and the eSIM card. By changing the connection method of the first switch, switching between the second physical SIM card and the eSIM card can be achieved, increasing the practicality and applicability of the terminal device. Furthermore, without modifying the processor, the circuitry without the added eSIM chip and the circuitry with the added eSIM chip can use the same processor; this co-design reduces the difficulty of processor sourcing and lowers production costs.
[0105] It should be noted that the aforementioned ESIM chip 204 can be a standalone chip or integrated with other chips. For example, the ESIM chip 204 can be integrated with the NFC chip in the terminal device. This reduces the footprint on the printed circuit board (PCB) and shrinks the size of the terminal device. Furthermore, the NFC function corresponding to the NFC chip involves payment and other functions, offering high security, which also meets the security requirements of the ESIM card.
[0106] It should be noted that when the ESIM chip is integrated with the NFC chip, and the ESIM chip is not operating, the voltage at the input terminal used to transmit the CLK signal may be too high, preventing the NFC chip from entering low-power mode. Therefore, when the ESIM chip is not operating, the input terminal used to transmit the CLK signal must be kept at a low level.
[0107] In one possible implementation, a metal oxide semiconductor field effect transistor (MOS transistor) is connected to the input terminal of the switching unit and the ESIM chip used to transmit the CLK signal.
[0108] Specifically, when the processor communicates with the second physical SIM card, the MOSFET is used to keep the input terminal for transmitting the CLK signal on the ESIM chip side at a low level. This allows the input terminal for transmitting the CLK signal to be pulled low when the ESIM is not operating, enabling the NFC chip to enter a low-power mode and reducing the power consumption of the terminal device.
[0109] When the processor communicates with the ESIM card, the MOSFET is turned off, thus not affecting the transmission of the CLK signal and the communication between the processor and the ESIM card.
[0110] It is understood that the MOSFET can be either an N-type MOSFET or a P-type MOSFET; the embodiments of this application do not limit the specific structure or model of the MOSFET.
[0111] For example, such as Figure 2 As shown, the SIM card communication circuit also includes a MOSFET 206. The MOSFET 206 is located between port 205I of the first switch 205 and the input terminal (port 204C) of the ESIM chip used to transmit the CLK signal.
[0112] Taking MOSFET 206 as an N-type MOSFET as an example, the drain (D) of the MOSFET is connected to port 205I of the first switch 205, the source (S) of the MOSFET is grounded, and the gate (G) of the MOSFET is connected to the processor.
[0113] When the terminal device selects ESIM card communication, the processor controls the gate voltage of MOSFET 206 to increase (e.g., to 1.8V), turning on MOSFET 206. This keeps the input terminal (port 204C) on the ESIM chip side used for transmitting the CLK signal at a low level. Furthermore...
[0114] When ESIM is not working, the input terminal used to transmit the CLK signal is pulled low, allowing the NFC chip to enter a low-power mode and reduce the power consumption of the terminal device.
[0115] When the terminal device selects a second physical SIM card for communication, the processor controls the gate voltage of MOSFET 206 to decrease (e.g., decrease to 0V), and MOSFET 206 is turned off. Thus, when the processor communicates with the eSIM card, MOSFET 206 will not affect the transmission of the CLK signal.
[0116] In a possible implementation, the first switch 205 also includes port 205J, port 205K, and port 205L (e.g., ...). Figure 5(As shown in a). Ports 205J and 205I of the first switch 205 are externally connected. Port 205K is grounded. Port 205L is open-circuited.
[0117] Specifically, when the processor communicates with the second physical SIM card in the second card slot, port 205J of the first switch 205 is connected to port 205K of the first switch 205 (e.g., ...). Figure 5 (As shown in b) Thus, when the ESIM chip is not working, the input terminal (port 204C) used to transmit the CLK signal in the ESIM chip is grounded through ports 205I, 205J, and 205K, and kept at a low level. Therefore, when the ESIM chip is integrated with NFC, the NFC chip can also enter a low-power mode.
[0118] When the processor communicates with the ESIM card in the second card slot, port 205J of the first switch 205 is connected to port 205L of the first switch 205, and port 205L is disconnected (e.g.). Figure 5 As shown in c), it will not affect the communication between the processor and ESIM.
[0119] The first switch can be a four-to-two switch, a four-channel switch, or a four-pole double-throw switch; there is no limitation here.
[0120] Among the possible implementation methods, Figure 2 The circuit shown also includes a first level conversion device 207 and / or a second level conversion device 208.
[0121] The first level conversion device 207 is located between the processor 201 and the first card slot 202. The first level conversion device 207 is used to convert voltage to enable communication when the voltage specification of the processor 201 is different from the voltage specification of the first physical SIM card in the first card slot 202.
[0122] It is understandable that physical SIM cards come in various types. The operating voltage may differ between these types. For example, a Nano SIM card operates at 3V, while a Micro SIM card operates at 1.8V.
[0123] In this way, the first level conversion device 207 enables communication between the processor 201 and the first physical SIM card in the first card slot 202 when they are at different or the same voltage specifications. The first card slot can accommodate different types of SIM cards, increasing the practicality and applicability of the terminal device.
[0124] The second level conversion device 208 is located between the processor 201 and the first switch 205. The second level conversion device 208 is used to convert voltage to enable communication between the processor 201 and the second physical SIM card in the second card slot 203 when they are at different or the same voltage specifications. The second card slot can accommodate different types of SIM cards, increasing the practicality and applicability of the terminal device.
[0125] It is understandable that the above Figures 2-5 The SIM card communication circuit described above is illustrated using two sets of SIM interfaces as an example. In some embodiments, the processor may include only one set of SIM interfaces. When the processor includes only one set of SIM interfaces, the above... Figures 2-5 The circuits shown do not include the first card slot, nor the ports connected to the first card slot (e.g., ports DATA1, RST1, CLK1, etc. in the processor).
[0126] The above Figures 2-5 The illustrated embodiment is based on an example where the switching unit includes one switch; the following description, in conjunction with... Figures 6-11 The case where the switching unit includes two switches will be explained. These switches can also be called analog switches.
[0127] Figure 6 This is a schematic diagram of another SIM card communication circuit provided in an embodiment of this application. Figure 6 As shown, the circuit includes: a processor 601, a first card slot 602, a second card slot 603, an ESIM chip 604, a second switch 605, and a third switch 606. Figure 6 In the circuit shown, the SIM interface of the processor 601 is connected to the first card slot 602, the input terminal of the second switch 605, and the input terminal of the third switch 606, respectively; the first output terminal of the second switch 605 and the first output terminal of the third switch 606 are both connected to the second card slot 603; the second output terminal of the second switch 605 and the second output terminal of the third switch 606 are both connected to the ESIM chip 604.
[0128] The first card slot 602 is used to assemble the first physical SIM card. The first card slot 602 includes three input terminals, namely a port for transmitting data signals (port 602A), a port for transmitting reset signals (port 602B), and a port for transmitting clock signals (port 602C).
[0129] The second card slot 603 is used to assemble a second physical SIM card. The second card slot 603 includes three input terminals: a port for transmitting data signals (port 603A), a port for transmitting reset signals (port 603B), and a port for transmitting clock signals (port 603C).
[0130] It is understood that the first physical SIM card can be a Nano SIM card, Micro SIM card, etc.; the second physical SIM card can be a Nano SIM card, Micro SIM card, etc., and this application embodiment does not limit this. The specifications of the first physical SIM card can be the same as or different from those of the second physical SIM card, and this application embodiment does not limit this.
[0131] The ESIM chip 604 includes three input terminals: a port for transmitting data signals (port 604A), a port for transmitting reset signals (port 604B), and a port for transmitting clock signals (port 604C). The ESIM chip 604 can be either an SN110U chip or an SN220U chip. This application embodiment does not limit the specific model or specifications of the ESIM chip 604.
[0132] The second switch 605 and the third switch 606 are used to connect the processor 601 and the second card slot 603 to enable the processor to connect with the second physical SIM card; or to connect the processor 601 and the ESIM chip 604 to enable the processor to connect with the ESIM card.
[0133] The second switch 605 and the third switch 606 can be collectively referred to as a switch unit.
[0134] The processor 601 is used to interact with the communication network through any one of the first physical SIM card, the second physical SIM card and the ESIM card to realize functions such as voice calls and data communication of the terminal device.
[0135] In this embodiment, the processor 601 can be a system-on-chip (SOC) or a microprocessor (micro control unit, MCU), etc. The processor can also be referred to as a controller. This embodiment does not limit the specific structure of the processor 601.
[0136] In this embodiment, the processor 601 includes two sets of SIM interfaces, one for connecting to a first card slot 602 and the other for connecting to a second card slot 603 or an ESIM chip 604. Each set of SIM interfaces includes three ports: a port for transmitting data signals (referred to as: DATA port, I / O port), a port for transmitting reset signals (referred to as: RST port, RESET port), and a port for transmitting clock signals (referred to as: CLK port).
[0137] Specifically, the processor 601 includes two sets of SIM interfaces. One set of SIM interfaces includes port DATA1, port RST1, and port CLK1; the other set of SIM interfaces includes port DATA2, port RST2, and port CLK2.
[0138] In this embodiment, ports DATA1, RST1, and CLK1 are connected to the three ports (ports 602A, 602B, and 602C) of the first card slot 602, respectively; ports DATA2, RST2, and CLK2 are connected to the two input terminals of the second switch 605 and one input terminal of the third switch 606, respectively.
[0139] In this embodiment, the second switch 605 includes two input terminals and four output terminals. The two input terminals of the second switch 605 are port 605A and port 605B. The four output terminals of the second switch 605 are port 605C, port 605D, port 605E, and port 605F. Ports 605C and 605D can be referred to as the first output terminals of the second switch 605; ports 605E and 605F can be referred to as the second output terminals of the second switch 605.
[0140] The third switch 606 includes one input terminal and two output terminals; the input terminal of the third switch 606 is port 606A. The two output terminals of the third switch 606 are port 606B and port 606C. Port 606B can be referred to as the first output terminal of the third switch 606; port 606C can be referred to as the second output terminal of the third switch 606.
[0141] It is understandable that ports 605C, 605D, and 606B can also be referred to as the first output terminals of the switching unit. Ports 605E, 605F, and 606C can also be referred to as the second output terminals of the switching unit.
[0142] It is understood that the second switch 605 can be a two-to-two switch, a dual-channel switch, a double-pole double-throw switch (or DPDT switch), or other types of switches; this application embodiment does not limit this. The third switch 606 can be a one-to-two switch, a single-channel switch, a single-pole double-throw switch (or SPDT switch), or other types of switches; this application embodiment does not limit this.
[0143] like Figure 6As shown, ports DATA2, RST2, and CLK2 are connected to ports 605A and 605B of the second switch 605, and port 606A of the third switch 606, respectively; ports 605C and 605D of the second switch 605 and port 606B of the third switch 606 are connected to the three ports (ports 603A, 603B, and 603C) of the second card slot 603, respectively, to enable the connection between the processor and the second physical SIM card; ports 605E and 605F of the second switch 605 and port 606C of the third switch 606 are connected to the three ports (ports 604A, 604B, and 604C) of the ESIM chip 604, respectively, to enable the connection between the processor and the ESIM card.
[0144] The following is combined Figure 7 and Figure 8 The possible connection configurations of the second switch 605 and the third switch 606 are described.
[0145] For example, Figure 7 This is a schematic diagram illustrating the structure of a processor communicating with a second physical SIM card, as provided in an embodiment of this application. Figure 7 As shown, ports 605A and 605B of the second switch 605 are connected to ports 605C and 605D of the second switch 605, respectively; port 605A of the third switch 606 is connected to port 605B of the third switch 606.
[0146] In this embodiment, processor 601 transmits DATA signals to the second physical SIM card in the second card slot via ports DATA2, 605A, 605C, and 603A; processor 601 transmits RST signals to the second physical SIM card in the second card slot via ports RST2, 605B, 605D, and 603B; and processor 601 transmits CLK signals to the second physical SIM card in the second card slot via ports CLK2, 606A, 606B, and 603C.
[0147] In this way, the terminal device can achieve communication between the processor and the second physical SIM card.
[0148] For example, Figure 8 This is a schematic diagram illustrating the structure of a processor communicating with an ESIM card, as provided in an embodiment of this application. Figure 8 As shown, ports 605A and 605B of the second switch 605 are connected to ports 605E and 605F of the second switch 605, respectively; port 605A of the third switch 606 is connected to port 606C of the third switch 606.
[0149] In this embodiment, processor 601 transmits DATA signals to the ESIM card in the ESIM chip via ports DATA2, 605A, 605E, and 604A; processor 601 transmits RST signals to the ESIM card in the ESIM chip via ports RST2, 605B, 605F, and 604B; and processor 601 transmits CLK signals to the ESIM card in the ESIM chip via ports CLK2, 606A, 606C, and 604C.
[0150] In this way, the terminal device can achieve communication between the processor and the eSIM card. By changing the connection methods of the second and third switches, switching between the second physical SIM card and the eSIM card can be achieved, increasing the practicality and applicability of the terminal device. Furthermore, without modifying the processor, the circuitry without and with the added eSIM chip can use the same processor; this shared-pattern design reduces processor availability and production costs.
[0151] In addition, compared to Figure 2 The first switch shown, Figure 6 The second and third switches shown are highly reusable and have a lower cost.
[0152] It is understandable that the above Figure 6 In the circuit shown, the second switch 605 is used to transmit the DATA signal and the RST signal, and the third switch 606 is used to transmit the CLK signal.
[0153] In some embodiments, the second switch 605 is used to transmit the CLK signal and the RST signal, and the third switch 606 is used to transmit the DATA signal. For example, port DATA2, port RST2, and port CLK2 can also be connected to port 606A of the third switch 606, port 605A of the second switch 605, and port 605B of the second switch 605, respectively; port 606B of the third switch 606, port 605C of the second switch 605, and port 605D of the second switch 605 can be connected to three ports (ports 603A, 603B, and 603C) of the second card slot 603, respectively; and port 606C of the third switch 606, and ports 605E and 605F of the second switch 605 can be connected to three ports (ports 604A, 604B, and 604C) of the ESIM chip 604, respectively.
[0154] In some embodiments, the second switch 605 is used to transmit the DATA signal and the CLK signal, and the third switch 606 is used to transmit the RST signal. Ports DATA2, RST2, and CLK2 can also be connected to ports 605A, 606A, and 605B of the second switch 605, respectively; ports 605C, 606B, and 605D of the second switch 605 are connected to the three ports (ports 603A, 603B, and 603C) of the second card slot 603, respectively; and ports 605E, 606C, and 605F of the second switch 605 are connected to the three ports (ports 604A, 604B, and 604C) of the ESIM chip 604, respectively.
[0155] This application does not limit the specific corresponding connection of ports DATA2, RST2, and CLK2 in the processor, or the ports in the switching unit.
[0156] It is understandable that the above Figure 6 The arrangement order of the ports in each component can also be changed. This application embodiment is for... Figure 6 The port order and position in each component are not restricted.
[0157] It should be noted that the aforementioned ESIM chip 604 can be a standalone chip or integrated with other chips. For example, the ESIM chip 604 can be integrated with the NFC chip in the terminal device. This reduces the footprint on the printed circuit board (PCB) and shrinks the size of the terminal device. Furthermore, the NFC function corresponding to the NFC chip involves payment and other security features, thus meeting the security requirements of the ESIM card.
[0158] In one possible implementation, a MOSFET is included between the switching unit and the input terminal of the ESIM chip used for transmitting the CLK signal. Specifically, when the processor communicates with the second physical SIM card, the MOSFET is used to keep the input terminal for transmitting the CLK signal on the ESIM chip side at a low level. This allows the input terminal for transmitting the CLK signal to be pulled low when the ESIM is not operating, enabling the NFC chip to enter a low-power mode and reducing the power consumption of the terminal device.
[0159] When the processor communicates with the ESIM card, the MOSFET is turned off, thus not affecting the transmission of the CLK signal and the communication between the processor and the ESIM card.
[0160] It is understood that the MOSFET can be either an N-type MOSFET or a P-type MOSFET; the embodiments of this application do not limit the specific structure or model of the MOSFET.
[0161] For example, such as Figure 6 As shown, the SIM card communication circuit also includes a MOSFET 607. The MOSFET 607 is located between port 606C of the third switch 606 and the input terminal (port 604C) of the ESIM chip used to transmit the CLK signal.
[0162] Taking MOSFET 607 as an N-type MOSFET as an example, the drain (D) of the MOSFET is connected to port 606C of the third switch 606, the source (S) of the MOSFET is grounded, and the gate (G) of the MOSFET is connected to the processor.
[0163] When the terminal device selects ESIM card communication, the processor controls the gate voltage of MOSFET 607 to increase (e.g., to 1.8V), turning on MOSFET 607. This keeps the input terminal (port 607C) on the ESIM chip side used for transmitting the CLK signal at a low level. Furthermore...
[0164] When ESIM is not working, the input terminal used to transmit the CLK signal can be pulled low, allowing the NFC chip to enter a low-power mode and reduce the power consumption of the terminal device.
[0165] When the terminal device selects a second physical SIM card for communication, the processor controls the gate voltage of MOSFET 607 to decrease (e.g., decrease to 0V), and MOSFET 607 is turned off. Thus, when the processor communicates with the eSIM card, MOSFET 607 will not affect the transmission of the CLK signal.
[0166] Figure 9 This is a schematic diagram of another SIM card communication circuit provided in an embodiment of this application. Figure 9 As shown, the circuit includes: a processor 901, a first card slot 902, a second card slot 903, an ESIM chip 904, a second switch 905, and a third switch 906. Figure 9 In the circuit shown, the SIM interface of the processor 901 is connected to the first card slot 902, the input terminal of the second switch 905, and the input terminal of the third switch 906, respectively; the first output terminal of the second switch 905 and the first output terminal of the third switch 906 are both connected to the second card slot 903; the second output terminal of the second switch 905 and the second output terminal of the third switch 906 are both connected to the ESIM chip 904.
[0167] The functions and structures of the processor 901, the first card slot 902, the second card slot 903, and the ESIM chip 904 can be referred to the above. Figure 2 , Figure 6 The descriptions of the corresponding components are not repeated here.
[0168] The second switch 905 and the third switch 906 are used to connect the processor 901 and the second card slot 903 to enable the processor to connect with the second physical SIM card; or to connect the processor 901 and the ESIM chip 904 to enable the processor to connect with the ESIM card.
[0169] The second switch 905 and the third switch 906 can be collectively referred to as a switch unit.
[0170] In this embodiment, the second switch 905 includes two input terminals and four output terminals. The two input terminals of the second switch 905 are port 905A and port 905B. The four output terminals of the second switch 905 are port 905C, port 905D, port 905E, and port 905F. Ports 905C and 905D can be referred to as the first output terminals of the second switch 905; ports 905E and 905F can be referred to as the second output terminals of the second switch 905.
[0171] The third switch 906 includes two input terminals and four output terminals. The two input terminals of the third switch 906 are port 906A and port 906B. The four output terminals of the third switch 906 are port 906C, port 906D, port 906E, and port 906F. Port 906C can be referred to as the first output terminal of the third switch 906; port 906E can be referred to as the second output terminal of the third switch 906.
[0172] It is understandable that ports 905C, 905D, and 906C can also be referred to as the first output terminals of the switching unit. Ports 905E, 905F, and 906E can also be referred to as the second output terminals of the switching unit.
[0173] It is understood that the second switch 905 can be a two-to-two switch, a dual-channel switch, a double-pole double-throw switch, or other types of switches; this application embodiment does not limit this. The third switch 906 can be a two-to-two switch, a dual-channel switch, a double-pole double-throw switch, or other types of switches; this application embodiment does not limit this.
[0174] like Figure 9As shown, ports DATA1, RST1, and CLK1 are connected to the three ports (ports 902A, 902B, and 902C) of the first card slot 902, respectively; ports DATA2, RST2, and CLK2 are connected to ports 905A and 905B of the second switch 905, and port 906A of the third switch 906, respectively. Ports 905C and 905D of the second switch 905 and port 906C of the third switch 906 are connected to the three ports (ports 903A, 903B, and 903C) of the second card slot 903, respectively, to enable the connection between the processor and the second physical SIM card. Ports 905E and 905F of the second switch 905 and port 906E of the third switch 906 are connected to the three ports (ports 904A, 904B, and 904C) of the ESIM chip 904, respectively, to enable the connection between the processor and the ESIM card. Ports 906B and 906E of the third switch 906 are externally connected. Port 906D of the third switch 906 is grounded.
[0175] The following is combined Figure 10 and Figure 11 The possible connection configurations of the second switch 905 and the third switch 906 are described.
[0176] For example, Figure 10 This is a schematic diagram illustrating the structure of a processor communicating with a second physical SIM card, as provided in an embodiment of this application. Figure 10 As shown, ports 905A and 905B of the second switch 905 are connected to ports 905C and 905D of the second switch 905, respectively; ports 905A and 905B of the third switch 906 are connected to ports 905C and 906D of the third switch 906, respectively.
[0177] In this embodiment, processor 901 transmits DATA signals to the second physical SIM card in the second card slot via ports DATA2, 905A, 905C, and 903A; processor 901 transmits RST signals to the second physical SIM card in the second card slot via ports RST2, 905B, 905D, and 903B; and processor 901 transmits CLK signals to the second physical SIM card in the second card slot via ports CLK2, 906A, 906C, and 903C.
[0178] In this way, the terminal device can achieve communication between the processor and the second physical SIM card.
[0179] Furthermore, when the processor communicates with the second physical SIM card, the input terminal of the ESIM chip used to transmit the CLK signal is grounded through ports 906E, 906B, and 905E in the third switch 906 and kept at a low level. Thus, when the ESIM chip is integrated with NFC, the NFC chip can also enter a low-power mode.
[0180] For example, Figure 11 This is a schematic diagram illustrating the structure of a processor communicating with an ESIM card, as provided in an embodiment of this application. Figure 11 As shown, ports 905A and 905B of the second switch 905 are connected to ports 905E and 905F of the second switch 905, respectively; port 905A of the third switch 906 is connected to port 906C of the third switch 906.
[0181] In this embodiment, processor 901 transmits DATA signals to the ESIM card in the ESIM chip via ports DATA2, 905A, 905E, and 904A; processor 901 transmits RST signals to the ESIM card in the ESIM chip via ports RST2, 905B, 905F, and 904B; and processor 901 transmits CLK signals to the ESIM card in the ESIM chip via ports CLK2, 906A, 906E, and 904C.
[0182] In this way, the terminal device can achieve communication between the processor and the eSIM card. By changing the connection method of the first switch, switching between the second physical SIM card and the eSIM card can be achieved, increasing the practicality and applicability of the terminal device. In addition, without modifying the processor, the difficulty of sourcing processors can be reduced, thus lowering production costs.
[0183] Furthermore, when the processor communicates with the ESIM card, port 906B in the third switch 906 is connected to port 906F in the third switch 906, and port 906F is disconnected (e.g., left floating), which does not affect the communication between the processor and the ESIM.
[0184] In this way, the terminal device can achieve communication between the processor and the eSIM card. By changing the connection methods of the second and third switches, switching between the second physical SIM card and the eSIM card can be achieved, increasing the practicality and applicability of the terminal device. Furthermore, without modifying the processor, the circuitry without and with the added eSIM chip can use the same processor; this shared-pattern design reduces processor availability and production costs.
[0185] Among the possible implementation methods, Figure 9In the circuit shown, both the second and third switches are two-to-two switches. This further reduces costs.
[0186] Understandably, compared to Figure 2 The first switch shown, Figure 6 and Figure 9 The second and third switches shown are less expensive. It should be noted that two-to-two switches have a wide range of applications (e.g., for differential signal control), strong multiplexing capabilities, and low cost. Therefore, compared to... Figure 2 The circuit shown, Figure 9 The circuit shown is cheaper to manufacture.
[0187] The following is combined Figure 12 The second and third switches are described as switches used for transmitting differential signals, for example. Figure 12 This is a schematic diagram illustrating the specific structure of a second switch and a third switch provided in an embodiment of this application. (See attached diagram.) Figure 12 As shown, the switch used to transmit differential signals includes 10 pins: pins for outputting the D+ signal (pins D1+ and D2+), pins for outputting the D- signal (pins D1- and D2-), pin for inputting the D+ signal (pin D+), pin for outputting the D- signal (pin D-), pin for providing the operating voltage (pin VCC), pin for inputting the enable signal (pin S / SEL, which can also be labeled as pin EN), and pin for outputting the enable signal (pin OE, which can also be labeled as pin EN). ), the pin used for grounding (pin GND).
[0188] The ports 905A, 905B, 905C, 905D, 905E, and 905F of the second switch 905 are respectively connected to... Figure 12 The pins D+, D-, D1+, D1-, D2+, and D2- in the switch a shown correspond to each other.
[0189] The ports 906A, 906B, 906C, 906D, 906E, and 906F of the third switch 906 are respectively connected to... Figure 12 The pins D+, D-, D1+, D1-, D2+, and D2- in the switch b shown correspond to each other.
[0190] Understandably, when pins D+ and D- of switch a are connected to pins D1+ and D1- of switch a respectively, the DATA and RST signals can be transmitted to the second physical SIM card; when pin D+ of switch b is connected to pin D1+ of switch a, the CLK signal can be transmitted to the second physical SIM card; when pin D- of switch b is connected to pin D1- of switch a, the port in the ESIM card used to transmit the CLK signal is grounded through pins D2+, D-, and D1- of switch b, allowing the NFC integrated with the ESIM card to enter a low-power mode.
[0191] When pins D+ and D- of switch a are connected to pins D2+ and D2- of switch a respectively, the DATA and RST signals can be transmitted to the ESIM card; when pin D+ of switch b is connected to pin D2+ of switch a, the CLK signal can be transmitted to the ESIM card; when pin D- of switch b is connected to pin D2- of switch a, pin D2- is a floating open circuit and will not affect the ESIM communication.
[0192] It is understandable that the above Figure 9 In the circuit shown, the second switch is used to transmit the DATA signal and the RST signal, and the third switch is used to transmit the CLK signal.
[0193] In some embodiments, the second switch 905 is used to transmit the CLK signal and the RST signal, and the third switch 906 is used to transmit the DATA signal.
[0194] For example, ports DATA2, RST2, and CLK2 are connected to ports 906A of the third switch 906 and ports 905A and 905B of the second switch 905, respectively; ports 906C of the third switch 906, 905C and 905D of the second switch 905 are connected to the three ports (ports 903A, 903B and 903C) of the second card slot 903, respectively; ports 906E of the third switch 906, 905E and 905F of the second switch 905 are connected to the three ports (ports 904A, 904B and 904C) of the ESIM chip 904, respectively; and port 905F of the second switch 905 is connected to port 906B of the third switch.
[0195] In some embodiments, the second switch 905 is used to transmit the DATA signal and the CLK signal, and the third switch 906 is used to transmit the RST signal.
[0196] For example, ports DATA2, RST2, and CLK2 are connected to ports 905A of the second switch 905, 906A of the third switch 906, and 905B of the second switch 905, respectively; ports 905C of the second switch 905, 906C of the third switch 906, and 905D of the second switch 905 are connected to the three ports (ports 903A, 903B, and 903C) of the second card slot 903, respectively; ports 905E of the second switch 905, 906E of the third switch 906, and 905F of the second switch 905 are connected to the three ports (ports 904A, 904B, and 904C) of the ESIM chip 904, respectively; and port 905F of the second switch 905 is connected to port 906B of the third switch.
[0197] This application does not limit the specific corresponding connection of ports DATA2, RST2, and CLK2 in the processor, or the ports in the switching unit.
[0198] It is understandable that the above Figure 9 The arrangement order of the ports in each component can also be changed. This application embodiment is for... Figure 9 The port order and position in each component are not restricted.
[0199] It is understandable that the above Figures 9-12 The SIM card communication circuit described above is illustrated using two sets of SIM interfaces as an example. In some embodiments, the processor may include only one set of SIM interfaces. When the processor includes only one set of SIM interfaces, the above... Figures 9-12 The circuits shown do not include the first card slot, nor the ports connected to the first card slot (e.g., ports DATA1, RST1, CLK1, etc. in the processor).
[0200] It is understandable that the above Figures 2-12 The embodiments shown illustrate cases where the switching unit includes one switch and cases where it includes two switches. The switching unit can also include three switches or even more switches. When the switching unit includes three switches or more switches, the implementation principle of the SIM card communication circuit is similar, as detailed above. Figures 2-12 The circuit shown will not be described in detail here.
[0201] It is understandable that the above Figures 2-12 In the illustrated embodiment, the ESIM chip shares a SIM interface with the second SIM card slot. The ESIM chip can also share a SIM interface with the first SIM card slot; the circuit connection and control method are similar and will not be described in detail here.
[0202] It is understandable that the above Figures 2-12 In the illustrated embodiment, a set of SIM interfaces including three types of signals is used as an example for explanation. Therefore, the first output terminal, second output terminal, and input terminal of the switching unit each include three ports.
[0203] With the development of technology, a set of SIM interfaces may include one or more signals, and the first output terminal, second output terminal, and input terminal of the switching unit may also include other numbers of ports. This application embodiment does not limit the number of ports for the first output terminal, second output terminal, and input terminal of the switching unit.
[0204] The following is combined Figure 13 and Figure 14 The SIM card control method provided in the embodiments of this application will be described.
[0205] For example, Figure 13 This is a flowchart illustrating a SIM card control method provided in an embodiment of this application. Figure 13 As shown, the method includes:
[0206] S1301, The terminal device receives a first message, which is used to indicate the selection of a second physical SIM card.
[0207] Specifically, the processor of the terminal device receives the first message.
[0208] For example, when the terminal device receives an operation from the user to select a second physical SIM card, the terminal device receives a first message.
[0209] S1302, Terminal equipment control switch unit selects and connects to the second slot.
[0210] Specifically, the processor control switch unit of the terminal device selects to connect to the second card slot.
[0211] For example, when the terminal device includes Figure 2 When the circuit shown is in operation, the processor controls ports 205A, 205B, and 205C of the first switch 205 to connect to ports 205D, 205E, and 205F of the first switch 205, respectively.
[0212] When the terminal device includes Figure 6 When the circuit shown is in operation, the processor controls ports 605A and 605B of the second switch 605 to connect to ports 605C and 605D of the second switch 605, respectively; and controls ports 605A and 605B of the third switch 606 to connect to the third switch 606.
[0213] When the terminal device includes Figure 9When the circuit shown is in operation, the processor controls ports 905A and 905B of the second switch 905 to connect to ports 905C and 905D of the second switch 905, respectively, and controls ports 905A and 905B of the third switch 906 to connect to ports 905C and 906D of the third switch 906, respectively.
[0214] Understandably, when the circuit includes a MOSFET, the processor also controls the MOSFET to turn on.
[0215] For example, Figure 14 This is a flowchart illustrating a SIM card control method provided in an embodiment of this application. Figure 14 As shown, the method includes:
[0216] S1401, The terminal device receives a second message, which is used to indicate the selection of an ESIM card.
[0217] Specifically, the processor of the terminal device receives the second message.
[0218] For example, when the terminal device receives an operation from the user to select an ESIM card, the terminal device receives a second message.
[0219] S1402, Terminal equipment control switch unit selects to connect to ESIM chip.
[0220] Specifically, the processor control switch unit of the terminal device selects to connect to the ESIM chip.
[0221] For example, when the terminal device includes Figure 2 When the circuit shown is in operation, the processor controls ports 205A, 205B, and 205C of the first switch 205 to connect to ports 205G, 205H, and 205I of the first switch 205, respectively.
[0222] When the terminal device includes Figure 6 In the circuit shown, the processor controls ports 605A and 605B of the second switch 605 to connect to ports 605E and 605F of the second switch 605, respectively, and controls port 605A of the third switch 606 to connect to port 606C of the third switch 606. When the terminal device includes Figure 9 In the circuit shown, the processor controls ports 905A and 905B of the second switch 905 to connect to ports 905E and 905F of the second switch 905, respectively; controls ports 905A of the third switch 906 to connect to port 906C of the third switch 906; and controls ports 906B of the third switch 906 to connect to port 906F of the third switch 906.
[0223] Understandably, when the circuit includes a MOSFET, the processor also controls the MOSFET to turn off.
[0224] For example, Figure 15 This is a schematic diagram of the interface of a terminal device provided in an embodiment of this application.
[0225] like Figure 15 As shown, the interface includes multiple settings items. These settings include, but are not limited to: SIM interface settings, default mobile data settings, default dialer settings, or other types of settings. The SIM interface settings include Card 1 settings and Card 2 settings. The Card 2 settings include a physical card control 1501 and an eSIM card control 1502.
[0226] In this embodiment, when the terminal device receives an operation from the user clicking the physical card control 1501, the terminal device receives a first message and controls the switch unit to select connection to the second card slot. When the terminal device receives an operation from the user clicking the ESIM card control 1502, the terminal device receives a second message and controls the switch unit to select connection to the ESIM chip.
[0227] It should be noted that, Figure 15 The interface shown is merely an example, and may include more or less content; this application embodiment does not limit this. Furthermore, this application embodiment does not limit the form, name, etc., of the controls in the interface.
[0228] The touch panel malfunction communication method of the present application embodiments has been described above. The apparatus for executing the above-described touch panel malfunction communication method provided in the present application embodiments is described below. Those skilled in the art will understand that the methods and apparatus can be combined with and referenced in each other, and the related apparatus provided in the present application embodiments can execute the steps in the above-described touch panel malfunction communication method.
[0229] The SIM card control method provided in this application can be applied to electronic devices with communication functions. Electronic devices include terminal devices, and the specific device form of the terminal device can be referred to the above-mentioned descriptions, which will not be repeated here.
[0230] This application provides a terminal device, which includes a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, causing the terminal device to perform the above-described method.
[0231] This application provides a chip. The chip includes a processor, which is used to call a computer program in memory to execute the technical solutions in the above embodiments. Its implementation principle and technical effects are similar to those in the related embodiments described above, and will not be repeated here.
[0232] This application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, it implements the methods described above. The methods described in the above embodiments can be implemented wholly or partially by software, hardware, firmware, or any combination thereof. If implemented in software, the functionality can be stored as one or more instructions or code on or transmitted over the computer-readable medium. The computer-readable medium can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium accessible by a computer.
[0233] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage or other magnetic storage devices, or any other medium targeted to carry or to store the required program code in the form of instructions or data structures, and accessible by a computer. Furthermore, any connection is appropriately referred to as a computer-readable medium. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. As used herein, disks and optical discs include optical discs, laser discs, optical discs, digital versatile discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs optically reproduce data using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0234] This application provides a computer program product, which includes a computer program that, when run, causes the computer to perform the above-described method.
[0235] This application describes embodiments of methods, apparatus (systems), and computer program products according to embodiments of this application with reference to flowchart illustrations and / or block diagrams. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable device to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0236] The above specific embodiments further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solution of the present invention should be included within the scope of protection of the present invention.
Claims
1. A SIM card communication circuit, characterized in that, The circuit includes a controller, a switching unit, a first card slot, an ESIM chip, and an NFC chip; The controller is connected to the input terminal of the switch unit, and the first and second output terminals of the switch unit are respectively connected to the first card slot and the ESIM chip. The ESIM chip and the NFC chip are integrated together. The controller is used to control the switching unit to select the first physical SIM card in the first card slot and to control the ESIM chip to ground when receiving the first message; The controller is used to control the switching unit to connect to the ESIM chip when receiving the second message, so as to realize the connection between the controller and the ESIM chip, and to control the ESIM chip to cancel grounding; The circuit also includes a MOSFET; The MOSFET is located between the switching unit and the ESIM chip; The controller is further configured to, upon receiving the first message, control the MOS transistor to turn on so that the ESIM chip remains at a low level; or, upon receiving the second message, control the MOS transistor to turn off.
2. The circuit according to claim 1, characterized in that, The controller includes a first port, a second port, and a third port. The first port is used to transmit a data signal (DATA), the second port is used to transmit a reset signal (RST), and the third port is used to transmit a clock signal (CLK). The input terminals of the switch unit include a fourth port, a fifth port, and a sixth port; the first output terminal of the switch unit includes a seventh port, an eighth port, and a ninth port; the second output terminal of the switch unit includes a tenth port, an eleventh port, and a twelfth port; and the switch unit also includes a nineteenth port, a twentieth port, and a twenty-first port. The first card slot includes: port 13, port 14, and port 15; The ESIM chip includes: port sixteen, port seventeen, and port eighteen; The first port, the second port, and the third port are respectively connected to the fourth port, the fifth port, and the sixth port; the seventh port, the eighth port, and the ninth port are respectively connected to the thirteenth port, the fourteenth port, and the fifteenth port; the tenth port, the eleventh port, and the twelfth port are respectively connected to the sixteenth port, the seventeenth port, and the eighteenth port; the nineteenth port is connected to the twelfth port; the twentieth port is grounded; and the twentieth port is open-circuited. The controller is specifically used to control the connection between the nineteenth port and the twentieth port when receiving the first message, and to control the fourth port, the fifth port and the sixth port to connect to the seventh port, the eighth port and the ninth port respectively, so as to realize the connection between the controller and the first physical SIM card in the first card slot; Specifically, the controller is used to control the connection between the nineteenth port and the twenty-first port when the second message is received, and to control the fourth port, the fifth port, and the sixth port to connect to the tenth port, the eleventh port, and the twelfth port, respectively, so as to realize the connection between the controller and the ESIM chip.
3. A SIM card communication circuit, characterized in that, The circuit includes a controller, a switching unit, a first card slot, and an ESIM chip; The controller is connected to the input terminal of the switch unit, and the first output terminal and the second output terminal of the switch unit are respectively connected to the first card slot and the ESIM chip; The controller is used to control the switching unit to select the first physical SIM card in the first card slot when it receives the first message; The controller is used to control the switching unit to connect to the ESIM chip when it receives the second message, so as to realize the connection between the controller and the ESIM chip; The circuit also includes a MOSFET; The MOSFET is located between the switching unit and the ESIM chip; The controller is further configured to, upon receiving the first message, control the MOS transistor to turn on so that the ESIM chip remains at a low level; or, upon receiving the second message, control the MOS transistor to turn off.
4. The circuit according to claim 3, characterized in that, Specifically, when the controller receives the first message, it controls the switch unit to select and connect to the first card slot, so as to realize the connection between the controller and the first physical SIM card in the first card slot.
5. The circuit according to claim 3, characterized in that, The controller includes a first port, a second port, and a third port. The first port is used to transmit a data signal (DATA), the second port is used to transmit a reset signal (RST), and the third port is used to transmit a clock signal (CLK). The input terminals of the switching unit include a fourth port, a fifth port, and a sixth port; the first output terminal of the switching unit includes a seventh port, an eighth port, and a ninth port; and the second output terminal of the switching unit includes a tenth port, an eleventh port, and a twelfth port. The first card slot includes: port 13, port 14, and port 15; The ESIM chip includes: port sixteen, port seventeen, and port eighteen; The first port, the second port, and the third port are respectively connected to the fourth port, the fifth port, and the sixth port; the seventh port, the eighth port, and the ninth port are respectively connected to the thirteenth port, the fourteenth port, and the fifteenth port; the tenth port, the eleventh port, and the twelfth port are respectively connected to the sixteenth port, the seventeenth port, and the eighteenth port. Specifically, the controller is used to control the fourth port, the fifth port and the sixth port to connect to the seventh port, the eighth port and the ninth port respectively when the first message is received, so as to realize the connection between the controller and the first physical SIM card in the first card slot; Alternatively, the controller may be specifically configured to, upon receiving the second message, control the fourth port, the fifth port, and the sixth port to connect to the tenth port, the eleventh port, and the twelfth port, respectively, so as to enable the controller to connect to the ESIM chip.
6. The circuit according to claim 5, characterized in that, The switching unit includes a first switch; The first switch includes the fourth port, the fifth port, the sixth port, the seventh port, the eighth port, the ninth port, the tenth port, the eleventh port, and the twelfth port.
7. The circuit according to claim 5, characterized in that, The switching unit includes a second switch and a third switch; The second switch includes the fourth port, the fifth port, the seventh port, the eighth port, the tenth port, and the eleventh port; The third switch includes the sixth port, the ninth port, and the twelfth port.
8. The circuit according to any one of claims 3-7, characterized in that, The MOS transistor is located between the twelfth and eighteenth ports.
9. The circuit according to any one of claims 5-7, characterized in that, The switching unit further includes: a nineteenth port, a twentieth port, and a twenty-first port; The nineteenth port is connected to the twelfth port, the twentieth port is grounded, and the twenty-first port is open-circuited; The controller is also configured to control the connection between the nineteenth port and the twentieth port when the first message is received; Alternatively, the controller may also be configured to control the connection between the nineteenth port and the twenty-first port upon receiving the second message.
10. The circuit according to claim 9, characterized in that, When the switching unit includes a first switch, the first switch further includes the nineteenth port, the twentieth port, and the twenty-first port.
11. The circuit according to claim 9, characterized in that, When the switching unit includes a second switch and a third switch, the third switch further includes: the nineteenth port, the twentieth port, and the twenty-first port.
12. The circuit according to any one of claims 3-7 and 10-11, characterized in that, The circuit also includes a first level conversion device; the first level conversion device is located between the controller and the first card slot.
13. The circuit according to any one of claims 3-7 and 10-11, characterized in that, The circuit also includes a second card slot, which is connected to the controller.
14. The circuit according to claim 13, characterized in that, The circuit also includes a second card slot, which includes a 22nd port, a 23rd port, and a 24th port; The controller also includes a 25th port, a 26th port, and a 27th port. The 25th port is used to transmit the DATA signal, the 26th port is used to transmit the RST signal, and the 27th port is used to transmit the CLK signal. The 25th port, the 26th port, and the 27th port are respectively connected to the 22nd port, the 23rd port, and the 24th port to realize the connection between the controller and the second physical SIM card in the second card slot.
15. The circuit according to claim 13, characterized in that, The circuit also includes a second level conversion device; the second level conversion device is located between the controller and the second card slot.
16. The SIM card communication circuit according to any one of claims 3-7, 10-11, and 14-15, characterized in that, The controller is a processor.
17. The SIM card communication circuit according to claim 16, characterized in that, The processor is a system-on-a-chip or a microprocessor.
18. A terminal device, characterized in that, include: The circuit according to any one of claims 1-17 is used to enable communication between the controller and the first physical SIM card, or to enable communication between the controller and the ESIM chip.
19. A SIM card control method, characterized in that, Applied to the circuit as described in any one of claims 2, 9-11, the method comprises: The controller receives first information indicating the selection of the first physical SIM card; the controller controls the switching unit to select the first physical SIM card connected to the first card slot according to the first information. Alternatively, the controller receives second information indicating the selection of an ESIM card; the controller controls the switching unit to select and connect to the ESIM chip based on the second information.
20. The method according to claim 19, characterized in that, The controller controls the switching unit to select the first physical SIM card in the first card slot according to the first information, including: the controller controls the fourth port, the fifth port and the sixth port to connect to the seventh port, the eighth port and the ninth port respectively according to the first information; The controller controls the switching unit to select and connect to the ESIM chip according to the second information, including: the controller controls the fourth port, the fifth port, and the sixth port to connect to the tenth port, the eleventh port, and the twelfth port respectively according to the second information.
21. The method according to claim 20, characterized in that, The method further includes: The controller controls the MOS transistor to turn on according to the first information; Alternatively, the controller may turn off the MOS transistor based on the second information.
22. The method according to claim 20, characterized in that, The method further includes: The controller controls the connection between the nineteenth port and the twentieth port based on the first information; Alternatively, the controller may, based on the second message, control the connection between the nineteenth port and the twenty-first port.
Citation Information
Patent Citations
Dual-card switching method and device
CN109195189A
Card detector, card reading device and electronic equipment
CN112232096A
Compatible system of ESIM card and entity SIM card and mobile terminal equipment
CN209805804U
SIM (Subscriber Identity Module) card switching device and electronic equipment
CN215897719U
Electronic device supporting multiple sims and operation method thereof
US20210250430A1