The disclosure relates in general to an authentication method in mobile device, an integrated circuit film or with a SIM card or a SD card, and more particularly to a time information based authentication method, an integrated circuit film and a SIM card or a SD card having a time information based authentication function.
With the development of mobile device technology, varied services are provided on the mobile device. For example, the user can utilize the mobile device as a tool for performing payment service or secured services for access control or authentication purpose. In this situation, the authentication mechanisms on the mobile device become more and more important. The common authentication mechanisms, for example, the one-time password (OTP), time-based OTP, counter-based OTP or OATH challenge response algorithm (OCRA), are widely used.
The disclosure is directed to a time information based authentication method, an integrated circuit film, or with a SIM card or a SD card. The authentication code is generated according to a data and a time information which is obtained from an external device.
According to one embodiment, a time information based authentication method is provided. The time information based authentication method comprises the following steps. A time information is obtained from an external device. A data is received from a memory unit of a security chip. An authentication code is generated according to the data and the time information.
According to another embodiment, an integrated circuit is provided. The integrated circuit comprises a security chip. The security chip comprises a time information obtaining unit, a memory unit and an authentication unit. The time information obtaining unit is for obtaining a time information from the external device. The memory unit is for storing a data. The authentication unit is for generating an authentication code according to the data and the time information.
The above and other aspects of the disclosure will become better understood with regard to the following detailed description of the non-limiting embodiment(s). The following description is made with reference to the accompanying drawings.
Please referring to
The time information obtaining unit 1031 is used for obtaining an information from the mobile device 300. For example, the time information obtaining unit 1031 may be a processing chip, a storage medium storing a plurality of program codes, and/or a circuit having a function of obtaining the information from the mobile device 300.
The memory unit 1032 is used for storing a data. For example, the memory unit 1032 may be a read only memory (ROM).
The authentication unit 1033 is used for processing the data and generating the data. For example, the authentication unit 1033 may be a processing chip, a storage medium storing a plurality of program codes, and/or a circuit having a function of processing the data and generating the data.
The security chip 103 can generate the authentication code A1 according to the data D1 including a key, some personal data or other secret data from memory unit 1032 and a time information T1 obtained from a mobile device 300. The operation of the security chip 103 is exemplified according to a flow chart shown in
Please referring to
In step S1011, the time information obtaining unit 1031 receives a current time CT and a current time zone CZ recorded in the external device, e.g. the mobile device 300. For example, the current time CT and the current time zone CZ are recorded in the memory of the mobile device 300, and the time information obtaining unit 1031 receives the current time CT and the current time zone CZ from the memory of the mobile device 300.
In step S1013, the time information obtaining unit 1031 calibrates the current time zone CZ by obtaining a location information L1 First, the time information obtaining unit 1031 obtains the location information L1. The location information L1 can be a time zone of a place which the base station is located in, hereinafter refers to “base station time zone”. The place is received from the base station by mobile device 300. For example, If the place “Taiwan” which the base station is located in, the place “Taiwan” is received from the base station by mobile device 300, and the location information L1 is the base station time zone “+8”.
In further, the time information obtaining unit 1031 sends a command to the mobile device 300 to request the place which the base station is located in, then the time information obtaining unit 1031 uses the place to search in a lookup table to obtain the base station time zone. The base station time zone is corresponding to the place which the base station is located in. For example, if the place is “Taiwan”, the base station time zone “+8” should be searched out in the lookup table. In one embodiment, the time information obtaining unit 1031 does not send the command to the mobile device 300 to request the place which the base station is located in; instead, the time information obtaining unit 1031 receives the base station time zone from a user interface of the mobile device 300. In this case, the base station time zone is inputted by a user through the user interface.
Then, the time information obtaining unit 1031 calibrates the current time zone CZ to get a correct time zone according to the location information L1. In one embodiment, the time information obtaining unit 1031 determines whether the current time zone CZ obtained in step S1011 should be calibrated or not according to the location information L1, and the time information obtaining unit 1031 calibrates the current time zone CZ according to the location information L1 if the current time zone CZ needs to be calibrated.
For example, the time information obtaining unit 1031 compares the current time zone CZ with the base station time zone. If the current time zone CZ is consistent with the base station time zone, the time information obtaining unit 1031 does not need to calibrate the current time zone CZ. If the current time zone CZ is inconsistent with the base station time zone, the time information obtaining unit 1031 calibrates the current time zone CZ. If the current time zone CZ “+7” is inconsistent with the base station time zone “+8”, the time information obtaining unit 1031 calibrates current time zone CZ “+7” to a correct time zone “+8”.
In step S1015, the time information obtaining unit 1031 generates an Universal Time Coordinated (UTC) time as the time information T1 according to the current time CT and the correct time zone. For example, when the current time CT is “13:00” and correct time zone “+8”, the time information obtaining unit 1031 generates the UTC time “05:00” according to current time CT “13:00” and correct time zone “+8”.
Because of the current time zone CZ received from the mobile device 300 may be wrong, it causes the UTC time generated in step S1015 is also wrong. In order to generating the UTC time which is accurate, the time information obtaining unit 1031 calibrates the current time zone CZ to get the correct time zone according to the location information L1. Accordingly, the accurate UTC time can be generated according to the correct time zone.
In one embodiment, the time information obtaining unit 1031 may be connected to a user interface of a mobile device 300 to obtain the time information T1 in step S101. The user interface may be a touch screen, a key board, a microphone, or a combination thereof. For example, the user can input the time information T1 via a touch screen, and the time information obtaining unit 1031 receives the time information T1 from the touch screen.
In one embodiment, the time information obtaining unit 1031 may be connected to a wireless module of a mobile device 300 to obtain the time information T1 in step S101. The wireless module may be a NFC module, a Wifi module, a Bluetooth module or a QR code module. For example, the user can use the NFC module of the mobile device 300 to read a NFC tag to obtain the time information T1, or to receive the time information T1 from another mobile device, and the time information obtaining unit 1031 receives the time information T1 from the NFC module.
In step S103, the authentication unit 1033 receives the data D1 including a key, some personal data or other secret data from the memory unit 1032. For example, the authentication unit 1033 is connected to the memory unit 1032, and receives the data D1 including a key, some personal data or other secret data from the memory unit 1032.
In step S105, the authentication unit 1033 generates the authentication code A1 according to the data D1 and the time information T1. For example, the authentication unit 1033 is connected to the time information obtaining unit 1031, and receives the time information T1 from the time information obtaining unit 1031. Then, the authentication unit 1033 generates the authentication code A1 according to the data D1 and the time information T1. After generating the authentication code A1, the authentication code A1 is sent to the server 500 to perform an authentication procedure.
Please referring to
Base on the above, the security chip can generate an authentication code based on the data and the time information which is obtained from a mobile device. Because the time information is unique, the security of performing an authentication on the mobile device is improved.
It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments. It is intended that the specification and examples be considered as exemplary only, with a true scope of the disclosure being indicated by the following claims and their equivalents.