Sequential control method and card reader

A timing controller and timing control technology, applied in the field of smart cards, can solve the problems affecting the communication efficiency between the IC card reader and the IC card, the high communication error rate between the IC card reader and the IC card, and the firmware of the IC card reader. Problems such as complex program design, to achieve good portability, reduce complexity and communication bit error rate, and achieve the effects of precise timing control

Active Publication Date: 2012-06-27
FEITIAN TECHNOLOGIES
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the various types of IC card transmission, there are various types of baud rates, which not only lead to variable timing, but also cause the firmware program of the IC card reader to be more complicated in design.
In addition, since the communication between the IC card reader and the IC card is closely related to the clock frequency of the IC card, once the clock frequency of the IC card changes, all parameters related to timing control will also change accordingly. It is necessary to record the clock frequency of the IC card at any time, and frequently perform timing control calculations based on the latest clock frequency, resulting in an increase in the amount of calculation in the communication process, troublesome timing control, and affecting the communication efficiency between the IC card reader and IC card. And the frequently changing clock frequency will also bring a higher communication bit error rate between the IC card reader and the IC card

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Sequential control method and card reader
  • Sequential control method and card reader
  • Sequential control method and card reader

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] see image 3 , this embodiment provides a method for implementing timing control by counting with a counter, which is used in an application scenario where a card reader receives data from a smart card when communicating with the smart card.

[0064] In this embodiment, the timing is controlled by counting with a counter. Specifically, the counter uses the CLK signal of the smart card as a clock source, keeps synchronous with the working clock of the smart card, and counts according to the clock source.

[0065] In this example, the preset clock rate conversion factor is 372, and the baud rate adjustment factor is 1, then the duration of each bit is 372 clock cycles, that is, when the count value of the counter reaches 372 clock cycles or 372 When it is an integer multiple of the clock cycle, it is considered that the current transmission of one bit is completed. Moreover, the count value of the counter is set in advance according to the clock rate conversion factor 37...

Embodiment 2

[0144] see Figure 4 , this embodiment provides a method for implementing timing control by means of a timer, which is used in an application scenario where the card reader receives data from the smart card when communicating with the smart card.

[0145] In this embodiment, the timing is controlled by a timer. Specifically, the timer uses the CLK signal of the smart card as a clock source, keeps synchronous with the working clock of the smart card, and performs timing according to the clock source.

[0146]In this example, the pre-set clock rate conversion factor is 372, the baud rate adjustment factor is 1, then the duration of each bit is 372 clock cycles, and the pre-set clock frequency of the smart card is 4MHz, so when the timer When the timing value reaches 93 microseconds, it is considered that the timing transmission of a bit is currently completed, and the receiving and sending of data is controlled according to the timing value of the preset timer. In actual impleme...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a sequential control method and a card reader, and belongs to the technical field of intelligent cards. The sequential control method comprises that: when the card reader detects a falling edge of a transmission signal, a sequential controller is started; when the sequential controller reaches a first preset control value, the level of the intelligent card is sampled to serve as a first bit position, and if the level is a low level, the data is continuously received, otherwise the data receiving is ended; when the sequential controller reaches a second control value toa ninth preset control value, the level is sampled in turn to serve as a second bit position to the ninth bit position in turn according to the agreed protocol and the bit positions are spliced into a data byte for saving; and when the sequential controller reaches a tenth preset control value, the level is sampled to serve as a tenth bit position, and the saved data byte is checked by using the tenth bit position according to the preset check mode. The card reader comprises a sequential control module, a sampling module, a judging module, a storage module and a check module. The sequential control method and the card reader realize more accurate sequential control.

Description

technical field [0001] The invention relates to the technical field of smart cards, in particular to a timing control method and a card reader. Background technique [0002] IC card (Integrated Circuit Card, integrated circuit card) is another new type of information tool that has appeared after the magnetic card. The IC card stores information through the integrated circuit in the card. IC cards are also called smart cards, intelligent cards, microcircuit cards or microchip cards in some countries and regions. It is made in the form of a card by embedding a microelectronic chip in a card base conforming to the ISO 7816 standard. At present, IC cards have been widely used in many fields including finance, transportation, social security and so on. [0003] The IC card reader is the bridge between the IC card and the application system, which is called IFD (Interface Device) in the ISO international standard. The CPU in the IFD is connected and communicated with the IC car...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06K7/00
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products