摘要 |
The invention discloses a method for implementing a card reader with multiple functions and a card reader therewith. The method includes that a card reader determines whether a card is inserted in the slot of the card reader and whether the card reader is online; if no card is inserted in the slot, the card reader performs operation to generate a one-time password; if a card is inserted in the slot and the card reader is online, the card reader performs corresponding operation on the card according to the card operating requirement, while if a card is inserted in the slot and the card reader is offline, the card reader performs operation with the card to generate a Token; otherwise, to end the process. The card reader includes a power module, an input/output module, a determining module, an operating module, and a performing module. With good common performance, the card reader provided by the invention performs as smart card reader and verification whether a card is inserted in the card reader or not, which overcomes the shortcomings that the card reader in the prior art has simplex function.
|