SMART CARD AND CONTROL METHOD THEREOF
20210064949 ยท 2021-03-04
Assignee
Inventors
Cpc classification
G06K19/0705
PHYSICS
G06K19/0701
PHYSICS
G06K19/07715
PHYSICS
G06K19/07769
PHYSICS
G06K19/0712
PHYSICS
International classification
Abstract
A smart card includes a microprocessor, a biometric sensor, a power supply decision unit, and a power detection unit. When the power source provides electric power to the smart card, the microprocessor of the smart card operates at a lower operating frequency initially. After determining by the power supply detecting unit and the power supply decision unit, it is determined whether a power source provides a higher current or voltage. The microprocessor further determines whether to adjust the operating frequency according to the determination. If so, the operating frequency is further increased to speed up the processing and thereby enhance the user experience.
Claims
1. A smart card comprising: a microprocessor; a biometric sensor electrically connecting to the microprocessor; a power supply decision unit electrically connecting to the microprocessor; and a power supply detection unit electrically connecting to the power supply decision unit, wherein when the microprocessor operates at a first operating frequency, the power supply detection unit detects a type of a power source providing electric power to the microprocessor, the power supply detection unit transmits a detection result to the power supply decision unit, wherein the microprocessor determines whether to change the first operating frequency through the detection result.
2. The smart card as claimed in claim 1, wherein the power decision unit and the microprocessor are integrated into a circuit architecture; or the power decision unit serially connects between the microprocessor and the power supply detection unit.
3. The smart card as claimed in claim 1, wherein the detecting of the type of the power source includes to detect a power-supply path, a voltage from the power source or a current from the power source.
4. The smart card as claimed in claim 1, wherein the power supply detection unit comprises a power management unit and a security element for storing confidential information of the smart card.
5. The smart card as claimed in claim 4, wherein the security element and the power management unit are integrated into a circuit architecture; or the security element and the microprocessor are integrated into a circuit architecture.
6. The smart card as claimed in claim 1, wherein the microprocessor and the biometric sensor are integrated into a circuit architecture.
7. The smart card as claimed in claim 4, wherein the microprocessor, the security element and the biometric sensor are integrated into a circuit architecture.
8. The smart card as claimed in claim 1, wherein the microprocessor and the biometric sensor are arranged side by side on a substrate.
9. The smart card as claimed in claim 1, wherein the microprocessor and the biometric sensor are stacked on a substrate, and an insulator is formed between the biometric sensor and the microprocessor.
10. A control method of a smart card, which comprises a microprocessor and a biometric sensor, comprising steps of: a. running the microprocessor at a first operating frequency; b. determining a type of a power source provided to the microprocessor; and c. determining whether the microprocessor changes the first operating frequency based on the determination in the step b.
11. The control method as claimed in claim 10, wherein the step b comprises determining which type of a power source provides the electric power to the microprocessor is through detecting a power-supply path of the power source.
12. The control method as claimed in claim 11, wherein in the step b, the type of the power source is determined as a first source when an electric power of the power source is provided through a first contact; in the step b, the type of the power source is determined as a second source when the electric power is provided through a security element; and a current provided by the first source is larger than a current provided by the second source.
13. The control method as claimed in claim 12, wherein in the step b, the type of the power source is determined as a third source when the electric power is neither detected through the first contact nor through the security element; and a current provided by the third source is between the currents provided by the first and second sources.
14. The control method as claimed in claim 11, wherein in the step b, the type of the power source is determined as a first source when an electric power of the power source is provided through a first contact; in the step b, the type of the power source is determined as a third source when the electric power is provided through a second contact; in the step b, the type of the power source is determined as a second source when the electric power is neither detected through the first contact nor through the second contact; a current provided by the first source is larger than a current provided by the second source; and a current provided by the third source is between the currents provided by the first and second sources.
15. The control method as claimed in claim 12, wherein in the step c, the first operating frequency of the microprocessor is adjusted to a second operating frequency when the type of the power source is determined as the first source in the step b; in the step c, the first operating frequency of the microprocessor is maintained when the type of the power source is determined as the second source in the step b; and the second operating frequency is higher than the first operating frequency.
16. The control method as claimed in claim 13, wherein in the step c, the microprocessor is adjusted to a third operating frequency when the type of the power source is determined as the third source in the step b; and the third operating frequency is between the first and second operating frequencies.
17. The control method as claimed in claim 10, wherein in the step b, the type of a power source is determined through determining a voltage value provided by the power source.
18. The control method as claimed in claim 17, wherein in the step c, the first operating frequency of the microprocessor is maintained when a variation of the voltage value determined in the step b is larger than a variation threshold in a predetermined time; and in the step c, the microprocessor is adjusted to a fourth operating frequency when the variation of the voltage value determined in the step b is smaller than the variation threshold in the predetermined time and the voltage value determined in the step b is larger than a voltage threshold; wherein the fourth operating frequency is higher than the first operating frequency.
19. The control method as claimed in claim 18, wherein in the step c, the microprocessor is adjusted to a fifth operating frequency when the variation of the voltage value determined in the step b is smaller than the variation threshold in the predetermined time and the voltage value in the step b is smaller than the voltage threshold; and wherein the fifth operating frequency is between the first and fourth operating frequencies.
20. The control method as claimed in claim 10, wherein in the step b, determining a current value provided by the power source determines the type of a power source provided to the microprocessor.
21. The control method as claimed in claim 20, wherein in the step c, the microprocessor is adjusted to a sixth operating frequency when the current value determined in the step b is larger than a first current threshold; in the step c, the first operating frequency of the microprocessor is maintained when the current value determined in the step b is smaller than a second current value; the first current threshold is larger than or equal to the second current threshold; and the sixth operating frequency is higher than the first operating frequency.
22. The control method as claimed in claim 21, wherein in the step c, the microprocessor is adjusted to a seventh operating frequency when current value determined in the step b is between the first and second current thresholds; and the seventh operating frequency is between the first and sixth operating frequencies.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0030] With reference to
[0031] The microprocessor 10 electrically connects to the biometric sensor 20, the power supply decision unit 30 and the voltage regulator circuit 50. The power supply detection unit 40 serially connects to the microprocessor 10 through the voltage regulator circuit 50, and transmits a detecting signal of the type of the power source to the power supply decision unit 30 and the microprocessor 10.
[0032] The biometric sensor 20 is used to obtain the biometric information of the user so that the microprocessor 10 could use the biometric information to further process or determine the identity of the user. The biometric sensor 20 may be a fingerprint sensor, but is not limited thereto.
[0033] The disposition of the power supply decision unit 30 may be different. In one embodiment as shown in
[0034] With reference to
[0035] Besides, the circuit architecture of the power supply detection unit 40, the microprocessor 10 and the biometric sensor 20 may have different integration architecture. In one embodiment as shown in
[0036] The power sources described as follows are only for examples, but are not limited thereto. In one embodiment as shown in
[0037] The electric power of the contact power supply 61A, 61B means the electric power is provided by electrically contacting physical contacts on the smart card to the physical contacts in the card reader when the smart card is inserted into the card reader. The electric power of the contactless inductive power supply 62A, 62B means the electric power is provided by the induction current via inductive coupling or electric field coupling when the smart card approaches the card reader. The electric power of the battery power supply 63B is generated by the battery built-in the smart card. Generally, the contact power supply 61A, 61B provides an average current of about 7.4 mA, and the voltage value is about 5V. The contactless inductive power supply 62A, 62B provides an average current of about 4.2 mA, and the voltage value is about 2 to 12V. The battery power supply 63B provides an average current of about 6.5 mA, and the voltage value is about 3.7 to 4.2V. Thus, as to the current, the contact power supply 61A, 61B provides the maximum current, followed by the battery power supply 63B and the smallest current is provided by the contactless inductive power supply 62A, 62B. Therefore, the current magnitude may be used to determine the type of the power source. Since the contact power supply 61A, 61B provides a larger current, the microprocessor 10 is allowed to operate at a higher operating frequency. Since the contactless inductive power supply 62A, 62B provides a smaller current, the microprocessor 10 is allowed to operate at a lower operating frequency. Since the battery power supply 63B provides a medium current between the aforementioned currents, the microprocessor 10 is allowed to operate at a medium operating frequency between the aforementioned frequencies.
[0038] On the other hands, as to the voltage, the voltages provided by the contact power supply 61A, 61B and the battery power supply 63B are relatively stable, while the voltage provided by the contactless inductive power supply 62A, 62B fluctuates due to a slight change in distance between the smart card and the card reader. Taking the power supply period of 20 ms (milliseconds) as an example, the voltages provided by the contact power supply 61A, 61B and the battery power supply 63B could raise to the target voltage value in a very short time, and are stably controlled around the target voltage value. However, the target voltage value of the battery power supply 63B is smaller than the target voltage value of the contact power supply 61A, 61B. Further, the voltage value of the contactless inductive power supply 62A, 62B may fluctuate due to a change in distance between the smart card and the card reader, and a slight change in distance causes a voltage change. Therefore, the type of the power source can be determined by the slope of the voltage value climb, the variation of the voltage value and the target voltage value.
[0039] With reference to
[0040] With reference to
[0041] Receiving power supply (S10): When the smart card and the power source 60A connects or approaches to each other, the power source 60A provides current to the smart card to enable the smart card to operate.
[0042] Running at a first operating frequency (S20): When the smart card receives the current, the microprocessor 10 operates at the first operating frequency. Since the smart card just starts to operate, the type of the power source 60A is still unknown. Thus, the microprocessor 10 operates at the first operating frequency, which is lower frequency, to maintain the operation of the microprocessor 10 at the first operating frequency no matter which the type of the power source 60A is.
[0043] Detecting the type of the power source 60A for the microprocessor 10 (S30): Since the current provided by the power source 60A passes through the power supply decision unit 30 and the power supply detection unit 40A, the power supply detection unit 40A and the power supply decision unit 30 detect the type of the power source 60A. In one embodiment, to detect the type of the power source 60A means that to detect the current generated by which type of the power source 60A. The type of the power source 60A could be determined through detecting the power-supply path, the current value, the voltage value or the variation of the voltage value.
[0044] Determining whether the microprocessor 10 needs to adjust the first operating frequency by the detection result in the step S30 (S40): The microprocessor 10 determines whether the microprocessor adjusts the operating frequency based on the determination of the power supply decision unit 30. If the determination of the power supply decision unit 30 determines that the power source 60A provides a larger current, the microprocessor 10 replaces the first operating frequency with a second operating frequency, which is higher than the first operating frequency (S50). If the determination of the power supply decision unit 30 determines that the power source 60A provides a smaller current, the microprocessor 10 maintains to operate at the first operating frequency.
[0045] Furthermore, when the smart card is abnormally used and the microprocessor 10 is restarted or the power source 60A is cut off (S70), the step S20 is executed so that the microprocessor 10 operates at the first operating frequency again no matter which operating frequency is used before. Thus, the microprocessor 10 is ensured to operate smoothly as the initial state, and then executes the following steps.
[0046] With reference to
[0047] Detecting a power-supply path to the microprocessor 10 (S30A): Since the current provided by the power source 60B passes through the power supply detection unit 40A, the power supply detection unit 40A detects the power-supply path of the power source 60B.
[0048] Determining whether the power-supply path is provided from the contact power supply 61B (S41A): Since when the current is obtained with the physical contact, the power management unit 41A learns which the type of the power source 60B is through a first contact that supplies current. Thus, the power management unit 41A could therefore determine whether the type of the power source 60B is the contact power supply 61B. If so, the operating frequency is adjusted to the second operating frequency (S51A), which is higher. If no, the step S42A is executed.
[0049] Determining whether the power-supply path is provided from the contactless inductive power supply 62B (S42A): According to the
[0050] With reference to
[0051] Detecting a power-supply path to the microprocessor 10 (S30B): Since the current provided by the power source 60B passes through the power supply detection unit 40A, the power supply detection unit 40A detects the power-supply path of the power source 60B.
[0052] Determining whether the power-supply path is provided from the contact power supply 61B (S41B): Since when the current is obtained with the physical contact, the power management unit 41A learns which the type of the power source is through a first contact that supplies current. Thus, the power management unit 41A could therefore determine whether the type of the power source is the contact power supply 61B. If so, the operating frequency is adjusted to the second operating frequency (S51B), which is higher. If no, the step S42B is executed.
[0053] Determining whether the power-supply path is provided from the battery power supply 63B (S42B): Since when the current is obtained with the physical contact, the power management unit 41A learns which the power source is through a second contact that supplies current. Thus, the power management unit 41A could therefore determine whether the type of the power source 60B is the battery power supply 63B. If so, the operating frequency is adjusted to the third operating frequency (S52A), which is between the first and the second operating frequencies. If not, the microprocessor 10 maintains to operate at the first operating frequency (S60). The power management unit 41A may connect to the first and second contacts through the switching element, and detects whether the first contact or the second contact has a current through polling, thereby making a determination.
[0054] With reference to
[0055] Detecting a voltage provided to the microprocessor 10 (S30C): Since the variations of the voltage values and the target voltages of different types of the power source 60B are different, detecting the variation of the voltage value and the voltage value provided to the microprocessor 10 learns which the type of the power source 60B is.
[0056] Determining whether the variation of the voltage value from the power source 60B is larger than a variation threshold in a predetermined time (S41C). If so, the microprocessor 10 maintains to operate at the first operating frequency (S60). If not, the step S42C is executed. Since the contact power supply 61B and the battery power supply 63B provides electric power through the physical contacts, the voltages provided by the contact power supply 61B and the battery power supply 63B raise quickly to and maintain around the target voltage in the predetermined time, such as 20ms. However, the variation of the voltage value provided through the contactless inductive power supply 62B has greater change due to the change of the distance between the smart card and the card reader. Thus, if the variation of the voltage value from the power source 60B is larger than the variation threshold in the predetermined time, the type of the power source 60B is determined as the contactless inductive power supply 62B so that the first operating frequency is maintained, which is lower.
[0057] Determining whether the voltage value from the power source 60B is larger than a voltage threshold (42C): If so, the operating frequency of the microprocessor 10B is adjusted to the second operating frequency (S51C), which is higher, since the voltage value from the power source 60B is larger than the voltage threshold means that the type of the power source 60B such as the contact power supply 61B provides a larger voltage when the variation of the voltage value is stable following by the determination of the step S41C. If not, the operating frequency of the microprocessor 10B is adjusted to the third operating frequency (S52C), which is between the first and second operating frequency, since the voltage value from the power source 60B is smaller than the voltage threshold means that the type of the power source 60B such as the battery power supply 63B provides a smaller voltage when the variation of the voltage value is stable following by the determination of the step S41C. With further reference to
[0058] With reference to
[0059] Detecting a current provided to the microprocessor 10 (S30D): Since the current of different types of the power source 60B are different, detecting the current provided to the microprocessor 10 learns which the type of the power source 60B is.
[0060] Determining whether the current value from the power source 60B is larger than a first current threshold (41D): If so, the operating frequency of the microprocessor 10B is adjusted to the second operating frequency (S51D), which is higher. If not, the step S42D is executed.
[0061] Determining whether the current value from the power source 60B is smaller than a second current threshold (42D): If so, the operating frequency of the microprocessor 10B maintains to operate at the first operating frequency, which is lower (S60). If not, the current value from the power source 60B is between the first and second current thresholds. Thus, the operating frequency of the microprocessor 10B is adjusted to the third operating frequency (S52D), which is between the first and second operating frequency. With further reference to
[0062] In conclusion, the smart card as described adjusts the appropriate operating frequency according to the different types of the power source by detecting the type of the power source. Therefore, the smart card as described uses a higher operating frequency under the appropriate type of the power source to speed up the processing speed and enhance the user experience.
[0063] Even though numerous characteristics and advantages of the present invention have been set forth in the foregoing description, together with details of the structure and features of the invention, the disclosure is illustrative only. Changes may be made in the details, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.