Timing sequence control method and card reader

A timing controller and timing control technology, applied in the field of smart cards, can solve the problems of variable timing, complicated IC card reader firmware program design, and increased calculation amount, so as to reduce the complexity and communication bit error rate, and achieve good results. The effect of portability and precise timing control

Active Publication Date: 2012-10-03
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
  • Timing sequence control method and card reader
  • Timing sequence control method and card reader
  • Timing sequence control method and card reader

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] 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 sends data to a smart card when communicating with the smart card.

[0054] 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.

[0055] 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 372 and...

Embodiment 2

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

[0087] 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.

[0088] 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 implementati...

Embodiment 3

[0117] see Figure 5 , this embodiment provides a card reader, specifically including:

[0118] Timing control module 501, used for controlling the timing when the card reader sends data to the smart card;

[0119]The sending module 502 is used to drive the IO level to a low level, convert the first bit into a level and send it out. When the timing control module reaches the first preset control value, the card reader sends the data word to be sent section, and convert the data bytes to be sent into the second bit to the ninth bit, and convert the second bit to the ninth bit into levels and send them out in sequence according to the agreed protocol. In the timing control module Sequentially reach the second preset control value, the third preset control value, the fourth preset control value, the fifth preset control value, the sixth preset control value, the seventh preset control value, and the eighth preset control value and the ninth preset control value, complete the tr...

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 timing sequence control method and a card reader, belonging to technical field of intelligent card. The method comprises: the card reader starts a timing sequence controller, drives IO electrical level into low electrical level, converts the first bit into electrical level to transmit out; when the timing sequence controller achieves the first preset control value, the bits from the second to the ninth are converted into electrical level in sequence according to the protocol and transmit out, when the timing sequence controller reaches the preset control values from the second to the ninth in sequence, bits from the second to the ninth are transmitted out; according to the protocol, the tenth bit is calculated, and converted into electrical level to be transmitted out, when the timing sequence controller reaches the tenth preset control value, the tenth bit is transmitted out, and the card reader drives the electrical level into high electrical level. The card reader comprises a timing sequence control module, a transmitting module and a calculating module. The invention realizes more precise timing sequence.

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