The embodiments of the present invention relate to an authentication method and an authentication system.
Authentication technologies are applied in various fields, such as a QR code boarding pass, a QR code ticket pass, a smart key box and a door security system for user identification. For example, the smart key box may include an authentication device. When a user uses a smart phone to display a QR code, the authentication device of the smart key box captures the QR code displayed by the smart phone and determines whether the QR code is correct. When the QR code is correct, the smart key box is unlocked to provide a door key to the user. However, the QR code may be copied (stolen) by other people when the QR code is displayed.
An object of the present invention is to provide an authentication method and an authentication system using a two-dimensional barcode sequence. Plural two-dimensional barcodes are displayed in a predetermined time sequence to avoid being copied/stolen.
According to the object of the present invention, the authentication method includes: providing a plurality of two-dimensional (2D) barcodes and a time sequence of the two-dimensional barcodes in accordance with an authentication code; displaying the two-dimensional barcodes in accordance with the time sequence by using a display device; capturing the two-dimensional barcodes displayed on the display device by using an image capturing component; performing a decoding process in accordance with the two-dimensional barcodes and the time sequence to obtain the authentication code; and performing an authentication process by using the authentication code.
In some embodiments, the time sequence of the two-dimensional barcodes comprises an order for displaying the two-dimensional barcodes.
In some embodiments, the time sequence of the two-dimensional barcodes further comprises at least one time interval between the two-dimensional barcodes.
In some embodiments, the authentication method further includes: providing at least one dummy pattern; and displaying the least one dummy pattern by using the display device before or after one of the two-dimensional barcodes is displayed by the display device.
In some embodiments, the display device is a smart phone or an e-ink badge.
According to the object of the present invention, the authentication system includes a display device and an authentication device. The display device is configured to display a plurality of two-dimensional barcodes in accordance with a time sequence. The authentication device includes an image capturing component and a controller. The image capturing component is configured to capture the two-dimensional barcodes displayed by the display device. The controller is electrically connected to the image capturing component, wherein the controller is configured to perform a decoding process in accordance with the two-dimensional barcodes and the time sequence to obtain an authentication code, and to perform an authentication process by using the authentication code.
In some embodiments, the time sequence of the two-dimensional barcodes comprises an order for displaying the two-dimensional barcodes.
In some embodiments, the time sequence of the two-dimensional barcodes further comprises at least one time interval between the two-dimensional barcodes.
In some embodiments, the authentication system includes a control center configured to generate a video in accordance with the authentication code, and to transmit the video to the display device, wherein the video comprises the two-dimensional barcodes arranged in the time sequence.
In some embodiments, the video further comprises at least one dummy pattern arranged before or after one of the two-dimensional barcodes, and the display device is further configured to display the at least one dummy pattern.
In some embodiments, the authentication system includes a control center configured to generate a plurality of two-dimensional barcodes and a time sequence of the two-dimensional barcodes in accordance with the authentication code and to transmit the two-dimensional barcodes and the time sequence to the display device.
In some embodiments, the display device is further configured to display at least one dummy pattern before or after one of the two-dimensional barcodes is displayed by the display device.
In some embodiments, the display device is a smart phone or an e-ink badge.
In order to make the above features and advantages of the present disclosure more apparent, the following embodiments are described in detail with reference to the accompanying drawings.
Aspects of the present disclosure are better understood from the following detailed description in conjunction with the accompanying figures. It is noted that in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features can be arbitrarily increased or reduced for clarity of discussion.
The embodiments of the present disclosure are discussed in detail below. However, it will be appreciated that the embodiments provide many applicable concepts that can be implemented in various specific contents. The embodiments discussed and disclosed are for illustrative purposes only and are not intended to limit the scope of the present disclosure. In addition, the terms “first”, “second”, and the like, as used herein, are not intended to mean a sequence or order, and are merely used to distinguish elements or operations described in the same technical terms.
Referring to
In accordance with an embodiment of the present invent, the display device 110 may download an application (App) for the client authentication. The application is used to provide the two-dimensional barcodes and a time sequence of the two-dimensional barcodes in accordance with an authentication code corresponding to the client, in which the time sequence of the two-dimensional barcodes includes an order for displaying the two-dimensional barcodes. For example, when the client wants to get the key in the smart key box to open a door, the client controls the display device 110 to show the two-dimensional barcodes to the authentication device 120. Then, the authentication device 120 performs a decoding process and an authentication process in accordance with the two-dimensional barcodes.
Referring to
For example, the first two-dimensional barcode 211 represents “10”, the second two-dimensional barcode 212 represents “21”, the third two-dimensional barcode 213 represents “36”, and the order for displaying the two-dimensional barcodes is “211-212-213”. When the display device 110 is controlled to display the two-dimensional barcodes, the first two-dimensional barcode 211 is firstly displayed on the display device 110, and then the second two-dimensional barcode 212 is displayed on the display device 110, and then the third two-dimensional barcode 213 is displayed on the display device 110.
Returning to
For example, after receiving the first two-dimensional barcode 211, the second two-dimensional barcode 212 and the third two-dimensional barcode 213, the controller 124 performs the decoding process in accordance with the first two-dimensional barcode 211, the second two-dimensional barcode 212, the third two-dimensional barcode 213 and the time sequence thereof to obtain the authentication code. Because the time sequence (display order) of the first two-dimensional barcode 211, the second two-dimensional barcode 212, the third two-dimensional barcode 213 is “211-212-213”, the first two-dimensional barcode 211 is firstly received by the authentication device 120, the second two-dimensional barcode 212 is received by the authentication device 200 after the two-dimensional barcode 211 is received, and the third two-dimensional barcode 213 is received by the authentication device 200 after the second two-dimensional barcode 212 is received. Therefore, the controller 124 obtains “10”, “21” and “36”, and combines “10”, “21” and “36” in accordance with the time sequence of the first two-dimensional barcode 211, the second two-dimensional barcode 212 and third two-dimensional barcode 213 to obtain the authentication code “102136”.
After obtaining the authentication code “102136”, the controller 124 performs the authentication process to check whether the authentication code is correct. For example, the controller 124 may store a list of qualified identifications, and the qualified identifications correspond to plural qualified codes in a one-to-one manner. When the authentication code is the same as one of the qualified codes, the controller 124 determines that the authentication code is correct and controls the smart key box to release the key to the client.
In some embodiments, the controller 124 may unlock the door instead of releasing the key when the controller 124 determines that the authentication code is correct.
In some embodiments, the authentication device 120 is disposed in an electric device having no network communication device. When the controller 124 determines that the authentication code is correct, the controller 124 may synchronize the data of the electric device with the data of the display device 110, or synchronize the data of the display device 110 with the data of the electric device. The data synchronization may include time synchronization, user information synchronization, and setting values synchronization. However, embodiments of the present invention are not limited thereto.
In some embodiments, the authentication device 120 is disposed in a smart door lock. The controller 124 may perform mode switching when the controller 124 determines that the authentication code is correct. For example, when the authentication code is the same as a first one of the qualified codes, the controller 124 controls the smart door lock to enter a first operation mode (for example, an offline mode). For another example, when the authentication code is the same as a second one of the qualified codes, the controller 124 controls the smart door lock to enter a second operation mode (for example, an online mode). For still another example, when the authentication code is the same as a third one of the qualified codes, the controller 124 controls the smart door lock to enter a third operation mode (for example, a manual mode).
Referring to
Regarding the decoding process performed by the controller 124, the controller 124 determines whether the at least one time interval between the two-dimensional barcodes is qualified. For example, the controller 124 determines whether the first time interval is greater than a time threshold. When the first time interval is greater than the time threshold, the first time interval is qualified. Similarly, the controller 124 determines whether the second time interval is greater than the time threshold. When the second time interval is greater than the time threshold, the second time interval is qualified. When the first time interval and the second time interval are qualified, the controller 124 performs the authentication process to check whether the authentication code “102136” is correct.
Referring to
Referring to
In some embodiments, as shown in
In some embodiments, as shown in
In some embodiments, as shown in
Regarding the decoding process performed by the controller 124, the first dummy pattern 510 and the second dummy pattern 520 are ignored when the decoding process is performed. For example, the controller 124 may store plural dummy patterns including the first dummy pattern 510 and the second dummy pattern 520. Therefore, when receiving the first dummy pattern 510 and the second dummy pattern 520, the controller 124 can recognize the first dummy pattern 510 and the second dummy pattern 520, and then ignore the first dummy pattern 510 and the second dummy pattern 520.
Referring to
In some embodiments, the authentication method 600 further includes providing at least one dummy pattern (such as the first dummy pattern 510) and displaying the least one dummy pattern by using the display device 110 before or after one of the two-dimensional barcodes is displayed by the display device 110.
The features of several embodiments are outlined above, so those skilled in the art can better understand the aspects of the present disclosure. Those skilled in the art will appreciate that the present disclosure can be readily utilized as a basis for designing or modifying other processes and structures, thereby achieving the same objectives and/or achieving the same advantages as the embodiments described herein. Those skilled in the art should also understand that these equivalent constructions do not depart from the spirit and scope of the present disclosure, and they can make various changes, substitutions and alteration without departing from the spirit and scope of the present disclosure.
This application claims priority to U.S. Provisional Application Ser. No. 62/853,251, filed May 28, 2019, which is herein incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
62853251 | May 2019 | US |