CN1133459A - 卡读/写方法 - Google Patents

卡读/写方法 Download PDF

Info

Publication number
CN1133459A
CN1133459A CN95120828A CN95120828A CN1133459A CN 1133459 A CN1133459 A CN 1133459A CN 95120828 A CN95120828 A CN 95120828A CN 95120828 A CN95120828 A CN 95120828A CN 1133459 A CN1133459 A CN 1133459A
Authority
CN
China
Prior art keywords
card
read
reset
link
write
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN95120828A
Other languages
English (en)
Inventor
李圣哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Publication of CN1133459A publication Critical patent/CN1133459A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10297Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K13/00Conveying record carriers from one station to another, e.g. from stack to punching mechanism
    • G06K13/02Conveying record carriers from one station to another, e.g. from stack to punching mechanism the record carrier having longitudinal dimension comparable with transverse dimension, e.g. punched card
    • G06K13/08Feeding or discharging cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0004Hybrid readers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Toxicology (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Credit Cards Or The Like (AREA)
  • Exchange Systems With Centralized Control (AREA)

Abstract

本发明所提出的能用于存储卡和灵巧卡的卡读/写方法包括下列步骤:检验卡是否已插入,如果已插入,则执行读卡例行程序,接通卡的相应连接端;通过其中一个接通的连接端向卡馈送一个卡复位信号,然后等待一段预定的时间;检验在等待时间内是否接收到从卡发来的一个复位应答信号,如果接收到,则执行第一卡方法的信息交换,否则执行第二卡方法的信息交换,然后断开卡的连接端。因此一个采用本方法的读/写装置能够用来读/写两种不同的卡。

Description

卡读/写方法
本发明与卡读/写方法有关。具体地说,本发明提供了一种能对不同的卡用相应的方法进行读/写操作的方法。
IC卡是一种内装有模块化的微计算机芯片和存储器芯片的常用塑料卡,有一组遵从ISO标准的引线引到卡的外表面上,用来进行外部连接。其中,装有微计算机的IC卡称为主动型卡或“灵巧”卡,而没有微计算机也就是只装有存储器芯片的卡称为被动型卡或“存储”卡。虽然这两种卡的尺寸和连接端是相同的,但信号传输和信号处理的方法却是不同的。因此,没有分别与存储卡和灵巧卡对应的专用卡读/写装置就不能执行读/写操作,从而必需装有相应的两套装置。
因此,本发明的目的是提供一种既能对存储卡又能对灵巧卡进行读/写操作的IC卡读/写方法以解决原有技术中所存在的问题。
为了达到上述目的,本发明所提出的可适用于存储卡和灵巧卡两者的IC卡读/写方法包括下列步骤:检验卡是否已插入,如果已插入,则执行一个读卡例行程序,接通卡的相应连接端;通过其中一个接通的连接端向卡馈送一个卡复位信号,然后等待一段预定的时间,等待接收从卡发来的一个复位应答信号;检验是否接收到从卡发来的复位应答信号,如果接收到,则执行第一卡方法的信息交换,否则执行第二卡方法的信息交换,然后断开卡的连接端。其中,第一卡方法为灵巧卡方法,而第二卡方法为存储卡方法。
本发明的上述目的和优点通过结合附图对本发明的优选实施例的详细说明就会更加清楚。在这些附图中:
图1示出了具有ISO-7816标准表面连接端的接触型IC卡的一般外貌;
图2为说明按照本发明对不同的卡执行读/写操作时IC卡连接情况的方框图;以及
图3为用来说明本发明所提出的IC卡读/写方法的一个优选实施例的流程图。
如图1所示,具有ISO-7816标准表面连接端C1-C8的IC卡本身装有一插入卡读/写装置便启动的操作程序。其中,C1为电源电压(Vcc)输入端,C2为复位(RST)信号输入端,C3为时钟(CLK)信号输入端,C5为接地端,C6为EEPROM驱动电压(Vpp)输入端,而C7为数据输入/输出(I/O)端。这里连接端C4和C8(在本实施例中未加使用)是两个保留的连接端。
由图2可见,卡读/写装置20通过上述这些连接端向IC卡30提供时钟、复位信号和电源电压,用串行数据通信方法与主计算机10交换读/写信息。当电源加到主计算机10时,就有时钟、复位信号和电源电压从卡读/写装置20送至卡30。复位信号在对卡系统初始化时刻加至卡30,以便在第一阶段提供时钟信号。卡30接收到复位信号后,如果是装有微计算机的灵巧卡,则产生一个复位应答(ATR)信号,通过I/O端传送给卡读/写装置20。相反,如果卡30是没有装微计算机的存储卡,那么就不产生ATR信号,因此卡读/写装置20接收不到这个信号。这样,卡读/写装置20就能识别所插入的卡是灵巧卡还是存储卡,从而可以通过卡读/写装置20的串行口为主计算机10执行适合所识别卡的方法的信息交换。
下面结合图3说明本发明方法的一个优选实施例。
按照实现本发明所提出的读/写不同类型的卡的方法的主程序操作,首先是由主计算机10对卡读/写装置20的系统进行初始化(步骤100)。在初始化卡读/写装置20的过程中,检验通信状态,并显示当前时间。在步骤100后,卡读/写装置20检验是否有一个卡通过插口插入(步骤102),如果没有卡插入,则重复执行步骤102,但是,如果已有卡插入,则执行一个实际上是读卡的例行程序(步骤104-138)。
读卡例行程序首先接通卡的相应连接端(步骤104),向卡馈送电源电压、时钟信号和复位信号(步骤106)。在步骤106后,卡读/写装置20等待一段预定的时间,等待接收从卡发来的复位应答信号(步骤108)。如果一个预定的进位位被置位,说明卡读/写装置20接收到从卡发来的复位应答信号(步骤110),于是卡读/写装置20执行第一卡方法的例行程序120,使这个灵巧卡。在读灵巧卡的例行程序中,首先选择灵巧卡的文件(步骤122),读出所选的文件(步骤124),然后断开相应连接端(步骤126),关断电源(步骤128),程序终止。
如果进位位没有被置位,说明卡读/写装置20在步骤110没有接收到复位应答信号,于是卡读/写装置20执行第二卡方法的例行程序130,读这个存储卡。在读存储卡的例行程序中,首先选择存储卡的文件(步骤132),读出所选的文件(步骤134),然后断开相应连接端(步骤136),关断电源(步骤138),程序终止。
如上所述,由于通过呈报是否接收到复位应答信号而能对不同类型的卡进行读/写操作,因此本发明所提出的方法成本低、设置容易、使用起来相当方便。

Claims (2)

1.一种对IC卡进行读/写操作的方法,其特征是所述方法包括下列步骤:
检验卡是否已插入,如果已插入,则执行一个读卡例行程序,接通卡的相应连接端;
通过其中一个接通的连接端向卡馈送一个卡复位信号,然后等待一段预定的时间,等待接收从卡发来的一个复位应答信号;以及
检验是否接收到从卡发来的复位应答信号,如果接收到,则执行第一卡方法的信息交换,否则执行第二卡方法的信息交换,然后断开卡的连接端。
2.如按权利要求1所述的对IC卡进行读/写操作的方法,其特征是其中所述第一卡方法是灵巧卡方法,而所述第二卡方法是存储卡方法。
CN95120828A 1995-02-25 1995-12-14 卡读/写方法 Pending CN1133459A (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR3766/95 1995-02-25
KR1019950003766A KR960032232A (ko) 1995-02-25 1995-02-25 메모리 카드와 스마트카드 겸용 가능한 카드 리드/라이트 장치

Publications (1)

Publication Number Publication Date
CN1133459A true CN1133459A (zh) 1996-10-16

Family

ID=19408803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN95120828A Pending CN1133459A (zh) 1995-02-25 1995-12-14 卡读/写方法

Country Status (5)

Country Link
US (1) US5712472A (zh)
JP (1) JPH08263607A (zh)
KR (1) KR960032232A (zh)
CN (1) CN1133459A (zh)
TW (1) TW347521B (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162430A (zh) * 2006-10-12 2008-04-16 三星电子株式会社 存储卡及更新存储卡程序的方法

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2740240B1 (fr) * 1995-10-20 1997-11-21 Gemplus Card Int Lecteur de carte a puce
US6463416B1 (en) 1996-07-15 2002-10-08 Intelli-Check, Inc. Authentication system for identification documents
DE19720431A1 (de) * 1997-05-15 1998-11-19 Beta Research Ges Fuer Entwick Vorrichtung und Verfahren zur Personalisierung von Chipkarten
US6910628B1 (en) 1997-06-24 2005-06-28 Richard P. Sehr Travel system and methods utilizing multi-application airline passenger cards
US6085976A (en) 1998-05-22 2000-07-11 Sehr; Richard P. Travel system and methods utilizing multi-application passenger cards
US6035355A (en) * 1998-04-27 2000-03-07 International Business Machines Corporation PCI system and adapter requirements following reset
TW426630B (en) * 1998-05-28 2001-03-21 Asahi Seiko Co Ltd IC card processing machine
US6168077B1 (en) 1998-10-21 2001-01-02 Litronic, Inc. Apparatus and method of providing a dual mode card and reader
FI107973B (fi) * 1999-03-11 2001-10-31 Nokia Mobile Phones Ltd Menetelmä ja välineet lisäkorttien käyttämiseksi matkaviestimessä
WO2001006443A1 (en) * 1999-07-15 2001-01-25 Thomson Licensing S.A. Method and apparatus for supporting two different types of integrated circuit cards with a single connector
US7062584B1 (en) * 1999-07-15 2006-06-13 Thomson Licensing Method and apparatus for supporting two different types of integrated circuit cards with a single connector
US6470284B1 (en) * 1999-08-05 2002-10-22 02 Micro International Limited Integrated PC card host controller for the detection and operation of a plurality of expansion cards
US6876991B1 (en) 1999-11-08 2005-04-05 Collaborative Decision Platforms, Llc. System, method and computer program product for a collaborative decision platform
US7295443B2 (en) 2000-07-06 2007-11-13 Onspec Electronic, Inc. Smartconnect universal flash media card adapters
US6438638B1 (en) * 2000-07-06 2002-08-20 Onspec Electronic, Inc. Flashtoaster for reading several types of flash-memory cards with or without a PC
FR2815444B1 (fr) * 2000-10-18 2006-01-13 Gemplus Card Int Procede et dispositif de changement de mode de fonctionnement pour un lecteur de carte a puce
US6633931B2 (en) * 2000-12-29 2003-10-14 Hewlett-Packard Development Company, L.P. Card identification system and method for an input/output interface
EP1251449A1 (en) * 2001-04-17 2002-10-23 Thomson Licensing S.A. System with IC card deactivation before a hardware reset
JP2002342731A (ja) * 2001-05-16 2002-11-29 Matsushita Electric Ind Co Ltd 複合icカード
US20020199208A1 (en) * 2001-06-26 2002-12-26 Chang Matthew S. System and method for uploading information from portable media and delivering it to storage across the internet
US20030004934A1 (en) * 2001-06-29 2003-01-02 Richard Qian Creating and managing portable user preferences for personalizion of media consumption from device to device
US7708189B1 (en) 2002-05-17 2010-05-04 Cipriano Joseph J Identification verification system and method
EP1382973A1 (en) * 2002-07-19 2004-01-21 Thomson Licensing S.A. Method and test adapter for testing an appliance having a smart card reader
FR2849945B1 (fr) * 2003-01-10 2005-03-11 Atmel Corp Moyens pour la communication des cartes a puces usb utilisant des transferts a vitesse maximale ou elevee
US7860318B2 (en) 2004-11-09 2010-12-28 Intelli-Check, Inc System and method for comparing documents
US7792522B1 (en) 2006-01-13 2010-09-07 Positive Access Corporation Software key control for mobile devices
US7594603B2 (en) * 2006-03-29 2009-09-29 Stmicroelectronics, Inc. System and method for sensing biometric and non-biometric smart card devices
US7447899B2 (en) * 2006-03-30 2008-11-04 Inventec Corporation Method for conserving system resources
CN101706864B (zh) * 2009-11-23 2011-07-13 北京飞天诚信科技有限公司 逻辑加密卡的识别方法
CN101894246B (zh) * 2010-06-07 2012-08-08 飞天诚信科技股份有限公司 一种能判断卡片是否存在和好坏的读卡器及方法
KR101679430B1 (ko) * 2010-09-30 2016-11-25 삼성전자주식회사 휴대단말기에서 심카드의 삽입을 인식하는 방법 및 장치
JP5734774B2 (ja) * 2011-07-11 2015-06-17 株式会社東芝 電子機器
US10373409B2 (en) 2014-10-31 2019-08-06 Intellicheck, Inc. Identification scan in compliance with jurisdictional or other rules

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60176186A (ja) * 1984-02-23 1985-09-10 Omron Tateisi Electronics Co Icカ−ドシステム
US4709137A (en) * 1984-04-16 1987-11-24 Omron Tateisi Electronics Co. IC card and financial transaction processing system using IC card
JPS61201390A (ja) * 1985-03-04 1986-09-06 Casio Comput Co Ltd Icカ−ド
JPH069067B2 (ja) * 1985-07-16 1994-02-02 カシオ計算機株式会社 Icカ−ドシステム
US4961142A (en) * 1988-06-29 1990-10-02 Mastercard International, Inc. Multi-issuer transaction device with individual identification verification plug-in application modules for each issuer
WO1990003607A1 (en) * 1988-09-26 1990-04-05 Hitachi Maxell Ltd. Data processing system using ic card
JP2745689B2 (ja) * 1989-06-13 1998-04-28 松下電器産業株式会社 Icカード装置
US5036461A (en) * 1990-05-16 1991-07-30 Elliott John C Two-way authentication system between user's smart card and issuer-specific plug-in application modules in multi-issued transaction device
DE4121023C2 (de) * 1991-06-26 1994-06-01 Smartdiskette Gmbh In eine EDV-Einrichtung einsteckbares Element
FR2710996B1 (fr) * 1993-10-06 1995-12-01 Gemplus Card Int Carte portable multi-applications pour ordinateur personnel.
US5500517A (en) * 1994-09-02 1996-03-19 Gemplus Card International Apparatus and method for data transfer between stand alone integrated circuit smart card terminal and remote computer of system operator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162430A (zh) * 2006-10-12 2008-04-16 三星电子株式会社 存储卡及更新存储卡程序的方法
CN101162430B (zh) * 2006-10-12 2017-03-01 三星电子株式会社 存储卡及更新存储卡程序的方法

Also Published As

Publication number Publication date
KR960032232A (ko) 1996-09-17
TW347521B (en) 1998-12-11
JPH08263607A (ja) 1996-10-11
US5712472A (en) 1998-01-27

Similar Documents

Publication Publication Date Title
CN1133459A (zh) 卡读/写方法
EP1317713B1 (en) Method and device for signaling data transfer between a usb port and a usb smart card module
US6024286A (en) Smart card providing a plurality of independently accessible accounts
AU666269B2 (en) Reading data from a smart card
US6752321B1 (en) Smart card and method that modulates multi-color LED indicative of operational attributes and/or transactions between the smart card and USB port of a USB host
EP1264461B1 (en) A method of communication between a smart card and a host station
US5613159A (en) Contact-free data exchange between a terminal and modular portable set having two different protocols for exchange which is selected based on portable set type
US7685328B2 (en) Generic universal serial bus device operable at low and full speed and adapted for use in a smart card device
US20060279413A1 (en) Radio frequency identification device
US5969333A (en) Data collection system for card readers
JPH08235330A (ja) カードリーダとその走査方法
WO1999016015A3 (en) Contactless proximity automated data collection system and method
WO2007094624A1 (en) Ic card, terminal with ic card and initializing method thereof
US5651116A (en) Method and apparatus for generating summaries of prepaid instrument transaction activity
US20040146066A1 (en) Control signal-adaptive contactless chip card
FR2772957B1 (fr) Procede de gestion d'applications evolutives dans un systeme terminal / carte a puce
CN101567052A (zh) 一种用于发行带usb接口智能卡的系统及其发行方法
US6772956B1 (en) Smart card and method that modulates traffic signaling indicative of operational attributes of the smart card and/or transactions between the smart card and USB port of a USB host
US7159064B2 (en) Method and device for increasing data transfer in multi-media card
US6199764B1 (en) UART with an IC card reading interface and IC card reading system using the same
US5534686A (en) Twin-contact chip card and method of communication with a card reader
CN101187912A (zh) 存储卡系统及传输其主机识别信息的方法
KR20020035781A (ko) 스마트 카드 생산의 집적된 접합 및 시험
US20060216999A1 (en) 5-In-1 connector for memory cards
US20030217298A1 (en) Method of a saving power mode by combining a smart card with a multi-function network card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication