Method and device for detecting initial rate of PSAM card

A technology of initial rate and detection method, which is applied in the detection field of initial rate of PSAM card, can solve problems such as lack of flexibility, inconvenient application, and inability to provide solutions, and achieve the effect of ensuring accuracy and precise initial rate

Active Publication Date: 2013-07-03
ZTE INTELLIGENT IOT TECH
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the card rate in the card reader software is hard-coded, then different software versions need to be provided for different PSAM cards to adapt to the requirements, which not only lacks flexibility but also brings trouble to version maintenance; The card rate is given as an interface, and the corresponding parameters are configured for different cards, but this will bring inconvenience to the user's application
The inventor finds in practice: the best solution is that the software of the card reader can automatically detect the rate of the PSAM card, so that the card reader can be adaptive to the PSAM cards of different rates. However, the prior art cannot provide corresponding solution

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
  • Method and device for detecting initial rate of PSAM card
  • Method and device for detecting initial rate of PSAM card
  • Method and device for detecting initial rate of PSAM card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0081] Embodiment 1, the reset response process is as follows figure 2 shown, including:

[0082] Step 1. Set the initial state of the card reader, that is, set the power supply pin and the RST pin to low level.

[0083] Step 2. At time T0, set the power pin of the card reader to a high level.

[0084] Step 3. Set the input / output (IO, Input / Output) pin of the card reader to the receiving mode within no more than 700 clock cycles after the time T0.

[0085] Step 4. Within no more than 200 clock cycles after time T1, set the RST pin of the card reader to a high level.

[0086] Step 5. Within 400 to 40,000 clock cycles after time T2, the card reader receives the reset response sequence sent by the PSAM card.

[0087] Specifically, the 7816 protocol stipulates that the reset response sequence is transmitted on the IO pin in the form of a character frame, and the first character received by the card reader is the initial character (TS), which specifies the receiving method of ...

Embodiment 2

[0091] Embodiment 2. The receiving of the reset response sequence and the automatic detection process of the initial rate of the PSAM card will be described in detail below.

[0092] According to the description of the first embodiment, it can be seen that the card reader needs to receive the reset response sequence sent by the PSAM card within 400 to 40000 clock cycles after the time T2. Before receiving the reset response sequence, the IO pin of the card reader is in a high level state. After 400 to 40,000 clock cycles after entering T2, the card reader is in a cyclic waiting state for receiving the reset response sequence, and Ready to start sampling.

[0093] Such as image 3 As shown, the reception of the reset response sequence and the automatic detection process of the initial rate of the PSAM card include:

[0094] Step 1. After entering the time period of 400 to 40000 clock cycles after T2, start to detect the state of the IO pin. When the IO pin is at a low level, ...

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 method and a device for detecting an initial rate of a PSAM (purchase secure access module) card. The method comprises the steps that an original character (TS) is received by n times of sampling for a resetting response sequence sent by the PSAM card, wherein n is a positive integer; when correctness of even-odd check of the TS is confirmed, and top 8 bits of the TS are equal to 3B or 3F, the total clock number contained by the n times of sampling is obtained; the clock period number of the initial rate of the PSAM card is confirmed according to the total clock number; and the initial rate of the PSAM card is confirmed according to the clock period number. According to the method and the device, the initial rate of the PSAM card is detected automatically, and a card reader can adapt to the PSAM cards in different rates.

Description

technical field [0001] The invention relates to the technical field of PSAM (Purchase Secure Access Module) cards, in particular to a method and device for detecting the initial rate of a PSAM card. Background technique [0002] PSAM card manufacturers will produce PSAM cards with different speeds according to the needs of customers. Users generally purchase PSAM cards from different manufacturers at the same time for various considerations. The speeds of these PSAM cards may not be completely uniform. Therefore, it is necessary to adapt to different PSAM card rate requirements when implementing a card reader. If the card rate in the card reader software is hard-coded, then different software versions need to be provided for different PSAM cards to adapt to the requirements, which not only lacks flexibility but also brings trouble to version maintenance; The card rate is given as an interface, and the corresponding parameters are configured for different cards, but this wil...

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 Applications(China)
IPC IPC(8): G06K7/00G06K19/067
Inventor 刘金栋汪旭光吴奇
Owner ZTE INTELLIGENT IOT TECH
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