An IC card identification switching circuit and circuit switching method

By designing the IC card identification and switching circuit, using the control of the power switch module and the data switch module, the function of one card slot supporting two IC cards is realized, which solves the problem of space occupied by multiple card slots and promotes the miniaturization of electronic devices. .

CN114742079BActive Publication Date: 2025-02-07HUAQIN TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111436894.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-29
Publication Date
2025-02-07
Estimated Expiration
2041-11-29

AI Technical Summary

Technical Problem

In the prior art, when electronic devices need to support both SIM cards and PSAM cards, multiple card slots are usually required to be set up, resulting in a large size of the device, which is not conducive to miniaturization.

Method used

Design an IC card identification and switching circuit, including a card holder module, power switching module, data switching module and controller, and control the power switching module to provide different power supply voltages and data switching module switching signal channels to realize the switching of different IC cards. Identify and switch.

Benefits of technology

Using one card slot supports two IC cards, avoiding the problem of large equipment size caused by setting multiple card slots to occupy space, which is conducive to miniaturization of electronic devices, and implements support for different versions of configurations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114742079B_ABST
    Figure CN114742079B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention relates to the field of communication technology, and discloses an identification switching circuit and a circuit switching method of an IC card. In the present invention, the identification switching circuit of the IC card includes a card holder module, a power switching module, a data switching module and a controller, the power switching module is used to switch different power supply voltages, the data switching module is used to switch the signal channel connecting the card holder module and the controller, the controller is used to control the power switching module to provide a first power supply voltage, and control the data switching module to connect the first signal channel, obtain the card protocol of the IC card transmitted via the first signal channel, and after success, keep the current state, and after failure, control the power switching module to provide a second power supply voltage, and control the data switching module to switch to the second signal channel. The identification switching circuit and circuit switching method of the IC card provided by the present invention can support two types of IC cards with one card slot, which is conducive to the miniaturization of electronic equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to an identification switching circuit and a circuit switching method for an IC card. Background Art

[0002] In the related art, only one IC card can be placed in the same card slot. If an electronic device needs to support both SIM cards and PSAM cards to implement different version configurations, it is usually necessary to set up multiple card slots to place SIM cards and PSAM cards respectively.

[0003] The inventors have found that there are at least the following problems in the prior art: providing multiple card slots will occupy PCB space, resulting in a larger electronic device size, which is not conducive to the miniaturization of the electronic device. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide an IC card identification switching circuit and a circuit switching method, which can use one card slot to support two IC cards, avoid the problem of large electronic device size caused by setting up multiple card slots to occupy a large space, and is conducive to the miniaturization of electronic equipment.

[0005] To solve the above technical problems, an embodiment of the present invention provides an IC card identification switching circuit, comprising: a card holder module, a power switching module, a data switching module and a controller; the card holder module is used to install and connect the IC card; the power switching module is connected to the card holder module, and is used to switch different power supply voltages to power the IC card; the data switching module is connected to the card holder module and the controller, and is used to switch the signal channel connecting the card holder module and the controller; the controller is used to control the power switching module to provide a first power supply voltage, and control the data switching module to connect to the first signal channel, and obtain the card protocol of the IC card transmitted via the first signal channel; the controller is also used to keep the power switching module providing the first power supply voltage and keep the data switching module connected to the first signal channel after successfully obtaining the card protocol; after failing to successfully obtain the card protocol, control the power switching module to provide a second power supply voltage, and control the data switching module to switch to the second signal channel.

[0006] An embodiment of the present invention also provides a circuit switching method for an IC card, comprising: providing a first power supply voltage and connecting a first signal channel; acquiring a card protocol of the IC card transmitted via the first signal channel; after successfully acquiring the card protocol, maintaining the provision of the first power supply voltage and maintaining the connection of the first signal channel; after failing to successfully acquire the card protocol, switching the first power supply voltage to a second power supply voltage and switching the first signal channel to a second signal channel.

[0007] Compared with the prior art, the embodiments of the present invention control the power switching module to provide the first power supply voltage and control the data switching module to connect the first signal channel to obtain the card protocol of the IC card transmitted via the first signal channel. After successfully obtaining the card protocol, the power switching module is kept to provide the first power supply voltage and the data switching module is kept to connect the first signal channel. After failing to successfully obtain the card protocol, the power switching module is controlled to provide the second power supply voltage and the data switching module is controlled to switch to the second signal channel. That is, when communication is successful, the current first power supply voltage and the first signal channel are maintained to realize the communication of the IC card. When communication fails, the second power supply voltage and the second signal channel are automatically switched to realize the communication of the IC card. Thus, one card slot (only one card holder module is provided) can support two types of IC cards, avoiding the problem of large electronic device size caused by setting multiple card slots to occupy a large space, which is conducive to the miniaturization of electronic equipment.

[0008] In addition, the card holder module includes a power interface, and the power switching module includes a first power supply unit and a second power supply unit; the first power supply unit includes a first switch module connected to the power interface, a first power supply connected to the first switch module and used to provide the first power supply voltage, and a first power supply enable port connected to the first switch module; the second power supply unit includes a second switch module connected to the power interface, a second power supply connected to the second switch module and used to provide the second power supply voltage, and a second power supply enable port connected to the second switch module; the first power supply enable port and the second power supply enable port are both connected to the controller, and the controller is used to send a first enable signal to the first power supply enable port so that the first switch module connects the power interface and the first power supply, and sends a second enable signal to the second power supply enable port after the card protocol is not successfully obtained, so that the second switch module connects the power interface and the second power supply. In this way, the first power supply voltage and the second power supply voltage can be provided by setting the states of the first switch module and the second switch module respectively.

[0009] In addition, the supply voltage of the first power supply is lower than the supply voltage of the second power supply. By first providing a smaller supply voltage and then providing a larger supply voltage after communication fails, the SIM card supporting low voltage can be better protected, and the SIM card can be prevented from being damaged due to excessive voltage, which is safe and reliable.

[0010] In addition, the first switch module includes a first transistor and a first field effect transistor, the first power enable port is connected to the base of the first transistor, the emitter of the first transistor is grounded, the collector of the first transistor is connected to the gate of the first field effect transistor, the source of the first field effect transistor is connected to the first power supply, and the drain of the first field effect transistor is connected to the power interface. In this way, the connection and disconnection of the first power supply can be controlled by controlling the signal input to the first power enable port.

[0011] In addition, the first switch module further includes a first resistor, and the first power enable port is connected to the base of the first transistor via the first resistor.

[0012] In addition, the first switch module also includes a second resistor and a third resistor, the collector of the first transistor is connected to the gate of the first field effect transistor via the second resistor, one end of the third resistor is connected to the gate of the first field effect transistor, and the other end is connected to the source of the first field effect transistor.

[0013] In addition, the first switch module further includes a first capacitor, and the first capacitor is connected to the power interface.

[0014] In addition, the data switching module includes a data enable port, a first group of signal transmission ports connected to the card holder module, and a second group of signal transmission ports and a third group of signal transmission ports that are replaceably connected to the first group of signal transmission ports; the data switching module is used to connect the first group of signal transmission ports with the second group of signal transmission ports to connect the first signal channel after receiving the first control signal sent by the controller, and connect the first group of signal transmission ports with the third group of signal transmission ports to connect the second signal channel after receiving the second control signal sent by the controller. With this arrangement, the first signal channel and the second signal channel can be switched by controlling the signal of the input data enable port.

[0015] In addition, the first power supply voltage is lower than the second power supply voltage. By providing a smaller power supply voltage first and then providing a larger power supply voltage after communication fails, the SIM card supporting low voltage can be better protected, and the SIM card can be prevented from being damaged due to overvoltage, which is safe and reliable. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0017] Figure 1It is a schematic diagram of a card holder module and a power supply switching module in an IC card identification switching circuit provided by a first embodiment of the present invention;

[0018] Figure 2 Schematic diagram of a first switch module in an IC card identification switching circuit provided by a first embodiment of the present invention;

[0019] Figure 3 is a schematic diagram of a second switch module in an identification switching circuit of an IC card provided in a first embodiment of the present invention;

[0020] Figure 4 It is a schematic diagram of a data switching module in an identification switching circuit of an IC card provided in a first embodiment of the present invention;

[0021] Figure 5 It is a flowchart of the circuit switching method of the IC card provided by the second embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the following will be described in detail with reference to the accompanying drawings. However, it will be appreciated by those skilled in the art that in the various embodiments of the present invention, many technical details are provided in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented.

[0023] The first embodiment of the present invention relates to an identification switching circuit of an IC card, such as Figures 1 to 4 As shown, it includes: a card holder module 11, a power switching module 12, a data switching module 13 and a controller (not shown in the figure), the card holder module 11 is used to install and connect the IC card, the power switching module 12 is connected to the card holder module 11 and is used to switch different power supply voltages to power the IC card, the data switching module 13 is connected to the card holder module 11 and the controller and is used to switch the signal channel connecting the card holder module 11 and the controller, the controller is used to control the power switching module 12 to provide a first power supply voltage, and control the data switching module 13 to connect the first signal channel, and obtain the card protocol of the IC card transmitted via the first signal channel. The controller is also used to keep the power switching module 12 providing the first power supply voltage and keep the data switching module 13 connected to the first signal channel after successfully obtaining the card protocol; after failing to successfully obtain the card protocol, control the power switching module 12 to provide a second power supply voltage and control the data switching module 13 to switch to the second signal channel.

[0024] The power switching module 12 is controlled to provide the first power supply voltage, and the data switching module 13 is controlled to connect the first signal channel, and the card protocol of the IC card transmitted via the first signal channel is obtained. After the card protocol is successfully obtained, the power switching module 12 is kept to provide the first power supply voltage, and the data switching module 13 is kept to connect the first signal channel. After the card protocol is not successfully obtained, the power switching module 12 is controlled to provide the second power supply voltage, and the data switching module 13 is controlled to switch to the second signal channel, that is, when the communication is successful, the current first power supply voltage and the first signal channel are maintained to realize the communication of the IC card. When the communication fails, it is automatically switched to the second power supply voltage and the second signal channel to realize the communication of the IC card, so that one card slot (only one card holder module 11 is set) can support two IC cards, avoiding the problem of large electronic device size caused by setting multiple card slots to occupy a large space, which is conducive to the miniaturization of electronic equipment.

[0025] In practical applications, the card holder module 11 includes a power interface VCC2, and the power switching module 12 may include a first power supply unit and a second power supply unit. The first power supply unit may include a first switch module 121 connected to the power interface VCC2, a first power supply connected to the first switch module 121 and used to provide a first power supply voltage, and a first power enable port 122 connected to the first switch module 121, and the second power supply unit may include a second switch module 123 connected to the power interface VCC2, a second power supply connected to the second switch module 123 and used to provide a second power supply voltage, and a second power enable port 124 connected to the second switch module 123.

[0026] The first power enable port 122 and the second power enable port 124 can both be connected to the controller, and the controller is used to send a first enable signal to the first power enable port 122 to enable the first switch module 121 to connect the power interface VCC2 and the first power supply, and send a second enable signal to the second power enable port 124 after failing to successfully obtain the card protocol to enable the second switch module 123 to connect the power interface VCC2 and the second power supply. With this arrangement, the first power supply voltage and the second power supply voltage can be provided by setting the states of the first switch module 121 and the second switch module 123, respectively.

[0027] Optionally, the supply voltage of the first power supply may be lower than the supply voltage of the second power supply, that is, the first supply voltage may be lower than the second supply voltage. By first providing a smaller supply voltage and then providing a larger supply voltage after communication fails, the SIM card that supports low voltage can be better protected and the SIM card can be prevented from being damaged due to excessive voltage.

[0028] Specifically, the first switch module 121 may include a first transistor V1 and a first field effect transistor T1, the first power enable port 122 is connected to the base b of the first transistor V1, the emitter e of the first transistor V1 is grounded, the collector c of the first transistor V1 is connected to the gate G of the first field effect transistor T1, the source S of the first field effect transistor T1 is connected to the first power supply, and the drain D of the first field effect transistor T1 is connected to the power interface VCC2. In this way, the connection and disconnection of the first power supply can be controlled by controlling the signal input to the first power enable port 122.

[0029] Optionally, the first switch module 121 may further include a first resistor R1. The first power enable port 122 is connected to the base c of the first transistor V1 via the first resistor R1. By setting the first resistor R1, the current flowing into the base c of the first transistor V1 can be reduced to avoid damage to the first transistor V1.

[0030] The first switch module 121 may further include a second resistor R2 and a third resistor R3. The collector c of the first transistor V1 is connected to the gate G of the first field effect transistor T1 via the second resistor R2. One end of the third resistor R3 is connected to the gate G of the first field effect transistor T1, and the other end is connected to the source S of the first field effect transistor T1. By setting the second resistor R2 and the third resistor R3, the voltage difference loaded between the gate G and the source S of the first field effect transistor T1 can be controlled, so that the first field effect transistor T1 can be fully turned on.

[0031] In practical applications, the first switch module 121 may further include a first capacitor C1, and the first capacitor C1 may be connected to the power interface VCC2. By providing the first capacitor C1, voltage stabilization and filtering can be achieved, thereby ensuring the voltage stability of the IC card.

[0032] It should be noted that the second switch module 123 can adopt a circuit structure similar to that of the first switch module 121. Specifically, the second switch module 123 may include a second triode V2 and a second field effect transistor T2, the second power enable port 124 is connected to the base of the second triode V2, the emitter of the second triode V2 is grounded, the collector of the second triode V2 is connected to the base of the second field effect transistor T2, the collector of the second field effect transistor T2 is connected to the second power supply, and the emitter of the second field effect transistor T2 is connected to the power interface VCC2. In this configuration, the connection and disconnection of the second power supply can be controlled by controlling the signal input to the second power enable port 124.

[0033] Optionally, the second switch module 123 may further include a fourth resistor R4, and the second power enable port 124 is connected to the base of the second transistor V2 via the fourth resistor R4.

[0034] The second switch module 123 may further include a fifth resistor R5 and a sixth resistor R6. The collector of the second transistor V2 is connected to the gate of the second field effect transistor T2 via the fifth resistor R5. One end of the sixth resistor R6 is connected to the gate of the second field effect transistor T2, and the other end is connected to the source of the second field effect transistor T2.

[0035] In practical applications, the second switch module 123 may further include a second capacitor C2, and the second capacitor C2 may be connected to the power interface VCC2.

[0036] In practical applications, the data switching module 13 may include a data enable port, a first group of signal transmission ports connected to the card holder module 11, and a second group of signal transmission ports and a third group of signal transmission ports that are replaceably connected to the first group of signal transmission ports; the data switching module 13 is used to connect the first group of signal transmission ports with the second group of signal transmission ports to connect the first signal channel after receiving the first control signal sent by the controller, and connect the first group of signal transmission ports with the third group of signal transmission ports to connect the second signal channel after receiving the second control signal sent by the controller. With such a configuration, the first signal channel and the second signal channel can be switched by controlling the signal of the input data enable port.

[0037] Specifically, the data switching module 13 can be an analog switch, the data enable port can include IN1-IN2 port and IN3-IN4 port, the first group of signal transmission ports can include COM1 port, COM2 port, and COM3 port, the second group of signal transmission ports can include NC1 port, NC2 port, and NC3 port, and the third group of signal transmission ports can include NO1 port, NO2 port, and NO3 port, wherein the NC1 port, NC2 port, and NC3 port are respectively connected to SIM1_SRST, SIM1_SCLK, and SIM1_SIO, and the NO1 port, NO2 port, and NO3 port are respectively connected to PSAM_RST1, PSAM_CLK, and PSAM_DATA1.

[0038] In this embodiment, the card socket module 11 may include: RST1 port, CLK1 port, VO1 port, RST2 port, CLK2 port and VO2 port, wherein the RST1 port, CLK1 port and VO1 port can be connected to the enable end, clock end and data end of the IC card respectively, and the RST2 port, CLK2 port and VO2 port can be connected to the COM1 port, COM2 port and COM3 port respectively.

[0039] When the IN1-IN2 port and the IN3-IN4 port are all at low level, the COM1 port, COM2 port, and COM3 port are connected to the NC1 port, NC2 port, and NC3 port respectively.

[0040] When the IN1-IN2 port and the IN3-IN4 port are all at high level, the COM1 port, COM2 port and COM3 port are connected to the NO1 port, NO2 port and NO3 port respectively.

[0041] Compared with the prior art, the implementation manner of the present invention maintains the current first power supply voltage and the first signal channel to realize the communication of the IC card when the communication is successful, and automatically switches to the second power supply voltage and the second signal channel to realize the communication of the IC card when the communication fails. Thus, one card slot (only one card holder module 11 is provided) can support two types of IC cards, avoiding the problem of a larger electronic device size caused by the larger space occupied by multiple card slots, which is conducive to the miniaturization of the electronic device and can save design costs.

[0042] The second embodiment of the present invention relates to a circuit switching method of an IC card. The core of this embodiment is that it includes: providing a first power supply voltage and connecting a first signal channel; obtaining the card protocol of the IC card transmitted via the first signal channel; after successfully obtaining the card protocol, maintaining the first power supply voltage and maintaining the first signal channel; after failing to successfully obtain the card protocol, switching the first power supply voltage to a second power supply voltage and switching the first signal channel to a second signal channel. By providing a first power supply voltage and connecting a first signal channel; obtaining the card protocol of the IC card transmitted via the first signal channel; after successfully obtaining the card protocol, maintaining the first power supply voltage and maintaining the first signal channel; after failing to successfully obtain the card protocol, switching the first power supply voltage to a second power supply voltage and switching the first signal channel to a second signal channel, that is, when communication is successful, maintaining the current first power supply voltage and the first signal channel to realize the communication of the IC card, and when communication fails, automatically switching to the second power supply voltage and the second signal channel to realize the communication of the IC card, so that one card slot (only one card holder module is provided) can support two types of IC cards and realize different version configurations.

[0043] The implementation details of the circuit switching method of the IC card of this embodiment are specifically described below. The following content is only provided for the convenience of understanding the implementation details and is not necessary for implementing this solution.

[0044] The circuit switching method of the IC card in this embodiment is as follows: Figure 5 As shown, the specific steps include:

[0045] S11: providing a first power supply voltage and connecting a first signal channel;

[0046] S12: Determine whether the card protocol of the IC card is obtained, if so, execute step S13, if not, execute step S14.

[0047] S13: Keep providing the first power supply voltage and keep connecting the first signal channel;

[0048] S14: Switch the first power supply voltage to the second power supply voltage, and switch the first signal channel to the second signal channel.

[0049] Optionally, the first power supply voltage may be lower than the second power supply voltage. By first providing a smaller power supply voltage and then providing a larger power supply voltage after communication fails, a SIM card that supports low voltage can be better protected, thereby preventing the SIM card from being damaged due to excessive voltage, which is safe and reliable.

[0050] It is not difficult to find that this embodiment is an embodiment of the circuit switching method corresponding to the first embodiment, and this embodiment can be implemented in conjunction with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment. Accordingly, the technical effects that can be achieved in the first embodiment can also be achieved in this embodiment, and in order to reduce repetition, they are not repeated here.

[0051] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the process or introducing insignificant designs that do not change the core design of the process are all within the scope of protection of this patent.

[0052] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. An IC card identification switching circuit, characterized in that: include: Card holder module, power switching module, data switching module and controller; The card holder module is used to install and connect the IC card; The power switching module is connected to the card holder module and is used to switch different power supply voltages to supply power to the IC card; The data switching module is connected to the card holder module and the controller, and is used to switch the signal channel connecting the card holder module and the controller; The controller is used to control the power switching module to provide a first power supply voltage, and control the data switching module to connect a first signal channel to obtain a card protocol of the IC card transmitted via the first signal channel; The controller is further configured to, after successfully acquiring the card protocol, keep the power switching module providing the first power supply voltage and keep the data switching module connected to the first signal channel; after failing to successfully acquire the card protocol, control the power switching module to provide the second power supply voltage and control the data switching module to switch to the second signal channel; The card holder module includes a power interface, the power switching module includes a first power supply unit, the first power supply unit includes a first switch module connected to the power interface, a first power supply connected to the first switch module and used to provide the first power supply voltage, and a first power enable port connected to the first switch module; The first power enable port is connected to the controller, and the controller is used to send a first enable signal to the first power enable port to enable the first switch module to connect the power interface and the first power supply; The first switch module includes a first transistor and a first field effect transistor, the first power enable port is connected to the base of the first transistor, the emitter of the first transistor is grounded, the collector of the first transistor is connected to the gate of the first field effect transistor, the source of the first field effect transistor is connected to the first power supply, and the drain of the first field effect transistor is connected to the power interface.

2. The IC card identification switching circuit according to claim 1, characterized in that: The power switching module further includes a second power supply unit, the second power supply unit including a second switch module connected to the power interface, a second power supply connected to the second switch module and used to provide the second power supply voltage, and a second power enable port connected to the second switch module; The second power enable port is connected to the controller, and the controller is further used to send a second enable signal to the second power enable port after failing to obtain the card protocol, so that the second switch module connects the power interface and the second power supply.

3. The IC card identification switching circuit according to claim 2, characterized in that: A supply voltage of the first power supply is lower than a supply voltage of the second power supply.

4. The IC card identification switching circuit according to claim 1, characterized in that: The first switch module further includes a first resistor, and the first power enable port is connected to the base of the first transistor via the first resistor.

5. The IC card identification switching circuit according to claim 1, characterized in that: The first switch module also includes a second resistor and a third resistor. The collector of the first transistor is connected to the gate of the first field effect transistor via the second resistor. One end of the third resistor is connected to the gate of the first field effect transistor, and the other end is connected to the source of the first field effect transistor.

6. The IC card identification switching circuit according to claim 1, characterized in that: The first switch module also includes a first capacitor, and the first capacitor is connected to the power interface.

7. The IC card identification switching circuit according to claim 1, characterized in that: The data switching module includes a data enabling port, a first group of signal transmission ports connected to the card holder module, and a second group of signal transmission ports and a third group of signal transmission ports which are replaceably connected to the first group of signal transmission ports; The data switching module is used to connect the first group of signal transmission ports with the second group of signal transmission ports to connect the first signal channel after receiving the first control signal sent by the controller, and to connect the first group of signal transmission ports with the third group of signal transmission ports to connect the second signal channel after receiving the second control signal sent by the controller.

8. A circuit switching method for an IC card applied to the identification switching circuit of the IC card as claimed in claim 1, characterized in that: include: Providing a first power supply voltage and connecting a first signal channel; Acquire the card protocol of the IC card transmitted via the first signal channel; After successfully acquiring the card protocol, keep providing the first power supply voltage and keep connecting the first signal channel; After the card protocol is not successfully acquired, the first power supply voltage is switched to a second power supply voltage, and the first signal channel is switched to a second signal channel.

9. The circuit switching method of an IC card according to claim 8, characterized in that: The first supply voltage is lower than the second supply voltage.

Citation Information

Patent Citations

  • Switching device and intelligent terminal

    CN212649521U