Data reading method and device
A technology of data reading and data, which is applied in the field of data reading, can solve the problems of low reliability of reading data, slow reading speed of reading data, and inability to read data, etc., so as to prevent program execution delay, increase speed, and improve reliability sexual effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 It is an implementation flowchart of the data reading method provided by the embodiment of the present invention, and is described in detail as follows:
[0024] In step S101, obtain the card reader program of IC card, ID card, CPU card;
[0025] In step S102, the card reading programs of the IC card, ID card, and CPU card are separated in a componentized manner;
[0026] Among them, the card reading programs of IC card, ID card and CPU card are separated by adopting componentization, so that the card reading programs of IC card, ID card and CPU card do not interact with each other. When the card reading program of the IC card and the card reading program of the ID card are shielded, the card reader can also read the CPU card.
[0027] In step S103, the pre-configured polling sequence is used to call the card reading programs of the IC card, ID card, and CPU card to poll for card reading.
[0028] Wherein, before step S103, a polling sequence is configured, ...
Embodiment 2
[0037] figure 2 It is the implementation flowchart of step S103 of the data reading method provided by the embodiment of the present invention, and is described in detail as follows:
[0038] In step S201, when the card reader or card issuer detects a card, a card reading event is triggered;
[0039] In step S202, according to the card reading event, the pre-configured polling sequence is used to call the card reading programs of the IC card, ID card, and CPU card, and poll the cards in turn.
[0040] Wherein, the card-reading event is used as a trigger condition, and the card-reading event is monitored at the card reader or card issuer. When a card-reading event occurs, the pre-configured polling sequence is used to call the card-reading of the IC card, ID card, and CPU card. Program, polling card reader in turn.
[0041] For example, when a card is placed on the card reader or card issuer, the card reading event is triggered, and the card reading program is started to run...
Embodiment 3
[0044] This embodiment describes the implementation process of turning on the identification lamp, which is described in detail as follows:
[0045] When reading the card, the card mark in the card is read, and the identification light corresponding to the card mark is turned on according to the card mark.
[0046] Wherein, the card type mark is a mark of a card type, and the card type mark includes IC, ID, and CPU.
[0047] Mark IC, ID and CPU in the card reader respectively. When the user swipes the card, when the type of the card is IC, the corresponding identification light of IC will be on; when the type of the card is ID, the corresponding identification light of ID will be on. When the type of the card is CPU, the indicator light corresponding to the CPU is on.
[0048] In this embodiment, lighting up the identification light corresponding to the card type mark not only facilitates the user to know the type of card he is using, but also facilitates the verification, an...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 